원시데이터 수집 시스템
선정목록으로

Leakage detection in water distribution networks using hybrid feedforward artificial neural networks

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Hamideh Fallahi — 1 Department of Civil Engineering, Roudehen Branch, Islamic Azad University, Roudehen, Iran
  2. Mohammadreza Jalili Ghazizadeh — 2 Faculty of Civil, Water and Environmental Engineering, Shahid Beheshti University, Tehran, Iran
  3. Babak Aminnejad — 1 Department of Civil Engineering, Roudehen Branch, Islamic Azad University, Roudehen, Iran
  4. Jafar Yazdi — 2 Faculty of Civil, Water and Environmental Engineering, Shahid Beheshti University, Tehran, Iran
DOI
10.2166/aqua.2021.140
저널
Journal of Water Supply Research and Technology—AQUA
발행년도
2021
발행기관
UWA Publishing
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.2166/aqua.2021.140
토픽
High voltage insulation and dielectric phenomena
OpenAlex ID
W3164357771

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Water leakage control in water distribution networks (WDNs) is one of the main challenges of water utilities. The present study proposes a new method to locate a leakage in WDNs using feedforward artificial neural networks (ANNs). For this purpose, two ANNs training cases are considered. For case 1, the ANNs are trained by average daily water demand, including small to large hypothetical leakages. In case 2, the ANNs are trained by hourly water demand and variable hourly nodal leakages over 24 hours. The training parameters are determined by EPANET2.0 hydraulic simulation software using MATLAB programming language. In both cases, first, ANNs are trained using flow rates of total pipes number. Then, sensitivity analysis is performed by hybrid ANNs for the flow rates of pipes number less than the number of the total pipes. The results of proposed hybrid ANNs indicate that if at least the flow rates of 10% of the total pipes are known (using flowmeters), then the leakage locations in both cases can be determined. Despite the complexity of case 2, because of the variations of demand and leakage over the 24-hour period, the proposed method could detect the leakage location with high accuracy.

본문 19,945자

