Changes to get Net1.inp to run

This commit is contained in:
Lew Rossman
2018-05-22 11:12:14 -04:00
parent 80a0acc26b
commit 24d6b91607
6 changed files with 140 additions and 27 deletions

View File

@@ -628,7 +628,7 @@ void demands(EN_Project *pr)
long k,p;
double djunc, sum;
Pdemand demand;
EN_Network *net = &pr->network;
hydraulics_t *hyd = &pr->hydraulics;
time_options_t *top = &pr->time_options;
@@ -680,6 +680,7 @@ void demands(EN_Project *pr)
setlinksetting(pr, i, net->Pattern[j].F[k], &hyd->LinkStatus[i], &hyd->LinkSetting[i]);
}
}
} /* End of demands */