Weirs are one of the most common hydraulic structures used in water engineering projects. In this research, a group method of data handling (GMDH) was developed to estimate the energy dissipation of the flow passing over the labyrinth weirs with triangular and trapezoidal plans. To compare the performance of this model with other types of soft computing models, a multilayer perceptron neural network (MLPNN) was developed. The dimensionless parameters derived from dimensional analysis, including the relative upstream head (ho/P), the number of cycles (Ncy), the Froude number ( Fr), and the magnification ratio (Mr) were used as input variables. The error statistical indicators of the GMDH model in the training phase were R2 = 0.913, RMSE = 0.010, and in the testing phase were R2 = 0.829, RMSE = 0.015. The error statistical indicators of the MLPNN in the training phase were R2 = 0.957, RMSE = 0.007, and in the testing phase were R2 = 0.945, RMSE = 0.009. Examining the structure of the GMDH network shows that ho/P, Ncy, and Mr play more meaningful roles in the development network.

  • Development of GMDH to predict the energy dissipation of the flow passing over the labyrinth weirs.

  • Developing the MLPNN model to predict the energy dissipation of the flow passing over the labyrinth weirs.

  • Definition of most effective parameters on the mechanism of energy dissipation of flow.

  • Comparison of the performance of MLPNN and GMDH models based on the Taylor diagram.

Relative upstream head

Head of flow over the crest

Froude number

Total crest length

Length of one key-cycle

Magnification ratio

Number of cycles

Coefficient of determination

Cd

Discharge coefficient

E

Total flow energy

EDR

Energy dissipation ratio

g

Acceleration due to gravity

GMDH

Group method of data handling

MLPNN

Multilayer perceptron neural network

P

Weir height

RMSE

Root mean square error

V

Flow velocity

Discharge per channel unit width

Density

Weirs are one of the most commonly used hydraulic structures for flow measurement, water level regulation, flow control in water conveyance channels and irrigation and drainage networks, and water desalination and brine treatment applications (Waller & Yitayew 2015; Panagopoulos & Giannika 2022). The weirs should be chosen based on their discharge capacity and their ability to dissipate energy. The discharge capacity of weirs is proportional to the crest length, upstream head, and discharge coefficient (Parsaie & Haghiabi 2019). One way to increase the discharge capacity of weirs based on the crest length is to use nonlinear weirs. Usually, due to the limitation of the width of the waterway, the crest length is increased (increasing the crest length at a fixed width of the waterway) (Carollo Francesco et al. 2012). Recently, various types of labyrinth weirs such as triangular, trapezoidal, diagonal, and parabolic have been proposed. Such weirs are usually made of one or more key cycles. Tullis et al. (2007) conducted several experimental studies on the labyrinth weirs with a trapezoidal plan and crest angles of 6–18 degrees. They derived the stage-discharge curve and proposed a formula for discharge coefficient (Cd) as a function of the upstream head, weir height, crest length, and angle between the key cycles. Kumar et al. (2011) conducted an experimental study on a triangular plan labyrinth weir. They demonstrated that, by decreasing the angle of the weir crest, the length of the interference zone increases, and the Cd decreases significantly. They also presented a formula for calculating the Cd under different vertex angles.

However, weirs create a local disturbance in the flow structure, which causes flow energy dissipation. Estimating this feature helps to calculate the amount of flow energy downstream of the weir, which is necessary for the design of the downstream concrete slab (Haghiabi et al. 2022). The flow energy dissipation mechanism has been investigated in many hydraulic structures such as stepped spillways (Salmasi & Abraham 2023) and ski jump buckets (Daneshfaraz et al. 2021; Mollazadeh Sadeghion et al. 2022). Mohammadzadeh-Habili et al. (2018) investigated the energy dissipation mechanism of the flow regime on labyrinth weirs. They declared that the flow energy dissipation decreases linearly with increasing critical depth. Ghaderi et al. (2020) investigated the discharge coefficient and the flow energy dissipation of the labyrinth weir using the computational fluid dynamics technique using flow-3D software. They stated that the discharge coefficient varies between 0.4 and 0.8 considering the range of relative upstream head between 0.15 and 0.7. The labyrinth weir can dissipate between 0.6 and 0.3 of the upstream energy.

