SourceType#

module wntr.epanet.util

class SourceType[source]#

Bases: Enum

What type of EPANET Chemical source is used.

Enum Members

Concen

Concentration – cannot be used at nodes with non-zero demand.

Mass

Mass – mass per minute injection. Can be used at any node.

Setpoint

Setpoint – force node quality to be a certain concentration.

FlowPaced

Flow paced – set variable mass injection based on flow.


__init__(val)[source]#
CONCEN = 0#
Concen = 0#
FLOWPACED = 3#
FlowPaced = 3#
MASS = 1#
Mass = 1#
SETPOINT = 2#
Setpoint = 2#
concen = 0#
flowpaced = 3#
mass = 1#
setpoint = 2#