Next Article in Journal
A Flushing Duration Model for a Campaign against Contamination in Water Distribution Systems
Previous Article in Journal
Optimizing the Formulation of Homemade Milk Kefir Drink from India: Comprehensive Microbial, Physicochemical, Nutritional, and Bioactivity Profiling
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Hybrid Transient-Machine Learning Methodology for Leak Detection in Water Transmission Mains †

1
Department of Civil and Environmental Engineering, University of Perugia, 06125 Perugia, Italy
2
Faculty of Agricultural, Environmental and Food Science, Free University of Bolzano/Bozen, 39100 Bolzano, Italy
3
Faculty of Engineering, Free University of Bolzano/Bozen, 39100 Bolzano, Italy
*
Author to whom correspondence should be addressed.
Presented at the 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024), Ferrara, Italy, 1–4 July 2024.
Eng. Proc. 2024, 69(1), 142; https://doi.org/10.3390/engproc2024069142
Published: 15 September 2024

Abstract

:
This contribution proposes a hybrid approach integrating transient test-based techniques with machine learning for automatic leak detection in water transmission mains. Transient numerical simulations calibrated using experimental tests are used to develop a data-driven method based on neural networks to identify leak locations and characteristics. The accuracy of leak localization is demonstrated using three different degrees of noise in terms of mean absolute error, ranging between 0.54 m and 2.1 m. This proposed hybrid approach shows prospects for in-field applications.

1. Introduction

Worldwide, transmission mains lose an average of 40% of the transported water because of low maintenance and the limitations of current leak detection methods [1]. Water losses in conveyance systems cost money and energy, representing an effective reduction in the available water resources, putting more stress on the environment in addition to the impacts of climate change. However, attention to these transmission pipelines has recently increased due to the urgent need for sustainable use of freshwater resources, requiring appropriate inspection techniques and diagnosis methodologies. These pipes are often located in remote areas with limited accessibility, therefore causing more difficulties in monitoring and check-ups. The most suitable inspection solutions for this aim are inline sensors, such as swimming sensors or acoustic correlators, infrared thermographs, satellite technology, and transient test-based techniques (TTBTs). TTBTs involve analyzing transient pressure signals to identify anomalies in water systems by propagating small amplitude pressure waves through the system, exploring and collecting valuable information about the pipeline’s “status”. The analysis of pressure signals allows fault detection, as each anomaly leaves a distinct fingerprint [2,3]. TTBTs offer advantages such as low instrumentation costs, minimal required measurement sections, and short test durations, minimizing interference with the system’s normal functioning [4]. While various models exist for transient pressure signal analysis, the integration of TTBTs with machine learning methodologies is still in its early stages [5,6,7]. In the context of the TANDEM project (i.e., hybrid transient-machine learning approach for anomaly detection and classification in water transmission mains), the authors intend to investigate this topic and present their preliminary results via this contribution.

2. Materials and Methods

At the Water Engineering Laboratory of the University of Perugia, a campaign of variable velocity experimental tests was conducted on the installation illustrated in Figure 1a. The system consists of a DN110 high-density polyethene pipe with a length L = 164.93 m, internal diameter D = 93.3 mm, and thickness e = 8.1 mm. The pipe is fed by a pressurized tank (R), while a pneumatic valve (PV) is installed at the downstream end to perform rapid closure maneuvers and generate the transient phenomenon. The pressure signal is measured using a piezoresistive transducer (PT) at the section immediately upstream of PV. A leak (P) with an effective area AP is placed at a distance LP from tank R. During the tests involved in this study, both the size of the leak (AP) and the location (LP) were varied in three test configurations. Specifically, in test(1) AP = 4.5 × 10−4 m2 and LP = 61.3 m, in test(2) AP = 1.85 × 10−4 m2 and LP = 61.3 m, and in test(3) AP = 1.1 × 10−4 m2 and LP = 72.62 m. The initial hydraulic conditions of the experiment are fixed as follows: the piezometric head HPT at PT is around 17.5 m, and the outflow QPV is around 2 L/s. Figure 1b shows the pressure transient signal acquired during the three campaign tests. At time t = 0, the overpressure generated by the sudden closure of PV is recorded, while at t ≈ 0.5–0.7 s, a pressure reduction is observed corresponding to the interaction of the generated wave with the reflection of the leak (in fact, a negative reflected wave is generated). The subsequent pressure reduction t ≈ 1 s is instead due to the wave reflected from the tank.
The second step of the proposed methodology consists of setting up an unsteady hydraulic simulator to reproduce the experimental tests in Figure 1b, with the final aim of increasing the sample of transient signal with different combinations of leak positions and sizes along the pipe. The hydraulic model used in this study is based on a semi-implicit finite volume–finite difference scheme for pressurized pipes, capable of ensuring mass conservation, thus allowing the representation of a precise mass loss due to pipe breakage [8]. Furthermore, in the developed hydraulic model, a noise generator is integrated to replicate the laboratory signal noise. Thus, three datasets of 2000 simulations for the training and 400 for the testing for each level of noise were performed. The noise in the simulated PT signals follows a normal distribution with a standard deviation equal to 0.05 m (dataset(1)), 0.1 m (dataset(2)), and 0.5 m (dataset(3)), respectively.
The last step consists of training and then testing a Feed Forward Neural Network (FFNN) to identify the leak position along the pipe, e.g., [9,10]. The data-driven method based on FFNN uses transient signals as input, and the leak position is the output.

