Next Article in Journal
Bioaccumulation of Heavy Metals in the Water, Sediment, and Organisms from The Sea Ranching Areas of Haizhou Bay in China
Next Article in Special Issue
Enhancing Dissolved Oxygen Concentrations Prediction in Water Bodies: A Temporal Transformer Approach with Multi-Site Meteorological Data Graph Embedding
Previous Article in Journal
Unlocking the Secrets of River Pollution: Analyzing Organic Pollutants in Sediments—Experimental Study
Previous Article in Special Issue
Deep Learning Approaches for Numerical Modeling and Historical Reconstruction of Water Quality Parameters in Lower Seine
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Risk-Based Design Optimization of Contamination Detection Sensors in Water Distribution Systems: Application of an Improved Whale Optimization Algorithm

by
Sanaz Afzali Ahmadabadi
1,
Jafar Jafari-Asl
2,*,
Elham Banifakhr
3,
Essam H. Houssein
4 and
Mohamed El Amine Ben Seghier
5,*
1
School of Civil Engineering, University College of Engineering, University of Tehran, Tehran 14179-35840, Iran
2
Department of Civil Engineering, Faculty of Engineering, University of Sistan and Baluchestan, Zahedan 98167-45845, Iran
3
Department of Civil Engineering, Eqbal Lahoori Institute of Higher Education, Mashhad 91771-13113, Iran
4
Faculty of Computers and Information, Minia University, Minia 61519, Egypt
5
Institute of Surface Science, Helmholtz-Zentrum Hereon, 21502 Geesthacht, Germany
*
Authors to whom correspondence should be addressed.
Water 2023, 15(12), 2217; https://doi.org/10.3390/w15122217
Submission received: 9 March 2023 / Revised: 3 June 2023 / Accepted: 9 June 2023 / Published: 13 June 2023

Abstract

:
In the present study, the optimal placement contamination warning systems (CWSs) in water distribution systems (WDSs) was investigated. To this end, we developed a novel optimization model called WOA-SCSO, which is based on a hybrid nature-inspired algorithm that combines the whale optimization algorithm (WOA) and sand cat swarm optimization (SCSO). In the proposed hybrid algorithm, the SCSO operators help to find the global optimum solution by preventing the WOA from becoming stuck at a local optimum point. The effectiveness of the WOA-SCSO algorithm was evaluated using the CEC′20 benchmark functions, and the results showed that it outperformed other algorithms, demonstrating its competitiveness. The WOA-SCSO algorithm was finally applied to optimize the locations of CWSs in both a benchmark and a real-world WDS, in order to reduce the risk of contamination. The statistically obtained results of the model implementations on the benchmark WDS showed that the WOA-SCSO had the lowest average and standard deviation of the objective functions in 10 runs, 131,754 m3 and 0, respectively, outperforming the other algorithms. In conclusion, the results of applying the developed optimization model for the optimal placement of CWSs in the Dortmund WDS showed that the worst-case impact risk could be mitigated by 49% with the optimal placement of at least one sensor in the network. These findings suggest that the WOA-SCSO algorithm can serve as an effective optimization tool, particularly for determining the optimal placements of CWSs in WDSs.

1. Introduction

The quality of water, which is the most critical resource for humans, depends wholly on the local environment, how it is used, treated, and recycled according to the needs of people, as well as anthropogenic activities such as industry, household use, agriculture, and mining. The exponential increase in the global population has led to a rapid surge in the demand for clean water, as evidenced by multiple sources [1,2]. As a result, water quality has become a significant environmental concern due to its impact on aquatic life and the overall health of water ecosystems [3,4]. Meanwhile, water distribution systems (WDSs), which are responsible for transferring and distributing water from main sources to consumers with appropriate pressure and quality, are highly susceptible to quality damage as a result of the ease of access to most of their components [5]. Biological attacks are one of the major disruptive threats to WDSs; thus, the inflow of any chemicals accidentally caused by broken pipes or reverse leakage from connections, or intentionally by actions such as terrorist attacks, quickly spreads throughout the network, reducing customer satisfaction and causing damage [6,7].
In order to deal with network contamination, we must first detect the presence of contamination in the network, then try to stop it by finding its source, and finally prepare the contaminated part of the network for reuse by adopting accurate measures. Therefore, it is ideal but impractical to monitor all the points of a network [8]. Thus, optimal placement of contamination warning systems (CWSs) in WDSs is considered an effective approach to reduce the effects of contamination that has infiltrated into WDSs. In fact, contamination detection sensors must be placed in the network in such a way that they cover most points of the network on the one hand, while the impact of contamination on the consumer population and the costs of their exploitation and implementation are minimized on the other hand [9].
The concept of coverage in the placement design of contamination detection sensors was first proposed by [10], and an integer programming model was developed for the optimal placement of sensors. Then, a variety of models were introduced for the optimal placement of sensors in WDSs, considering the maximum coverage of the network [11,12]. Considering the multi-objective nature of the sensor placement problem in WDSs, other objectives have been investigated, such as minimizing the detection time, the volume of contaminated water, and increasing the maximum coverage of the network [13,14,15,16,17]. The optimal placement of CWSs in WDSs is considered to be a type of non-linear and complex optimization problem because of the need to devise contamination scenarios and use hydraulic and quality simulation models in parallel with the optimization models, and also because this process involves non-linear objective functions. Therefore, we need to use effective optimization methods in solving the aforementioned problem. Most of the primary studies conducted in this area have used linear programming (LP), non-linear programming (NLP), and dynamic programming (DP) methods for the optimal placement of sensors in WDSs [10,18,19].
However, the use of meta-heuristic algorithms has become more popular as a result of the increase in computation time and the failure of classical methods to achieve the optimal placement of sensors in large-scale networks. For example, Ref. [20] developed a simulation–optimization model based on the connection of NSGA-II and EPANET for the optimal placement of contamination detection sensors in WDSs by minimizing the contamination detection time and the population affected by it, and maximizing the probability of accurate contamination detection. Using NSGA–II, Ref. [21] optimized the position of CWSs in a benchmark WDS where the minimization of the contamination detection time and the probability of undetected injection events of the network were considered the objective functions of the study. The researchers of [22] developed a multi-objective simulation–optimization model based on ACO and the EPANET model for the optimal placement of CWSs in WDSs, with the aims of minimizing the amount of contaminated water consumed and maximizing the percentage of network coverage by the sensors. Many meta-heuristic algorithms have been developed in recent years to simplify the calculations related to the design and exploitation of complex engineering systems, or were based on combinations of several existing algorithms and improvements to them [23,24,25,26]. A review of the literature revealed that meta-heuristic algorithms have been extensively applied to address the problem of optimally placing CWSs in WDSs, yielding successful results. However, with the introduction of numerous new algorithms and continuous improvements in existing ones every year, there is always a need to explore and evaluate their efficacy in solving this problem [27,28,29,30,31]. The whale optimization algorithm (WOA) is one of the robust meta-heuristic algorithms based on collective intelligence; it was inspired by the hunting behavior of whales in detecting and hunting prey in nature [32]. This algorithm has been used in a wide range of real-world complex optimization problems, and has obtained favorable results. Among these problems, we can include the optimization of water networks [33,34], reliability-based designs of spillways [35], and water resources analyses [36]. Despite the good performance of the WOA in solving many optimization problems, it has been unable to find optimal solutions for some complex engineering problems due to becoming stuck in local optima, its slow convergence, and its failure to create a proper balance between its search and exploration phases.
Therefore, many studies have investigated the performance of this algorithm using different approaches and have come up with good results. For example, Ref. [37] used gathering strategies to improve the WOA, and used it for feature selection in medicine; Ref. [38] used the gray wolf optimizer (GWO) search method to improve the performance of the WOA in the optimization of complex engineering problems, demonstrating significant success with the improved version of the WOA in comparison with other algorithms. The present study was aimed at using the capabilities of sand cat swarm optimization (SCSO) to improve the convergence speed and accuracy of solutions found by the WOA in optimization problems. For this purpose, after the search phase in the WOA, it utilized the mechanism in SCSO during the exploration phase of the WOA to escape from local optima and achieve an optimal solution. Then, it evaluated the effectiveness of the combined WOA-SCSO algorithm to solve the problem of optimally placing CWSs in a real WDS by minimizing the worst-case impact risk caused by the inflow of contamination. Thus, the major contributions of this study are summarized as follows:
  • A hybrid algorithm called the WOA-SCSO algorithm was proposed to improve the exploration, exploitation, and convergence rates.
  • The hybrid WOA-SCSO performance was validated over ten CEC’20 benchmark problems and a real-world water engineering problem.
  • The performance of the hybrid WOA-SCO algorithm was compared with four recent meta-heuristic algorithms.
