Updates to default demand pattern fix

This commit is contained in:
Lew Rossman
2022-01-15 11:21:24 -05:00
parent 14de37d0cb
commit f9189d04b4
2 changed files with 1 additions and 4 deletions

View File

@@ -1187,10 +1187,9 @@ int DLLEXPORT EN_getoption(EN_Project p, int option, double *value)
case EN_CONCENLIMIT:
v = qual->Climit * p->Ucf[QUALITY];
break;
case EN_DEMANDPATTERN:
v = hyd->DefPat;
break;
default:
return 251;
}

View File

@@ -212,9 +212,7 @@ void adjustdata(Project *pr)
int i;
double ucf; // Unit conversion factor
Pdemand demand; // Pointer to demand record
Slink *link;
Snode *node;
Stank *tank;
// Use 1 hr pattern & report time step if none specified