The optimal segment division technique based on scenarios was proposed in this study for reducing the damage derived from the water outage that occurs in the isolated area by determining the locations for dividing large-scale segments and reinforcing the WDS through additional shut-off valves. The proposed technique determines the optimal valve location in four steps.
Figure 1 shows the process of dividing segments based on the optimal valve location.
In Step 1, the damage from undelivered water occurring in the WDS is identified quantitatively based on the component information and a hydraulic analysis model of WDSs (e.g., EPANET 2.2) [
13] that has been verified and corrected. The relevant data are obtained using EPANET 2.2, scientific programming language (MATLAB) [
14], and the EPANET toolkit [
15]. The information, including the ID, location, and demand number of the components constituting the network, such as nodes, pipes, and valves, is used as an input in the optimal valve location determination model. The segments in which damage from undelivered water occurs are explored by building a matrix representing the connection status of the components and valve locations based on the collected information. Valves are closed to create isolated areas, which are referred to as “segments” [
5]. These segments act as isolated zones, and the segment is blocked in terms of the water supply to allow for the system repairs. The damage from undelivered water can be identified according to the segment configuration through the closure of shut-off valves. In the WDS, the damage from undelivered water can be divided into direct damage and indirect damage [
16]. Direct damage means the damage from undelivered water through valve closing (i.e., segment, unintended isolation), while indirect damage means damage such as pressure drop and supply shortage in surrounding nodes due to valve closing for the repair or maintenance of pipes. Damage from undelivered water caused by the valve closing occurs not only in the segment but also in unintended isolations. Jun and Loganathan [
8] define an unintended isolation as an area where the pipe is unintentionally blocked when isolating the segment. To quantify the damage from undelivered water, this study considered as the sum of undelivered water demand in the segment and unintended isolation. The degree of damage from undelivered water becomes the criterion for deciding the reinforcement priority of isolated areas; if the damage from undelivered water in a particular area exceeds 10% of the entire damage, the area is selected as a large-scale segment. The selected large-scale segments can be divided through additional shut-off valves, and then the conduit belonging to the selected area is set as the candidate for installing the valve. The optimal valve location for minimizing the damage from undelivered water is explored among the group of candidates.
2.1. Segment Identification and Large-Scale Segment Selection
Segments refer to the areas isolated by a shut-off valve in the WDS and the areas where damage from undelivered water occurs due to the suspension of the water supply when the valve installed near the incident location is closed due to abnormal conditions. The demand quantity of nodes belonging to a segment can be converted into the degree of damage from undelivered water, which then becomes the quantitative criterion for determining the priority of installing additional shut-off valves. However, due to the complex composition of WDSs, an efficient method is required to explore segment locations and assess the degree of damage from undelivered water.
Therefore, this study utilized the segment identification algorithm (SIA) proposed by Jun and Loganathan [
8] to systematically analyze the degree of damage from undelivered water and identify the segment locations. The SIA explores segments by constructing a Nord-ark matrix (NAM), valve location matrix (VLM), and valve deficiency matrix (VDM) consisting of nodes (rows) and pipes (columns). The NAM represents the connections between nodes and pipes, where “1” indicates that the node and conduit at each location are connected, and “0” indicates otherwise. The VLM is a matrix of the same size as the NAM, where “1” indicates the location of a valve installed between a node and the conduit, and “0” indicates otherwise. The VDM represents the locations where a valve is not installed, based on the difference between the NAM and VLM, with “1” indicating the absence of a valve and “0” indicating the presence of a valve. The SIA proceeds as follows. (1) Construct the NAM, VLM, and VDM using the location information of the components constituting the WDS. (2) Save the column number by identifying the locations with a value of “1” in the VDM. (3) Save the row number with a value of “1” by exploring the saved column number in the row direction. (4) Save the column number with a value of “1” by exploring the numbers saved in (3) in the column direction or terminate the exploration if location information is not available. (5) Save the numbers of the saved nodes and pipes as segment components. (6) Set the value of the saved components to “0” to distinguish the explored segments and repeat this process until all the components of the VDM have a value of “0”.
Figure 2 and
Table 1 present the network created to demonstrate the application results of the SIA, where the assumed demands of the node and valve locations are depicted. This network has six nodes connected to a reservoir and four installed valves.
Figure 2 is an example to describe the concept of the segment, the unintended isolation, and the derived damage from undelivered water.
In
Table 1, the maximum damage from undelivered water caused by vale closing is identified as Segment 2. Segment 2 directly includes Node 3 and Node 4 (150 CMH), and the closing of Valve 3 causes unintentional isolation, leading to damage from undelivered water to Node 5 and Node 6 (150 CMH). This caused the most damage from undelivered water among the segments, comprising a total undelivered water demand of 300 CMH. The maximum damage from undelivered water can be reduced from 300 CMH to 150 CMH by installing an additional valve on Pipe 5.
In this study, large-scale segments were selected to determine the priority of damage reduction. While installing additional shut-off valves at all the nodes is effective in preventing damage spread and minimizing its extent, prioritization is necessary when there are limitations in the installation period and the number of valves that can be installed. Therefore, isolated areas encompassing at least 10% of the total demand in terms of the damage from undelivered water were identified as large-scale segments. Subsequently, an optimal valve location was determined to minimize the damage for segments with the highest damage from undelivered water among the selected segments.
2.3. Determination of Optimal Valve Location
The location of additional shut-off valves for segment division was determined using the Harmony Search (HS) algorithm, which was proposed by Geem et al. [
17]. The HS is an optimization algorithm that mimics the process of musicians playing various instruments to create a harmonious performance, analogous to finding the optimal solution through iterative calculations. The algorithm involves several key parameters: Harmony Memory Size (HMS), which determines the number of memories that can be saved; Harmony Memory Considering Rate (HMCR), which governs the global search through random or existing memories; and Pitch Adjusting Rate (PAR), which facilitates the local search by adjusting the generated memories. The HS algorithm is executed as follows:
- (1)
An initial solution is generated based on the specified HMS.
- (2)
The HMCR is applied to the initial solution, resulting in the creation of a new solution.
- (3)
The PAR is applied to the new memory, adjusting the solution further.
- (4)
The generated memory is compared to the existing memory and evaluated based on whether it minimizes or maximizes the objective function. If necessary, the memory is replaced.
- (5)
The algorithm continues until the stopping conditions, such as the maximum number of iterations, are met. The solution that satisfies the constraints and objective function is selected as the optimal solution.
This is a simplified explanation of the HS algorithm and its steps. This algorithm is a metaheuristic optimization method that can be applied to various optimization problems, including determining the optimal location of additional shut-off valves in the context of segment division.
The optimal valve location determination model developed in this study follows the procedure illustrated in
Figure 4, using the Harmony Search (HS) algorithm. The following is an overview of the steps involved. (1) Randomly select locations for the number of valves to be installed in the pipes within the previously selected large-scale segments. (2) Calculate the damage from undelivered water for the segments that have been divided by the valves installed at the respective locations. (3) Explore new valve locations using the HMCR or PAR and calculate the damage from undelivered water for the divided segments. (4) If the newly selected valve location results in a greater reduction in damage from undelivered water compared to the previously selected valve location, add it to the list of candidates. (5) In Scenario 1, stop the execution if the optimal location is determined for the set number of valves or within the set number of iterations. In Scenario 2, as the number of valves being installed is divided according to the period, explore a new location if the valve location of the previous year has been selected.
The objective function of the optimization algorithm used in the study is to minimize the maximum damage from undelivered water demand. The damage from undelivered water is calculated as the sum of the segment and unintended isolation demand. Equation (1) shows the objective function for the maximum damage from undelivered water demand.
where
MD = maximum damage from undelivered water demand,
NDsi =
i-th nodal demand in segment, and
NDuj =
j-th nodal demand in the unintended isolation
In addition, the decision variables in this study are the location and number of the additional valves. Since the valve locations can be installed at the end of both sides of the pipes belonging to the segment, if the number of pipes is 10, the optimal valve location according to the number is selected from a total of 20 valve installation location candidates. The constraints of this study considered the efficiency of the segment divisions (
ESDs) to determine the optimal valve location. Generally, the constraints are used with a specific range, such as thresholds. However,
ESDs are not applied as constraints with specific thresholds. Thus, the penalty points according to whether the constraints are satisfied are not applied. Choi et al. [
9] reported that the damage from undelivered water can be reduced by up to 50% by installing additional valves. In optimal segment division through the addition of a shut-off valve, the valve position should be selected to maximize
ESDs and minimize the maximum damage from undelivered water that occurs in the segment simultaneously.
ESDs mean the ratio of maximum damage reduced after segmentation to the maximum damage from undelivered water, as shown in Equation (2).
where
ESDs = efficiency of the segment divisions,
MDb. = maximum damage from the undelivered water demand before the segment division, and
Std._Da. = standard deviation of the damage after the segment division
ESDs are considered as a constraint for post-processing when the fitness value (minimize the maximum damage from undelivered water) is the same.
Figure 5 shows an example of how
ESDs are applied as a constraint.
In
Figure 5, there are four Harmony Memory (HM) and four fitness values. Among the fitness values (maximum damage from undelivered water) according to the HM, the fitness for 1–3 is the same at 400 CMH. In this case, the maximum damage from the undelivered water demand for HM 1–3 is the same at 400 CMH, although the undelivered water demand for the other segments varies. Therefore, the superiority among these solutions is same if it is considered only the objective function. Thus, this study performed the post-processing (i.e., considering the maximum
ESDs) to derive a superior solution from among the same fitness. Through using
ESDs as the post-processing, the 1st solution with the highest
ESDs value (92%) can achieve excellent performance in both aspects: minimizing the maximum damage from undelivered water demand and the equitable segment division aspect.