To ensure the preservation of public health during periods of water distribution network (WDN) contamination, implementing effective consequence management (CM) plans is crucial. This study aimed to minimize the number of operational interventions and mitigate adverse effects on public health by considering WDN leakage and demand changes during contamination events. Surveys conducted during the contamination period revealed an impressive 88% reduction in water consumption. Subsequently, a real case study focusing on a segment of Tehran's WDN in Iran's capital city was conducted, examining four scenarios to test the proposed method. Without employing leakage and demand reduction strategies, the total contamination exposure amounted to approximately 184 kg. However, by incorporating water demand reduction, leakage, and their simultaneous simulation, maximum contamination exposures of 154.4, 171, and 124.4 kg were respectively achieved. Furthermore, it was found that the optimal CM plan required significantly different valve configurations. Neglecting demand changes and leaks in the CM plan led to inaccurate calculations regarding hydraulic and quality status, pollution levels in the network, and contamination exposure for WDN users; therefore, erroneous decision-making.

  • Optimal consequence management of pollution entry into the water network.

  • Multi-objective optimization utilization to minimize public health damages and costs.

  • Water demand variation consideration.

  • Water network leakage consideration.

  • Scenario-based results and comparing outcomes of four different scenarios.

Water distribution networks (WDNs) comprise each urban area's most critical infrastructure. These networks must deliver water to consumers to satisfy pressure and quality thresholds. Considering the high number of consumers of WDNs in urban areas, a disastrous situation may occur in case of pollution intrusion (Moghaddam et al. 2022). To minimize the adverse effects of contamination propagation in WDNs, a reliable strategy is an optimal consequence management (CM) plan considering the more realistic situation of WDNs during the crisis (Shafiee et al. 2018).

The first step in CM is to select the appropriate method for the hydraulic simulation of the WDN. Earlier studies tried to present CM by applying the demand-driven analysis (DDA) approach to their hydraulic simulation (Baranowski & LeBoeuf 2006, 2008; Poulin et al. 2008, 2010). This method results in inappropriate answers in abnormal situations. The DDA method assumes that the demand is not pressure-dependent and is constant; therefore, abnormal conditions may cause pressure deficiencies in some specific nodes (Tabesh et al. 2014). To overcome this issue, some studies applied pressure-driven analysis (PDA) (Alfonso et al. 2010; Zafari et al. 2017; Hatam et al. 2019). This method provides a more realistic view of a WDN's hydraulic condition when the system experiences abnormal conditions.

Most common CM strategies that applied simulation–optimization approaches minimized at least one of the following objectives (Bashi-Azghadi et al. 2017, 2018): (1) the number of operational interventions; (2) the consumed contamination mass; and (3) the number of polluted nodes. Preis & Ostfeld (2007) implemented a multi-objective optimization model to minimize the pollutant consumed by users and operational interventions using NSGA-II. Alfonso et al. (2010) implemented GA (for single-objective optimization) and NSGA-II (for multi-objective optimization) to minimize the number of polluted nodes and operational interventions. Unlike other pieces of research that focused on other objective functions (OFs) like maximizing flushing flow, minimizing distance traveled for operational intervention, unsuccessful flushing, water age, and water quality sensors numbers (Shafiee & Berglund 2015; Zafari et al. 2017; Bazargan-Lari 2018; Ciaponi et al. 2019), in current research, the focus is on two OFs. First, minimizing the total consumed contaminated water, and second, minimizing the operational interventions (valve closure/opening). This helps us minimize the pollutant's adverse effect on public health and operational costs.

In addition to hydraulically controlling pollution propagation, authorities can issue water advisories to limit the consumption of contaminated water by encouraging users to suspend their usage temporarily (Shafiee et al. 2018). Most studies neglected the immense effect of water demand variation during pollution intrusion incidents in their CM plan. Water demand changes can significantly change the network's hydraulic status and, consequently, the CM output. Preis & Ostfeld (2007) considered demand changes in their CM model by assuming that 30% of consumers continue their usual water consumption behavior and the remaining stop water usage. Several studies introduced agent-based models to simulate contaminant events in WDN and manage threats considering consumers' reactions to such events (Zechman 2011; Shafiee & Zechman 2013; Shafiee et al. 2018; Kadinski et al. 2022). Shafiee & Zechman (2013) introduced a socio-technical agent-based model in which consumers can reduce their consumption to address socio-technical aspects of pollutant intrusion in WDN. Then the reduced demand was applied in the hydraulic simulation.

Despite numerous studies discussing a wide range of CM plans and strategies, there is still a need to bridge a gap between simulation results and the actual situation of WDN during the contamination period. Most papers focused on optimization methods (algorithm) and/or OFs, while other factors related to WDN are yet to be examined. Factors like water demand variations during pollution incidents and pipeline leakage are necessary to be considered to achieve more reliable and realistic outcomes and mitigate the pollutant's adverse effects on people. To the authors' knowledge, the pipelines' leakage effect in the CM plan is not addressed in previous studies. Therefore, this paper aims to address a more realistic optimal CM strategy by developing a hydraulic simulation model that considers the actual water consumption scheme during the contamination intrusion as well as the WDN leakage.

To do so, water end users were asked to fill out the questionnaire to measure water demand changes during pollution incidents. Also, the minimum night flow (MNF) method was utilized to measure WDN's leakage. Moreover, PDA was implemented to perform hydraulic and water quality simulations. In addition, the multi-objective optimization method (NSGA-Ⅱ) was utilized to obtain the Pareto front of optimal solutions regarding OFs.

Considering all these issues, scenario-based simulations will better represent the WDN situation while facing contamination events and create a better opportunity for decision-makers to manage the pollution incident better.

This paper explicitly tries to answer the following questions:

  • 1.

    At what levels will water demand variations affect CM outcomes?

  • 2.

    How will considering WDN's leakage affect CM outcomes?

