wntr.network#

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

Modules

wntr.network.base

The wntr.network.base module includes base classes for network elements and the network model.

wntr.network.controls

The wntr.network.controls module includes methods to define network controls and control actions.

wntr.network.elements

The wntr.network.elements module includes elements of a water network model, including junction, tank, reservoir, pipe, pump, valve, pattern, timeseries, demands, curves, and sources.

wntr.network.io

The wntr.network.io module includes functions that convert the water network model to other data formats, create a water network model from file, and write the water network model to a file.

wntr.network.layer

The wntr.network.layer module includes methods to generate network layers (information that is not stored in the water network model or the graph).

wntr.network.model

The wntr.network.model module includes methods to build a water network model.

wntr.network.options

The wntr.network.options module includes simulation options.