EPANET  3.0
EPANET Development Project
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Node Class Referenceabstract

A connection point between links in a network. More...

#include <node.h>

Inheritance diagram for Node:
Element Junction Reservoir Tank

Public Types

enum  NodeType { JUNCTION, TANK, RESERVOIR }
 
- Public Types inherited from Element
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 ()
 
- Public Member Functions inherited from Element
 Element (std::string name_)
 

Static Public Member Functions

static Nodefactory (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.
 
QualSourcequalSource
 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)
 
- Public Attributes inherited from Element
std::string name
 element's ID name
 
int index
 index in array of elements
 

Detailed Description

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.


The documentation for this class was generated from the following files: