11 #ifndef DEMANDMODEL_H_ 12 #define DEMANDMODEL_H_ 31 static DemandModel* factory(
const std::string model,
double expon_);
96 void setCoeffs(
double pMin,
double pFull);
A demand model where demand is a logistic function of pressure.
Definition: demandmodel.h:88
virtual bool isPressureDeficient(Junction *junc)
Changes fixed grade status depending on pressure deficit.
Definition: demandmodel.h:37
A demand model where demands are fixed independent of pressure.
Definition: demandmodel.h:49
The interface for a pressure-dependent demand model.
Definition: demandmodel.h:25
virtual double findDemand(Junction *junc, double h, double &dqdh)
Finds demand flow and its derivative as a function of head.
Definition: demandmodel.cpp:44
A variable head Node with no storage volume.
Definition: junction.h:26
A demand model where demands are reduced based on available pressure.
Definition: demandmodel.h:61
A demand model where demand varies as a power function of pressure.
Definition: demandmodel.h:75