Literature review shows that a few studies have been conducted on the performance of soft computing models to estimate the energy dissipation of flow passing over labyrinth weirs. Therefore, in this research, the soft computing models including the group method of data handling (GMDH) and the artificial neural network (ANN) model are developed to estimate the performance of labyrinth weirs with triangular and trapezoidal plans. Noted that the mentioned soft computing models have already been successfully used in other aspects of hydraulic engineering (Singh et al. 2021), especially the energy dissipation of flow over the other hydraulic structures such as stepped spillways(Parsaie et al. 2018; Parsaie & Haghiabi 2021).

The plan and side view of the labyrinth weirs with triangular and trapezoidal plans are shown in Figure 1. In this figure, the important hydraulic and geometrical parameters involved in the flow energy dissipation mechanism are presented, as well.
Figure 1

Plan and side views of labyrinth weirs with triangular and trapezoidal plans, : width of a key-cycle, : channel width, P: weir height, : depth of flow on the crest, and and are respectively the depth of flow upstream and downstream of the weir (Haghiabi et al. 2022).

Figure 1

Plan and side views of labyrinth weirs with triangular and trapezoidal plans, : width of a key-cycle, : channel width, P: weir height, : depth of flow on the crest, and and are respectively the depth of flow upstream and downstream of the weir (Haghiabi et al. 2022).

Close modal
To calculate the performance of this structure, Bernoulli's equation is used for the upstream (Equation (1)) and downstream (Equation (2)) sections:
(1)
(2)
where q is the unit discharge per channel width. and are the total flow energy upstream and downstream of the weir. The performance of labyrinth weirs in terms of energy dissipation ratio (EDR) is estimated using Equation (3):
(3)
The geometrical and hydraulic parameters involved in energy dissipation are summarized in Equation (4):
(4)
where is the upstream flow velocity is the length of one key-cycle, and is the total crest length. Using Buckingham's theorem as a dimensional analysis technique and taking into account and P as repeated parameters, the dimensionless parameters are obtained as Equations (5) and (6). Therefore, Equation (6) can be rewritten as Equation (7):
(5)
(6)

In Equation (6), , , and , respectively, indicate the ratio of flow head to weir height (relative upstream head), number of cycles, and magnification ratio.

Group method of data handling

The GMDH is an inductive approach based on the perceptron theory, which has been developed to identify and model complex systems (Ivakhnenko 1968). Unlike the perceptron-type structure, this model uses useful and non-useful information classification and requires less observational data; consequently, the training time is reduced. Figure 2 shows a schematic of the GMDH network. The governing function of each neuron in this model is a polynomial of degreed (Equation (7)):
(7)
Figure 2

The structure of the GMDH model developed to estimate EDR.

Figure 2

The structure of the GMDH model developed to estimate EDR.

Close modal

In this equation, and are inputs and y is the output. The external criterion for determining the network structure is defined using root mean square error (RMSE).

The six coefficients of the governing function of each neuron in the network are derived using the least squares approach. These steps (Assigning pairs of input variables to each neuron and deriving their coefficients) are repeated for all the neurons of the first layer and also for all the neurons of the next layers. After obtaining the coefficients from the training data, the accuracy of the neurons is calculated using the RMSE index (RMSE is calculated using the GMDH outputs and the observed data). Only the neurons with higher accuracy than the threshold of error-index value are selected to contribute to the network making (Parsaie et al. 2021; Yonesi et al. 2022).

Multilayer perceptron neural network

A neural network can be proposed as an alternative in many simulations that lead to solving a system of complex equations to find the relationship between factors affecting the system. The multilayer perceptron neural network (MLPNN) is the most widely used soft computing model in hydraulic engineering. The structure of the MLPNN consists of an input layer, one or more hidden layer(s), and an output layer. The inputs of the MLPNN are multiplied by coefficients (weight) and then added with a fixed value (bias). Then the transfer function is acted on its result. The design of the multilayer neural network model includes several steps, which include: defining the number of model layers including the input layer, hidden layer(s), an output layer, the number of neurons in each layer, defining the active transfer function, and finally choosing the training method. The purpose of MLPNN training is to determine the values of weights and constants that are multiplied and added to each input (Nou et al. 2022; Shen et al. 2022). An example of an MLPNN model is shown in Figure 3.
Figure 3