The rest of the manuscript is organized as follows: Section 2 presents the problem of sensor placement in WDSs. Section 3 introduces the original whale optimization algorithm (WOA), the sand cat optimizer (SCSO), and the proposed hybrid algorithm. Section 4 presents the different benchmarks and results. Section 5 concludes the study and suggests future study directions.

2. Materials and Method

The flowchart of the proposed simulation–optimization model for optimally locating contamination detection sensors in WDSs using the combined EPANET hydraulic model and hybrid WOA is presented in Figure 1. As is clear from Figure 1, the developed model consisted of two main parts: simulation and optimization. First, injection scenarios were created by establishing a dynamic connection between the EPANET simulator and MATLAB software (the pollution injection scenario was generated using the model developed in [39]). Then, the optimization algorithm performed a trial-and-error process to place the sensors at each iteration step. In each stage of the algorithm iteration, the sensors were placed, and the hydraulic and qualitative simulation models were implemented to calculate the concentration values in the nodes. Next, the concentration values were monitored, and when a concentration value in any of the nodes exceeded the allowable limit for the first time, the corresponding node was designated to be the location for a sensor, and the flow in the network was stopped. This procedure was repeated until the optimization algorithm completed one cycle of iterations. The following sections discuss the two main phases of the proposed simulation–optimization model.

2.1. Simulation Model

We used the EPANET model in this study to perform a quality and hydraulic analysis of the network. The quality equations used in EPANET are as follows [7]:
C i t = v i C i x + r ( C i )
C i = i ϵ I j Q i C i + q c , j C 0 j i ϵ I j Q i + q c , j
where C i , v i , and Q i represent the concentration (mass/volume), the velocity of flow (length/time), and the flow rate (volume/time) in pipe i, respectively. Furthermore, q c , j and C 0 j denote the external source flow and its concentration entering the WDS at node j , respectively. r represents the rate of reaction (mass/volume/time), which is expressed as follows:
r = K C n
where K and n are the bulk reaction constant and the reaction order, respectively.
The quality analysis of the WDSs included the simultaneous solutions of Equation (1) to Equation (3) along with equations related to mixing in the reservoir. It should be noted that performing a quality analysis involves performing a hydraulic analysis first. EPANET uses equations of continuity (Equation (4)) and the energy (Equation (5)) laws for the hydraulic analysis [40,41].
i = 1 N j Q i j q j = 0
where Q i j is the flow rate in pipe i j linking junction i to j , q j is a nodal demand at node j , and N j denotes the number of nodes.
j = 1 N p ( i ) h i j j = 1 N p ( i ) H P i j = 0
where h i j indicates the head loss in pipe j from loop i; H P i j is the head added via pumping in pipe j ; and N p is the total number of pipes included in loop i . We used the Hazen–Williams equation in this study to establish a relationship between the continuity and energy law equations, and also to calculate the head loss in the pipes.

2.2. Mathematical Formulation

This study considered the problem of optimally placing contamination detection sensors in WDSs as a single-objective optimization problem with an objective function to minimize the worst-case impact risk of the network. Different approaches can be used to consider the quality risk in a network, where the impact risk is considered here as the volume of contaminated water consumed in the demand nodes. Accordingly, with the assumption of contamination flowing from the k-th node in the s-th time step, the risk created in the j-th node in the t-th time step t is equal to [42,43] the following:
m t , j , s , k = C t , j , s , k × q t , j
where C t , j , s , k and q t , j are the concentration of contamination and water demand at the j-th node in the t-th time step, respectively.
It should be noted that for realistic simulations, a concentration value that is below the allowable concentration value was considered zero so that it could have no role in impact risk calculation. Moreover, the consumption of contaminated water continues until it is detected by the sensors, after which the impact risk becomes zero due to the interruption of water flow in the network, and the lack of water consumption. On the other hand, risk matrices were created to determine the locations of sensors before performing the optimization. In fact, the amount of damage was estimated in all possible modes of contamination. For example, if the network had 100 nodes and 24 time steps, the dimensions of each damage matrix would be equal to 100 × 24 , which is a total of 2400 (possible input from 100 nodes and 24 different time steps). The damage matrix is calculated as follows [42]:
M s , k = m 1,1 , s , k m 1 , n j , s , k m n t , 1 , s , k m n t , n j , s , k n t × n j
where M s , k is the risk matrix, with the assumption of the inflow of contamination from the k-th node at time s. Furthermore, n j and n t are the total number of harvesting nodes and simulation steps, respectively. Given that the risk becomes zero after detection of contamination by the sensor, we used a binary coefficient to modify the risk in the network, as follows:
m t , j , s , k = a t , s , k × m t , j , s , k       , a t , s , k = 1       t τ s , k 0       t > τ s , k
where m is the modified damage based on the performance of the sensors, and τ s , k represents the time step when the first sensor in the network detects the contamination coming from the k-th node at moment t. a t , s , k is a binary parameter whose value depends on the concentration values and arrangement of the sensors. This parameter also causes the risk to be calculated only before the interruption of flow.
As a result, the total risk of the network, equal to the sum of the risks of all nodes in all time steps, is calculated as follows [42]:
G s , k = t = 1 n t j = 1 n j m t , j , s , k
Thus, the problem of optimizing the positions of CWSs in WDSs can be mathematically formulated as follows:
Z = a r g m i n { F x , G s , k }                           x { 1,0 } N s         Subject   to   | x | x
where F 1 is the estimated worst-case impact risk, and χ is the set of binary decision variables that are defined as the index of sensing node, as follows:
x j = 1   i f   a   s e n s o r   i s   i n   s t a l l e d   a t   n o d e   j 0   i f   t h e r e   i s   n o   s e n s o r   i n   s t a l l e d   a t   n o d e   j
In this study, a meta-heuristic technique was used, based on the nonlinearity and complexity of the multi-objective problem. A new hybrid whale optimization algorithm (WOA) with sand cat swarm optimizer (SCSO) was developed to simultaneously optimize the objective functions. The proposed new algorithm is explained in the following section.