본문 펼치기
Water leakage control in water distribution networks (WDNs) is one of the main challenges of water utilities. The present study proposes a new method to locate a leakage in WDNs using feedforward artificial neural networks (ANNs). For this purpose, two ANNs training cases are considered. For case 1, the ANNs are trained by average daily water demand, including small to large hypothetical leakages. In case 2, the ANNs are trained by hourly water demand and variable hourly nodal leakages over 24 hours. The training parameters are determined by EPANET2.0 hydraulic simulation software using MATLAB programming language. In both cases, first, ANNs are trained using flow rates of total pipes number. Then, sensitivity analysis is performed by hybrid ANNs for the flow rates of pipes number less than the number of the total pipes. The results of proposed hybrid ANNs indicate that if at least the flow rates of 10% of the total pipes are known (using flowmeters), then the leakage locations in both cases can be determined. Despite the complexity of case 2, because of the variations of demand and leakage over the 24-hour period, the proposed method could detect the leakage location with high accuracy.Key words | feedforward artificial neural network, hourly water demand, leakage, variable hourly nodal leakage, water distribution networks HIGHLIGHTS • A leakage detection algorithm for WDNs using feedforward ANNs. • ANNs were applied for two cases: average daily water demand and hypothetical leakages; variable water demand and nodal leakages over the 24-hour.• ANNs training based on pipe flow rates and nodal leakage. • A sensitivity analysis using Hybrid ANNs. • The proposed algorithm successfully detects the leakage locations in both cases by the flow rates of 10% pipes. This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited GRAPHICAL ABSTRACT INTRODUCTION Water resource is one of the most important necessities for human survival and development. Water distribution networks (WDNs), as critical infrastructure, play a vital role in safely delivering drinking water to customers. GRAPHICAL ABSTRACT INTRODUCTION However, many networks have large water losses, burst pipes, and leakage due to aging, inadequate construction quality, or lack of maintenance, which further intensifies the water scarcity (Fazelabdolabadi & Golestan ; Zhao et al. ). The network's overall efficiency is severely affected by the lack of proper maintenance. One of the prime reasons is leakage and illegal connections (Shahzad et al. ). WDNs suffer from leakages causing economic as well as social costs. There is a need for a platform to manage WDNs more efficiently by detecting, localizing, and controlling the leakages even before or as soon as they occur (Gupta & Kulat ). The ANN-based mentioned methods cannot detect small leakages because they require extensive ANN training data. Therefore, this matter leads to increases in training time and the complexity of the training process. Also, insufficient and inaccurate data in the ANNs training stage led to incorrect results (Moasheri & Jalili Ghazizadeh ). GRAPHICAL ABSTRACT INTRODUCTION This study proposes a new methodology to locate an hourly leakage in WDNs over 24 hours using feedforward ANNs. The main novelty is that the feedforward ANNs are trained based on the hourly variations of leakage and water demand over 24 hours. These hourly variations intensify the training process's complexity and increase the training time of the feedforward ANNs. In this study, the proposed ANNs have high efficiency and can detect small and large leakages. The proposed ANNs are trained by using the pipes' flow. The detection of the leakage location with a minimum number of pipes is essential to the proposed method's practicality in WDNs. Therefore, in this study, new hybrid ANNs are introduced using sensitivity analysis to find the pipe's optimal number. GRAPHICAL ABSTRACT INTRODUCTION The proposed ANNs are trained in two cases. For case 1, the ANNs are trained by average daily water demand, including small to large hypothetical leakages. In case 2, the leakage variations are considered over the 24-hour period. The water demand variations cause pressure fluctuations that lead to leakage variations. Thus, it is required to consider the relationship between pressure and leakage. Therefore, in case 2, the ANNs are trained by variable hourly water demand and nodal leakage over 24 hours. Then, in both cases, a sensitivity analysis is performed by hybrid ANNs to find the optimal pipe number. These hybrid ANNs are trained by flow rates of different percentages of pipes number. Also, the training parameters are determined by EPANET2.0 hydraulic simulation software and MATLAB programming language. The rest of this study is organized as follows: in the following section, the methodology, including the ANN definition and development, is presented. In the next section, the structure of the selected network is introduced. Next, the results and discussion presents two cases of the ANNs training process to detect the leakage location. In this section, the relationship between pressure and leakage in WDNs is investigated. Finally, the conclusion section is presented. In the present study, a feedforward ANN is employed to construct a relationship between the input and output variables efficiently. Figure 1 illustrates the general structure of a feedforward ANN including an input layer, a hidden layer, and an output layer. The number of input variables determines the number of neurons in the input layer. The hidden layer determines the neural network's main structure and will have the most significant effect on the network's training method and its overall performance. Therefore, the number of neurons in the hidden layer is determined by minimizing a predefined error function over the training data by trial and error. GRAPHICAL ABSTRACT INTRODUCTION As shown in Figure 1, each neuron in the input layer accepts input, and each neuron s in the hidden layer or output layer accepts a set of inputs x rs from the neurons of the previous layer and produces an output y s as follows (Zhou et al. ): GRAPHICAL ABSTRACT INTRODUCTION where m represents the number of inputs, w rs shows the connection weight of the rth input, θ s denotes the neuron's threshold, and φ represents the activation function typically selected as the hyperbolic tangent function or sigmoid function. GRAPHICAL ABSTRACT INTRODUCTION After the structure of an ANN is fixed, in order to minimize the deviation of model outputs from actual outputs over training samples, the parameters, including all connection weights w rs and all neuron biases θ s , are tuned. This deviation can be determined based on the root mean squared error (RMSE) criterion: GRAPHICAL ABSTRACT INTRODUCTION where M is the number of samples, (x r , y r ) is the input-output pair of the rth sample, and o r is the actual output of the ANN on the input x r . ANN parameter optimization is usually con- In ANNs, RMSE is used as the performance function to determine the weights and biases. The RMSE criterion sometimes exhibits an acceptable value with proper convergence but does not satisfy the problem's requirements. GRAPHICAL ABSTRACT INTRODUCTION Indeed, the RMSE demonstrates the average behavior of the network, while the trained network may contain high errors for special points. If a good performance was also expected from the trained ANN for the worst data (with larger error), the RMSE may not be an appropriate residual metric. Therefore, to solve this problem, the maximum relative leakage error (MRLE) metric is defined in this study besides RMSE, which will be discussed later. ANN development (training and validation) As mentioned, the present study employs an ANN to detect the leakage location. At first, the ANN should be trained using a set of input and pre-specified output data. Then, the training data must be provided. STRUCTURE OF THE SELECTED NETWORK In this study, the hypothetical rectangular network proposed by Poulakis et al. () is utilized (Figure 2). This network consists of 50 pipes, 30 junction nodes, 20 loops, and one STRUCTURE OF THE SELECTED NETWORK reservoir. An elevated reservoir supplies the water by gravity. The length of the vertical and horizontal pipes is 2,000 STRUCTURE OF THE SELECTED NETWORK and 1,000 m, respectively, and the reservoir elevation is 52 m. In Figure 2, the range of pipe diameters is within 300-600 mm. The water demands are assumed at each node of the network through the water delivery system. RESULTS AND DISCUSSION Case 1: ANN for leakage detection by average daily water demand and nodal leakage RESULTS AND DISCUSSION According to the previous sections, the location of the leakages in WDN is determined using the ANN. The proposed ANN can predict the location of a single leakage in a hypothetical WDN taken from Poulakis et al. (). RESULTS AND DISCUSSION In this case, the hypothetical leakage with average daily water demand at each node is defined as the output. The pipes' flow is defined as the input to train the ANN. Figure 3 illustrates the training output matrix named leakage matrix. Figure 4. After training the ANN, the leakage location can be determined using pipes flow. RESULTS AND DISCUSSION As mentioned above under 'Artificial neural network (ANN) definition', besides the RMSE index, the relative leakage error (RLE) is also defined as below to investigate the ANN's behavior: RESULTS AND DISCUSSION where RLE is relative leakage error, CLD ANN is calculated leakage and demand by ANN, HLD is hypothetical leakage and demand, and i is number of junctions, i ¼ 1, 2, 3, . . . , 30. RESULTS AND DISCUSSION Using Equation (3) According to these results, MRLE can be expressed as: RESULTS AND DISCUSSION where MRLE is maximum relative leakage error, j is column of RLE matrix, and j: 1, 2, 3, . . . , 1,650. RESULTS AND DISCUSSION The number of neurons in the hidden layer is an essential parameter for the ANN training. The optimal number of neurons in the hidden layer can be found based on the maximum of the MRLE (MaxMRLE). For this purpose, the steps explained in Figure 4 are employed for different neurons. RESULTS AND DISCUSSION This result is illustrated in Figure 5. As shown in Figure 5, the MaxMRLE value declines considerably for the neurons larger than 30 in training data (1650 cases). To verify this claim, the ANN must be implemented on validation data. RESULTS AND DISCUSSION The nodal leakages apply in the range of 0.005% up to 1.2% of total water demand. The increased value of 0.21 L/s is used to construct the next value (0.03 L/s up to 7.05 L/s). By this procedure, the number of 1,050 cases is produced for validation data. Therefore, out of all data (2,700 samples) considered in this study, 60% is assigned to training data, and 40% is allocated to validation data. RESULTS AND DISCUSSION As mentioned, Figure 5 demonstrates the results of determining the optimal number of neurons. According to the above description and the results illustrated in Figure 5, the optimal number of neurons in the hidden layer is obtained as 30. Since the values of MaxMRLE for neuron numbers above 30 are very small, a magnification is performed in Figure 5 for the sake of clarification. RESULTS AND DISCUSSION The MRLE values for different leakages from 0.06 to 6.0 L/s by considering 30 neurons at the hidden layer are Table 1. For better clarity, the x-axis in Figure 6 is divided into five categories based on the range of leakages illustrated in Table 1. RESULTS AND DISCUSSION As shown in Figure Figure 6 x Axis 0-30 31-60 61-90 -1,621-1,650 RESULTS AND DISCUSSION Hypothetical leakage (L/s) 0.06 0.17 0.28 -6.0 RESULTS AND DISCUSSION x Relationship between the pressure and leakage in WDNs The dependency between the leakage and pressure is a well- Relationship between the pressure and leakage in WDNs where L 1 and L 0 are leakages at the pressures P 1 and P 0 , respectively. P is the pressure head of the zone, the indexes 0 and 1 are different pressure conditions, while N represents the pressure exponent changes from 0.5 to 2.5. Thornton & Lambert () studied the coefficient of N for different projects and concluded that N could vary from 0.5 to 1 for small leakages in PVC pipes. Relationship between the pressure and leakage in WDNs The present study employs water demand coefficients based on the water demand variations over 24 hours (the maximum hourly coefficient) using Standard No. 117-3 (IRIVPSPS ). Based on these coefficients and the average daily water demand of 20 L/s, the hourly water demand can be calculated. The results are illustrated in Table 3. Relationship between the pressure and leakage in WDNs The nodal pressures can be calculated using hourly water demand from Table 3 and EPANET2.0 software. Then, using the nodal pressures, the variable hourly nodal leakage can be obtained by Equation (5). The variable hourly nodal leakage is calculated by the following assumptions: Relationship between the pressure and leakage in WDNs 1. The first pressure investigation performs at night (3-4 am) when the nodal leakage is maximum. 2. The maximum nodal leakage is assumed to be 1% of total water demand (L max ¼ 6 L/s). This leakage is added to hourly water demand. The maximum nodal pressure (P max ) is calculated using EPANET2.0 software. Using L max and P max as the maximum nodal leakage and pressure and Equation (5) with N ¼ 1, Equation (6) becomes: Relationship between the pressure and leakage in WDNs where t shows the time measured in hours over the day (t ¼ 1, 2, 3, . . . , 24), L t and P t are the hourly nodal leakage and nodal pressure at time t, respectively. Relationship between the pressure and leakage in WDNs For estimating the variable hourly nodal leakage at time t (L t ) over 24 hours, it is required to calculate the hourly nodal pressure at this time (P t ). For this purpose, first, a hypothetical leakage (L 0 t ) is assumed and is added to hourly water demand as provided in Table 3. Then, using EPANET2.0 software, the hourly nodal pressure is obtained (P t ). Using this pressure (P t ) and Equation (6), variable hourly nodal leakage at the time t (L t ) is then calculated. Relationship between the pressure and leakage in WDNs This process repeats until the L t and L 0 t become equal. This process repeats to obtain the variable hourly nodal leakage over 24 hours at all nodes at the specific time t. Relationship between the pressure and leakage in WDNs All this calculation procedure was coded in the MATLAB programming language. Figure 9 depicts the 24-hour variations of the variable hourly nodal leakage. Each of the 30 diagrams exhibits the variable hourly nodal leakage variations at node 1 to node 30 over 24 hours. Relationship between the pressure and leakage in WDNs Case 2: ANN for leakage detection by hourly water demand and variable nodal leakage over 24 hours Relationship between the pressure and leakage in WDNs The proposed ANN in Case 1 above is trained based on the average daily nodal leakage and water demand. According to Table 3 and Figure 9, the water demands and leakages at all nodes change hourly over 24 hours. Thus, in this case, the ANN should be trained by considering these variations over 24 hours. The first step of ANN training is to determine the training inputs and outputs. Table 3 (hourly water demand) and Figure 9 (variable hourly nodal leakage) are used to generate the leakage matrix as the training output. For this purpose, at the first hour, hourly water demand from Table 3 and variable hourly nodal leakage from Figure 9 are included in each node (1-30 nodes), and finally, a (30 × 30) matrix is generated. This process repeats for 24 hours. Then, 24 of the generated (30 × 30) matrices are put next to each other to create a (30 × 720) leakage matrix (like Figure 3). Leakage matrix is utilized as the output data for ANN training. Using leakage matrix and EPANET2.0 software, pipes flow matrix (50 × 720) is generated as input data for ANN training. After creating the input and output data of the ANN training, the optimal number of neurons in the hidden layer should be determined. This task is illustrated in Figure 10. Relationship between the pressure and leakage in WDNs It is required to generate validation data to find the optimal number of neurons in the hidden layer. For this purpose, the following assumptions are made: Relationship between the pressure and leakage in WDNs 1. Hourly water demand follows a normal distribution over 24 hours. Relationship between the pressure and leakage in WDNs 2. Hourly water demand is considered as the mean normal distribution. Relationship between the pressure and leakage in WDNs 3. Variation coefficient is equal to be 10%. Relationship between the pressure and leakage in WDNs The hourly water demand for validation data is generated using mentioned assumptions and Table 3 data. At each time, 10% of hourly water demand must be added to the hourly water demand value. Indeed, all the hourly water demand in Table 3 should be multiplied by coefficient 1.1. This process creates the hourly water demand of validation data. Using Equation (6) and the mentioned procedure in the previous section, the variable hourly nodal leakages in all nodes are produced for validation data (the maximum nodal leakage at each node is assumed 1.2% of total water demand for validation data). Then, the pipes flow for validation data are calculated using the variable hourly nodal leakage and EPANET2.0 software. Relationship between the pressure and leakage in WDNs Finally, inputs and outputs of validation data serve to trained ANN to determine the hidden layer's optimal neurons. Figure 10 According to Figure 10 and the above-mentioned explanation, an ANN with 30 neurons can be proposed to predict the leakage over 24 hours. MRLE value can also be calculated, which is demonstrated in Figure 11. Figure 11 shows that the MRLE value is below 0.1% over 24 hours. In this case, this value is slightly larger than Case 1 with average daily water demand and nodal leakage value (below 0.04%). As can be seen, the proposed ANN with as many inputs as the flow rates of total pipes number predicts the leakage location with acceptable accuracy (Asgari & Maghrebi ). Thus, to employ the trained ANN, pipes' Relationship between the pressure and leakage in WDNs flow rates should be measured by some flow meters. Then, using the proposed ANN, RLE values are calculated at each node. Finally, the node with the maximum RLE represents the leakage location over 24 hours. Relationship between the pressure and leakage in WDNs In Figure 11, the x and y axes represent the hours and CONCLUSIONS The present study proposes a new methodology that considers variable leakage over 24 hours to find the leakage location in WDNs using feedforward artificial neural networks (ANNs). The proposed ANNs were studied for two cases with an optimal neuron number of 30 in the hidden layers. The relation between leakage and pressure was implemented over 24 hours. Based on these results, the variable hourly nodal leakage over 24 hours at all nodes was obtained. As a result, the accuracy of the trained ANNs by flow rates of total pipes in Case 1 and Case 2 was obtained below 0.04 and 0.1%, respectively. However, for the applicability of the proposed method in real WDNs, the sensitivity analysis was performed by hybrid ANNs for the fewer pipe numbers with known flow rates. The results CONCLUSIONS showed that if at least flow rates of 10% of the total pipe numbers are known by flowmeters, the leakage location can be found accurately. Although the leakage and water

