Next Article in Journal
Research on the Health Assessment Method of the Safety Retaining Wall in a Dump Based on UAV Point-Cloud Data
Previous Article in Journal
Reinforcement Learning-Aided Channel Estimator in Time-Varying MIMO Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Pressure Sensor Deployment for Leak Identification in Water Distribution Networks

School of Mechanical Engineering, Tongji University, No. 1239, Siping Road, Shanghai 200092, China
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(12), 5691; https://doi.org/10.3390/s23125691
Submission received: 16 May 2023 / Revised: 6 June 2023 / Accepted: 16 June 2023 / Published: 18 June 2023
(This article belongs to the Section Physical Sensors)

Abstract

:
Pipe leakage is an inevitable phenomenon in water distribution networks (WDNs), leading to energy waste and economic damage. Leakage events can be reflected quickly by pressure values, and the deployment of pressure sensors is significant for minimizing the leakage ratio of WDNs. Concerning the restriction of realistic factors, including project budgets, available sensor installation locations, and sensor fault uncertainties, a practical methodology is proposed in this paper to optimize pressure sensor deployment for leak identification in terms of these realistic issues. Two indexes are utilized to evaluate the leak identification ability, that is, detection coverage rate (DCR) and total detection sensitivity (TDS), and the principle is to determine priority to ensure an optimal DCR and retain the largest TDS with an identical DCR. Leakage events are generated by a model simulation and the essential sensors for maintaining the DCR are obtained by subtraction. In the event of a surplus budget, and if we suppose the partial sensors have failed, then we can determine the supplementary sensors that can best complement the lost leak identification ability. Moreover, a typical WDN Net3 is employed to show the specific process, and the result shows that the methodology is largely appropriate for real projects.

1. Introduction

A water supply network is an important element of civil infrastructure for meeting the needs for people’s production and living water. Due to aging, corrosion, and human impacts on pipelines, pipeline leakage accidents occur frequently and result in a series of economic and social problems, such as water pollution and land subsidence [1]. According to the Statistical Yearbook of Urban Water Distribution Networks of China, the average leakage rate, which refers to the proportion of lost water volume to the total water volume entering the distribution network, decreased from 14.57% in 2017 to 12.68% in 2021 [2]. However, there is still a gap compared to developed European countries. The average leakage rates of most countries remain below 10% and even below 5% in Germany and the Netherlands [3]. China’s Ministry of Housing and Urban–Rural Development and the National Development and Reform Commission (NDRC) jointly issued a notice for strengthening the leakage control of public water supply pipe networks, which requires that the leakage rates of urban public water supply pipe networks nationwide should be controlled to less than 9% by 2025. With the developments in science and society, fine management requirements for the water supply industry have been proposed, and the leakage rates are expected to be further decreased to bring more social and economic benefits, with the exception of the District Metering Area (DMA) management, which deducts the metering losses [4].
Nowadays, the methods for leak identification can be roughly divided into three categories: equipment-based methods, transient-based methods, and data-driven methods [5,6]. The first methods relay information using hardware devices installed in the pipelines, and when leakage occurs, the devices can detect and determine the specific locations of the leaks. The representative equipment-based methods include sound-wave detection [7], the smart ball method [8], fiber optic cables [9], thermal imaging technology [10], etc. With Internet-of-Things (IoT) technologies [11], the transient-based methods and data-driven methods have been popular methods for leak location identification in practical engineering. The transient-based methods [12] and data-driven methods [13] rely on real-time monitoring hydraulic data, with the latter being more seriously dependent on these data. The difference is that the transient-based methods have a fundamental physical model while the data-driven methods mainly utilize various machine learning algorithms, such as the genetic algorithm [14], support vector machine [15], and neural networks [16,17], to predict pressures/flows compared with observed values [18]. Hydraulic data in water supply network objectively reflect the operating status of an entire network and provide the basis for various leak identification methods. Pressure sensors have the advantages of being low cost and non-invasive, with rapid response capabilities [19]. However, the overuse of pressure sensors will increase the cost burden and consume redundant manpower and material resources. Therefore, optimizing the pressure sensor arrangement in a water supply network is essential for improving operations management on the promise of a limited budget.
Compared to the studies on leakage detection and location, there are few researchers who have dealt with pressure sensor layout optimization focused on leak identification. Generally, the limited studies on optimal pressure sensor deployment in WDNs can be classified into those that used the sensitivity analysis method [20,21], the cluster analysis method [22], the correlation analysis method [23], and the optimization algorithm [24]. The optimization algorithm has the advantage of systematicity and reliability. However, the position of sensors in a large pipeline network is an explosive combination problem, and a more efficient and reasonable optimization method is necessitated to address this challenge. Juan Li et al. (2019) [25] proposed a novel semi-supervised strategy to optimize the sensor deployment that considered that some leak locations are unknown, and the results showed that the addition of the fuzzy c-means clustering method integrated with the original semi-joint mutual information (JMI) algorithm could efficiently improve the accuracy and stability of leak localization. Mengke Zhao et al. (2020) [26] proposed a net cost indicator based on the single-objective optimization and cost–benefit analysis models to determine an optimal set of sensor locations that would maximize the detection coverage rate under a fixed number of sensors. The method was demonstrated to be effective on the benchmark network Net3, and the sensor accuracy and pipe burst flow magnitude were shown to be key uncertainties. Narges Taravatrooy et al. (2020) [27] introduced a novel hybrid entropy-clustering approach where the redundant information from pressure sensors was reduced based on an information theory after the potential pressure sensors in WDNs were classified using a K-means clustering algorithm. Furthermore, the uncertainty of the pressure sensors’ error thresholds was analyzed by a set of fuzzy members using a triangular membership. These studies have all been based on multiple leakage events, and they separately considered some practical factors. However, there is little research that comprehensively contains realistic uncertainties that can be efficiently unitized in reality. Moreover, the leakage events in the representative studies mentioned above were all generated by EPANET [28,29]—famous water system simulation software—in which a burst pipe is simulated by adding an extra demand at a target node [30].
This paper puts forward a methodology for pressure sensor layout optimization with realistic issues and considers economic budgets (reflected by sensor accuracies and sensor amounts), available sensor installation locations, sensor faults, water demand profiles, etc. The smallest number of pressure sensors and the layouts can firstly be gained via sequential subtraction, and the abundant sensors can then be added to compensate for the lost information caused by sensor faults on the promise of an economic budget. Furthermore, the hydraulic model [31,32,33] utilized in this paper to generate a large number of leak samples is a novel method for simulating leakage incidents and can be set at any location in WDNs rather than at only nodes. The method is applied to a representative Net3 and the results show that it has an outstanding performance with respect to applicability and practicality.