3. Optimization

This section describes the mathematical formulation and mechanism of the developed hybrid WOA-SCO algorithm.

3.1. Whale Optimization Algorithm

WOA is a new meta-heuristic algorithm developed by [32] to solve optimization problems; it was inspired by the behavior of humpback whales based on their bubble-net hunting strategy.
First, the WOA begins by randomly generating the initial population of decision variables; then, it updates the position of the search agents at each iteration using prey encircling operators, the bubble network strategy, and prey search. The prey encircling operator is a behavior simulator for detecting the prey’s location and then encircling it. In the WOA, it is initially assumed that the current best solution is the prey; once it is detected, the position of the search agents relative to it are updated using the following equations [32]:
D = | C . X * t X ( t ) |
X t + 1 = X * t A · D
where t indicates the current iteration of algorithm, X * is best solution in iteration t , X is the search vector agent’s position, and A and C are vector coefficients that are defined as follows:
A = 2 a · r a
C = 2 · r
where a is linearly decreased from 2 to 0 over the course of iterations, and r is a vector with random variables in [0, 1]. The mathematical modeling of the network-bubble behavior of whales (exploitation phase) is carried out as follows [32]:
  • Shrinking the encircling mechanism: This behavior is achieved by decreasing the value of a in Equation (14). It should be noted that the fluctuation range of A is reduced to a.
  • Spiral updating position: First, the distance between the position of the whale and the target prey is calculated, and then the spiral equation between them to imitate the spiral-shaped movement of the whale is defined on the basis of Equations (16) and (17).
X t + 1 = D · e b l · c o s 2 π l + X * ( t )
where D = | X * ( t ) X ( t ) | represents the distance between the i-th whale and the prey (the best solution achieved so far), b is a constant to define the logarithmic spiral shape, and I is a random number in [1, −1].
To model the bubble network attack mechanism with the aim of updating the position of the whale during the optimization process, one of the two mechanisms of contraction encircling mechanisms and the spiral model is selected by the whale with a probability of 50%:
X t + 1 = X * ( t ) A · D                             i f   p < 0.5 D · e b l · c o s 2 π l + X * ( t )               i f   p 0.5
where p is a random number in [0, 1].
In the WOA search phase, to update the position of the search agents, the random selection of the search agent is used according to Equations (18) and (19).
D = | C · X r a n d X |
X t + 1 = X r a n d A · D
where X r a n d is the random position vector of a whale selected from the current population.

3.2. Sand Cat Swarm Optimization

The sand cat swarm optimization (SCSO) algorithm is inspired by the behavior of sand cats in finding and hunting for prey in nature [44].
Like other meta-heuristic algorithms, SCSO begins by randomly generating the initial population (solutions). Then, by evaluating the objective function for each solution, the best solution (the best cat) is determined in each iteration, and the other cats try to reduce their distance from the best cat and close in at each stage, because it is assumed that the best cat is the closest cat to the prey [44]. The position of the sand cat in the search phase is updated based on a random position. To prevent the algorithm from becoming trapped in a local optimum, a sensitivity range is assigned to each cat according to Equation (20):
r = r G × r a n d ( 0,1 )
where r G represents the main sensitivity range, which decreases from 2 to 0 from the beginning of the optimization process to the last iteration.
In fact, r is used for exploitation in the search and exploration phases, where r G is a parameter used to set the control parameter R in the transfer phase.
r G = s M 2 × S M × i t e r c i t e r M a x
R = 2 × r G × r a n d 0,1 r G
Then, each cat updates its position based on the position of the best solution (Posbc), its current position, and its sensitivity range ( r ).
P o s t + 1 = r . P o s b c t r a n d 0,1 . P o s c t
Therefore, sand cats can find another possible best position for the prey, which creates another opportunity for the algorithm to find a new local optimum in the search space. The new found position is between the current position and the position of the prey. The attack phase in SCSO is simulated based on Equation (24), which is the distance between P o s b and P o s c . In addition, the sensitivity range of the search agent is considered circular. Therefore, the cat′s direction of movement is determined on the circle by a random angle using a roulette wheel. Thus, the sand cat closes in on the prey with every iteration [44].
P o s r n d = r a n d 0,1 . P o s b t P o s c t P o s t + 1 = P o s b c t r . P o s r n d . c o s ( θ )
P o s r n d is a random position. The cats close in on the prey after a number of iterations.
Finally, the position of the search agents (sand cat) in the exploitation and exploration phases is updated in Equation (25).
P o s r n d = r a n d 0,1 . P o s b t P o s c t P o s t + 1 = P o s b c t r . P o s r n d . c o s ( θ )
Accordingly, if |R| ≤ 1, the sand cats are directed to attack their prey; otherwise, the cats have to find a new feasible solution in the global region (see Figure 2).
X t + 1 = P o s b t P o s r n d . cos θ . r                             R 1 ; e x p o l i t a t i o n r . P o s b c t r a n d 0,1 . P o s c t R > 1 ; e x p o l o r a t i o n
A proper balance between the search and exploration phases in SCSO brings about fast and accurate convergence of the algorithm to solve complex and multi-objective problems.

3.3. Hybrid WOA-SCSO

