• P-ISSN 0974-6846 E-ISSN 0974-5645

Indian Journal of Science and Technology


Indian Journal of Science and Technology

Year: 2022, Volume: 15, Issue: 23, Pages: 1133-1142

Original Article

An Experimental Study to Locate Leakage in the Water Distribution Network using Real-time Wireless Sensor and Machine Learning Algorithm

Received Date:01 January 2022, Accepted Date:29 April 2022, Published Date:24 June 2022


Objective: To pinpoint the leakage location using a machine learning algorithm on a real-time basis. Method: A laboratory experimental model was developed using wireless sensors for real-time data collection and monitoring the changes in the pressure and flow in presence of leakage under a different scenario. Modification in laboratory model was made considering Loop network of distribution pipes as compared to the simple experimental model. The model has been validated in EPANET software. The machine learning algorithm, along with the K-fold approach has been used to locate leakage and it was compared with other algorithms like Support Vector Machine (SVM), logistic regression, multilayer perceptron, Recurrent Neural Network-Long Short-Term Memory (RNN-LSTM), Principal Component Analysis (PCA), Artificial Neural Network (ANN), Random Forest, Gradient Boosting Tree (GBT) Classification, and Convolutional Neural Network (CNN). Findings: In this research, a system was developed based on real-time data received by Wireless Sensor Network (WSN) was demonstrated and it is able to find even a small leak by monitoring pressure and flow. The K-fold approach in machine learning algorithm has been used to locate the leakage in different variations made in the experimental model in terms of pressure, leak size, cross-section of pipe, and profile level of the pipe network. A comparison was also presented with other machine learning algorithms of recent research in terms of accuracy, size of the opening for the leak, type of experimental model used, and variables considered to locate the leakage. Novelty: It is the first research kind of work that shows the average accuracy of 78% to locate leakage based on the real-time experimental data in a loop network using the K-Fold approach.

Keywords: Leakage; Leakage Detection; Kfold approach; Pressure Measurements; Water Distribution Network; Wireless sensor


  1. Idachaba F, Rabiei M. Current technologies and the applications of data analytics for crude oil leak detection in surface pipelines. Journal of Pipeline Science and Engineering. 2021;1(4):436–451. Available from: https://doi.org/10.1016/j.jpse.2021.10.001
  2. Liu Y, Ma X, Li Y, Tie Y, Zhang Y, Gao J. Water Pipeline Leakage Detection Based on Machine Learning and Wireless Sensor Networks. Sensors. 2019;19(23):5086. doi: 10.3390/s19235086
  3. Zhou M, Yang Y, Xu Y, Hu Y, Cai Y, Lin J, et al. A Pipeline Leak Detection and Localization Approach Based on Ensemble TL1DCNN. IEEE Access. 2021;9:47565–47578. doi: 10.1109/ACCESS.2021.3068292
  4. El-Zahab S, Zayed T. Leak detection in water distribution networks: an introductory overview. Smart Water. 2019;4(1).
  5. Mashhadi N, Shahrour I, Attoue N, Khattabi JE, Aljer A. Use of Machine Learning for Leak Detection and Localization in Water Distribution Systems. Smart Cities. 2021;4(4):1293–1315. Available from: https://doi.org/10.3390/smartcities4040069
  6. Ravichandran T, Gavahi K, Ponnambalam K, Burtea V, Mousavi SJ. Ensemble-based machine learning approach for improved leak detection in water mains. Journal of Hydroinformatics. 2021;23(2):307–323. Available from: https://doi.org/10.2166/HYDRO.2021.093
  7. Liu Y, Ma X, Li Y, Tie Y, Zhang Y, Gao J. Water Pipeline Leakage Detection Based on Machine Learning and Wireless Sensor Networks. Sensors. 2019;19(23):5086. Available from: https://doi.org/10.3390/s19235086
  8. Coelho J, Glória A, Sebastião P. Precise Water Leak Detection Using Machine Learning and Real-Time Sensor Data. IoT. 2020;1(2). Available from: https://doi.org/10.3390/iot1020026


© 2022 Dalal & Vasani. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

Published By Indian Society for Education and Environment (iSee)


Subscribe now for latest articles and news.