Hybridisation of artificial neural network with particle swarm optimisation for water level prediction


  • Sarah J. Mohammed Wasit University- Engineering college
  • Salah L. Zubaidi Department of Civil Engineering, Wasit University




Water level prediction, singular spectrum analysis, artificial neural network, PSO, AL-Kut City


Accurate water level (WL) prediction is essential for the efficient management of various water resource projects. The creation of a reliable model for WL forecasting is still a difficult task in water resource management. This study applies an artificial neural network (ANN) integrated with the particle swarm optimisation algorithm (PSO-ANN) for simulating monthly WL of the Tigris River in Alkut City, Iraq. Data pre-treatment methods are utilised for improving raw data quality and detect the optimal predictors. Monthly WL and climatic variables from 2011 to 2020, were used to construct and validate the proposed technique. The results showed that singular spectrum analysis (SSA) is a high-performance technique for denoising time series. The PSO-ANN model produces good results coefficient of determination (R2) of 0.85.


T. Doeffinger and J. W. Hall, "Water Stress and Productivity: An Empirical Analysis of Trends and Drivers," Water Resources Research, vol. 56, no. 3, 2020, doi: 10.1029/2019wr025925.

F. F. Li, H. Cao, C. F. Hao, and J. Qiu, "Daily Streamflow Forecasting Based on Flow Pattern Recognition," Water Resources Management, vol. 35, pp. 4601–4620, 2021, doi: 10.1007/s11269-021-02971-8.

B. Deng, S. H. Lai, C. Jaing , P. Kumar, A. El-Shafie , and R. J. Chin "Advanced water level prediction for a large‑scale river–lake system using hybrid soft computing approach: a case study in Dongting Lake, China," Earth Science Informatics, vol. 14, pp. 1987–2001, 2021, doi: 10.1007/s12145-021-00665-8.

L. He, S. Chen, Y. Liang, M. Hou, and J. Chen, "Infilling the missing values of groundwater level using time and space series: case of Nantong City, east coast of China," Earth Science Informatics, vol. 13, no. 4, pp. 1445-1459, 2020, doi: 10.1007/s12145-020-00489-y.

Z. A. Al-Salihi, A. H. Kamel, and I. M. Abdulhameed, "Effects of the Climate Change on the Tigris River Basin in Iraq," International Journal of Design & Nature and Ecodynamics, vol. 17, no. 4, pp. 585-593, 2022, doi: 10.18280/ijdne.170413.

S. L. Zubaidi et al., "Assessing the Benefits of Nature-Inspired Algorithms for the Parameterization of ANN in the Prediction of Water Demand," Journal of Water Resources Planning and Management, vol. 149, no. 1, 2023, doi: 10.1061/(asce)wr.1943-5452.0001602.

Q. Wang and S. Wang, "Machine Learning-Based Water Level Prediction in Lake Erie," Water, vol. 12, no. 10, 2020, doi: 10.3390/w12102654.

M. L. Lineros, A. M. Luna, P. M. Ferreira, and A. E. Ruano, "Optimized Design of Neural Networks for a River Water Level Prediction System," Sensors, vol. 21, no. 19, p. 6504, 2021, doi: 10.3390/s21196504.

M. Imani, R. J. You, and C. Y. Kuo, "Caspian Sea level prediction using satellite altimetry by artificial neural networks," International Journal of Environmental Science and Technology, vol. 11, no. 4, pp. 1035-1042, 2013, doi: 10.1007/s13762-013-0287-z.

H. Tao, N. K. Al-Bedyry, K. M. Khedher, S. Shahid, and Z. M. Yaseen, "River water level prediction in coastal catchment using hybridized relevance vector machine model with improved grasshopper optimization," Journal of Hydrology, vol. 598, p. 126477, 2021, doi: 10.1016/j.jhydrol.2021.126477.

M. Çimen and O. Kisi, "Comparison of two different data-driven techniques in modeling lake level fluctuations in Turkey," Journal of Hydrology, vol. 378, no. 3-4, pp. 253-262, 2009, doi: 10.1016/j.jhydrol.2009.09.029.

