EPANET
The public-domain standard for water distribution modelling — hydraulics and water quality in pressurised networks.
Sandia/EPA's Python toolkit for water network resilience — EPANET simulation plus disaster scenarios and metrics.
by Sandia National Laboratories / US EPA
Install
pip install wntrWNTR (Water Network Tool for Resilience) wraps water-distribution modelling in Python with a resilience focus: run EPANET-compatible hydraulics (or its own pressure-dependent solver), then subject the network to earthquakes, pipe breaks, power outages and contamination events, and quantify the consequences with built-in resilience metrics.
Developed by Sandia National Laboratories and the EPA, it has become the de facto research platform for network resilience and a very capable general Python interface to EPANET models — network graphs come out as NetworkX objects, results as pandas, and the whole scientific Python stack is available around it.
Other water distribution & quality tools covering similar workflow stages.
The public-domain standard for water distribution modelling — hydraulics and water quality in pressurised networks.
Full MATLAB control of the EPANET engine — the standard bridge for control and optimisation research.
Multi-species water quality for EPANET — model chloramine decay, DBPs and reactive chemistry in networks.
Autodesk's ArcGIS Pro-native distribution modelling — for utilities whose network data lives in Esri.
Bentley's transient analysis package — the commercial standard for surge studies on pumping mains.
Bentley's flagship distribution suite — design, optimisation and criticality on EPANET-compatible hydraulics.