36 int type() {
return Node::TANK; }
40 bool isReactive() {
return bulkCoeff != 0.0; }
43 bool isClosed(
double flow);
46 double getVolume() {
return volume; }
47 double findVolume(
double aHead);
48 double findHead(
double aVolume);
50 void updateVolume(
int tstep);
52 int timeToVolume(
double aVolume);
Curve * volCurve
volume v. water depth curve
Definition: tank.h:61
std::string name
element's ID name
Definition: element.h:28
Describes the Node class.
double maxVolume
maximum volume (ft3)
Definition: tank.h:64
A connection point between links in a network.
Definition: node.h:30
double volume
current volume in tank (ft3)
Definition: tank.h:65
double pastOutflow
outflow in previous time period (cfs)
Definition: tank.h:70
Describes the TankMixModel class.
double minVolume
minimum volume (ft3)
Definition: tank.h:59
double minHead
minimum water elevation (ft)
Definition: tank.h:56
double pastVolume
volume in previous time period (ft3)
Definition: tank.h:69
double maxHead
maximum water elevation (ft)
Definition: tank.h:57
double initHead
initial water elevation (ft)
Definition: tank.h:55
double bulkCoeff
water quality reaction coeff. (per day)
Definition: tank.h:60
The model used to compute mixing behavior within a storage tank.
Definition: tankmixmodel.h:22
double pastHead
water elev. in previous time period (ft)
Definition: tank.h:68
A fixed head Node with storage volume.
Definition: tank.h:27
double diameter
nominal diameter (ft)
Definition: tank.h:58
double area
current surface area of tank (ft2)
Definition: tank.h:66
TankMixModel mixingModel
mixing model used
Definition: tank.h:62
Contains the data elements that describe a pipe network.
Definition: network.h:41
double ucfLength
units conversion factor for length
Definition: tank.h:67
double head
hydraulic head (ft)
Definition: node.h:71
An ordered collection of x,y data pairs.
Definition: curve.h:30