섹션 본문 50문단 · 18,068자

(제목 없음)

1Water leakage control in water distribution networks (WDNs) is one of the main challenges of water utilities. The present study proposes a new method to locate a leakage in WDNs using feedforward artificial neural networks (ANNs). For this purpose, two ANNs training cases are considered. For case 1, the ANNs are trained by average daily water demand, including small to large hypothetical leakages. In case 2, the ANNs are trained by hourly water demand and variable hourly nodal leakages over 24 hours. The training parameters are determined by EPANET2.0 hydraulic simulation software using MATLAB programming language. In both cases, first, ANNs are trained using flow rates of total pipes number. Then, sensitivity analysis is performed by hybrid ANNs for the flow rates of pipes number less than the number of the total pipes. The results of proposed hybrid ANNs indicate that if at least the flow rates of 10% of the total pipes are known (using flowmeters), then the leakage locations in both cases can be determined. Despite the complexity of case 2, because of the variations of demand and leakage over the 24-hour period, the proposed method could detect the leakage location with high accuracy.Key words | feedforward artificial neural network, hourly water demand, leakage, variable hourly nodal leakage, water distribution networks HIGHLIGHTS • A leakage detection algorithm for WDNs using feedforward ANNs. • ANNs were applied for two cases: average daily water demand and hypothetical leakages; variable water demand and nodal leakages over the 24-hour.• ANNs training based on pipe flow rates and nodal leakage. • A sensitivity analysis using Hybrid ANNs. • The proposed algorithm successfully detects the leakage locations in both cases by the flow rates of 10% pipes. This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited

