NodeType#

module wntr.network.base

class NodeType[source]#

Bases: IntEnum

Enum class for node types.

Enum Members

Junction

node is a junction

Reservoir

node is a reservoir

Tank

node is a tank


__init__(val)[source]#
JUNCTION = 0#
Junction = 0#

node is a junction

RESERVOIR = 1#
Reservoir = 1#

node is a reservoir

TANK = 2#
Tank = 2#

node is a tank

junction = 0#
reservoir = 1#
tank = 2#