Skip to main content
Log in

Forecasting of river water flow rate with machine learning

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

Today, the estimation of physical parameters has become very important; for instance, the water flow rate (RWFR) estimation is one of the types that will gain considerable significance among the others performed in this way. The forecasting of RWFR plays a crucial role in planning and building of new water dams, or operating the ones that were previously built. This study proposes machine learning algorithms to estimate a one-day ahead short-term RWFR. The estimation models were developed, using historical RWFR data, in order to obtain the future RWFR values. For the purpose of RWFR predictions, long short-term memory (LSTM) neural network, adaptive neuro-fuzzy inference system (ANFIS) with fuzzy c-means (FCM), ANFIS with subtractive clustering (SC), as well as the ANFIS with grid partition (GP) were advanced. A measurement station (MS), named as Harmanli MS, located on the Maritsa River and at the border of Turkey and Bulgaria, was selected as the study region. A total of 102 models were constructed by these four algorithms. The forecasting outcomes were compared with the real measured data. The comparisons were conducted using the statistical error results obtained from mean absolute error (MAE), root mean square error (RMSE), and the correlation coefficient (R). The predictions of the daily average volumetric flow rate (VFR) data have indicated that ANFIS-FCM model had generated the best statistical error results. Namely, statistical error results of 2.54 m3/s MAE, 4.35 m3/s RMSE, and 0.9981 R have been obtained with the utilization of the ANFIS-FCM algorithm. On the other hand, when the averages of three statistical error parameters are considered, it was shown that averages of the statistical error results of the ANFIS-SC algorithm including cumulative of 48 models to be slightly better than the average statistical error results of the ANFIS-FCM. Accordingly, it was concluded and demonstrated in this study that FCM and SC tools of the ANFIS can be two useful methods in VFR predictions. Finally, as in the case of RWFR data which usually has random distributions, it has been reported and shown that both algorithms can be simply accomplished to any type of randomly distributed data.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18

Similar content being viewed by others

