wntr.utils#

The wntr.utils package contains helper functions.

Modules

disjoint_mapping

A set of utility classes that is similar to the 'registry' objects in the wntr.network class, but more general, and therefore usable for other extensions, such as multi-species water quality models.

doc_inheritor

Utilitiy for inheriting docstrings.

enumtools

Decorators for use with enum classes.

logger

Fuctions to set up a default handler for WNTR that will output to the console and to wntr.log.

ordered_set

An ordered set implementation (like an ordered dict).

polynomial_interpolation

Functions for a polynomial interpolation using cubic spline.