P. Páliz Larrea, X. Zapata-Ríos, and L. Campozano Parra, "Application of Neural Network Models and ANFIS for Water Level Forecasting of the Salve Faccha Dam in the Andean Zone in Northern Ecuador," Water, vol. 13, no. 15, p. 2011, 2021, doi: 10.3390/w13152011.

M. Ali Ghorbani, R. Khatibi, A. Aytek, O. Makarynskyy, and J. Shiri, "Sea water level forecasting using genetic programming and comparing the performance with Artificial Neural Networks," Computers & Geosciences, vol. 36, no. 5, pp. 620-627, 2010, doi: 10.1016/j.cageo.2009.09.014.

K. Park, Y. Jung, Y. Seong, and S. Lee, "Development of Deep Learning Models to Improve the Accuracy of Water Levels Time Series Prediction through Multivariate Hydrological Data," Water, vol. 14, no. 3, p. 469, 2022, doi: 10.3390/w14030469.

E. S. K. Tiu, Y. F. Huang, J. L. Ng, N. AlDahoul, A. N. Ahmed, and A. Elshafie, "An evaluation of various data pre-processing techniques with machine learning models for water level prediction," Natural Hazards, vol. 110, pp. 121–153, 2021, doi: 10.1007/s11069-021-04939-8.

S. L. Zubaidi et al., "A Method for Predicting Long-Term Municipal Water Demands Under Climate Change," Water Resources Management, vol. 34, no. 3, pp. 1265-1279, 2020, doi: 10.1007/s11269-020-02500-z.

M. Shafaei and O. Kisi, "Lake Level Forecasting Using Wavelet-SVR, Wavelet-ANFIS and Wavelet-ARMA Conjunction Models," Water Resources Management, vol. 30, no. 1, pp. 79-97, 2015, doi: 10.1007/s11269-015-1147-z.

Z. Xie, Q. Liu, and Y. Cao, "Hybrid Deep Learning Modeling for Water Level Prediction in Yangtze River," Intelligent Automation & Soft Computing, vol. 28, no. 1, pp. 153-166, 2021, doi: 10.32604/iasc.2021.016246.

M. A. Ghorbani, R. C. Deo, V. Karimi, Z. M. Yaseen, and O. Terzi, "Implementation of a hybrid MLP-FFA model for water level prediction of Lake Egirdir, Turkey," Stochastic Environmental Research and Risk Assessment, vol. 32, no. 6, pp. 1683-1697, 2017, doi: 10.1007/s00477-017-1474-0.

N. Chen, C. Xiong, W. Du, C. Wang, X. Lin, and Z. Chen, "An Improved Genetic Algorithm Coupling a Back-Propagation Neural Network Model (IGA-BPNN) for Water-Level Predictions," Water, vol. 11, no. 9, 2019, doi: 10.3390/w11091795.

A. S. Azad et al., "Water Level Prediction through Hybrid SARIMA and ANN Models Based on Time Series Analysis: Red Hills Reservoir Case Study," Sustainability, vol. 14, p. 1843, 2022, doi: 10.3390/su14031843.

B. Mohammadi, Y. Guan, P. Aghelpour, S. Emamgholizadeh, R. Pillco Zolá, and D. Zhang, "Simulation of Titicaca Lake Water Level Fluctuations Using Hybrid Machine Learning Technique Integrated with Grey Wolf Optimizer Algorithm," Water, vol. 12, no. 11, p. 3015, 2020, doi: 10.3390/w12113015.

D. H. Nguyen, X. Hien Le, J.-Y. Heo, and D.-H. Bae, "Development of an Extreme Gradient Boosting Model Integrated With Evolutionary Algorithms for Hourly Water Level Prediction," IEEE Access, vol. 9, pp. 125853-125867, 2021, doi: 10.1109/access.2021.3111287.

S. L. Zubaidi, J. Dooley, R. M. Alkhaddar, M. Abdellatif, H. Al-Bugharbee, and S. Ortega-Martorell, "A Novel approach for predicting monthly water demand by combining singular spectrum analysis with neural networks," Journal of Hydrology, vol. 561, pp. 136-145, 2018, doi: 10.1016/j.jhydrol.2018.03.047.