GRAPHICAL ABSTRACT INTRODUCTION

2Water resource is one of the most important necessities for human survival and development. Water distribution networks (WDNs), as critical infrastructure, play a vital role in safely delivering drinking water to customers.

3However, many networks have large water losses, burst pipes, and leakage due to aging, inadequate construction quality, or lack of maintenance, which further intensifies the water scarcity (Fazelabdolabadi & Golestan ; Zhao et al. ). The network's overall efficiency is severely affected by the lack of proper maintenance. One of the prime reasons is leakage and illegal connections (Shahzad et al. ). WDNs suffer from leakages causing economic as well as social costs. There is a need for a platform to manage WDNs more efficiently by detecting, localizing, and controlling the leakages even before or as soon as they occur (Gupta & Kulat ). The ANN-based mentioned methods cannot detect small leakages because they require extensive ANN training data. Therefore, this matter leads to increases in training time and the complexity of the training process. Also, insufficient and inaccurate data in the ANNs training stage led to incorrect results (Moasheri & Jalili Ghazizadeh ).

4This study proposes a new methodology to locate an hourly leakage in WDNs over 24 hours using feedforward ANNs. The main novelty is that the feedforward ANNs are trained based on the hourly variations of leakage and water demand over 24 hours. These hourly variations intensify the training process's complexity and increase the training time of the feedforward ANNs. In this study, the proposed ANNs have high efficiency and can detect small and large leakages. The proposed ANNs are trained by using the pipes' flow. The detection of the leakage location with a minimum number of pipes is essential to the proposed method's practicality in WDNs. Therefore, in this study, new hybrid ANNs are introduced using sensitivity analysis to find the pipe's optimal number.

