EPANET 2.0
Contact
This User Manual is an updated version of the EPANET 2 Users Manual (EPA/600/R-00/057) written by Lewis Rossman in 2000. The EPANET 2 software was developed by the United States Environmental Protection Agency (EPA). EPANET Version 2.2 includes contributions from EPA and individuals outside the United States Government. EPANET 2.0 hydraulic solver software is based on the theory of Hazen – Williams equation and produces results that are in conformity with the simulation guidelines. The input parameters were: area of the distribution network, elevation of the distribution nodes, projected population and standard base water demand.
Description:
EPANET is a Windows 95/98/NT program that performs extended period simulation of hydraulic and water-quality behavior within pressurized pipe networks. A network can consist of pipes, nodes (pipe junctions), pumps, valves and storage tanks or reservoirs. EPANET tracks the flow of water in each pipe, the pressure at each node, the height of water in each tank, and the concentration of a chemical species throughout the network during a simulation period comprised of multiple time steps. In addition to chemical species, water age and source tracing can also be simulated.The Windows version of EPANET provides an integrated environment for editing network input data, running hydraulic and water quality simulations, and viewing the results in a variety of formats. These include color-coded network maps, dat6a tables, time series graphs, and contour plots.EPANET was developed by the National Risk Management Research Laboratory's Drinking Water Research Division.For additional information about EPANET 2.0, visit the EPANET 2.0 website (http://www.epa.gov/ORD/NRMRL/wswrd/epanet.html. To access directly from this website, click on downloads on the navigation bar.
Record Details:
Record Type: WEB SITEReleased:
Epanet 2.0 Python calling interface
Project description
Epanet 2.0 Python calling interface
Epanet 2.0 Python calling interface
Since version 0.5.0.1 the library has the epanet-emitter engine enabling Pressure-based Demand Analysis (http://assela.pathirana.net/EPANET-Emitter).
Since version 0.4.0.1 the library is compatible with Python 3.0
What is it?
A python package enabling user to call all the epanet programmers toolkit functions within python scripts.
Installation
Windows: | Use a Python ditribution that comes with a c copiler (use WinPython or PythonXY) |
---|---|
POSIX (e.g. Linux, OS-X): | |
Download source archive (zip file), extract and run (as root) or just type |
Usage:
Node information
Now links
Information about connectivity
Epanet 2.0 Tutorial
Types of links and nodes
Network properties are available (even before we run the simulation)
Get some results of simulation.
Some advanced result queries
Changing the network
Currently the new (object-based) interface above only supports read access to the underlying network. To change the values of the network, it is recommended to use the Legacy interface calls. Legacy calls can be accessed from within the new interface. The steps in changing network:
- Create an object of EPANetSimulation with the network file
- Change needed values using ENsetxxxx calls (just changing the attributes of EPANetSimulation will not work!)
- Save the changed data to a new file using ENsaveinpfile.
- Create an object of EPANetSimulation with the new saved file.
Following is an example:
PDD type analysis
Look at http://assela.pathirana.net/EPANET-Emitter for details and desktop (windows only) application that does the same analysis.
Legacy Interface
Do not use the following methods unless for compatibility! As of versions > 0.8 pattern settingusing this interface is not available.
Example 1: | Retrieve simulation properties. |
---|
Basic properties of the network
Get the list of nodes
Get nodes indexes on either side of a link with given index
Hydraulic Simulation
Pressure at the node ‘10’
1.0.0 (2018-09-28)
- Now works with python > 3.4.
- Uses visual c/c++ compilers for windows
.9.0 (2016-11-13)
- Available demand fraction with pipes closed added. This was done with c library for efficiency.
0.8.0 (2016-10-06)
- completely removed dependency on numpy.
0.7.1 (2016-09-21)
How To Use Epanet 2.0
- minor changes
0.7.0 (2016-09-21)
- A substantial upgrade from version 6.x
- Added pressure-driven demand
- Restuructured repo-structure completely
- much better testing with CI
Release historyRelease notifications | RSS feed
1.0.0
0.9.2
0.9.1
0.9.0
0.8.0
0.7.2
0.7.1
0.7.0
0.6.0.3
0.6.0.2
0.6.0.1
0.5.0.6
0.5.0.2
0.5.0.1
0.4.0.1
0.4.0.0
0.2.3.0
0.2.2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size EPANETTOOLS-1.0.0-cp37-cp37m-win32.whl (714.8 kB) | File type Wheel | Python version cp37 | Upload date | Hashes |
Filename, size EPANETTOOLS-1.0.0-cp37-cp37m-win_amd64.whl (847.5 kB) | File type Wheel | Python version cp37 | Upload date | Hashes |
Filename, size EPANETTOOLS-1.0.0.tar.gz (297.9 kB) | File type Source | Python version None | Upload date | Hashes |
Filename, size EPANETTOOLS-1.0.0.win32-py3.7.exe (1.2 MB) | File type Windows Installer | Python version 3.7 | Upload date | Hashes |
Filename, size EPANETTOOLS-1.0.0.win-amd64-py3.7.exe (1.5 MB) | File type Windows Installer | Python version 3.7 | Upload date | Hashes |
Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win32.whl
Algorithm | Hash digest |
---|---|
SHA256 | 356b8c8ae265576275ba43c35b99b7ee558119e6ac94a78021d53162d89fd8a9 |
MD5 | a887458dd432a0c251af472e6b64b64c |
BLAKE2-256 | 39c6de104a1fa5184beda6108e473902e1583dc4dad87a658b84f3f869ea6fab |
Epanet 2.0 Tutorial
Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest |
---|---|
SHA256 | b4400a5eaac8f905cd5eff60df1ca58428c0ea66fd22312da5ac1c57fb4e808f |
MD5 | b3c7f747235f100f85d4a55006a6e0fa |
BLAKE2-256 | 2853e06f8e085b18ca023129b54b5a3ad2e8378155fd3527ac999ac501d978c2 |
Hashes for EPANETTOOLS-1.0.0.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 91b31369365c5acffe905228c28b81657262eff989bc0c27f1a89907b34ecb49 |
MD5 | e8bca4d06cf5282765de1bcf5c30fedd |
BLAKE2-256 | 6a5055082eac183f5c6ede8f78f05cb1f015ea1a187b9a900ecee20e0aeaf4e4 |
Epanet 2.0 Software
Hashes for EPANETTOOLS-1.0.0.win32-py3.7.exe
Algorithm | Hash digest |
---|---|
SHA256 | d29c9f38688ed36f38e1f3ef97612e831aa9aa9d3e741fc22b5533fbd1974ee6 |
MD5 | aeaefc68267d9319dd3e0807e46ed50d |
BLAKE2-256 | f1dc42e5bf0059f2860ccc7a0f46057b67f5eea83c70e20eedefcb47e4ea95a3 |
Hashes for EPANETTOOLS-1.0.0.win-amd64-py3.7.exe
Epanet 2.0.12
Algorithm | Hash digest |
---|---|
SHA256 | 2b695ac2545f375a258d4960f2442b4a4de55ac1f07f3c5d1a7977435bfc693a |
MD5 | 665367007c31ddd16e19ee8c20ed58f8 |
BLAKE2-256 | 08319da4a7498ca82d96cfb107daf97f8caf0ff3632c7b68de5aec162f9b2916 |