The rest of the paper proceeds as follows: Section 2 illustrates the problem description, simulation model, and methods used in this study. The case study is explained in Section 3. The results of the analysis are introduced in Section 4. Then, the discussions are drawn in Section 5. Finally, the conclusion is presented in Section 6.

The framework of the proposed method is illustrated in Figure 1. Assuming pollution is detected in the WDN, the hydraulic simulation (PDA) is performed by EPANET 2.2 (Rossman et al. 2020) software. The demand variation is calculated and updated in the hydraulic model. In addition, WDNs' leakage rate is measured and considered in the hydraulic model. Water quality analysis is then performed based on hydraulic results. Consequently, the OFs of the current study are calculated. This study does not consider pipe wall reactions, density, and decomposition. The simulation ends when the OFs reach the stopping criteria.
Figure 1

The proposed framework for optimal consequence management.

Figure 1

The proposed framework for optimal consequence management.

Close modal

Water demand changes during contaminant intrusion

Water demand and its changes are among the main factors affecting the hydraulic performance of a WDN (e.g., nodal pressure and water velocity). Therefore, any change in nodal water demand will affect the optimal response to contaminant intrusion. Any warning about the contaminant intrusion into the WDN will affect the water consumption behavior (Zechman 2011; Strickling et al. 2020). In the case of pollution entry into WDN, the authorities may warn people whether by ‘Do not use’ or ‘Boil water’ notice due to its potential health risks. These procedures are described by EPA (USEPA 2013). The current paper addresses water demand changes by evaluating consumers' reactions to such incidents through questionnaires, as Lindell et al. (2010) did.

To investigate demand changes, the authors specifically developed an appropriate questionnaire for the current study asking about water usage that consumers will continue during the contamination period. However, some people probably need to be aware of pollutant intrusion and continue their water usage as usual. Therefore, it is considered that a percentage of people continue their usual consumption.

A total of 120 respondents were selected randomly and interviewed in person. All respondents were connected to WDN. The interviews were conducted with one of the household members on behalf of the others living in the home. All water activities are categorized into three groups: drinking, sanitary, and unhygienic. Cooking and drinking are included in drinking usages; water used for shower, washbasin, cloth, dishes, and cleansing represent sanitary usages, and flush tank and green area irrigation represent unhygienic usages. Socio-economic variables considered while filling out the questionnaires are gender, level of education, age, employment status, marital status, having a child under 5 years old, the experience of similar events, and household expenses (Siegrist & Gutscher 2008; Marks et al. 2016). Survey data revealed that about 60% of respondents were under 30, 51% were female, 68% were single, 18% of married ones had children under 5 years old, and 50% were employed. Two-thirds of them had a higher education degree.

Leakage modeling

As no data is available for the leakage rate in the considered WDN, the authors decided to estimate the District Metered Area (DMA) leakage through the MNF method (Puust et al. 2010). Using Equation (1), leakage of the WDN is determined:
(1)

is the leakage rate of the network when MNF occurs, represents the minimum flow during the night, and is normal domestic night-time usage. The term NDNU is used here instead of NU (Night Usage) because it was assumed that there are only household users in the study area. If there is no real measurement for determining the MNF, it can be determined using the daily water demand pattern (AL-Washali et al. 2018), as the current study considers. NDNU is calculated by multiplying the active population at night by their normal night-time water usage.

Fixed and Variable Area Discharges (FAVAD) principle (Fox et al. 2014) is used to relate the discharge of nodes to the pressure (Equation (2)). This relationship makes it possible to calculate the network's leakage during a day with a known leakage rate when the MNF occurs.
(2)
is the leakage rate at time t, is leakage during MNF, is an average pressure at time t, is the average pressure when MNF happens. N varies from 0.5 for a fixed area leakage point in rigid pipes to 1.5 for a flexible area leakage point in plastic pipes. In this study, this term is equal to one. To calculate the daily leakage rate of the current case study, Equation (3) is used:
(3)
is the daily leakage in the DMA, and t represents the time steps in the simulation period, here 24 h (AL-Washali et al. 2018). As the total leakage of the network was calculated through the method mentioned above, the leakage will be considered in the simulation model using Equation (4) (Giustolisi et al. 2008):
(4)
, , and are leakage (l/s), length (m), and average pressure (mH2O) of pipe k, respectively. and are the two leakage model parameters. Allocating leakage to the two end nodes (i,j) can be performed by assuming that half of the total leakage from the pipe element occurs at each end node, as shown in Equation (5):
(5)
where equals ( + )/2. The value of is dependent on the rigidity and material of the pipe, and in this research, as mentioned in Giustolisi et al. (2008), its value is set to 1.2. is determined regarding the total leakage of the network. In other words, this parameter is calibrated for this network. Considering 1.2 for , and the total daily leakage calculated by Equation (6), the value of is calculated through Equation (4). Hence, all pipes' pressures and lengths were considered, and Equation (4) made it possible to calibrate the value of for this network.

Optimization model

Minimization of the adverse effect of the pollutant on public health and operational interventions were considered two OFs of this study. Also, the Non-dominated Sorting Genetic Algorithm (NSGA-Ⅱ) was selected as an optimization algorithm. NSGA-Ⅱ was chosen for the optimization method, which has already been used in many similar types of research (Preis et al. 2007; Alfonso et al. 2010; Rasekh & Brumbelow 2014; Bashi-Azghadi et al. 2017, 2018; Bazargan-Lari 2018; Ciaponi et al. 2019). The algorithm works through these six steps (Deb et al. 2000):

  • 1.

    Initial population generation by setting random strings (chromosomes);

  • 2.

    Evaluation of each string's fitness for all objectives;

  • 3.

    Sorting strings into Pareto fronts which each chromosome will be ranked through a non-domination algorithm;

  • 4.

    Crowding distance sorting within each Pareto front. Each front will be sorted using the crowding distance of each member. The crowding distance of each chromosome is the average distance between the fitness vector of all objectives of the chromosome and the fitness vector of all objectives of other members of that front.

  • 5.

    Generation of a new population using GA operations (selection, crossover, and mutation); and

  • 6.

    Stopping condition.

