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

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

#include <reservoir.h>

Inheritance diagram for Reservoir:
Node Element

Public Member Functions

 Reservoir (std::string name_)
 
int type ()
 
void convertUnits (Network *nw)
 
void setFixedGrade ()
 
- Public Member Functions inherited from Node
 Node (std::string name_)
 
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 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_)
 

Public Attributes

PatternheadPattern
 time pattern for reservoir's head
 
- 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 fixed head Node with no storage volume.

Note
The reservoir's fixed head can be made to vary over time by specifying a time pattern.

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