Comming soon EMT v2.2

Current version EMT v2.1.8


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)

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)}, 
address = {The Netherlands},

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:





How to use EPANET-MATLAB-Toolkit

Leave a Reply

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