EPANET
3.0
EPANET Development Project
|
The interface for a pipe leakage model. More...
#include <leakagemodel.h>
Public Member Functions | |
virtual double | findFlow (const double c1, const double c2, const double length, double h, double &dqdh)=0 |
Static Public Member Functions | |
static LeakageModel * | factory (const std::string model, const double ucfLength_, const double ucfFlow_) |
Protected Attributes | |
double | lengthUcf |
double | flowUcf |
The interface for a pipe leakage model.
LeakageModel is an abstract class from which a concrete leakage model is derived. Two such models are currently available - a power function model and a fixed-and-variable-areas discharge (FAVAD) model.