EPANET
3.0
EPANET Development Project
|
The interface for a water quality analysis model. More...
#include <qualmodel.h>
Public Types | |
enum | QualModelType { NOQUAL, AGE, TRACE, CHEM } |
Public Member Functions | |
QualModel (int _type) | |
virtual bool | isReactive () |
virtual void | init (Network *nw) |
virtual void | findMassTransCoeff (Pipe *pipe) |
virtual double | pipeReact (Pipe *pipe, double c, double tstep) |
virtual double | tankReact (Tank *tank, double c, double tstep) |
virtual double | findTracerAdded (Node *node, double qIn) |
Static Public Member Functions | |
static QualModel * | factory (const std::string model) |
Public Attributes | |
int | type |
The interface for a water quality analysis model.
QualModel is an abstract class from which a concrete water quality analysis model is derived. Three such models are currently available - Chemical, Trace, and Age.