QualParam#

module wntr.epanet.util

class QualParam[source]#

Bases: Enum

EPANET water quality parameters conversion.

These parameters are separated from the HydParam parameters because they are related to a logically separate model in EPANET, but also because conversion to SI units requires additional information, namely, the MassUnits that were specified in the EPANET input file. Additionally, the reaction coefficient conversions require information about the reaction order that was specified. See the to_si and from_si functions for details.

Enum Members

Concentration

General concentration parameter

Quality

Nodal water quality

LinkQuality

Link water quality

BulkReactionCoeff

Bulk reaction coefficient (req. reaction_order to convert)

WallReactionCoeff

Wall reaction coefficient (req. reaction_order to convert)

ReactionRate

Average reaction rate within a link

SourceMassInject

Injection rate for water quality sources

WaterAge

Water age at a node


__init__(value)[source]#
BulkReactionCoeff = 36#
Concentration = 35#
LinkQuality = 10#
Quality = 4#
ReactionRate = 13#
SourceMassInject = 38#
WallReactionCoeff = 37#
WaterAge = 39#