Epanet 2.0

  

  • EPANET Knowledge Base. EPANET Code Viewer. Understand your engine. Software Tap in to water management modeling that excels. PCSWMM is flexible, easy to use.
  • 1.1 What is EPANET EPANET is a computer program that performs extended period simulation of hydraulic and water quality behavior within pressurized pipe networks. A network consists 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.
Latest version

Released:

Epanet 2.0 Python calling interface

Project description

EPANET is a Windows 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.

Epanet 2.0 Python calling interface

Epanet 2.0 Python calling interface

Epanet 2.0

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?

Epanet 2.0

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

Epanet 2.0

Usage:

Node information

Now links

Information about connectivity

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:

  1. Create an object of EPANetSimulation with the network file
  2. Change needed values using ENsetxxxx calls (just changing the attributes of EPANetSimulation will not work!)
  3. Save the changed data to a new file using ENsaveinpfile.
  4. 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

Epanet 2.0 manual

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)

Epanet 2.0 Version Francais

  • 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

Download

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.

Files for EPANETTOOLS, version 1.0.0
Filename, sizeFile typePython versionUpload dateHashes
Filename, size EPANETTOOLS-1.0.0-cp37-cp37m-win32.whl (714.8 kB) File type Wheel Python version cp37 Upload dateHashes
Filename, size EPANETTOOLS-1.0.0-cp37-cp37m-win_amd64.whl (847.5 kB) File type Wheel Python version cp37 Upload dateHashes
Filename, size EPANETTOOLS-1.0.0.tar.gz (297.9 kB) File type Source Python version None Upload dateHashes
Filename, size EPANETTOOLS-1.0.0.win32-py3.7.exe (1.2 MB) File type Windows Installer Python version 3.7 Upload dateHashes
Filename, size EPANETTOOLS-1.0.0.win-amd64-py3.7.exe (1.5 MB) File type Windows Installer Python version 3.7 Upload dateHashes
Close

Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win32.whl

Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win32.whl
AlgorithmHash digest
SHA256356b8c8ae265576275ba43c35b99b7ee558119e6ac94a78021d53162d89fd8a9
MD5a887458dd432a0c251af472e6b64b64c
BLAKE2-25639c6de104a1fa5184beda6108e473902e1583dc4dad87a658b84f3f869ea6fab

Epanet 2.0.12

Close

Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win_amd64.whl

Hashes for EPANETTOOLS-1.0.0-cp37-cp37m-win_amd64.whl
AlgorithmHash digest
SHA256b4400a5eaac8f905cd5eff60df1ca58428c0ea66fd22312da5ac1c57fb4e808f
MD5b3c7f747235f100f85d4a55006a6e0fa
BLAKE2-2562853e06f8e085b18ca023129b54b5a3ad2e8378155fd3527ac999ac501d978c2
Close

Hashes for EPANETTOOLS-1.0.0.tar.gz

Hashes for EPANETTOOLS-1.0.0.tar.gz
AlgorithmHash digest
SHA25691b31369365c5acffe905228c28b81657262eff989bc0c27f1a89907b34ecb49
MD5e8bca4d06cf5282765de1bcf5c30fedd
BLAKE2-2566a5055082eac183f5c6ede8f78f05cb1f015ea1a187b9a900ecee20e0aeaf4e4
Close

Hashes for EPANETTOOLS-1.0.0.win32-py3.7.exe

Hashes for EPANETTOOLS-1.0.0.win32-py3.7.exe
AlgorithmHash digest
SHA256d29c9f38688ed36f38e1f3ef97612e831aa9aa9d3e741fc22b5533fbd1974ee6
MD5aeaefc68267d9319dd3e0807e46ed50d
BLAKE2-256f1dc42e5bf0059f2860ccc7a0f46057b67f5eea83c70e20eedefcb47e4ea95a3
Close

Hashes for EPANETTOOLS-1.0.0.win-amd64-py3.7.exe

Hashes for EPANETTOOLS-1.0.0.win-amd64-py3.7.exe
AlgorithmHash digest
SHA2562b695ac2545f375a258d4960f2442b4a4de55ac1f07f3c5d1a7977435bfc693a
MD5665367007c31ddd16e19ee8c20ed58f8
BLAKE2-25608319da4a7498ca82d96cfb107daf97f8caf0ff3632c7b68de5aec162f9b2916

EPANET 2.0

Contact

Epanet 2.0 software, free download

https://www.epa.gov/aboutepa/about-national-risk-management-research-laboratory-nrmrl

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 SITE

Epanet 2.0

Record Last Revised: 12/10/2002