Document Type : Research Paper

Authors

1 Agriculture Institute, Research Institute of Zabol, Zabol, Iran.

2 Department of Agricultural Economics, University of Sistan and Baluchestan, Zahedan, Iran.

3 Center for Development Research (ZEF), University of Bonn, Germany

Abstract

Accurate forecasting of urban water demand is essential for effective water resources management, especially in arid and water-stressed regions. This study evaluates the performance of Recurrent Neural Networks (RNN) and Long Short-Term Memory (LSTM) models for forecasting monthly urban potable water demand in the Sistan region of Iran using data from April 2006 to March 2021. Two forecasting approaches are examined: a univariate approach based only on past water demand and a multivariate approach incorporating selected climatic and socioeconomic variables. A one-step-ahead monthly forecasting strategy is applied, with the dataset divided chronologically into training and testing subsets. The deep learning models are compared with two benchmark methods, Naïve and Seasonal Naïve, using MAE, RMSE, MAPE, and Pearson’s correlation coefficient. The results show that LSTM provides more stable predictions and higher correlation with observed demand than RNN. However, the simple benchmark models produce lower forecast errors overall, with the Naïve model achieving the best performance. Adding climatic and socioeconomic variables slightly improves correlation in some cases but does not consistently reduce errors. Overall, the findings suggest that urban water demand in the study area is strongly persistent and seasonal, indicating that simple forecasting methods can outperform more complex deep learning models under data-limited conditions.

Keywords

