1. Introduction
Since random pipe breaks are inevitable, their isolation is necessary [
1,
2]. As the pipelines in real-life networks do not have isolation valves on both ends, some part of the network (typically a few pipelines and nodes) is not operating during shutdowns. However, the rest of the system serves as a backup [
3]. The introduced method considers every possible shutdown scenario for a water distribution network and optimises them simultaneously. The goal is to serve as many consumers with water as possible.
The proposed method applies a standard Matlab built-in genetic algorithm. The objective function (OF) includes the network cost according to the Battle of Intermittent Water Systems 2022 and the relative shortfall for each backup scenario. EPANET 2.2 is applied to determine the hydraulics with a pressure-driven solver. The goal is to minimise the cost while keeping the service quality as high as possible, even during a shutdown due to an accidental pipe burst. We demonstrate the method using EPANET sample network Net1.
2. Materials and Methods
The genetic algorithm (GA) is a widely used technique to find global minimum values of functions in the field of water distribution networks [
3,
4] GA can overcome local minima by utilising the mutation and cross-over operators even if the OFs are mathematically not smooth. Regarding the optimisation of a network, a typical formulation of finding the proper diameters is to minimize the cost while ensuring an acceptable service level, [
4] that is, to find the cheapest network with a given layout to supply every consumer. Although the diameters can be chosen from a predefined list of standardised values, the problem is still NP-hard, as by increasing the number of pipelines, the possible solutions tend to multiply exponentially.
This study applies the GA for two different OFs. The first follows the traditional optimisation, while the second includes the backup networks. If a pipe burst occurs and a shutdown is necessary to isolate some parts (a segment) of the network, the rest of the system is still operational, and we call this a backup. The idea is to find the cheapest network to serve every consumer, even if a network segment is isolated. The first OF is:
where a and b are constants—1 and 1000, respectively—and CF is the cost function:
where CF is the relative cost in EUR/m, A = 13, B = 29 and C = 1200 according to the instructions for the Battle of Intermittent Water Supply 2022. D is the diameter and D
o is the original diameter in the network. RS stands for the relative shortfall:
where d is the overall nominal demand and c is the actual consumption in the network, i.e., if every consumer is served RS = 0. The value of a and b have been chosen as 1 and 1000 arbitrarily to ensure that even a small shortfall can increase the function value. The second OF is similar, but it considers the shortfalls of all the backups, i.e.,
where RSM is the relative shortfall mean, i.e., the average value of relative shortfalls of all the backups.
3. Results
The sample network of EPANET, Net1, is used to demonstrate the quality of the methods. Some isolation valves have been added to generate segments and shutdown plans (
Figure 1). Overall, six isolation valves create five segments. The cost of the original network is EUR 2.46 million.
Figure 2 presents the results of the optimisations, both the traditional (left side) and the backup ones (right side). The costs of both cases are significantly lower than the original. The traditional optimisation cost EUR 1.11 million, while the backup optimisation cost EUR 1.49 million.
4. Discussion and Conclusions
This study presents an optimisation method for two objectives, a traditional diameter optimisation and a backup optimisation, both for the cost avoiding any shortfall. The methods are demonstrated using the EPANET example network, Net1, with some additional isolation valves.
Both methods can achieve a lower cost than the original, meaning the original network is oversized for both cases. While the traditional optimisation achieved a continuously reducing diameter distribution from the sources, the backup optimisation resulted in a more uniform one, creating the opportunity for some stable, looped backups.
The analysis can be further extended with additional real-life networks. Moreover, up to this point, the level of service is not considered; only the shortfalls are minimised to zero. An additional metric to the cost could increase the scope of the analysis, which counts in the quality of the water supply.
Author Contributions
Conceptualization, R.W., G.R.A., E.S., C.H. and A.O.; methodology, R.W., T.T., G.R.A., C.H. and A.O.; software, R.W. and C.H.; formal analysis, R.W.; resources, R.W. and C.H.; writing—original draft preparation, R.W.; writing—review and editing, G.R.A. and A.O.; visualization, R.W.; supervision, C.H. and A.O.; project administration, C.H. and A.O.; funding acquisition, C.H. and A.O. All authors have read and agreed to the published version of the manuscript.
Funding
Project no. TKP-6-6/PALY-2021 has been implemented with the support provided by the Ministry of Culture and Innovation of Hungary from the National Research, Development and Innovation Fund, financed under the TKP2021-NVA funding scheme. This project was also supported by the OTKA Grant K-135436 of Csaba Hős.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The hydraulic solver, EPANET, is available at EPANET|US EPA. The additional Python and C++ codes used in the project are available from the authors by requesting.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Abhijith, G.R.; Salomons, E.; Ostfeld, A. Developing a Simplified Practical Approach for Analyzing the Criticality of Isolation Valves. J. Water Resour. Plan. Manag. 2023, 149, 06023005. [Google Scholar] [CrossRef]
- Wéber, R.; Huzsvár, T.; Hős, C. Vulnerability analysis of water distribution networks to accidental pipe burst. Water Res. 2020, 184, 1–11. [Google Scholar] [CrossRef] [PubMed]
- Halhal, D.; Walters, G.A.; Ouazar, D.; Savic, D.A. Water Network Rehabilitation with Structured Messy Genetic Algorithm. J. Water Resour Plan Manag. 1997, 123, 137–146. [Google Scholar] [CrossRef]
- Savic, D.A. Genetic Algorithms for Least-Cost Design of Water. J. Water Resour. Plan. Manag. 1997, 123, 67–77. [Google Scholar] [CrossRef]
| 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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).