Next Article in Journal
Experimental Study on Ultimate Tensile Strength and Impact Energy of Al-2024 Friction Stir-Welded Joints
Previous Article in Journal
Using Digital Pictures to Enhance Students’ Chinese Writing Skills
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Predictive Model for Short-Term Water Demand Forecasting and Feature Analysis in Urban Networks †

1
Department of Civil and Geomatics Engineering, California State University Fresno, Fresno, CA 93740, USA
2
American Association for the Advancement of Science Fellowship Programs, Washington, DC 20005, USA
3
Department of Civil, Construction, and Environmental Engineering, North Carolina State University, Raleigh, NC 27606, USA
*
Author to whom correspondence should be addressed.
Presented at the 3rd International Joint Conference on Water Distribution Systems Analysis & Computing and Control for the Water Industry (WDSA/CCWI 2024), Ferrara, Italy, 1–4 July 2024.
Eng. Proc. 2024, 69(1), 155; https://doi.org/10.3390/engproc2024069155
Published: 15 September 2024

Abstract

:
Variability in water use and user characteristics influences the operational management of water distribution systems (WDS). Types of water use and external factors including socioeconomic characteristics and weather variables can affect the normal operation of WDS. Accurate demand prediction is crucial, yet existing methods lack industry-wide comparability. This study applies a supervised learning model, IONET, that utilizes feedforward neural networks for short-term demand forecasting. IONET incorporates lagged demand, seasonal predictors, and weather variables. Tested on Italian DMA data, it swiftly produces accurate forecasts across various horizons. Feature importance analysis underscores the significance of seasonal variables and lagged demand. The IONET model offers prompt training and valuable insights for optimizing WDS management, facilitating the digital transformation of water infrastructure.

1. Introduction

Extreme weather events and population dynamics threaten the continuous supply of potable water to urban environments. As urban population grows, supply management strategies that exploit multiple water resources are no longer sustainable. Demand management methods focus on optimizing the already-low water volume with programs related to efficiency and leveraging the ongoing digital transformation of the infrastructure components. While extensive research has been applied to predict the future demand of water, population dynamics in terms of different uses bring new data sets that require swift methods to plan for water resource management.
Water demand heavily depends on the local weather conditions, including ambient temperatures, humidity, and rainfall [1]. Multiple studies have proved that consumption increases with temperature and humidity. Similarly, there are works that describe different relationships between water demand and precipitation occurrence and total precipitation values [2]. The models that incorporate external predictors use a regression approach to explain the relationship between a response variable and multiple predictors. Regression models can predict one and multiple values of water demand. However, as the models’ accuracy decreases with an increasing forecasting horizon, there is a need for an improvement in the multiple-horizon water demand forecasting models’ accuracy [3].
The rest of this paper is organized as follows. Section 2 describes the method and application data set used to develop the water demand forecasting method. Section 3 shows the Results and Discussion of the forecasting method when applied to multiple data sets. Finally, Section 4 highlights the main takeaways of our work and mentions the future directions of this research.

2. Methods and Materials

This section explains the model development to predict the one- and multiple-time steps of water demand. We implement a previously developed Artificial Neural Network model by [4] comprising a feedforward network with one hidden layer and five hidden neurons. The rest of the model parameters are discussed in [4]. Our model is considered to be an input–output neural network (IONET) in which multiple internal and external predictors (Table 1) are used to forecast water demand.
Prior to IONET’s implementation, we conducted an Outlier Detection Analysis (ODA) to reconstruct erroneous data sets and remove outliers. The ODA included a “fill outliers” step with the linear interpolation of neighboring data points to replace outliers. Also, a smoothing data technique using the moving mean with multiple window sizes was conducted as part of the preliminary ODA to improve the input conditions of each DMA water demand data set.
As presented in [5], we also calculated the autocorrelation and partial correlation functions to evaluate the number of lagged demand values to be used as predictors. Based on visual inspection, we determined that up to four previous steps are important predictors of the next time steps of water demand. For multiple horizon forecasting, this means that for a particular day of the week, measurements of the previous four days may positively affect the model’s performance.
IONET is applied to the data set presented by the Battle of Water Demand Forecasting (BWDF) competition. BWDF includes data sets comprising hourly water demand sampled at ten District Metered Areas (DMA) in Italy. As expected, each DMA represents different types of users. Hourly weather variables such as temperature, humidity, and precipitation were also made available by the BWDF organizing committee.
The purpose of the BWDF was to compare multiple forecasting methods’ capabilities by providing four growing-window data sets. Hourly water demand data for the first training set included demand measurements for the ten DMAs from 00H00 1 January 2021 to 23H00 24 July 2022. Finally, the metric of performance reported here includes the coefficient of determination (R2).

3. Results and Discussion

IONET was implemented to forecast one- and multiple-time steps of water demand from ten DMAs presented in the BWDF competition. This section reports the metric of performance of our forecasting methodology by comparing the available BWDF data sets with the results of the IONET forecasting values. We use the following weeks for testing:
  • Week 1: 18 July 2022, at 00H00 to 24 July 2022, at 23H00.
  • Week 2: 24 October 2022, at 00H00 to 30 October 2022, at 23H00.
  • Week 3: 9 January 2023, at 00H00 to 15 January 2023, at 23H00.
  • Week 4: 27 February 2023, at 00H00 to 5 March 2023, at 23H00.
IONET reports an average R2 of 0.49 for week 1 across the ten DMAs. For week 1, IONET reports values in the range of 0.78 and 0.97, with DMA J being the only exception, which affects the overall performance (Table 2). While IONET’s performance is remarkable for well-structured, mostly residential data sets (e.g., DMA A, B, E, and J) with average R2 values of up to 0.97, IONET struggles to predict the water demand of industrial/commercial and DMAs supplying office buildings and sports facilities with low and even negative R2 values (Figure 1). For these types of DMAs, we opted to report the average demand of previous similar weeks as our forecasted values.
For the second week, the average R2 is 0.80. In this week, there is an increment in the R2 value; the two lowest values correspond to DMAs F and I with 0.53 and 0.13, respectively. The highest R2 value is 0.98 for DMA J. The third testing week presents an average R2 value of 0.63, with minimum and maximum R2 values of −1.44 and 0.98, respectively. Finally, R2 ranges from −0.59 to 0.98 for the last testing week.
The reported results included all the mentioned predictors. A sensitivity analysis was conducted to evaluate the effect of each of the thirteen predictors on the model performance, and no significant changes occurred with the R2 values.

4. Conclusions

The development of an effective forecasting model that predicts one- and multiple-time steps of water demand was presented in this work. IONET is a feedforward neural network comprising one hidden layer with five hidden neurons. The model was tested on ten data sets presented in the Battle of Water Demand Forecasting competition as part of the 3rd WDSA-CCWI Joint Conference in Ferrara, Italy. IONET shows remarkable performance in terms of explaining water demand based on a set of internal and external (weather data) predictors. For well-structured data sets corresponding to mostly residential users, IONET explains up to 98% of the variability of water demand when forecasting the next week of hourly water demand (e.g., 168-time steps). However, when the input data sets represent industrial, commercial, or sports facilities, IONET’s performance is severely affected by sudden changes in the consumption trends, reporting even negative R2 values.

Author Contributions

Conceptualization, J.E.P. and E.Z.B.; methodology, J.E.P. and F.P.; software, J.E.P.; validation, J.E.P.; formal analysis, J.E.P.; investigation, J.E.P. and E.Z.B.; data curation, J.E.P.; writing—original draft preparation, J.E.P.; writing—review and editing, J.E.P., M.D., F.P., and E.Z.B.; visualization, J.E.P.; supervision, J.E.P.; project administration, J.E.P.; funding acquisition, J.E.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the California State University Fresno Lyles College of Engineering Startup Package and the FY 24/25 Lyles College of Engineering—Research, Scholarship, and Creative Activity Awards.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sets are available at the Battle of Water Demand Forecasting competition website: https://wdsa-ccwi2024.it/battle-of-water-networks/ (accessed on 20 May 2024).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Herrera, M.; Torgo, L.; Izquierdo, J.; Pérez-García, R. Predictive models for forecasting hourly urban water demand. J. Hydrol. 2010, 387, 141–150. [Google Scholar] [CrossRef]
  2. House-Peters, L.A.; Chang, H. Urban water demand modeling: Review of concepts, methods, and organizing principles. Water Resour. Res. 2011, 47, 5401. [Google Scholar] [CrossRef]
  3. Pacchin, E.; Gagliardi, F.; Alvisi, S.; Franchini, M. A Comparison of Short-Term Water Demand Forecasting Models. Water Resour. Manag. 2019, 33, 1481–1497. [Google Scholar] [CrossRef]
  4. Pesantez, J.E.; Berglund, E.Z.; Kaza, N. Smart meters data for modeling and forecasting water demand at the user-level. Environ. Model. Softw. 2020, 125, 104633. [Google Scholar] [CrossRef]
  5. Pesantez, J.E.; Li, B.; Lee, C.; Zhao, Z.; Butala, M.; Stillwell, A.S. A Comparison Study of Predictive Models for Electricity Demand in a Diverse Urban Environment. Energy 2023, 283, 129142. [Google Scholar] [CrossRef]
Figure 1. The forecasting results of the first testing week with the (a) highest and (b) lowest IONET metrics of performance.
Figure 1. The forecasting results of the first testing week with the (a) highest and (b) lowest IONET metrics of performance.
Engproc 69 00155 g001
Table 1. IONET predictors.
Table 1. IONET predictors.
Predictor NameValue/Unit
Hour of the day1–24
Day of the week1–7
Is it a working day?0–1
Previous week; same hourgph 1
Previous day; same hourgph
Previous two days; same hourgph
1 gph: gallons per hour.
Table 2. Mean Coefficient of Determination (R2) across the ten DMAs for each of the four test weeks.
Table 2. Mean Coefficient of Determination (R2) across the ten DMAs for each of the four test weeks.
DMAR2 Week 1R2 Week 2R2 Week 3R2 Week 4
C0.910.920.930.93
B0.920.900.880.90
C0.860.850.860.87
D0.940.940.940.94
E0.960.950.950.95
F−3.270.530.350.14
G0.900.910.900.90
H0.930.910.910.91
I0.780.13−1.44−0.59
J0.970.980.980.98
Maximum R2 values are bold.
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

Pesantez, J.E.; DiCarlo, M.; Pasha, F.; Berglund, E.Z. Predictive Model for Short-Term Water Demand Forecasting and Feature Analysis in Urban Networks. Eng. Proc. 2024, 69, 155. https://doi.org/10.3390/engproc2024069155

AMA Style

Pesantez JE, DiCarlo M, Pasha F, Berglund EZ. Predictive Model for Short-Term Water Demand Forecasting and Feature Analysis in Urban Networks. Engineering Proceedings. 2024; 69(1):155. https://doi.org/10.3390/engproc2024069155

Chicago/Turabian Style

Pesantez, Jorge E., Morgan DiCarlo, Fayzul Pasha, and Emily Z. Berglund. 2024. "Predictive Model for Short-Term Water Demand Forecasting and Feature Analysis in Urban Networks" Engineering Proceedings 69, no. 1: 155. https://doi.org/10.3390/engproc2024069155

APA Style

Pesantez, J. E., DiCarlo, M., Pasha, F., & Berglund, E. Z. (2024). Predictive Model for Short-Term Water Demand Forecasting and Feature Analysis in Urban Networks. Engineering Proceedings, 69(1), 155. https://doi.org/10.3390/engproc2024069155

Article Metrics

Back to TopTop