Updates to default demand pattern fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user