Each optimization algorithm has many strengths and weaknesses in the face of various problems. The purpose of creating hybrid algorithms is to solve various optimization problems using the strengths of the combined algorithms. The WOA is one of the most robust meta-heuristic algorithms, with optimal performance to solve many complex optimization problems; however, for some types of complex problems, it can become trapped in local optima, and subsequently has a very low convergence speed. Therefore, this study used the ability of SCSO to improve the performance of the WOA during the exploration phase. To this end, the SCSO was incorporated into the search phase of the WOA, and the condition approach was utilized after updating the position of each search agent. Algorithm 1 shows the details of this modification.
Algorithm 1. The pseudocode of WOA-SCSO
Generate Initial the whale population Xi where (I = 1, 2, 3, ---, n)
Compute the fitness of each solution
X* represents the best search agent
   While (t < Maximum number of Iterations)
       for each solution
       Update WOA parameters (a, A, c, L, and p)
       If 1 (p < 0.5)
         If 2 (|A| < I)
            Update the position of the current search agent by the Equations (23)–(26)
         Else If2 (|A| > 1)
            Randomly choose search agent (XRand)
            Update the position of the current search agent by the Equations (23)–(26)
         End If 2
         Else If l (p > 0.5)
            Update the position of the current search agent by the Equation (19)
        End If l
          End for
Check the space limits (if any search agent goes beyond the search phase, then amend it)
Compute the fitness of each search agent
Update X if there is a better solution in the population
(t = t + 1)
End while
Return X*
The search space for optimally locating contamination sensors is binary or, in other words, the decision variables are zero or one. The proposed WOA-SCOS has a continuous search space. As a result, this problem cannot be solved by the WOA-SCOS. Therefore, to update the search agent position for the WOA-SCOS on a binary search domain, the following sigmoidal equation was included:
S x = 1 1 + e ( 10 × ( x 0.5 ) )
X b i n a r y t + 1 = f x = 1 ,           s i g m o i d X * r 0 ,         o t h e r w i s e
where X b i n a r y represents the binary position based on the Equation (28), and r is a random number in the range of 0 and 1 [23].

4. Results and Discussion

4.1. Case study of Benchmark Functions

Before utilizing the proposed WOA-SCSO algorithm in the problem of optimally placing sensors for contamination detection in WDSs, the CEC’20 benchmark [45] was used to evaluate the algorithm’s efficiency. The results obtained with WOA-SCSO were compared with the WOA, SCSO, hybrid whale optimization algorithm–simulated annealing (WOA-SA) [46], dragonfly algorithm (DA) [47], and month flame optimization (MFO) [48].
For a fair comparison of algorithms, each function was simulated 30 times by each algorithm with a population of 100 and a maximum iteration of 1000. Table 1 presents the adjustment parameters used for the algorithms, which were selected based on suggested values in the reference articles.
Table 2 shows the statistical results, including the averages and standard deviations of 30 executions for all of the aforementioned algorithms on the benchmark functions, with the best solutions highlighted in bold. As shown in the results, WOA-SCSO provided a better solution than the other algorithms in most functions. As a result, WOA-SCSO ranked first among the algorithms for solving the benchmark functions.
Another parameter that can illustrate the performance of algorithms is their convergence rate in achieving an optimal solution. According to Figure 3, which shows the convergence curve of the algorithms for the benchmark functions, WOA-SCSO had a high-order convergence speed in achieving the optimal solution. Its appropriate convergence rate in solving benchmark problems indicates its high efficiency in solving real-world optimization problems that require fast calculations.

4.2. Case Study of Anytown WDS

To evaluate the robustness of the proposed hybrid model, the Anytown benchmark WDS was selected. This network has 3 pumps, 1 reservoir, 2 tanks, 22 nodes, and 34 pipes. Figure 4 shows the schematic of the Anytown network. Reference [39] used this network to evaluate the software developed for the optimal placement of sensors in the network. Their study, which had the same objective function, used four sensors in the nodes [5,7,10,19] and reported the worst-case impact risk value of the network to be 138,808 m3. In the current study, considering 10% uncertainty for network demand, it was assumed that contamination with a concentration of 10 mg/l flowed into the network from one node for 2 h.
After forming a risk matrix based on the explanation provided in Section 2 and Section 3, each algorithm was executed 10 times with a population of 50 and a maximum iteration of 500. Due to the high costs of installing and operating sensors, the maximum number of sensors was considered to be 4. Table 3 presents the values of the objective function obtained from the implementation of the algorithms for the installation of 4 sensors. As the results show, the value of the objective function calculated by WOA-SCSO was constant in all executions, and the standard deviation from the standard deviation of 10 executions was zero, and the average value of the objective function (worst-case impact risk) was 131,754 m3. After WOA-SCSO, the WOA-SA algorithm yielded favorable results, such that the value of the objective function was constant in 9 executions, and different in only 1 execution.
Given the binary nature of the problem, the MFO algorithm provided very poor performance; it violated the constraint in 7 executions, and had only 3 successful executions. The third-best ranking went to SCSO, with an average value of 201,372 m3 and a standard deviation of 21,802 m3. DA and WOA were the next-ranked algorithms in their reductions of the worst-case impact risk of the network.
Figure 5 shows the convergence curve of the algorithms in solving the problem of optimally placing CWSs in the Anytown reference network. As shown in the results, SCSO improved the convergence rate in the WOA as well. Figure 6 also shows the optimal positions of the contamination detection sensors in the Anytown network, according to the optimal solutions of the algorithms.
As the results show, the placement of the sensors was very diverse; their locations differed, although the level of risk was similar in some cases. However, some nodes seemed to play an important role in the network, such as node 19, which was determined as the optimal position for one of the sensors in most of the algorithms. Yet, it can be seen that the positions of the sensors were well-distributed on the network, in order to reduce the possible damage.
As mentioned before, reference [39] developed a novel model for the optimal placement of sensors in the Anytown network using the GA. The worst-case impact risk value reported in that study was 138,808 m3 for the placement of sensors in the nodes [5,7,10,19]. A comparison of the results of that study with those of the WOA-SCSO model indicates the superiority of the model developed on the basis of a novel optimization algorithm.

4.3. Case Study of Baghmalek WDS

