Abstract
Weirs are often used to measure discharge and control upstream water levels. The accurate estimation of flow discharge from circular-crested oblique weirs depends on the accurate estimation of the discharge coefficient (Cd). Therefore, presenting a method that can provide an accurate output of this important parameter would be a significant aid to designers of hydraulic structures. Accordingly, in the first part of this study, new hybrid models using support vector machine (SVM) coupled with particle swarm optimization (PSO) and the genetic algorithm (GA) are developed for estimating the Cd of circular-crested oblique weirs. The ability of the hybrid developed models (SVM-PSO and SVM-GA) was compared with that of the single model (SVM). In the second part, the results of the intelligence models were compared with regression models, namely multiple linear regression (MLR) and multiple nonlinear regression (MNLR). To assess the performance of the proposed models, statistical indicators including R2, RMSE, RE%, and KGE, and graphical diagrams including Violin, RE%, Scatter, and Taylor plots were used. The results indicate that the performance of the SVM-GA model with R2 = 0.992, RMSE = 0.009, RE% = 1.43%, and KGE = 0.988 is better than the other intelligence models for estimating Cd for circular-crested oblique weirs. According to the Taylor plot, it is clear that the distance index obtained using the SVM-GA model is very close to the observed data, especially when compared with other methods. The SVM-GA model was also compared with regression models. The results indicate that the SVM-GA model estimates the Cd for circular-crested oblique weirs more accurately than the MLR and MNLR models.
Similar content being viewed by others
Abbreviations
- Q:
-
Discharge (m3/s)
- Cd :
-
Discharge coefficient (-)
- Re:
-
Reynolds number (-)
- Lc:
-
Weir crest length (m)
- He:
-
Total head above weir crest (m)
- P:
-
Weir height (m)
- D:
-
Weir crest diameter (m)
- \(\alpha\) :
-
Weir oblique angle (radian)
- g :
-
Acceleration due to gravity (m/s2)
- \({\uprho }\) :
-
Fluid mass density (kg/m3)
- \({\upmu }\) :
-
Fluid dynamic viscosity (kg/m·s)
- R2 :
-
Coefficient of determination
- RMSE:
-
Root mean square error
- RE%:
-
Relative error percent
- KGE:
-
Kling–Gupta efficiency
- MLR:
-
Multiple linear regression
- MNLR:
-
Multiple nonlinear regression
- SVM:
-
Support vector machine
- SVR:
-
Support vector regression
- GA:
-
Genetic algorithm
- PSO:
-
Particle swarm optimization
- ANN:
-
Artificial neural network
- BPNN:
-
Back-propagation neural network
- CFNN:
-
Cascade-forward neural network
- RBFN:
-
Radial basis function network
- GPR:
-
Gaussian process regression
- MLP:
-
Multilayer perceptron
- RF:
-
Random forest
- GEP:
-
Gene expression programming
- ANFIS:
-
Adaptive neural fuzzy inference system
- FF:
-
Firefly optimization
- WOA:
-
Whale optimization algorithm
- HHO:
-
Harris Hawks optimization algorithm
- SPSS:
-
Statistical package for social sciences
References
Abdol G, Al Babely E (2012) Behavior of the discharge coefficient for the overflow characteristics of oblique circular weirs. Tikrit J Eng Sci 19(4):54–63
Alquraish MM, Abuhasel KA, Alqahtani AS, Khadr M (2021) A comparative analysis of hidden Markov model, hybrid support vector machines, and hybrid artificial neural fuzzy inference system in reservoir inflow forecasting (Case study: The king fahd dam, Saudi Arabia). Water 13(9):1236
Azrour M, Mabrouki J, Fattah G, Guezzaz A, Aziz F (2022) Machine learning algorithms for efficient water quality prediction. Model Earth Syst Environ 8(1):2793–2801. https://doi.org/10.1007/s40808-021-01266-6
Barzegari Banadkooki F, Ehteram M, Panahi F, Sammen SS, Binti Othman F, EL-Shafie A (2020) Estimation of total dissolved solids (TDS) using new hybrid machine learning models. J Hydrol 587(1):30–45. https://doi.org/10.1016/j.jhydrol.2020.124989
Bonakdari H, Zaji AH, Shamshirband Sh, Hashim R, Petkovic D (2015) Sensitivity analysis of the discharge coefficient of a modified triangular side weir by adaptive neuro-fuzzy methodology. Measurement. https://doi.org/10.1016/j.measurement.2015.05.021
Bozorg-Haddad O, Soleimani S, Loaiciga H (2017) Modeling water-quality parameters using genetic algorithm–least squares support vector regression and genetic programming. J Environ Eng 143(7):150–162. https://doi.org/10.1061/(ASCE)EE.1943-7870.0001217
Chelang A, Abdul-Karim A, Ismael A (2018) Prediction of discharge coefficient for cylindrical weirs using adaptive Neuro fuzzy inference system ANFIS and multilayer neural networks MLP. Int J Appl Eng Res 13(9):7042–7051
Ebtehaj I, Bonakdari H, Zaji AH, Azimi H, Sharifi A (2015) Gene expression programming to predict the discharge coefficient in rectangular side weirs. Appl Soft Comput V 35:618–628. https://doi.org/10.1016/j.asoc.2015.07.003
García Nieto PJ, García-Gonzalo E, Alonso Fernández JR, Díaz MC (2014) Hybrid PSO–SVM-based method for long-term forecasting of turbidity in the Nalón river basin: a case study in Northern Spain. Ecol Eng 73:192–200. https://doi.org/10.1016/j.ecoleng.2014.09.042
Haghiabi AH (2012) Hydraulic characteristics of circular crested weir based on Dressler theory. Biosys Eng 112(4):328–334. https://doi.org/10.1016/j.biosystemseng.2012.05.004
Haghiabi AH, Mohammadzadeh-Habili J, Parsaie A (2018) Development of an evaluation method for velocity distribution over cylindrical weirs using doublet concept. Flow Meas Instrum. https://doi.org/10.1016/j.flowmeasinst.2018.03.008
Heidarpour M, Mohammadzadeh Habili J, Haghiabi AH (2008) Application of potential flow to circular-crested weir. J Hydraul Res 46(5):699–702. https://doi.org/10.3826/jhr.2008.3181
Huang W, Liu H, Zhang Y, Mi R, Tong C, Xiao W, Shuai B (2021) Railway dangerous goods transportation system risk identification: comparisons among SVM, PSO-SVM, GA-SVM and GS-SVM. Appl Soft Comput 109:107541
Ismael AA, Suleiman SJ, Al-Nima RRO et al (2021) Predicting the discharge coefficient of oblique cylindrical weir using neural network techniques. Arab J Geosci 14:1670. https://doi.org/10.1007/s12517-021-07911-9
Khatibi R, Ghorbani MA, Akhoni PF (2017) Stream flow predictions using nature-inspired Firefly Algorithms and a Multiple Model strategy Directions of innovation towards next generation Practices. Adv Eng Inform 34(1):80–89. https://doi.org/10.1016/j.aei.2017.10.002
Li J, Abdulmohsin HA, Hasan SS, Kaiming L, Al-Khateeb B, Ghareb MI, Mohammad MN (2019) Hybrid soft computing approach for determining water quality indicator: Euphrates River. Neural Comput Appl 31(2):827–837. https://doi.org/10.1007/s00521-017-3112-7
Liu S, Tai H, Ding Q, Li D, Xu L, Wei YA (2013) Hybrid approach of support vector regression with genetic algorithm optimization for aquaculture water quality prediction. Math Comput Model 3–4:458–465. https://doi.org/10.1016/j.mcm.2011.11.021
Mohammadzadeh-Habili J, Heidarpour M, Haghiabi AH (2016) Comparison the hydraulic characteristics of finite crest length weir with quarter-circular crested weir. Flow Meas Instrum 52:77–82. https://doi.org/10.1016/j.flowmeasinst.2016.09.009
Noori BMA (2020) Hydraulic performance of circular crested oblique weirs. Ain Shams Eng J V 11(4):875–888. https://doi.org/10.1016/j.asej.2020.02.014
Noori BMA, Hussein BS, Aaref NT (2022) Numerical simulation and experimental study of hydraulic performance of circular crested normal weirs. J Duhok Univ 25(1):49–62. https://doi.org/10.26682/sjuod.2022.25.1.8
Norouzi R, Daneshfaraz R, Ghaderi A (2019) Investigation of discharge coefficient of trapezoidal labyrinth weirs using artificial neural networks and support vector machines. Appl Water Sci V 9:148. https://doi.org/10.1007/s13201-019-1026-5
Nourani B, Arvanaghi H, Salmasi F (2021) A novel approach for estimation of discharge coefficient in broad-crested weirs based on Harris hawks optimization algorithm. Flow Meas Instrum 79:101916. https://doi.org/10.1016/j.flowmeasinst.2021.101916
Nourani B, Salmasi F, Arvanaghi H, Abraham J (2022) Development of explicit formulas for estimating seepage characteristics underneath aprons with equal and unequal double vertical end piles. Int J Geomech 22(12):558. https://doi.org/10.1061/(ASCE)GM.1943-5622.0002597
Parsaie A, Haghiabi AH (2019) The hydraulic investigation of circular crested stepped spillway. Flow Measur Instrum 70:101624. https://doi.org/10.1016/j.flowmeasinst.2019.101624
Sahib JH, Naeem G, Hani Y, Kaduhim A (2018) The effect of characteristics of flow on discharge coefficient for oblique weir. Int J Civ Eng Technol 9(6):48–53
Shamsi Z, Parsaie A, Haghiabi AH (2022) Optimum hydraulic design of cylindrical weirs. ISH J Hydraulic Eng 28:86–90. https://doi.org/10.1080/09715010.2019.1683474
Suárez Sánchez A, Riesgo Fernández P, Sánchez Lasheras F, De Cos JFJ, García Nieto PJ (2011) Prediction of work-related accidents according to working conditions using support vector machines. Appl Math Comput 218(7):3539–3552
Suykens JA, Vandewalle J (1999) Least squares support vector machine classifiers. Neuralprocess Lett 9(3):293–300. https://doi.org/10.1023/A:1018628609742
Tingey SE (2011) Discharge coefficients of oblique weirs. M.Sc. Thesis, Department of Mechanical Engineering. Logan, Utah, U.S.A: Utah State University
Weekaew J, Ditthakit P, Pham QB, Kittiphattanabawon N, Linh NTT (2022) Comparative study of coupling models of feature selection methods and machine learning techniques for predicting monthly reservoir inflow. Water 14(24):4029
Wu J, Wang ZA (2022) Hybrid model for water quality prediction based on an artificial neural network, wavelet transform, and long short-term memory. Science 14(610):1–26
Zaini N, Malek MA, Yusoff M, Mardi NH, Norhisham S (2018) Daily river flow forecasting with hybrid support vector machine–particle swarm optimization. In: IOP Conference Series: Earth and Environmental Science, vol 140, no 1, IOP Publishing
Zaji AH, Bonakdari H, Khodashenas SR, Shamshirband Sh (2016) Firefly optimization algorithm effect on support vector regression prediction improvement of a modified labyrinth side weir’s discharge coefficient. Appl Math Comput 274C:14–19. https://doi.org/10.1016/j.amc.2015.10.070
Acknowledgements
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
Corresponding author
Ethics declarations
Conflict of interest
The authors declare no competing interests.
Ethical Approval
This article does not contain any studies with human participants or animals performed by any of the authors.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Nourani, B., Arvanaghi, H., Pourhosseini, F.A. et al. Enhanced Support Vector Machine with Particle Swarm Optimization and Genetic Algorithm for Estimating Discharge Coefficients of Circular-Crested Oblique Weirs. Iran J Sci Technol Trans Civ Eng 47, 3185–3198 (2023). https://doi.org/10.1007/s40996-023-01110-0
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40996-023-01110-0