The most common criteria used for the termination of the algorithm consist of generation number limit, fitness value limit, and run-time limit (Bashi-Azghadi et al. 2017, 2018). In the current study, both the generation number limit and fitness value limit are considered as the algorithm termination criteria. The algorithm will be terminated if either one of these two criteria are met.

Minimizing the public health damage

To minimize the adverse effect of the pollutant on public health, it was decided to minimize the total mass of contamination (Equation (6)):
(6)
where i is the node index, N is the total number of consumer nodes, t is the time index and being considered after starting consequence management () until the entire simulation time, namely, . and are defined as the contamination concentration and the consumed water volume of node i at time t, respectively, retrieved from the hydraulic and quality simulations.

Minimizing the operational interventions

The second objective function is minimizing operational interventions. This objective function (Equation (7)) minimizes executive operations that consist of opening/closing hydrants or flow control valves (FCVs).
(7)
where indicates the number of available FCVs in the WDN, indicates the number of hydrants. k is the counter for FCV valves, and j is the counter for hydrant valves. and indicate the status of the hydrant jth and the FCV kth, respectively. Thus, if the hydrant j is open, is equal to one, and vice versa. In the case of FCV, is equal to one if the valve is closed.

Decision variables

The decision variables in the optimization model (Equation (8)) are the condition (open/close) of FCV (for isolation) and hydrants (for flushing). Initially, all the valves are in their normal state, i.e., the FCVs are open, and the hydrants are closed.
(8)
where and are the numbers of FCVs and hydrants in the WDN, respectively. and are sets of binary variables that determine the status of FCVs and hydrants.

Pollution intrusion scenarios definition

In the current study, the harmful pollutant concentration threshold is considered 0.05 mg/l, and the rate of pollutant entry is assumed to be 1,000 g/min (Zafari et al. 2017). The initiation time of pollution entrance to the WDN is set as 11:00 AM, which continues for 4 h (from 11:00 AM to 15:00). The water demand rates during this time interval present the worst case that could happen in the aspect of pollution propagation. The first node after the reservoir was selected for pollution entry because they are the most critical node for pollution injection (Zafari et al. 2017; Razavi et al. 2023).

CM starts 4 h after contamination entry (Zafari et al. 2017). This gap is because of the time needed for detection and reaction to pollution intrusion into the WDN, based on historical data about the study area. Therefore, 4 h is considered as the water utility's response time. Three hours after the pollution intrusion (from 14:00), when the pollution is detected in the WDN, officials start to inform people about the event (warning time).

At the beginning of the simulation, all FCVs are open, and the hydrants are closed. By the start of CM activities at 15:00, the status of valves will change and remain constant until the end of the simulation period, which lasts 24 h. Water quality analysis will also be performed to calculate the concentration of a pollutant at nodes with 3-min time steps when the contaminant enters the network. Desired pressure head is assumed to be 30 mH2O, and the minimum pressure head is zero. Defining minimum pressure to zero may bring operational problems that are part of this study's limitations.

This study considers four scenarios to evaluate leakage and demand changes' influence on CM. The first scenario (Sc. 1) is the base scenario that does not include demand changes and leakage simulation. The second scenario (Sc. 2) considers demand changes. The third scenario considers merely leakage. The last scenario considers both demand changes and pipelines' leakage. In Sc. 2, the demand changes happen gradually for 5 h. To determine how the demand decreases during the 5 h, ten experts working or having experience in the water sector asked us to give us a demand reduction scheme for hourly time steps. The calculation of demand reduction will be further discussed in Section 4.1. Figure 2 shows the fitted curve to the average demand reduction determined based on experts' judgments. Equation (9) is used for determining demand changes in 5 h. For instance, 2 h after the start of WDN contamination warnings, only 12.11% of the total demand reduction will be applied in the model.
(9)
where Y shows water consumption at each time of x, which varies from 1 to 5 h.
Figure 2

The considered pattern for gradual demand reduction in Sc. 2.

Figure 2

The considered pattern for gradual demand reduction in Sc. 2.

Close modal
A part of the Tehran WDN (Figure 3) was selected for the case study. The network has one reservoir with a fixed head, 328 demand nodes, and 368 pipes, serving about 20,000 people. The elevation of the reservoir is equal to 1,239.7 m. The highest demand node is at an altitude of 1,172 m, and the lowest is at an altitude of 1,117 m. The minimum discharge rate of a node is 0.02 l/s, and the maximum demand is 3.25 l/s. The diameter of pipes used in this network varies from 32 to 900 mm. According to the Tehran water corporation data, the per capita water demand in the region is 250 lpcd. This network contains nine FCVs and six hydrants, as shown in Figure 3. More details on pipes' diameter ranges can be found in Figure 4, and the daily demand pattern is shown in Figure 5.
Figure 3

WDN of the case study and location of valves.

Figure 3

WDN of the case study and location of valves.

Close modal
Figure 4

The histogram of pipes' diameter distribution in WDN of the study area.

Figure 4

The histogram of pipes' diameter distribution in WDN of the study area.

Close modal
Figure 5

Daily water demand pattern of the case study.

Figure 5

Daily water demand pattern of the case study.

Close modal

Four different scenarios were considered in this study to investigate better the effect of demand variation and pipelines' leakage on the CM plan.

Demand changes

