Skip to content

Commit

Permalink
Missed modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkvdb committed Mar 19, 2024
1 parent 4f2f502 commit e7f3f5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion SRC_engines/src/solver/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,8 @@ int linkoutput(Project *pr, int j, REAL4 *x, double ucf)
}
else for (i = 1; i <= net->Nlinks; i++)
{
x[i] = (REAL4)(qual->PipeRateCoeff[i] * ucf);
//x[i] = (REAL4)(qual->PipeRateCoeff[i] * ucf);
x[i] = (REAL4)(qual->PipeRateCoeff[i]);
}
break;

Expand Down
2 changes: 1 addition & 1 deletion SRC_engines/src/solver/qualroute.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void transport(Project *pr, long tstep)
Padjlist alink;

// React contents of each pipe and tank
if (qual->Reactflag)
if (qual->Reactflag && pr->times.Htime > 0)
{
reactpipes(pr, tstep);
reacttanks(pr, tstep);
Expand Down

0 comments on commit e7f3f5d

Please sign in to comment.