3. Results

Since the calibrated hydraulic model proved to be reliable, three levels of noise datasets were performed. Figure 2a,b show 10 of the 2400 samples of simulated pressure transient in PT belonging to dataset(1) and dataset(3) with a corresponding low and high level of noise. These figures show the transient signals generated through simulations that include uniformly randomly distributed leaks along the pipe that also vary in magnitude.
Due to the three synthetic datasets with different levels of noise, three different ML models were trained. The selected neural network model consists of an FFNN architecture with an input layer with 256 pressure signal values, three hidden layers, and an output layer with one value, i.e., the leak position. The FFNN configuration comprises 32, 16, and 12 neurons, respectively, for each of the hidden layers, with 100 epochs. The training data are divided into 80% for training and 20% for validation in order to avoid overfitting. The 400 testing simulations were used to assess the accuracy of the FFNN models for each dataset. Thus, Figure 3 reports the results of the machine learning algorithm as a Q-Q plot between the predicted and the real leak position, using the three different levels of noise. The accuracy of the prediction model for dataset(1) presents a mean absolute error of 0.54 m, while for dataset(2) and dataset(3), the mean absolute errors are 0.82 m and 2.1 m, respectively.

4. Conclusions

This contribution provides an overview of the TANDEM project, highlighting how the potential of TTBT can be boosted through ML signal processing techniques. This hybrid transient-machine learning approach seeks to pave the way for an on-demand diagnosis of water mains, enabling a real-time response about upcoming anomalies along the pipeline.

Author Contributions

Conceptualization, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R; methodology, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R; software, C.C., A.M., S.M., B.B., D.D.T., M.T.and M.R; validation, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; formal analysis, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; investigation, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; resources, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R; data curation, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; writing—original draft preparation, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R; writing—review and editing, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; visualization, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R; supervision, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; project administration, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R.; funding acquisition, C.C., A.M., S.M., B.B., D.D.T., M.T. and M.R. All authors have read and agreed to the published version of the manuscript.

Funding

