EPANET
3.0
EPANET Development Project
|
A connection point between links in a network. More...
#include <node.h>
Public Types | |
enum | NodeType { JUNCTION, TANK, RESERVOIR } |
![]() | |
enum | ElementType { NODE, LINK, PATTERN, CURVE, CONTROL } |
Public Member Functions | |
Node (std::string name_) | |
virtual int | type ()=0 |
virtual void | convertUnits (Network *nw)=0 |
virtual void | initialize (Network *nw) |
virtual void | findFullDemand (double multiplier, double patternFactor) |
virtual double | findActualDemand (Network *nw, double h, double &dqdh) |
virtual double | findEmitterFlow (double h, double &dqdh) |
virtual void | setFixedGrade () |
virtual bool | isPressureDeficient (Network *nw) |
virtual bool | hasEmitter () |
virtual void | validate () |
virtual bool | isReactive () |
virtual bool | isFull () |
virtual bool | isEmpty () |
virtual bool | isClosed (double flow) |
virtual double | getVolume () |
![]() | |
Element (std::string name_) | |
Static Public Member Functions | |
static Node * | factory (int type_, std::string name_, MemPool *memPool) |
Public Attributes | |
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 | |
A connection point between links in a network.
A Node is an abstract class that represents the end connection points between links in a pipe network. Specific concrete sub-classes of Node include Junction, Tank, and Reservoir.