The shares of water activities that will continue during the study area's contamination period were examined. As shown in Table 1, less than 0.5% of people continue drinking and cooking with contaminated water. After analyzing data obtained from 120 respondents, the consumption reduction rate while pollution is confirmed in WDN is 88%. This study assumes that 20% of people will continue their normal water usage without any change because they are unaware of water pollution in WDN or may not take warnings seriously, as Preis & Ostfeld (2007) and Lindell (2018) considered. Therefore, there will be a reduction of about 68% in demand in the study area. Therefore, the water demand considered in the model is 80 lpcd.

Table 1

People's water activities during the crisis

Water usageWater activityConsumers (%)
Drinking Cooking 0.53 
Drinking 0.53 
Sanitary Shower 4.76 
Wash basin 9.52 
Laundry 8.99 
Doing the dishes 5.29 
Cleansing 18.52 
Unhygienic Flush tank 26.98 
Green area 24.87 
Water usageWater activityConsumers (%)
Drinking Cooking 0.53 
Drinking 0.53 
Sanitary Shower 4.76 
Wash basin 9.52 
Laundry 8.99 
Doing the dishes 5.29 
Cleansing 18.52 
Unhygienic Flush tank 26.98 
Green area 24.87 

Leakage analysis

Access limitations to acquiring actual data make authors calculate leakage through data provided by simulation results. The MNF method was used to address the network's leakage rate. According to the daily demand pattern, MNF occurs at 4 AM, with a rate of 55.23 l/s, while the average pressure of the network at this time is 46.8 mH2O.

To calculate the consumers' consumption during MNF, the active population is assumed to be 6% of the total population, with a consumption of 3.3 liter/person/hour (AL-Washali et al. 2018). The normal night usage is calculated, which is equal to 1.1 l/s. By subtracting MNF from NDNU (Equation (1)), the leakage is measured as 54.13 l/s. Using Equation (2), the leakage during the simulation period is estimated. Figure 6 shows the leakage, pressure, and flow during the simulation period. The total daily leakage of the network (Equation (3)) is calculated as about 20% of the total nodal demand.
Figure 6

Leakage, flow, and pressure changes in the considered WDN during a day.

Figure 6

Leakage, flow, and pressure changes in the considered WDN during a day.

Close modal
The leakage is implemented in the network through Equation (4). By calculating the total daily leakage of the network through Equation (3), setting α to 1.2, and considering all pipes and estimated pressure of nodes (Equation (4)), the β coefficient was calibrated for the current study and was set to 1.5350*10−4. This paper postulates that leakage is present in a specific subset of links, comprising 20 links, as visually represented in Figure 7. These links were selected among the long ones (longer than 2.3 m) or those with smaller diameters (smaller than 50 mm). These kinds of pipes have a higher chance of leakage based on the literature, so the estimated leakage is assigned to these pipes. Using Equation (5), the leakage is allocated to two end nodes of the selected pipes as an extra pressure-dependent water demand.
Figure 7

Location of pipes in which leakage occurs.

Figure 7

Location of pipes in which leakage occurs.

Close modal

CM results

As CM results are divided into four different scenarios, the main characteristics of these scenarios are summarized in Table 2.

Table 2

Main characteristics of different scenarios

ScenarioDemand reduction (Sec. 2.3 and Sec. 2.6.1)Leak consideration (Sec. 2.2)Objective functionsOptimization algorithmNumber of polluted nodes
– – Public health adverse effects and operational interventions minimization NSGA-Ⅱ ✓ 
✓ – Same as Sc. 1 NSGA-Ⅱ ✓ 
– ✓ Same as Sc. 1 NSGA-Ⅱ ✓ 
✓ ✓ Same as Sc. 1 NSGA-Ⅱ ✓ 
ScenarioDemand reduction (Sec. 2.3 and Sec. 2.6.1)Leak consideration (Sec. 2.2)Objective functionsOptimization algorithmNumber of polluted nodes
– – Public health adverse effects and operational interventions minimization NSGA-Ⅱ ✓ 
✓ – Same as Sc. 1 NSGA-Ⅱ ✓ 
– ✓ Same as Sc. 1 NSGA-Ⅱ ✓ 
✓ ✓ Same as Sc. 1 NSGA-Ⅱ ✓ 

Scenario 1 (base scenario)

In this particular scenario, consumers are presumed to have their regular consumption patterns without any additional factors taken into account. The water direction and the condition of nodes are depicted in Figure 8, indicating whether they are contaminated (red nodes) or clear (yellow nodes) at the conclusion of the response delay (15:00). At this point, a total of 23,505 nodes were identified as infected nodes, characterized by a pollution concentration exceeding 0.05 mg/l. Optimization parameters applied in all scenarios are given in Table 3 (Bashi-Azghadi et al. 2018). The optimization results are presented in Figure 9. This figure shows the total contamination exposure (TCE) via a different number of operations used for the CM. According to the results, without performing any action, contamination exposure is about 184 kg. By three actions, it reduces to about 136 kg (48 kg decrease equivalent to 26% reduction) and almost remains constant for more operations.
Table 3

The selected values for the optimization algorithm's parameters

Optimization parametersValue
Crossover probability 0.8 
Mutation probability 0.1 
Maximum generations 100 
Population size 50 
Optimization parametersValue
Crossover probability 0.8 
Mutation probability 0.1 
Maximum generations 100 
Population size 50 
Figure 8

Contaminated nodes at the end of response delay (15:00).

Figure 8

Contaminated nodes at the end of response delay (15:00).

Close modal
Figure 9

Pareto front of optimal solutions for Sc. 1.

Figure 9

Pareto front of optimal solutions for Sc. 1.

