InitialQuality#

module wntr.msx.elements

class InitialQuality[source]#

Bases: VariableValuesBase

Initial quality values for a species in a specific network.

Parameters:
  • global_value – Global initial quality value, by default 0.0

  • node_values – Any different initial quality values for specific nodes, by default None

  • link_values – Any different initial quality values for specific links, by default None


__init__(global_value=0.0, node_values=None, link_values=None)[source]#
to_dict()[source]#

Dictionary representation of the object

global_value#

Global initial quality values for this species.

Mapping that overrides the global_value of the initial quality in specific links

property node_values: Dict[str, float]#

Mapping that overrides the global_value of the initial quality at specific nodes

property var_type: VariableType#

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