EPANET Community

More than 350 members

Find us


Battle of the Leakage Detection and Isolation Methods (BattLeDIM 2020)

The Battle of the Leakage Detection and Isolation Methods (BattLeDIM), which will take place online on September 3rd, 2020, 08:30-10:00 CET (https://time.is/0830_03_September_2020_in_Brussels).

Participants and audience can register to enter the online Zoom meeting: https://ucy.zoom.us/meeting/register/tJUkceisrTooGdYW31lWq3x0DKQBdwoLioxD.

Also, the event will be broadcasted online on YouTube, accessible through the competition website: https://battledim.ucy.ac.cy

BattLeDIM aims at objectively comparing the performance of methods for the detection and localization of leakage events, relying on SCADA measurements of flow and pressure sensors installed within a new benchmark water distribution network.

This is a joint collaboration of academics from @KIOSCoE @UCYOfficial, TU Delft @tudelft, Technion @TechnionLive joint, and Tsinghua University @Tsinghua_Uni.

This event has been partially supported by the SmartWater2020 project @SWater2020 @Interreg_GRCY, the H2020 KIOS CoE @KIOSCoE Teaming project @EU_H2020 and Deutsche Forschungsgemeinschaft (DFG).

KIOS Center of Excellence, University of Cyprus, Cyprus
Technical University Delft, the Netherlands
Technion – Israel Institute of Technology, Israel
Technical University Delft, the Netherlands
Tsinghua University, China

Source: @eldemet https://twitter.com/SWater2020/status/1300003714237952000

A MATLAB toolkit for sensor placement in water distribution systems #EPANET

*TestSplace.m to run sensor placement from Matlab console.*

Sensor Placement (S-PLACE) Toolkit

The `Sensor Placement (S-PLACE) Toolkit’ is used for computing at which locations to install contaminant sensors in water distribution systems to reduce the impact risks. The S-PLACE Toolkit is built on the mathematical framework previously proposed (Eliades and Polycarpou, 2010) and it has been designed to be user-friendly and modular, suitable for both the professional and the research community. The Toolkit is programmed in Matlab utilizing the EPANET libraries. The modular software architecture allows each module to be accessed independently through stand-alone functions. Furthermore, the Toolkit allows the user to add, modify or remove methods and network elements, as well as to program new functions. The use of the software is illustrated using benchmark networks which capture different types of real network topologies, such as looped and branched networks.

How to cite
title = {{Sensor Placement in Water Distribution Systems
Using the S-PLACE Toolkit}},
year = 2014,
publisher = {Zenodo},
month = apr,
doi = {10.1016/j.proeng.2014.02.066},
url = {https://doi.org/10.1016/j.proeng.2014.02.066}

  • Eliades, D. G., Kyriakou, M., and Polycarpou, M. M. (2014). Sensor placement in water distribution systems using the S-PLACE Toolkit. Proc12th International Conference on Computing and Control for the Water Industry, CCWI2013, Procedia Engineering, Elsevier, 70, pp. 602-611 (https://doi.org/10.1016/j.proeng.2014.02.066)

Mathematical Framework

  • Eliades, D., Polycarpou, M., 2010. A fault diagnosis and security framework for water systems. IEEE Transactions on Control Systems Technology 18, 1254�1265. ref

S-PLACE Toolkit

Copyright 2013 KIOS Research Center for Intelligent Systems and Networks, University of Cyprus (www.kios.org.cy)

Licensed under the EUPL, Version 1.1 or – as soon they will be approved by the European Commission – subsequent versions of the EUPL (the “Licence”);

Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an “AS IS” basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the Licence for the specific language governing permissions and limitations under the Licence.


EPANET is public domain software that may be freely copied and distributed.


The Toolkit works with your 32-bit Matlab version, and can work with 64-bit computers by using a suitable epanet.dll

  1. To download, press here: https://github.com/KIOS-Research/splace-toolkit/archive/master.zip
  2. Unzip this file in a folder, and set this folder as the “active” matlab path.
  3. Next, you just run the SPLACE.m file. This will load the GUI. From there, you can load any *.inp files.
  4. Next, you need to select and run a series of algorithms, to solve the sensor placement. You first need to create a parameter set for all scenarios (GridParameters). Next, simulate the scenarios (SimulateAll). Next, compute the impact matrix e.g. with metric the contaminated water consumption volume (CWCV) and finally, solve the optimization (Exhaustive or Evolutionary). Depending on whether you have the evolutionary toolkit, the evolutionary multi-objective algorithm might not work, but you can use whatever optimization you prefer.
  5. All algorithms are modular, i.e. they all read/create certain files with certain structure. If you want to create a new algorithm e.g. for optimization, just copy/paste one of the existing algorithms, change its name and change the code accordingly, the toolkit will automatically recognize the new functions.