Close modal
To better understand pollution propagation in the network, the number of polluted nodes (NPNs) are calculated through Equation (10). NPN represents the nodes at each quality analysis time step that contamination concentration exceeds the desired threshold (here is assumed as 0.05 mg/l). The number of polluted nodes can be used to calculate the damage of any given node at least at one time step during the entire simulation period (Alfonso et al. 2010). These nodes are reported when no CM action is used; therefore, NPN reported here is the maximum NPN in each scenario.
(10)
where i represents the consumer node index, N indicates the total number of consumer nodes, ts and tend represent the beginning and ending time of the simulation, respectively. represents contaminant concentration in node i at time t, allowed contaminant threshold based on local standards. is a binary variable equal to one when the contaminant concentration exceeds the allowable threshold in node i at time t; otherwise, it equals zero.

Maximum NPN is calculated for this scenario, equal to 33,497. Hence, 33,497 nodes experienced a pollution concentration of more than 0.05 during the simulation period at each time step. Selected valves and TCE regarding optimization results are presented in Table 4. According to the results, V1, V3, V6, and H4 were the most chosen valves in most results sets. The given results in Table 4 which refer to the base scenario, the mostly selected valves are located close to the reservoir where the pollution intrusion happens. Therefore, closing these valves prevents further pollution of the network. Furthermore, the selected hydrants are located at a point that could be the destination of waterflow in WDN. In that case, it can efficiently take out the pollution from the system.

Table 4

Selected valves by the optimizer and TCE

Set of valves012345678
Hydrants – – – – H4 H4 H4 H4 H4 
FCVs – V6 V6, V2 V3, V1, V6 V3, V1, V6 V3, V8, V1, V6 V3, V1, V6, V5, V2 V3, V9, V1, V6, V5, V2 V3, V4, V9, V1, V6, V5, V2 
TCE (kg) 184 154.34 147.21 136.66 135.71 135.54 135.38 135.24 135.16 
Set of valves012345678
Hydrants – – – – H4 H4 H4 H4 H4 
FCVs – V6 V6, V2 V3, V1, V6 V3, V1, V6 V3, V8, V1, V6 V3, V1, V6, V5, V2 V3, V9, V1, V6, V5, V2 V3, V4, V9, V1, V6, V5, V2 
TCE (kg) 184 154.34 147.21 136.66 135.71 135.54 135.38 135.24 135.16 

Scenario 2

Demand reduction occurred in this scenario, as mentioned in Sections 2.1 and 4.1, which is a 68% reduction in all consumption nodes during 5 h. Under the conditions of this scenario, the TCE decreased significantly to about 30 kg when no action was taken (compared to Sc. 1). The optimization results of this scenario are presented in the form of the Pareto front in Figure 10. According to this graph, there would be roughly a 6 kg reduction in contamination exposure by utilizing a set of actions during the simulation period.
Figure 10

Pareto front of optimal solutions for Sc. 2.

Figure 10

Pareto front of optimal solutions for Sc. 2.

Close modal

Table 5 shows a different set of valves the optimization model selects when various operations are considered. Besides a considerable reduction in TCE, there is a difference in the chosen valves compared to the first scenario. Regarding the differences in results of different scenarios, it should be mentioned that, in each scenario, the hydraulic condition of the WDN, including pipes flow and its direction as well as velocity change due to changes in water demand. As a result, the pollution propagation scheme in WDN changes considerably, so that different valves and hydrants are used for control of pollution propagation and taking it out of the WDN. This disparity is evident in Table 5, wherein the most selected valves in Sc. 2 are H2, V1, V2, and V3, diverging from those in Sc. 1.

Table 5

Valves selected by optimizer and TCE

Set of valves01234
Hydrants – – – H2 H2 
FCVs – V1 V2, V1 V3, V1 V3, V1, V2 
TCE (kg) 154.7 152.34 151.8 149.14 148.25 
Set of valves01234
Hydrants – – – H2 H2 
FCVs – V1 V2, V1 V3, V1 V3, V1, V2 
TCE (kg) 154.7 152.34 151.8 149.14 148.25 

Scenario 3

In this scenario, CM's results are presented regarding pipeline leakage. As shown in Figure 11, implementing a set of actions would cause nearly a 56 kg reduction in contaminant exposure. Maximum NPN reported as 33,497 in this scenario. Table 6 presents a selected set of valves proposed by the optimizer and the TCE. It is evident from both Sc. 2 and Sc. 3 that leakage and demand reduction have a substantial impact on the overall network status, leading to variations in the CM output. Consequently, these results emphasize the importance of considering both leakage and demand reduction in the decision-making process for effective contaminant management.
Table 6

Valves selected by the optimizer

Set of valves0123456
Hydrants – – – – H1 H1, H4 H4 
FCVs – V6 V2, V6 V3, V1, V6 V3, V1, V6 V3, V1, V6 V3, V9, V1, V6, V2 
TCE (kg) 171.02 144.31 138.45 123.63 120.61 119.4 115.12 
Set of valves0123456
Hydrants – – – – H1 H1, H4 H4 
FCVs – V6 V2, V6 V3, V1, V6 V3, V1, V6 V3, V1, V6 V3, V9, V1, V6, V2 
TCE (kg) 171.02 144.31 138.45 123.63 120.61 119.4 115.12 
Figure 11

Multi-objective solutions regarding leakage (Sc. 3).

Figure 11

Multi-objective solutions regarding leakage (Sc. 3).

Close modal

Scenario 4

In this scenario, water demand variation and water network leakage are considered simultaneously. This scenario's optimization results are presented in Figure 12. The maximum contamination exposure is 124.44 kg which can be reduced to nearly 114 kg by five actions. Considering leakage and demand reduction in the simulation model make a 60 kg reduction in the determination of TCE (in comparison with Sc. 1) while no action is utilized.
Figure 12

Pareto front of optimal solutions regarding leakage and demand changes.

Figure 12

