The present study establishes an optimization procedure in several sample networks with the objective of reducing the cost and eliminating the pressure deficit throughout the entire network. The optimization mechanism is implemented by coding the novel self-adaptive F-NSGA-III algorithm with a fuzzy structure in the MATLAB environment and integrating it with the EPANET framework. Initial definition of the cost function is based on the correlation between the cost, diameter, and length of the pipes. Subsequently, the program is ran through 10,000 and 20,000 iterations. In order to enhance the rate of convergence, the cost resulting from the breach of the permissible pressure range (minimum: 30 m and maximum: 60 m) is included into this function. Subsequently, the program is executed once more to get the optimal solution. The results indicate that the F-NSGA-III algorithm, has superior speed in identifying optimal solutions as compared to NSGA-II. In this method, the utilization of fuzzy structure and the consideration of the cost of violating the permissible pressure in each iteration result in the fastest attainment of the optimal response, as previously achieved by other researchers, for sample networks. Therefore, this structure yields more optimal solutions with fewer iterations and substantially reduces the time required to achieve convergence.

  • The performance of F-NSGA-III and F-NSGA-II was compared for the optimal design of urban water network.

  • The convergence speed of the algorithm was significantly increased based on the new formulation of the objective functions.

The urban water distribution networks are essential infrastructures in industrial and urban operations, fulfilling crucial functions and incurring significant expenses (Mu et al. 2021). An essential requirement for a contemporary urban water supply network is to meet the qualitative and quantitative requirements of water in accordance with the current standards (Brentan et al. 2021). Sufficient and healthy water supply required by the urban population is one of the important aspects in urban water distribution networks (Surendra et al. 2021).