Schematic view of the structure of an MLPNN.

Figure 3

Schematic view of the structure of an MLPNN.

Close modal

Approaches of modeling and data

Soft computing models are data-driven models. This means that to use a soft computing model, information and data related to the under-study phenomenon be collected. In this regard, the results of Mohammadzadeh-Habili et al. (2018) were used to develop (calibration: training and validation: testing) both applied soft computing models. The collected data was divided into two categories: training and testing. According to the nature of the problem, data can be randomly assigned to each category. Usually, 80% of the data is allocated to training and the remainder (20%) to testing. The range of collected data in the training and testing phases of the model is presented in Table 1.

Table 1

Statistical characteristics of data allocated for the training phase

ParametersMinMaxAverageSt. Dev.
Training 
 0.012 0.063 0.034 0.015 
 1.000 2.000 1.488 0.503 
 1.000 4.570 2.899 1.249 
Fr 0.490 2.800 0.783 0.526 
 0.670 0.862 0.748 0.032 
Testing 
 0.013 0.062 0.037 0.016 
 1.000 2.000 1.333 0.483 
 1.000 4.570 2.849 1.102 
Fr 0.490 2.620 0.806 0.545 
 0.701 0.820 0.754 0.031 
ParametersMinMaxAverageSt. Dev.
Training 
 0.012 0.063 0.034 0.015 
 1.000 2.000 1.488 0.503 
 1.000 4.570 2.899 1.249 
Fr 0.490 2.800 0.783 0.526 
 0.670 0.862 0.748 0.032 
Testing 
 0.013 0.062 0.037 0.016 
 1.000 2.000 1.333 0.483 
 1.000 4.570 2.849 1.102 
Fr 0.490 2.620 0.806 0.545 
 0.701 0.820 0.754 0.031 

In this section, the results of modeling and estimating the energy dissipation of the flow passing over the labyrinth weirs with triangular and trapezoidal plans using GMDH and MLPNN are presented. As mentioned, soft computing models are data-driven, so in the first step, the statistical characteristics of the data collected from the desired phenomenon and the correlation between the input and output variables should be determined. Statistical characteristics are given in Table 1 and the correlation coefficient is given in Table 2.

Table 2

The correlation coefficient between involved parameters

NcyLcy/WcyFrEDR
     
Ncy 0.109    
Lcy/Wcy 0.115 0.886   
Fr 0.010 −0.290 −0.489  
EDR −0.325 −0.155 −0.103 −0.417 
NcyLcy/WcyFrEDR
     
Ncy 0.109    
Lcy/Wcy 0.115 0.886   
Fr 0.010 −0.290 −0.489  
EDR −0.325 −0.155 −0.103 −0.417 

As it is clear from Table 2, the correlation coefficients of EDR (as the output variable) and independent dimensionless parameters including , , , and Fr (as input parameters) is negative. In other words, the relationship between EDR and other parameters is inverse and as these parameters increase, the EDR decreases.

As mentioned in the review section of the GMDH model, only two variables can be entered in each neuron, and considering that the number of input variables is four, therefore, a maximum of six neurons are prepared in the first hidden layer. After evaluating the performance of these six neurons, four of them had an appropriate accuracy and were chosen for forming the next layer. In the second layer, from the four neurons of the previous layer, a maximum of six neurons can be prepared, but due to the stricter development criteria in the second layer, only two of them were qualified. In the output layer, from these two neurons of the previously hidden layer (second hidden layer), one neuron was prepared. The network of the GMDH model to estimate energy dissipation is shown in Figure 2. As shown in this figure, the GMDH network has two hidden layers, where there are four and two neurons in the inner hidden layers. The performances of the GMDH model in different phases of training and testing are shown in Figures 4 and 5. The statistical indicators of the GMDH model in the training phase are R2 = 0.913, RMSE = 0.010, and in the test phase R2 = 0.829, RMSE = 0.015. Examining the structure of GMDH shows that the , , and play the greatest role in the development and formation of the GMDH network.
Figure 4

The performance of the developed models in the training phase.

Figure 4

The performance of the developed models in the training phase.

Close modal
Figure 5

The performance of the developed models in the test phase.

Figure 5

The performance of the developed models in the test phase.

Close modal

