Abstract
Recently, machine learning (ML) is being applied to various fields, including hydrology and hydraulics. The numerical models based on ML algorithms have been widely used for forecasting water levels or flowrate in different timescales. Especially in estuary areas where the hydrodynamic regime becomes complicated, the water level forecast information in this area plays an essential role in the operation of tidal sluices. This study proposes an efficient approach using an ML model, long short-term memory (LSTM), to predict short-term water levels in tidal sluice gates from 6 to 48 hours ahead. The An Tho culvert located in the Bac Hung Hai irrigation system, the most extensive irrigation system in Vietnam, was selected as a case study station. The high accuracy of predictive results reveals LSTM models' effectiveness in different forecasting scenarios. In the first scenario using just water level data at the prediction station, the Kling–Gupta efficiency (KGE) coefficient ranges from nearly 0.89 to 0.96. Meanwhile, in the second scenario, the combination of observed data of three gauge stations exhibited better performance with KGE coefficients ranging from just under 0.93 to 0.98 for eight forecasted cases. The findings of this study highlight the performance of LSTM models in providing high-accuracy short-period water level forecasts for areas near estuaries. These obtained results can play a vital role in the management and operation of tidal sluices in the Bac Hung Hai irrigation system, as well as a reference for the operation of other irrigation systems around the world.
Similar content being viewed by others
Data availability
The datasets generated during and/or analyzed during the current study are available from the corresponding author on reasonable request.
References
Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., et al. (2015). TensorFlow: Large-scale machine learning on heterogeneous distributed systems. ArXiv:abs/1603.04467
Adnan, R. M., Petroselli, A., Heddam, S., Santos, C. A. G., & Kisi, O. (2021). Short term rainfall-runoff modelling using several machine learning methods and a conceptual event-based model. Stochastic Environmental Research and Risk Assessment, 35(3), 597–616. https://doi.org/10.1007/s00477-020-01910-0
Aghelpour, P., Bahrami-Pichaghchi, H., & Varshavian, V. (2021). Hydrological drought forecasting using multi-scalar streamflow drought index, stochastic models and machine learning approaches, in northern Iran. Stochastic Environmental Research and Risk Assessment, 35(8), 1615–1635. https://doi.org/10.1007/s00477-020-01949-z
Ardabili, S., Mosavi, A., Dehghani, M., Várkonyi-Kóczy, A. R. (2020). Deep Learning and Machine Learning in Hydrological Processes Climate Change and Earth Systems a Systematic Review, Cham; pp. 52–62. https://doi.org/10.1007/978-3-030-36841-8_5
Bai, P., Liu, X., & Xie, J. (2021). Simulating runoff under changing climatic conditions: A comparison of the long short-term memory network with two conceptual hydrologic models. Journal of Hydrology, 592, 125779. https://doi.org/10.1016/j.jhydrol.2020.125779
Chen, W.-B., Liu, W. C., & Hsu, M. H. (2012). Comparison of ANN approach with 2D and 3D hydrodynamic models for simulating estuary water stage. Advances in Engineering Software, 45(1), 69–79. https://doi.org/10.1016/j.advengsoft.2011.09.018
Chollet, F. (2017). Deep learning with python. Manning Publications.
Cloke, H. L., & Pappenberger, F. (2009). Ensemble flood forecasting: A review. Journal of Hydrology, 375(3), 613–626. https://doi.org/10.1016/j.jhydrol.2009.06.005
Devia, G. K., Ganasri, B. P., & Dwarakish, G. S. (2015). A Review on Hydrological Models. Aquatic Procedia, 4, 1001–1007. https://doi.org/10.1016/j.aqpro.2015.02.126
Eldho, T. I., & Kulkarni, A. T. (2017). Conceptual and Physically Based Hydrological Modeling, Sustainable Water Resources Management. 81–118. https://doi.org/10.1061/9780784414767.ch04
Granata, F., & Di Nunno, F. (2021). Artificial Intelligence models for prediction of the tide level in Venice. Stochastic Environmental Research and Risk Assessment. https://doi.org/10.1007/s00477-021-02018-9
Gupta, H. V., Kling, H., Yilmaz, K. K., & Martinez, G. F. (2009). Decomposition of the mean squared error and NSE performance criteria: Implications for improving hydrological modelling. Journal of Hydrology, 377(1), 80–91. https://doi.org/10.1016/j.jhydrol.2009.08.003
Hidayat, H., Hoitink, A. J. F., Sassi, M. G., & Torfs, P. J. J. F. (2014). Prediction of discharge in a tidal river using artificial neural networks. Journal of Hydrologic Engineering, 19(8), 04014006. https://doi.org/10.1061/(ASCE)HE.1943-5584.0000970
Hochreiter, S., & Schmidhuber, J. (1997). Long short-term memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
Hunter, J. D. (2007). Matplotlib: A 2D graphics environment. Computing in Science & Engineering, 9(3), 90–95. https://doi.org/10.1109/MCSE.2007.55
Jaiswal, R. K., Ali, S., & Bharti, B. (2020). Comparative evaluation of conceptual and physical rainfall–runoff models. Applied Water Science, 10(1), 48. https://doi.org/10.1007/s13201-019-1122-6
Kao, I. F., Zhou, Y., Chang, L. C., & Chang, F. J. (2020). Exploring a Long Short-Term Memory based Encoder-Decoder framework for multi-step-ahead flood forecasting. Journal of Hydrology, 583, 124631. https://doi.org/10.1016/j.jhydrol.2020.124631
Kingma, D. P., Ba, J. (2014). Adam: A method for stochastic optimization. ArXiv:abs/1412.6980
Le, X. H., Ho, H. V., & Lee, G. (2020a). Application of Gated Recurrent Unit (GRU) Network for Forecasting River Water Levels Affected by Tides, In Proceedings of APAC 2019, Hanoi, Vietnam; pp. 673–680. https://doi.org/10.1007/978-981-15-0291-0_92
Le, X. H., Ho, H. V., Lee, G., & Jung, S. (2019). Application of Long Short-Term Memory (LSTM) Neural Network for Flood Forecasting. Water, 11(7), 1387. https://doi.org/10.3390/w11071387
Le, X. H., & Ho, V. H. (2018). Using long short-term memory neural network to forecast water level at the Quang Phuc and the Cua Cam stations in Hai Phong Vietnam. Journal of Water Resources & Environmental Engineering, 62, 9–16.
Le, X.H., Jung, S., Yeon, M., & Lee, G. (2021a). River Water Level Prediction Based on Deep Learning: Case Study on the Geum River, South Korea, In Proceedings of Lecture Notes in Civil Engineering, Singapore. 319–325. https://doi.org/10.1007/978-981-16-0053-1_40
Le, X. H., Lee, G., Jung, K., An, H.-U., Lee, S., & Jung, Y. (2020b). Application of Convolutional Neural Network for Spatiotemporal Bias Correction of Daily Satellite-Based Precipitation. Remote Sensing, 12(17), 2731. https://doi.org/10.3390/rs12172731
Le, X. H., Nguyen, D. H., Jung, S., Yeon, M., & Lee, G. (2021b). Comparison of Deep Learning Techniques for River Streamflow Forecasting. IEEE Access, 9, 71805–71820. https://doi.org/10.1109/ACCESS.2021.3077703
LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521, 436–444. https://doi.org/10.1038/nature14539
Li, Y., Shi, H., & Liu, H. (2020). A hybrid model for river water level forecasting: Cases of Xiangjiang River and Yuanjiang River China. Journal of Hydrology, 587, 124934. https://doi.org/10.1016/j.jhydrol.2020.124934
Masrur Ahmed, A. A., Deo, R. C., Feng, Q., Ghahramani, A., Raj, N., Yin, Z., et al. (2021). Deep learning hybrid model with Boruta-Random forest optimiser algorithm for streamflow forecasting with climate mode indices, rainfall, and periodicity. Journal of Hydrology, 599, 126350. https://doi.org/10.1016/j.jhydrol.2021.126350
McKinney, W. (2010). Data structures for statistical computing in Python, In Proceedings of 9th Python in Science Conference, Austin, TX, USA, 28 June – 3 July; pp. 51–56.
Mosavi, A., Ozturk, P., & Chau, K.-W. (2018). Flood prediction using machine learning models: Literature review. Water, 10(11), 1536. https://doi.org/10.3390/w10111536
Nash, J. E., & Sutcliffe, J. V. (1970). River flow forecasting through conceptual models Part I - A discussion of principles. Journal of Hydrologic Engineering, 10(3), 282–290. https://doi.org/10.1016/0022-1694(70)90255-6
Nguyen, D. H., & Bae, D.-H. (2020). Correcting mean areal precipitation forecasts to improve urban flooding predictions by using long short-term memory network. Journal of Hydrology, 584, 124710. https://doi.org/10.1016/j.jhydrol.2020.124710
Nguyen, D. H., Le, X. H., Anh, D. T., Kim, S. H., & Bae, D. -H. (2022). Hourly streamflow forecasting using a Bayesian additive regression tree model hybridized with a genetic algorithm. Journal of Hydrology, 606, 127445. https://doi.org/10.1016/j.jhydrol.2022.127445
Nguyen, D. H., Le, X. H., Heo, J. Y., & Bae, D. H. (2021). Development of an Extreme Gradient Boosting Model Integrated With Evolutionary Algorithms for Hourly Water Level Prediction. IEEE Access, 9, 125853–125867. https://doi.org/10.1109/ACCESS.2021.3111287
Ni, L., Wang, D., Singh, V. P., Wu, J., Wang, Y., Tao, Y., et al. (2020). Streamflow and rainfall forecasting by two long short-term memory-based models. Journal of Hydrology, 583, 124296. https://doi.org/10.1016/j.jhydrol.2019.124296
Olah, C. (2015). Understanding LSTM networks. Available at: http://colah.github.io/posts/2015-08-Understanding-LSTMs/ (accessed on: 28 June 2018).
Papacharalampous, G., Tyralis, H., & Koutsoyiannis, D. (2019). Comparison of stochastic and machine learning methods for multi-step ahead forecasting of hydrological processes. Stochastic Environmental Research and Risk Assessment, 33(2), 481–514. https://doi.org/10.1007/s00477-018-1638-6
Phan, T. T. H., & Nguyen, X. H. (2020). Combining statistical machine learning models with ARIMA for water level forecasting: The case of the Red river. Advances in Water Resources, 142, 103656. https://doi.org/10.1016/j.advwatres.2020.103656
Rossum, G. (1995). Python tutorial, CWI (Centre for Mathematics and Computer Science), Amsterdam, The Netherlands.
Ruder, S. (2016). An overview of gradient descent optimization algorithms, Availabe at: https://ruder.io/optimizing-gradient-descent/ (accessed on: 2020 Jun 6).
Shen, C. (2018). A Transdisciplinary Review of Deep Learning Research and Its Relevance for Water Resources Scientists. Water Resources Research, 54(11), 8558–8593. https://doi.org/10.1029/2018wr022643
Sit, M., Demiray, B. Z., Xiang, Z., Ewing, G. J., Sermet, Y., & Demir, I. (2020). A Comprehensive Review of Deep Learning Applications in Hydrology and Water Resources. ArXiv:abs/2007.12269
Thirumalaiah, K., & Deo, M. C. (2000). Hydrological forecasting using neural networks. Journal of Hydrologic Engineering, 5(2), 180–189. https://doi.org/10.1061/(ASCE)1084-0699(2000)5:2(180)
Van Der Walt, S., Colbert, S. C., & Varoquaux, G. (2011). The NumPy array: A structure for efficient numerical computation. Computing in Science & Engineering, 13(2), 22–30. https://doi.org/10.1109/mcse.2011.37
Xu, T., & Liang, F. (2021). Machine learning for hydrologic sciences: An introductory overview. Wires Water, 8(5), e1533. https://doi.org/10.1002/wat2.1533
Yang, C. H., Wu, C. H., & Hsieh, C. M. (2020). Long Short-Term Memory Recurrent Neural Network for Tidal Level Forecasting. IEEE Access, 8, 159389–159401. https://doi.org/10.1109/ACCESS.2020.3017089
Yaseen, Z. M., El-shafie, A., Jaafar, O., Afan, H. A., & Sayl, K. N. (2015). Artificial intelligence based models for stream-flow forecasting: 2000–2015. Journal of Hydrology, 530, 829–844. https://doi.org/10.1016/j.jhydrol.2015.10.038
Young, P. C., (2002). Advances in real–time flood forecasting. Philosophical Transactions of the Royal Society of London. Series A: Mathematical, Physical and Engineering Sciences, 360(1796), 1433.
Yuan, X., Chen, C., Lei, X., Yuan, Y., & Muhammad Adnan, R. (2018). Monthly runoff forecasting based on LSTM–ALO model. Stochastic Environmental Research and Risk Assessment, 32(8), 2199–2212. https://doi.org/10.1007/s00477-018-1560-y
Zounemat-Kermani, M., Batelaan, O., Fadaee, M., & Hinkelmann, R. (2021). Ensemble machine learning paradigms in hydrology: A review. Journal of Hydrology, 598, 126266. https://doi.org/10.1016/j.jhydrol.2021.126266
Author information
Authors and Affiliations
Contributions
Hung Viet Ho (H.V.H.) involved in conceptualization, formal analysis, writing—original draft. Duc Hai Nguyen (D.H.N.) took part in methodology, writing—review and editing. Xuan-Hien Le (X.H.L.) involved in conceptualization, methodology, formal analysis, visualization, writing—review and editing. Giha Lee (G.L.) took part in methodology, writing—review and editing.
Corresponding author
Ethics declarations
Conflicts of interest
The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Ho, H.V., Nguyen, D.H., Le, XH. et al. Multi-step-ahead water level forecasting for operating sluice gates in Hai Duong, Vietnam. Environ Monit Assess 194, 442 (2022). https://doi.org/10.1007/s10661-022-10115-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10661-022-10115-7