References

  1. IRENA (2020) Renewable energy statistics 2020. International Renewable Energy Agency. https://www.irena.org/. Accessed 28 Nov 2021

  2. IRENA (2021) Renewable energy statistics 2021. International Renewable Energy Agency. https://www.irena.org/. Accessed 28 Nov 2021

  3. N-Sci Technologies (2021) The importance of hydropower. https://nsci.ca/2019/08/14/the-importance-of-hydro-power/. Accessed 20 Nov 2021

  4. REN21 (2021) Global status report. Renewables 2021. https://www.ren21.net/. Accessed 15 Nov 2021

  5. Zhang J, Yan J, Infield D, Liu Y, Lien F (2019) Short-term forecasting and uncertainty analysis of wind turbine power based on long short-term memory network and Gaussian mixture model. Appl Energy 241:229–244. https://doi.org/10.1016/j.apenergy.2019.03.044

    Article  Google Scholar 

  6. Jung J, Broadwater RP (2014) Current status and future advances for wind speed and power forecasting. Renew Sustain Energy Rev 31:762–777. https://doi.org/10.1016/j.rser.2013.12.054

    Article  Google Scholar 

  7. Tascikaraoglu A, Uzunoglu M (2014) A review of combined approaches for prediction of short-term wind speed and power. Renew Sustain Energy Rev 34:243–254. https://doi.org/10.1016/j.rser.2014.03.033

    Article  Google Scholar 

  8. Liu H, Tian H, Li Y (2015) An EMD-recursive ARIMA method to predict wind speed for railway strong wind warning system. J Wind Eng Ind Aerodyn 141:27–38. https://doi.org/10.1016/j.jweia.2015.02.004

    Article  Google Scholar 

  9. Kavasseri RG, Seetharaman K (2009) Day-ahead wind speed forecasting using f-ARIMA models. Renew Energy 34(5):1388–1393. https://doi.org/10.1016/j.renene.2008.09.006

    Article  Google Scholar 

  10. Khosravi A, Koury RNN, Machado L, Pabon JJG (2018) Prediction of hourly solar radiation in Abu Musa Island using machine learning algorithms. J Clean Prod 176:63–75. https://doi.org/10.1016/j.jclepro.2017.12.065

    Article  Google Scholar 

  11. Shi X, Lei X, Huang Q, Huang S, Ren K, Hu Y (2018) Hourly day-ahead wind power prediction using the hybrid model of variational model decomposition and long short-term memory. Energies 11(11):1–20. https://doi.org/10.3390/en11113227

    Article  Google Scholar 

  12. Yu C, Li Y, Bao Y, Tang H, Zhai G (2018) A novel framework for wind speed prediction based on recurrent neural networks and support vector machine. Energy Convers Manag 178:137–145. https://doi.org/10.1016/j.enconman.2018.10.008

    Article  Google Scholar 

  13. Han S, Qiao YH, Yan J, Liu YQ, Li L, Wang Z (2019) Mid-to-long term wind and photovoltaic power generation prediction based on copula function and long short term memory network. Appl Energy 239:181–191. https://doi.org/10.1016/j.apenergy.2019.01.193

    Article  Google Scholar 

  14. Zhang Z, Qin H, Liu Y, Wang Y, Yao L, Li Q, Li J, Pei S (2019) Long short-term memory network based on neighborhood gates for processing complex causality in wind speed prediction. Energy Convers Manag 192:37–51. https://doi.org/10.1016/j.enconman.2019.04.006

    Article  Google Scholar 

  15. Zhang Z, Ye L, Qin H, Liu Y, Wang C, Yu X, Yin X, Li J (2019) Wind speed prediction method using shared weight long short-term memory network and Gaussian process regression. Appl Energy 247:270–284. https://doi.org/10.1016/j.apenergy.2019.04.047

    Article  Google Scholar 

  16. Liang S, Nguyen L, Jin F (2018) A multi-variable stacked long-short term memory network for wind speed forecasting. In: 2018 IEEE International Conference on Big Data (Big Data), Seattle, WA, USA, pp 4561–4564

  17. Zaytar MA, Amrani CE (2016) Sequence to sequence weather forecasting with long short-term memory recurrent neural networks. Int J Comput Appl 143(11):7–11. https://doi.org/10.5120/ijca2016910497

    Article  Google Scholar 

  18. Özen C, Kaplan O, Özcan C, Dinç U (2019) Short term wind speed forecast by using long short term memory. In: 9th International Symposium on Atmospheric Sciences (ATMOS 2019), İstanbul, Turkey

  19. Prabha PP, Vanitha V, Resmi R (2019) Wind speed forecasting using long short term memory networks. In: 2nd International Conference on Intelligent Computing, Instrumentation and Control Technologies (ICICICT), Kannur, Kerala, India, pp 1310–1314

  20. Benmouiza K, Cheknane A (2019) Clustered ANFIS network using fuzzy c-means, subtractive clustering, and grid partitioning for hourly solar radiation forecasting. Theor Appl Climatol 137:31–43. https://doi.org/10.1007/s00704-018-2576-4

    Article  Google Scholar 

  21. Bilgili M, Sahin B (2010) Comparative analysis of regression and artificial neural network models for wind speed prediction. Meteorol Atmos Phys 109:61–72. https://doi.org/10.1007/s00703-010-0093-9

    Article  Google Scholar 

  22. Hewett R, Leuchner J, Carvalho M (2001) From climate history to prediction of regional water flows with machine learning. Institute of Electrical and Electronics Engineers (IEEE), pp 292–297

    Google Scholar 

  23. Tayfur G, Singh VP, Moramarco T, Barbetta S (2018) Flood hydrograph prediction using machine learning methods. Water (Multidisciplinary Digital Publishing Institute) 986:1–13. https://doi.org/10.3390/w10080968

    Article  Google Scholar 

  24. Flake JT (2007) Application of the relevance vector machine to canal flow prediction in the Sevier River basin. Dissertation, Utah State University

  25. Farhadi H, Zahiri A, Hashemi MR, Esmaili K (2019) Incorporating a machine learning technique to improve open-channel flow computations. Neural Comput Appl 31:909–921. https://doi.org/10.1007/s00521-017-3120-7

    Article  Google Scholar 

  26. Sahraei A, Chamorro A, Kraft P, Breuer L (2021) Application of machine learning models to predict maximum event water fractions in streamflow. Front Water 3:1–21. https://doi.org/10.3389/frwa.2021.652100

    Article  Google Scholar 

  27. Il Kim H, Kim BH (2020) Flood hazard rating prediction for urban areas using random forest and LSTM. KSCE J Civ Eng 24(12):3884–3896. https://doi.org/10.1007/s12205-020-0951-z

    Article  Google Scholar 

  28. Yaseen ZM, Jaafar O, Deo RC, Kisi O, Adamowski J, Quilty J, El-Shafie A (2016) Stream-flow forecasting using extreme learning machines: a case study in a semi-arid region in Iraq. J Hydrol 542:603–614. https://doi.org/10.1016/j.jhydrol.2016.09.035

    Article  Google Scholar 

  29. Xiao L, Zhong M, Zha D (2022) Runoff forecasting using machine-learning methods: case study in the middle reaches of Xijiang River. Front Big Data 4:1–11. https://doi.org/10.3389/fdata.2021.752406

    Article  Google Scholar 

  30. Abyaneh HZ, Nia AM, Varkeshi MB, Marofi S, Kisi O (2011) Performance evaluation of ANN and ANFIS models for estimating garlic crop evapotranspiration. J Irrig Drain Eng 137:280–286. https://doi.org/10.1061/(ASCE)IR.1943-4774.0000298

    Article  Google Scholar 

  31. Jang JR (1993) ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans Syst Man Cybern 23(3):665–685. https://doi.org/10.1109/21.256541

    Article  Google Scholar 

  32. Karakuş O, Kuruoǧlu EE, Altinkaya MA (2017) One-day ahead wind speed/power prediction based on polynomial autoregressive model. IET Renew Power Gener 11(11):1430–1439. https://doi.org/10.1049/iet-rpg.2016.0972

    Article  Google Scholar 

  33. Tabari H, Kisi O, Ezani A, Talaee PH (2012) SVM, ANFIS, regression and climate based models for reference evapotranspiration modeling using limited climatic data in a semi-arid highland environment. J Hydrol 444–445:78–89. https://doi.org/10.1016/j.jhydrol.2012.04.007

    Article  Google Scholar 

  34. Mathworks (2020) Long short-term memory networks. https://www.mathworks.com/help/deeplearning/ug/long-short-term-memory-networks.html. Accessed 1 May 2020

  35. Chandy KM, Taylor S (1992) An introduction to parallel programming. Jones and Bartlett, Boston

    MATH  Google Scholar 

  36. Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735

    Article  Google Scholar 

  37. Zahroh S, Hidayat Y, Pontoh RS, Santoso A, Sukono Bon AT (2019) Modeling and forecasting daily temperature in Bandung. In: Proceedings of the International Conference on Industrial Engineering and Operations Management, Riyadh, Saudi Arabia, pp 406–412

  38. Salman AG, Heryadi Y, Abdurahman E, Suparta W (2018) Single layer & multi-layer long short-term memory (LSTM) model with intermediate variables for weather forecasting. Procedia Comput Sci 135:89–98. https://doi.org/10.1016/j.procs.2018.08.153

    Article  Google Scholar 

  39. Liu R, Liu L (2019) Predicting housing price in China based on long short-term memory incorporating modified genetic algorithm. Soft Comput 23:11829–11838. https://doi.org/10.1007/s00500-018-03739-w

    Article  Google Scholar 

  40. Dsi (2021) River volumetric flow rates. In: 11th Regional Directorate of DSI of Turkey. http://edirnenehir.dsi.gov.tr/. Accessed 30 Nov 2021

  41. Liu X, Xiong J, Vasilakos AV (2021) Privacy and security issues in deep learning: a survey. IEEE Access 9:4566–4593. https://doi.org/10.1109/ACCESS.2020.3045078

    Article  Google Scholar 

  42. Kuntla GS, Tian X, Li Z (2021) Security and privacy in machine learning: a survey. Issues Inf Syst 22(3):224–240. https://doi.org/10.48009/3_iis_2021_242-258

    Article  Google Scholar 

Download references

Funding

No funding was received for conducting this study.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Akin Ilhan.

Ethics declarations

Conflict of interest

The authors have no conflict of interest to declare that are relevant to the content of this article.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ilhan, A. Forecasting of river water flow rate with machine learning. Neural Comput & Applic 34, 20341–20363 (2022). https://doi.org/10.1007/s00521-022-07576-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-022-07576-9

Keywords

Navigation