Three-dimensional convolutional neural network for leak detection and localization in smart water distribution systems
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1016/j.wroa.2024.100264
- 저널
- Water Research X
- 발행년도
- 2024
- 발행기관
- Elsevier BV
- 피인용수
- 4
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.wroa.2024.100264
- 토픽
- High voltage insulation and dielectric phenomena
- OpenAlex ID
- W4403279378
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 55,845자
본문 펼치기
섹션 본문 70문단 · 39,497자
(제목 없음)
1Smart meters such as advanced metering infrastructure (AMI) can significantly improve identifying realistic sized leaks in water distribution networks (WDNs).However, to date, detection/localization methods for AMI systems are extremely limited.In this study, to examine the benefits of using AMIs for leak detection within distribution network, a three-dimensional (3D) convolutional neural network (CNN) deep learning (DL) model is proposed that can account for temporally and spatially distributed information of pressures.The 3D CNN is tested for a real WDN in Austin using the realistic sized leaks (e.g., 3 L/s for 150-mm pipes) that are generated from hydraulic simulations.The model's performance is evaluated using detection probability, false alarm rate, and localization pipe distance metrics.In addition, the strength of using DL for leak identification is examined by comparing the CNN results with those from an optimization-based model.The 3D CNN performed better than the optimization model indicating that DL has advantages over conventional tools such as optimization methods.However, its adaptability may limit its use in some cases.Since DL can be significantly impacted by hydraulic simulation model, a way to handle modelling error must be determined.In addition, as network changes occur, retraining is required that may be time consuming and have difficulty with the number of failure conditions.
Introduction
2Leak detection and localization approaches can be classified as field inspection-and software-based methods (Wan et al. 2022).The former uses field equipment such as acoustic logger to locate leaks in small targeted regions where an anomaly is suspected.However, they are expensive, time consuming, and labor-intensive.To overcome these limitations, software-based methods have been proposed to identify failures using boundary conditions (e.g., system inflows) or water distribution network (WDN) internal measurements (e.g., pressures).These approaches construct a computer model such as artificial neural network (Mounce et al. 2010) and statistical methods (Zhang et al. 2020) to detect anomalous events when the field measurements diverge from their expected pattern.Although they have promise, several limitations exist.
3First, previous studies focused on detecting large leaks.Leaks can be classified into three categories: background leaks (tiny weeps and seeps that are not detectable even with field inspection), unreported leaks (small unseen losses) and reported leaks (visible losses) (AWWA 2008).
4Software-based methods intend to detect unreported leaks and larger (before water reaches the ground surface).However, several published literatures validated their methods using only a few documented reported leaks that their detection performances are difficult to evaluate.For example, many studies from the early 2010s (e.g., Ye and Fenner 2014) tested their methods using five failure conditions that were generated by opening hydrants.Bakker et al. (2014) considered a larger number of leaks but the magnitude was between 14 to 56 L/s that expected to cause ground puddling or worse.Javadiha et al. (2019)'s smallest considered leaks were 0.52% of daily average system demand but they correspond to 25 L/s.
5Instead of applying large reported leaks, unreported leak sizes should be used [e.g., 3 L/s for 150 mm pipes (AWWA 2008)].With that perspective, the recent Battle of the Leakage Detection and Isolation Methods (BattLeDIM) competition (Vrachimis et al. 2022) considered many larger leaks.Their leakages range 1.4 -8.3 L/s with most greater than 3 (10% of daily average system demand) and 5 L/s (16.7%).Leak size, rather than proportion of demand, is a standard metric across networks that should be reported by researchers.
6Secondly, leak detection/location tools should consider measurement and hydraulic model uncertainties but most published methods do not (Wan et al. 2022).Even recently proposed methods in the BattLeDIM did not consider field measurement errors (e.g., Daniel et al. 2022).The final drawback of current models is that are based on collecting and employing data from supervisory control and data acquisition (SCADA) systems.These systems have sparse flow and pressure meters, often limited to monitoring tank water levels, pump flow rates and heads, and a few pressures that may be inadequate to identify leaks that have not reached the ground surface.For example, the BattLeDIM test problem provided only SCADA data.The maximum detection likelihood from the alternative models was about 65% and most leaks were greater than 3 L/s.Thus, a current data collectin networks are insufficient and a clear next step is to collect and utilize advanced metering infrastructure (AMI) data.
7AMI is the representative smart meter of WDNs that has high spatial and temporal resolutions.Meters are installed on individual service lines and measure their water consumption data on much shorter time intervals (e.g., 5 min).They can automatically relay that data to a central operation point for utility use.AMI system is not a future upcoming technology, rather, it is already being widely implemented.For example, the city of San Diego, California, authorized up to $25 million to install smart meters at all households (Horn 2018) while the Madison Water Utility, Wisconsin, installed more than 64,300 AMIs (City of Madison 2019).Between 2022 and 2024, the US Bureau of Reclamation has supported AMI installations in 21 US cities (USBOR 2024).In Europe, the city of Gandía in Valencia, Spain, manages smart meters on their over 700,000 customer services (Smart Water Magazine., 2022).While generally focusing downstream of the meters, pressure meters have been added to customer meters and can provide a fuller picture of the WDS (Jun and Lansey 2023a).
8If pressure-supplemented AMI (PS-AMI) systems are deployed, in which all end-user pressures and demands are measured, leak detection performance can significantly improve including detecting small leaks.These systems can capture leak signals that are often masked by other noises, such as measurement errors, by looking at network's full pressure surface generated from the AMI data.Further, high density of AMI meters provides more information to locate leaks.However, the full potential value of using PS-AMI systems for leak detection and localization has not been fully explored .
9Inevitably, AMI systems will be linked with deep learning (DL) technologies as the high volumes of AMI data require advanced data analytics to manage and interpret.DL has been applied to WDN for leak detection (e.g., Zhou et al. 2019;Guo et al. 2021;Basnet et al. 2023;Rajabi et al. 2023) due to its perceived benefits over other previously developed software-based methods such as optimization tools.However, fewer efforts have examined the benefits of PS-AMI data collection systems in DL leak detection/localization modeling.Developing a DL technique that can interpret spatially distributed and temporally varying pressure response surface produced by PS-AMI system can significantly streamline many of the water utility operational tasks and greatly enhance leak identification.To date, only one DL model, a two-dimensional (2D) convolutional neural network (CNN), has been developed for PS-AMI systems (Jun and Lansey 2023a).While this model has demonstrated significant advantages in utilizing the PS-system, several critical research gaps remain.Specifically, this work did not incorporate temporal information or the capacity for precise leak localization.To fill this gaps, a three-dimensional (3D) CNN model is developed and evaluated here that utilizes temporally varying AMI pressure surfaces for leak detection and localization.
10The 3D CNN model detects and locates leaks by classifying 3D images that account for temporally and spatially distributed information of pressure residuals between the data collected from PS-AMI system and the well-calibrated hydraulic model (digital twin) predictions.The model is tested for the Austin WDN using unreported leak sizes.Detection and localization indicators: detection probability, false alarm rates, and average shortest pipe distance, are evaluated.Four research questions are then addressed:
111. Can a 3D CNN successfully detect realistic sized leaks?What are the benefits of combining spatial and temporal information of distributed pressures?2. Can the 3D CNN locate leaks?What locations are leaks particularly difficult to identify?Are these difficulties be related to network layout, demands and hydraulics? 3. Does DL perform better than optimization-based methods of detection and localization using the same available information? 4. How does the 3D CNN perform when a hydraulic simulation modelling error occurs?Does it still provide good results or is an alternative solution required?
Materials and methods
12Fig. 1 summarizes the approach for model development and application for a PS-AMI system.The upper portion of the figure shows the data development and model training.The resulting DL model is then applied in real-time detection model using collected demand and pressure data.
13Although DL tools have been applied to the leak detection problem, little discussion is given on the training process.Applying field data directly requires a large number of scenarios to be measured including system boundary conditions that will affect WDN pressures.The scenarios must include conditions with and without failures.Normal operating conditions are generally available but the range of demands and their spatial distribution may be narrower than desired.
14Failure conditions are rare and events, particularly small ones, may not be detected or classified as leaks.Thus, the set of measurements with failures may be limited and lack full spatial coverage.As a result, simulation of those events using an accurate hydraulic model to match the expected field conditions may be necessary to overcome the paucity of field data.Finally, most importantly, if a network is knowingly or unknowingly altered, the data from its previous state (from field data or generated numerically) may have little value in making future predictions resulting in false alarms or undetected leaks.
15A well-calibrated hydraulic digital twin model overcomes the first two issues by providing the ability to generate training sets by simulating pressures for conditions with and without leaks.With field data, more representative measured and predicted pressures can supplement the training set.If a WDN changes are documented, a modified hydraulic model can be re-simulated with similar demands and DL model retrained with new data.Real-time leak detection compares the pressures from a hydraulic model based on collected demand data with field pressure measurements.As described below, the differences between the two are represented graphically (Fig. 1) and the DL tool then characterizes the event as with or without a leak.
Training and evaluation data
16The approach for leak detection extends Jun and Lansey's 2D CNN model (2023a) using normalized pressure residuals.In practice, the PS-AMI monitoring system will measure and collect pressure heads at some to all nodes.In addition, the monitoring system will also collect realtime customer withdrawals.Using a calibrated hydraulic model, a set of predicted pressures can be computed using the measured demands as the hydraulic model input (Fig. 1).Since the monitored field pressures result from the measured demands plus any leaks, they may be different than the values predicted by the hydraulic model.
17The normalized pressure residuals are defined as the differences between predicted and measured pressures divided to their largest value at that measurement time such that the maximum value in each individual snapshot image equals to one.Jun and Lansey (2023a) demonstrated that pressure residuals can be well represented as an image; images with a leak (Fig. 2c and d) are distinguishable with those without any anomaly (Fig. 2a and b).However, their model is only useful for detection (no localization) and is limited to considering a single time step (i.e., steady state condition).The current work extends the previous model to account for spatially and temporally distributed information of pressures by analyzing the time series of pressure residuals in 3D image (series of 2D images in Fig. 3).Details about the 3D model are described in the following paragraphs with Fig. 3.
3D CNN model structure
18A typical CNN model consists of several layers (Fig. 3).In a 3D CNN, dimensions of 3D input data are determined by network layouts (spatial) and time windows (temporal).Large WDNs will have large layout matrices and longer time windows produce substantial 3D data.For instance, if a 2-hour time window is used with 15-min time interval data, eight images are used to form a 3D input cube.The cube increases to 12 images for a 3-hour time window.
19A 3D convolutional layer extracts unique features from the input 3D image data using a local filter called a "kernel" (yellow cube in Fig. 3; a kernel size of 3 is applied here).Unlike 2D, 3D CNNs use 3D kernels that move spatially (height and width) and temporally (depth).Local features are trained by sliding kernel filters across the input 3D data (normalized pressure responses over a time window in Fig. 3).The dot products between kernel and input's local region are computed to create a new 3D feature map (green box in Fig. 3) that retains spatial and temporal dependencies.In the convolution layer, an activation function must be defined to train the DL faster and more accurately.Generally, a rectified linear unit (ReLU) function is used (Jun and Lansey 2023a).
20A pooling layer downsamples the spatial and temporal dimensions of the imagery data provided by the convolution layer and retains the data's important features while helping control model overfitting by reducing the number of parameters and data dimensionality.Two types of the pooling layers are commonly applied: average pooling and max pooling.Average pooling smooths the feature map while max pooling focuses on the image's sharp features.For leak detection, max pooling is applied because the goal is to find the maximum pressure residuals generated by a leak.For example, when the max pooling size equals 2 in Fig. 3 (green cube filter), the largest value 8 remains in the pooled feature map (red box in the figure).
21Lastly, once the input data passes convolutional and pooling layers, it is flattened into a 1D vector that is fed into the fully-connected layer.This layer processes the features extracted from the former layers and calculates the feature score through an activation function (e.g., softmax for binary classification) to classify the data (Fig. 3).For detection, binary classification is performed (either leak or normal condition) while the problem requires multiple classifications for leak localization (among multiple leak locations).
Leak detection and localization performance metrics
22Two widely applied indicators to assess leak detection algorithms are detection probability (DP) and the false alarm rate (RF) (Jung and Lansey 2015; Jun and Lansey 2023a).DP is the number of detected leak events to the total number of leak events (%) and RF is the number of incorrectly detected anomalies in a set of normal (non-failure) events to the total number of normal events (%) (Jun et al. 2021).These two metrics evaluate leak detection effectiveness.To evaluate the localization performance, the average shortest path distance (ASD) between the true leak site and estimated leak location is calculated as the average topological distance (shortest path) across the number of detected events (Steffelbauer and Fuchs-Hanusch 2016).Here, ASD is defined as the sum of pipe distances along the shortest path between the true and estimated leak location for detected leak events to the number of detected events.
Nodal pressure measurement error using AMI pressures
23The 3D CNN model identifies leaks using the residuals between predicted pressures and AMI pressure measurements.The predicted values are computed using AMI demands as the input to the hydraulic simulation model.AMI data can be used to estimate WDN nodal measurements (e.g., nodal demand) with less uncertainty than flow derived from historic data.The households in vicinity of a node can be aggregated to form a nodal demand and its error magnitude should be small since individual AMIs have high spatial resolution and their measurement errors compensate as more data is collected.In a similar way, nodal pressures with low error can be estimated using AMI pressures.
24Measurement error is inherent in all leak detection studies.Individual pressure or pipe flow meters have measurement errors that can be significant and may be mistaken for a leak.In a PS-AMI, multiple pressure measurements are collected around a node to reduce the nodal pressure measurement error (σ p ). Suppose node A is a component in a WDN that connects n households.A few of those homes do not use water during the given time step (Fig. 4).Assuming that the AMI pressure errors are normally distributed, N(μ AMI , σ AMI ), and are independent of each other, as more random AMI pressures are collected σ p will be smaller than if a single measurement is taken.The aggregated measurement error, σ p , can be approximated by calculating the variance of the sample mean, P, that is a linear combination of the individual meter pressure P i :
25Note that the covariance between P i and P j (i∕ =j) is zero if the two variables are independent.
26where P i is the ith AMI pressure from N(μ AMI , σ AMI ), P is the sample mean of P i which represents the nodal pressure, and n is the number of AMI pressure measurements (n=5 in Fig. 4).σ p is the nodal pressure variance estimate.Thus, the variance of a linear combination of independent random variables (i.e., the random AMI pressures) (Eq.1), σ p 2 , decreases as the number of AMI measurements (i.e., n in Eq. 1) increases.Using a SCADA type system, without the advantage of redundant meters, pressure would be measured by a single meter and have higher uncertainties/ errors.The pressure error can confound identifying anomalies; particularly for small leaks and networks with low pressure sensitivity.Thus, having low σ p by installing pressure supplemented AMIs are important for detecting realistic sized leaks (i.e., more AMI pressure measurements reduce nodal pressure error).In this study, to examine the benefit of using AMI pressures, a small σ p is applied to nodal pressures.
27As a practical matter, pressures measured at an AMI are subject to energy losses between the supply pipe and the meter in the service line.Thus, either meters that did not measure demands during the time step or tools to relate AMI to pipe pressures using hydraulic relationships or a statistical model are needed for a PS-AMI system.Head losses between the distribution main and the meter are expected to be relatively small when water is flowing and it may be possible to neglect those losses.It is also likely that one or more customers associated with a node will not use water in any period, particularly short duration periods.When network energy losses are low (and measurement errors are more impactful) many users will not be taking flow.Field based research is needed to clarify these processes.
Model and parameter uncertainties
28Previous work assumes that their hydraulic model accurately represents the true WDN (i.e., no error in the model or its parameters) during the training and testing processes (Case 1 in Table 1).However, model representation is likely imperfect due to various missing or incorrectly represented factors such as valve operations or background leakage (model error) or parameter estimates may be imprecise (parameter error).These errors can change gradually (leakage) or instantaneously (valves inadvertently left closed after testing or a pipe repair).
29Table 1 lists six different cases when model uncertainty can infiltrate the posed DL training and testing process.It is inclusive for the approach applied here and is likely consistent with other model-based DL detection methods.The first case does not include any uncertainty in the model.Cases 2 to 4 have model uncertainty when the model is used to generate data which can be model error (e.g., background leakage) and/ or parameter error (e.g., pipe roughness uncertainty).Case 2 occurs when the uncertainty appears in the testing but the model was perfect when training DL.This occurs when model parameters change as time passes after the model has been developed thus it requires re-calibration.Case 3 has model uncertainty in both training and testing process that can appear when the model initially contained errors (the model was never perfect).Case 4 occurs when Case 3′s model is calibrated before the testing process.
30Given the rarity of leak events, field data should be generated using the hydraulic simulation model but causing error in the training process (Cases 5 and 6).Case 5 occurs when the model was uncertain in generating field and model computed datasets for training, however, the model is calibrated before testing.If the model still has an error, the uncertainty condition is classified as Case 6. Case 6 can also occur if system operation changes (e.g., valve closure, pump operation) after training DL.
Application networks
31The 3D CNN detection model is applied to a WDN from Austin, TX (Fig. 5).The network has a daily average system demand of 726 L/s with 125 nodes, 90 pipes, and one fixed head (360 m) reservoir without pumps.The nodes can be aggregated into 14 groups based on consumer types (industrial, commercial, residential) (Jung and Lansey 2015).Given that total pipe length is 82.6 km and pipe diameter size distributions, this network is characterized as a transmission oriented WDN.
Hydraulic data generation
32A PS-AMI system is assumed to be installed in the Austin network.In keeping with emerging implementation of AMI system that can be supplemented with pressure meters, all end-user pressures and demands are collected.The objective here is to evaluate such a system.Due to the lack of AMI field data, simulation models are applied to produce sufficient data for normal conditions to train the 3D CNN.Failure conditions must be modeled because (1) failures are rare and field data does not provide a sufficient number and range of failure conditions and (2) small leaks will be missing from the record as they will likely not be detected in the historical record as water is not on the street.
33In this study, AMI demands are generated using SIMDEUM (SIMulation of water Demand, an End-Use Model), the end-user demand simulation model developed by Blokker (2010).Nodal demands are calculated as the sum of the AMI demands in the vicinity of the node and are applied in EPANET 2.2 (Rossman et al. 2020) to compute nodal pressures (i.e., predicted pressures; P pred ).In initial evaluations, the hydraulic model is assumed to perfectly reflect the real network (often referred to as a digital twin model with no modelling uncertainty) (Case 1 in Table 1).Measurement errors are then introduced by adding uncorrelated variables of N(0, σ p ) to the computed pressures, P pred , where σ p is defined as a relatively small error of 5 cm, to form measured pressures for normal conditions (i.e., P normal ).
34For leak conditions, leak flows are added to nodal demand and applied when generating pressure measurements for those conditions.The leakage flows are computed using an orifice with emitter coefficient C at the failure location [C=6 is applied that equates to about a 3 L/s leak at a pressure of 44 m].Resulting leaks are in the range of unreported leak sizes (≤ 3 l/s).Randomly generated measurement errors are then added to hydraulic model computed values to generate measured pressures under a leak (i.e., P leak ).
35To train and evaluate the DL CNN model, 3750-event training, 1250event validation, and 1250-event test datasets are generated using EPANET 2.2 (Rossman et al. 2020) for normal (no leak) and leak conditions, respectively.All data is recorded at a 15-min.interval over a 24-hr.duration (from 00:00 to 23:45).The 3D CNN model consists of one convolutional layer and one pooling layer that has kernel size = 3 and pooling size = 2, respectively.ReLU is applied for the activation function and learning rate = 0.0001 is used.These hyperparameter values are determined through trial-and-error process.This structure has also been used for the 2D model.
36DP and RF are calculated by running the 2D and 3D CNNs for the normal and leak event test datasets, respectively.For the detected leak events, the ASD is computed using the shortest pipe path distances between true and estimated leak locations.
3D CNN leak detection performance
37A single time step 2D CNN model is compared to multiple time step 3D CNN models using detection probability (DP) and false alarm rate (RF) metrics.The models are first applied for the peak demand conditions (7:30 am in Fig. S-1 in the supplementary materials) as performed in Jun and Lansey (2023a).The 3D CNN model is then provided series of 2D images for conditions recorded at a fifteen-minute time step over some time period.
38Adding temporal information to the CNN model increases the DP from 84% to 91% for the 3 hrs peak demand period (12 images: 7:30 -10:30 am) (Table 2).RF significantly decreases to 1% compared to 8% alarms for the 2D CNN.Detections are based on pressure residuals that are the largest at the leak location as leakage flows increase head losses.The 3D CNN accumulates spatially distributed pressure information to correctly identify true leaks.The 2D and short window duration may incorrectly call out false alarms when multiple large measurement errors occur in a brief period.With multiple measurements, the latter is less likely than for a single snapshot.On the other hand, longer time windows result in larger 3D imagery data cubes and better detection quality (except for the longer analysis windows described below) but may delay leak identification (detection time).
39To assess the tradeoffs between analysis window duration and detection results, five time window lengths are compared for three demand hours [peak (7:30 am), average (5:00 pm), and low (3:00 am)] (Table 2).As the demand level decreases for the same measurement data/duration, model results generally decline (DP falls and RF increases).With lower flows/demands, the pressure sensitivity decreases since head losses are relatively small.Thus, anomalies are not detected as well.As the analysis window increases, small deviations accumulate and the detection quality improves.Thus, in general, the 3D CNN significantly outperforms the 2D model for all analysis windows.
40The exception to the analysis window duration and false alarms is the peak demand case.Here, when a 6-hr time window is used at the start time of the peak demand period (7:30 -13:30), false alarms are least likely compared to short analysis windows (Table 2).However, low demand and pressure sensitivity periods occur between 4 and 6-hrs after the peak (Fig. S-1).Thus, with a longer window, leaks are incorrectly identified as result of these periods due to measurement errors.Conversely, in the 6-hr window for the average period (5:00 -11:00 pm), a high-pressure sensitivity period is added and few false alarms are sounded.
41During the low demand period, a 2D single snapshot is more likely to have false alarms as pressure measurement errors may exceed the CNN's detection threshold, particularly for small leaks.Given this sensitivity, the 2D CNN model classifies all conditions as normal resulting in a relatively low DP and RF.On the other hand, the 3D with less than 12 measurements (< 3 hrs) classifies all conditions as failures causing high DPs and RFs.With longer analysis periods and low demand, the 3D CNN begins to distinguish leaks/no leaks but false alarms remain significant.Thus, care must be used in reacting to alarms overnight and other low periods given the pressure insensitivity.From this analysis, the best time window is 3-hrs after the peak demand hour while the best midday and overnight window is 6 hours (albeit with longer detection times to confirm failures).
42Fig. 6 shows DPs for 10 independent failure events for each 125 nodes (i.e., 1250-leak events) when 3D CNN is applied using the best time window 3-hrs after the peak demand hour.Leaks at most nodes are detected with 100% probability due to the small pressure measurement errors that permitted the 3D CNN to focus on learning anomalous signals created by leaks.A few scattered nodes have DPs in the range of 70-90%.Nodes near the source (reddish/darker) had very low, and mostly 0%, DPs.When leaks occur in these sub-regions (some portions in groups 1 and 3 in Fig. 5), head losses only increase slightly above the non-failure case and the downstream pressure residuals are very small.Thus, the 3D CNN model fails to correctly classify events and identifying and locating leaks in that region is unlikely; demonstrating that failure location plays a critical role in leak detection.
3D CNN leak localization performance
43After detection, a multiple classification task is performed by the 3D CNN to locate failures.With an average pipe length of nearly 900 m, many leak locations can be identified with good precision [average shortest path distance (ASD) ≤ 1000 m as shown in Fig. 7].Leaks at these nodes generate relatively large pressure residuals that enable the CNN to localize the leak.In areas where the residuals are lowest such as regions with large pipe diameters (e.g., groups 12-14 in Fig. 5), the ASD is larger (blueish/darker in Fig. 7).In addition to pipe sizes, localization performance is impacted by the network structure.For example, a WDN with many loops or oversized pipes will produce lower pressure residuals and higher ASDs compared to a branched network or one with small diameter pipes.
Table 2
44DP and RF results for the peak, average, and low demand hours using different analysis windows from 3D input data generation.The number of time steps in 1hr equals to four (1-hr = 15-minutes x 4).Fig. 6.Detection probability results for each leak location node in Austin S. Jun et al. Water Research X 25 (2024) 100264
45No leaks were detected for a significant portion of groups 1 and 3′s nodes (DP=0%) and thus locating failures in these regions is the most difficult.An alternative solution is to detect leaks using other approaches such as system mass balances [comparing inflow rates with total withdrawals (i.e., sum of AMI demands) (DP = 100% using this approach in Jun and Lansey 2023c)] and then identify leak locations with 3D CNN.
46To assess the spatial impact of leaks, pressure residuals (ΔP) are averaged over the day (24-hr = 96 × 15-min time step) and across nodes in each group j (n j ) (Fig. 5 ) /96
47) /n j ].Fig. 8 plots ASD versus the average pressure responses for several node groups.
48A number of groups are clustered near the origin (white diamonds in Fig. 8).Generally, failure localization improves with higher pressure residuals.Groups 6 and 10 cause significant pressure differences and failure sites are precisely predicted.Localization results are poor when residuals are small.Failures in pipe groups 1, 3 and 12-14 had the five longest group average ASD and four of these groups (1,3,12,13) had the lowest pressure residuals (and similarly low DP).When leaks occur in groups 1 or 3, an uniform impact is generated across the network and the 3D CNN predicts leak location near the source to match the pressure surface.Groups 12-14 are affected in a similar way so the 3D CNN identifies the failure within those groups as being near the source.Group's 12-14 ASD, however, are larger than for group 1 or 3 since the distance between true and predicted leak locations (i.e., sites near the source) in the former groups is much larger than groups 1 and 3.
Leak detection comparison between 3D CNN and binary integer liner programming model
49Performance metrics are compared for 3D CNN and Jun and Lansey's (2023b) binary integer linear programming (BILP) hydraulically driven optimization model for the same set of anomalies using a three-hour time window for 100 normal and 100 leak conditions.
50When the same normal/leak events are supplied to the DL and BILP methods, the former's DP was 17% higher (88% and 71%) while maintaining a low RF (2% for 3D CNN and 1% for BILP) (Fig. S-2 in the supplementary materials).Both models failed to detect leaks when they occur near the source (groups 1 and 3 in Fig. 5).The 3D CNN model, however, sounds alarms for leak locations where pressure residuals are small (e.g., some nodes in groups 12-14 in Fig. 5 and on the main transmission pipeline in group 3).
51The BILP's ASD (1400 m) across all detected is lower than CNN's estimates (1630 m).However, the CNN correctly identifies more failures than the BILP whose locations are difficult to identify (ASD > 5000 m in Fig. 7).Comparing the ASD for the 71 events successfully detected by the BILP, the CNN's ASD (1280 m) is smaller than the BILP model.
52The BILP model embeds a linearization of the system hydraulics in the BILP model but its objective is an aggregated sum of deviations so it does not explicitly account for spatial distribution of pressure residuals.As pressure residuals are provided as 3D matrices to the DL, this model is able to better detect and locate leaks.A second contributing factor is that the BILP uses fixed, heuristically defined parameters in its leak detection relationships.It is unclear if, and unlikely that, the model parameters are optimal for all leaks.DL rules are more flexible and could contribute to the CNN model outperforming the BILP.
Impact of hydraulic simulation modelling error on 3D CNN
53To examine the impact of model error on DL, a 3D CNN model was trained with hydraulic data with all pipes open but tested with unknown partially closed valves (Case 6 in Table 1) for 100 normal conditions for each closed valve (Fig. 9).Measurement errors (σ p = 0.05 m) are added to all pressure measurements.Since the utility/operator is not aware of the partially closed valve, they would continue to compare their hydraulic model (with the valve open) with the field data with the valve closure.
54With a valve is closed, field pressure measurements differ from predicted values because predictions are made using a model that does not represent the network (i.e., model error).The model error can sufficiently alter pressure residuals to cause an alarm when no anomaly has occurred.Here, when any of the four valves (Fig. 9a to d) are closed, all 100 non-leak conditions are incorrectly classified as leak conditions.This result highlights a significant limitation of DL methods and the underlying data used to train the models that must be derived from the current system.When the DL model provides poor results, it can be taken as a signal to retrain the model.
55Abrupt changes can occur with operational changes or non-recorded field work and points to the need for good communication within a utility including sharing repair records with modelers to maintain the hydraulic model and unexpected hydraulic conditions with field crews to identify causes.Since sufficient data is required to accurately train DL models, utilities may pause applying a leak detection model and collect the sufficient field data under new conditions.Varying other network conditions such as source head/pump operations should be examined to test the range of utility of a DL based leakage model.
Conclusions
56This study develops a 3D CNN leak detection and localization model using temporally and spatially distributed information of pressure residuals collected from a PS-AMI system.Its application led to several conclusions.First, spatially distributed pressures should be accumulated over time and generate CNN input data as 3D images.Generally, the DP increased and the RF decreased as longer time windows were used.However, when a long time window (i.e., 6-hr) was applied around the peak demand hour, the RF increased due to low demand-low pressure sensitivity conditions that occurred after the peak.In addition, short time windows and low demand levels resulted in poor detection results because leak 3D images were indistinguishable from normal images.
57Next, leak locations with low pressure sensitivity resulted in poor detection and localization metrics.When leaks occur near the source, downstream pressure residuals are similar to normal events and DPs for these sub-regions were often near 0%.High ASD results occurred for locations that are distant from the source but have low failure pressure residuals.For these regions, DPs were high but failure locations were often misjudged to be near the source.
58Third, DL performed better than an optimization algorithm.The 3D CNN model identified more leak events than the BILP method.Further, the DL's ASD was lower for the common set of detected failures.Neither tool was able to locate failures that occurred near the source suggesting that other approaches are needed or that the lack of sensitivity precludes localizing those leaks.Finally, hydraulic modelling errors significantly impact the DL performance.When hydraulic model with uncertainty is introduced, numerous false alarms are raised.To ensure that the 3D CNN correctly classifies normal and leak 3D images, the DL model must be retrained with a recalibrated hydraulic model after any system alteration is implemented or identified.
59This work has several limitations that future efforts can address.First, the proposed 3D CNN should be tested using real field AMI data.It also should be applied in real-time with a moving window to account for a longer historical record of flow and pressure.Next, combinations of the tools that focus on different aspects of failures may provide a more comprehensive failure detection/localization approach, such as integrating 3D CNN with mass balance.Lastly, appropriate solutions to deal with hydraulic model uncertainty in DL are required.
Declaration of competing interest
60The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Fig. 1 .
61Fig. 1.Flow chart of data development for training a deep learning model and real-time leak detection using collected demand and pressure data to the trained model.
Fig. 2 .
62Fig. 2. CNN input images for the Austin network to 2D for a normal condition without any leak (a) and (b); for a leak condition (c) and (d).The x and y legends represent the coordinates of the measurements and imply their horizontal and vertical distances from the origin, respectively.The red dashed circles represent the leak locations.
Fig. 3 .Fig. 4 .
63Fig. 3. 3D CNN structure.
Fig. 5 .
64Fig. 5. Layout of Austin network with node numberings and 14 nodal demand groups as proposed in Jung and Lansey (2015).
Fig. 7 .
65Fig. 7. Average shortest path distance (ASD) to predicted leak location for the Austin WDN.White nodes are the locations with DP=0% (Fig. 6).
Fig. 8 .
66Fig. 8. Localization results and daily average pressure residuals by group when a 3 L/s leak occurs at leak nodes.Groups 2, 4, 5, 7-9, and 11 are shown as white markers.
Fig. 9 .
67Fig. 9. CNN 2D image at the peak demand hour (7:30 am) for a normal condition when a valve is partially closed for four different locations [(a) ~ (d)].The dashed squares represent the location of closed valves.
Sanghoon Jun :
68Writingreview & editing, Writingoriginal draft, Validation, Data curation, Conceptualization.Donghwi Jung: Writingreview & editing, Funding acquisition.Kevin Lansey: Writingreview & editing, Supervision, Funding acquisition.
Table 1
69Six cases when model uncertainty occurs in the modelling process.Field data in testing is exact for all cases since it should always have the true configuration.
70* Exact = no error in the hydraulic simulation model (i.e., digital twin) / Inexact = model with uncertainties.
참고문헌 19건
- Stochastic water demand modelling for a better understanding of hydraulics in water distribution networks Research Repository (Delft University of Technology) · Delft University of Technology · 2010
- Water Distribution System Burst Detection Using a Nonlinear Kalman Filter Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2014 10.1061/(asce)wr.1943-5452.0000464
- Weighted Least Squares with Expectation-Maximization Algorithm for Burst Detection in U.K. Water Distribution Systems Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2013 10.1061/(asce)wr.1943-5452.0000344
- 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
- Analysis of historic bursts and burst detection in water supply areas of different size Water Science & Technology Water Supply · IWA Publishing · 2014 10.2166/ws.2014.063
- Deep learning identifies accurate burst locations in water distribution networks Water Research · Elsevier BV · 2019 10.1016/j.watres.2019.115058
- Pipe crack early warning for burst prevention by permanent acoustic noise level monitoring in smart water networks Urban Water Journal · Taylor & Francis · 2020 10.1080/1573062x.2020.1828501
- Leakage Detection in Water Distribution Systems Based on Time–Frequency Convolutional Neural Network Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2020 10.1061/(asce)wr.1943-5452.0001317
- Comparison of Imputation Methods for End-User Demands in Water Distribution Systems Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2021 10.1061/(asce)wr.1943-5452.0001477
- A Sequential Pressure-Based Algorithm for Data-Driven Leakage Identification and Model-Based Localization in Water Distribution Networks Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001535
- 2016 3rd Conference on Control and Fault-Tolerant Systems (SysTol) 2016 10.1109/systol37932.2016
- Battle of the Leakage Detection and Isolation Methods Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001601
- Literature Review of Data Analytics for Leak Detection in Water Distribution Networks: A Focus on Pressure and Flow Smart Sensors Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2022 10.1061/(asce)wr.1943-5452.0001597
- 2018 5th International Conference on Control, Decision and Information Technologies (CoDIT) 2022 8th International Conference on Control, Decision and Information Technologies (CoDIT) · 2018 10.1109/codit43787.2018
- Linear Programming Models for Leak Detection and Localization in Water Distribution Networks Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2023 10.1061/jwrmd5.wreng-5720
- Leak detection and localization in water distribution networks using conditional deep convolutional generative adversarial networks Water Research · Elsevier BV · 2023 10.1016/j.watres.2023.120012
- Convolutional Neural Network for Burst Detection in Smart Water Distribution Systems Water Resources Management · Springer Science+Business Media · 2023 10.1007/s11269-023-03524-x
- Supervised Machine Learning Approaches for Leak Localization in Water Distribution Systems: Impact of Complexities of Leak Characteristics Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2023 10.1061/jwrmd5.wreng-6047
- Comparison of AMI and SCADA Systems for Leak Detection and Localization in Water Distribution Networks Journal of Water Resources Planning and Management · American Society of Civil Engineers · 2023 10.1061/jwrmd5.wreng-5953