ParameterValues#

module wntr.msx.elements

class ParameterValues[source]#

Bases: VariableValuesBase

Pipe and tank specific values of a parameter for a specific network.

Parameters:
  • pipe_values – Any different values for this parameter for specific pipes, by default None

  • tank_values – Any different values for this parameter for specific tanks, by default None


__init__(*, pipe_values=None, tank_values=None)[source]#
to_dict()[source]#

Dictionary representation of the object

property pipe_values: Dict[str, float]#

Mapping that overrides the global_value of a parameter for a specific pipe

property tank_values: Dict[str, float]#

Mapping that overrides the global_value of a parameter for a specific tank

property var_type: VariableType#

Type of variable, PARAMETER, this object holds data for.