LinkType#

module wntr.network.base

class LinkType[source]#

Bases: IntEnum

Enum class for link types.

Enum Members

CV

pipe with a check valve

Pipe

pipe with no check valve

Pump

a pump of any type

PRV

a pressure reducing valve

PSV

a pressure sustaining valve

PBV

a pressure breaker valve

FCV

a flow control valve

TCV

a throttle control valve

GPV

a general purpose valve

Valve

a valve of any type


__init__(val)[source]#
CV = 0#

pipe with a check valve

FCV = 6#

a flow control valve

GPV = 8#

a general purpose valve

PBV = 5#

a pressure breaker valve

PIPE = 1#
PRV = 3#

a pressure reducing valve

PSV = 4#

a pressure sustaining valve

PUMP = 2#
Pipe = 1#

pipe with no check valve

Pump = 2#

a pump of any type

TCV = 7#

a throttle control valve

VALVE = 9#
Valve = 9#

a valve of any type

cv = 0#
fcv = 6#
gpv = 8#
pbv = 5#
pipe = 1#
prv = 3#
psv = 4#
pump = 2#
tcv = 7#
valve = 9#