FormulaType#

module wntr.epanet.util

class FormulaType[source]#

Bases: Enum

Formula used for determining head loss due to roughness.

Enum Members

HW

Hazen-Williams headloss formula

DW

Darcy-Weisbach formala; requires units conversion

CM

Chezy-Manning formula


__init__(eid, inpcode)[source]#
CM = (2, 'C-M')#

Chezy-Manning formula.

DW = (1, 'D-W')#

Darcy-Weisbach formula, requires untis conversion.

HW = (0, 'H-W')#

Hazen-Williams headloss formula.