The second case study of WDSs was selected from the southwest of Iran. Figure 7 shows the schematic of the Baghmalek water network. This network consists of 90 pipes and 72 nodes, whose water is supplied by gravity through a reservoir. All of the network pipes have a Hazen–Williams coefficient of 130, and were constructed of polyethylene [49]. Figure 8 shows the pattern of water consumption in Baghmalek city.
Due to the high salinity of the region′s soil, and the presence of oil reserves and a refinery in the vicinity of the study area, there is a high risk for contamination of the network water from oil and chemical toxins due to negative pressure. Therefore, it is very important to develop an effective model for the optimal placement of CWSs in the studied network, in such a way that it reduces the worst-case impact risks in the network.
In order to model this network, it was assumed that a dangerous contaminant with a concentration of 10 mg/L flowed into the network from different nodes and at different time steps to cause damage. Moreover, as in the previous example, since the demand parameter is one of the most important parameters affecting a network’s hydraulics, a parameter with uncertainty was considered using normal and log-normal distributions. For this purpose, 1000 samples of the demand factor were generated, each with a definite average value and a standard deviation of 10%. To determine the most appropriate distribution, we followed the recommendation from study [50], which suggested using a normal distribution for demand factors that are less than 1.5 and a log-normal distribution for demand factors greater than or equal to 1.5. To calculate the failure probability of the optimized design, we used a Monte Carlo simulation. According to the theory of Monte Carlo simulations, the failure probability is defined as the ratio of failed designs (i.e., designs that violate constraints) to the total number of scenarios [51].
Accordingly, this network was implemented for several scenarios with a duration of 7 days. In the first scenario, the network without sensors was analyzed, while in the other scenarios, the number of sensors was increased, and their optimal positions were determined in such a way that the qualitative risk value of the network reached the minimum value in the uncertainty conditions of the location and time of contamination. The other assumptions considered for the analysis of this network were as follows:
  • The time steps of the hydraulic and quality simulations were 1 h and 15 min, respectively.
  • All of the demand nodes had the potential for sensor installation.
  • Inflow of contamination from all demand nodes was possible at all hours of the first day of simulation.
  • Inflow of contamination was possible from only one node, and the duration of contamination was 2 h.
Table 4 presents the results of Baghmalek network modeling. Figure 9 shows the optimal numbers of sensors relative to the risk values. As the results indicate, the maximum damage was equal to 49,825.14 L, which came from the scenario when sensors were not available in the network. Adding a sensor to the network decreased the worst-case impact risk by 49% and the damage to 24,912.95 L. However, adding 1 more sensor decreased the worst-case impact risk by 20% compared to the first scenario.
In general, it can be said that optimal placements of more sensors reduced the amount of damage in the network. Obviously, when there were fewer sensors in the network, the interaction graph had a higher slope. On the other hand, a larger number of sensors led to a decrease in the slope of the graph, and less change in the damage rate.
According to Table 4, the locations of the sensors were diverse, and were not necessarily the same in all of the scenarios. However, some nodes played a significant role in the network, such as 51, which was selected as the optimal position in most scenarios. In any case, in order to minimize the worst-case impact risk caused by the inflow of intentional or accidental contamination, the developed model was able to distribute the proposed locations of the sensors throughout the network. According to the results, the greatest damage in the network was related to the inflow of contamination during the peak time of the network, when the contamination distributed faster throughout the network due to the higher level of demand.

5. Conclusions

We developed an optimization–simulation model in this study based on a novel optimization algorithm that used a combination of the WOA and SCSO for the optimal placement of contamination detection sensors in WDSs under demand uncertainty. For this purpose, the weakness of the WOA during the phase of searching and escaping from local optima was improved using the abilities of SCSO. The performance of the developed algorithm was first evaluated on the benchmark problems of the CEC’20 series, with results indicating an improvement in the performance of the WOA in the search and convergence stage, so that the use of WOA-SCSO provided better performance in most benchmark problems tested compared to the other algorithms. Next, the problem of optimizing the placement of contamination sensors in the water network was formulated as a probabilistic problem. In order to obtain realistic results, we considered changes in demand factors to be uncertain, and modeled them as random parameters that followed normal and log-normal distributions. Examining the modeling results on a benchmark network showed that WOA-SCSO was able to provide the lowest standard deviation from the objective function (the worst-case impact risk) in 10 executions of the model compared to the other algorithms. After validating the optimization–simulation model developed on the benchmark network, we applied it to a quality management scenario of the Baghmalek water distribution network in Iran. We examined the results across several scenarios in applying the developed model on the studied network, taking into account the factor of uncertain demand at different times. The results showed that the use of at least one sensor in a network can decrease the amount of contaminated water consumed in it by 49% compared to a network without sensors. It was also found that the greatest damage occurs in the network when contamination flows into the network during peak demand. Therefore, it is recommended to use high-quality sensors in order to reduce the damage caused by inflows of contamination into the network. To this aim, the proposed algorithm was able to provide appropriate locations for placing sensors in the water network. In order to complete the present study, future research can use the proposed algorithm to solve the important problem of placing sensors in a multi-objective manner and applying the scenarios of draining contaminated water from the network by opening and closing valves immediately after the sensors detect contamination.

Author Contributions

