Irrigation and Water Engineering

Irrigation and Water Engineering

Analyzing the Effect of Precipitation and Discharge Temporal Memory on Rainfall–Runoff Simulation Using Machine Learning Models

Document Type : Original Article

Authors
1 PhD student in Civil Engineering, Department of Civil Engineering, Faculty of Engineering, Estahban Branch, Islamic Azad University, Estahban, Iran.
2 Assistant Professor, Department of Civil Engineering, Faculty of Engineering, Babol Branch, Islamic Azad University, Babol, Iran
3 Assistant Professor, Department of Civil Engineering, Faculty of Engineering Estahban Branch, Islamic Azad University, Estahban, Iran
4 Professor, Department of Civil Engineering, Faculty of Engineering, Estahban Branch, Islamic Azad University, Estahban, Iran.
5 Assistant Professor, Department of Civil Engineering, Faculty of Engineering, Estahban Branch, Islamic Azad University, Estahban, Iran.
10.22125/iwe.2026.601094.1946
Abstract
The rainfall–runoff process is a complex hydrological process, and its accurate simulation depends on the appropriate selection of input variables and temporal data structure. This study aimed to investigate the effect of precipitation and discharge temporal memory on machine learning model performance and to identify suitable input lag structures for rainfall–runoff simulation. Daily precipitation and discharge data from the Eghbalabad station in Fars Province, Iran, were used. After data preprocessing, including missing-data assessment, outlier detection, and normalization, discharge lags Q1–Q6 and precipitation lags P1–P7 were generated. Subsequently, 49 scenarios with different combinations of precipitation and discharge lags were designed, and the performance of four models, including CatBoost, Random Forest, XGBoost, and LSTM, was compared. Results showed that the temporal memory structure of the inputs affected model performance, and increasing the number of lags alone did not necessarily improve performance. Among the evaluated scenarios, the Q6+P4 combination in scenario S4 achieved the highest NSE of 0.7525 using CatBoost. The Q3+P7 and Q6+P7 combinations also achieved high NSE values of 0.7513 and 0.7498, respectively. The findings indicate that simultaneously considering precipitation and discharge lags and selecting an appropriate temporal memory length can improve rainfall–runoff simulation.
Keywords
Subjects

Abrahart, R.J. and L.M See. 2007. Neural network modelling of non-linear hydrological relationships. Hydrology and Earth System Sciences, 11:1563-1579. https://doi.org/10.5194/hess-11-1563-2007
Asadi, S., J. Shahrabi, P. Abbaszadeh and S. Tabanmehr. 2013. A new hybrid artificial neural networks for rainfall-runoff process modeling. Neurocomputing, 121:470-480. https://doi.org/10.1016/j.neucom.2013.05.023
Breiman, L. 2001. Random Forests. Machine Learning, 45:5–32. https://doi.org/10.1023/A:1010933404324
Calvette, T., M., Reis and I. Paz. 2024. Hybrid Deep Learning Time-Lagged Precipitation-Runoff Model. Journal of Hydrologic Engineering, 29(6). https://doi.org/10.1061/JHYEFF.HEENG-6222
Casper, M., P. Gemmar, O. Gronz, M. Johst, and M. Stuber. 2007. Fuzzy logic based rainfall-runoff modeling using soil-moisture measurements to represent system state. Hydrological Sciences Journal, 52(3): 478-490. https://doi.org/10.1623/hysj.52.3.478
Chen, T. and C. Guestrin. 2016. XGBoost: A scalable tree boosting system. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 785-794. https://doi.org/10.1145/2939672.2939785
Chen, X., J. Huang, S. Wang, G. Zhou, H. Gao, M. Liu, Y. Yuan, L. Zheng, Q. Li and H. Qi. 2022. A New Rainfall-Runoff Model Using Improved LSTM with Attentive Long and Short Lag-Time. Water, 14(5), 697. https://doi.org/10.3390/w14050697
Gupta, H.V., H. Kling, K.K. Yilmaz and G.F. Martinez. 2009. Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modelling. Journal of  hydrology, 377(1-2): 80-91. https://doi.org/10.1016/j.jhydrol.2009.08.003
Herath, H.M.V.V., J. Chadalawada and V. Babovic. 2021. Hydrologically informed machine learning for rainfall–runoff modelling: towards distributed modelling. Hydrology and Earth System Sciences, 25:4373-4401. https://doi.org/10.5194/hess-25-4373-2021
Hochreiter, S and J. Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8): 1735-1780. https://doi.org/10.1162/neco.1997.9.8.1735
Huang, Y., X. Zhang, L. Deng, Y. Li and H. Liu. 2024. Runoff simulation and time-lag change analysis in the Han River Basin based on machine learning. Water Resources Protection, 40(6): 173-180. https://doi.org/10.3880/j.issn.1004-6933.2024.06.020
Irwan et al. 2025. Advancements in rainfall-runoff prediction: Exploring state-of-the-art neural computing modeling approaches. Alexandria Engineering Journal, 121: 138-149. https://doi.org/10.1016/j.aej.2025.02.060
Li, C., Y. Jiao, G. Kan, X. Fu, F.Chai, H. Yu and K. Liang. 2024. Comparisons of Different Machine Learning-Based Rainfall–Runoff Simulations under Changing Environments. Water, 16(2) 302. https://doi.org/10.3390/w16020302 
Moriasi, D.N., J.G. Arnold, M.W. Van Liew, R.L. Bingner, R.D. Harmel and T.L. Veith. 2007. Model evaluation guidelines for systematic quantification of accuracy in watershed simulations. Transactions of the ASABE, 50(3): 885-900. https://doi.org/10.13031/2013.23153
Nash, J.E and J.V. Sutcliffe. 1970. River flow forecasting through conceptual models’ part I-A discussion of principles. Journal of Hydrology, 10(3):282-290.
Nourani, V and A. Partoviyan. 2018. Hybrid denoising-jittering data pre-processing approach to enhance multi-step-ahead rainfall–runoff modeling. Stochastic environmental research and risk assessment, 32(2): 545-562. https://doi.org/10.1007/s00477-017-1400-5
Prokhorenkova, L., G. Gusev, A. Vorobev, A.V. Dorogush and A. Gulin. 2018. CatBoost: Unbiased boosting with categorical features. Advances in Neural Information Processing Systems, 31: 6639-6649. https://doi.org/10.48550/arXiv.1706.09516