EPANET
3.0
EPANET Development Project
|
A fixed head Node with storage volume. More...
#include <tank.h>
Public Member Functions | |
Tank (std::string name) | |
int | type () |
void | validate () |
void | convertUnits (Network *nw) |
void | initialize (Network *nw) |
bool | isReactive () |
bool | isFull () |
bool | isEmpty () |
bool | isClosed (double flow) |
double | getVolume () |
double | findVolume (double aHead) |
double | findHead (double aVolume) |
void | setFixedGrade () |
void | updateVolume (int tstep) |
void | updateArea () |
int | timeToVolume (double aVolume) |
![]() | |
Node (std::string name_) | |
virtual void | findFullDemand (double multiplier, double patternFactor) |
virtual double | findActualDemand (Network *nw, double h, double &dqdh) |
virtual double | findEmitterFlow (double h, double &dqdh) |
virtual bool | isPressureDeficient (Network *nw) |
virtual bool | hasEmitter () |
![]() | |
Element (std::string name_) | |
Public Attributes | |
double | initHead |
initial water elevation (ft) | |
double | minHead |
minimum water elevation (ft) | |
double | maxHead |
maximum water elevation (ft) | |
double | diameter |
nominal diameter (ft) | |
double | minVolume |
minimum volume (ft3) | |
double | bulkCoeff |
water quality reaction coeff. (per day) | |
Curve * | volCurve |
volume v. water depth curve | |
TankMixModel | mixingModel |
mixing model used | |
double | maxVolume |
maximum volume (ft3) | |
double | volume |
current volume in tank (ft3) | |
double | area |
current surface area of tank (ft2) | |
double | ucfLength |
units conversion factor for length | |
double | pastHead |
water elev. in previous time period (ft) | |
double | pastVolume |
volume in previous time period (ft3) | |
double | pastOutflow |
outflow in previous time period (cfs) | |
![]() | |
bool | rptFlag |
true if results are reported | |
double | elev |
elevation (ft) | |
double | xCoord |
X-coordinate. | |
double | yCoord |
Y-coordinate. | |
double | initQual |
initial water quality concen. | |
QualSource * | qualSource |
water quality source information | |
bool | fixedGrade |
fixed grade status | |
double | head |
hydraulic head (ft) | |
double | qGrad |
gradient of outflow w.r.t. head (cfs/ft) | |
double | fullDemand |
full demand required (cfs) | |
double | actualDemand |
actual demand delivered (cfs) | |
double | outflow |
demand + emitter + leakage flow (cfs) | |
double | quality |
water quality concen. (mass/ft3) | |
![]() | |
std::string | name |
element's ID name | |
int | index |
index in array of elements | |
Additional Inherited Members | |
![]() | |
enum | NodeType { JUNCTION, TANK, RESERVOIR } |
![]() | |
enum | ElementType { NODE, LINK, PATTERN, CURVE, CONTROL } |
![]() | |
static Node * | factory (int type_, std::string name_, MemPool *memPool) |
A fixed head Node with storage volume.
The fixed head for the tank varies from one time period to the next depending on the filling or withdrawal rate.