EPANET-MATLAB-Toolkit

Comming soon EMT v2.2

Current version EMT v2.1.8

https://github.com/OpenWaterAnalytics/EPANET-Matlab-Toolkit

The EPANET-Matlab Toolkit is an open-source software, originally developed by the KIOS Research Center for Intelligent Systems and Networks of the University of Cyprus which operates within the Matlab environment, for providing a programming interface for the latest version of EPANET, a hydraulic and quality modeling software created by the US EPA, with Matlab, a high-level technical computing software. The goal of the EPANET Matlab Toolkit is to serve as a common programming framework for research and development in the growing field of smart water networks.

The EPANET-Matlab Toolkit features easy to use commands/wrappers for viewing, modifying, simulating and plotting results produced by the EPANET libraries.

For support, please use the OWA community forum: http://community.wateranalytics.org/

How to cite

D.G. Eliades, M. Kyriakou, S. Vrachimis and M.M. Polycarpou, “EPANET-MATLAB Toolkit: An Open-Source Software for Interfacing EPANET with MATLAB”, in Proc. 14th International Conference on Computing and Control for the Water Industry (CCWI), The Netherlands, Nov 2016, p.8. (doi:10.5281/zenodo.831493)

@INPROCEEDINGS{Eliades2016, 
author={Eliades, Demetrios G. and Kyriakou, Marios and Vrachimis, Stelios and Polycarpou, Marios M.}, 
title={EPANET-MATLAB Toolkit: An Open-Source Software for Interfacing EPANET with MATLAB}, 
booktitle={Proc. 14th International Conference on Computing and Control for the Water Industry (CCWI)}, 
year={2016},
pages={8},
address = {The Netherlands},
month={Nov},
DOI={10.5281/zenodo.831493}}

How to install necessary compilers

In order to use the EPANET-MATLAB-Toolkit the MinGW-w64 compiler must be installed:

How to install MinGW-w64 compiler #Matlab

In case you have a version of matlab older than 2015b install the Windows SDK compiler:

How to install Windows SDK compiler compiler #Matlab

How to use the Toolkit

Detailed examples on how to use the toolkit can be found in the publication of the Toolkit , together with the code. A presentation of its use is also provided here.

To start, you need to download the folder from GitHub (e.g., Download ZIP), and set the run path in Matlab within the saved folder by running the function start_toolkit. You can then execute all the toolkit functions from the folder tests or try a use case example from the folder examples.

Minimum Example:

start_toolkit;

d=epanet(‘Net1.inp’)

d.getNodeCount

d.getNodeElevations

How to use EPANET-MATLAB-Toolkit
Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.