oopnet.reader.unit_converter package

Submodules

oopnet.reader.unit_converter.convert module

Convert all units which are possible in the EPANET-Input file to LPS Possible: (This are the flow units) - CFS … cubic feet per second - GPM … gallons per minute - MGD … million gallons per day - IMGD … Imperial MGD - AFD … acre-feet per day - LPS … liters per second - LPM … liters per minute - MLD … million liters per day - CMH … cubic meters per hour - CMD … cubic meters per day

The Input of OOPNET is possible in all units, but OOPNET uses and returns SI-Units (LPS).

class oopnet.reader.unit_converter.convert.Converter(network)

Bases: object

f_demand: float = 1.0
f_diameter_pipes: float = 1.0
f_diameter_tanks: float = 1.0
f_elevation: float = 1.0
f_emitter_coefficient: float = 1.0
f_flow: float = 1.0
f_hydraulic_head: float = 1.0
f_length: float = 1.0
f_power: float = 1.0
f_pressure: float = 1.0
f_reaction_coeff_wall: float = 1.0
f_roughness_coeff: float = 1.0
f_velocity: float = 1.0
f_volume: float = 1.0
oopnet.reader.unit_converter.convert.convert(network)
Parameters:

network

Returns:

Module contents