API documentation#

Submodules

wntr.epanet

The wntr.epanet package provides EPANET2 compatibility functions for WNTR.

wntr.gis

The wntr.gis package contains methods to convert between water network models and GIS formatted data and geospatial functions to snap data and find intersections.

wntr.graphics

The wntr.graphics package contains graphic functions

wntr.metrics

The wntr.metrics package contains methods to compute resilience, including hydraulic, water quality, water security, and economic metrics.

wntr.morph

The wntr.morph package contains methods to modify water network model morphology, including network skeletonization, modifying node coordinates, and splitting or breaking pipes.

wntr.network

The wntr.network package contains methods to define a water network model, network controls, and water network model I/O.

wntr.scenario

The wntr.scenario package contains methods to define disaster scenarios and fragility/survival curves.

wntr.sim

The wntr.sim package contains methods to run hydraulic and water quality simulations using the water network model.

wntr.utils

The wntr.utils package contains helper functions.