Models variable speed pumps, minor losses, and complex rule-based valve operations.
EPANET-PLUS serves as the core foundation for a suite of advanced Python libraries tailored for smart water system research: 1. EPyT-Flow
Engineers can determine available fire flow at hydrants under low-pressure conditions. EPANET Plus’s PDA mode automatically reduces flows when pressures drop, giving realistic fire suppression capacity. epanet plus
This blog post focuses on EPANET-PLUS , the high-performance Python-based toolkit
Leakage can be modeled as at nodes or along pipes. Users define emitter coefficients, and EPANET Plus calculates leak flow as ( Q = C \cdot P^0.5 ) (or with custom exponent). This is critical for water loss management. Models variable speed pumps, minor losses, and complex
By coupling EPANET Plus with an optimization script (e.g., Python + Pyomo), utilities can find the cheapest pump scheduling strategy under time-of-use electricity tariffs while maintaining minimum pressure constraints.
: In more recent development contexts (such as the WaterFutures GitHub ), EPANET-PLUS serves as a high-performance Python toolkit for the latest versions of EPANET and EPANET-MSX (Multi-Species eXtension). EPANET Plus’s PDA mode automatically reduces flows when
pressures = d.getNodePressure() flows = d.getLinkFlows()
+---------------------------------------+ | EPANET-PLUS | +---------------------------------------+ | +-----------------------+-----------------------+ | | v v +-----------------------+ +-----------------------+ | Hydraulic Modeling | | Multi-Species Quality | | (EPANET Engine) | | (MSX Engine) | +-----------------------+ +-----------------------+ | • Hazen-Williams / DW | | • Interacting Species | | • Variable Speed Pumps| | • Bulk & Wall Kinetics| | • Tank Rule Controls | | • Bacterial Growth | +-----------------------+ +-----------------------+ | | +-----------------------+-----------------------+ | v +-----------------------+ | Python High-Perf API | | (Data Science Integration) | +-----------------------+ 1. Advanced Hydraulic Simulation
Mechanically, EPANET-PLUS on GitHub is an open-source, high-performance C library that merges the standard EPANET hydraulic engine with EPANET-MSX (Multi-Species Extension) into a single, unified codebase. It provides a powerful Python package wrapper (via a high-speed C extension), enabling developers to programmatically execute highly complex simulations.