Professional Documents
Culture Documents
1, 2017
ABSTRACT
Side weir has many possible uses in hydraulic engineering and has also been investigated as an important
structure in hydrosystems. In this paper, the genetic programing technique was used to predict side weir
discharge coefficient. The main parameters which are efficacious in the side weir discharge coefficient are:
Froude number (Fr), ratio of side weir height to total upstream head ሺ ), ratio of side weir length to total
భ
upstream head ሺ ) and ratio of side weir length to channel width ( ). Principal component analysis indicates
భ
that the most important parameters are: Fr1 and . The results show that the most accurate empirical formula
భ
2
is the Emiroglu formula with error indices (R = 0.64 and RSME=0.1). The performance of GP was
compared to the empirical formulae proposed to calculate Cdsw. The results of the GP model indicate that the
accuracy of the GP model with error indices (R2 = 0.95 and RSME=0.09) is suitable. At the end, a formula is
proposed to calculate Cdsw based on the GP approach.
In Figure (1), L is the side weir length, B(b) is the conducted with more accuracy. Developing ANN
channel width, P is the weir height, h1 is the upstream models is based on the data set. This means that the
flow depth, h2 is the downstream flow depth, Q0 is the hydraulic characteristics of the phenomena should be
upstream discharge, Qs is the discharge passing through measured in advance. In the field of ANN, the
the side weir and Q2 is the downstream discharge. Adaptive Neuro Fuzzy Inference System (ANFIS) was
Researchers who conducted experimental studies on used by Emiroglu and Kisi (2013) and the Multi-layer
side weir hydraulics tried to explain the effect of Perceptron (MLP) neural network was implemented by
influential parameters, such as Froude number, weir Kisi et al. (2012), Bilhan et al. (2010), Bilhan et al.
length, flow angle, crest shape, among others, on the (2011) and Emiroglu et al. (2011b). The results of all
side weir discharge coefficient. Because of the high the ANN studies on the side weir indicate that the
cost of physical modeling and laboratory equipment, accuracy of ANN models is much higher than that of
investigators used numerical approaches for simulating empirical formulae. The ANN model and the ANFIS
the performance of hydraulic structures. In the field of model present a network instead of a formula, so the
numerical simulation, the governing hydraulic researcher hasn’t more detailed information on the
equations were solved by numerical approaches. processes which are carried out inside the ANN model.
Another way of numerical simulation is using the By advancing the neural network models, today
computational fluid dynamics (CFD) approach. another type of neural networks is present which gives
Numerical simulation shows the flow pattern, pressure a formula in addition to the network. In this paper, the
and velocity distribution (Parsaie and Haghiabi, 2014; genetic programing technique is used to predict the
Aydin, 2012; Aydin and Emiroglu, 2013). Recently, by discharge coefficient of side weir.
advancing the artificial intelligence techniques, such as
neural network (ANN) models in water engineering, MATERIALS AND METHODS
predicting the hydraulic phenomena has been Discharge coefficient of side weir as stated in the
- 133 -
Prediction of Side… Abbas Parsaie and Amir Hamzeh Haghiabi
literature is a function of hydraulic and geometric where Fr1 is the Froude number. Equation (2) is a
characteristics. The main parameters which have basic formula for developing experimental studies and
influence on side weir are given in Eq. (1). artificial intelligent techniques on side weir hydraulics.
A summary of the most famous empirical formulae is
C d sw f v 1 , L ,b , h1 , P , , s 0 (1) given in Table (1). As mentioned in the literature,
developing ANN models is based on the data set. So,
By using dimensional analysis techniques, such as for predicting Cd sw by genetic programing techniques,
Buckingham theory, researchers reduce the number about 477 data sets related to Eq. (2) were published in
of experiments. The dimensionless parameters derived credible journals and the range of them is given in
from the dimensional analysis process are given in Eq. Table (2). Some of the resources that were used for
(2). data derivation are given as follows: (Emiroglu et al.,
L L P 2011a; Singh et al., 1994; Borghei et al., 1999; Bagheri
Cd sw f 2 Fr1 , , , (2)
b h1 h1 et al., 2014; Subramanya and Awasthy, 1972).
Table 1. Some empirical formulae to calculate the side weir discharge coefficient
Row Author(s) Equation
0.5
2 Fr12
1 Nandesamoorthy and Thomson (1972) C d 0.432 2
1 2Fr1
0.5
1 Fr12
2 Subramanya and Awasthy (1972) C d 0.864 2
2 Fr1
3 Yu-Tech (1972) C d 0.623 - 0.222Fr1
4 Ranga Raju et al. (1979) C d 0.81 0.6Fr1
0.5
2 Fr12
5 Hager (1987) C d 0.485 2
2 3Fr1
6 Cheong (1991) C d 0.45 0.221Fr1
P
7 Singh et al. (1994) C d 0.33 0.18Fr1 0.49
h1
P
8 Jalili and Borghei (1996) C d 0.71 0.41Fr1 0.22
h1
P L
9 Borghei et al. 1(999) C d 0.7 0.48Fr1 0.3 0.06
1
h h1
10 Emiroglu et al. (2011)
Table 2. Range of collected data related to the side weir discharge coefficient
Data range Fr1 P/h1 L/b L/h1 Cd
Min. 0.09 0.03 0.21 0.19 0.09
Max. 0.84 2.28 3.00 10.71 1.75
Avg. 0.43 0.76 1.13 3.87 0.50
St. dev. 0.18 0.43 0.85 3.06 0.17
- 134 -
Jordan Journal of Civil Engineering, Volume 11, No. 1, 2017
Genetic Programing Overview the formula with most suitable accuracy is achieved.
Genetic programing (GP) technique is a machine Unlike classical regression analysis by which the
learning approach which is used for modeling input- designer defines the structure of the empirical formula,
output complex non-linear systems that are based on GP automatically generates both the structure and the
the data set. Developing GP is based on the genetic parameters of the empirical formula. An individual
algorithm (GA) concept. This means that the concepts multi-gene is comprised of one or more genes and is
which are used in GA are repeated in GP, such as named a GP tree. To improve the performance of
genes, multi-genes, mutation… and so on. GP is also fitness (e.g. to reduce a model’s sum of squared errors
used to build an empirical formula from the input- on a data set), the genes are obtained incrementally.
output data set. It is also often known as symbolic The final formula may be a weighted linear or non-
regression. GP creates the formula that consists of linear combination of all genes. The optimal weights
input variables and several mathematical operators for the genes are automatically obtained by using the
such as (+,−, / and *) and functions such as (ex, x, sin, ordinary least squares to regress the genes against the
cos, tan, lg, sqrt, ln, power). GP carries out this process output data. Figure (2) shows a pseudo-formula
by randomly generating a population of computer obtained by a GP technique. In this formula, y is the
programs (represented by tree structures) and then output, while the inputs are x1, x2 and x3 (Brameier and
mutating and crossing over the best performing trees to Banzhaf, 2007).
create a new population. This process is continued until
Genetic Programing Development obtained in the dimensional analysis section (Eq.2) are
Preparation of a formula based on the genetic used. The coefficient values which appear in the gene
programing technique as similar to other machine process are defined by using least squares operation in
learning techniques, such as all neural network models, Table (2) data set.
is based on the data set. This means that to present a
suitable formula for modeling an event, the effective RESULTS AND DISCUSSION
parameters on the event should be previously defined
and measured. Modeling the side weir discharge The performance of empirical formulae was
coefficient based on the GP technique needs to define assessed by conducting a compression on the measured
and measure the influential parameters. For this data the range of which is given in Table (2) and the
purpose, the dimensionless parameters which are empirical formula results. For this purpose, some error
- 135 -
Prediction of Side… Ab
bbas Parsaie an
nd Amir Ham
mzeh Haghiabi
indices, suchh as correlatioon coefficientt and root meean seelect the paarameters whhich are mo ore effective..
square error,, were used too calculate thhe average errror. Prreparing a forrmula based on PCA anallysis leads too
The results of error indicces’ calculatioon are given in deevelop an opttimal formulaa which inclu udes the mostt
A seen in Taable (3), the Emiroglu et al.
Table (3). As im
mportant param meters. In thiss paper, by giv
ving attentionn
(2011) formuula with a coeefficient correelation of (0.664) to
o Table (1), Froude
F numbeer repeats in all empiricall
and a root mean
m square error of (0.003) is the moost fo
ormulae, whicch means thatt Froude num mber is one off
accurate one among the em mpirical formmulae. Figure (3)
( th
he main influuential parameeters. The PC CA techniquee
shows the reesults of the Emiroglu
E form
mula versus thet was carried outt on the collected data (Tablle 2) to derivee
measured daata. Developm ment of an equuation based on th
he most importtant parameteers which havee influence onn
the genetic programing technique iss based on the t Cd d sw . The resu
ults of PCA arre present in Table (4) andd
researcher’s experience; where
w the recommendationss of Fiigure (4). PC CA results upphold the ex xperiments off
researchers who
w conducteed similar stuudies are usefful. emmpirical reseaarchers who cconsidered Frroude numberr
In addition, mathematical
m approaches, such
s as princippal annd P/h1 as impportant parameeters.
component analysis (PC CA), also hellp investigatoors
- 136 -
Jordan Journ
nal of Civil Eng
ngineering, Vollume 11, No. 1,, 2017
Tablee 4. Results of
o principal co
omponent an
nalysis
Rotation Sums
S of
I
Initial Eigenvaalues Extraction Sums of Squaared Loadings
Componen
nt Squared Loadings
L
Total % of Variance Cumulative % Total % of
o Variance Cumulative
C % Totaal
1 2.000 49.997 49.997 2.000 49.997 49.997 1.94
44
2 1.033 25.821 75.818 1.033 25.821 75.818 1.08
88
3 .692 17.289 93.107
4 .276 6.893 100.000
- 137 -
Prediction of Side… Abbas Parsaie and Amir Hamzeh Haghiabi
3
P L L P L L
C d 0.305* Fr1 3 -10.06 0.306Fr12 Fr1 0.594 (3)
h1 b h1 h1 b b
2
Predicted (training values)
RMS training set error: 0.089775 Variation explained: 72.3993 % Actual (training values)
1.5
Cdsw
0.5
0
0 50 100 150 200 250 300 350 400
Data Number
2
Predicted (test values)
RMS test set error: 0.092235 Variation explained: 75.4518 %
Actual (test values)
1.5
Cdsw
0.5
0
0 10 20 30 40 50 60 70 80 90 100
Data Number
1.5
RMS training set error: 0.089775 Variation explained: 72.3993 %
1
Predicted
0.5
1.5
RMS test set error: 0.092235 Variation explained: 75.4518 %
Predicted
0.5
Figure (6): GP model results versus actual (measured) data during training and testing stages
- 138 -
Jordan Journal of Civil Engineering, Volume 11, No. 1, 2017
- 139 -
Prediction of Side… Abbas Parsaie and Amir Hamzeh Haghiabi
Emiroglu, M., and Kaya, N. (2011). "Discharge coefficient Kisi, O., Emin Emiroglu, M., Bilhan, O., and Guven, A.
for trapezoidal labyrinth side weir in sub-critical flow". (2012). "Prediction of lateral outflow over triangular
Water Resources Management, 25 (3), 1037-1058. labyrinth side weirs under sub-critical conditions using
doi:10.1007/s11269-010-9740-7. soft computing approaches". Expert Systems with
Emiroglu, M., and Kisi, O. (2013). "Prediction of discharge Applications, 39 (3), 3454-3460. doi:http://dx.doi.org/
coefficient for trapezoidal labyrinth side weir using a 10.1016/j.eswa.2011.09.035.
neuro-fuzzy approach". Water Resources Management, Parsaie, A., and Haghiabi, A. (2014). "Predicting the side
27 (5), 1473-1488. doi:10.1007/s11269-012-0249-0. weir discharge coefficient using the optimized neural
Emiroglu, M.E., Agaccioglu, H., and Kaya, N. (2011a). network by genetic algorithm". Scientific Journal of
"Discharging capacity of rectangular side weirs in Pure and Applied Sciences, 3 (3), 103-112.
straight open channels". Flow Measurement and Rahimpour, M., Keshavarz, Z., and Ahmadi, M. (2011).
Instrumentation, 22 (4), 319-330. doi:http://dx.doi.org/ "Flow over trapezoidal side weir". Flow Measurement
10.1016/j.flowmeasinst.2011.04.003. and Instrumentation 22 (6), 507-510. doi:http://dx.
Emiroglu, M.E., Bilhan, O., and Kisi, O. (2011b). "Neural doi.org/10.1016/j.flowmeasinst.2011.08.004.
networks for estimation of discharge capacity of Singh, R., Manivannan, D., and Satyanarayana, T. (1994).
triangular labyrinth side-weir located on a straight "Discharge coefficient of rectangular side weirs".
channel". Expert Systems with Applications, Journal of Irrigation and Drainage Engineering, 120
38 (1), 867-874. doi:http://dx.doi.org/10.1016/j.eswa. (4), 814-819. doi:10.1061/(ASCE)0733-9437
2010.07.058. (1994)120:4(814).
Ettema, R. (2000). "Hydraulic modeling: concepts and Subramanya, K., and Awasthy, S.C. (1972). "Spatially
practice". ASCE. varied flow over side-weirs". Journal of the Hydraulics
Ghodsian, M. (2003). "Super-critical flow over a Division, 98 (1), 1-10.
rectangular side weir". Canadian Journal of Civil Swamee, P., Pathak, S., and Ali, M. (1994a). "Side-weir
Engineering, 30 (3), 596-600. doi:10.1139/l03-004. analysis using elementary discharge coefficient".
Haddadi, H., and Rahimpour, M. (2012). "A discharge Journal of Irrigation and Drainage Engineering, 120
coefficient for a trapezoidal broad-crested side weir in (4), 742-755. doi:10.1061/(ASCE)0733-9437
subcritical flow". Flow Measurement and (1994)120:4(742).
Instrumentation, 26 (0), 63-67. doi:http://dx.doi.org/ Swamee, P., Pathak, S., Mohan, M., Agrawal, S., and Ali,
10.1016/j.flowmeasinst.2012.04.002. M. (1994b). "Sub-critical flow over rectangular side
Hager, W. (1987). "Lateral outflow over side weirs". weir". Journal of Irrigation and Drainage Engineering,
Journal of Hydraulic Engineering, 113 (4), 491-504. 120 (1), 212-217. doi:10.1061/(ASCE)0733-9437
doi:10.1061/(ASCE)0733-9429(1987)113:4(491). (1994)120:1(212).
Jalili, M., and Borghei, S. (1996). "Discussion: discharge Swamee, P.K., Pathak, S.K., Mohan, M., Agrawal, S.K.,
coefficient of rectangular side weirs". Journal of and Ali, M.S. (1994c). "Sub-critical flow over
Irrigation and Drainage Engineering, 122 (2), 132. rectangular side weir". Journal of Irrigation and
Kaya, N., Emiroglu, M.E., and Agaccioglu, H. (2011). Drainage Engineering, 120 (1), 212-217
"Discharge coefficient of a semi-elliptical side weir in Uyumaz, A., and Muslu, Y. (1985). "Flow over side weirs
sub-critical flow". Flow Measurement and in circular channels". Journal of Hydraulic
Instrumentation, 22 (1), 25-32. doi:http://dx.doi.org/ Engineering, 111 (1), 144-160. doi:10.1061/
10.1016/j.flowmeasinst.2010.11.002. (ASCE)0733-9429(1985)111:1(144).
- 140 -
Jordan Journal of Civil Engineering, Volume 11, No. 1, 2017
Uyumaz, A., and Smith, R. (1991). "Design procedure for Vatankhah, A. (2013a). "Water surface profiles along a
flow over side weirs". Journal of Irrigation and rectangular side weir in a u-shaped channel (analytical
Drainage Engineering, 117 (1), 79-90. doi:10.1061/ findings)". Journal of Hydrologic Engineering, 18 (5),
(ASCE)0733-9437(1991)117:1(79). 595-602. doi: 10.1061/ (ASCE) HE. 1943-5584.
Vatankhah, A. (2012). "New solution method for water 0000657.
surface profile along a side weir in a circular channel". Vatankhah, A.R. (2013b). "Water surface profile along a
Journal of Irrigation and Drainage Engineering, 138 side weir in a parabolic channel". Flow Measurement
(10), 948-954. doi:10.1061/(ASCE)IR. 1943-4774. and Instrumentation, 32 (0), 90-95. doi:http://dx.
0000483. doi.org/10.1016/j.flowmeasinst.2013.04.010.
- 141 -