Methodology, formal analysis, and writing—original draft preparation, S.A.A.; software, conceptualization, methodology, formal analysis, validation, and writing—review and editing, J.J.-A.; writing—original draft preparation, E.B.; visualization, writing—review and editing, E.H.H.; writing—review and editing, M.E.A.B.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding. The publication costs are covered by an Institutional Open Access Program (IOAP).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Iqbal, M.M.; Li, L.; Hussain, S.; Lee, J.L.; Mumtaz, F.; Elbeltagi, A.; Waqas, M.S.; Dilawar, A. Analysis of Seasonal Variations in Surface Water Quality over Wet and Dry Regions. Water 2022, 14, 1058. [Google Scholar] [CrossRef]
  2. Ohadi, S.; Hashemi Monfared, S.A.; Azhdary Moghaddam, M.; Givehchi, M. Feasibility of a Novel Predictive Model Based on Multilayer Perceptron Optimized with Harris Hawk Optimization for Estimating of the Longitudinal Dispersion Coefficient in Rivers. Neural. Comput. Appl. 2022, 35, 7081–7105. [Google Scholar] [CrossRef]
  3. Iqbal, M.M.; Hussain, S.; Cheema, M.; Jehanzeb, M.; Lee, J.L.; Waqas, M.S.; Aslam, M.A. Seasonal Effect of Agricultural Pollutants on Coastline Environment: A Case Study of the Southern Estuarine Water Ecosystem of the Boseong County Korea. Pak. J. Agric. Sci. 2022, 59, 117–124. [Google Scholar]
  4. Rizvi, F.F.; Ahmed, B.; Hussain, S.; Khan, A.; Raza, M.; Shahid, M. Assessment of Climate Extremes from Historical Data (1960–2013) of Soan River Basin in Pakistan. Int. J. Glob. Warm. 2021, 25, 1–37. [Google Scholar] [CrossRef]
  5. Moosavian, N.; Lence, B.J. Fittest Individual Referenced Differential Evolution Algorithms for Optimization of Water Distribution Networks. J. Comput. Civ. Eng. 2019, 33, 4019036. [Google Scholar] [CrossRef]
  6. Adedoja, O.S.; Hamam, Y.; Khalaf, B.; Sadiku, R. A State-of-the-Art Review of an Optimal Sensor Placement for Contaminant Warning System in a Water Distribution Network. Urban Water J. 2018, 15, 985–1000. [Google Scholar] [CrossRef]
  7. Shokoohi, M.; Tabesh, M.; Nazif, S.; Dini, M. Water Quality Based Multi-Objective Optimal Design of Water Distribution Systems. Water Resour. Manag. 2017, 31, 93–108. [Google Scholar] [CrossRef]
  8. Afshar, A.; Mariño, M.A. Multi-Objective Coverage-Based ACO Model for Quality Monitoring in Large Water Networks. Water Resour. Manag. 2012, 26, 2159–2176. [Google Scholar] [CrossRef]
  9. He, G.; Zhang, T.; Zheng, F.; Zhang, Q. An Efficient Multi-Objective Optimization Method for Water Quality Sensor Placement within Water Distribution Systems Considering Contamination Probability Variations. Water Res. 2018, 143, 165–175. [Google Scholar] [CrossRef]
  10. Lee, B.H.; Deininger, R.A. Optimal Locations of Monitoring Stations in Water Distribution System. J. Environ. Eng. 1992, 118, 4–16. [Google Scholar] [CrossRef]
  11. Nace, A.; Kiené, L.; Fotoohi, F. Optimal Supervision of Drinking Water Distribution Network. In Proceedings of the WRPMD’99: 26th Annual Water Resources Planning and Management Conference, Tempe, Arizona, 6–9 June 1999. [Google Scholar]
  12. Salomons, E.; Ostfeld, A. A Multi-Objective Approach for Minimizing Water Network Disinfection Time and Disinfectant Quantity. Procedia Eng. 2015, 119, 347–351. [Google Scholar] [CrossRef] [Green Version]
  13. Shafiee, M.E.; Zechman, E.M. An Agent-Based Modeling Framework for Sociotechnical Simulation of Water Distribution Contamination Events. J. Hydroinformatics 2013, 15, 862–880. [Google Scholar] [CrossRef] [Green Version]
  14. Rathi, S.; Gupta, R. A Simple Sensor Placement Approach for Regular Monitoring and Contamination Detection in Water Distribution Networks. KSCE J. Civ. Eng. 2016, 20, 597–608. [Google Scholar] [CrossRef]
  15. Shen, H.; McBean, E. Diminishing Marginal Returns for Sensor Networks in a Water Distribution System. J. Water Supply Res. Technol.—AQUA 2011, 60, 286–293. [Google Scholar] [CrossRef]
  16. Weickgenannt, M.; Kapelan, Z.; Blokker, M.; Savic, D.A. Risk-Based Sensor Placement for Contaminant Detection in Water Distribution Systems. J. Water Resour. Plan Manag. 2010, 136, 629–636. [Google Scholar] [CrossRef]
  17. Yoo, D.G.; Chung, G.; Sadollah, A.; Kim, J.H. Applications of Network Analysis and Multi-Objective Genetic Algorithm for Selecting Optimal Water Quality Sensor Locations in Water Distribution Networks. KSCE J. Civ. Eng. 2015, 19, 2333–2344. [Google Scholar] [CrossRef]
  18. Berry, J.; Hart, W.E.; Phillips, C.A.; Uber, J.G.; Watson, J.-P. Sensor Placement in Municipal Water Networks with Temporal Integer Programming Models. J. Water Resour. Plan Manag. 2006, 132, 218–224. [Google Scholar] [CrossRef] [Green Version]
  19. Housh, M.; Ohar, Z. Integrating Physically Based Simulators with Event Detection Systems: Multi-Site Detection Approach. Water Res. 2017, 110, 180–191. [Google Scholar] [CrossRef]
  20. Aral, M.M.; Guan, J.; Maslia, M.L. Optimal Design of Sensor Placement in Water Distribution Networks. J. Water Resour. Plan Manag. 2010, 136, 5–18. [Google Scholar] [CrossRef]
  21. Kim, J.H.; Tran, T.V.T.; Chung, G. Optimization of Water Quality Sensor Locations in Water Distribution Systems Considering Imperfect Mixing. In Water Distribution Systems Analysis 2010; ASCE Library: Reston, VA, USA, 2010; pp. 317–326. [Google Scholar]
  22. Afshar, A.; Miri Khombi, S.M. Multiobjective Optimization of Sensor Placement in Water Distribution Networks Dual Use Benefit Approach. Iran Univ. Sci. Technol. 2015, 5, 315–331. [Google Scholar]
  23. Jafari-Asl, J.; Azizyan, G.; Monfared, S.A.H.; Rashki, M.; Andrade-Campos, A.G. An Enhanced Binary Dragonfly Algorithm Based on a V-Shaped Transfer Function for Optimization of Pump Scheduling Program in Water Supply Systems (Case Study of Iran). Eng. Fail. Anal. 2021, 123, 105323. [Google Scholar] [CrossRef]
  24. Poojitha, S.N.; Jothiprakash, V. Hybrid Differential Evolution and Krill Herd Algorithm for the Optimal Design of Water Distribution Networks. J. Comput. Civ. Eng. 2022, 36, 4021032. [Google Scholar] [CrossRef]
  25. Rad, M.J.G.; Ohadi, S.; Jafari-Asl, J.; Vatani, A.; Ahmadabadi, S.A.; Correia, J.A.F.O. GNDO-SVR: An Efficient Surrogate Modeling Approach for Reliability-Based Design Optimization of Concrete Dams. In Proceedings of the Structures; Elsevier: Amsterdam, The Netherlands, 2022; Volume 35, pp. 722–733. [Google Scholar]
  26. Zheng, F.; Zecchin, A.C.; Simpson, A.R. Self-Adaptive Differential Evolution Algorithm Applied to Water Distribution System Optimization. J. Comput. Civ. Eng. 2013, 27, 148–158. [Google Scholar] [CrossRef] [Green Version]
  27. Forestiero, A. Heuristic Recommendation Technique in Internet of Things Featuring Swarm Intelligence Approach. Expert. Syst. Appl. 2022, 187, 115904. [Google Scholar] [CrossRef]
  28. Dahou, A.; Abd Elaziz, M.; Chelloug, S.A.; Awadallah, M.A.; Al-Betar, M.A.; Al-qaness, M.A.A.; Forestiero, A. Intrusion Detection System for IoT Based on Deep Learning and Modified Reptile Search Algorithm. Comput. Intell. Neurosci. 2022, 2022, 4748528. [Google Scholar] [CrossRef]
  29. Rahmanshahi, M.; Jafari-Asl, J.; Shafai Bejestan, M.; Mirjalili, S. A Hybrid Model for Predicting the Energy Dissipation on the Block Ramp Hydraulic Structures. Water Resour. Manag. 2023, 1–23. [Google Scholar] [CrossRef]
  30. Jafari-Asl, J.; Ben Seghier, M.E.A.; Ohadi, S.; Correia, J.; Barroso, J. Reliability Analysis Based Improved Directional Simulation Using Harris Hawks Optimization Algorithm for Engineering Systems. Eng. Fail. Anal. 2022, 135, 106148. [Google Scholar] [CrossRef]
  31. Ben Seghier, M.E.A.; Corriea, J.A.F.O.; Jafari-Asl, J.; Malekjafarian, A.; Plevris, V.; Trung, N.-T. On the Modeling of the Annual Corrosion Rate in Main Cables of Suspension Bridges Using Combined Soft Computing Model and a Novel Nature-Inspired Algorithm. Neural. Comput. Appl. 2021, 33, 15969–15985. [Google Scholar] [CrossRef]
  32. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  33. Ezzeldin, R.M.; Djebedjian, B. Optimal Design of Water Distribution Networks Using Whale Optimization Algorithm. Urban Water J. 2020, 17, 14–22. [Google Scholar] [CrossRef]
  34. Reddy, P.D.P.; Reddy, V.C.V.; Manohar, T.G. Whale Optimization Algorithm for Optimal Sizing of Renewable Resources for Loss Reduction in Distribution Systems. Renew. Wind Water Sol. 2017, 4, 1–13. [Google Scholar] [CrossRef] [Green Version]
  35. Jafari-Asl, J.; Ben Seghier, M.E.A.; Ohadi, S.; van Gelder, P. Efficient Method Using Whale Optimization Algorithm for Reliability-Based Design Optimization of Labyrinth Spillway. Appl. Soft. Comput. 2021, 101, 107036. [Google Scholar] [CrossRef]
  36. Guo, W.; Liu, T.; Dai, F.; Xu, P. An Improved Whale Optimization Algorithm for Forecasting Water Resources Demand. Appl. Soft. Comput. 2020, 86, 105925. [Google Scholar] [CrossRef]
  37. Zhang, X.; Wen, S. Hybrid Whale Optimization Algorithm with Gathering Strategies for High-Dimensional Problems. Expert. Syst. Appl. 2021, 179, 115032. [Google Scholar] [CrossRef]
  38. Mohammed, H.; Rashid, T. A Novel Hybrid GWO with WOA for Global Numerical Optimization and Solving Pressure Vessel Design. Neural. Comput. Appl. 2020, 32, 14701–14718. [Google Scholar] [CrossRef] [Green Version]
  39. Eliades, D.G.; Kyriakou, M.; Polycarpou, M.M. Sensor Placement in Water Distribution Systems Using the S-PLACE Toolkit. Procedia Eng. 2014, 70, 602–611. [Google Scholar] [CrossRef] [Green Version]
  40. Sabzkouhi, A.M.; Haghighi, A. Uncertainty Analysis of Pipe-Network Hydraulics Using a Many-Objective Particle Swarm Optimization. J. Hydraul. Eng. 2016, 142, 4016030. [Google Scholar] [CrossRef]
  41. Jafari-Asl, J.; Sami Kashkooli, B.; Bahrami, M. Using Particle Swarm Optimization Algorithm to Optimally Locating and Controlling of Pressure Reducing Valves for Leakage Minimization in Water Distribution Systems. Sustain. Water Resour. Manag. 2020, 6, 1–11. [Google Scholar] [CrossRef]
  42. Geranmehr, M.; Yousefi-Khoraem, M. Optimal Quality Sensor Placement in Water Distribution Networks under Temporal and Spatial Uncertain Contamination. J. Water Wastewater Ab Va Fazilab (Persian) 2020, 31, 143–155. [Google Scholar]
  43. Kessler, A.; Ostfeld, A.; Sinai, G. Detecting Accidental Contaminations in Municipal Water Networks. J. Water Resour. Plan Manag. 1998, 124, 192–198. [Google Scholar] [CrossRef]
  44. Seyyedabbasi, A.; Kiani, F. Sand Cat Swarm Optimization: A Nature-Inspired Algorithm to Solve Global Optimization Problems. Eng. Comput. 2022, 1–25. [Google Scholar] [CrossRef]
  45. Houssein, E.H.; Çelik, E.; Mahdy, M.A.; Ghoniem, R.M. Self-Adaptive Equilibrium Optimizer for Solving Global, Combinatorial, Engineering, and Multi-Objective Problems. Expert. Syst. Appl. 2022, 195, 116552. [Google Scholar] [CrossRef]
  46. Mafarja, M.M.; Mirjalili, S. Hybrid Whale Optimization Algorithm with Simulated Annealing for Feature Selection. Neurocomputing 2017, 260, 302–312. [Google Scholar] [CrossRef]
  47. Mirjalili, S. Dragonfly Algorithm: A New Meta-Heuristic Optimization Technique for Solving Single-Objective, Discrete, and Multi-Objective Problems. Neural. Comput. Appl. 2016, 27, 1053–1073. [Google Scholar] [CrossRef]
  48. Mirjalili, S. Moth-Flame Optimization Algorithm: A Novel Nature-Inspired Heuristic Paradigm. Knowl. Based Syst. 2015, 89, 228–249. [Google Scholar] [CrossRef]
  49. Minaei, A.; Haghighi, A.; Ghafouri, H.R. Computer-Aided Decision-Making Model for Multiphase Upgrading of Aged Water Distribution Mains. J. Water Resour. Plan Manag. 2019, 145, 4019008. [Google Scholar] [CrossRef]
  50. Marquez Calvo, O.O.; Quintiliani, C.; Alfonso, L.; Di Cristo, C.; Leopardi, A.; Solomatine, D.; de Marinis, G. Robust Optimization of Valve Management to Improve Water Quality in WDNs under Demand Uncertainty. Urban Water J. 2018, 15, 943–952. [Google Scholar] [CrossRef] [Green Version]
  51. Ohadi, S.; Jafari-Asl, J. Multi-Objective Reliability-Based Optimization for Design of Trapezoidal Labyrinth Weirs. Flow Meas. Instrum. 2021, 77, 101787. [Google Scholar] [CrossRef]
