Abstract
Accurate forecast of short-term to long-term streamflow prediction is of great importance for water resources management. However, with the advent of novel hybrid machine learning methods, it remains unclear whether these hybrid models can outperform the traditional streamflow forecast models. Therefore, in this study, we trained and tested the performance of several evolutionary algorithms, including Fire-Fly Algorithm(FFA), Genetic Algorithm (GA), Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), and Differential Evolution (DE) hybridized with ANFIS. Three forecast horizons, short-term (Daily), mid-term (Weekly and Monthly) and long-term (Annual) with fifteen input-output combinations, a total of 90 models, were developed and tested. A Monte Carlo Simulation (MCS) framework is used for uncertainty analysis. Daily inflow to the Karun III dam, located in the southeast of Iran, for the period of June 2005 to December 2016 were used. Results indicated that: 1) All developed hybrid algorithms significantly outperformed the traditional ANFIS model performance for all prediction horizons. The best hybrid models were ANFIS-GWO1, ANFIS-GWO7 and ANFIS-GWO11 such that the values of R2, RMSE, NSE, and RAE were improved by 12%, 10%, 18.5% and 14.3% for the short-term forecasts, 15%, 13%, 20% and 21.1% for the mid-term forecasts, and 10.3%, 7.5%, 10.5% and 14% for the long-term forecasts; 2) Uncertainty analysis indicates that nearly all hybrid models have significantly reduced uncertainty levels compared to the traditional ANFIS model; and 3) A simple explicit equation based on the hybrid ANFIS results was provided for streamflow forecasting, which is a major advantage compared to the classical blackbox machine learning models.
Similar content being viewed by others
Data Availability
Some data and the generated code in the study are available by request from the coreesponding author.
References
Afan HA, Allawi MF, El-Shafie A, Yaseen ZM, Ahmed AN, Malek MA et al (2020) Input attributes optimization using the feasibility of genetic nature inspired algorithm: application of river flow forecasting. Sci Rep 10(1):1–15
Ali M, Deo RC, Downs NJ, Maraseni T (2018) An ensemble-ANFIS based uncertainty assessment model for forecasting multi-scalar standardized precipitation index. Atmos Res 207:155–180
Azad A, Farzin S, Kashi H, Sanikhani H, Karami H, Kisi O (2018) Prediction of river flow using hybrid neuro-fuzzy models. Arab J Geosci 11(22):718
Babaei M, Moeini R, Ehsanzadeh E (2019) Artificial neural network and support vector machine models for inflow prediction of dam reservoir (case study: Zayandehroud dam reservoir). Water Resour Manag 33(6):2203–2218
Badrzadeh H, Sarukkalige R, Jayawardena AW (2018) Intermittent stream flow forecasting and modelling with hybrid wavelet neuro-fuzzy model. Hydrol Res 49(1):27–40
Bonakdari H, Ebtehaj I, Samui P, Gharabaghi B (2019) Lake water-level fluctuations forecasting using minimax probability machine regression, relevance vector machine, Gaussian process regression, and extreme learning machine. Water Resour Manag 33(11):3965–3984
Ebtehaj I, Bonakdari H, Safari MJS, Gharabaghi B, Zaji AH, Madavar HR et al (2020) Combination of sensitivity and uncertainty analyses for sediment transport modeling in sewer pipes. International Journal of Sediment Research 35(2):157–170
Hussain D, Khan AA (2020) Machine learning techniques for monthly river flow forecasting of Hunza River, Pakistan. Earth Science Informatics:1–11
Jang J-S (1993) ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans Syst Man Cybern 23(3):665–685
Langridge M, Gharabaghi B, McBean E, Bonakdari H, Walton R (2020) Understanding the dynamic nature of time-to-peak in UK streams. J Hydrol 583:124630
Mirjalili S, Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61
Modaresi F, Araghinejad S, Ebrahimi K (2018) A comparative assessment of artificial neural network, generalized regression neural network, Least-Square support vector regression, and K-nearest neighbor regression for monthly Streamflow forecasting in linear and nonlinear conditions. Water Resour Manag 32(1):243–258
Niu WJ, Feng ZK (2020) Evaluating the performances of several artificial intelligence methods in forecasting daily streamflow time series for sustainable water resources management. Sustain Cities Soc 102562
Niu WJ, Feng ZK, Cheng CT, Zhou JZ (2018) Forecasting daily runoff by extreme learning machine based on quantum-behaved particle swarm optimization. J Hydrol Eng 23(3):04018002
Noorbeh P, Roozbahani A, Moghaddam HK (2020) Annual and monthly dam inflow prediction using Bayesian networks. Water Resour Manag 34(9):2933–2951
Perdikaris J, Gharabaghi B, Rudra R (2018) Reference time of concentration estimation for ungauged catchments. Earth Sci Res 7:58–73
Poul AK, Shourian M, Ebrahimi H (2019) A comparative study of MLR, KNN, ANN and ANFIS models with wavelet transform in monthly stream flow prediction. Water Resour Manag 33(8):2907–2923
Riahi H, Seifi A (2018) Uncertainty analysis in bed load transport prediction of gravel bed rivers by ANN and ANFIS. Arab J Geosci 11(21):688
Seifi A, Soroush F (2020) Pan evaporation estimation and derivation of explicit optimized equations by novel hybrid meta-heuristic ANN based methods in different climates of Iran. Comput Electron Agric 173:105418
Seifi A, Dehghani M, Singh VP (2020) Uncertainty analysis of water quality index (WQI) for groundwater quality evaluation: application of Monte-Carlo method for weight allocation. Ecol Indic 117:106653
Shaghaghi S, Bonakdari H, Gholami A, Kisi O, Binns A, Gharabaghi B (2019) Predicting the geometry of regime rivers using M5 model tree, multivariate adaptive regression splines and least square support vector regression methods. International Journal of River Basin Management 17(3):333–352
Shrestha DL, Kayastha N, Solomatine DP (2009) A novel approach to parameter uncertainty analysis of hydrological models using neural networks. Hydrol Earth Syst Sci 13(7):1235–1248
Tien Bui D, Khosravi K, Li S, Shahabi H, Panahi M, Singh VP et al (2018) New hybrids of anfis with several optimization algorithms for flood susceptibility modeling. Water 10(9):1210
Toro CHF, Meire SG, Gálvez JF, Fdez-Riverola F (2013) A hybrid artificial intelligence model for river flow forecasting. Appl Soft Comput 13(8):3449–3458
Tripura J, Roy P, Barbhuiya AK (2020) Simultaneous streamflow forecasting based on hybridized neuro-fuzzy method for a river system. Neural Computing and Applications:1–13
UN-ESCWA, BGR (United Nations Economic and Social Commission for Western Asia; Bundesanstalt für Geowissenschaften und Rohstoffe). (2013). Inventory of shared water resources in Western Asia. Beirut
Walton R, Binns A, Bonakdari H, Ebtehaj I, Gharabaghi B (2019) Estimating 2-year flood flows using the generalized structure of the group method of data handling. J Hydrol 575:671–689
Yang XS (2010) Firefly algorithm, stochastic test functions and design optimisation. International Journal of Bio-Inspired Computation 2(2):78–84
Yaseen ZM, Naganna SR, Sa’adi Z, Samui P, Ghorbani MA, Salih SQ, Shahid S (2020) Hourly river flow forecasting: application of emotional neural network versus multiple machine learning paradigms. Water Resour Manag:1–17
Zaji AH, Bonakdari H, Gharabaghi B (2018) Applying upstream satellite signals and a 2-D error minimization algorithm to advance early warning and management of flood water levels and river discharge. IEEE Trans Geosci Remote Sens 57(2):902–910
Zeynoddin M, Bonakdari H, Azari A, Ebtehaj I, Gharabaghi B, Madavar HR (2018) Novel hybrid linear stochastic with nonlinear extreme learning machine methods for forecasting monthly rainfall a tropical climate. J Environ Manag 222:190–206
Zhou Y, Guo S, Chang FJ (2019) Explore an evolutionary recurrent ANFIS for modelling multi-step-ahead flood forecasts. J Hydrol 570:343–355
Funding
This research did not receive any specific grant from funding agencies in the public, commercial or not-for-profit sectors.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception, design and revisions. Conceptualization and coding: Hossien Riahi-Madvar. Data and methods: Hossien Riahi-Madvar., Majid Dehghani and Rasoul Memarzadeh Analysis: Hossien Riahi-Madvar. and Majid Dehghani Writing—original draft preparation: Hossien Riahi-Madvar., Majid Dehghani and Rasoul Memarzadeh Writing—review and editingl Bahram Gharabaghi and Hossien Riahi-Madvar. All authors have read and agreed to the published version of the manuscript.
Corresponding author
Ethics declarations
Ethical Approval
All procedures performed in this study are in accordance with the ethical standards of the institution or practice at which the studies are conducted. This study does not contain any studies with human participants or animals performed by any of the authors.
Consent to Participate
All authors have consent to participate in the study, and agreed to the published version of the manuscript.
Consent to Publish
All authors have consent and agreed to the published version of the manuscript and gives the publisher the permission and alhh rights to publish the work.
Competing Interests
The authors declare that they have no conflict of interest.
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
Riahi-Madvar, H., Dehghani, M., Memarzadeh, R. et al. Short to Long-Term Forecasting of River Flows by Heuristic Optimization Algorithms Hybridized with ANFIS. Water Resour Manage 35, 1149–1166 (2021). https://doi.org/10.1007/s11269-020-02756-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11269-020-02756-5