Pareto front of optimal solutions regarding leakage and demand changes.

Close modal

NPN in the last scenario of this study is 34,932, which indicates a considerable surge compared to Sc. 1. Table 7 shows the five different sets of actions and the amount of contamination exposure. Whether comparing the TCE or set of actions proposed by the optimizer, there is a meaningful difference in the CM output between this scenario and the other ones.

Table 7

Valves selected by the optimizer

Number of operations012345
Hydrants – – – H1 H1, H4 H1, H4 
FCVs – V8 V4, V8 V1, V3 V1, V3 V1, V3, V8 
TCE (kg) 124.44 124.42 124.42 117.12 113.99 113.97 
Number of operations012345
Hydrants – – – H1 H1, H4 H1, H4 
FCVs – V8 V4, V8 V1, V3 V1, V3 V1, V3, V8 
TCE (kg) 124.44 124.42 124.42 117.12 113.99 113.97 

Different scenarios show a significant change in the TCE compared to Sc. 1, where demand and/or leakage are not considered without executive action. This indicates that neglecting demand changes and leakage leads to incorrect estimations of the network's hydraulic and water quality status. Furthermore, the selected valves may not be optimal for controlling and removing pollutants. Each scenario imposes its unique hydraulic situation on the CM output. This is the main reason that each scenario has a different CM output. Demand reduction leads to maximum contaminated nodes (maximum NPN). At the same time, the scenario with leakage consideration makes contaminated nodes the minimum ones. Using Sc. 4 makes it possible to reduce about 32% of polluted water exposure without employing any administrative operations, whereas employing all capacity of valves in Sc. 1 merely reduces contamination exposure by nearly 26%. These reports acknowledge the fact that demand and leakage are highly effective when it comes to deciding the proper action in CM plans during the contamination period.

Any changes in water demand will play a significant role in changing the hydraulic state of the water network and the contamination propagation, consequently, the outputs of CM. When demand reduction applies, a 30 kg reduction occurs in contamination exposure. Leakage modeling (Sc. 3) lessens the TCE by about 13 kg. In other words, 13 kg of polluted water is getting out of the system through leakage, which Sc. 1 does not consider in the results. By utilizing a set of operational actions in this scenario, there would be a 10 kg reduction. Scenarios 2–4 encompass the analysis of demand variations occurring during pollution intrusion periods, network leakage, and the simultaneous simulation of these events. The inclusion of these factors significantly impacts the hydraulic and quality conditions of the network. Consequently, nodal pressure, velocity, water age, pollution propagation, flow rate, and flow direction exhibit differences compared to Sc. 1, which does not account for such factors. Therefore, the varying selection of valves by the optimizer in different scenarios can be attributed to these influential factors.

The leakage amount in this research was estimated to be 20% of the total water demand, which might appear substantial. However, it is essential to note that this value is derived from existing literature and previous studies conducted in similar regions to the study area. For example, Serafeim et al. (2022) highlighted that outdated and poorly maintained WDNs could lead to actual losses reaching as high as 70–80% of the system input volume. Conversely, well-maintained and monitored networks might experience only a 7% loss of the system input volume. Additionally, AL-Washali et al. (2018) reported a leakage rate of 24.1%. Furthermore, research by Ghobadian & Mohammadi (2023) and Negharchi & Shafaghat (2020) indicated leakage percentages of 12.7–29.4% and 28–37%, respectively, in a case study conducted in Iran, which is where our study area is also located.

NPN in Sc. 2 is 35,816, which means 35,816 nodes were infected during the simulation period. Although contamination exposure noticeably declined, NPN surged due to the more extended presence of contamination in the network. Before 3 PM, when the water demand pattern is under normal conditions, the pipes' flow and velocity are higher; therefore, the pollution propagation speed is higher. A more significant part of the network is expected to be contaminated. However, after demand reduction, the pipes' velocity reduction leads to a more extended existence of contamination in the WDN. Therefore, it is inferred that if no action is taken, demand reduction causes an increment in the number of contaminated nodes (compared to Sc. 1). There is a gentle reduction in the maximum NPN from 33,497 in Sc. 1 to 32,996 in the third scenario. Therefore, leakage consideration reduces the pollution propagation in the WDN.

Table 8 summarizes the results of different scenarios considered in the current study. The minimum and maximum pollution exposure, maximum infected nodes, and some operational interventions are presented in this table.

Table 8

The main results of the considered scenarios

ScenarioMax. NPNMin. exposure (kg)Max. exposure (kg)Exposure reduction compared to Sc. 1 with no action utilization (%)Executive operationsExposure after employing the selected operations (kg)
33,497 135 (8 actions) 184 – 154.35 
136.67 
135.39 
35,816 148.25 (4 actions) 154.7 16 152.34 
151.8 
148.25 
32,996 115.12 (6 actions) 171 7.06 144.32 
123.63 
115.12 
34,932 113.97 (5 actions) 124.44 32 124.42 
117.12 
113.97 
ScenarioMax. NPNMin. exposure (kg)Max. exposure (kg)Exposure reduction compared to Sc. 1 with no action utilization (%)Executive operationsExposure after employing the selected operations (kg)
33,497 135 (8 actions) 184 – 154.35 
136.67 
135.39 
35,816 148.25 (4 actions) 154.7 16 152.34 
151.8 
148.25 
32,996 115.12 (6 actions) 171 7.06 144.32 
123.63 
115.12 
34,932 113.97 (5 actions) 124.44 32 124.42 
117.12 
113.97 

According to Table 8, the lowest NPN occurs in Sc. 1, while the highest happens in Sc. 2. Although leakage and demand reduction in Scenarios 2 and 3 caused a decrease in TCE by consumers, the most reduction occurred in Scenario 4 (32%). Minor exposure occurred in Sc. 4 by 124.44 kg. These measurements demonstrate the considerable role of these considerations on the CM output.

