Universidad de Sevilla
A machine learning approach to predict pipe failures in water distribution networks
Abstract
dc:description.abstractThis PhD thesis addresses the problem of the appearance of unexpected pipe failures in water distribution networks. Specifically, it seeks to predict such failures using machine learning based techniques. An in depth literature review on the subject informs that although there are studies that have tested certain machine learning techniques for the aforementioned purpose, this is a novel issue that has not been fully explored yet. Consequently, this work proposes several machine learning models, some of which have not been applied to this problem before and analyses the most significant aspects of data processing and evaluation of the results. The nature and characteristics of the data are key points on the design of a machine learning system. For the development of this thesis, the company that manages the water distribution network of Seville (Spain) called EMASESA has provided an extensive database. Concretely, the database consists of a seven year pipe failure history, from 2012 to 2018, and includes various factors related to each of the pipes that compose the more than 3800 kilometres network. The first strategy has been to forecast pipe failures one year in advance, since companies generally decide their maintenance and replacement plans annually. Therefore, and according to the characteristics of the problem and the available data, the following machine learning techniques are proposed: discriminant analysis, logistic regression, support vector machines, random forests, artificial neural networks and evolutionary fuzzy logic. All these models can work as classifiers, being the main part of a supervised classification machine learning system. In this case, the output of the system is defined as a binary variable that takes the value 1 when a pipe fails in the period of study, and 0 otherwise. Secondly, the initial focus of this thesis was extended to multi label classification, which allows predicting more than one output variable at the same time. The aim of this new approach was to predict pipe failures over longer time periods based on currently available data, specifically, over several consecutive years. This long term information is really valuable for companies to improve their strategic decisions. The study of the different data processing strategies has been one of the challenges of this work as it is an essential phase for the correct development of a machine learning system. For this purpose, a descriptive analysis of the database has been performed to discover possible anomalies such as missing values, outliers, etc., as well as other processing needs. Moreover, the relationships between different factors (pipe material, diameter, length of the section, age, previous failures, etc.) have been analysed through the correlation matrix, scatter plots and histograms. In addition, potential connections between the factors and the breakage are examined. It should be noted that on many occasions descriptive analysis in big data applications helps to find hidden patterns that are imperceptible to humans. Therefore, it is a valuable source of information without the need to generate predictions, being an almost mandatory step before designing a predictive system. As previously mentioned, the predictions’ accuracy depends to a great extent on the data processing. Each data requires a different treatment according to its nature, for instance, if it is a continuous or integer number, a category or even an audio visual content. A relevant aspect of this work has been the study of sampling strategies since the database is totally unbalanced. This is a common characteristic of classification problems where one class has a much higher presence than the others. The imbalance problem can cause machine learning models to prioritize the forecast of the majority class (the non failures), disregarding the correct prediction of the minority class (the pipe failures). Specifically, the use of under and over sampling techniques is evaluated and the adaptation of these strategies to the case of multi label classification. Python is the programming language used to read and process the data, as well as to implement the models and analyse the results. This programming language offers multiple open source libraries that are really useful to develop machine learning systems. First, the models are calibrated in order to enhance their performance and to adjust their hyperparameters to the study problem. The results are then evaluated using specific quality metrics such as the confusion matrix or the receiver operating characteristic (ROC) curve. The analysis of the results proves that 34.5% of the annual pipe failures could be avoided by replacing only 5% of the water distribution network pipes. Furthermore, this value is a lower threshold that increases when the time period to predict for grows by using the multi label classification approach. This study highlights the importance of having robust and reliable databases. Among all the factors used in the study, the pipe material, the section length and the frequency of failures have demonstrated to be the most influential variables in the occurrence of new failures. Although the currently available data allow obtaining high quality predictions, adding new factors such as those related to weather conditions, could be a substantial improvement. For this reason, water network management companies are encouraged to periodically review and take care of their data storage and management policy. The proposed methodology has a direct application in the industry as the models provide scores associated with each pipe section that can be understood as failure probabilities. Consequently, a future line of research should be the integration of the proposed approach with the geographic information systems (GIS) in order to develop an infrastructure asset management tool able to generate efficient maintenance and replacement plans of pipes considering economic and social limitations. For this purpose, it would be necessary to include additional factors related to the consequences of pipe failures such as the number of people affected, whether or not the pipe supplies water to sensitive clients like hospitals, schools, etc., as well as the possible environmental damage.
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Robles-Velasco, Alicia
- Advisors dc:contributor.advisor
-
- Cortés, Pablo
- Muñuzuri, Jesús
Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- open access
- Attribution-NonCommercial-NoDerivatives 4.0 Internacional
- Licence dc:rights.uri
- Language dc:language.iso
- eng
Identifiers
dc:identifier.*- Dc Identifier Citation
- Robles-Velasco, A. (2022). A machine learning approach to predict pipe failures in water distribution networks. (Tesis Doctoral Inédita). Universidad de Sevilla, Sevilla.
- Mods Identifier Ror
- https://ror.org/03yxnpp24