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

Elevation

Nodal elevation

Demand

Nodal demand

HydraulicHead

Nodal head

Pressure

Nodal pressure

EmitterCoeff

Emitter coefficient

TankDiameter

Tank diameter

Volume

Tank volume

Length

Link length

PipeDiameter

Pipe diameter

Flow

Link flow

Velocity

Link velocity

HeadLoss

Link headloss (from start node to end node)

RoughnessCoeff

Link roughness (requires darcy_weisbach setting for conversion)

Energy

Pump energy

Power

Pump power


__init__(value)[source]#
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#