In this study, the optimal CM of pollutant entry into the WDN was done under two OFs minimizing the TCE and minimizing executive operations. According to existing related works, these OFs are a good indicator of public health status and administrative costs. NSGA-Ⅱ algorithm was utilized for this purpose.

This research tried to make the WDN simulation closer to reality during the pollution intrusion to achieve more reliable results for CM. For this purpose, the effect of demand change during the pollution incident and pipelines' leakage on the CM results is investigated through four scenarios. According to the results, the total daily leakage of the network is about 20% of the total nodal demand, and 88% of the water demand will be reduced when such an incident happens. The first scenario's results were reported without demand variation or leakage effects. The second scenario measured the impact of water demand variations on CM outputs. The third scenario reported the effects of the pipeline's leakage on CM outputs. Eventually, the fourth scenario reported the effects of simultaneous consideration of demand changes and leakage. It can be argued that the scenario of considering both leakage and demand changes should be used as a basis for decision-making about the CM since this scenario's proposed decisions are closer to the network's actual state than the others.

The model introduced here does not consider uncertainties about contamination source identification, pollution concentration, time, and duration of intrusion, but it is developed for the worst-case scenario. In the current study, the pollution intrusion node, time and period of intrusion, and its origin are assumed to be predefined. Therefore, further studies must undertake these uncertainties to address a more realistic situation. In addition, the hydraulic and leakage models need to be calibrated due to a lack of appropriate data. The nodes in which demand reduction occurs in this study, due to the almost small size of the network and lack of sufficient data, are assumed to be all consumption nodes, which is not a realistic assumption. Hence, there should be further studies to bridge this gap.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Alfonso
L.
,
Jonoski
A.
&
Solomatine
D.
2010
Multi-objective optimization of operational responses for contaminant flushing in water distribution networks
.
Journal of Water Resources Planning and Management
136
(
1
),
48
58
.
doi:10.1061/(ASCE)0733-9496(2010)136:1(48)
.
Al-Washali
T.
,
Sharma
S.
,
Al-Nozaily
F.
,
Haidera
M.
&
Kennedy
M.
2018
Modelling the leakage rate and reduction using minimum night flow analysis in an intermittent supply system
.
Water
11
(
1
),
48
.
doi:10.3390/w110100
.
Baranowski
T. M.
&
LeBoeuf
E. J.
2006
Consequence management optimization for contaminant detection and isolation
.
Journal of Water Resources Planning and Management
132
(
4
),
274
282
.
doi:10.1061/(ASCE)0733-9496(2006)132:4(274)
.
Baranowski
T. M.
&
LeBoeuf
E. J.
2008
Consequence management utilizing optimization
.
Journal of Water Resources Planning and Management
134
(
4
),
386
394
.
doi:10.1061/(ASCE)0733-9496(2008)134:4(386)
.
Bashi-Azghadi
S. N.
,
Afshar
M. H.
&
Afshar
A.
2017
Multi-objective optimization response modeling to contaminated water distribution networks: pressure driven versus demand driven analysis
.
KSCE Journal of Civil Engineering
21
(
6
),
2085
2096
.
doi:10.1007/s12205-017-0447-7
.
Bashi-Azghadi
S. N.
,
Afshar
A.
&
Afshar
M. H.
2018
Multi-period response management to contaminated water distribution networks: dynamic programming versus genetic algorithms
.
Engineering Optimization
50
(
3
),
415
429
.
doi:10.1080/0305215X.2017.1318871
.
Bazargan-Lari
M. R.
2018
Real-time response to contamination emergencies of urban water networks
.
Iranian Journal of Science and Technology – Transactions of Civil Engineering
42
(
1
),
73
83
.
doi:10.1007/s40996-017-0071-2
.
Ciaponi
C.
,
Creaco
E.
,
Di Nardo
A.
,
Di Natale
M.
,
Giudicianni
C.
,
Musmarra
D.
&
Santonastaso
G. F.
2019
Reducing impacts of contamination in water distribution networks: a combined strategy based on network partitioning and installation of water quality sensors
.
Water
11
(
6
),
1315
.
doi:10.3390/w11061315
.
Deb
K.
,
Agrawal
S.
,
Pratap
A.
&
Meyarivan
T.
2000
A fast elitist non-dominated sorting genetic algorithm for multi-objective optimization: NSGA-II
. In:
International Conference on Parallel Problem Solving From Nature
.
Springer
,
Berlin, Heidelberg
, pp.
849
858
.
Fox
S.
,
Collins
R.
&
Boxall
J.
2014
Dynamic leakage: physical study of the leak behaviour of longitudinal slits in MDPE pipe
.
Procedia Engineering
286
289
.
doi:10.1016/j.proeng.2014.11.189
.
Ghobadian
R.
&
Mohammadi
K.
2023
Optimal design and cost analysis of water distribution networks based on pressure-dependent leakage using NSGA-II
.
Applied Water Science
13
(
4
),
1
16
.
https://doi.org/10.1007/S13201-023-01888-4/TABLES/15
.
Giustolisi
O.
,
Savic
D.
&
Kapelan
Z.
2008
Pressure-driven demand and leakage Simulation for water distribution networks
.
Journal of Hydraulic Engineering
134
(
5
),
626
635
.
Kadinski
L.
,
Berglund
E.
&
Ostfeld
A.
2022
An agent-based model for contamination response in water distribution systems during the COVID-19 pandemic
.
Journal of Water Resources Planning and Management
148
(
8
),
04022042
.
Lindell
M. K.
2018
Communicating imminent risk
. In:
Handbooks of Sociology and Social Research
, pp.
449
477
.
https://doi.org/10.1007/978-3-319-63254-4_22/COVER
Lindell
M. K.
,
Mumpower
J.
,
Wu
H. C.
&
Hwang
S. K.
2010
Perceptions and expected responses to a water contamination emergency, hrrc.arch.tamu.edu
.
Marks
S.
,
Schertenleib
A.
,
Biaou
S. S.
,
Vogt
K.
,
Salifou
B.
,
Ndyamukama
M.
,
Kabore
I.
,
Houweling
E.
,
Vyamana
V. G.
,
Abbott
V.
&
Renwick
M.
&
Eawag/Sandec, Switzerland
2016
Measuring the impact of multiple-use water services in Tanzania and Burkina Faso: water service quality, nutrition, and health Type: Short Paper
.
Moghaddam
A.
,
Afsharnia
M.
,
Mokhtari
M.
&
Peirovi-Minaee
R.
2022
Management and health risk assessment of chemical contamination events in water distribution systems using PSO
.
Environmental Monitoring and Assessment
194
,
362
.
https://doi.org/10.1007/s10661-021-09676-w
.
Negharchi
S. M.
&
Shafaghat
R.
2020
Leakage estimation in water networks based on the BABE and MNF analyses: a case study in Gavankola Village, Iran
.
Water Supply
20
(
6
),
2296
2310
.
https://doi.org/10.2166/WS.2020.137
.
Poulin
A.
,
Mailhot
A.
,
Grondin
P.
,
Delorme
L.
,
Periche
N.
&
Villeneuve
J. P.
2008
Heuristic approach for operational response to drinking water contamination
.
Journal of Water Resources Planning and Management
134
(
5
),
457
465
.
Poulin
A.
,
Mailhot
A.
,
Periche
N.
,
Delorme
L.
&
Villeneuve
J. P.
2010
Planning unidirectional flushing operations as a response to drinking water distribution system contamination
.
Journal of Water Resources Planning and Management
136
(
6
),
647
657
.
Preis
A.
&
Ostfeld
A.
2007
A contamination source identification model for water distribution system security
.
Engineering Optimization
39
(
8
),
941
947
.
doi:10.1080/03052150701540670
.
Preis
A.
,
Mayorchik
Y.
&
Ostfeld
A.
2007
Multi-objective contaminant detection response model
. In:
World Environmental and Water Resources Congress 2007
.
American Society of Civil Engineers
,
Reston, VA
, pp.
1
12
.
doi:10.1061/40927(243)528
.
Puust
R.
,
Kapelan
Z.
,
Savic
D. A.
&
Koppel
T.
2010
A review of methods for leakage management in pipe networks
.
Urban Water Journal
7
(
1
),
25
45
.
doi:10.1080/15730621003610878
.
Rasekh
A.
&
Brumbelow
K.
2014
Drinking water distribution systems contamination management to reduce public health impacts and system service interruptions
.
Environmental Modelling & Software
51
,
12
25
.
doi:10.1016/J.ENVSOFT.2013.09.019
.
Razavi
S. G.
,
Nazif
S.
&
Ghorbani
M.
2023
Community resilience and consequence management of pollution intrusion into water distribution network: A case study
.
Society & Natural Resources
36
,
821
839
.
Rossman
L.
,
Woo
H.
,
Tryby
M.
,
Shang
F.
,
Janke
R.
&
Haxton
T.
2020
EPANET 2.2 User Manual
.
U.S. Environmental Protection Agency, EPA/600/R-20/133
,
Washington, DC
.
Shafiee
M. E.
&
Berglund
E. Z.
2015
Real-time guidance for hydrant flushing using sensor-hydrant decision trees
.
Journal of Water Resources Planning and Management
141
(
6
),
04014079
.
doi:10.1061/(ASCE)WR.1943-5452.0000475
.
Shafiee
M. E.
&
Zechman
E. M.
2013
An agent-based modeling framework for socio-technical simulation of water distribution contamination events
.
Journal of Hydroinformatics
15
(
3
),
862
880
.
doi:10.2166/hydro.2013.158
.
Shafiee
M. E.
,
Berglund
E. Z.
&
Lindell
M. K.
2018
An agent-based modeling framework for assessing the public health protection of water advisories
.
Water Resources Management
32
(
6
),
2033
2059
.
doi:10.1007/s11269-018-1916-6
.
Siegrist
M.
&
Gutscher
H.
2008
Natural hazards and motivation for mitigation behavior: people cannot predict the affect evoked by a severe flood
.
Risk Analysis
28
(
3
),
771
778
.
doi:10.1111/j.1539-6924.2008.01049.x
.
Strickling
H.
,
DiCarlo
M. F.
,
Shafiee
M. E
&
Berglund
E.
2020
Simulation of containment and wireless emergency alerts within targeted pressure zones for water contamination management
.
Sustainable Cities and Society
52
,
101820
.
Tabesh
M.
,
Shirzad
A.
,
Arefkhani
V.
&
Mani
A.
2014
A comparative study between the modified and available demand driven based models for head driven analysis of water distribution networks
.
Urban Water Journal
11
(
3
),
221
230
.
doi:10.1080/1573062X.2013.783084
.
USEPA
2013
Water Security Initiative: Interim Guidance on Developing Risk Communication Plans for Drinking Water Utilities
.
Available from: www.epa.gov/watersecurity.
Zafari
M.
,
Tabesh
M.
&
Nazif
S.
2017
Minimizing the adverse effects of contaminant propagation in water distribution networks considering the pressure-driven analysis method
.
Journal of Water Resources Planning and Management
143
(
12
),
04017072
.
doi:10.1061/(ASCE)WR.1943-5452.0000848
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY-NC-ND 4.0), which permits copying and redistribution for non-commercial purposes with no derivatives, provided the original work is properly cited (http://creativecommons.org/licenses/by-nc-nd/4.0/).