EPANET  3.0
EPANET Development Project
Public Member Functions | Public Attributes | List of all members
Junction Class Reference

A variable head Node with no storage volume. More...

#include <junction.h>

Inheritance diagram for Junction:
Node Element

Public Member Functions

 Junction (std::string name_)
 
int type ()
 
void convertUnits (Network *nw)
 
void initialize (Network *nw)
 
void findFullDemand (double multiplier, double patternFactor)
 
double findActualDemand (Network *nw, double h, double &dqdh)
 
double findEmitterFlow (double h, double &dqdh)
 
bool isPressureDeficient (Network *nw)
 
bool hasEmitter ()
 
- Public Member Functions inherited from Node
 Node (std::string name_)
 
virtual void setFixedGrade ()
 
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_)
 

Public Attributes

Demand primaryDemand
 primary demand
 
std::list< Demanddemands
 collection of additional demands
 
double pMin
 minimum pressure head to have demand (ft)
 
double pFull
 pressure head required for full demand (ft)
 
Emitteremitter
 emitter object
 
- Public Attributes inherited from Node
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
 

Additional Inherited Members

- Public Types inherited from Node
enum  NodeType { JUNCTION, TANK, RESERVOIR }
 
- Public Types inherited from Element
enum  ElementType {
  NODE, LINK, PATTERN, CURVE,
  CONTROL
}
 
- Static Public Member Functions inherited from Node
static Nodefactory (int type_, std::string name_, MemPool *memPool)
 

Detailed Description

A variable head Node with no storage volume.


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