2. Mathematical Model and Numerical Solution

In order to accurately analyze the leakage behavior of a pipeline, it is necessary to establish an advanced hydraulic model. A hydraulic model can comprise two aspects: a straight pipe or a pipe network.

2.1. Straight Pipe with Leakage

For analyzing the hydraulic behavior of water in a straight pipe, there are already several conventional models available. However, few of them consider water leakage in the middle of a pipe. In this paper, a mathematical model is introduced which can consider the influence of multiple leakage points.
The diameter of a pipeline is negligible compared to its length, which is generally hundreds to thousands of meters. Hence, only axial-direction water flow is considered in the proposed model. A control volume in a straight pipe (with a dip angle ± θ) with a length of dx was selected, shown in Figure 1. Time-dependent ordinary differential equations are derived from the mass and energy balances for each control volume, as shown in Figure 2. Taking the leakage loss out of a pipe wall, the mass conservation equations can be written as follows:
ρ t + ( ρ v ) x = m ˙ c
where ρ indicates the density of the water (kg/m3), v indicates the velocity (m/s), t indicates the time (s), x indicates the length of the pipeline (m), and m c ˙ indicates the specific mass loss of the water leakage (kg/(m3·s)).
The momentum conservation equation can be written as
( ρ v ) t + ( ρ v 2 ) x = p x f ρ 2 d v | v | ρ g s i n θ
The energy conservation equation can be written as
t [ ρ ( u + v 2 2 + g z ) ] + x [ ρ v ( h + v 2 2 + g z ) ] = m ˙ c · h c + q m
where   p   indicates the pressure (pa), u indicates the internal energy of the water (J/kg), d indicates the inner diameter of the pipeline (m), g indicates the gravity acceleration (m/s2), z indicates the relative height (m), h indicates the enthalpy value of the water (J/kg), q m indicates the specific heat loss from the water to the surrounding soil (W/m3), and h c indicates the enthalpy value of the water leakage (J/kg).
The state equation (Equation (4)) and the enthalpy equation (Equation (5)) for the water flow can be written as
ρ = ρ ( p , T )
h = h ( p , T )
Deductions about the mass, momentum, and energy conservation equations have been described many times in the literature. In this paper, a mathematical model is presented with additional water leakage modifications based on a single-phase flow simulator.
Consolidating Equations (1)–(3) into a matrix form, we can obtain
t [ ρ ρ v ρ ( u + v 2 2 + g z ) ] + x [ ρ v ρ v 2 + p ρ v ( h + v 2 2 + g z ) ] = [ m ˙ c f ρ 2 d v | v | ρ g s i n θ m ˙ c · h c + q m ]
To summarize, the thermal–hydraulic model presented in this paper is more appliable than other models when dealing with practical conditions. There are two main improvements: (1) the material loss caused by the leakage added to the pipeline mass conservation equation; and (2) the enthalpy value of the leaked water added to the energy conservation equation.
For sensor location analysis in a water pipe network, numerical simulations of steady-state flows are sufficient due to the ultrafast wave speed of water. Therefore, the time term in Equation (6) can be omitted for solving the discretized governing equations. In this way, Equation (6) can be simplified as follows:
x [ ρ v ρ v 2 + p ρ v ( h + v 2 2 + g z ) ] = [ m ˙ c f ρ 2 d v | v | ρ g s i n θ m ˙ c · h c + q m ]
There have been a number of developed methods that derive the discretized forms of mathematics equations. Here, the finite volume method (FVM) based on the QUICK scheme is adopted to perform spatial discretization. The pressure implicit split operator (PISO) is used to solve the discrete equation. The derivation method has been detailed in a previous study [31]. Regarding this paper’s focus on the WDNs, the energy conservation equation can be neglected during the numerical solution process.

2.2. Pipe Network