Al-Zahrani, M.A. and Abo-Monasar, A. (2015) ‘Urban residential water demand prediction based on artificial neural networks and time series models’, Water Resources Management, 29(10), pp. 3651–3662. doi: https://doi.org/10.1007/s11269-015-1021-z
Barbieri, M. et al. (2023) ‘Climate change and its effect on groundwater quality’, Environmental Geochemistry and Health, 45(4), pp. 1133–1144. doi: https://doi.org/10.1007/s10653-021-01140-5
Boudhaouia, A. and Wira, P. (2021) ‘A real-time data analysis platform for short-term water consumption forecasting with machine learning’, Forecasting, 3(4), pp. 682–694. doi: https://doi.org/10.3390/forecast3040042
Choi, J. and Kim, J. (2018) ‘Analysis of water consumption data from smart water meter using machine learning and deep learning algorithms’, Journal of the Institute of Electronics and Information Engineers, 55, pp. 31–39. doi: https://doi.org/ 10.5573/ieie.2018.55.7.31
Daw, M.M., Ali, E.R. and Toriman, M.E. (2021) ‘Determinants of urban residential water demand in Libya’, International Journal of Innovation and Sustainable Development, 15(3), pp. 261–279. doi: doi: https://doi.org/10.1504/IJISD.2021.115963
Du, B. et al. (2021) ‘Deep learning with long short-term memory neural networks combining wavelet transform and principal component analysis for daily urban water demand forecasting’, Expert Systems with Applications, 171, p. 114571. doi: https://doi.org/10.1016/j.eswa.2021.114571
Ercin, A.E. and Hoekstra, A.Y. (2014) ‘Water footprint scenarios for 2050: A global analysis’, Environment International, 64, pp. 71–82. doi: https://doi.org/10.1016/j.envint.2013.11.019
Gauch, M. et al. (2021) ‘Rainfall–runoff prediction at multiple timescales with a single Long Short-Term Memory network’, Hydrology and Earth System Sciences, 25, pp. 2045–2062. doi: https://doi.org/10.5194/hess-25-2045-2021
Hewamalage, H., Bergmeir, C. and Bandara, K. (2021) ‘Recurrent neural networks for time series forecasting: Current status and future directions’, International Journal of Forecasting, 37(1), pp. 388–427. doi: https://doi.org/10.1016/j.ijforecast.2020.06.008
Hu, P. et al. (2019) ‘A hybrid model based on CNN and Bi-LSTM for urban water demand prediction’, in 2019 IEEE Congress on Evolutionary Computation (CEC). Wellington, New Zealand, 10–13 June 2019. IEEE, pp. 1088–1094. doi: https://doi.org/10.1109/CEC.2019.8790060
Iwakin, O. and Moazeni, F. (2024) ‘Improving urban water demand forecast using conformal prediction-based hybrid machine learning models’, Journal of Water Process Engineering, 58, pp. 104721. doi: https://doi.org/10.1016/j.jwpe.2023.104721.
Kang, H.S. et al. (2015) ‘Optimization of pumping schedule based on water demand forecasting using a combined model of autoregressive integrated moving average and exponential smoothing’, Water Science and Technology: Water Supply, 15(1), pp. 188–195. doi: https://doi.org/10.2166/ws.2014.104
Kim, J. et al. (2022) ‘Development of a deep learning-based prediction model for water consumption at the household level’, Water, 14(9), pp. 1512. doi: https://doi.org/10.3390/w14091512
Kratzert, F. et al. (2019) ‘Rainfall–runoff modelling using Long Short-Term Memory (LSTM) networks’, Hydrology and Earth System Sciences, 23(12), pp. 5089–5110. doi: https://doi.org/10.5194/hess-23-5089-2019
Li, C. et al. (2021) ‘Determinants of agricultural water demand in China’, Journal of Cleaner Production, 288, pp. 125508. doi: https://doi.org/10.1016/j.jclepro.2020.125508
Li, W. et al. (2024) ‘An interpretable hybrid deep learning model for flood forecasting based on Transformer and LSTM’, Journal of Hydrology: Regional Studies, 54, pp. 101873. doi: https://doi.org/10.1016/j.ejrh.2024.101873
Lim, B. and Zohren, S. (2021) ‘Time-series forecasting with deep learning: A survey’, Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences, 379(2194), pp. 20200209. doi: https://doi.org/10.1098/rsta.2020.0209
Liu, Y. et al. (2025) ‘Timer-XL: Long-context transformers for unified time series forecasting’, in International Conference on Learning Representations. pp. 1–25. Available at: https://github.com/thuml/Timer-XL (Accessed date: 5 May 2025).
Makridakis, S., Spiliotis, E. and Assimakopoulos, V. (2018) ‘The M4 Competition: Results, findings, conclusion and way forward’, International Journal of Forecasting, 34(4), pp. 802–808. doi: https://doi.org/10.1016/j.ijforecast.2018.06.001
Mehrazar, A. et al. (2020) ‘Adaptation of water resources system to water scarcity and climate change in the suburb area of megacities’, Water Resources Management, 34(12), pp. 3855–3877. doi: https://doi.org/10.1007/s11269-020-02648-8
Mu, L. et al. (2020) ‘Hourly and daily urban water demand predictions using a long short-term memory-based model’, Journal of Water Resources Planning and Management, 146(9), pp. 05020017. doi: https://doi.org/10.1061/(ASCE)WR.1943-5452.0001276
Niknam, A. et al. (2023) ‘Developing an LSTM model to forecast the monthly water consumption according to the effects of the climatic factors in Yazd, Iran’, Journal of Engineering Research, 11(1), pp. 100028. doi: https://doi.org/10.1016/j.jer.2023.100028
Nunes Carvalho, T.M., de Souza Filho, F.D.A. and Porto, V.C. (2021) ‘Urban water demand modeling using machine learning techniques: Case study of Fortaleza, Brazil’, Journal of Water Resources Planning and Management, 147(1), pp. 05020026. doi: https://doi.org/10.1061/(ASCE)WR.1943-5452.0001310
Panagopoulos, G.P. (2014) ‘Assessing the impacts of socio-economic and hydrological factors on urban water demand: A multivariate statistical approach’, Journal of Hydrology, 518, pp. 42–48. doi: https://doi.org/10.1016/j.jhydrol.2013.10.036
Pu, Z. et al. (2023) ‘A hybrid Wavelet-CNN-LSTM deep learning model for short-term urban water demand forecasting’, Frontiers of Environmental Science & Engineering, 17(2), pp. 22. doi: https://doi.org/10.1007/s11783-023-1622-3
Qiao, J. et al. (2024) ‘Attention-based spatiotemporal graph fusion convolution networks for water quality prediction’, IEEE Transactions on Automation Science and Engineering, 22, pp. 1-10. https://doi.org/10.1109/TASE.2023.3285253
Salehi, M. (2022) ‘Global water shortage and potable water safety: Today’s concern and tomorrow’s crisis’, Environment International, 158, p. 106936. doi: https://doi.org/10.1016/j.envint.2021.106936
Salloom, T., Kaynak, O. and He, W. (2021) ‘A novel deep neural network architecture for real-time water demand forecasting’, Journal of Hydrology, 599, pp. 126353. doi: https://doi.org/10.1016/j.jhydrol.2021.126353
Sanchez, G.M. et al. (2020) ‘Forecasting water demand across a rapidly urbanizing region’, Science of the Total Environment, 730, p. 139050. doi: https://doi.org/10.1016/j.scitotenv.2020.139050
Selvin, S. et al. (2017) ‘Stock price prediction using LSTM, RNN and CNN-sliding window model’, in 2017 International Conference on Advances in Computing, Communications and Informatics (ICACCI). Udupi, India, 13–16 September 2017. pp. 1643–1647. doi: https://doi.org/10.1109/ICACCI.2017.8126078
Velasco, L.C.P. et al. (2018) ‘Performance analysis of artificial neural networks training algorithms and transfer functions for medium-term water consumption forecasting’, International Journal of Advanced Computer Science and Applications, 9(4), pp. 109–116. doi: https://doi.org/10.14569/IJACSA.2018.090419
Xiang, Z., Yan, J. and Demir, I. (2020) ‘A rainfall–runoff model with LSTM-based sequence-to-sequence learning’, Water Resources Research, 56(1), pp. e2019WR025326. doi: https://doi.org/10.1029/2019WR025326
Zanfei, A. et al. (2022) ‘Graph convolutional recurrent neural networks for water demand forecasting’, Water Resources Research, 58(7), p. e2022WR032299. doi: https://doi.org/10.1029/2022WR032299.
Zanfei, A. et al. (2022) ‘A short-term water demand forecasting model using multivariate long short-term memory with meteorological data’, Journal of Hydroinformatics, 24(5), pp. 1053–1065. doi: https://doi.org/10.2166/hydro.2022.055