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 R
2 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 R
2 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 R
2 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
Conflicts of Interest
The authors declare no conflicts of interest.
References
- 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]
- 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]
- 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]
- 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]
- 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]
| 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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).