PDA fixes

This commit is contained in:
Lew Rossman
2019-07-22 09:50:41 -04:00
parent 3fe11b98ee
commit a89f339525
18 changed files with 814 additions and 221 deletions

View File

@@ -195,7 +195,7 @@ int runhyd(Project *pr, long *t)
int iter; // Iteration count
int errcode; // Error code
double relerr; // Solution accuracy
// Find new demands & control actions
*t = time->Htime;
demands(pr);
@@ -203,7 +203,6 @@ int runhyd(Project *pr, long *t)
// Solve network hydraulic equations
errcode = hydsolve(pr,&iter,&relerr);
if (!errcode)
{
// Report new status & save results