S. Samanataray and A. Sahoo, "A Comparative Study on Prediction of Monthly Streamflow Using Hybrid ANFIS-PSO Approaches," KSCE Journal of Civil Engineering, vol. 25, pp. 4032–4043, 2021, doi: 10.1007/s12205-021-2223-y.

M. I. Shah, M. F. Javed, A. Alqahtani, and A. Aldrees, "Environmental assessment based surface water quality prediction using hyper-parameter optimized machine learning models based on consistent big data," Process Safety and Environmental Protection, vol. 151, pp. 324-340, 2021, doi: 10.1016/j.psep.2021.05.026.

Z. Hajirahimi and M. Khashei, "Hybridization of hybrid structures for time series forecasting: a review," Artificial Intelligence Review, 2022, doi: 10.1007/s10462-022-10199-0.

Y. Seo, S. Kim, O. Kisi, and V. P. Singh, "Daily water level forecasting using wavelet decomposition and artificial intelligence techniques," Journal of Hydrology, vol. 520, pp. 224-243, 2015, doi: 10.1016/j.jhydrol.2014.11.050.

S. L. Zubaidi et al., "Hybridised Artificial Neural Network Model with Slime Mould Algorithm: A Novel Methodology for Prediction of Urban Stochastic Water Demand," Water, vol. 12, no. 10, 2020, doi: 10.3390/w12102692.

S. Zubaidi et al., "A Novel Methodology for Prediction Urban Water Demand by Wavelet Denoising and Adaptive Neuro-Fuzzy Inference System Approach," Water, vol. 12, no. 6, p. 1628, 2020, doi: 10.3390/w12061628.

C. Zhong, Z. Jiang, X. Chu, T. Guo, and Q. Wen, "Water level forecasting using a hybrid algorithm of artificial neural networks and local Kalman filtering," Proceedings of the Institution of Mechanical Engineers, Part M: Journal of Engineering for the Maritime Environment, vol. 233, no. 1, pp. 174-185, 2017, doi: 10.1177/1475090217727135.

R. Adnan , F. A. Ruslan , A. m. Samad, and Z. M. Zain "Artificial Neural Network Modelling and Flood Water Level Prediction Using Extended Kalman Filter," presented at the International Conference on Control System, Computing and Engineering, 23 - 25 Nov. 2012, Penang, Malaysia, MALAYSIA, 23-25 November 2012, 2012.

P. Coulibaly, "Reservoir Computing approach to Great Lakes water level forecasting," Journal of Hydrology, vol. 381, no. 1-2, pp. 76-88, 2010, doi: 10.1016/j.jhydrol.2009.11.027.

M. El-Diasty and S. Al-Harbi, "Development of wavelet network model for accurate water levels prediction with meteorological effects," Applied Ocean Research, vol. 53, pp. 228-235, 2015, doi: 10.1016/j.apor.2015.09.008.

S. F. Balket and N. M. Asmael, "Study the Characteristics of Public Bus Routes in Al Kut City," Journal of Engineering and Sustainable Development, vol. 25, no. Special, pp. 3-186-3-194, 2021, doi: 10.31272/jeasd.conf.2.3.18.

S. Ethaib, S. L. Zubaidi, N. Al-Ansari, and S. L. Fegade, "Evaluation water scarcity based on GIS estimation and climate-change effects: A case study of Thi-Qar Governorate, Iraq," Cogent Engineering, vol. 9, no. 1, 2022, doi: 10.1080/23311916.2022.2075301.

NOAA. "National Oceanic and Atmospheric Administration. Data tools: Find a station." https://www.ncdc.noaa.gov/cdo-web/datatools/findstation (accessed 1 December 2021, 2021).

H. Q. Ahmad, S. A. Kamaruddin, S. B. Harun, N. Al-Ansari, S. Shahid, and R. M. Jasim, "Assessment of Spatiotemporal Variability of Meteorological Droughts in Northern Iraq Using Satellite Rainfall Data," KSCE Journal of Civil Engineering, vol. 25, no. 11, pp. 4481-4493, 2021, doi: 10.1007/s12205-021-2046-x.

