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#
BulkReactionCoeff = 36#
CONCENTRATION = 35#
Concentration = 35#
LINKQUALITY = 10#
LinkQuality = 10#
QUALITY = 4#
Quality = 4#
REACTIONRATE = 13#
ReactionRate = 13#
SOURCEMASSINJECT = 38#
SourceMassInject = 38#
WALLREACTIONCOEFF = 37#
WATERAGE = 39#
WallReactionCoeff = 37#
WaterAge = 39#
bulkreactioncoeff = 36#
concentration = 35#
linkquality = 10#
quality = 4#
reactionrate = 13#
sourcemassinject = 38#
wallreactioncoeff = 37#
waterage = 39#