This research has been jointly supported by the University of Perugia “Fondi di ricerca di Ateneo-edizioni 2021 e 2022”; by the Ministry of University and Research (MUR) under the Project of Relevant Interest-PRIN2022—“Hybrid Transient--Machine Learning Approach for Anomaly Detection and Classification in Water Transmission Mains (TANDEM)” (CUP: J53D23002110006). Finally, the Authors would like to thank the European Commision, MUR (Italy), Fapesc (Brazil), and FCT (Portugal) for funding in the frame of the collaborative international consortium MORE4WATER financed under the 2022 Joint call of the European Partnership 101060874—Water4all.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data that support this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Al-Washali, T.; Sharma, S.; Kennedy, M. Methods of Assessment of Water Losses in Water Supply Systems: A Review. Water Resour. Manag. 2016, 30, 4985–5001. [Google Scholar] [CrossRef]
  2. Capponi, C.; Martins, N.; Covas, D.I.; Brunone, B.; Meniconi, S. Transient Test-Based Techniques for Checking the Sealing of In-Line Shut-Off Valves and Capturing the Effect of Series Junctions—Field Tests in a Real Pipe System. Water 2024, 16, 3. [Google Scholar] [CrossRef]
  3. Meniconi, S.; Brunone, B.; Tirello, L.; Rubin, A.; Cifrodelli, M.; Capponi, C. Transient Tests for Checking the Trieste Subsea Pipeline 2: Diving into Fault Detection. J. Mar. Sci. Eng. 2024, 12, 391. [Google Scholar] [CrossRef]
  4. Meniconi, S.; Capponi, C.; Frisinghelli, M.; Brunone, B. Leak Detection in a Real Transmission Main Through Transient Tests: Deeds and Misdeeds. Water Resour. Res. 2021, 57, e2020WR027838. [Google Scholar] [CrossRef]
  5. Bohorquez, J.; Alexander, B.; Simpson, A.R.; Lambert, M.F. Leak Detection and Topology Identification in Pipelines Using Fluid Transients and Artificial Neural Networks. J. Water Resour. Plan. Manag. 2020, 146, 04020040. [Google Scholar] [CrossRef]
  6. Ayati, A.H.; Haghighi, A.; Ghafouri, H.R. Machine Learning–Assisted Model for Leak Detection in Water Distribution Networks Using Hydraulic Transient Flows. J. Water Resour. Plan. Manag. 2022, 148, 04021104. [Google Scholar] [CrossRef]
  7. Zanfei, A.; Menapace, A.; Brentan, B.M.; Righetti, M.; Herrera, M. Novel Approach for Burst Detection in Water Distribution Systems Based on Graph Neural Networks. Sustain. Cities Soc. 2022, 86, 104090. [Google Scholar] [CrossRef]
  8. Bertaglia, G.; Ioriatti, M.; Valiani, A.; Dumbser, M.; Caleffi, V. Numerical Methods for Hydraulic Transients in Visco-Elastic Pipes. J. Fluids Struct. 2018, 81, 230–254. [Google Scholar] [CrossRef]
  9. Zanfei, A.; Brentan, B.M.; Menapace, A.; Righetti, M. A short-term water demand forecasting model using multivariate long short-term memory with meteorological data. J. Hydroinform. 2022, 24, 1053–1065. [Google Scholar] [CrossRef]
  10. Zanfei, A.; Menapace, A.; Righetti, M. An artificial intelligence approach for managing water demand in water supply systems. IOP Conf. Ser. Earth Environ. Sci. 2023, 1136, 012004. [Google Scholar] [CrossRef]
Figure 1. (a) Schematic diagram of the experimental setup at the Water Engineering Laboratory of the University of Perugia; (b) three pressure signals recorded during the experimental test campaign.
Figure 1. (a) Schematic diagram of the experimental setup at the Water Engineering Laboratory of the University of Perugia; (b) three pressure signals recorded during the experimental test campaign.
Engproc 69 00142 g001
Figure 2. Pressure transient signals in PT simulated using the numerical model with different leak positions and sizes: (a) 10 samples of data from dataset(1) and (b) 10 samples from dataset(3).
Figure 2. Pressure transient signals in PT simulated using the numerical model with different leak positions and sizes: (a) 10 samples of data from dataset(1) and (b) 10 samples from dataset(3).
Engproc 69 00142 g002
Figure 3. FFNN results as a Q-Q plot of the predicted against real leak positions for the three datasets: dataset(1) in green, dataset(2) in orange, and dataset(3) in blue.
Figure 3. FFNN results as a Q-Q plot of the predicted against real leak positions for the three datasets: dataset(1) in green, dataset(2) in orange, and dataset(3) in blue.
Engproc 69 00142 g003
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Capponi, C.; Menapace, A.; Meniconi, S.; Torre, D.D.; Tavelli, M.; Righetti, M.; Brunone, B. Hybrid Transient-Machine Learning Methodology for Leak Detection in Water Transmission Mains. Eng. Proc. 2024, 69, 142. https://doi.org/10.3390/engproc2024069142

AMA Style

Capponi C, Menapace A, Meniconi S, Torre DD, Tavelli M, Righetti M, Brunone B. Hybrid Transient-Machine Learning Methodology for Leak Detection in Water Transmission Mains. Engineering Proceedings. 2024; 69(1):142. https://doi.org/10.3390/engproc2024069142

Chicago/Turabian Style

Capponi, Caterina, Andrea Menapace, Silvia Meniconi, Daniele Dalla Torre, Maurizio Tavelli, Maurizio Righetti, and Bruno Brunone. 2024. "Hybrid Transient-Machine Learning Methodology for Leak Detection in Water Transmission Mains" Engineering Proceedings 69, no. 1: 142. https://doi.org/10.3390/engproc2024069142

Article Metrics

Back to TopTop