An urban water supply network must be able to meet the expectations and water demands of consumers in terms of quality (physical, chemical, and bacteriological properties of water (Nouiri 2017) and quantity (flow and water pressure) based on existing standards (Ahmadianfar et al. 2017; Dai 2021).

The common method of designing water distribution networks is that designers choose different options and simulate them. The designers select many alternatives and proceed to simulate them. Given the intricate interconnections among several elements, it is challenging to ascertain the modifications that result in the enhancement of the network architecture, especially in networks of limited size. Furthermore, employing this approach does not provide certainty regarding the optimality of the obtained answer.

While artificial intelligence-based approaches are extensively used in the water resources sector (Nourmohammadi Dehbalaei et al. 2023; Soltani & Azari 2024), their use in the optimal design of water distribution networks is limited.

Consequently, numerous endeavors have been undertaken to address the optimization issue of water distribution networks, resulting in the extensive adoption of contemporary optimization techniques. Given the substantial financial investment involved in establishing the water supply network, it is crucial to prioritize the design of networks that are both cost-effective and highly dependable (Berardi et al. 2022; Zarei et al. 2022; Sirsant et al. 2023). The EPANET simulator model and the NSGA-II optimization algorithm were employed by Atiquzzaman et al. (2006) to optimize water distribution networks. Their findings revealed that the effective design cost is influenced by the budget amount and the anticipated supply pressure in the nodes.

Zheng et al. (2015) investigated the enhancement of efficiency in evolutionary multi-objective algorithms by partitioning a water distribution network into several sub-networks using decomposition techniques. The application of this approach in two water distribution networks shown that the suggested method exceeds the performance of traditional comprehensive search methods (network optimization without deconstruction).

An investigation conducted by Mora-Melia et al. (2017) examined the impact of population size on the effectiveness of evolutionary algorithms in the design of water networks. Their discovery revealed that the extraction of the optimal configuration, which is determined by the quality of the solutions and the convergence speed of the algorithm, is contingent upon the size of the population.

A novel meta-exploratory method for the optimal design of water distribution networks was investigated by Moosavian & Kasaee Roodsari (2014) in the context of football league competition. The application of this algorithm in three benchmark pipe networks demonstrated its convergence to the global optimum with enhanced dependability and accelerated speed in comparison to alternative meta-exploration approaches.

In their study, Khedr et al. (2015) examined the process of recalibration in the water distribution system by employing a three-objective optimization technique with the PA-DDS algorithm. The results demonstrated the robust performance of the algorithm during the calibration of the system.

To enhance the design of water distribution systems, Bi et al. (2015) introduced a novel exploratory technique known as the pre-screened exploratory sampling method (PHSM). The results demonstrated that the PHSM has superior computational efficiency and the capacity to identify nearly ideal solutions. Furthermore, its efficiency proves to be positively correlated with the enlargement of the network size.

In their study, Marques et al. (2015) employed a multi-objective simulated annealing technique integrated with the hydraulic simulator to improve the water distribution system. Their approach involved altering the hydraulic restrictions. This approach is capable of addressing environmental impacts and future uncertainties by taking into account competing objectives.

The genetic algorithm (GA) was employed by Do et al. (2017) to investigate the assessment of demand in water distribution systems. Notably, this approach does not necessitate the same number of known inputs as the number of variables. Furthermore, the nodes within the model can exhibit distinct demand patterns.

The present work utilized the NSGA-III method, which was adapted from the NSGA-II algorithm by Deb et al. (2002), Jalili et al. (2023), shabanlou (2018) and Jalilian et al. (2022), with a more recent structure (Deb & Jain 2014).

Researchers have shown interest in the NSGA-III algorithm because to its enhanced implementation of the initial population generation and parent chromosome selection procedure, as compared to NSGA-II (Swathi et al. 2019).

A study conducted by Chaudhari et al. (2022) demonstrated that the NSGA-III algorithm offers a broader spectrum of optimal operating conditions compared to NSGA-II.

Jafari et al. (2022) introduced a novel goal function targeting the minimization of pollution impact based on its significance. They employed a robust methodology to address a five-objective problem by utilizing the NSGA-III algorithm.

An analysis of prior research indicates that the majority of studies have focused on using multi-objective algorithms using a two-dimensional response space to optimize urban water distribution systems. The present study aims to design a novel self-adaptive multi-objective algorithm including a fuzzy structure. The performance of this algorithm will be evaluated in comparison to the existing work of other scholars. Thorough investigations have not been carried out to compare these algorithms in terms of the quality and diversity of optimal solutions in the final iteration, as well as their rate of convergence. The innovation of this research is the implementation of the new F-NSGA-III algorithm with a more recent structure and its comparison with the NSGA-II algorithm in optimizing urban water distribution networks. The F-NSGA-III algorithm employs a novel framework for evaluating optimal solutions. Through modifications in the generation of the initial population and the selection process of parent chromosomes, it is anticipated that the F-NSGA-III algorithm will exhibit superior convergence speed compared to the F-NSGA-II algorithm in the context of intricate water distribution networks. The current study has meticulously examined and explored this matter. Another novel aspect of this study is the incorporation of fuzzy definitions for the objective functions and research constraints within the F-NSGA-III algorithms. This is particularly significant because the objective functions differ, with one being the pressure in meters and the other being the cost in dollars. Yet another novel aspect of this study is the alteration of the structure of the objective functions. The analyses of the examined publications reveal that the cost function equation remains constant and unchanged in each repetition. It is solely dependent on the length and diameter of the chosen pipes. The cost goal function in this study is modeled as a variable by incorporating the penalty resulting from surpassing the permissible pressure limits in the nodes. This novel function employs random numbers to adjust the penalty amount based on the degree of pressure limit violations. By incorporating randomization or staircase mode for the penalty amount, the convergence speed in the problem will be explored and compared to the normal mode. Consequently, this study has provided useful recommendations for the adaptation of the proposed algorithm to other networks by employing various approaches, comparing and adjusting the structure of the objective functions.

In this study, water supply networks' hydraulic analyses are conducted using the EPANET software. This software analyzes the network using gradient method and demand-based analysis method. The F-NSGA-III and F-NSGA-II meta-exploratory algorithms are coded in the MATLAB software environment, and then the system is optimized by connecting it to the EPANET software body using the relevant computing tools. Using well-known cases that have been examined by many algorithms in previous studies, the efficacy of multi-objective meta-exploratory algorithms in tackling the problem of cost optimization and pressure shortfall of water supply networks is demonstrated. In this sense, the effectiveness of the F-NSGA-III and F-NSGA-II algorithms is assessed using two exemplary networks that have been the subject of several studies. Alperovits & Shamir (1977) introduced the two-loop network (TLN), which is the first network to be evaluated. Eight pipes, seven nodes, and a source with two rings make up this network. All pipes have a length of 1,000 m, and 130 is the expected Hazen–Williams hardness coefficient. It is believed that the water in the source is 210 m high. The numbers in brackets for each node represent the node's height (m) and the demand quantity (l/s), respectively, and the numbers for each pipe represent the pipe's number and diameter (mm), respectively (Figure 1(a)). Another example of a network is the one that Lansey and colleagues (2001) used. There are 11 nodes, 16 pipes, and a tank in this network. The information about the network pipes is provided in Table 1 and Figure 1(b). The values in brackets for each node represent the height of the node in meters and the amount of demand in liters per second.
Table 1

Information about Lansey network pipes (Lansey et al. 2001)

Pipe numberDiameter (mm)Length (m)Roughness
609.6 3,048 110 
457.2 1,524 110 
406.4 1,524 100 
355.6 1,676.4 100 
304.8 1,066.8 120 
355.6 1,676.4 120 
304.8 1,371.6 90 
152.4 762 90 
304.8 1,066.8 90 
10 406.4 670.6 90 
11 457.2 1,981.2 110 
12 355.6 1,524 100 
13 304.8 1,676.4 120 
14 355.6 914.4 100 
15 304.8 1,219.2 100 
16 406.4 1,219.2 90 
Pipe numberDiameter (mm)Length (m)Roughness
609.6 3,048 110 
457.2 1,524 110 
406.4 1,524 100 
355.6 1,676.4 100 
304.8 1,066.8 120 
355.6 1,676.4 120 
304.8 1,371.6 90 
152.4 762 90 
304.8 1,066.8 90 
10 406.4 670.6 90 
11 457.2 1,981.2 110 
12 355.6 1,524 100 
13 304.8 1,676.4 120 
14 355.6 914.4 100 
15 304.8 1,219.2 100 
16 406.4 1,219.2 90 
Figure 1

Water distribution networks: (a) two-looped network (TLN) and (b) Lansey network.

Figure 1

Water distribution networks: (a) two-looped network (TLN) and (b) Lansey network.

Close modal

Optimizing the water supply network

NSGA-III algorithm

Deb & Jain (2014) created the NSGA-III algorithm, which modifies a few selection methods, as an alternative to the NSGA-II algorithm. NSGA-III and NSGA-II have a similar basic framework, albeit with notable modifications to the selection method. The distinctions between the two are as follows: (1) Optimization issues with two objective functions are handled by the NSGA-II algorithm; however, the NSGA-III algorithm can handle problems with three to fifteen objective functions. (2) The NSGA-III algorithm allows the decision space to be expanded and displays the decision space with three objective functions – F1, F2, and F3 — in three dimensions as opposed to the NSGA-II algorithm's two-dimensional decision space with only two objective functions – F1 and F2 — in front of each other. (3) The crowding distance approach is used in the NSGA-II algorithm to rank the best response, whereas the Niche method is used in the NSGA-III algorithm. (4) The starting population is created using selection operators in the NSGA-II algorithm, however in the NSGA-III method, no selection operators are utilized and the offspring are formed randomly. (5) The initial population in the NSGA-III algorithm need only be a multiple of 4, and it is not required to be greater than the decision variable. This is regarded as an advantage since it shortens the problem's run time. In contrast, the NSGA-II algorithm has a selection structure and requires the initial population to be at least twice the decision variable. Below is a quick explanation of NSGA-III's primary methodology. The first step in NSGA-III is to define a collection of reference points. Next, N is the population size, since an initial population of N members is formed at random. Until the termination requirement is satisfied, the following stages are repeated. Although it has been demonstrated that the NSGA-III algorithm performs effectively in three-objective optimization problems, its main application is in the solution of many optimization problems with more than three objectives. While NSGA-II stresses somewhat varied solution techniques per year and does not use any specific and predetermined guidelines, the NSGA-III algorithm uses predefined guidelines to pick diverse solutions within the population. Thus, for solving two-objective optimization problems, NSGA-III may outperform other comparable algorithms or even the NSGA-II method if the first factor is considered and additional selection pressure is applied. In NSGA-III, the parameters, namely maximum number of iterations, number of population, percent of crossover and percent of mutation are adjustable parameters. These parameters have a significant effect on the performance of the algorithm and by trial and error, the most appropriate value for these parameters was determined.

Objective functions and constraints

The optimization problem in this research is defined in the form of a multi-objective function so that the first objective is to minimize the cost of the system design versus the second objective, i.e. minimize the total pressure lack in the entire system.

First objective: minimizing the entire system design cost

The cost function is created in two ways to verify the effectiveness of each meta-exploratory method used to find optimal solutions. The function is defined using Equation (1) in the first method, which only takes into account the cost–diameter–length relationship for the pipes. In the second method, however, Equation (3) also includes the penalty for exceeding the allowable pressure range.
(1)
Here, represents the cost of each length unit of the pipe i with the diameter of Di, Li denotes the length of the pipe i and NL is the number of pipes in the network. The relationship between the diameter of the pipes is in millimeters and the cost per unit of the pipe length is considered according to Table 2 (Atiquzzaman et al. 2006).
Table 2

Size and cost of pipes (Atiquzzaman et al. 2006)

NumberDiameter (mm)Cost ($/m)NumberDiameter (mm)Cost ($/m)
25.4 304.8 50 
50.8 355.6 60 
76.2 10 406.4 90 
101.6 11 11 457.2 130 
152.4 16 12 508 170 
203.2 23 13 558.8 300 
254 32 14 609.6 550 
NumberDiameter (mm)Cost ($/m)NumberDiameter (mm)Cost ($/m)
25.4 304.8 50 
50.8 355.6 60 
76.2 10 406.4 90 
101.6 11 11 457.2 130 
152.4 16 12 508 170 
203.2 23 13 558.8 300 
254 32 14 609.6 550 
Considering the mathematical relationship between the diameter and cost of each length unit of the pipe, the first objective function in the first method becomes Equation (2).
(2)
In the second method, considering the penalty caused by violation of the allowable pressure range, the objective function of minimizing the cost of the optimization algorithms is written in the form of Equation (3):
(3)
Here, r is the penalty for violating the permissible pressure range, which is a random number between zero and one hundred. Cp is the cost of exceeding the maximum allowable pressure, Cm is the cost of falling below the minimum allowable pressure.
(4)
(5)
and are considered to zero. According to the formulas 4 and 5, for the situation where the pressure in the node is equal to the minimum or maximum pressure, the cost of exceeding the maximum permissible pressure and the cost of falling below the minimum permissible pressure become zero. Pmax and Pmin, respectively, are taken into account to be 60 and 30 m. The minimum pressure is calculated at the highest point of withdrawal due to the network pressure drop and changes in water level in the reservoirs, which in this research was considered 30 m based on previous research and studies. The maximum pressure is determined according to the type and material of pipes and fittings. Excessive pressure in the network will also increase losses and water consumption. A maximum pressure of up to 60 m of water is permitted in research. Moreover, P denotes the pressure in the node.

Second objective: minimizing the total pressue in the entire system

To this end, Equation (6) is utilized.
(6)
is the minimum pressure required in the node j, p denotes the computational pressure in the node j and NP is the number of nodes.

The constraints of the optimization of water distribution networks incude two categories. The first category, which are in the form of equality, are the continuity equation and the energy conservation equation, which are implemented automatically in the EPANET software, and there is no need to define them as constraints in the evaluator function. The second category are inequalities including shape, diameter and velocity in pipes.

Velocity constraint: the velocity relationship should be established in network pipes as follows (Montesinos et al. 1999):
(7)
Here, , and are the velocity, the minimum velocity and the maximum velicity in the pipe i, respectively.
Diameter constraint: the diameter of each pipe should belong to the commercial diameters set available in the market (Sedki & ouazar 2012).
(8)
where is the diameter of the pipe i and D denotes the available commercial diameters set.
Continuity equation: the sum of the inflow to the node should be equal to the sum of the outflow from the node (Sedki & Ouazar 2012).
(9)
where is the inflow to the node, is the outflow from the node and represent the demand in the node.
Energy conservation equation: the total head loss inside each node must be equal to zero (Sedki & Ouazar 2012).
(10)
represents the head loss in the pipe i.

Fuzzy approach

In the present research, the reservoir operation model is extended by addressing the uncertainty in the various model parameters. These parameters are the releases for the demands in downstream of Dez dam, and the storage in the Dez reservoir. Due to these uncertainties in the model parameters, the objectives of the model also become fuzzy. In the proposed model, each objective is represented by fuzzy sets and defined by a linear membership function: . This can be stated as follows:
(11)
where, denotes the kth objective function and is the monotonically increasing function that shows that the degree to which x satisfies the fuzzy value in the inequality. The and values are the lower and upper bounds that represent the subjectively chosen intervals for the objective function for each k (Arikan & Güngör 2007).
The membership function of the fuzzy decision set of the model is defined in the following way:
(12)
where, is the membership function of the decision (solution) set.

From Expression (11), it is understood that larger values reflect higher objectives satisfaction.

Conducting simulation–optimization process

Figure 2 provides an overview of the implementation processes for each of these algorithms in relation to the EPANET hydraulic simulator, so that you can have a better understanding of how to run the program.
Figure 2

Flowchart of the implementation steps of the simulation–optimization model.

Figure 2

Flowchart of the implementation steps of the simulation–optimization model.

Close modal

The outcomes obtained from the optimization of the TLN and Lansey networks with the aim of extracting optimal diameters using the F-NSGA-II and F-NSGA-III algorithms are analyzed in two ways. In the first method, the results of implementing these algorithms are compared by defining the cost function based on the relationship between diameter and cost and with the number of repetitions of 5,000 and 10,000. In the second method, the results obtained from their implementation, taking into account the penalty for exceeding the allowable pressure limits in the cost function, are carried out until the best solution is reached and compared with the results of the previous method. It should be noted that in the second method, the penalty coefficient in the equation of the second objective function is chosen randomly in each iteration of the algorithm.

Results obtained from the simulation of TLN

The results of the implementation of the F-NSGA-II algorithm in the TLN without considering the penalty for exceeding the permissible pressure limits (first method) with the number of iterations of 5,000 and 10,000 are shown in Figure 3. According to this figure, even after running the algorithm with a large number of iterations (5,000 and 10,000), the cost of running the network is still high, which is due to the cost objective function equation. Therefore, this equation needs to be modified. The results of the implementation of the F-NSGA-II and F-NSGA-III algorithms, taking into account the penalty for exceeding the permissible pressure limits in the cost function (second method) after 35 and 20 repetitions, respectively, are presented in the Pareto graphs in Figure 4. This figure shows that after modifying the cost objective function, the speed of convergence increases greatly, and both F-NSGA-II and F-NSGA-III algorithms are able to solve the problem in a low number of iterations and obtain the optimal solution. Based on this figure, the F-NSGA-III algorithm obtains the optimal solution with fewer iterations and in less time.
Figure 3

Pareto graph of F-NSGA-II in the first and second method – TLN.

Figure 3

Pareto graph of F-NSGA-II in the first and second method – TLN.

Close modal
Figure 4

Pareto graph of F-NSGA-II and F-NSGA-III after 35 and 20 iterations (second method) – TLN.

Figure 4

Pareto graph of F-NSGA-II and F-NSGA-III after 35 and 20 iterations (second method) – TLN.

Close modal

Based on Table 3, the chosen solutions resulting from the implementation of the F-NSGA-II algorithm in the first method with 5,000, 10,000, and 20,000 iterations have zero pressure deficiency, but the cost of implementing the network in this method is high and the algorithm has not yet been able to get the best cost. In the second method, the F-NSGA-II and F-NSGA-III algorithms have reached zero pressure deficiency and the desired cost of $419,000 after 35 and 20 iterations, respectively. In this method, the pressure in the nodes and the speed in the pipes are determined within the permissible limits in the entire network. Based on this table, the F-NSGA-III algorithm is able to achieve the optimal solution in a lower number of iterations and a shorter duration and reduces about 34% of the time to solve the TLN problem. The selected solutions resulting from the implementation of the F-NSGA-II algorithm in both the first and second methods have zero pressure deficiency. But in the first method, in the optimal solution proposed by F-NSGA-II, even after 10,000 iterations, the velocity in pipe number 8 is lower than the minimum allowed velocity.

Table 3

Selected optimal solutions of F-NSGA-II and F-NSGA-III in the TLN

MethodAlgorithmIterationCost ($)pressure deficit (m)Running time (min)
(1) F-NSGA-II 5,000 494,274.2 15.7 
10,000 477,136.7 31.8 
(2) F-NSGA-II 35 419,000 0.85 
F-NSGA-III 20 419,000 0.56 
MethodAlgorithmIterationCost ($)pressure deficit (m)Running time (min)
(1) F-NSGA-II 5,000 494,274.2 15.7 
10,000 477,136.7 31.8 
(2) F-NSGA-II 35 419,000 0.85 
F-NSGA-III 20 419,000 0.56 

In general, the results show that the execution cost in the second method is lower than the first method. The time to reach convergence in the second method is much less than the first method. Thus, in order to optimize the TLN, taking into account the cost of surpassing the allowable pressure limits in the cost function of the F-NSGA-II and F-NSGA-III algorithms yields better results than running the algorithm without taking into account the cost of exceeding the allowable pressure limit.

Several researchers have optimized this network using various algorithms, including GA, Scattered Search Algorithm (SS), Shuffled Frog Leaping Algorithm (SFLA), Particle Swarm Optimization-Differential Evolution Algorithm (PSO-DE), Honey-Bees Mating Optimization Algorithm (HBMO), and Multi-Objective Particle Swarm Optimization Algorithm (MOPSO). This research achieves a minimum cost of 419,000 dollars, and it also considers a minimum pressure of 30 m, which is also achieved in the current research. However, this research goes beyond the cost objective function by taking into account the cost of exceeding the permissible range of pressure and the lack of pressure. As a result, more optimal solutions are obtained, and the speed of convergence significantly increases. The best solution is obtained with the fewest number of iterations, demonstrating the superiority of this method when compared to other studies. The comparison between the findings of this study and those of other researchers is displayed in Table 4.

Table 4

Results obtained by different methods for the TLN

Algorithm($/m) costLack of (m) pressurenumber of iterations
GA (Savic & Walters (1997)419,000 250,000 
SA (Cunha & Sousa (1999)419,000 25,000 
SFLA (Eusuff & Lansey (2003)419,000 11,323 
SS (Lin et al. (2007)419,000 3,215 
HBMO (Ghajarnia et al. (2010)419,000 735 
PSO-DE (Sedki & Ouazar (2012)419,000 3,080 
MOPSO (Zarei et al. (2022)419,000 30 
F-NSGA-III (This work) 419,000 20 
Algorithm($/m) costLack of (m) pressurenumber of iterations
GA (Savic & Walters (1997)419,000 250,000 
SA (Cunha & Sousa (1999)419,000 25,000 
SFLA (Eusuff & Lansey (2003)419,000 11,323 
SS (Lin et al. (2007)419,000 3,215 
HBMO (Ghajarnia et al. (2010)419,000 735 
PSO-DE (Sedki & Ouazar (2012)419,000 3,080 
MOPSO (Zarei et al. (2022)419,000 30 
F-NSGA-III (This work) 419,000 20 

Results obtained from lLansey network optimization

The results of the F-NSGA-II algorithm implementation in the Lansey network without considering the penalty for exceeding the permissible pressure limits (first method) with the number of repetitions of 5,000 and 10,000 are shown in Figure 5. This figure shows that after running the algorithm with a large number of iterations (5,000 and 10,000), the cost of running the network is reduced respectively, but it is still not optimal and the algorithm has not converged. After modifying the cost objective function equation in the second method, the F-NSGA-II and F-NSGA-III algorithms are re-executed considering the penalty for exceeding the allowable pressure limits in the cost function. In the last implementation of these algorithms, after 130 and 100 iterations, respectively, the Pareto graph including the optimal solutions is presented in Figure 6. This figure shows that after modifying the cost objective function, the convergence speed increases greatly and both F-NSGA-II and F-NSGA-III algorithms are able to provide the best solution for the optimal design of the Lansey network in a low number of iterations. Based on this figure, in this network, the F-NSGA-III algorithm obtains the optimal solution with less number of iterations and in less time.
Figure 5

Pareto graph of F-NSGA-II in the first and second methods – Lansey network.

Figure 5

Pareto graph of F-NSGA-II in the first and second methods – Lansey network.

Close modal
Figure 6

Pareto graph of F-NSGA-II and F-NSGA-III after 130 and 100 iterations (second method) – Lansey network.

Figure 6

Pareto graph of F-NSGA-II and F-NSGA-III after 130 and 100 iterations (second method) – Lansey network.

Close modal

According to Table 5, based on the selected answer of the implementation of the F-NSGA-II algorithm in the first method, there is zero pressure deficiency in both 5,000 and 10,000 repetitions. In 5,000 repetitions, the speed at node number 5 is lower than the minimum allowed. At iteration 10,000, the speed at node number 2 is greater than the maximum allowed, which is neither desirable. In the second technique, the pressure deficiency in the network is zero and the speed in all of the network pipes is within the allowed range following the application of the F-NSGA-II and F-NSGA-III algorithms, after 130 and 100 repetitions, respectively. The second technique takes a lot less time to attain convergence than the first method, and it costs less to execute the optimal solution found in the last iteration of the second method. Consequently, when running the F-NSGA-II and F-NSGA-III algorithms to optimize the Lansey network, taking into account the cost of surpassing the permitted pressure limits in the cost function yields more appropriate optimal solutions than when the algorithm is run without taking this into account. Table 5 demonstrates that the F-NSGA-III method reduces the issue solving time by approximately 25% in the Lansey network by reaching the optimal solution faster and with fewer iterations than the F-NSGA-II approach.

Table 5

Selected optimal solutions of F-NSGA-II and F-NSGA-III in the Lansey network

MethodAlgorithmIterationCost ($)Pressure deficit (m)Running time (min)
(1) F-NSGA-II 5,000 1,366,598 31.8 
10,000 1,289,676 64.3 
(2) F-NSGA-II 130 1,137,942 4.7 
F-NSGA-III 100 1,137,942 3.5 
MethodAlgorithmIterationCost ($)Pressure deficit (m)Running time (min)
(1) F-NSGA-II 5,000 1,366,598 31.8 
10,000 1,289,676 64.3 
(2) F-NSGA-II 130 1,137,942 4.7 
F-NSGA-III 100 1,137,942 3.5 

With the diameter of the pipes taken into consideration, the Lansey sample network developed by Lansey et al. (2001) had a cost equal to $3,119,022. After optimization by the F-NSGA-II and F-NSGA-III algorithms, a cost equal to $1,137,942 was obtained, with no shortage of pressure in the network and a high convergence speed. This was achieved using a GA to select the network. Many studies utilizing various methods have also been conducted to construct the Lansey network optimally. The comparison between the findings of this study and those of other researchers is displayed in Table 6. The analysis yielded a minimal cost ranging from $3,119,022 to $1,137,942. All studies have found that there is no pressure in the Lansey network when the minimum pressure is 30 m, and this finding is also confirmed by the current investigation. According to what was said in the current study, the optimal solution is obtained with a significantly lower number of iterations and a faster rate of convergence, demonstrating the superiority of the approach used in this study when compared to other experiments. This is because, in addition to the cost objective function, the absence of pressure is also taken into consideration, as is the cost of exceeding the allowable pressure range.

Table 6

The results of different methods for the optimal design of the Lansey network

AlgorithmPressure deficit (m)Cost ($)Iteration
FOSM (Lansey et al. (2001)3,119,022 – 
PESA-II (Zarei et al. (2022)1,289,676 200 
SPEA-II (Zarei et al. (2022)1,366,598 200 
MOPSO (Zarei et al. (2022)1,137,942 250 
NSGA-II (Zarei et al. (2022)1,137,942 150 
F-NSGA-II (This work) 1,137,942 130 
F-NSGA-III (This work) 1,137,942 100 
AlgorithmPressure deficit (m)Cost ($)Iteration
FOSM (Lansey et al. (2001)3,119,022 – 
PESA-II (Zarei et al. (2022)1,289,676 200 
SPEA-II (Zarei et al. (2022)1,366,598 200 
MOPSO (Zarei et al. (2022)1,137,942 250 
NSGA-II (Zarei et al. (2022)1,137,942 150 
F-NSGA-II (This work) 1,137,942 130 
F-NSGA-III (This work) 1,137,942 100 

In this study, urban water distribution networks were optimized through the application of the F-NSGA-III and F-NSGA-II multi-objective algorithms. Two sample networks, TLN and Lansey, were implemented for optimal design using these algorithms twice: once, without taking into account the cost of exceeding the minimum and maximum standard pressure threshold with two repetitions of 5,000 and 10,000 (the first method), and once more taking into consideration the cost of exceeding the minimum and maximum standard pressure values in the cost function (the second method). The best solution generated and the time it took for both sample networks to converge were used to assess their performance. Overall, the findings demonstrated that these algorithms had a high degree of ability to identify optimal solutions. By determining the appropriate pipe diameter, they were able to optimize the network in terms of both cost and pressure. In the event of their execution, optimal solutions were reached in both algorithms at a low number of iterations, which considerably shortened the time to attain convergence, taking into consideration the cost of exceeding the minimum and maximum standard pressure thresholds in the cost function. Also, this increased the number of optimal solutions in the last iteration. If the program is implemented considering the cost of exceeding the allowed pressure range (second method) in the TLN and Lansey networks, in terms of producing the best solution, both algorithms showed good performance and the solution with zero pressure deficiency and the lowest cost obtained in other researches were achieved, and in terms of the time to reach convergence, both algorithms reached the optimal solution and a high convergence speed with a much lower number of iterations than other studies. The results showed that the F-NSGA-III algorithm is able to achieve the optimal solution in a lower number of iterations and a shorter duration than the F-NSGA-II algorithm and in the TLN and Lansey networks it reduces the solution time in about 34 and 25%, respectively. The results showed that both F-NSGA-II and F-NSGA-III algorithms have been successful in finding solutions with zero pressure deficiency in the network and the lowest cost by considering the cost of exceeding the allowed pressure limits in the cost function. But the performance of the F-NSGA-III algorithm is better in terms of problem solving time. This is especially important in large and complex networks, because in such networks, the use of the F-NSGA-III algorithm developed in this research will save significant time and money. The fuzzy structure considered in this algorithm has made the convergence time in the F-NSGA-II and F-NSGA-III algorithms significantly shorter than the NSGA-II algorithm that was previously used in the research conducted by Zarei et al. (2022). The method used in this research can be implemented to design or update real urban networks, which has limitations. Due to the complexity of these networks and the increase in the number of pipes, the execution time of the algorithm may be long. It is suggested to use multi-objective optimization algorithms with parallel structure developed for using multi-core computer systems in these networks to reduce the problem solving time.

Data cannot be made publicly available; readers should contact the corresponding author for details.

The authors declare there is no conflict.

Alperovits
E.
&
Shamir
U.
(
1977
)
Design of optimal water distribution systems
,
Water Resources Reearch
,
13
(
6
),
885
900
.
Arıkan
F.
&
Güngör
Z.
(
2007
)
A two-phase approach for multi-objective programming problems with fuzzy coefficients
,
Information Sciences
,
177
(
23
),
5191
5202
.
https://doi.org/10.1016/j.ins.2007.06.023
.
Atiquzzaman
M.
,
Liong
S.-Y.
&
Xinying
Y.
(
2006
)
Alternative decision making in water distribution network with NSGA-II
,
Water Resources Planning and Management
,
132
(
2
),
122
126
.
Berardi
L.
,
Laucelli
D.
,
Ciliberti
F.
,
Bruaset
S.
,
Raspati
G.
,
Selseth
I.
,
Ugarelli
R.
&
Giustolisi
O.
(
2022
)
Reliability analysis of complex water distribution systems: the role of the network connectivity and tanks
,
Journal of Hydroinformatics
,
24
(
1
),
128
142
.
https://doi.org/10.2166/hydro.2021.140
.
Bi
W.
,
Dandy
G. C.
&
Maier
H. R.
(
2015
)
Improved genetic algorithm optimization of water distribution system design by incorporating domain knowledge
,
Environmental Modelling & Software
,
69
,
370
381
.
Brentan
B.
,
Carpitella
S.
,
Barros
D.
,
Meirelles
G.
,
Certa
A.
&
Izquierdo
J.
(
2021
)
Water quality sensor placement: a multi-objective and multi-criteria approach
,
Water Resources Management
,
35
(
1
),
225
241
.
https://doi.org/10.1007/s11269-020-02720-3
.
Chaudhari
P.
,
Thakur
A. K.
,
Kumar
R.
,
Banerjee
N.
&
Kumar
A.
(
2022
)
Comparison of NSGA-III with NSGA-II for multi objective optimization of adiabatic styrene reactor
,
Materials Today: Proceedings
,
57
(
4
),
1509
1514
.
https://doi.org/10.1016/j.matpr.2021.12.047
.
Cunha
M. D. C.
&
Sousa
J.
(
1999
)
Water distribution network design optimization: simulated anneling approach
,
Water Resour Plann Manage
,
125
(
4
),
215
221
.
Dai
P. D.
(
2021
)
A new mathematical program with complementarity constraints for optimal localization of pressure reducing valves in water distribution systems
,
Applied Water Science
,
11
(
152
),
1
16
.
Deb
K.
&
Jain
H.
(
2014
)
An evolutionary many-Objective optimization algorithm using reference-Point-Based nondominated sorting approach, part I: solving problems with Box constraints
,
IEEE Transactions on Evolutionary Computation
,
18
(
4
),
577
601
.
https://doi.org/10.1109/TEVC.2013.2281535
.
Deb
K.
,
Pratap
A.
,
Agarwal
S.
&
Meyarivan
T.
(
2002
)
A fast and elitist multiobjective genetic algorithm: nsga-II
,
IEEE Transactions on Evolutionary Computation
,
6
(
2
),
182
197
.
https://doi.org/10.1109/4235.996017
.
Do
N.
,
Simpson
A.
,
Deuerlein
J.
&
Piller
O.
(
2017
)
Demand estimation in water distribution systems: solving underdetermined problems using genetic algorithms
,
Procedia Engineering
,
186
,
193
201
.
Eusuff
M. M.
&
Lansey
K. E.
(
2003
)
Optimization of water distribution network design using the shuffled frog leaping algorithm
,
Water Resour Plann Manage
,
129
(
3
),
210
225
.
Ghajarnia
N.
,
Bozorg
H. O.
&
Marino
M. A.
(
2010
)
Performance of a novel hybrid algorithm in the design of water networks
,
Water Management
,
164
(
4
),
173
191
.
Jalili
A. A.
,
Najarchi
M.
,
Shabanlou
S.
&
Jafarinia
R.
(
2023
)
Multi-objective optimization of water resources in real time based on integration of NSGA-II and support vector machines
,
Environmental Science and Pollution Research
,
30
,
16464
16475
.
https://doi.org/10.1007/s11356-022-22723-4
.
Jalilian
A.
,
Heydari
M.
,
Azari
A.
&
Shabanlou
S.
(
2022
)
Extracting optimal rule curve of Dam reservoir base on stochastic inflow
,
Water Resources Management
,
36
,
1763
1782
.
https://doi.org/10.1007/s11269-022-03087-3
.
Khedr
A.
,
Tolson
B.
&
Ziemann
S.
(
2015
)
Water distribution system calibration: manual versus optimization-based approach
,
Procedia Engineering
,
119
,
725
733
.
Lansey
K. E.
,
EL-Shorbagy
W.
,
Ahmed
I.
,
Araujo
J.
&
Haan
C. T.
(
2001
)
Calibration assessment and data collection for water distribution network
,
Journal of Hydraulic Engineering
,
127
(
4
),
270
279
.
Lin
M.-D.
,
Liu
Y.-H.
,
Liu
G.-F.
&
Chu
C.-W.
(
2007
)
Scatter search heuristic for least-cost design of water distribution networks
,
Engineering Optimization
,
39
(
7
),
857
876
.
Marques
J.
,
Cunha
M.
&
Savić
D. A.
(
2015
)
Multi-objective optimization of water distribution systems based on a real options approach
,
Environmental Modelling & Software
,
63
(
C
),
1
13
.
Montesinos
P.
,
Garsia-Guzman
A.
&
Ayuso
J. L.
(
1999
)
Water distribution network optimization using a modified genetic algorithm
,
Water Resources Research
,
35
(
11
),
3467
3473
.
Moosavian
N.
&
Kasaee Roodsari
B.
(
2014
)
Soccer league competition algorithm: a novel meta-heuristic algorithm for optimal design of water distribution networks
,
Swarm and Evolutionary Computation
,
17
(
Supplement C
),
14
24
.
Mora-Melià
D.
,
Martínez-Solano
F. J.
,
Iglesias-Rey
P. L.
&
Gutiérrez-Bahamondes
J. H.
(
2017
)
Population size influence on the efficiency of evolutionary algorithms to design water networks
,
Procedia Engineering
,
186
,
341
348
.
Mu
T.
,
Li
Y.
,
Li
Z.
,
Wang
L.
,
Tan
H.
&
Zheng
C.
(
2021
)
Improved network reliability optimization model with head loss for water distribution system
,
Water Resources Management
,
35
(
7
),
2101
2114
.
https://doi.org/10.1007/s11269-021-02811-9
.
Nourmohammadi Dehbalaei
F.
,
Azari
A.
&
Akhtari
A. A.
(
2023
)
Development of a linear–nonlinear hybrid special model to predict monthly runof in a catchment area and evaluate its performance with novel machine learning methods
,
Applied Water Science
,
13
(
5
),
1
23
.
https://doi.org/10.1007/s13201-023-01917-2
.
Savic
D.
&
Walters
G.
(
1997
)
Genetic algorithms for least-cost design of water distribution networks
,
Journal of Water Resources Planning and Management
,
123
(
2
),
67
77
.
Sirsant
S.
,
Hamouda
M. A.
&
Shaaban
M. F.
(
2023
)
Advances in assessing the reliability of water distribution networks: a bibliometric analysis and scoping review
,
Water
,
15
(
5
),
986
.
https://doi.org/10.3390/w15050986
.
Surendra
H. J.
,
Suresh
B. T.
,
Ullas
T. D.
,
Vinayak
T.
&
Hegde
V. P.
(
2021
)
Economic design of alternative system to reduce the water distribution losses for sustainability
,
Applied Water Science
,
11
(
131
),
1
9
.
Swathi
V.
,
Srinivasa Raju
K.
,
Varma
M. R. R.
&
Sai Veena
S.
(
2019
)
Automatic calibration of SWMM using NSGA-III and the effects of delineation scale on an urban catchment
,
Journal of Hydroinformatics
,
21
(
5
),
781
797
.
https://doi.org/10.2166/hydro.2019.033
.
Zarei
N.
,
Azari
A.
&
Heidari
M. M.
(
2022
)
Improvement of the performance of NSGA-II and MOPSO algorithms in multi-objective optimization of urban water distribution networks based on modification of decision space
,
Applied Water Science
,
12
(
133
),
1
12
.
https://doi.org/10.1007/s13201-022-01610-w
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).