Figure 1. Flowchart of proposed simulation–optimization model; black and red dots refer to demand nodes and sensor’s locations, respectively.
Figure 1. Flowchart of proposed simulation–optimization model; black and red dots refer to demand nodes and sensor’s locations, respectively.
Water 15 02217 g001
Figure 2. The exploration phase of SCSO [44].
Figure 2. The exploration phase of SCSO [44].
Water 15 02217 g002
Figure 3. The convergence curves of algorithms for CEC’20 benchmarks.
Figure 3. The convergence curves of algorithms for CEC’20 benchmarks.
Water 15 02217 g003
Figure 4. The schematic of case study I; the number of demand nodes is shown in the figure.
Figure 4. The schematic of case study I; the number of demand nodes is shown in the figure.
Water 15 02217 g004
Figure 5. Convergence curves for the algorithms for the Anytown network.
Figure 5. Convergence curves for the algorithms for the Anytown network.
Water 15 02217 g005
Figure 6. Optimal sensor placement for the Anytown network; (a) WOA-SA, (b) SCSO, (c) WOA-SCSO, (d) WOA, (e) MFO, and (f) DA; black and red dots refer to demand nodes and sensor’s locations, respectively.
Figure 6. Optimal sensor placement for the Anytown network; (a) WOA-SA, (b) SCSO, (c) WOA-SCSO, (d) WOA, (e) MFO, and (f) DA; black and red dots refer to demand nodes and sensor’s locations, respectively.
Water 15 02217 g006
Figure 7. Schematic of the Baghmalek network; the number of demand nodes is shown in the figure.
Figure 7. Schematic of the Baghmalek network; the number of demand nodes is shown in the figure.
Water 15 02217 g007
Figure 8. Demand pattern curve for the Baghmalek network.
Figure 8. Demand pattern curve for the Baghmalek network.
Water 15 02217 g008
Figure 9. Trade-off between the worst-case impact risk of the network and the number of available sensors.
Figure 9. Trade-off between the worst-case impact risk of the network and the number of available sensors.
Water 15 02217 g009
Table 1. The setting parameters of each algorithm.
Table 1. The setting parameters of each algorithm.
AlgorithmParameterValue
WOA α [2, 0]
[2, 0]
C2.rand (0, 1)
L[−1, 1]
B1
SCSO r G [2, 0]
R[− 2 r G , 2 r G ]
DA β 0.01
α 0.99
SACrossover0.4
Mutation0.7
MFOB1
R[−1, −2]
T[r, 1]
Table 2. Simulation results of algorithms for CEC’20 benchmark functions.
Table 2. Simulation results of algorithms for CEC’20 benchmark functions.
FWOA-SCSOWOASCSO
AverageSTDAverageSTDAverageSTD
14630.9233865.64129,622,85414,996,4374451.7613723.702
21354.157153.87883861.19570.5061843.399358.4839
3747.14929.955987936.485865.65286754.086216.86232
41904.2422.2958591948.02422.284441904.7492.079524
5205,961.7101,493.91,786,5641,423,187397,673.7311,695
61624.4416.94 × 10131624.4416.94 × 10131629.6566.94 × 1013
767,541.5948,168.431,089,934999,417.5185,219190,155.1
82303.80716.630773946.461686.9912827.7851038.077
92823.53117.516262998.87566.332842850.61828.56
102942.92628.333193030.82939.809242946.54532.49808
Best500
FWOA-SADAMFO
AverageSTDAverageSTDAverageSTD
14103.1682959.424,319,673.9691,107,564.07519,258,63013,458,488
22509.475723.78193090.541577461.19679843170.614600.27
3770.37916.60193906.059020529.61939612840.454624.32494
41903.3121.4271911923.5496565.3427372871925.4958.438489
574,101.3949,371.8426,743.4619247,660.423460,340.8393,982.6
61624.4416.94 × 10132005.2507396.94 × 10131919.4276.94 × 1013
723,614.4820,063.03326,989.7085298,768.1618372,906.1296,250.6
82381.877444.37963500.1076781598.2973952317.1653.214768
92927.66295.728723052.30078379.924318712914.17838.58321
102950.73732.630422987.91767324.868670082997.833.16372
Best400
Table 3. Validation results.
Table 3. Validation results.
Algorithms
WOA-SASCSOWOA-SCSOWOAMFODA
1131,754137,728.5131,754347,665.51. × 1018201,211.5
2131,754204,361.5131,754211,8271.39 × 1018234,097.5
3131,754211,827131,754234,097.5131754201,211.5
4131,754207,732131,754204,361.51.39 × 1018234,097.5
5131,754211,827131,754488,260.51.39 × 1018207,732
6204,361.5201,211.5131,754211,827131754201,211.5
7131,754207,732131,754211,8271.39 × 1018234,097.5
8131,754201,211.5131,754211,827131754201,211.5
9131,754218,263.5131,754218,263.51.39 × 1018131,754
10131,754211,827131,754599,7391.39 × 1018211,827
Average139,014.75201,372.2131,754293,969.559.71656× 1017205,845.2
STD21,782.2521,802.810133,589.83876.36098× 101728,300.72
Table 4. Details of the trade-off diagram.
Table 4. Details of the trade-off diagram.
Number of SensorsMaximum Impact Risk (l)Sensor Nodes
124,912.9549.
212,697.6461.
310,263.1722, 54, 51.
47942.6536, 51, 27, 67.
57129.0219, 51, 3, 37, 48.
66342.9412,66, 48, 24,51, 37.
75913.1051, 6, 67, 37, 23, 12, 47.
85212.2667, 51, 18, 61, 39, 3, 42, 27.
104855.1053, 31, 33,19, 51, 45,37, 9, 36, 47.
124237.1942,23,51,29,66,4,62,69,46,24,58, 32.
153856.8548, 53, 51, 46, 16, 14, 52, 30, 27, 41, 19, 3, 66, 27, 11.
202992.9320, 5, 61, 51, 24, 5, 53, 63, 42, 3, 56, 68, 28, 44, 33,39, 19, 54, 24, 47, 8, 21, 37, 9, 18.
252680.6161, 12, 62, 60, 7, 40, 65, 48, 39, 22, 42, 54, 5, 49, 33, 51, 50, 32, 29,65, 41, 19, 27, 1, 19, 53, 10, 22, 47, 15.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Afzali Ahmadabadi, S.; Jafari-Asl, J.; Banifakhr, E.; Houssein, E.H.; Ben Seghier, M.E.A. Risk-Based Design Optimization of Contamination Detection Sensors in Water Distribution Systems: Application of an Improved Whale Optimization Algorithm. Water 2023, 15, 2217. https://doi.org/10.3390/w15122217

AMA Style

Afzali Ahmadabadi S, Jafari-Asl J, Banifakhr E, Houssein EH, Ben Seghier MEA. Risk-Based Design Optimization of Contamination Detection Sensors in Water Distribution Systems: Application of an Improved Whale Optimization Algorithm. Water. 2023; 15(12):2217. https://doi.org/10.3390/w15122217

Chicago/Turabian Style

Afzali Ahmadabadi, Sanaz, Jafar Jafari-Asl, Elham Banifakhr, Essam H. Houssein, and Mohamed El Amine Ben Seghier. 2023. "Risk-Based Design Optimization of Contamination Detection Sensors in Water Distribution Systems: Application of an Improved Whale Optimization Algorithm" Water 15, no. 12: 2217. https://doi.org/10.3390/w15122217

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop