A Short-Term Data Based Water Consumption Prediction Approach
Abstract
:1. Introduction
Related Work
2. Material and Methods
2.1. Data Locations
- Location 1: Manufacturing (industrial) site:This first location was characterized by the presence of many factories and industrial companies and the lack of water supply to domestic end-users. As usually, this site was located at the outskirts of the city.
- Location 2: Downtown site:The second site was located in the very center of the city with many shops and high apartment buildings where thousands of families live. In other words, this area maintained a high number of end-users since the population density was really high.
- Location 3: Residential (suburb) site:The third area was located in a suburb of the city where most homes are single-family or low-rise and, thus, the number of water supply domestic end-users was not very high due to a low population density. However, it is worth remarking that a great proportion of the homes located in this area contained private backyards, which usually implies a significant impact on the water usage pattern.
2.2. Data Preprocessing
2.3. Trends and Seasonalities
2.4. Input/Output Patterns
2.5. Applied Algorithm
- Assume we are at the day, and we want to make a forecast for the next () day.
- Taking as input the data in the history record, the k-nearest neighbors of the query pattern are selected among days of the same class (same day of the week) so that the next day is not an atypical one (such as holiday). In particular, given the query pattern corresponding to a weekday of class (from Monday–Sunday), we define the set:
- The estimate is calculated by:
- Equation (3) is used to transform and to obtain the water flow estimate .
2.6. Confidence Bounds
3. Results and Discussion
3.1. Algorithm Application and Parameters
3.2. Goodness of Fit Measures
- MAPE (Mean Average Percentage Error): The MAPE for the estimation on day i is defined as:
- RMSE (Root Mean Squared Error): The RMSE for the estimation on day i is defined as:
- FOB (Fraction Out of Bounds): The FOB for the estimation on day i is defined as:
3.3. Results
3.4. Discussion
3.5. Comparison with Previous Work
4. Conclusions and Future Work
Author Contributions
Funding
Conflicts of Interest
Appendix A
References
- W-SMART Team. Background and FP7 Goals. Available online: https://sw4eu.com/background-fp7-goals/ (accessed on 14 March 2018).
- Alliance for Water Efficiency. Water Loss Control—Efficiency in the Water Utility Sector. Available online: http://www.allianceforwaterefficiency.org/Water_Loss_Control_Introduction.aspx (accessed on 14 March 2018).
- Center for Neighborhood Technology (CNT). The Case for Fixing the Leaks: Protecting People and Saving Water while Supporting Economic Growth in the Great Lakes Region (2013). 2013. Available online: https://www.cnt.org/publications/the-case-for-fixing-the-leaks-protecting-people-and-saving-water-while-supporting (accessed on 14 March 2018).
- Dudek, G. Pattern similarity-based methods for short-term load forecasting—Part 1: Principles. Appl. Soft Comput. 2015, 37, 277–287. [Google Scholar] [CrossRef]
- Dudek, G. Pattern similarity-based methods for short-term load forecasting—Part 2: Models. Appl. Soft Comput. 2015, 36, 422–441. [Google Scholar] [CrossRef]
- Dudek, G. Pattern-based local linear regression models for short-term load forecasting. Electr. Power Syst. Res. 2016, 130, 139–147. [Google Scholar] [CrossRef]
- Meliá, S.; Gómez, J.; Pérez, S.; Díaz, O. A Model-Driven Development for GWT-Based Rich Internet Applications with OOH4RIA. In Proceedings of the Eighth International Conference on Web Engineering, ICWE 2008, Yorktown Heights, NY, USA, 14–18 July 2008; pp. 13–23. [Google Scholar] [CrossRef]
- Martínez, Y.; Cachero, C.; Meliá, S. MDD vs. traditional software development: A practitioner’s subjective perspective. Inf. Softw. Technol. 2013, 55, 189–200. [Google Scholar] [CrossRef]
- Donkor, E.A.; Mazzuchi, T.A.; Soyer, R.; Roberson, J.A. Urban Water Demand Forecasting: Review of Methods and Models. J. Water Resour. Plan. Manag. 2014, 140, 146–159. [Google Scholar] [CrossRef]
- Caiado, J. Performance of Combined Double Seasonal Univariate Time Series Models for Forecasting Water Demand. J. Hydrol. Eng. 2010, 15, 215–222. [Google Scholar] [CrossRef] [Green Version]
- 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]
- Adamowski, J.; Karapataki, C. Comparison of Multivariate Regression and Artificial Neural Networks for Peak Urban Water-Demand Forecasting: Evaluation of Different ANN Learning Algorithms. J. Hydrol. Eng. 2010, 15, 729–743. [Google Scholar] [CrossRef] [Green Version]
- Odan, F.K.; Reis, L.F.R. Hybrid water demand forecasting model associating artificial neural network with Fourier series. J. Water Resour. Plan. Manag. 2012, 138, 245–256. [Google Scholar] [CrossRef]
- Adamowski, J.; Fung Chan, H.; Prasher, S.O.; Ozga-Zielinski, B.; Sliusarieva, A. Comparison of multiple linear and nonlinear regression, autoregressive integrated moving average, artificial neural network, and wavelet artificial neural network methods for urban water demand forecasting in Montreal, Canada. Water Resour. Res. 2012, 48. [Google Scholar] [CrossRef]
- Bakker, M.; Vreeburg, J.; van Schagen, K.; Rietveld, L. A fully adaptive forecasting model for short-term drinking water demand. Environ. Model. Softw. 2013, 48, 141–151. [Google Scholar] [CrossRef]
- Romano, M.; Kapelan, Z. Adaptive water demand forecasting for near real-time management of smart water distribution systems. Environ. Model. Softw. 2014, 60, 265–276. [Google Scholar] [CrossRef] [Green Version]
- Kim, J.Y.; Jung, J.H.; Yoon, Y.H.; An, J.S.; Kim, W.J.; Oh, H.J. Development of Demand Prediction Simulator Based on Multiple Water Resources. APCBEE Procedia 2014, 10, 224–228. [Google Scholar] [CrossRef] [Green Version]
- Ji, G.; Wang, J.; Ge, Y.; Liu, H. Urban water demand forecasting by LS-SVM with tuning based on elitist teaching-learning-based optimization. In Proceedings of the 26th Chinese Control and Decision Conference (2014 CCDC), Changsha, China, 31 May–2 June 2014; pp. 3997–4002. [Google Scholar]
- Sampathirao, A.K.; Grosso, J.M.; Sopasakis, P.; Ocampo-Martinez, C.; Bemporad, A.; Puig, V. Water demand forecasting for the optimal operation of large-scale drinking water networks: The Barcelona Case Study. IFAC Proc. Vol. 2014, 47, 10457–10462. [Google Scholar] [CrossRef]
- Candelieri, A.; Archetti, F. Identifying Typical Urban Water Demand Patterns for a Reliable Short-term Forecasting—The Icewater Project Approach. Procedia Eng. 2014, 89, 1004–1012. [Google Scholar] [CrossRef]
- Hutton, C.J.; Kapelan, Z. A probabilistic methodology for quantifying, diagnosing and reducing model structural and predictive errors in short term water demand forecasting. Environ. Model. Softw. 2015, 66, 87–97. [Google Scholar] [CrossRef]
- Bai, Y.; Wang, P.; Li, C.; Xie, J.; Wang, Y. Dynamic Forecast of Daily Urban Water Consumption Using a Variable-Structure Support Vector Regression Model. J. Water Resour. Plan. Manag. 2015, 141, 04014058. [Google Scholar] [CrossRef]
- Wu, M.C.; Lin, G.F. An Hourly Streamflow Forecasting Model Coupled with an Enforced Learning Strategy. Water 2015, 7, 5876–5895. [Google Scholar] [CrossRef] [Green Version]
- Candelieri, A.; Soldi, D.; Archetti, F. Short-term forecasting of hourly water consumption by using automatic metering readers data. Procedia Eng. 2015, 119, 844–853. [Google Scholar] [CrossRef]
- Arandia, E.; Ba, A.; Eck, B.; McKenna, S. Tailoring Seasonal Time Series Models to Forecast Short-Term Water Demand. J. Water Resour. Plan. Manag. 2016, 142, 04015067. [Google Scholar] [CrossRef]
- Sebri, M. Forecasting urban water demand: A meta-regression analysis. J. Environ. Manag. 2016, 183, 777–785. [Google Scholar] [CrossRef] [PubMed]
- Shabani, S.; Yousefi, P.; Adamowski, J.; Naser, G. Intelligent Soft Computing Models in Water Demand Forecasting. In Water Stress in Plants; InTech: London, UK, 2016. [Google Scholar] [Green Version]
- Anele, A.; Hamam, Y.; Abu-Mahfouz, A.; Todini, E. Overview, comparative assessment and recommendations of forecasting models for short-term water demand prediction. Water 2017, 9, 887. [Google Scholar] [CrossRef]
- Gagliardi, F.; Alvisi, S.; Kapelan, Z.; Franchini, M. A probabilistic short-term water demand forecasting model based on the Markov Chain. Water 2017, 9, 507. [Google Scholar] [CrossRef]
- Candelieri, A. Clustering and Support Vector Regression for Water Demand Forecasting and Anomaly Detection. Water 2017, 9, 224. [Google Scholar] [CrossRef]
- Pacchin, E.; Alvisi, S.; Franchini, M. A short-term water demand forecasting model using a moving window on previously observed data. Water 2017, 9, 172. [Google Scholar] [CrossRef]
- Brentan, B.M.; Luvizotto, E., Jr.; Herrera, M.; Izquierdo, J.; Pérez-García, R. Hybrid regression model for near real-time urban water demand forecasting. J. Comput. Appl. Math. 2017, 309, 532–541. [Google Scholar] [CrossRef]
- Alvisi, S.; Franchini, M. Assessment of predictive uncertainty within the framework of water demand forecasting using the Model Conditional Processor (MCP). Urban Water J. 2017, 14, 1–10. [Google Scholar] [CrossRef]
- Anele, A.O.; Todini, E.; Hamam, Y.; Abu-Mahfouz, A.M. Predictive uncertainty estimation in water demand forecasting using the model conditional processor. Water 2018, 10, 475. [Google Scholar] [CrossRef]
- Navarrete-López, C.; Herrera, M.; Brentan, B.; Luvizotto, E.; Izquierdo, J. Enhanced Water Demand Analysis via Symbolic Approximation within an Epidemiology-Based Forecasting Framework. Water 2019, 11, 246. [Google Scholar] [CrossRef]
- Dudek, G. Neural networks for pattern-based short-term load forecasting: A comparative study. Neurocomputing 2016, 205, 64–74. [Google Scholar] [CrossRef]
- Specht, D.F. A general regression neural network. IEEE Trans. Neural Netw. 1991, 2, 568–576. [Google Scholar] [CrossRef] [PubMed]
- Agua, A. Propuesta Algoritmo de Estimación de Caudales; Technical Report; Acciona Agua: Madrid, Spain, 2016. [Google Scholar]
- Cleveland, R.B.; Cleveland, W.S.; McRae, J.E.; Terpenning, I. STL: A seasonal-trend decomposition procedure based on loess. J. Off. Stat. 1990, 6, 3–73. [Google Scholar]
- R Core Team. R: A Language and Environment for Statistical Computing; R Foundation for Statistical Computing: Vienna, Austria, 2016. [Google Scholar]
Industrial Site | |||
---|---|---|---|
timestamp | average | maximum | minimum |
2014-01-01 00:00:00+01 | 3.278 | 4.031 | 2.919 |
2014-01-01 00:01:00+01 | 3.591 | 5.064 | 3.049 |
2014-01-01 00:02:00+01 | 4.875 | 5.352 | 4.518 |
2014-01-01 00:03:00+01 | 4.263 | 5.074 | 3.475 |
2014-01-01 00:04:00+01 | 3.966 | 5.004 | 3.406 |
2014-01-01 00:05:00+01 | 3.771 | 4.031 | 3.188 |
⋯ | ⋯ | ⋯ | ⋯ |
Industrial Site | ||
---|---|---|
average | time | weekday |
3.278 | 2014-01-0100:00:00 | Wednesday |
3.591 | 2014-01-01 00:01:00 | Wednesday |
4.875 | 2014-01-01 00:02:00 | Wednesday |
4.263 | 2014-01-01 00:03:00 | Wednesday |
3.966 | 2014-01-01 00:04:00 | Wednesday |
3.771 | 2014-01-01 00:05:00 | Wednesday |
⋯ | ⋯ | ⋯ |
Site | GoF | ||
---|---|---|---|
FOB (Ratio) | MAPE (%) | RMSE (L/min) | |
Industrial | 0.20 | 39 | 7.86 |
Downtown | 0.21 | 50 | 1.80 |
Suburbs | 0.25 | 41 | 5.82 |
© 2019 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 (http://creativecommons.org/licenses/by/4.0/).
Share and Cite
Benítez, R.; Ortiz-Caraballo, C.; Preciado, J.C.; Conejero, J.M.; Sánchez Figueroa, F.; Rubio-Largo, A. A Short-Term Data Based Water Consumption Prediction Approach. Energies 2019, 12, 2359. https://doi.org/10.3390/en12122359
Benítez R, Ortiz-Caraballo C, Preciado JC, Conejero JM, Sánchez Figueroa F, Rubio-Largo A. A Short-Term Data Based Water Consumption Prediction Approach. Energies. 2019; 12(12):2359. https://doi.org/10.3390/en12122359
Chicago/Turabian StyleBenítez, Rafael, Carmen Ortiz-Caraballo, Juan Carlos Preciado, José M. Conejero, Fernando Sánchez Figueroa, and Alvaro Rubio-Largo. 2019. "A Short-Term Data Based Water Consumption Prediction Approach" Energies 12, no. 12: 2359. https://doi.org/10.3390/en12122359
APA StyleBenítez, R., Ortiz-Caraballo, C., Preciado, J. C., Conejero, J. M., Sánchez Figueroa, F., & Rubio-Largo, A. (2019). A Short-Term Data Based Water Consumption Prediction Approach. Energies, 12(12), 2359. https://doi.org/10.3390/en12122359