On the basis of the graph theory, the hydraulic regime of a pipe network can be described well. According to Kirchhoff’s current and voltage laws, a pipe network’s branch flow, pressure drop, and hydraulic resistance can be drawn using an analogy with the branch current, voltage, and electric resistance. In the network topology, k is the branch number and (n + 1) is the node number. The associated matrix A, an n × k order matrix, and the basic circuit matrix B, a (kn) × k order matrix, of the pipe network can be gained. In the light of Kirchhoff’s current law, the equation can be expressed as
A · V ˙ b + P = 0
where V ˙ b is the flow rate column vector of each branch in the pipe network ( [ V ˙ b , 1 , V ˙ b , 2 , , V ˙ b , k ] ), P is the flow rate column vector of each node ( [ P 1 , P 2 , , P n ] ).
From Kirchhoff’s voltage law, the following can be obtained:
B · ( R b ρ g H p ) = 0
where R b is the resistance column vector of each branch in the pipe network ( [ R b , 1 , R b , 2 , , R b , k ] T ), H p is the pump head column vector of each branch in the pipe network ( [ H p , 1 , H p , 2 , , H p , k ] T ), and the term in H p is zero unless there is a pump installed in the corresponding branch.
The resistance of the pipe branch k can be estimated by the Darcy–Weisbach equation as follows:
R b , k = f k · 8 ρ L k ( V ˙ b , k ) 2 π 2 ( d k ) 5
where L k is the length of the pipe branch k (m), d k is the inner diameter of the pipe branch k (m), and the friction factor f k is estimated by the Colebrook–White equation as follows:
1 f k = 2 lg ( ε k / d k 3.76 + 2.51 R e f k )
where ε k is the roughness of the inner surface of the pipe branch k and R e is a Reynold number of the flow in the pipe branch k .
The Newton–Raphson method is typically utilized to analyze the flow rate in each branch using the non-linear equations mentioned above. This advanced approach has been used in numerous literary works. Since the temperature of a water distribution network is relatively stable and heat loss is rare, which is different from heating a pipe network, the thermal model can be taken out of consideration. The proposed method can be used for a general network with tree-like or looped topology structures, and it is very convenient for programming. In this study, the simulation program has been developed using the Matlab platform.

3. Sensor Deployment Method