To compare the performance of the GMDH model with other soft computing models, the MLPNN model was chosen and developed in this regard. To establish the logical conditions of comparison, the MLPNN model with two hidden layers was considered; so that there are four and two neurons in the first and second hidden layers, respectively.

The structure of the MLPNN model is shown in Figure 3. In the development of the MLPNN, the sigmoid tangent function was used as the activation function for the neurons. The performances of the MLPNN model in the training and testing phases are shown in Figures 4 and 5. The statistical indices of the MLPNN in the training phase are R2 = 0.957, RMSE = 0.007 and in the testing phase, they are R2 = 0.945 and RMSE = 0.009. Comparing the performance of these two models shows that, in the training phase, the performance of the models is almost close together. However, in the testing phase, the accuracy of the GMDH model is slightly reduced. Of course, the GMDH structure has a lower computational cost compared to the MLPNN.

To further investigate the performance of both models and also to make a more accurate comparison between the MLPNN and GMDH models, Taylor's diagram was drawn for both training (Figure 6) and testing (Figure 7) stages. In this figure, observed data, and MLPNN and GMDH models are presented. According to Figure 6, the results of the MLPNN model are closer to the observational data, and the results of the GMDH model are farther away from the observational data even than the MLPNN model. It should be mentioned that Figure 7 also presents the same content.
Figure 6

Taylor diagram of MLPNN and GMDH models in the training stage.

Figure 6

Taylor diagram of MLPNN and GMDH models in the training stage.

Close modal
Figure 7

Taylor diagram of MLPNN and GMDH models in the testing stage.

Figure 7

Taylor diagram of MLPNN and GMDH models in the testing stage.

Close modal

Comparing the performance of soft computing models used in this study with models used in previous studies

Mahdavi-Meymand & Sulisz (2022) developed a support vector machine (SVM) to predict the energy dissipation downstream of labyrinth weirs. To train the SVM model, they applied three modern optimization techniques including multi-tracker optimization algorithm (MTOA), particle swarm optimization (PSO), and differential evolution (DE) algorithms. They declared that the average R2 of SVM models is 0.98 which is close to the MLPNN model and is more accurate than the GMDH model.

Dutta et al. (2020) prepared three statistical and machine learning models including multiple linear regression (MLR), SVM, and ANN to predict the performance of triangular plan labyrinth weirs regarding energy dissipation (). They stated that the best accuracy is related to the SVM model such as away its average value of R2 is 0.96 which like the results of Mahdavi-Meymand & Sulisz (2022) is close to the MLPNN model and is more accurate than the GMDH model.

The performance of a labyrinth weir with triangular and trapezoidal plans in the energy dissipating of the passing current was modeled and estimated using both a GMDH and an MLPNN. Our results showed that the GMDH model with two hidden layers, in which there are four and two neurons in the first and second hidden layers respectively, can predict the flow energy dissipation of such weirs in the validation phase with acceptable statistical indicators of R2 = 0.829, RMSE = 0.015. The MLPNN model also like the GMDH model has two hidden layers where the first and the second layers contain four and two neurons, respectively. Examining the performance of the MLPNN model shows that this model, with the sigmoid tangent function as the activation function of the neurons, can predict the flow energy dissipation with the statistical indices R2 = 0.945 and RMSE = 0.009. In general, it was found that both models have an acceptable accuracy in estimating the flow energy dissipation, however, the GMDH model is slightly less accurate.

The funding of this research was provided by the Research Council of Shahid Chamran University of Ahvaz (Grant number: SCU.WH1401.72091).

All relevant data are available from an online repository or repositories. Available from: https://link.springer.com/article/10.1007/s40996-017-0088-6.

The authors declare there is no conflict.

