VariableValuesBase#

module wntr.msx.base

class VariableValuesBase[source]#

Bases: ABC

Abstract class for a variable’s network-specific values

This class should contain values for different pipes, tanks, etc., that correspond to a specific network for the reaction system. It can be used for initial concentration values, or for initial settings on parameters, but should be information that is clearly tied to a specific type of variable.

This is a pure abstract class. All parameters and methods documented here must be defined by a subclass.


abstract to_dict()[source]#

Represent the object as a dictionary

abstract property var_type: Enum#

Type of variable this object holds data for.