Two indexes are defined to evaluate the various pressure sensor combinations for leak identification in a WDN. One is DCR, the detection coverage rate, which ranges from zero to one and is related to false negatives. The other is TDS, the total detection sensitivity, linked to false positives. A larger value in the metering data makes leakage events more obvious. If the DCRs for several pressure sensor combinations are identical, then the TDS can be utilized to identify the best option. The DCR is calculated using Equations (12) and (13). If event j can be detected by a certain deployed pressure sensor within N sensors, this means that the event j is detectable, and the total number of detectable events is the N S d e t e c t e d under the corresponding N sensors. The identification of whether the j-th event E j   can be detected by the i-th sensor   S i is used to compare the pressure residual and the detection threshold at the i -th sensor node for leakage event   j . The pressure residual Δ P i , j is calculated by Equation (14), which can be obtained from the simulation results. The detection threshold   Δ P i , j t h r e s h o l d is related to the accuracy of   S i , and in Equation (15), the normal pressure difference Δ P i , j n o r m a l   is generally assumed to be zero [26]. Therefore, Δ P i , j t h r e s h o l d is equal to half of the sensor accuracy δ s e n s o r . The TDS is defined by Equation (16), and the quantified pressure residual is shown as the sensor deviation as follows:
D C R = N S d e t e c t e d N S t o t a l = i = 1 N j = 1 N S t o t a l D i , k N S t o t a l
where the D C R is the detection coverage rate, which ranges from zero to one, N S d e t e c t e d   is the total number of detectable events by the set of sensors, N S t o t a l is the total number of pipe leakage events, i is the sensor index, and j is the event index, which is calculated as follows:
D i , j = { 1     i f ( E j   i s   d e t e c t e d   b y   S i   b u t   n o t   b y   { S 1 ,   ... ,   S i 1   } ) 0         o t h e r w i s e
where E j is the j-th event and S i   is the i-th sensor. If Δ P i , j Δ P i , j t h r e s h o l d , then E j   is   detected   by   S i   ; otherwise, it is not detected. Δ P i , j   is   calculated   as   follows :
Δ P i , j = P i , j L P i , j C   i = 1 , 2 ,   ,   N ,
where Δ P i , j is the pressure residual at the i-th sensor node for leakage event j , P i , j L is the pressure at the i -th sensor when leakage event j occurs, P i , j C is the corresponding normal pressure at the i -th sensor under the same usage patterns of event j , and N is the number of pressure sensors. Δ P i , j t h r e s h o l d   is   calculated   as   follows :
Δ P i , j t h r e s h o l d = 1 / 2 δ s e n s o r + | Δ P i , j n o r m a l |
where Δ P i , j t h r e s h o l d is the detection threshold at the i -th sensor node for leakage event j , δ s e n s o r   is the sensor accuracy, and Δ P i , j n o r m a l   is the normal pressure difference at the i -th sensor node for leakage event j . The TDS is calculated as follows:
T D S = i = 1 N j = 1 N S t o t a l D S i , j = i = 1 N j = 1 N S t o t a l r o u n d ( Δ P i , j δ s e n s o r )  
where T D S   is the total detection sensitivity, which indicates the detection difficulty, where a larger value means that the events are more obvious on the devices, and D S i , j is the detection sensitivity of the   S i under the leakage event E j .
The methodology consists of three steps, as shown in Figure 3. In step one, a number of leakage events are generated, which are essential for the leak identification analysis, and, for this, a simulation is the most convenient channel. The simulation model employed in this paper is interpreted in part two, which can be available for a burst pipe at any location. Firstly, a hydraulic model for the WDN is established. Secondly, the schemes for the leakage events are designed and specified, including the leakage locations, burst flows, boundary conditions for the sources, tanks, users, etc. Thirdly, the simulation results for each leakage scheme and the corresponding results for a scheme with no leakage are achieved, and then the pressure divergence matrices for the Nmax nodes can be obtained by comparing the results for leakage and no leakage events. Finally, the DCR is calculated and recognized as DCRmax.
In step two, the least amount and distribution of the pressure sensors are obtained through subtraction. This step is aimed at identifying the least essential pressure sensors on the promise of no reductions in the number of detection events. Beginning at the maximum value of Nmax and deleting one from the current sensors S 1 , S 2 , …, and S N   , respectively, we can compare the maximum values for the DCR using these combinations. If the maximum DCR is equal to DCRmax, we can determine the largest TDS of the sensor combinations with maximum DCR and retain the corresponding N-1 sensors. We then repeat the previous steps to delete further sensors one by one until the maximum DCR is less than the value of DCRmax and the lowest number and the layout of the pressure sensors are achieved.
As for step three, the compensated pressure sensors are added as allowed by the economic budget. If Nleast is more than Ngoal, this indicates that the detected coverage rate has to be decreased. Under these circumstances, to subtract one from the current sensors S 1 , S 2 , …, and S N   , respectively, we retain the combination with the maximum DCR. If there is more than one status that shares the same maximum DCR, we choose the combination with the maximum TDS. We then repeat these steps until the number of pressure sensors is decreased to Ngoal. If Nleast is less than Ngoal, this means there are extra sensors that can be installed in addition to those in the essential locations, and the extra sensors are determined based on supposing partial essential sensors are broken. By subtracting one sensor included in the essential sensors, as selected in step two via the Monte Carlo method, the DCR is deduced, and then we add one from the deleted sensors S 1 , S 2 , …, and S N max N + 1   , respectively. The added sensor that results in the largest DCR is preserved, and if the largest DCR corresponds to more than one combination, the TDS is employed to choose the relatively optimal one. Then, supposing another sensor is broken, we select the sensor that can best take the place of the broken one. These steps are repeated until the number of the least essential sensors plus the added sensors is equal to the expected value of Ngoal.

4. Case Study

The proposed three-stage optimization decision-making method for sensor placement was applied to the well-known example network Net3, as shown in Figure 4. The specific Net3 network specification files are publicly available and included with the EPANET Programmers toolkit [34]. Many studies have been conducted on this virtual network, including those of Schwetschenau et al. (2019) [35], Mengke Zhao et al. (2020) [26], Juan Li et al. (2019) [25], and Kegong Diao et al. (2016) [36], since real-world networks are not readily available due to security issues. Our model consists of 92 junctions, 117 pipes, 2 reservoirs (1 lake and 1 river), and 3 tanks. To imitate the realistic fact that only partial nodes meet the objective requirements of sensor installation, 42 nodes are selected randomly to be powered and marked, as shown in Figure 2, as the potential locations where the pressure sensors can be installed. Different sensor thresholds may change the final results, and this paper is aimed at the method of instruction, without discussing the influence of the sensor thresholds. δ s e n s o r is regarded as 1 kpa. The number of expected sensors, Ngoal, is assumed to be 21, which is equal to half of the potential nodes.

4.1. Leakage Event Generation

Using the Net3 network, a number of leakage events are generated via simulation, and we can suppose the following: (1) all pipes are considered, and the three points that are evenly distributed in each pipeline are supposed to burst, that is, 1/4, 1/2, and 3/4 positions along the pipelines; (2) all nodes are included while the reservoirs and tanks are excluded; (3) for each leakage point, the burst flow is divided into three different statuses, that is, 1%, 3%, and 6% of the flow rate under the fault-free operating condition, respectively; (4) 24 h leakage events are generated and the hourly water demand profile is set to refer to real water bill data from a certain area of China, as shown as Table 1, where the α indicates the demand coefficient in the demand pattern. The peak demand is approximately 3000 m3/h at 19:00 h; and (5) the boundary condition for the reservoirs and tanks is simulated as a representative pressure for each leakage event. Therefore, the number of generated leakage events is 31896.
The D i and D S i for each potential node are analyzed in Figure 5, indicating the leak identification ability when there is only one pressure sensor. It can be seen that the largest D i occurs at node 241, where the value of D i is 19,362 and that of the DCR is 60.7%, and node 601 has a superior D S i of 56,256. However, the values of both D i   and D S i for nodes 20, 40, and 50 are zero, meaning that all leakage events have rare impacts on these nodes. These nodes are close to the three tanks, and the tanks are set at a classical pressure during the simulation, with the pressures for the tanks being relatively low compared to the supply pressures of the sources.

4.2. The Least Essential Pressure Sensor Selection

In terms of the pressure sensor deployment for the 42 potential nodes, the DCRmax is 91.35%, and none of these 42 sensors can detect 8.65% of the leakage events, mainly due to the tiny leakage volumes and marginal leak locations. Beginning at the maximum number of sensors, one sensor is removed from the forty-two sensors at a time and the results show that when the sensor installed in node 50 is removed, the DCR is identical to the DCRmax and the TDS is the maximum value for this status for the DCRmax. Node 50 is specified to be subtracted, and then one sensor is removed from the remaining forty-one sensors at a time and the previous steps are repeated. The process is listed in Table 2, and it is obvious that when the number of sensors decreased from 17 to 16, the optimal DCR for the 16 sensors is less than 91.35%, indicating that some leakage events were not detected. Therefore, the minimum number of essential pressure sensors, Nleast, is 17, and the pressure sensor layout is a combination of nodes 10, 107, 109, 113, 141, 149, 159, 169, 184, 187, 189, 195, 217, 251, 259, 271, and 601, as shown in Figure 6.

4.3. The Optimal Sensor Layout Determination

The number of the least essential pressure sensors is 17, which is 4 less than the expected 21. There are various faults that can occur with the sensors, such as becoming stuck, damaged, etc., which leads to instrument failure. The extra four sensors are expected to take the place of the failed sensors. The process in this section is exactly as shown in Table 3. Firstly, the Monte Carlo method is utilized and the sensor located in node 217 is supposed to have failed, which is obvious as the DCR declines by 2.94% and some leakage events cannot be detected. Then, one of the twenty-five sensors removed in step two is sequentially added, and node 215 is identified to have the pressure sensor installed for the best compensatory performance with a DCR of 91.35%. We repeat these steps and the sensor located in node 189 is removed, and nodes 197, 204, and 183 share the same DCR whether or not one of them takes the place of node 189. Then, node 197 is left due to having the highest TDS value. Similarly, node 201 replaces node 271 and node 103 replaces node 10. Finally, the extra sensors added in this step are located in nodes 215, 197, 201, and 103. Hence, the optimal 21 sensors are located in nodes 10, 107, 109, 113, 141, 149, 159, 169, 184, 187, 189, 195, 217, 251, 259, 271, 601, 215, 197, 201, and 103, respectively, as shown as Figure 7.
To evaluate the performance of the ultimate determined sensor layout, a set of test data is generated by simulation, with no involvement in the sensor selection process. The boundary conditions, used to obtain the leakage samples in step one, should reflect the design scenario or typical operating condition. This ensures congruity between the load distribution of the samples and the prevailing empirical distribution patterns. Therefore, the water load of each user experiences random fluctuations within a range of ±10% based on the training samples, while keeping the other settings and topology of WDNs unaltered, generating new 24 h leakage events for testing. Applying the final 21 pressure sensors to the test data, it is found that the DCR of the final sensor topology is 92.03% while the DCRmax of 42 points stands at 92.05%. The TDS of the final sensor topology is calculated as 786,973 while the TDS of 42 points is 1,176,820. The result shows that this sensor layout exhibits a commendable leak monitoring efficacy, particularly when confronted with analogous water consumption patterns.

4.4. Impact of Leakage Model Parameter on Results

The previous section presented the application steps of the proposed method, leading to the final optimized layout. The generation of leakage samples during the initial step holds implications for the resultant outcomes. Ideally, a sample containing all possible leak locations and leak flow rates would be considered comprehensive and advantageous. However, due to computational power and time limitations, it is impracticable to comprehensively encompass all possible leakage events. Therefore, the influence of leak model parameter settings on the results is discussed in this section, to provide a reference for the sample generation process.
In Section 4.1, the leakage locations are configured to encompass all nodes, as well as 1/4, 1/2, and 3/4 positions along the pipelines. The burst flow is divided into three distinct levels, namely 1%, 3%, and 6% of the flow rate calculated under fault-free operating conditions. These samples were individually selected to derive 21 optimized sensor layouts using the proposed method in this paper. Subsequently, these resulting sensor layouts are applied to the entire sample set and their corresponding DCR and TDS are determined.
The specific outcomes are shown in Table 4, with nodes arranged in reverse order of D i .
It can be seen from the table that the optimal sensor points obtained from these seven leakage samples are relatively concentrated. There are sixteen nodes, such as nodes 217, 189, 271, etc., chosen to be the final point by all seven cases. It indicates that 16 out of 21 points are identical among these results and the other 5 points are distributed among ten nodes, such as nodes 215, 241, 209, etc. The leak identification abilities in the results gained by the sensor deployment method proposed are not bad with the worst DCR at 91.11%, which means losing the ability to detect 77 leakage events. The DCRs pertaining to different leak locations exhibit relative similarity and are close to the maximum DCR compared to the DCRs gained from three statuses of burst flow. This can be attributed to the limited influence of leakage positions among the identical pipelines on the pressure distribution, particularly when the pipeline is not long, compared to the magnitude of the leakage. The TDSs gained by separated burst flow samples are larger than others with the chosen nodes show decreased DCRsin combination. In general, results based on a set of more comprehensive leakage samples exhibit an improved ability to reflect leakage events. Given limited computing power and time constraints, the leakage location can be set simply while placing greater emphasis on the burst flow setting. It is suggested to generate a comprehensive range of leakage events with detailed consideration of varying possible magnitudes of leakage.

5. Conclusions

This paper is aimed at pressure sensor deployment optimization in terms of leak identification in WDNs, and a methodology is proposed to achieve the best leakage fault detection performance given several uncertain restrictions. The methodology is made up of three steps: firstly, a hydraulic model is established and a number of leakage events are generated. Secondly, the least essential pressure sensors are selected by subtracting the sensors sequentially from all the potential installed nodes, with no losses in the detected events. Lastly, if the smallest number is less than expected, we suppose a certain sensor has failed and identify another location to best take its place among the removed sensors from the previous step, and this is repeated until the sensor number is up to the expected number and the optimal deployment is achieved. Otherwise, we subtract the sensors with the optimal DCR values from the expected number. A Net3 network is employed as a case study to demonstrate the specific process of the proposed methodology, and the results show that the methodology is convenient and practical for leak identification in WDNs. The main conclusions are summarized as follows:
(1) A novel methodology is proposed in this paper to optimize the deployment of pressure sensors for leak identification in WDNs. The methodology considers economic budgets, sensor faults, and the available local conditions for installation, which are proper and practical elements for realistic projects. The economic budgets are associated with the number and accuracy of the sensors, and both of these are considered in the methodology and influence the results.
(2) Two indexes are defined to evaluate the effectiveness of sensor layout for leak identification. One is DCR, related to false negatives, and the larger the value, the more leakage events can be reflected in the measured values. The other is TDS, linked to false positives, and the larger the value, the more obvious it is to detect the leakage events. The principle is to determine priority to ensure an optimal DCR and retain the largest TDS with an identical DCR.
(3) The lowest number of pressure sensors can be obtained via the proposed approach without leakage event detection loss, and it can be beneficial for planning developments and avoiding wasted manpower and money. Otherwise, if the budget allows, the final deployment can be obtained via a Monte Carlo method by adding the compensated sensors based on the hypothesis that there has been a partial sensor failure.
(4) A well-known WDN is employed to illustrate the methodology in detail, and up to 91.35% of leakage events can be detected under the restriction of the installation locations for sensors. The results show that at least 17 pressure sensors are required to guarantee the detection of leaks, and the sensitivity of the TDS is approximately half of the 42 locations installed. For the optimal number of sensors (twenty-one) with a budget, the DCR can be 90.83%, and the TDS is slightly decreased when four sensors fail and another four locations are replaced.

Author Contributions

G.Y.: methodology, case study and writing—original draft. H.W.: writing—review and editing, funding acquisition. All authors have read and agreed to the published version of the manuscript.

Funding

The authors sincerely acknowledge the support of the National Key Research and Development Program of China (project no. 2021YFE0116200).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

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. Moasheri, R.; Jalili-Ghazizadeh, M. Locating of Probabilistic Leakage Areas in Water Distribution Networks by a Calibration Method Using the Imperialist Competitive Algorithm. Water Resour. Manag. 2020, 34, 35–49. [Google Scholar] [CrossRef]
  2. National Bureau of Statistics of the People’s Republic of China. China Statistical Yearbook; China Statistics Press: Beijing, China, 2021. (In Chinese) [Google Scholar]
  3. Laspidou, C.S. ICT and stakeholder participation for improved urban water management in the cities of the future. Water Util. J. 2014, 8, 79–85. [Google Scholar]
  4. Kowalska, B.; Suchorab, P.; Kowalski, D. Division of district metered areas (DMAs) in a part of water supply network using WaterGEMS (Bentley) software: A case study. Appl. Water Sci. 2022, 12, 166. [Google Scholar] [CrossRef]
  5. El-Zahab, S.; Zayed, T. Leak detection in water distribution networks: An introductory overview. Smart Water 2019, 4, 23–28. [Google Scholar] [CrossRef] [Green Version]
  6. Abdulshaheed, A.; Mustapha, F.; Ghavamian, A. A pressure-based method for monitoring leaks in a pipe distribution system: A Review. Renew. Sustain. Energy Rev. 2017, 69, 902–911. [Google Scholar] [CrossRef]
  7. Bykerk, L.; Valls Miro, J. Detection of water leaks in suburban distribution mains with lift and shift vibro-acoustic sensors. Vibration 2022, 5, 370–382. [Google Scholar] [CrossRef]
  8. Fletcher, R.; Chandrasekaran, M. Smartball-A new approach in pipeline leak detection. In Proceedings of the 2008 ASME International Pipeline Conference, IPC 2008, Calgary, AB, Canada, 29 September–3 October 2008; pp. 117–133. [Google Scholar]
  9. Lijian, Y.; Ying, G.; Songwei, G. Multi-leak detection in pipeline based on optical fiber detection. Optik 2020, 220, 74–83. [Google Scholar]
  10. Thusyanthan, I.; Blower, T.; Cleverly, W. Innovative uses of thermal imaging in civil engineering. Proc. Inst. Civ. Eng. 2017, 170, 81–87. [Google Scholar] [CrossRef]
  11. Farooq, O.; Singh, P.; Hedabou, M.; Boulila, W.; Benjdira, B. Machine Learning Analytic-Based Two-Staged Data Management Framework for Internet of Things. Sensors 2023, 23, 2427. [Google Scholar] [CrossRef]
  12. Keramat, A.; Xun, W.; Louati, M.; Meniconi, S.; Brunone, B.; Ghidaoui, M.S. Objective functions for transient-based pipeline leakage detection in a noisy environment: Least square and matched-filter. J. Water Resour. Plan. Manag. 2019, 145, 04019042. [Google Scholar] [CrossRef]
  13. Hu, Z.; Tan, D.; Chen, B.; Shen, D. Review of model-based and data-driven approaches for leak detection and location in water distribution systems. Water Supply 2021, 21, 3282–3306. [Google Scholar] [CrossRef]
  14. Creaco, E.; Pezzinga, G. Embedding linear programming in multi objective genetic algorithms for reducing the size of the search space with application to leakage minimization in water distribution networks. Environ. Model. Softw. 2015, 69, 308–318. [Google Scholar] [CrossRef]
  15. Zhang, Q.; Wu, Z.Y.; Zhao, M.; Qi, J.; Huang, Y.; Zhao, H. Leakage zone identification in large-scale water distribution systems using multiclass support vector machines. J. Water Resour. Plan. Manag. 2016, 142, 04016042. [Google Scholar] [CrossRef]
  16. Hu, X.; Han, Y.; Yu, B.; Geng, Z.; Fan, J. Novel leakage detection and water loss management of urban water supply network using multiscale neural networks. J. Clean. Prod. 2021, 278, 1518–1526. [Google Scholar] [CrossRef]
  17. Zhang, C.; Alexander, B.J.; Stephens, M.L.; Lambert, M.F.; Gong, J. A convolutional neural network for pipe crack and leak detection in smart water network. Struct. Health Monit. 2023, 22, 232–244. [Google Scholar] [CrossRef]
  18. Daniel, I.; Pesantez, J.; Letzgus, S.; Khaksar Fasaee, M.A.; Alghamdi, F.; Berglund, E.; Mahinthakumar, G.; Cominola, A. A sequential pressure-based algorithm for data-driven leakage identification and model-based localization in water distribution networks. J. Water Resour. Plan. Manag. 2022, 148, 04022025. [Google Scholar] [CrossRef]
  19. Casillas, A.; Modera, M.; Pritoni, M. Using non-invasive MEMS pressure sensors for measuring building envelope air leakage. Energy Build. 2021, 233, 64–75. [Google Scholar] [CrossRef]
  20. Kang, D.; Lansey, K. Novel Approach to Detecting Pipe Bursts in Water Distribution Networks. J. Water Resour. Plan. Manag. 2014, 140, 121–127. [Google Scholar] [CrossRef]
  21. Nejjari, F.; Sarrate, R.; Blesa, J. Optimal Pressure Sensor Placement in Water Distribution Networks Minimizing Leak Location Uncertainty. Procedia Eng. 2015, 119, 953–962. [Google Scholar] [CrossRef] [Green Version]
  22. Li, C.; Du, K.; Tu, J.P.; Dong, W. Optimal Placement of Pressure Sensors in Water Distribution System Based on Clustering Analysis of Pressure Sensitive Matrix. Procedia Eng. 2017, 186, 405–411. [Google Scholar]
  23. Cuguero-Escofet, M.A.; Puig, V.; Quevedo, J. Optimal Pressure Sensor Placement and Assessment for Leak Location Using a Relaxed Isolation Index: Application to the Barcelona Water Network. Control Eng. Pract. 2017, 63, 1–12. [Google Scholar] [CrossRef] [Green Version]
  24. Ferreira, B.; Carrico, N.; Covas, D. Optimal Number of Pressure Sensors for Real-Time Monitoring of Distribution Networks by Using the Hypervolume Indicator. Water 2021, 13, 2235. [Google Scholar] [CrossRef]
  25. Li, J.; Wang, C.; Qian, Z.; Lu, C. Optimal sensor placement for leak localization in water distribution networks based on a novel semi-supervised strategy. J. Process Control 2019, 82, 13–21. [Google Scholar] [CrossRef]
  26. Zhao, M.; Zhang, C.; Liu, H.; Fu, G.; Wang, Y. Optimal sensor placement for pipe burst detection in water distribution systems using cost-benefit analysis. J. Hydroinform. 2020, 22, 606–618. [Google Scholar] [CrossRef]
  27. Taravatrooy, N.; Nikoo, M.R.; Hobbi, S.; Sadegh, M.; Izady, A. A novel hybrid entropy-clustering approach for optimal placement of pressure sensors for leakage detection in water distribution systems under uncertainty. Urban Water J. 2020, 17, 185–198. [Google Scholar] [CrossRef]
  28. Sela, L.; Salomons, E.; Housh, M. Plugin prototyping for the EPANET software. Environ. Model. Softw. 2019, 119, 49–56. [Google Scholar] [CrossRef]
  29. Muller, L.; Gericke, J.; Pietersen, J. Methodological approach for the compilation of a water distribution network model using QGIS and EPANET. J. South Afr. Inst. Civ. Eng. 2020, 62, 32–43. [Google Scholar] [CrossRef]
  30. Muranho, J.; Ferreira, A.; Sousa, J.; Gomes, A.; Marques, A.S. Pressure-dependent Demand and Leakage Modelling with an EPANET Extension-WaterNetGen. Procedia Eng. 2014, 89, 632–639. [Google Scholar] [CrossRef] [Green Version]
  31. Hai, W.; Haiying, W.; Tong, Z.; Deng, W. A novel model for steam transportation considering drainage loss in pipeline networks. Appl. Energy 2017, 188, 178–189. [Google Scholar]
  32. Hai, W.; Wang, H.; Zhou, H.; Zhu, T. Modeling and optimization for hydraulic performance design in multi-source district heating with fluctuating renewables. Energy Convers. Manag. 2018, 156, 113–129. [Google Scholar]
  33. Hai, W.; Hua, M. Improved thermal transient modeling with new 3-order numerical solution for a district heating network with consideration of the pipe wall’s thermal inertia. Energy 2018, 160, 171–183. [Google Scholar]
  34. USEPA. “EPANET.” 2020. Available online: https://www.epa.gov/water-research/epanet (accessed on 13 May 2023).
  35. Schwetschenau, S.E.; Vanbriesen, J.M.; Cohon, J.L. Integrated Multiobjective Optimization and Simulation Model Applied to Drinking Water Treatment Placement in the Context of Existing Infrastructure. J. Water Resour. Plan. Manag. 2019, 145, 04019048. [Google Scholar] [CrossRef] [Green Version]
  36. Diao, K.; Sweetapple, C.; Farmani, R.; Fu, G.; Ward, S.; Butler, D. Global resilience analysis of water distribution systems. Water Res. 2016, 106, 383–393. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Water flow in a pipe.
Figure 1. Water flow in a pipe.
Sensors 23 05691 g001
Figure 2. Energy into and out of the control volume.
Figure 2. Energy into and out of the control volume.
Sensors 23 05691 g002
Figure 3. Flowchart of the proposed approach for pressure sensor deployment optimization for leak identification in WDNs.
Figure 3. Flowchart of the proposed approach for pressure sensor deployment optimization for leak identification in WDNs.
Sensors 23 05691 g003
Figure 4. Layout of the Net3 network.
Figure 4. Layout of the Net3 network.
Sensors 23 05691 g004
Figure 5. The D i and D S i values for each potential node.
Figure 5. The D i and D S i values for each potential node.
Sensors 23 05691 g005
Figure 6. Layout of the least essential pressure sensors for the Net3 network.
Figure 6. Layout of the least essential pressure sensors for the Net3 network.
Sensors 23 05691 g006
Figure 7. Layout of the final pressure sensors for the Net3 network.
Figure 7. Layout of the final pressure sensors for the Net3 network.
Sensors 23 05691 g007
Table 1. Hourly water demand load rates.
Table 1. Hourly water demand load rates.
HourαHourAHourαHourα
10.086570.9312130.3230191.0000
20.066180.8195140.2314200.8984
30.035090.7670150.2200210.8242
40.0338100.7626160.2715220.3031
50.1631110.8355170.7152230.1333
60.7099120.7764180.8978240.1044
Table 2. The process of the least essential pressure sensor selection for the Net3 network.
Table 2. The process of the least essential pressure sensor selection for the Net3 network.
Number of SensorsOptimal DCR (%)Optimal TDSRemoved LocationNumber of SensorsOptimal DCR (%)Optimal TDSRemoved Location
4191.351,163,630502891.35976,387206
4091.351,163,630402791.35943,294123
3991.351,163,630202691.35910,197193
3891.351,163,3111212591.35877,095163
3791.351,158,1501532491.35843,807173
3691.351,150,9791472391.35810,495157
3591.351,137,7321432291.35776,897209
3491.351,121,772352191.35743,264201
3391.351,105,7801792091.35709,547241
3291.351,087,3342491991.35675,538215
3191.351,064,5181831891.35640,128103
3091.351,039,4932041791.35600,396115
2991.351,009,4581971691.34556,527169
Table 3. The process of the optimal sensor layout determination for the Net3 network.
Table 3. The process of the optimal sensor layout determination for the Net3 network.
ItemCurrent Pressure Sensor DeploymentIndexes
DCRTDS
FirstI1010710911314114915916918418718919521725125927160191.35%600,396
II10107109113141149159169184187189195 25125927160188.41%564,986
III1010710911314114915916918418718919521525125927160191.35%598,995
SecondI1010710911314114915916918418718919521525125927160191.35%598,995
II10107109113141149159169184187 19521525125927160191.34%550,310
III1010710911314114915916918418719719521525125927160191.35%580,345
1010710911314114915916918418720419521525125927160191.35%575,335
1010710911314114915916918418718319521525125927160191.35%573,126
ThirdI1010710911314114915916918418719719521525125927160191.35%580,345
II10107109113141149159169184187197195215251259 60190.64%527,327
III1010710911314114915916918418719719521525125918360190.83%550,143
1010710911314114915916918418719719521525125920160190.83%560,960
FourthI1010710911314114915916918418719719521525125920160190.83%560,960
II 10710911314114915916918418719719521525125920160190.81%524,856
III10310710911314114915916918418719719521525125920160190.83%560,266
Sensors 23 05691 i001 represents the hypothetical failed sensors and Sensors 23 05691 i002 represents the replacement supplementary sensors.
Table 4. Optimal sensor layout obtained from different leakage samples.
Table 4. Optimal sensor layout obtained from different leakage samples.
NodeTotal SamplesLeakage LocationBurst Flow
Loc_0.25Loc_0.5Loc_0.75Flow_1%Flow_3%Flow_6%
217
215-----
241---
189
271
209----
115---
10---
206----
159
193-------
201
109
169
173-------
107
103
195
123-------
259
163-----
601
113
157-------
197
187---
184
204-------
183-------
249-------
251--
35-------
179-------
141---
149
147-------
153-------
143-------
121-------
20-------
40-------
50-------
DCR91.35%91.31%91.31%91.32%91.23%91.24%91.11%
TDS733,483736,700736,700730,479769,253765,304753,873
○ represents the essential sensors and △ represents the supplementary sensors.
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

Yang, G.; Wang, H. Optimal Pressure Sensor Deployment for Leak Identification in Water Distribution Networks. Sensors 2023, 23, 5691. https://doi.org/10.3390/s23125691

AMA Style

Yang G, Wang H. Optimal Pressure Sensor Deployment for Leak Identification in Water Distribution Networks. Sensors. 2023; 23(12):5691. https://doi.org/10.3390/s23125691

Chicago/Turabian Style

Yang, Guang, and Hai Wang. 2023. "Optimal Pressure Sensor Deployment for Leak Identification in Water Distribution Networks" Sensors 23, no. 12: 5691. https://doi.org/10.3390/s23125691

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