Abstract
This paper proposes a new hybrid SVR-ANN model for water demand forecasting. Where an adaptation of the methodology proposed by Zhang (Neurocomputing 50:159–175, 2003) is used to decompose the time series of 10 reservoirs that supply the Metropolitan Region of Salvador (RMS). The data used are from the historical consumption from January 2017 to February 2022, obtained from the local supply company, Empresa Baiana de Águas e Saneamento, and meteorological data obtained from the National Institute of Meteorology of Brazil. The results demonstrated the feasibility of using the proposed model, compared to other traditional models such as the multilayer perceptron (MLP), support vector regression (SVR), short long-term memory (LSTM) and autoregressive integrated moving average (ARIMA).







Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Availability of data and materials
Not applicable.
Code availability
The methods employed in this paper are available on the GitHub repository (https://github.com/edmilsondejesus/waterdemand/) to allow verification and replicability of the research.
References
Adamowski J, Karapataki C (2010) Comparison of multivariative regression and artificial neural networks for peak urban water-demand forecasting: evaluation of different ANN learning algorithms. J Hydrol Eng 15:729–743. https://doi.org/10.1061/(ASCE)HE.1943-5584.0000245
Alvisi S, Franchini M, Marinelli A (2007) A short-term, pattern-based model for water-demand forecasting. J Hydroinformat 9(1):39–50. https://doi.org/10.2166/hydro.2006.016
Babu CN, Reddy BE (2014) A moving-average filter based hybrid Arima-ANN model for forecasting time series data. Appl Soft Comput 23:27–38. https://doi.org/10.1016/j.asoc.2014.05.028
Bakker M, van Duist H, van Schagen K et al (2014) Improving the performance of water demand forecasting models by using weather input. Proced Eng 70:93–102. https://doi.org/10.1016/j.proeng.2014.02.012
Bougadis J, Adamowski K, Diduch R (2005) Short-term municipal water demand forecasting. Hydrol Process 19(1):137–148. https://doi.org/10.1002/hyp.5763
Box G, Jenkins G (1970) Time series analysis: forecasting and control. Holden-Day, San Francisco
Candelieri A (2017) Clustering and support vector regression for water demand forecasting and anomaly detection. Water. https://doi.org/10.3390/w9030224
Cortes C, Vapnik V (1995) Support-vector networks. In: Machine learning, pp 273–297. https://doi.org/10.1007/BF00994018
de Oliveira JF, Ludermir TB (2016) A hybrid evolutionary decomposition system for time series forecasting. Neurocomputing 180:27–34. https://doi.org/10.1016/j.neucom.2015.07.113
Donkor EA, Mazzuchi TA, Soyer R et al (2014) Urban water demand forecasting: Review of methods and models. J Water Resour Plan Managt 140(2):146–159. https://doi.org/10.1061/(ASCE)WR.1943-5452.0000314
dos Santos CC, Pereira Filho AJ (2014) Water demand forecasting model for the metropolitan area of São Paulo, Brazil. https://doi.org/10.1007/s11269-014-0743-7
Drucker H, Burges CJC, Kaufman L, et al (1996) Support vector regression machines. In: Mozer M, Jordan M, Petsche T (eds) Advances in neural information processing systems, vol 9. MIT Press. https://proceedings.neurips.cc/paper/1996/file/d38901788c533e8286cb6400b40b386d-Paper.pdf
Dunn OJ (1964) Multiple comparisons using rank sums. Technometrics 6(3):241–252. https://doi.org/10.1080/00401706.1964.10490181
Galán JM, López-Paredes A, Del Olmo R (2009) An agent-based model for domestic water management in Valladolid metropolitan area. Water Resour Res. https://doi.org/10.1029/2007WR006536
Ghiassi M, Saidane H (2005) A dynamic architecture for artificial neural networks. Neurocomputing 63:397–413. https://doi.org/10.1016/j.neucom.2004.03.014
Ghiassi M, Zimbra DK, Saidane H (2008) Urban water demand forecasting with a dynamic artificial neural network model. J Water Resour Plan Manag 134(2):138–146. https://doi.org/10.1061/(ASCE)0733-9496(2008)134:2(138)
Haykin S (2001) Redes Neurais, 2 edn. Bookman. https://books.google.com.br/books?id=lBp0X5qfyjUC
Herrera M, Torgo L, Izquierdo J et al (2010) Predictive models for forecasting hourly urban water demand. J Hydrol 387(1):141–150. https://doi.org/10.1016/j.jhydrol.2010.04.005
Hsu KL, Gupta HV, Sorooshian S (1996) A superior training strategy for three-layer feedforward artificial neural networks. http://hdl.handle.net/10150/614171
IBGE (2021) Estimates of resident population in brazil and units of the federation with reference data as of July 1, 2021. Tech. rep., https://ftp.ibge.gov.br/Estimativas_de_Populacao/Estimativas_2021/estimativa_dou_2021.pdf. Accessed 04 Aug 2022
IPEA (2015) Metropolitan governance in brazil—research report. Tech. rep. https://www.ipea.gov.br/redeipea/images/pdfs/governanca_metropolitana/relatorio_1.1_revisao_final_salvador.pdf. Accessed 03 Aug 2022
Jain A, Kumar AM (2007) Hybrid neural network models for hydrologic time series forecasting. Appl Soft Comput 7(2):585–592. https://doi.org/10.1016/j.asoc.2006.03.002
Koutiva I, Makropoulos C (2016) Modelling domestic water demand: an agent based approach. Environ Model Softw 79:35–54. https://doi.org/10.1016/j.envsoft.2016.01.005
Kruskal WH, Wallis WA (1952) Use of ranks in one-criterion variance analysis. J Am Stat Assoc 47(260):583–621. https://doi.org/10.1080/01621459.1952.10483441
Lopez Farias R, Puig V, Rodriguez Rangel H et al (2018) Multi-model prediction for demand forecast in water distribution networks. Energies. https://doi.org/10.3390/en11030660
Odan FK, Reis LFR (2012) Hybrid water demand forecasting model associating artificial neural network with Fourier series. J Water Resour Plan Manag 138(3):245–256. https://doi.org/10.1061/(ASCE)WR.1943-5452.0000177
Rees P, Clark S, Nawaz R (2020). Household forecasts for the planning of long-term domestic water demand: application to London and the Thames Valley. https://doi.org/10.1002/psp.2288
Ripple WJ, Wolf C, Newsome TM et al (2019) World scientists’ warning of a climate emergency. Bioscience 70(1):8–12. https://doi.org/10.1093/biosci/biz088
Shapiro SS, Wilk MB (1965) An analysis of variance test for normality (complete samples). Biometrika 52(3/4):591–611. http://www.jstor.org/stable/2333709
Sharvelle S, Dozier A, Arabi M et al (2017) A geospatially-enabled web tool for urban water demand forecasting and assessment of alternative urban water management strategies. Environ Model Softw 97:213–228. https://doi.org/10.1016/j.envsoft.2017.08.009
Smola A, Schölkopf B (2004) A tutorial on support vector regression. Stat Comput 14:199–222. https://doi.org/10.1023/B:STCO.0000035301.49549.88
VanBerlo B, Ross MAS, Hsia D (2021) Univariate long-term municipal water demand forecasting. https://doi.org/10.48550/arXiv.2105.08486
Vapnik V (1999) The nature of statistical learning theory, 2nd edn. Springer
Verdério A (2015) Sobre o uso de regressão por vetores suporte para a construção de modelos em um método de região de confiança sem derivadas. https://repositorio.ufsc.br/xmlui/handle/123456789/178689
Wang L, Zou H, Su J et al (2013) An Arima-ANN hybrid model for time series forecasting. Syst Res Behav Sci 30(3):244–259. https://doi.org/10.1002/sres.2179
Wu B (1992) An introduction to neural networks and their applications in manufacturing. J Intell Manuf 3(6):391–403. https://doi.org/10.1007/BF01473534
Yan K, Yang MZ (2018) Water demand forecast model of least squares support vector machine based on particle swarm optimization. MATEC Web Confer 246(01):029. https://doi.org/10.1051/matecconf/201824601029
Zhang G (2003) Time series forecasting using a hybrid Arima and neural network model. Neurocomputing 50:159–175. https://doi.org/10.1016/S0925-2312(01)00702-0
Acknowledgements
Thanks to EMBASA and its technicians who provide fundamental data and essential technical information for carrying out the research.
Funding
The authors declare that no funds, grants or other support were received during the preparation of this paper.
Author information
Authors and Affiliations
Contributions
Material preparation, data collection, methodology, visualization, investigation and original draft of the paper were written by Edmilson dos Santos de Jesus. Conceptualization, supervision, reviewing and editing were written by Gecynalda Soares Gomes. All authors commented on the previous versions of the paper. All authors read and approved the final paper.
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare that are relevant to the content of this article.
Ethical approval
Not applicable.
Consent to participate
Not applicable.
Consent for publication
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix A: Methods and models used to forecasting water demand
Appendix A: Methods and models used to forecasting water demand
See Appendix Table 8.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Santos de Jesus, E.d., Silva Gomes, G.S.d. Machine learning models for forecasting water demand for the Metropolitan Region of Salvador, Bahia. Neural Comput & Applic 35, 19669–19683 (2023). https://doi.org/10.1007/s00521-023-08842-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-023-08842-0