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:
|
case EN_CONCENLIMIT:
|
||||||
v = qual->Climit * p->Ucf[QUALITY];
|
v = qual->Climit * p->Ucf[QUALITY];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EN_DEMANDPATTERN:
|
case EN_DEMANDPATTERN:
|
||||||
v = hyd->DefPat;
|
v = hyd->DefPat;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return 251;
|
return 251;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,9 +212,7 @@ void adjustdata(Project *pr)
|
|||||||
|
|
||||||
int i;
|
int i;
|
||||||
double ucf; // Unit conversion factor
|
double ucf; // Unit conversion factor
|
||||||
Pdemand demand; // Pointer to demand record
|
|
||||||
Slink *link;
|
Slink *link;
|
||||||
Snode *node;
|
|
||||||
Stank *tank;
|
Stank *tank;
|
||||||
|
|
||||||
// Use 1 hr pattern & report time step if none specified
|
// Use 1 hr pattern & report time step if none specified
|
||||||
|
|||||||
Reference in New Issue
Block a user