Carollo Francesco
G.
,
Ferro
V.
&
Pampalone
V.
2012
Experimental investigation of the outflow process over a triangular labyrinth-weir
.
Journal of Irrigation and Drainage Engineering
138
(
1
),
73
79
.
Daneshfaraz
R.
,
Majedi Asl
M.
,
Bazyar
A.
,
Abraham
J.
&
Norouzi
R.
2021
The laboratory study of energy dissipation in inclined drops equipped with a screen
.
Journal of Applied Water Engineering and Research
9
(
3
),
184
193
.
Ghaderi
A.
,
Daneshfaraz
R.
,
Dasineh
M.
&
Di Francesco
S.
2020
Energy dissipation and hydraulics of flow over trapezoidal–triangular labyrinth weirs
.
Water
12
(
7
),
1992
.
Haghiabi
A. H.
,
Ghaleh Nou
M. R.
&
Parsaie
A.
2022
The energy dissipation of flow over the labyrinth weirs
.
Alexandria Engineering Journal
61
(
5
),
3729
3733
.
Ivakhnenko
A. G.
1968
The group method of data handling, a rival of the method of stochastic approximation
.
Soviet Automatic Control
13
(
3
),
43
55
.
Kumar
S.
,
Ahmad
Z.
&
Mansoor
T.
2011
A new approach to improve the discharging capacity of sharp-crested triangular plan form weirs
.
Flow Measurement and Instrumentation
22
(
3
),
175
180
.
Mohammadzadeh-Habili
J.
,
Heidarpour
M.
&
Samiee
S.
2018
Study of energy dissipation and downstream flow regime of labyrinth weirs
.
Iranian Journal of Science and Technology, Transactions of Civil Engineering
42
(
2
),
111
119
.
Mollazadeh Sadeghion
A.
,
Azizyan
G.
&
Beirami
M. K.
2022
Hydraulic investigation of converged ski-jump bucket in presence of dividing wall
.
Iranian Journal of Science and Technology, Transactions of Civil Engineering
46
(
3
),
2543
2551
.
Nou
M. R. G.
,
Foroudi
A.
,
Latif
S. D.
&
Parsaie
A.
2022
Prognostication of scour around twin and three piers using efficient outlier robust extreme learning machine
.
Environmental Science and Pollution Research
29
(
49
),
74526
74539
.
Parsaie
A.
&
Haghiabi
A. H.
2019
The hydraulic investigation of circular crested stepped spillway
.
Flow Measurement and Instrumentation
70
,
101624
.
Parsaie
A.
&
Haghiabi
A.
2021
Hydraulic investigation of finite crested stepped spillways
.
Water Supply
21
(
5
),
2437
2443
.
Parsaie
A.
,
Haghiabi
A. H.
,
Saneie
M.
&
Torabi
H.
2018
Prediction of energy dissipation of flow over stepped spillways using data-driven models
.
Iranian Journal of Science and Technology, Transactions of Civil Engineering
42
(
1
),
39
53
.
Parsaie
A.
,
Haghiabi
A. H.
,
Latif
S. D.
&
Tripathi
R. P.
2021
Predictive modelling of piezometric head and seepage discharge in earth dam using soft computational models
.
Environmental Science and Pollution Research
28
(
43
),
60842
60856
.
Salmasi
F.
&
Abraham
J.
2023
Hydraulic characteristics of flow over stepped and chute spillways (case study: Zirdan Dam)
.
Water Supply
23
(
2
),
851
866
.
Shen
G.
,
Li
S.
,
Parsaie
A.
,
Li
G.
,
Cao
D.
&
Pandey
P.
2022
Prediction and parameter quantitative analysis of side orifice discharge coefficient based on machine learning
.
Water Supply
22
(
12
),
8880
8892
.
Singh
B.
,
Sihag
P.
,
Parsaie
A.
&
Angelaki
A.
2021
Comparative analysis of artificial intelligence techniques for the prediction of infiltration process
.
Geology, Ecology, and Landscapes
5
(
2
),
109
118
.
Tullis
B. P.
,
Young
J. C.
&
Chandler
M. A.
2007
Head-discharge relationships for submerged labyrinth weirs
.
Journal of Hydraulic Engineering
133
(
3
),
248
254
.
Waller
P.
&
Yitayew
M.
2015
Irrigation and Drainage Engineering
.
Springer International Publishing
,
Berlin
.
Yonesi
H. A.
,
Parsaie
A.
,
Arshia
A.
&
Shamsi
Z.
2022
Discharge modeling in compound channels with non-prismatic floodplains using GMDH and MARS models
.
Water Supply
22
(
4
),
4400
4421
.
This is an Open Access article distributed under the terms of the Creative Commons Attribution Licence (CC BY 4.0), which permits copying, adaptation and redistribution, provided the original work is properly cited (http://creativecommons.org/licenses/by/4.0/).