ABSTRACT
Several evolutionary algorithms (EAs) have been suggested in the last three decades for the least-cost design of water distribution networks (WDNs). EAs generally worked well to identify the global/near-global optimal solutions for small- to moderate-size networks in a reasonable time and computational effort. However, their applications to large-size networks are still challenging due to large computational effort. Recent developments in EAs are towards parameter-less techniques that avoid fine-tuning of case-specific parameters to reduce the computational effort. Further, several self-adaptive penalties and search-space reduction methodologies have been suggested to reduce the computational effort. A fast, efficient, and parameter-less Rao-II algorithm has been used earlier with penalty-based approaches for the optimal design of WDNs. In this study, the application of a Rao-II algorithm is further explored with three self-adaptive penalty approaches to compare the convergence characteristics. The Rao-II algorithm is observed to converge at an infeasible solution in cases that the applied penalty to an infeasible solution is not so substantial to make it inferior to the feasible solutions. Modifications are suggested to improve the Rao-II algorithm, named the modified Rao-II algorithm. The modified Rao-II algorithm with the self-adaptive penalty methods resulted in better solutions than those obtained earlier.
HIGHLIGHTS
Modification to Rao-II algorithm with self-adaptive penalty approaches.
Modification in Rao-II algorithm for avoiding convergence to infeasible solutions.
Application to benchmark networks.
Better solutions than previously best-known solutions for both the benchmark networks.
Application to real-life network.
ABBREVIATIONS
- EA
evolutionary algorithm
- WDN
water distribution network
- GA
genetic algorithm
- ACO
ant colony optimization
- PSO
particle-swarm optimization
- DDA
demand-driven analysis
- PDA
pressure-driven analysis
- HDB-SA-DDA
head deficit-based self-adaptive demand-driven analysis
- HDB-SA-PDA
head deficit-based self-adaptive pressure-driven analysis
- HFDB-SA-PDA
head and flow deficit-based self-adaptive pressure-driven analysis
- DN
demand nodes
- N
pipes
- Y
loops
- CT
cost of network in monetary unit
- Πj
set of pipes connected to node j
- Λy
pipes in loop y
- J
number of nodes
- c (
)
is unit cost of pipe n having diameter
length of pipe n
discharge of pipe n
required nodal demand
available nodal demand
head loss in pipe n
- Epmp
head developed by a pump
- Λp
pumps in loop y
available head at node j
minimum desirable head at node j
- Dmin and Dmax
minimum and maximum diameter of available pipes, respectively
- Z
total cost of network including penalty cost
- CP
penalty cost
- PM or p
penalty coefficient
cost of network with all pipes as largest available commercial diameter
cost of pipe n with added penalty cost due to minimum pressure constraint at node j
cost per unit length of pipe n
flow in pipe n
total flow into node
- PWF
present worth factor
- cue
unit cost of the energy in monetary units per kWh
- w
specific weight of water (9,810 N/m3)
- η
overall efficiency
- tp
total time of the pump operation in a year in hours
- Xm,best,i
best values for any iteration i, for a variable m
- Xm,worst,i
worst values for any iteration i, for a variable m
- X′m,k,i and Xm,k,i
updated and old value for any variable m
- r1,m,i, r2,m,i
random numbers
- k and l
any randomly picked solution from the population set
- FSS
full search space
- RSS
reduced search space
- DSSR
dynamic search space reduction
- NFE
number of function evaluations
- DNA
data not available
- GA-ILP
genetic algorithm–integer linear programming
- NSGA-II
non-dominated sorting genetic algorithm
- MA
memetic algorithm
- CFO
central force optimization
- CSA
crow search algorithm
- ICSA
improved crow search algorithm
INTRODUCTION
A water distribution network (WDN) is one of the costliest components of any water supply project (Walski et al. 2003); therefore, the cost optimization of a WDN design is required. The simplest WDN optimization problem consists of selecting the most appropriate diameter for each pipe of the network from the set of available discrete pipe-diameters to minimize the network cost. The constraints of satisfying the pressure requirements along with the satisfaction of continuity equations at all the nodes and energy equations for all loops are imposed (Alperovits & Shamir 1977; Wu & Walski 2005; Kadu et al. 2008; Jain & Khare 2021; Palod et al. 2021; Gangwani et al. 2023, 2024). Researchers have suggested using various mathematical programming-based techniques to obtain the least-cost design of WDNs from the 1960s to 1990s. These techniques, called ‘deterministic search techniques’, begin the search with a solution in the search space and progress to a better solution in an iterative manner using some mathematical expressions. Such searches frequently result in a local optimal solution (Bhave 2003).
Several EAs based on different metaphors have been developed over the last three decades for the least-cost design of networks. The search in an evolutionary algorithm (EA) starts from many randomly chosen points in the search space, which move towards better solutions by mimicking the metaphor, and terminates when the search is complete. The EAs are observed to have a global search capacity to achieve global optimal and several near-optimal solutions. The main disadvantage of EAs is the high computational effort, as shown by Coelho & Andrade-Campos (2012). Mostly, the EA uses certain constants besides the population size and the number of generations to mimic the metaphor; for example, the genetic algorithm (GA) uses cross-over and mutation probabilities (Savic & Walters 1997; Wu & Simpson 2001; Deb et al. 2002; Kadu et al. 2008; Siew & Tanyimboh 2012; Abdy Sayyed et al. 2019); ant colony optimization (ACO) uses the rate of pheromone evaporation and the pheromone reward factor (Maier et al. 2003; Zecchin et al. 2006; Zecchin et al. 2007; Ostfeld & Tubaltzev 2008); and particle-swarm optimization (PSO) uses inertia weight, cognition rate, and social learning rate (Suribabu & Neelakantan 2006; Rao et al. 2017). These constants must be fine-tuned for case-specific problems, which increases computational efforts and is also sometimes tedious. Recent advancements are, therefore, towards the development of parameter-less EA that either adjusts required algorithm-specific constants internally or uses their fixed values.
Gajghate & Mirajkar (2021) used a parameter-less Jaya algorithm (Rao 2016) for the optimal design of irrigation pipe networks. The diameters are initially obtained using the critical path method and then this is optimized using both linear programming (LP) and the Jaya algorithm, and it was concluded that the Jaya algorithm can reach a better-optimized solution than LP. Palod et al. (2020) used the same Jaya algorithm for the design of WDNs and observed that this parameter-less algorithm reduces the computational effort and is efficient. Palod et al. (2021) compared two parameter-less EAs – Rao-I and Rao-II (Rao 2020) – for the optimal design of WDNs and found that Rao-II is better compared with Rao-I. Jain & Khare (2021) also used the Rao-II algorithm for the design of WDNs.
The WDN optimization problem has constraints related to the satisfaction of flow continuity at nodes, energy equations for loops, and minimum pressure availability at nodes. The first two conditions are tackled in EA by involving a hydraulic solver. However, the third constraint, i.e., minimum pressure availability at nodes, is to be externally satisfied in the EA-based optimization models. Penalty approaches are mostly used to overcome this situation. The penalty is applied proportionately to the constraint violation amount using a penalty coefficient to make infeasible solutions inferior to feasible solutions. The selection of a proper penalty coefficient for the penalty function is a key to improving the efficiency of EA-based optimization models. A larger coefficient imposes a larger penalty and may quickly eliminate infeasible solutions from the population; thus, these solutions may not be given enough opportunity to improve further. Conversely, a smaller penalty may allow the infeasible solutions to remain in the population for a longer duration, thereby delaying the convergence or converging at an infeasible solution. This renders the penalty an external parameter that requires fine-tuning for proper convergence of the objective function as suggested by Abebe & Solomatine (1998) and van Dijk et al. (2008). On the other hand, a self-adaptive penalty does not require fine-tuning of the penalty coefficient as suggested by Kadu et al. (2008), Abdy Sayyed et al. (2019), Jain & Khare (2021), and Gangwani et al. (2023, 2024).
The penalty cost is thus dependent on the penalty coefficient and the amount of pressure deficit. The maximum pressure deficit among all nodes in the network is determined and multiplied by the penalty coefficient to obtain the penalty cost (Palod et al. 2020, 2021), or a penalty due to the pressure deficit at all nodes can be added (Abdy Sayyed et al. 2019) to obtain the final penalty. Kadu et al. (2008) recommended that for a pressure deficit node, the penalty multiplier must be proportional to the capitalized energy cost required at that node to lift the unit quantity of water through a unit head. Further, the pressure deficit can be calculated using demand-driven analysis (DDA) or pressure-driven analysis (PDA). Abdy Sayyed et al. (2019) showed that DDA overestimates the penalty as in this case it is assumed that the demands are fully satisfied, and pressure is determined accordingly. This leads to a larger pressure deficiency than required at the nodes. In contrast to this, PDA determines the pressure deficit according to the partial flow conditions and hence may result in lower pressure deficit values. Further, they recommend using a combined flow and pressure deficit-based penalty. Jain & Khare (2021) also showed the superiority of PDA over DDA by comparing the optimal costs obtained using the Rao-II algorithm for some benchmark problems. Recently, Gangwani et al. (2024) also used a combined flow and pressure deficit-based penalty in GA to obtain a better solution for a two-source network from Kadu et al. (2008). Although parameter-less EAs avoid the fine-tuning of a large number of problem-specific constants as required in other EAs, the penalty multiplier needs to be fine-tuned for faster convergence.
The main objective of this paper is to explore the application of Rao-II with self-adaptive penalty approaches. Three approaches are considered herein: (1) a self-adaptive penalty approach (Kadu et al. 2008) in which head deficit is obtained using DDA, abbreviated as head deficit-based self-adaptive demand-driven analysis (HDB-SA-DDA); (2) a self-adaptive penalty approach (Abdy Sayyed et al. 2019) in which head deficit is obtained using PDA, abbreviated as head deficit-based self-adaptive pressure-driven analysis (HDB-SA-PDA); and (3) a self-adaptive combined flow and head deficit penalty approach (Abdy Sayyed et al. 2019) in which deficit is obtained using PDA, abbreviated as head and flow deficit-based self-adaptive pressure-driven analysis (HFDB-SA-PDA). The application of the methodology is demonstrated with a two-source network from Kadu et al. (2008) and a Ramnagar network of Nagpur city from Gangwani et al. (2024).
The remainder of the paper consists of the description of the general WDN optimization problem to be solved by EA, a brief literature on constraint-handling through different types of penalties, the Rao-II algorithm and proposed modifications, application to benchmark problems, comparison of solutions, and conclusions of the study.
OPTIMIZATION MODEL FORMULATION
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if15.gif?Expires=1740202361&Signature=cRaEd1DFJuYrZa-Rdar2CFX4uJwgpdTX2OJ61ZxQkrRXDEu1Z3K6JYpv-Mp911cZAgO55dOuXNpfTpjBkLC6B2H~lev2hXlWnF1vdxcTICKPJdJov0vHd3QvHXtBP73orSF51cb00L5ndW4DF28JkMJTg9yhVbdlSMk9K8BJ2H185YLntftHcBzOq-oyfbYVLvI7dAsxt2dFZnjLqFx6dcUliuZUZ1nL0yfbJLIXdpiSsQ~l70QmHX1UAUtoG5bLthbHU-PcAYwEROTHJoC3xMNS3497u3jTEOIKVEBRd4fhwAE1ZdvtVIOvSCZxu-WGbshLByZZgdZHrRWyuyh0mA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if16.gif?Expires=1740202361&Signature=lXyekgy3pFqkYfGAw8G2Hp03YMIBiGALcT81tDppBOdMijmOzLrzY7zUXN-ZIrilIXx7OqIC2RGX6zj~tg7PIB-9wuLBsj7Dqaeu7x~KUluaEnIMOaC65mMoEOJ6GHkbjGMfUTIYP7NoGunJNp2cX4iCgf4DPFrf6rnqiAkTNKi-dOPKaOqG6T54mbEHarG2jnzsD06Q0gQEeYFSoE3jwYREG8R9w5hJJ16Y~KOOAv5bJGEhzfX~97nLvsr6qU5dpb9DFz-ZUGZvTEDWsFPpWN2jYJc56-9YDGWytVBeo8wUOeV5HvppwPMQRMy0pBjN3V1JRlfaqI0pO49L2DBMYQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if17.gif?Expires=1740202361&Signature=dtSmb68i~Eskd7eRgN18GhQAsQHlOorI6Q5yvyScrjWw2faV0UVLuE6rXH-lsF5zh8Nvsds7WbgIMSyM6P6RZZ3IJ79xFRkj3l2uUIZYZI2f8YDdFFq6IvXplZHSOSDtJssAGsTHCu5fDW67btlDmDIp4CsGGLiK096GKneMXFGVdz~LOXV27lk60L7g-LG8GuYmUhwsyvweRBRrvAhww0NYR-n9w0P~n-YU~7fgZsiSPzH0yxgyxbsqq-qdcL74trTNqOIvc938ugkSMDJgwHQmr8JjJJ1YRamhpgfVlbvfSCnrx2XRw5~qPzmSBnNVLuccQKiTg3M-8gHWeMd7Bw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if18.gif?Expires=1740202361&Signature=uMmNdZRWBkgDXWNzR4gaVece575VExirNMjJ8-T9G0GOhvLtQiTZfEbnap4cIZgAVdnYtCmQg8MXXBciVRKU8Zq8cg118wqnRQjfQrk8DiJ4HNjn0G4mcvAIuIebPIDYH~ZThCxWToTaBwVc5zV~j~MGLk5mef8Ozi-dqu0f2G9-Yxv9lViesERC0jpp7oYbN5Wbtu-mQ1b0ym4kYTauOdHZ3aru5vX9ra2J36Eafd3FEUl6cf6nRIgMJ8JYv1khAWnxsvod1jDmrjSdt-BO8z0M6L96qwI7qVbmGxHYq-mrL8AV79frW2sT5HzccREHXdIzXszgFBujVVoqXXWfDw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if19.gif?Expires=1740202361&Signature=eMoer-H1TAg~zjf0xSxvVmnEl-Dxpk7A1IYte-HjNZAQWa8-JmDzQZZckgFaYzKaFhq49evKiM5Z2BindwovYgWva2CUULCSmvvWTesfe6EC3AB9rpJggpBdWua16iWOdWIKtrFbt3~CJ0aUKJ~XIbHnoAnNUQxa7K128p2~d0vgr9UD8r1qqD5ClcSkTNGlX19N2DE8YEPW3NQAm6ehpLJUSz9Ski57hSWbJESkJpV2Z5DWDFDHRawhIjpRcxjBeX7UGoUMyxcEEXIuZSsmz25arp7411zqACXS1O0p0F9~oFOcCIvsJ7uiC25CskGez6QLAu1lYl3HFiq9QeCxMQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
CONSTRAINTS HANDLING IN EA
Martínez-Bahena et al. (2018) used the death-penalty approach in GA in which infeasible solutions are discarded. While applying the GA operators to the initial population, a tournament selection method was used in which only feasible solutions were selected. Further, after the cross-over and mutation, a feasibility check was applied, and infeasible solutions were discarded. Only feasible solutions were added to the new population until the population size was obtained.
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if20.gif?Expires=1740202361&Signature=mvPjp1eaBUJbFm3d366g-H03whA4OMG0AIlCHJfW8KRwhNCDJ3mgnHdccZ-luzO4Wn4LPSCbo59madSR60GmFbFxH8uzWOPcHR68MJFtd3ZzmDZYZ2d6e0TM2MAnclnNo9NAXPmU7EuSFe52TbA71RAYj5~oFz9Fc6m4IwPhzv4l0tTljCtZoSYfYbgGBoiUcYl5OuRkAVNHj-LB6M8-twAPF~d~jpU5O7niRLKR6JfuGd4rCwbM8Lw5LR8pAUnU0x5k3dIDRjo9aroi1rrgK61zVavj7QZD91XLlB-tLvF3V1W9LsU2NOGjWdq1VYIcR8rqWOo0JpakjMiK3MSMQw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if21.gif?Expires=1740202361&Signature=PmGbyXLXhKQm4qGDsRr6vw38rhOuXes6LKgXFCyfQyBiiazDbyFVQ7xUj~PmimRSyqQZZoDmhJwROi53m2Q1QIYA5i4ZBCi0E5tXDDPnzluo7nH~FjaOakj5Z25zcyPYfAmZ9Cpk7fVMbCyMdZcPJONI7dhh5LMNYHWei-MthFKnAerIFIYrQR-XerB7jkIIGzLbNeJRF1Lif~DMpnXkBLDdTqP02KS4FnNzjPNkSX6yEiRZ0CUmVJKzpbhXr9~fOEVQ9M33KavQcG2jmS1NKMggLShM2hSpz82R47rIWoA2CNE~zXd9dlyaIvIjTyK5WQ~x1WPT8ZbtWyY22cKowQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if22.gif?Expires=1740202361&Signature=uHIkUHZCw7QlbPFyp55nRdEI5yps6uLWXDWifv~vRTQb-Z~6wM1-5ZMxu14O4trVdU2bvx1POrHzxI0exU8IHGix2gljxmdJKrr6ijU0RJNueo5h-4t3C0g4zXsl-cATxN08NNo4KtSfIMsNJDCAwAcgZbehAP0EMo93itJiXsgJqrKB0XrrdENkfDRkpwRhTV80C4lbPQomWPGV4Jgq9MI~ulPJqosy0FH3xCjbsBlD2De1qHCHfs92HozvOGyHyLQh7938TFTmp86k5VbWxYmjTSPCTFQh5Wqq29aDcB2OTWrBF9etBYb8qn~LfhAezRVMDIEYOQP47jcjKhaWYA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
Sangroula et al. (2022) suggested applying a penalty at all the nodes. Two different penalty coefficients, PM1 for nodes with pressure above the required pressure and PM2 for nodes with deficiency in pressure, are used to calculate the penalty cost. The values of PM1 and PM2 are case-specific and were obtained by trial and error as 0.02 and 1.9.
Montesinos et al. (1999) considered a penalty based on the number of nodes having constraint violations instead of degree of constraint violation. The severity of failure is better indicated by the degree of constraint violation. In fact, DDA overpredicts the number of nodes with pressure deficiency as compared with PDA (Abdy Sayyed et al. 2019). Deb & Agrawal (1999) suggested a niched penalty based on the comparison in tournament selection in which two feasible solutions are compared based on the cost, the two infeasible solutions are compared based on their constraint violation, and the feasible solution is considered better than infeasible solution in the tournament.
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if23.gif?Expires=1740202361&Signature=wypF8LLfTX03rOg162ddmJBdp2Z4KG0rrwDRrMZQX-8hW3pHafBUZJKiQ~NH1OFON0qK4jAkHfvHpuiE0zE5dHtPuub9QJOhWf2vrWqgq6iHRvBk7jGKSjz1XC24XX5qJtlrgRqurGkHxHWUJOrrEDPfm7B1mp-sh8wGwnAxojqA0Vj2PWQVyzTlnDskI64NDaL8~UXXBR3HAVcPQeCO3RXzOukN7z2P1N5OuOTGxUH6YFhYDJQx~RRCr9V1fbQA655WZtd2m0uPZRgmQB6OC50Ru~EBBKc78z5Q4LaPKCZVqoAf4~047j80OZQc6RGkP-THS9oxwTejsTG9R~W6JA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if24.gif?Expires=1740202361&Signature=iKc-OYEAuW-qxOIwWszVVNPrzXbSpuQW5S61D~0cd8QPyof~0jc~UPSNjyzHUcVB2bnsg2Mo8OTs2771U9WAnIxlQLuWUSQf1O2-wnWZxfK7boAAHd41aC-v0ACjv1j-V4A9WUAN95aW9oTAX8iKeFMpPJk5HOhX~3kDcDR5A2Xxb1a~fg6p9UlcSkjDvTdoFFq9uIm2vPmGH3rykMkc~1ecgZMGWex1QGA~Qo02GP8t6GnUnBs2pSL4TXVAu9fFC9833l5R7yLdV73YUtNVUUiuPvb97tHGZym9iOvy6dQsI3OWgW2WiDnAyqhsHO8t5m2wJ2cruDuGgSrqgNtaYA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if25.gif?Expires=1740202362&Signature=KnSawMVeQXxGKPEMWqXjBjZOLJZANn6ePDaIbX9TrJa6X5o-mCeGRgGT~wah5OjGseyUY9Oqr1Hm7bIcSZ2iMefjCTSTnVQhQm1UDiLwDiF4Qy6N1Wvit4zm3hsW0vuNrmkD8IaDMtqpah8rHtbXhX709puiGCQZPCOPNW1PcxwSOwxKr0nEdjogunHokCdZkZE-FeuSqHKgO1X-GCtsQCbHtD9Ir-qO64FqiFNNe9X~OzbGzZcF-WSu1p8BIaZF4bFwSoBbLfq2lj9U3iXQ7HEivZ-OPZ80GOY9dBrOJ08~nXQhXt44tI1JEfX1C-KFeruSU091z65FeWwyTdL~sQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if26.gif?Expires=1740202362&Signature=U~IBr9Bo~R7Q6BCcdQWSYlxIEJPdOave0sO~ZYdkpMYpUU6KHKSI2WwoV0KVXZy34bOuPr2FkAhgJbvx9pyrxTB~kTRamums4WIj-FAF8ZzqpvBWRi~KcWs2zsSqF-sGaILQ3PTqfYPNpaqeSLvau7UJ6yKewtTvfsrPN3x7rMbQaZwbdFC-jXNeykSIKMFRNV--xjzroHJkc0RHicRCrL8W4eGhz21cGr0Z3oGeoU5r7rddQlThc5veXiI3ZiU8AfZEA7whq4vYe0iJANwhnDIKL2Qfxf9rHUeVMoXVXFRYVKPWNpPZNbzOgpGp~txRyH9EcHsfjkUEq8lmGuqswA__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if27.gif?Expires=1740202362&Signature=t7FzmIhKmhrizkkgraz~qIow46eITVgKVCaPfQEtgRh20KqyRaYfR7jAgiSSAS7Yi5X2UIrmqffMn4W-mrfCom6wmcO1GMQcjRYgChJWDRRfvmjXarQfu7CfREilrtR-ACmj64nJwmoyljOH0b--UHIPiww7x6Xunf0LbQiZ1NuK4BfXcDVFa7Fh2zgk5-GgQaZm8ce70qeviizWG8yFdelJQEPVq5djbKcSB2PpfGHdUJ~anx0QSbBuDF-sI1Fzs~tm4cnGl2iE26txyUhKTuDbpuRXpZRL3Mfm3dhFaczr3DGxmgtXAqcWV~XdnkqYcpy0MBF8EnNEcJGShyYMGg__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if28.gif?Expires=1740202362&Signature=IeWsA0a6cc0fg4~pI3SD-yRpINx~dm4lgq~8JPT1DHLPl8~YbgurKy-COJofKfQSQDIisPkWsULYOQJNNqao0cvslrmrNAFuYorTvv86ZkjHdAgDjF6FWvIgQRdrpXtPKl7f6ZlCZNrwRpoOhyEWmY3wsNd-EepYTbmT~EO2tFknPo-gV7YvX0At5P4R6-dym5EG06e8QdcLM-oTPVCvL3UbeHhiWRfYBpl6zOBAu22Y92hz7-reTBBrLnoxDQQ6BDgC7kO0qFfuz7tVYnMXkia6GmWSyoRtk263fUmPROTkP90qGJLhFeTqAPL5RYONyAkM2foBXNyk5Lz-eJppog__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
![](https://iwa.silverchair-cdn.com/iwa/content_public/journal/jwcc/15/8/10.2166_wcc.2024.055/1/m_jwc-d-24-00055if29.gif?Expires=1740202362&Signature=zwk0XaGD-x2WYIpISIp-i4khjIvIxFqwyPBN0vl-OpMvCq9UQ9BLgT2KYvc3pOJQSKomYFltc8DKTbG6g~KsecfpQ5kQicvZ7OhwF1evn4ERymmrVdQNrNiSwoHSLA1KDefv~FwqVO7lBR9wrylIwRnxFPOMwKgy0fvxFGYk7d7o4TigYIcZoj~izOQlrTL5eeakOEjK1xx6jLnae4lqp9Adt8Xn~amtA~BKrXad85tA0JzoCGSRaRxdZqqITAQLImrcT3FpwFZzU1GM5Z-dnlcmILy8y1OGsvaxBPcGgffkxrrFvdJjLMTq6TqEZuCe9DlT-fGAa7iKe3toRbUnoQ__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA)
PARAMETER-LESS RAO-II ALGORITHM
In Equation (19), the best and worst values for any iteration i, for a variable j, are represented by Xm,best,i and Xm,worst,i, respectively. X′m,k,i and Xm,k,i represent the updated and old values for any variable m; r1,m,i and r2,m,i are random numbers distributed uniformly, and the range of r1,m,i and r2,m,i is (0,1); l is any randomly picked solution from the population set, and Xm,l,i represents its value for variable m at the ith iteration. Solutions k and l are compared based on the total cost. Suppose solution l is better than k (total cost of solution l < total cost of solution k). In that case, information must be exchanged from l to k, and hence, the term Xm,k,i or Xm,l,i is simplified to Xm,l,i and the term Xm,l,i or Xm,k,i is simplified to Xm,k,i. This delineates the transfer of information from a superior solution to an inferior solution. In contrast to this, if the total cost of solution k < solution l, the term Xm,k,i or Xm,l,i is simplified to Xm,k,i and the term Xm,l,i or Xm,k,i is simplified to Xm,l,i . Once the updated values of all solutions in the population are determined, a completely fresh population set is created. The updated values are compared with the previous values of the solution, and a better-performing solution (solution with minimum total cost) is directed to the next iteration. This process of updating and comparing the solutions is continued until the termination criterion is reached, which is generally a fixed number of iterations or when, over a larger number of iterations, no improvement is observed in the fitness value of the solutions. For the present case, the former serves as the termination criterion.
MODIFIED RAO-II ALGORITHM
The Rao-II algorithm is a two-step methodology that identifies the best and worst solution from the entire population. Further, it evolves the solution to move towards the best solution and away from the worst solution. In the second step, a comparison is made between the old and updated, i.e., the evolved solution. The better-performing solution is sent to the next iteration. It is essential to remember that for the optimal design of WDN, performance in the Rao-II algorithm solely depends on the total cost (total cost = network cost + penalty). While applying the self-adaptive penalty, care must be taken to keep the infeasible solutions near the feasible–infeasible front more active by applying just enough penalty (Wu & Walski 2005). It was observed that the penalty cost may be significantly less if the constraint violation is very low. Therefore, some solutions, though infeasible, may have lesser total cost than feasible solutions. This leads to the selection of an infeasible solution over a feasible solution. Once an infeasible best is identified, the entire population starts moving towards this infeasible best and ultimately becomes infeasible. Such situations can be avoided by selecting a higher penalty coefficient or varying the penalty coefficient as iteration progresses. Herein, a different approach is suggested to overcome the aforementioned drawback. Two modifications are suggested for the Rao-II algorithm.
1. The entire population is segregated into two groups: the feasible (penalty = 0) and infeasible group (penalty ≠ 0). It is suggested that the minimum cost solution be selected as the best solution from the group of feasible solutions. This approach ensures that the best solution consistently results in a feasible solution. It is important to note that the entire population may be initially infeasible with larger penalty values. This may be due to the random generation of solutions. In such a case, a minimum total cost solution from the group of infeasible cost solutions is selected. Penalty decreases and feasible solutions appear with the progress of the algorithm.
2. The Rao-II algorithm compares the updated solution with the original one based on the total cost value only to pass it on to the next iteration. Hence, an infeasible solution with a lower total cost is selected over a feasible solution with a higher total cost during the comparison process. To rectify this, the following changes are made:
a. Between two infeasible solutions, the least total cost solution is selected and sent to the next iteration.
b. Between an infeasible (penalty ≠ 0) and feasible solution (penalty = 0), a feasible solution is selected and sent to the next iteration.
c. Between two feasible solutions, the least total cost solution is selected and sent to the next iteration.
This step guarantees the alignment of feasible solutions with the advancement of the algorithm.
Rao-II/modified Rao-II algorithm with self-adaptive penalty approaches.
APPLICATION OF METHODOLOGY
Kadu – a two-source network
Diameters obtained for the Kadu network using three different penalties
Pipe no. . | Diameters in mm . | Node no. . | Required head . | Available head (m) . | ||||||
---|---|---|---|---|---|---|---|---|---|---|
HDB-SA-DDA . | HDB-SA-PDA . | HFDB-SA-PDA . | HDB-SA-DDAa . | HDB-SA-DDA . | HDB-SA-PDA . | HFDB-SA-PDA . | HDB-SA-DDAa . | |||
1 | 900 | 1,000 | 900 | 900 | 1 | 100 | 100.0 | 100.0 | 100.0 | 100.0 |
2 | 900 | 900 | 900 | 900 | 2 | 95 | 95.00 | 95.00 | 95.00 | 95.00 |
3 | 350 | 350 | 350 | 400 | 3 | 85 | 98.28 | 98.96 | 98.28 | 98.27 |
4 | 300 | 300 | 300 | 250 | 4 | 85 | 95.04 | 95.65 | 95.04 | 95.00 |
5 | 150 | 150 | 150 | 150 | 5 | 85 | 87.33 | 87.50 | 87.42 | 90.71 |
6 | 250 | 200 | 250 | 200 | 6 | 85 | 85.35 | 85.19 | 85.50 | 85.00 |
7 | 800 | 800 | 800 | 800 | 7 | 82 | 85.21 | 82.49 | 85.49 | 82.02 |
8 | 150 | 150 | 150 | 150 | 8 | 82 | 87.81 | 88.54 | 88.22 | 87.96 |
9 | 450 | 450 | 450 | 450 | 9 | 85 | 91.13 | 91.70 | 91.13 | 91.09 |
10 | 500 | 500 | 500 | 500 | 10 | 85 | 88.31 | 88.70 | 88.32 | 88.27 |
11 | 750 | 800 | 800 | 750 | 11 | 85 | 86.44 | 86.83 | 86.45 | 86.40 |
12 | 700 | 700 | 700 | 700 | 12 | 85 | 85.15 | 85.55 | 85.16 | 85.12 |
13 | 500 | 500 | 500 | 500 | 13 | 82 | 82.38 | 83.10 | 82.58 | 82.48 |
14 | 500 | 500 | 500 | 500 | 14 | 82 | 92.95 | 93.53 | 93.50 | 92.96 |
15 | 150 | 150 | 150 | 150 | 15 | 85 | 88.01 | 87.04 | 88.02 | 87.97 |
16 | 500 | 450 | 500 | 500 | 16 | 82 | 82.17 | 82.84 | 82.16 | 82.22 |
17 | 350 | 350 | 350 | 350 | 17 | 82 | 89.56 | 90.19 | 91.10 | 89.58 |
18 | 400 | 400 | 400 | 400 | 18 | 85 | 85.45 | 85.20 | 85.46 | 85.42 |
19 | 150 | 150 | 150 | 150 | 19 | 82 | 86.11 | 85.82 | 86.11 | 86.08 |
20 | 150 | 150 | 150 | 150 | 20 | 82 | 82.33 | 83.09 | 82.07 | 82.38 |
21 | 700 | 700 | 750 | 700 | 21 | 82 | 86.35 | 87.00 | 84.31 | 86.38 |
22 | 150 | 150 | 150 | 150 | 22 | 80 | 85.09 | 80.45 | 81.26 | 85.12 |
23 | 450 | 450 | 500 | 450 | 23 | 82 | 83.01 | 82.19 | 83.01 | 82.98 |
24 | 350 | 350 | 400 | 350 | 24 | 80 | 80.17 | 83.65 | 80.15 | 80.15 |
25 | 700 | 700 | 600 | 700 | 25 | 80 | 80.52 | 81.57 | 80.50 | 80.56 |
26 | 250 | 200 | 250 | 250 | 26 | 80 | 80.22 | 80.06 | 80.66 | 80.25 |
27 | 250 | 350 | 250 | 250 | ||||||
28 | 300 | 300 | 300 | 300 | ||||||
29 | 200 | 200 | 250 | 200 | ||||||
30 | 300 | 250 | 250 | 300 | ||||||
31 | 150 | 150 | 150 | 150 | ||||||
32 | 150 | 150 | 150 | 150 | ||||||
33 | 150 | 150 | 150 | 150 | ||||||
34 | 150 | 150 | 150 | 150 | ||||||
Cost (Rs. 106) | 125.02 | 125.44 | 125.24 | 124.96 | ||||||
Iterations | 447 | 488 | 931 | 562 |
Pipe no. . | Diameters in mm . | Node no. . | Required head . | Available head (m) . | ||||||
---|---|---|---|---|---|---|---|---|---|---|
HDB-SA-DDA . | HDB-SA-PDA . | HFDB-SA-PDA . | HDB-SA-DDAa . | HDB-SA-DDA . | HDB-SA-PDA . | HFDB-SA-PDA . | HDB-SA-DDAa . | |||
1 | 900 | 1,000 | 900 | 900 | 1 | 100 | 100.0 | 100.0 | 100.0 | 100.0 |
2 | 900 | 900 | 900 | 900 | 2 | 95 | 95.00 | 95.00 | 95.00 | 95.00 |
3 | 350 | 350 | 350 | 400 | 3 | 85 | 98.28 | 98.96 | 98.28 | 98.27 |
4 | 300 | 300 | 300 | 250 | 4 | 85 | 95.04 | 95.65 | 95.04 | 95.00 |
5 | 150 | 150 | 150 | 150 | 5 | 85 | 87.33 | 87.50 | 87.42 | 90.71 |
6 | 250 | 200 | 250 | 200 | 6 | 85 | 85.35 | 85.19 | 85.50 | 85.00 |
7 | 800 | 800 | 800 | 800 | 7 | 82 | 85.21 | 82.49 | 85.49 | 82.02 |
8 | 150 | 150 | 150 | 150 | 8 | 82 | 87.81 | 88.54 | 88.22 | 87.96 |
9 | 450 | 450 | 450 | 450 | 9 | 85 | 91.13 | 91.70 | 91.13 | 91.09 |
10 | 500 | 500 | 500 | 500 | 10 | 85 | 88.31 | 88.70 | 88.32 | 88.27 |
11 | 750 | 800 | 800 | 750 | 11 | 85 | 86.44 | 86.83 | 86.45 | 86.40 |
12 | 700 | 700 | 700 | 700 | 12 | 85 | 85.15 | 85.55 | 85.16 | 85.12 |
13 | 500 | 500 | 500 | 500 | 13 | 82 | 82.38 | 83.10 | 82.58 | 82.48 |
14 | 500 | 500 | 500 | 500 | 14 | 82 | 92.95 | 93.53 | 93.50 | 92.96 |
15 | 150 | 150 | 150 | 150 | 15 | 85 | 88.01 | 87.04 | 88.02 | 87.97 |
16 | 500 | 450 | 500 | 500 | 16 | 82 | 82.17 | 82.84 | 82.16 | 82.22 |
17 | 350 | 350 | 350 | 350 | 17 | 82 | 89.56 | 90.19 | 91.10 | 89.58 |
18 | 400 | 400 | 400 | 400 | 18 | 85 | 85.45 | 85.20 | 85.46 | 85.42 |
19 | 150 | 150 | 150 | 150 | 19 | 82 | 86.11 | 85.82 | 86.11 | 86.08 |
20 | 150 | 150 | 150 | 150 | 20 | 82 | 82.33 | 83.09 | 82.07 | 82.38 |
21 | 700 | 700 | 750 | 700 | 21 | 82 | 86.35 | 87.00 | 84.31 | 86.38 |
22 | 150 | 150 | 150 | 150 | 22 | 80 | 85.09 | 80.45 | 81.26 | 85.12 |
23 | 450 | 450 | 500 | 450 | 23 | 82 | 83.01 | 82.19 | 83.01 | 82.98 |
24 | 350 | 350 | 400 | 350 | 24 | 80 | 80.17 | 83.65 | 80.15 | 80.15 |
25 | 700 | 700 | 600 | 700 | 25 | 80 | 80.52 | 81.57 | 80.50 | 80.56 |
26 | 250 | 200 | 250 | 250 | 26 | 80 | 80.22 | 80.06 | 80.66 | 80.25 |
27 | 250 | 350 | 250 | 250 | ||||||
28 | 300 | 300 | 300 | 300 | ||||||
29 | 200 | 200 | 250 | 200 | ||||||
30 | 300 | 250 | 250 | 300 | ||||||
31 | 150 | 150 | 150 | 150 | ||||||
32 | 150 | 150 | 150 | 150 | ||||||
33 | 150 | 150 | 150 | 150 | ||||||
34 | 150 | 150 | 150 | 150 | ||||||
Cost (Rs. 106) | 125.02 | 125.44 | 125.24 | 124.96 | ||||||
Iterations | 447 | 488 | 931 | 562 |
aBest result from 100 trial runs.
Layout of water distribution networks: (a) Kadu network and (b) Ramnagar network.
Layout of water distribution networks: (a) Kadu network and (b) Ramnagar network.
The platform used for the coding of the Rao-II algorithm for optimization of WDN is Python, and it is integrated with EPANET 2.0 with the help of a toolkit for hydraulic simulation. As EPANET 2.0 does not have a PDA facility, a separate C code proposed by Gupta et al. (2018) is used to modify the input file to be used in PDA. The capacity of the computer used for running the code is Intel(R) Core (TM) i7-10510 U, 8 GB RAM, CPU @ 2.30 GHz.
Initially, the Rao-II algorithm was used with different penalty approaches. The three approaches HDB-SA-DDA, HDB-SA-PDA, and HFDB-SA-PDA as given in Equations (14) and (15) were applied for the optimal design of the Kadu network. Initially, a few runs were performed to fix the population size and the number of generations. A population size of 75 and 1,000 iterations as the termination criteria were fixed to compare the convergence characteristics. Fifteen trial runs were performed, and the best obtained in one of the 15 trials was considered. With Rao-II, HDB-SA-DDA and HDB-SA-PDA converged to feasible solutions; however, HFDB-SA-PDA converged to a non-feasible solution. The head deficit was noted at six nodes in the best solution. The head deficit was 0.18 m at node 6, 0.19 m at node 12, 0.28 m at node 16, 0.21 m at node 18, 0.79 m at node 23, and 0.49 m at node 26. The cost of the network was Rs. 123,499,991 and the penalty cost was Rs. 956,552. The total cost was Rs. 124,456,543. Moreover, none of the solutions from the final population was found feasible. This indicated the necessity of modifying the Rao-II algorithm as all the solutions were observed to move towards the infeasible solution. Considering this possibility in other penalty-based approaches, the modified Rao-II algorithm was applied. However, for the Kadu network, modified Rao-II is used with HFDB-SA-PDA, and it resulted in improved convergence.
Pipe diameters obtained in the best solution with three different penalties are shown in Table 1.
1. Different EAs (GA, memetic algorithm (MA), central force optimization (CFO), crow search algorithm (CSA), Jaya, Rao-II) and their variants have been applied to design this network in the last 15 years, starting from 2008 up to 2023.
2. Both penalty-free and penalty-based approaches have been applied. The penalty-free approach avoided fine-tuning of the penalty coefficient (Haghighi et al. 2011; Barlow & Tanyimboh 2014; Siew et al. 2014) by mostly converting the constraints as additional objectives and making it a multi-objective problem. This increases the computational efforts.
3. Computational time and efforts are reduced through self-adaptive penalty calculations using DDA and PDA (Kadu et al. 2008; Abdy Sayyed et al. 2019; Gangwani et al. 2023, 2024), which avoids fine-tuning of the penalty coefficient. The PDA-based head deficit calculations for penalty applications are observed to be better as compared with DDA-based calculations by Abdy Sayyed et al. (2019) and Gangwani et al. (2023, 2024). Herein, modified Rao-II with DDA-based self-adaptive penalty outperformed compared with the constant penalty approach (Palod et al. 2021) and with self-adaptive PDA-based approaches.
4. Many researchers (Kadu et al. 2008; Siew et al. 2014; Abdy Sayyed et al. 2019; Gangwani et al. 2024) have used search-space reduction in EAs or hybrid methods to reduce the computational effort.
5. As EAs do not provide the same results in different runs, a number of trials of fine-tuned models are made, the best cost solution from different trials is considered, and the number of function evaluations (NFE) required in the best run is reported. Herein, 15 trials are considered, and the minimum cost solution from these trials is reported.
6. There are only five occasions when the researcher provides a better solution than the present best one. Siew et al. (2014) was the first to provide better solutions with full search space (FSS) and reduced search space (RSS) compared with that provided by Kadu et al. (2008). Abdy Sayyed et al. (2019) provided a better solution with RSS as compared with that of Siew et al’s. (2014) RSS solution. Palod et al. (2021) provided a better solution with FSS as compared with that of Siew et al.’s (2014) FSS solution. Gangwani et al. (2023) provided a better solution with FSS than Palod et al.’s (2021) FSS solution. Gangwani et al. (2024) provided a better solution with RSS than Abdy Sayyed et al.’s (2019) RSS solution. Herein, a better solution with FSS in 15 trials is obtained twice costing Rs. 125,019,790 in 33,525 NFE compared with Gangwani et al.’s (2023) FSS solution of Rs. 125,209,860 obtained in 157,760 NFEs, and Gangwani et al. (2024) obtained the same cost in 1,125,300 NFEs with the dynamic search-space reduction (DSSR) model.
7. Table 3 shows the statistical analysis for three different penalties for 15 trial runs. Regarding the optimal solution, HDB-SA-DDA outperforms other penalties for maximum and minimum costs. The mean cost obtained for all three penalties for the Kadu network is almost the same. Figure 3(a) shows the convergence curve obtained for the Kadu network.
8. The program was executed for 100 trials also with the same parameters. It is interesting to note that with the number of trials increased to 100, a better feasible solution of Rs. 124,963,610 emerged. This solution is not obtained earlier by any other algorithm and is cheaper by 0.045% than the earlier best-known solution. This is obtained in the 73rd trial at the 562nd iteration with HDB-SA-DDA and in the eighth trial at the 557th iteration with HDB-SA-PDA penalties, leading to total NFEs of 42,150, and 41,775 respectively. However, execution of the program for a higher number of trials, especially for large WDN, is not recommended, as it may or may not result in a better solution. Therefore, certain termination criteria are to be set initially and may be used to assess the performance of any EA rather than running it multiple times.
9. When a similar exercise is performed using HFDB-SA-PDA, the modified Rao-II algorithm converges to Rs. 125,019,790 in the eighth trial at the 544th iteration.
Convergence curve for (a) the Kadu network and (b) the Ramnagar network.
Comparison of results for the Kadu network
Author . | Algorithm . | Penalty description . | Search-space reduction approach . | No. of trials . | Minimum NFE . | Optimal cost in million Rs. . | Residual heads at nodes in EPANET 2.0 . | |
---|---|---|---|---|---|---|---|---|
Max . | Min . | |||||||
Kadu et al. (2008) | GA | HDB-SA-DDA | FSS | 10 | 120,000 | 131.68 | 13.96 | 0.14 |
HDB-SA-DDA | RSS | 10 | 25,200 | 126.37a | 13.99 | −1.39 | ||
Haghighi et al. (2011) | GA-ILP | Penalty-free | FSS | DNA | 4,440 | 131.31a | 13.97 | −0.01 |
Siew et al. (2014) | NSGA-II | Penalty-free | FSS | 100 | 436,000 | 125.46 | 13.29 | 0.24 |
Penalty-free | RSS | 30 | 82,400 | 125.83 | 13.29 | 0.23 | ||
Barlow & Tanyimboh (2014) | GA-based MA | Penalty-free | FSS | 100 | 142,000 | 124.69a | 13.97 | −0.39 |
Jabbary et al. (2016) | CFO | HDB-CP-DDA | FSS | DNA | 259,476 | 126.53 | 13.29 | 0 |
Abdy Sayyed et al. (2019) | GA | HDB-SA-PDA | RSS | DNA | 8,300 | 128.38 | 13.28 | 0.06 |
HFDB-SA-PDA | RSS | DNA | 7,600 | 125.75 | 13.29 | 0.06 | ||
Fallah et al. (2019) | CSA | HDB-CP-DDA | FSS | 30 | 81,250 | 128.26a | 13.14 | −0.22 |
ICSA | HDB-CP-DDA | FSS | 30 | 65,000 | 125.49a | 13.95 | −0.24 | |
Palod et al. (2020) | Jaya | HDB-CP-DDA | FSS | 30 | 39,680 | 126.05 | DNA | DNA |
Tanyimboh (2021) | NSGA | Penalty-free | FSS | 10 | 339,000 | 127.36 | 13.26 | 0.24 |
Palod et al. (2021) | Rao-II | HDB-CP-DDA | FSS | 30 | 19,700 | 125.43 | 13.98 | 0.07 |
Gangwani et al. (2023) | GA | HFDB-SA-PDA | FSS | 10 | 157,760 | 125.21 | 13.28 | 0.16 |
Gangwani et al. (2024) | HFDB-SA-PDA | DSSR | 10 | 1,125,300 | 125.02 | 13.28 | 0.15 | |
Present work | Modified Rao-II | HDB-SA-DDA | FSS | 15 | 33,525 | 125.02 | 13.28 | 0.15 |
HDB-SA-PDA | FSS | 15 | 36,600 | 125.44 | 13.96 | 0.06 | ||
HFDB-SA-PDA | FSS | 15 | 69,825 | 125.24 | 13.28 | 0.07 |
Author . | Algorithm . | Penalty description . | Search-space reduction approach . | No. of trials . | Minimum NFE . | Optimal cost in million Rs. . | Residual heads at nodes in EPANET 2.0 . | |
---|---|---|---|---|---|---|---|---|
Max . | Min . | |||||||
Kadu et al. (2008) | GA | HDB-SA-DDA | FSS | 10 | 120,000 | 131.68 | 13.96 | 0.14 |
HDB-SA-DDA | RSS | 10 | 25,200 | 126.37a | 13.99 | −1.39 | ||
Haghighi et al. (2011) | GA-ILP | Penalty-free | FSS | DNA | 4,440 | 131.31a | 13.97 | −0.01 |
Siew et al. (2014) | NSGA-II | Penalty-free | FSS | 100 | 436,000 | 125.46 | 13.29 | 0.24 |
Penalty-free | RSS | 30 | 82,400 | 125.83 | 13.29 | 0.23 | ||
Barlow & Tanyimboh (2014) | GA-based MA | Penalty-free | FSS | 100 | 142,000 | 124.69a | 13.97 | −0.39 |
Jabbary et al. (2016) | CFO | HDB-CP-DDA | FSS | DNA | 259,476 | 126.53 | 13.29 | 0 |
Abdy Sayyed et al. (2019) | GA | HDB-SA-PDA | RSS | DNA | 8,300 | 128.38 | 13.28 | 0.06 |
HFDB-SA-PDA | RSS | DNA | 7,600 | 125.75 | 13.29 | 0.06 | ||
Fallah et al. (2019) | CSA | HDB-CP-DDA | FSS | 30 | 81,250 | 128.26a | 13.14 | −0.22 |
ICSA | HDB-CP-DDA | FSS | 30 | 65,000 | 125.49a | 13.95 | −0.24 | |
Palod et al. (2020) | Jaya | HDB-CP-DDA | FSS | 30 | 39,680 | 126.05 | DNA | DNA |
Tanyimboh (2021) | NSGA | Penalty-free | FSS | 10 | 339,000 | 127.36 | 13.26 | 0.24 |
Palod et al. (2021) | Rao-II | HDB-CP-DDA | FSS | 30 | 19,700 | 125.43 | 13.98 | 0.07 |
Gangwani et al. (2023) | GA | HFDB-SA-PDA | FSS | 10 | 157,760 | 125.21 | 13.28 | 0.16 |
Gangwani et al. (2024) | HFDB-SA-PDA | DSSR | 10 | 1,125,300 | 125.02 | 13.28 | 0.15 | |
Present work | Modified Rao-II | HDB-SA-DDA | FSS | 15 | 33,525 | 125.02 | 13.28 | 0.15 |
HDB-SA-PDA | FSS | 15 | 36,600 | 125.44 | 13.96 | 0.06 | ||
HFDB-SA-PDA | FSS | 15 | 69,825 | 125.24 | 13.28 | 0.07 |
aInfeasible solution with current EPANET parameters (α, β, ω) = (1.852, 4.871, 10.667).
DNA, data not available; HDB, head deficit based; HFDB, head flow deficit based; CP, constant penalty; GA-ILP, genetic algorithm–integer linear programming; NSGA-II, non-dominated sorting genetic algorithm; MA, memetic algorithm; CFO, central force optimization; CSA, crow search algorithm; ICSA, improved crow search algorithm.
Minimum, maximum, and mean cost of the Kadu network obtained for 15 trial runs
Type of penalty . | Minimum cost (Rs. 106) . | Maximum cost (Rs. 106) . | Mean cost (Rs. 106) . | Computational time (seconds per run) . |
---|---|---|---|---|
HDB-SA-DDA | 125.02 | 127.97 | 126.44 | 117 |
HDB-SA-PDA | 125.44 | 128.98 | 126.29 | 95 |
HFDB-SA-PDA | 125.24 | 128.75 | 126.43 | 116 |
Type of penalty . | Minimum cost (Rs. 106) . | Maximum cost (Rs. 106) . | Mean cost (Rs. 106) . | Computational time (seconds per run) . |
---|---|---|---|---|
HDB-SA-DDA | 125.02 | 127.97 | 126.44 | 117 |
HDB-SA-PDA | 125.44 | 128.98 | 126.29 | 95 |
HFDB-SA-PDA | 125.24 | 128.75 | 126.43 | 116 |
Ramnagar network
The Ramnagar network shown in Figure 2(b) was first used by Gangwani et al. (2024) to illustrate their design methodology. The network consists of 375 pipes, 292 junctions, and a ground service reservoir with a lowest supply level of 327.205 m. The design diameters for the network must be selected from 16 commercially available diameters, as shown in Table S3, which leads to a total search space of 16,375. The pipe and node details of the network are shown in Tables S4 and S5, respectively. The penalty multiplier, p, for the Ramnagar network is calculated as 145,220 using Equations (12) and (13), based on the prevailing unit energy charges of Rs. 5.4/kWh.
Five trial-runs were performed with a population size of 500 and 4,000 iterations as the termination criteria to obtain the convergence curve of the modified Rao-II algorithm. Pipe diameters obtained from three different penalties are shown in Table S6. A comparison of results as obtained by GA (Gangwani et al. 2024) and modified Rao-II for the Ramnagar network is shown in Table 4. GA, using the HFDB-SA-PDA penalty approach, provided the optimal cost of the network as Rs. 37,837,223 and Rs. 34,289,227 with FSS and DSSR, respectively. The modified Rao-II algorithm with FSS resulted in better solutions than that obtained by GA using FSS and DSSR for the HDB-SA-DDA and HFDB-SA-PDA penalty approaches as shown in Table 4. The minimum cost solution is obtained as Rs. 34,166,161 by modified Rao-II with HFDB-SA-PDA. Modified Rao-II with HDB-SA-PDA obtained a 8.98% cheaper solution than GA with FSS. When compared with GA-DSSR, modified Rao-II obtained a solution with only 0.438% higher cost. However, it cannot be overlooked that only five trial runs are performed in the present work, and hence, there might be a possibility to obtain a cheaper solution than reported here if a greater number of trial runs are performed. The NFEs required by modified Rao-II are on the higher side when compared with GA. Figure 3(b) shows the convergence curve obtained for the Ramnagar network.
Comparison of results for the Ramnagar network
Author . | Algorithm . | Search space . | Penalty description . | No. of trials . | Minimum NFE . | Optimal cost (Rs. 107) . | Residual heads at nodes in EPANET 2.0 . | Computational time (seconds per run) . | |
---|---|---|---|---|---|---|---|---|---|
Max . | Min . | ||||||||
Gangwani et al. (2024) | GA | FSS | HFDB-SA-PDA | 10 | 881,600 | 3.783 | 18.72 | 8.03 | 6,378 |
DSSR | HFDB-SA-PDA | 10 | 382,500 | 3.428 | 15.92 | 8.07 | 2,240 | ||
Present work | Modified Rao-II | FSS | HDB-SA-DDA | 5 | 1,615,000 | 3.424 | 8.01 | 15.78 | 12,856 |
FSS | HDB-SA-PDA | 5 | 1,499,500 | 3.443 | 8.00 | 14.78 | 12,792 | ||
FSS | HFDB-SA-PDA | 5 | 1,591,500 | 3.417 | 8.01 | 16.66 | 13,392 |
Author . | Algorithm . | Search space . | Penalty description . | No. of trials . | Minimum NFE . | Optimal cost (Rs. 107) . | Residual heads at nodes in EPANET 2.0 . | Computational time (seconds per run) . | |
---|---|---|---|---|---|---|---|---|---|
Max . | Min . | ||||||||
Gangwani et al. (2024) | GA | FSS | HFDB-SA-PDA | 10 | 881,600 | 3.783 | 18.72 | 8.03 | 6,378 |
DSSR | HFDB-SA-PDA | 10 | 382,500 | 3.428 | 15.92 | 8.07 | 2,240 | ||
Present work | Modified Rao-II | FSS | HDB-SA-DDA | 5 | 1,615,000 | 3.424 | 8.01 | 15.78 | 12,856 |
FSS | HDB-SA-PDA | 5 | 1,499,500 | 3.443 | 8.00 | 14.78 | 12,792 | ||
FSS | HFDB-SA-PDA | 5 | 1,591,500 | 3.417 | 8.01 | 16.66 | 13,392 |
Thus, it can be stated that penalty approaches play an important factor in determining the efficiency of an EA in terms of both network cost and computational time. The network cost could be further reduced by increasing the number of iterations or trials, subsequently increasing the computational time. However, for a large-size network, incorporating search-space reduction methodology could be more beneficial to obtain the optimal solution with reasonable computational efforts.
CONCLUSIONS
The self-adaptive penalty approaches as suggested by many researchers for constraint handling do not require fine-tuning of penalty coefficients. Three different self-adaptive penalty approaches used earlier by researchers are proposed herein to improve the performance of the parameter-less Rao-II algorithm. The Rao-II algorithm is improved herein to avoid convergence to the infeasible solutions. The modified Rao-II algorithm prioritizes the feasible solutions over infeasible solutions during both the evolution and the selection process. The modified Rao-II algorithm was then tested on a real-life network consisting of 375 pipes. For this network, the modified Rao-II algorithm was observed to be a better performer when compared with GA. Further, when the number of trials is increased to 100 for the Kadu network, the Rao-II algorithm obtained the minimum cost solution of Rs. 124,963,610, which does not feature in the literature so far. The modified Rao-II algorithm also converges to a lesser optimal cost than given in the literature. This highlights the potential that the modified Rao-II algorithm holds in obtaining the optimal solution. The modified Rao-II algorithm can be further improved by amalgamating it with search-space reduction techniques.
DATA AVAILABILITY STATEMENT
All relevant data are included in the paper or its Supplementary Information.
CONFLICT OF INTEREST
The authors declare there is no conflict.