T. Capt, A. Mirchi, S. Kumar, and W. S. Walker, "Urban Water Demand: Statistical Optimization Approach to Modeling Daily Demand," Journal of Water Resources Planning and Management, vol. 147, no. 2, 2021, doi: 10.1061/(asce)wr.1943-5452.0001315.

H. R. Maier and G. C. Dandy, "Neural networks for the prediction and forecasting of water resources variables: a review of modelling issues and applications," Environmental Modelling & Software, vol. 15, pp. 101–124, 2000, doi: PII: S1364-8152(99)00007- 9.

B. Tabachnick, G and L. Fidell, S., Using Multivariate Statistics. Boston, MA,USA, 2013.

S. L. Zubaidi et al., "Urban Water Demand Prediction for a City That Suffers from Climate Change and Population Growth: Gauteng Province Case Study," Water, vol. 12, no. 7, 2020, doi: 10.3390/w12071885.

J. Pallant, SPSS survival manual: a step by step guide to data analysis using spss for windows Open University Press/McGraw-Hill: London, UK, 2016, 2005.

J. Yan, Z. Xu, Y. Yu, H. Xu, and K. Gao, "Application of a Hybrid Optimized BP Network Model to Estimate Water Quality Parameters of Beihai Lake in Beijing," Applied Sciences, vol. 9, no. 9, 2019, doi: 10.3390/app9091863.

R. M. Adnan, R. R. Mostafa, O. Kisi, Z. M. Yaseen, S. Shahid, and M. Zounemat-Kermani, "Improving streamflow prediction using a new hybrid ELM model combined with hybrid particle swarm optimization and grey wolf optimization," Knowledge-Based Systems, vol. 230, p. 107379, 2021, doi: 10.1016/j.knosys.2021.107379.

G. M. Mulualem and Y.-A. Liou, "Application of Artificial Neural Networks in Forecasting a Standardized Precipitation Evapotranspiration Index for the Upper Blue Nile Basin," Water, vol. 12, no. 3, 2020, doi: 10.3390/w12030643.

F. Farzad and A. H. El-Shafie, "Performance Enhancement of Rainfall Pattern – Water Level Prediction Model Utilizing Self-Organizing-Map Clustering Method," Water Resources Management, vol. 31, no. 3, pp. 945-959, 2016, doi: 10.1007/s11269-016-1556-7.

S. L. Zubaidi, P. Kot, R. M. Alkhaddar, M. Abdellatif, and H. Al-Bugharbee, "Short-Term Water Demand Prediction in Residential Complexes: Case Study in Columbia City, USA," presented at the 2018 11th International Conference on Developments in eSystems Engineering (DeSE), Cambridge, UK, 02-05 September 2018, 2018.

K. Ahmed, S. Shahid, X. Wang, N. Nawaz, and K. Najeebullah, "Evaluation of Gridded Precipitation Datasets over Arid Regions of Pakistan," Water, vol. 11, no. 2, p. 210, 2019, doi: 10.3390/w11020210.

E. Eze, S. Halse, and T. Ajmal, "Developing a Novel Water Quality Prediction Model for a South African Aquaculture Farm," Water, vol. 13, no. 13, p. 1782, 2021, doi: 10.3390/w13131782.

C. W. Dawson, R. J. Abrahart, and L. M. See, "HydroTest: A web-based toolbox of evaluation metrics for the standardised assessment of hydrological forecasts," Environmental Modelling & Software, vol. 22, no. 7, pp. 1034-1052, 2007, doi: 10.1016/j.envsoft.2006.06.008.

S. L. Zubaidi, K. Hashim, S. Ethaib, N. S. S. Al-Bdairi, H. Al-Bugharbee, and S. K. Gharghan, "A novel methodology to predict monthly municipal water demand based on weather variables scenario," Journal of King Saud University - Engineering Sciences, vol. 34, no. 3, pp. 163-169, 2022, doi: 10.1016/j.jksues.2020.09.011.




How to Cite

Mohammed, S. J., & Zubaidi, S. L. (2023). Hybridisation of artificial neural network with particle swarm optimisation for water level prediction . Wasit Journal of Engineering Sciences, 11(2), 59-70. https://doi.org/10.31185/ejuow.Vol11.Iss2.404