HydParam#
module wntr.epanet.util
- class HydParam[source]#
Bases:
Enum
EPANET hydraulics and energy parameter conversion.
The hydraulic parameter enumerated type is used to perform unit conversion between EPANET internal units and SI units used by WNTR. The units for each parameter are determined based on the
FlowUnits
used.Parameters that are unitless or otherwise require no conversion are not members of this Enum type.
Enum Members
Nodal elevation
Nodal demand
Nodal head
Nodal pressure
Emitter coefficient
Tank diameter
Tank volume
Link length
Pipe diameter
Link flow
Link velocity
Link headloss (from start node to end node)
Link roughness (requires darcy_weisbach setting for conversion)
Pump energy
Pump power
- Demand = 1#
- Elevation = 0#
- EmitterCoeff = 31#
- Energy = 34#
- Flow = 7#
- HeadLoss = 9#
- HydraulicHead = 2#
- Length = 5#
- PipeDiameter = 6#
- Power = 15#
- Pressure = 3#
- RoughnessCoeff = 32#
- TankDiameter = 33#
- Velocity = 8#
- Volume = 17#