5The proposed ANNs are trained in two cases. For case 1, the ANNs are trained by average daily water demand, including small to large hypothetical leakages. In case 2, the leakage variations are considered over the 24-hour period. The water demand variations cause pressure fluctuations that lead to leakage variations. Thus, it is required to consider the relationship between pressure and leakage. Therefore, in case 2, the ANNs are trained by variable hourly water demand and nodal leakage over 24 hours. Then, in both cases, a sensitivity analysis is performed by hybrid ANNs to find the optimal pipe number. These hybrid ANNs are trained by flow rates of different percentages of pipes number. Also, the training parameters are determined by EPANET2.0 hydraulic simulation software and MATLAB programming language. The rest of this study is organized as follows: in the following section, the methodology, including the ANN definition and development, is presented. In the next section, the structure of the selected network is introduced. Next, the results and discussion presents two cases of the ANNs training process to detect the leakage location. In this section, the relationship between pressure and leakage in WDNs is investigated. Finally, the conclusion section is presented. In the present study, a feedforward ANN is employed to construct a relationship between the input and output variables efficiently. Figure 1 illustrates the general structure of a feedforward ANN including an input layer, a hidden layer, and an output layer. The number of input variables determines the number of neurons in the input layer. The hidden layer determines the neural network's main structure and will have the most significant effect on the network's training method and its overall performance. Therefore, the number of neurons in the hidden layer is determined by minimizing a predefined error function over the training data by trial and error.

6As shown in Figure 1, each neuron in the input layer accepts input, and each neuron s in the hidden layer or output layer accepts a set of inputs x rs from the neurons of the previous layer and produces an output y s as follows (Zhou et al. ):

7where m represents the number of inputs, w rs shows the connection weight of the rth input, θ s denotes the neuron's threshold, and φ represents the activation function typically selected as the hyperbolic tangent function or sigmoid function.

8After the structure of an ANN is fixed, in order to minimize the deviation of model outputs from actual outputs over training samples, the parameters, including all connection weights w rs and all neuron biases θ s , are tuned. This deviation can be determined based on the root mean squared error (RMSE) criterion:

9where M is the number of samples, (x r , y r ) is the input-output pair of the rth sample, and o r is the actual output of the ANN on the input x r . ANN parameter optimization is usually con- In ANNs, RMSE is used as the performance function to determine the weights and biases. The RMSE criterion sometimes exhibits an acceptable value with proper convergence but does not satisfy the problem's requirements.

10Indeed, the RMSE demonstrates the average behavior of the network, while the trained network may contain high errors for special points. If a good performance was also expected from the trained ANN for the worst data (with larger error), the RMSE may not be an appropriate residual metric. Therefore, to solve this problem, the maximum relative leakage error (MRLE) metric is defined in this study besides RMSE, which will be discussed later.

ANN development (training and validation)

11As mentioned, the present study employs an ANN to detect the leakage location. At first, the ANN should be trained using a set of input and pre-specified output data. Then, the training data must be provided.

STRUCTURE OF THE SELECTED NETWORK

12In this study, the hypothetical rectangular network proposed by Poulakis et al. () is utilized (Figure 2). This network consists of 50 pipes, 30 junction nodes, 20 loops, and one

13reservoir. An elevated reservoir supplies the water by gravity. The length of the vertical and horizontal pipes is 2,000

14and 1,000 m, respectively, and the reservoir elevation is 52 m. In Figure 2, the range of pipe diameters is within 300-600 mm. The water demands are assumed at each node of the network through the water delivery system.

RESULTS AND DISCUSSION

15Case 1: ANN for leakage detection by average daily water demand and nodal leakage

16According to the previous sections, the location of the leakages in WDN is determined using the ANN. The proposed ANN can predict the location of a single leakage in a hypothetical WDN taken from Poulakis et al. ().

17In this case, the hypothetical leakage with average daily water demand at each node is defined as the output. The pipes' flow is defined as the input to train the ANN. Figure 3 illustrates the training output matrix named leakage matrix. Figure 4. After training the ANN, the leakage location can be determined using pipes flow.

18As mentioned above under 'Artificial neural network (ANN) definition', besides the RMSE index, the relative leakage error (RLE) is also defined as below to investigate the ANN's behavior:

19where RLE is relative leakage error, CLD ANN is calculated leakage and demand by ANN, HLD is hypothetical leakage and demand, and i is number of junctions, i ¼ 1, 2, 3, . . . , 30.

20Using Equation (3) According to these results, MRLE can be expressed as:

21where MRLE is maximum relative leakage error, j is column of RLE matrix, and j: 1, 2, 3, . . . , 1,650.

22The number of neurons in the hidden layer is an essential parameter for the ANN training. The optimal number of neurons in the hidden layer can be found based on the maximum of the MRLE (MaxMRLE). For this purpose, the steps explained in Figure 4 are employed for different neurons.

23This result is illustrated in Figure 5. As shown in Figure 5, the MaxMRLE value declines considerably for the neurons larger than 30 in training data (1650 cases). To verify this claim, the ANN must be implemented on validation data.

24The nodal leakages apply in the range of 0.005% up to 1.2% of total water demand. The increased value of 0.21 L/s is used to construct the next value (0.03 L/s up to 7.05 L/s). By this procedure, the number of 1,050 cases is produced for validation data. Therefore, out of all data (2,700 samples) considered in this study, 60% is assigned to training data, and 40% is allocated to validation data.

25As mentioned, Figure 5 demonstrates the results of determining the optimal number of neurons. According to the above description and the results illustrated in Figure 5, the optimal number of neurons in the hidden layer is obtained as 30. Since the values of MaxMRLE for neuron numbers above 30 are very small, a magnification is performed in Figure 5 for the sake of clarification.

26The MRLE values for different leakages from 0.06 to 6.0 L/s by considering 30 neurons at the hidden layer are Table 1. For better clarity, the x-axis in Figure 6 is divided into five categories based on the range of leakages illustrated in Table 1.

27As shown in Figure Figure 6 x Axis 0-30 31-60 61-90 -1,621-1,650

28Hypothetical leakage (L/s) 0.06 0.17 0.28 -6.0

29x

Relationship between the pressure and leakage in WDNs

30The dependency between the leakage and pressure is a well-

31where L 1 and L 0 are leakages at the pressures P 1 and P 0 , respectively. P is the pressure head of the zone, the indexes 0 and 1 are different pressure conditions, while N represents the pressure exponent changes from 0.5 to 2.5. Thornton & Lambert () studied the coefficient of N for different projects and concluded that N could vary from 0.5 to 1 for small leakages in PVC pipes.

32The present study employs water demand coefficients based on the water demand variations over 24 hours (the maximum hourly coefficient) using Standard No. 117-3 (IRIVPSPS ). Based on these coefficients and the average daily water demand of 20 L/s, the hourly water demand can be calculated. The results are illustrated in Table 3.

33The nodal pressures can be calculated using hourly water demand from Table 3 and EPANET2.0 software. Then, using the nodal pressures, the variable hourly nodal leakage can be obtained by Equation (5). The variable hourly nodal leakage is calculated by the following assumptions:

341. The first pressure investigation performs at night (3-4 am) when the nodal leakage is maximum. 2. The maximum nodal leakage is assumed to be 1% of total water demand (L max ¼ 6 L/s). This leakage is added to hourly water demand. The maximum nodal pressure (P max ) is calculated using EPANET2.0 software. Using L max and P max as the maximum nodal leakage and pressure and Equation (5) with N ¼ 1, Equation (6) becomes:

35where t shows the time measured in hours over the day (t ¼ 1, 2, 3, . . . , 24), L t and P t are the hourly nodal leakage and nodal pressure at time t, respectively.

36For estimating the variable hourly nodal leakage at time t (L t ) over 24 hours, it is required to calculate the hourly nodal pressure at this time (P t ). For this purpose, first, a hypothetical leakage (L 0 t ) is assumed and is added to hourly water demand as provided in Table 3. Then, using EPANET2.0 software, the hourly nodal pressure is obtained (P t ). Using this pressure (P t ) and Equation (6), variable hourly nodal leakage at the time t (L t ) is then calculated.

37This process repeats until the L t and L 0 t become equal. This process repeats to obtain the variable hourly nodal leakage over 24 hours at all nodes at the specific time t.

38All this calculation procedure was coded in the MATLAB programming language. Figure 9 depicts the 24-hour variations of the variable hourly nodal leakage. Each of the 30 diagrams exhibits the variable hourly nodal leakage variations at node 1 to node 30 over 24 hours.

39Case 2: ANN for leakage detection by hourly water demand and variable nodal leakage over 24 hours

40The proposed ANN in Case 1 above is trained based on the average daily nodal leakage and water demand. According to Table 3 and Figure 9, the water demands and leakages at all nodes change hourly over 24 hours. Thus, in this case, the ANN should be trained by considering these variations over 24 hours. The first step of ANN training is to determine the training inputs and outputs. Table 3 (hourly water demand) and Figure 9 (variable hourly nodal leakage) are used to generate the leakage matrix as the training output. For this purpose, at the first hour, hourly water demand from Table 3 and variable hourly nodal leakage from Figure 9 are included in each node (1-30 nodes), and finally, a (30 × 30) matrix is generated. This process repeats for 24 hours. Then, 24 of the generated (30 × 30) matrices are put next to each other to create a (30 × 720) leakage matrix (like Figure 3). Leakage matrix is utilized as the output data for ANN training. Using leakage matrix and EPANET2.0 software, pipes flow matrix (50 × 720) is generated as input data for ANN training. After creating the input and output data of the ANN training, the optimal number of neurons in the hidden layer should be determined. This task is illustrated in Figure 10.

41It is required to generate validation data to find the optimal number of neurons in the hidden layer. For this purpose, the following assumptions are made:

421. Hourly water demand follows a normal distribution over 24 hours.

432. Hourly water demand is considered as the mean normal distribution.

443. Variation coefficient is equal to be 10%.

45The hourly water demand for validation data is generated using mentioned assumptions and Table 3 data. At each time, 10% of hourly water demand must be added to the hourly water demand value. Indeed, all the hourly water demand in Table 3 should be multiplied by coefficient 1.1. This process creates the hourly water demand of validation data. Using Equation (6) and the mentioned procedure in the previous section, the variable hourly nodal leakages in all nodes are produced for validation data (the maximum nodal leakage at each node is assumed 1.2% of total water demand for validation data). Then, the pipes flow for validation data are calculated using the variable hourly nodal leakage and EPANET2.0 software.

46Finally, inputs and outputs of validation data serve to trained ANN to determine the hidden layer's optimal neurons. Figure 10 According to Figure 10 and the above-mentioned explanation, an ANN with 30 neurons can be proposed to predict the leakage over 24 hours. MRLE value can also be calculated, which is demonstrated in Figure 11. Figure 11 shows that the MRLE value is below 0.1% over 24 hours. In this case, this value is slightly larger than Case 1 with average daily water demand and nodal leakage value (below 0.04%). As can be seen, the proposed ANN with as many inputs as the flow rates of total pipes number predicts the leakage location with acceptable accuracy (Asgari & Maghrebi ). Thus, to employ the trained ANN, pipes'

47flow rates should be measured by some flow meters. Then, using the proposed ANN, RLE values are calculated at each node. Finally, the node with the maximum RLE represents the leakage location over 24 hours.

48In Figure 11, the x and y axes represent the hours and

CONCLUSIONS

49The present study proposes a new methodology that considers variable leakage over 24 hours to find the leakage location in WDNs using feedforward artificial neural networks (ANNs). The proposed ANNs were studied for two cases with an optimal neuron number of 30 in the hidden layers. The relation between leakage and pressure was implemented over 24 hours. Based on these results, the variable hourly nodal leakage over 24 hours at all nodes was obtained. As a result, the accuracy of the trained ANNs by flow rates of total pipes in Case 1 and Case 2 was obtained below 0.04 and 0.1%, respectively. However, for the applicability of the proposed method in real WDNs, the sensitivity analysis was performed by hybrid ANNs for the fewer pipe numbers with known flow rates. The results

50showed that if at least flow rates of 10% of the total pipe numbers are known by flowmeters, the leakage location can be found accurately. Although the leakage and water

참고문헌 25건

  1. An experimental investigation into the pressure - leakage relationship of some failed water pipes Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2007 10.2166/aqua.2007.065
  2. Burst detection using hydraulic data from water distribution systems with artificial neural networks Urban Water Journal · Taylor & Francis · 2006 10.1080/15730620600578538
  3. Distribution Network Assessment using EPANET for Intermittent and Continuous Water Supply Water Resources Management · Springer Science+Business Media · 2014 10.1007/s11269-014-0707-y
  4. Predicting the head-leakage slope of cracks in pipes subject to elastic deformations Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2013 10.2166/aqua.2013.094
  5. Development and Verification of an Online Artificial Intelligence System for Detection of Bursts and Other Abnormal Flows Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2009 10.1061/(asce)wr.1943-5452.0000030
  6. Leakage detection in water pipe networks using a Bayesian probabilistic framework Probabilistic Engineering Mechanics · Elsevier BV · 2003 10.1016/s0266-8920(03)00045-6
  7. A Method of Leakage Location in Water Distribution Networks using Artificial Neuro-Fuzzy System IFAC-PapersOnLine · Elsevier BV · 2015 10.1016/j.ifacol.2015.09.692
  8. Application of nodal pressure measurements in leak detection Flow Measurement and Instrumentation · Elsevier BV · 2016 10.1016/j.flowmeasinst.2016.06.009
  9. Novel Leakage Detection by Ensemble CNN-SVM and Graph-Based Localization in Water Distribution Systems IEEE Transactions on Industrial Electronics · Institute of Electrical and Electronics Engineers · 2017 10.1109/tie.2017.2764861
  10. Metamodel for nodal pressure estimation at near real-time in water distribution systems using artificial neural networks Journal of Hydroinformatics · IWA Publishing · 2017 10.2166/hydro.2017.036
  11. Application of soft computing techniques to multiphase flow measurement: A review Flow Measurement and Instrumentation · Elsevier BV · 2018 10.1016/j.flowmeasinst.2018.02.017
  12. Estimation of Leakage Ratio Using Principal Component Analysis and Artificial Neural Network in Water Distribution Systems Sustainability · Multidisciplinary Digital Publishing Institute · 2018 10.3390/su10030750
  13. Pressure management in water distribution systems in order to reduce energy consumption and background leakage Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2018 10.2166/aqua.2018.002
  14. Leakage detection and calibration of pipe networks by the inverse transient analysis modified by Gaussian functions for leakage simulation Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2018 10.2166/aqua.2018.176
  15. A Selective Literature Review on Leak Management Techniques for Water Distribution System Water Resources Management · Springer Science+Business Media · 2018 10.1007/s11269-018-1985-6
  16. Comparison of Classifiers for Leak Location in Water Distribution Networks IFAC-PapersOnLine · Elsevier BV · 2018 10.1016/j.ifacol.2018.09.609
  17. Leakage Estimation in Water Distribution Network: Effect of the Shape and Size Cracks Water Resources Management · Springer Science+Business Media · 2019 10.1007/s11269-018-2173-4
  18. A Novel Broad Learning System Based Leakage Detection and Universal Localization Method for Pipeline Networks IEEE Access · Institute of Electrical and Electronics Engineers · 2019 10.1109/access.2019.2908015
  19. Rapid Performance Evaluation of Water Supply Services for Strategic Planning Civil Engineering Journal · Salehan Institute of Higher Education · 2019 10.28991/cej-2019-03091324
  20. Shallow and deep neural network training by water wave optimization Swarm and Evolutionary Computation · Elsevier BV · 2019 10.1016/j.swevo.2019.100561
  21. A Hybrid of Artificial Neural Networks and Particle Swarm Optimization Algorithm for Inverse Modeling of Leakage in Earth Dams Civil Engineering Journal · Salehan Institute of Higher Education · 2019 10.28991/cej-2019-03091392
  22. Optimal sensor placement for pipe burst detection in water distribution systems using cost–benefit analysis Journal of Hydroinformatics · IWA Publishing · 2020 10.2166/hydro.2020.158
  23. Application of acoustic intelligent leak detection in an urban water supply pipe network Journal of Water Supply Research and Technology—AQUA · UWA Publishing · 2020 10.2166/aqua.2020.022
  24. Experimental and Numerical Assessment of Water Leakages in a PVC-A Pipe Water · Multidisciplinary Digital Publishing Institute · 2020 10.3390/w12061804
  25. Water Stress Mitigation in the Vit River Basin Based on WEAP and MatLab Simulation Civil Engineering Journal · Salehan Institute of Higher Education · 2020 10.28991/cej-2020-03091602