Energy dissipation across the weir and dam structures is a vital economic and technical solution for designing the downstream morphology of any hydraulic system. Accurately estimating the energy over any hydraulic system using traditional empirical formulas is tedious and challenging. Consequently, employing new and precise techniques still in high demand is crucial. In this study, the authors developed an empirical model for estimating the residual energy downstream of the type-A piano key weir (PKW) using gene expression programming (GEP) by considering six non-dimensional parameters: headwater ratio, magnification ratio, inlet to outlet width ratio, inlet to outlet key bottom slopes, inlet to outlet overhang portions and the number of cycles. The performance of the proposed models has been compared to empirical equations using the statistical factors coefficient of determination (R2), concordance coefficient (CC), and root mean square error (RMSE). The computed relative residual energy values using the proposed models are within ±10% of the observed ones. The proposed GEP model predicted the relative residual energy satisfactorily, with coefficients of determination of R2 = 0.978 for training, 0.980 for testing and root mean square errors (RMSE) of 0.032 and 0.029 for the training and testing datasets, respectively.

  • This study presents an efficient method for predicting residual energy downstream of the type-A PKW that has yet to be published.

  • The experimental investigation was carried out to assess the energy dissipation across the type-A PKW.

  • GEP technique is used for estimating relative residual energy downstream of the PKW.

  • The performance of the proposed models has been compared to empirical equations using statistical factors.

B

Length of side weir ()

Bb

Base length

Bi

Length of overhang portions at the inlet side

Bo

Length of overhang portions at the outlet side

CC

Coefficient of correlation

H

Specific energy at section ‘i’

Hr

Relative residual energy

HL

Relative energy dissipation

g

Acceleration of gravity

Ht

Total energy head

yt

Piezometric head

i

Represents the section

L

Total developed crest length

ME

Mean percentage error

MAE

Mean absolute error

MAPE

Mean absolute percentage error

N

Number of cycles

P

Weir height

Q

Discharge over the PKW

R2

Coefficient of determination

RSME

Root mean square error

Si

Inlet key slope

So

Outlet key slope

Vt

Mean flow velocity

Vt2/2 g

Approach velocity head

W

Channel width/Width of PKW

Wi

Inlet key width

Wo

Outlet key width

Efficient computation of the energy dissipation over the hydraulic structures helps in designing the downstream dissipative systems and also helps in reducing downstream hazards during the flood season. Flooding is the most common natural disaster globally, and it has been increasing at an alarming rate over the last two decades. Extreme flooding is expected to become more common due to climate change (Chanson 2021). Flood control generally ensures that floods pass through and are released without causing damage to structural frames or their surroundings (Chanson 1994). The proper estimation of energy dissipation over the hydraulic structures can minimize the downstream expenses. Protection is an essential aspect of dam construction and exploration because an accident can often have significant consequences, to varying degrees, depending on the amount of water contained (Pinto 2017). During a flood or extreme hydrologic conditions, overtopping conditions may occur due to undersized spillways, culminating in dam overtopping. Therefore, spillways or weir structures must be designed to efficiently spill large amounts of water while maintaining high structural performance (Garg 2010). Consequently, increasing these structures’ flow release capability is critical for improving their protection.

Many researchers have shown their interest in the investigation of hydraulic jumps, including Rajaratnam (1990) and Hager et al. (1990), who expanded their research to include a jump with a control sill (Hager & Li 1992). Novak et al. (2010) examined the hydraulics of the jump and its implications for the submerged jump stilling basin and proposed that the morphology of the river bed usually determines the shape of the stilling basin. As a result, it is critical to understand the excavation required for its construction and operational purposes. It would be necessary to understand better the energy dissipation phenomenon downstream of the hydraulic structures to support the preceding statement. One of the most common solutions for increasing the spillway's discharging capacity is the installation of a labyrinth-style weir. Indeed, this form of weir will increase discharge while maintaining the same length as a traditional linear weir (Anderson & Tullis 2012; Leite Ribeiro et al. 2012). Energy dissipation at the base of the piano key weir (PKW) is an important phenomenon to consider when designing dissipative structures; special care should be taken to avoid undesirable effects such as scouring and cavitation (Silvestri et al. 2013a, 2013b).

Ho Ta Khanh et al. (2011a) presented the first experimental study with a stepped spillway, while a survey over the stilling basins has been examined by Troung Chi et al. (2006) and Pfister et al. (2017). Moreover, the general project-specific research and special studies on the energy dissipation of labyrinth and PKWs were investigated by Leite Ribeiro et al. (2007, 2011); Bieri et al. (2011); Ho Ta Khanh et al. (2011b); and Erpicum et al. (2013). In addition, Silvestri et al. (2013b) explored the energy dissipation over stepped chutes with a PKW crest and found that the low residual energy at the spillway toe increases with discharge and spillway length. The effects of the slope of the PKW on energy dissipation were examined by Al-Shukur & Al-Khafaji (2018). They concluded that the amount of energy dissipated decreases as the slope decreases. Recently, Eslinger & Crookston (2020) have conducted an experimental study to clarify the energy dissipation analysis at the base of type-A PKWs. In addition, Singh & Kumar (2022a, 2022b) presented the experimental investigation and the computational technique based on gene expression programming (GEP) to estimate the residual energy at the base of type-B PKW, respectively. They observed that the PKW's energy dissipation is not linear and is greater at a low head. Zounemat-Kermani & Mahdavi-Meymand (2019) used artificial intelligence data-driven models (adaptive network-based fuzzy inference system, ANFIS & multiple-layer perceptron neural network, MLPNN) embedded with several meta-heuristic algorithms (GA, PSO, FA & MFO) to simulate the passing flow over PKW, and compared the results. General results indicated that the ANFISs and MLPNNs could simulate the discharge coefficient of the PKW more accurately than empirical relations.

Many researchers have applied the GEP in the various fields of hydraulics to produce accurate estimates of the different hydraulics characteristics (Azamathulla et al. 2013, 2018; Karbasi & Azamathulla 2016). Karbasi & Azamathulla (2016) used GEP to predict the characteristics of a hydraulic jump over a rough bed. They compared it with the standard artificial intelligence (artificial neural network, ANN and support vector regression, SVR) techniques. They found that the artificial intelligence techniques indicated that the performance of these models is slightly better than the GEP model, but the application of the GEP model due to derivation of explicit equations is easier for practical purposes. Further, Azamathulla et al. (2018) used the GEP to predict the atmospheric temperature in Tabuk, Saudi Arabia. Abhash & Pandey (2020) and Singh & Kumar (2021) summarized the geometrical and hydraulic evaluation of PKWs over the last decade. Yazdi et al. (2021) investigated the effects of weir geometry on scouring development downstream of the PKW. According to them, the geometry of the weir and the discharge rate impact the scour characteristics. Zhao et al. (2020) discovered that the saltation height and length increase if the particle shape is not spherical. Moreover, Kumar et al. (2021) investigated sediment passage over type-A PKWs and observed that sediment passage is at a lesser rate as it goes through the intake key and speeds up at the key entrance. Plunging and impinging jets originating from the inlet and outflow keys were credited with forming the ridge and dip (Kumar & Ahmad 2022).

Studies have shown that local scour at the toe of PKWs placed in canals and rivers is also related to the energy dissipation of PKWs. Jüstrich et al. (2016) investigated the formation of scour holes and ridges caused by PKWs without scouring protection, concluding that the overall process is jet-induced scour. Pfister et al. (2017) conducted an experimental study to investigate the toe dug at the PKW and noticed that if the foundation on rock is not possible, then toe-scour occurring during flood discharges is relevant to weir stability. Shivashankar et al. (2022) describe the different methodologies for estimating the velocity phenomenon. This study proposed a hybrid generalized reduced gradient-genetic algorithm (hybrid GRG-GA) to assess the fall velocity. The hydraulic performance of the trapezoidal labyrinth-shaped stepped spillways was investigated by Ghaderi et al. (2020). The scour depth and volume of sediment removed at the toe of PKWs are determined primarily by sediment properties, discharge, residual energy, and tailwater depth. In addition, several experimental studies and machine learning algorithms/techniques were used in the prediction of the scour depth around submerged weirs, spur dikes, and a circular pier (Rashki Ghaleh Nou et al. 2019; Pandey et al. 2020a, 2020b; Birbal et al. 2021; Ghasempour et al. 2021; Pandey & Md Azamathulla 2021; Emadi et al. 2022; Singh et al. 2022). Pandey et al. (2021) suggested some critical points to Mohammad Najafzadeh and Ali Reza Kargar for their article on ‘gene-expression programming, evolutionary polynomial regression, and model tree to evaluate local scour depth at culvert outlets.’ Despite numerous significant experimental and computational investigations on energy dissipation across the labyrinth and PKWs, designers lack the knowledge to predict using traditional empirical models. As a result, new and precise approaches are still in high demand.

This article aims to create new equations based on gene expression programming to determine the relative residual energy downstream of the type-A PKW, which will aid hydraulic structure designers and engineers. During training, the measured flow and geometrical parameters are entered as input parameters into GEP, and the target parameter is the residual energy downstream of the PKW. The proposed GEP-based approach is compared to the conventional ones.

Experimental setup

The tests were carried out under free-flow circumstances at the Fluid Mechanics and Hydraulics Research Laboratory at Delhi Technological University, Delhi, India, using a tilting steel flume of dimensions 10 m long and 0.516 m wide, 0.6 m deep. The width of the test portion was reduced to 0.30 m during the experiment to increase the water head over the weir to eliminate scaling effects. A 15 kW pump attached to a series of 4-inch supply pipes provided water to the channel, which was controlled by a flow-regulating valve that predicted discharges of up to 50 L/s and calibrated using the flume supply line and an orifice meter (0.25% uncertainty). A 4–20 mA electromagnetic flowmeter (uncertainty ±0.2%) was used to measure the discharge (see Figure 1). In order to regulate the water elevations in various sections, the flume was equipped with a 4–20 mA ultrasonic level sensor (± 0.2% uncertainty) instrumentation carriage and a pointer gauge of least count ±0.1 mm. The PKW's head was measured at a distance of 2P upstream and 8P downstream from the lateral centerline of the weirs after the water surface had been left in steady-state for at least 3–5 minutes, as shown in Figure 1(b). The mean approach flow velocity Vt was calculated as the average velocity measured at the same cross-section at 0.25, 0.5, and 0.75W across the width W of the flume each for one-minute records using a Sontek ADV (acoustic Doppler velocimeter). The ADV has proven highly dependable in recording turbulence characteristics in an open channel stream. The results of the velocity analysis revealed agreement between these average cross-sectional velocities and mean approach velocities (by ADV), resulting in a difference in Ht of less than 5% for the Q ranges. The details of the constructed models are presented in Table 1.
Table 1

Range of data collected in the present study [type-A PKWs]

Model No.Range of Q (m3/s)Range of Ht (m) P (m) B (m)Bi (m)Bo (m)Range of Range of N (No. of cycles)No. of runs
PKW-1 0.005–0.050 0.0170–0.165 1.0 0.20 0.28 0.093 0.093 0.8413–0.153 0.158–0.8419 20 
PKW-2 0.005–0.050 0.0168–0.167 1.1 0.20 0.28 0.093 0.093 0.8310–0.1460 0.1682–0.8504 20 
PKW-3 0.005–0.050 0.0169–0.164 1.2 0.20 0.28 0.093 0.093 0.8180–0.1531 0.189–0.853 20 
PKW-4 0.005–0.050 0.0168–0.154 1.3 0.20 0.28 0.093 0.093 0.8012–0.1601 0.198–0.843 20 
PKW-5 0.005–0.050 0.0171–0.151 1.4 0.20 0.28 0.093 0.093 0.7931–0.1476 0.206–0.852 20 
PKW-6 0.005–0.050 0.0168–0.160 1.5 0.20 0.28 0.093 0.093 0.7841–0.1301 0.215–0.861 20 
PKW-7 0.005–0.050 0.0171–0.147 1.28 0.15 0.343 0.115 0.115 0.8110–0.1471 0.1889–0.8531 20 
PKW-8 0.005–0.050 0.0169–0.145 1.28 0.15 0.259 0.086 0.086 0.833–0.136 0.167–0.8642 20 
PKW-9 0.005–0.050 0.0172–0.146 1.28 0.15 0.208 0.069 0.069 0.853–0.1501 0.147–0.8498 20 
PKW-10 0.005–0.050 0.0172–0.145 1.28 0.15 0.427 0.142 0.142 0.8001–0.1302 0.199–0.869 20 
PKW-11 0.005–0.050 0.0168–0.141 1.28 0.15 0.322 0.107 0.107 0.8215–0.1492 0.179–0.8511 20 
PKW-12 0.005–0.050 0.0181–0.148 1.28 0.15 0.259 0.086 0.086 0.8439–0.1538 0.1574–0.8461 20 
Model No.Range of Q (m3/s)Range of Ht (m) P (m) B (m)Bi (m)Bo (m)Range of Range of N (No. of cycles)No. of runs
PKW-1 0.005–0.050 0.0170–0.165 1.0 0.20 0.28 0.093 0.093 0.8413–0.153 0.158–0.8419 20 
PKW-2 0.005–0.050 0.0168–0.167 1.1 0.20 0.28 0.093 0.093 0.8310–0.1460 0.1682–0.8504 20 
PKW-3 0.005–0.050 0.0169–0.164 1.2 0.20 0.28 0.093 0.093 0.8180–0.1531 0.189–0.853 20 
PKW-4 0.005–0.050 0.0168–0.154 1.3 0.20 0.28 0.093 0.093 0.8012–0.1601 0.198–0.843 20 
PKW-5 0.005–0.050 0.0171–0.151 1.4 0.20 0.28 0.093 0.093 0.7931–0.1476 0.206–0.852 20 
PKW-6 0.005–0.050 0.0168–0.160 1.5 0.20 0.28 0.093 0.093 0.7841–0.1301 0.215–0.861 20 
PKW-7 0.005–0.050 0.0171–0.147 1.28 0.15 0.343 0.115 0.115 0.8110–0.1471 0.1889–0.8531 20 
PKW-8 0.005–0.050 0.0169–0.145 1.28 0.15 0.259 0.086 0.086 0.833–0.136 0.167–0.8642 20 
PKW-9 0.005–0.050 0.0172–0.146 1.28 0.15 0.208 0.069 0.069 0.853–0.1501 0.147–0.8498 20 
PKW-10 0.005–0.050 0.0172–0.145 1.28 0.15 0.427 0.142 0.142 0.8001–0.1302 0.199–0.869 20 
PKW-11 0.005–0.050 0.0168–0.141 1.28 0.15 0.322 0.107 0.107 0.8215–0.1492 0.179–0.8511 20 
PKW-12 0.005–0.050 0.0181–0.148 1.28 0.15 0.259 0.086 0.086 0.8439–0.1538 0.1574–0.8461 20 
Figure 1

(a) Schematic plan view of the experimental setup. (b) Schematic plot for specific energy measurement.

Figure 1

(a) Schematic plan view of the experimental setup. (b) Schematic plot for specific energy measurement.

Close modal

This research aims to develop a prediction equation for the relative residual energy downstream of a type-A PKW in rectangular horizontal channels under free-flow conditions. To this end, twelve different type-A PKW models were tested and assessed. The models’ configurations are as follows: magnification ratio L/W =5–6, where L is the total developed crest length, W is the width of the weir or channel, the height of the weir P varies from 0.15 to 0.20 m, relative width ratio Wi/Wo (1.0 Wi/Wo 1.5) where, Wi and Wo are the inlet and outlet key widths, respectively, and overhang portions (Bi=Bo) are alike for all models, where Bi and Bo are the inlet-outlet overhang portions, respectively (see Table 1). The discharges range is 0.005 m3/s Q 0.05 m3/s, head to weir ratio 0.085 Ht/P 0.85 for 0.20 m tall models and 0.11 Ht/P 0.88 for 0.15 m tall models, and the total head over crest is 0.0168 m Ht 0.167 m, other dimensionless ratios are 0.43 (Bi/P=Bo/P) ≤0.95. A total of 240 tests have been conducted over the twelve different types of PKW, with 20 tests for each model.

Methodology

In this study, water head over the weir was measured under free-flow conditions, and the upstream and downstream energy across the PKW was calculated as follows:
where H represents the specific energy, P represents the height of the weir in m (for d/s P= 0 m), y is the head over the weir, and V is the mean velocity at section i, respectively. The g represents the gravitational acceleration, i represents the section (i.e., i = 1, 2…,) as shown in Figure 1(b)). H1 and H2 were then utilized to determine relative energy dissipation and relative residual energy (Hr=H2/H1) in the following way:
(2)
and,
(3)
where ΔH/H1 denotes total relative energy dissipation or energy dissipation ratio, and Hr (=H2/H1) denotes the PKW's downstream residual energy. The energy dissipation over the PKW depends on various hydraulic and geometrical parameters such as magnification ratio (L/W), head to weir height ratio (Ht/P), relative width ratio (Wi/Wo), inlet to outlet key slopes (Si/So), number of cyclic variations (N), and overhang portions (Bi, Bo). The relative length of the overhangs (Bi/Bo) ratio and relative key slopes (Si/So) ratio were assumed to be one for all models in the current study.
The energy dissipation over the PKWs depends on different geometrical and hydraulic parameters. In the case of the present study, the following geometrical and hydraulic parameters were taken into account for calculating the residual energy downstream of the PKW.
(4)
In which ρ is the density of flowing fluid, g is the acceleration of gravity, Ht is the total upstream hydraulic head (ht + Vt2/2 g) over the PKWs, and Vt is the average velocity of flowing fluid. L = total developed crest length; P = height of PKW, W = total width of PKW; Wi and Wo = widths of inlet and outlet keys sections, respectively, and Si and So represent the inlet and outlet key slopes variation, respectively. Bi and Bo are the inlet-outlet overhang portions, B is the total length of the weir in the flow direction, R = height of parapet wall, and N = is the number of cycles. Six non-dimensional factors were used to create the GEP model: headwater ratio, magnification ratio, relative width ratio, inlet-outlet key slope ratio, relative overhang ratio, and the number of cyclic variations. The required dimensionless equation can be written as (using the Buckingham theorem):
(5)

The above relationship describes the relative residual energy ratio as a function of geometric and hydraulic factors. The ranges of various parameters and data collected in the present study are summarized in Table 1.

An overview and application of GEP

Gene expression programming (GEP) is the learning algorithm behind GeneXproTools. It learns explicitly about relationships between variables in data sets and then builds models to explain these relationships. Gene expression programming uses character linear chromosomes, made up of genes structurally organized in a head and a tail, first encoded by Ferreira (2001a). In GEP, chromosomes of various sizes and shapes can code in a simple graph (Ferreira 2001a, 2001b), and, like other evolutionary methods, GEP begins by randomizing early population chromosomes. It combines elements of genetic programming and genetic algorithms. The chromosomes function as a genome and are subject to mutation, transposition, root transposition, gene transposition, gene recombination, and one- and two-point recombination. The chromosomes encode the expression trees that are the aims of selection. In the GEP model, various fitness functions such as mean squared error (MSE), root mean squared error (RMSE), relative standard error (RSE), and root relative squared error (RRSE) can be used (Ferreira 2001a). The most advantageous chromosomes are likely to be passed down to future generations. Genetic operators perform the same acts with minor variations following selecting the best chromosomes.

The first step in choosing a GEP model is to select a fitness function. As a result, this study employs the RMSE function. The next step is to select the set of terminals and functions used to construct the chromosomes. The modeling process adopted in this study designates the relative residual energy (H2/H1) as the target value and the six independent parameters (Ht/P, L/W, Wi/Wo, Si/So, Bi/Bo, and N) as input variables which are discussed in Equation (5). The basic operators (+, −, ×, ∕, ln, x2, ex, 1/x, , Avg. of 2) were used to develop the GEP model.

The functions were chosen based on their coherence to the quiddity of the problem in order to achieve an uncomplicated and sensible GEP model. The general sampling strategy included selecting 30 chromosomes, three genes, and eight different head sizes. Table 1 shows that 240 data points were used in modeling and distributed randomly for the training and testing data phases. Approximately 80% of the data is used for training, while the remaining 20% is used to test the current project. The GEP's training and testing data were chosen randomly from the original dataset.

Table 2

Functional set and operational parameters used in the GEP model

S. No.Description of parameter (1)Setting of parameter (2)
1. Function set +, −, ×, ∕, ln, x2, ex, 1/x, , Avg. of 2 
2. No. of chromosomes 30 
3. Head size 
4. No. of genes 
5. Gene size 26 
6. Linking function Addition 
7. Fitness function RMSE 
8. Program size 41 
9. Literals 14 
10. Number of generations 1,15,310 
11. Constants per gene 10 
12. Data type Floating-point 
13. Mutation 0.00138 
14. Inversion 0.00546 
15. Gene recombination rate 0.00277 
16. One-point recombination rate 0.00277 
17. Two-point recombination rate 0.00277 
18. Gene transposition rate 0.00277 
19. Insertion sequence (IS) transposition rate 0.00546 
20. Root insertion sequence (RIS) transposition rate 0.00546 
S. No.Description of parameter (1)Setting of parameter (2)
1. Function set +, −, ×, ∕, ln, x2, ex, 1/x, , Avg. of 2 
2. No. of chromosomes 30 
3. Head size 
4. No. of genes 
5. Gene size 26 
6. Linking function Addition 
7. Fitness function RMSE 
8. Program size 41 
9. Literals 14 
10. Number of generations 1,15,310 
11. Constants per gene 10 
12. Data type Floating-point 
13. Mutation 0.00138 
14. Inversion 0.00546 
15. Gene recombination rate 0.00277 
16. One-point recombination rate 0.00277 
17. Two-point recombination rate 0.00277 
18. Gene transposition rate 0.00277 
19. Insertion sequence (IS) transposition rate 0.00546 
20. Root insertion sequence (RIS) transposition rate 0.00546 

GeneXproTools 5.0 software package is used to compute in this study. It performs admirably on a personal computer. The defining criterion was the maximum fitness function, the mean square error function. The proposed GEP model's analytical form is as follows:
(6)
Further, the above equation is simplified as
(7)
Figure 2 depicts an expression tree and Equation (6) shows the representation of the GEP model for predicting downstream relative residual energy. In Figure 2, d0, d1, d2, d3, d4, and d5 represent the Ht/P, L/W, Wi/Wo, Si/So, Bi/Bo, and the number of cycles (N), respectively. Whereas G1c0 and G1c5 show the numerical constants used in the first gene of the model, G2c4 is the constant used for the second gene model; similarly, G3c1 and G3c3 denote the constant used in the third gene of the model.
Figure 2

Expression tree (ET) for GEP formulation.

Figure 2

Expression tree (ET) for GEP formulation.

Close modal
The flow over the PKW is three-dimensional and follows a complicated pattern. Flow over PKW is the sum of the flow over the downstream crest, the flow over the upstream crest, and the sidelong flow over the side crest (Machiels 2012), as shown in Figure 3. According to the literature, the geometry of the PKW has significantly influenced the flow capacity of the weir. Increasing the inlet key width decreases flow velocities at the inlet key and substantially increases PKW efficiency (Eslinger & Crookston 2020; Singh & Kumar 2022c). However, for a given weir width and crest length, increasing the inlet width causes a decrease in the outlet width. Too narrow outlet key may not evacuate the outlet flow under supercritical conditions, lowering the overall weir efficiency. A high Wi/Wo value improves the flow approach and distribution within the inlet keys and increases submergence effects in outlet keys of PKWs. Thus, an optimal Wi/Wo ratio must be found by balancing inlet width increase and outlet resilience capacity. Similarly, the L/W, Si/So, and Bi/Bo proportions influence the discharging capacity of the weir at a significant level.
Figure 3

Flow pattern over PKW.

Figure 3

Flow pattern over PKW.

Close modal

In order to better predict or for an accurate estimation of the residual energy downstream of the PKW, the GEP technique was used to measure the downstream residual energy. The GEP approach demonstrates a highly nonlinear relationship between relative residual energy and the input parameters (Ht/P, L/W, Wi/Wo, Si/So, Bi/Bo, and N) with high accuracy and relatively low errors. After multiple generations, the program was discontinued due to no progress in the fitness function value or the coefficient of determination. After 115,310 generations, there was no discernible difference. All of the parameters mentioned were chosen through trial and error in order to obtain the best model of the GEP in the form of an algebraic equation between output and input variables.

According to the author, the proposed equation of second-order exponential approximation may be adequate for conceptual designs and alternative analyses of the relative residual energy estimation. The R2 value in the current approach for the two datasets (testing = 0.978 and training = 0.980) demonstrates the model's adequacy. GEP reported RMSE values of 0.032 and 0.029 for the training and testing data sets. ME, MAE, and MAPE values for training data were 3.26%, 0.025, and 5.30%, and for the testing, data were 4.21%, 0.016, and 5.40%, respectively, showing the performance and accuracy of the predicted model.

As a result, the developed GEP is a reliable method for predicting relative residual energy (H2/H1) with good generalization and no overtraining. The proposed GEP has a significant advantage over traditional regression-based models (traditional equations). Depending on the number of generations, the GEP model can predict the relative residual energy with high accuracy and in a short amount of time. It is capable of mapping the data into a high-dimensional feature space, where various methods are used to discover data relationships. The relationships are as diverse as the mapping. The constructed GEP model demonstrated excellent agreement with the observed values in terms of coefficient of determination (R2) and root mean square error (RMSE) for training and testing datasets.

Figure 4 represents the performance matrices of the observed and predicted values of relative residual energy (H2/H1) achieved by the GEP approach Equation (7) for the training and testing data phases separately. Following the development of the GEP model (Equation (6)), an attempt is made to test its robustness. The authors used Equation (6) to demonstrate the accuracy of the predicted residual energy (H2/H1) value with the observed value, as shown in Figure 5, for different data used in the training and testing data phases individually. The performance of the developed GEP model was assessed using the various statistical parameters shown in Table 3.
Table 3

Performance evaluation of predicted H2/H1 by GEP model for training and testing dataset

Data SetCCR2ME %MAERMSEMAPE %
Training 0.986 0.978 3.26 0.025 0.032 5.30 
Testing 0.988 0.980 4.21 0.016 0.029 5.40 
Data SetCCR2ME %MAERMSEMAPE %
Training 0.986 0.978 3.26 0.025 0.032 5.30 
Testing 0.988 0.980 4.21 0.016 0.029 5.40 

CC, coefficient of correlation; R2, coefficient of determination; ME, mean percentage error; MAE, mean absolute error; RMSE, root mean square error; MAPE, mean absolute percentage error.

Figure 4

Comparison of the observed and projected relative residual energy ratios for different data phases (training and testing phases).

Figure 4

Comparison of the observed and projected relative residual energy ratios for different data phases (training and testing phases).

Close modal
Figure 5

Performance matrices for predicting the relative residual energy (H2/H1) ratios for the different data phases; (a) Training phase; (b) testing phase.

Figure 5

Performance matrices for predicting the relative residual energy (H2/H1) ratios for the different data phases; (a) Training phase; (b) testing phase.

Close modal

Accurately estimating the relative energy dissipation or residual energy downstream of the weir structures is critical for hydraulic engineers and designers. This paper developed an empirical equation based on gene expression programming (GEP) to predict the relative residual energy downstream of the type-A PKW. The GEP approach produced a highly nonlinear relationship between relative residual energy and input parameters according to the proposed equation for relative residual energy. The GEP model's comparisons over the existing models show that the GEP models provide better predictions, and practitioners can use them as design approximations to assist researchers and design engineers in designing PKWs. The GEP model had the lowest R2 (0.978 for training and 0.980 for testing), and root mean square error (RMSE) values of 0.032 and 0.029 for the training and testing datasets. The results suggest the efficiency of the GEP model and its potential use for practical applications within a similar range of non-dimensional parameters tested in this work. According to the findings of this study, the GEP model is more beneficial for any condition with no limitations. More research into the energy dissipation estimation of PKW is recommended. This could include other geometries like PKW types B, C, and D, or it could use turbid water to calculate the energy surplus.

All relevant data are included in the paper or its Supplementary Information.

The authors declare there is no conflict.

Abhash
A.
&
Pandey
K. K.
2020
A review of piano key weir as a superior alternative for dam rehabilitation
.
ISH Journal of Hydraulic Engineering
28
(
Suppl. 1
),
541
551
.
Al-Shukur
A.-H. K.
&
Al-Khafaji
G. H.
2018
Experimental study of the hydraulic performance of piano key weir
.
International Journal of Energy and Environment
9
,
63
70
.
Anderson
R. M.
&
Tullis
B. P.
2012
Piano key weir: reservoir versus channel application
.
Journal of Irrigation and Drainage Engineering
138
(
8
),
773
776
.
Azamathulla
H. M.
,
Ahmad
Z.
&
Ghani
A. A.
2013
An expert system for predicting Manning's roughness coefficient in open channels by using gene expression programming
.
Neural Computing and Applications
23
(
5
),
1343
1349
.
Azamathulla
H. M.
,
Rathnayake
U.
&
Shatnawi
A.
2018
Gene expression programming and artificial neural network to estimate atmospheric temperature in Tabuk, Saudi Arabia
.
Applied Water Science
8
(
6
),
1
7
.
Springer International Publishing
.
Bieri
M.
,
Federspiel
M.
,
Boillat
J.-L.
,
Houdant
B.
,
Faramond
L.
&
Delorme
F.
2011
Energy dissipation downstream of piano key weirs – case study of Gloriettes Dam (France)
. In:
Labyrinth and Piano Key Weirs – PKW 2011
(Erpicum, S., Laugier, F., Boillat, J. L., Pirotton, M., Reverchon, B., & Schleiss, A. J., Eds.)
.
CRC Press
,
Leiden
,
The Netherlands
, pp.
120
130
.
Birbal
P.
,
Azamathulla
H.
,
Leon
L.
,
Hosein
J.
&
Kumar
V.
2021
Predictive modelling of the stage-discharge relationship using gene-expression programming
.
Water Supply
21
(
7
),
3503
3514
.
Chanson
H.
2021
Hydraulics and energy dissipation on stepped spillways – prototype and laboratory experiences
.
Proceedings of the 2nd International Symposium of Advances in Water Disaster Mitigation and Water Environment Regulation WDWE2021, July 7-9, Chengdu
15
(
1
),
5
8
.
Emadi
A.
,
Sobhani
R.
,
Ahmadi
H.
,
Boroomandnia
A.
,
Zamanzad-Ghavidel
S.
&
Mohammad Azamathulla
H.
2022
Multivariate modeling of river water withdrawal using a hybrid evolutionary data-driven method
.
Water Supply
22
(
1
),
957
980
.
Erpicum
S.
,
Laugier
F.
,
Pfister
M.
,
Pirotton
M.
,
Cicero
G. M.
&
Schleiss
A. J.
(Eds)
2013
Labyrinth and Piano Key Weirs II – PKW 2013
.
Taylor & Francis Group
,
London
.
ISBN 978-1-138-00085-8
Eslinger
K. R.
&
Crookston
B. M.
2020
Energy dissipation of type a piano key weirs
.
Water
12
(
5
),
1253
.
MDPI, Basel, Switzerland
.
Ferreira
C.
2001a
Gene expression programming: a new adaptive algorithm for solving problems
.
arXiv preprint cs/0102027
,
1
22
.
Ferreira
C.
2001b
Gene expression programming in problem-solving
. In
6th Online World Conference on Soft Computing in Industrial Applications (Invited tutorial
)
, pp.
635
653
.
Springer
,
London
.
Garg
S. K.
2010
Irrigation Engineering and Hydraulic Structures
.
Khanna publishers
,
Delhi
.
Ghaderi
A.
,
Abbasi
S.
,
Abraham
J.
&
Azamathulla
H. M.
2020
Efficiency of trapezoidal labyrinth shaped stepped spillways
.
Flow Measurement and Instrumentation
72
(
February
),
101711
.
Elsevier Ltd
.
Ghasempour
R.
,
Roushangar
K.
,
Azamathulla
H. M.
&
Roushangar
K.
2021
EEMD- and VMD-based hybrid GPR models for river streamflow point and interval predictions
.
Water Supply
21
(
7
),
3960
3975
.
Hager
W. H.
, &
Li
D.
1992
Sill-controlled energy dissipator
.
Journal of Hydraulic Research
30
(
2
),
165
181
.
Hager
W. H.
,
Bremen
R.
&
Kawagoshi
N.
1990
Classical hydraulic jump: length of roller
.
Journal of Hydraulic Research
28
(
5
),
592
608
.
Ho Ta Khanh
M.
,
Sy Quat
D.
&
Xuan Thuy
D.
2011a
PKWs under design and construction in Vietnam (2010)
. In:
Labyrinth and Piano Key Weirs-PKW 2011
(Erpicum, S., Laugier, F., Boillat, J-L., Pirotton, M., Reverchon, B., & Schleiss, A.J., Eds)
.
CRC Press
,
London
, pp.
225
232
.
Ho Ta Khanh
M.
,
Hien
T. C.
&
Hai
N. T.
2011b
Main results of the PKW model tests in Vietnam (2004-2010)
. In:
Labyrinth and Piano Key Weirs-PKW 2011
(Erpicum, S., Laugier, F., Boillat, J-L., Pirotton, M., Reverchon, B., & Schleiss, A.J., Eds)
.
CRC Press
,
London
, pp.
191
198
.
Jüstrich
S.
,
Pfister
M.
&
Schleiss
A. J.
2016
Mobile riverbed scour downstream of a piano key weir
.
Journal of Hydraulic Engineering
142
(
11
),
1
12
.
Karbasi
M.
&
Azamathulla
H. M.
2016
GEP to predict characteristics of a hydraulic jump over a rough bed
.
KSCE Journal of Civil Engineering
20
(
7
),
3006
3011
.
Kumar
B.
&
Ahmad
Z.
2022
Scour downstream of a piano key weir with and without a solid apron
.
Journal of Irrigation and Drainage Engineering
148
(
1
),
1
12
.
Kumar
B.
,
Kadia
S.
&
Ahmad
Z.
2021
Sediment movement over type A piano key weirs
.
Journal of Irrigation and Drainage Engineering
147
(
6
),
04021018
.
Leite Ribeiro
M.
,
Boillat
J. L.
,
Schleiss
A.
,
Laugier
F.
&
Albalat
C.
2007
Rehabilitation of St-Marc Dam – Experimental Optimization of a Piano Key Weir
. In
Proceedings of the 32nd Congress of Int. Association for Hydro-Environment Engineering and Research (IAHR) (CD-ROM),(683) Theme C (C2.B-149-O)Venice, Italy 1–6 July 2007
.
Leite Ribeiro
M.
,
Boillat
J.-L.
&
Schleiss
A. J.
2011
Experimental parametric study for hydraulic design of PKWs
. In
Proc. Int. Conf. Labyrinth and Piano Key Weirs, Liege B, 183–190
.
CRC Press
,
Boca Raton, FL
.
Leite Ribeiro
M.
,
Bieri
M.
,
Boillat
J. L.
,
Schleiss
A. J.
,
Singhal
G.
&
Sharma
N.
2012
Discharge capacity of piano key weirs
.
Journal of Hydraulic Engineering
138
(
2
),
199
203
.
Machiels
O.
2012
Experimental Study of the Hydraulic Behaviour of Piano Key Weirs
.
PhD Thesis ULgetd-09252012- 224610
,
University of Liege (Belgium)
.
Novak
P.
,
Guinot
V.
,
Jeffrey
A.
&
Reeve
D. E.
2010
Hydraulic Modelling: An Introduction: Principles, Methods and Applications
.
CRC Press
.
Pandey
M.
,
Zakwan
M.
,
Khan
M. A.
&
Bhave
S.
2020a
Development of scour around a circular pier and its modelling using genetic algorithm
.
Water Science and Technology: Water Supply
20
(
8
),
3358
3367
.
Pandey
M.
,
Zakwan
M.
,
Sharma
P. K.
&
Ahmad
Z.
2020b
Multiple linear regression and genetic algorithm approaches to predict temporal scour depth near circular pier in non-cohesive sediment
.
ISH Journal of Hydraulic Engineering
26
(
1
),
96
103
.
Taylor & Francis
.
Pandey
M.
,
Jamei
M.
,
Karbasi
M.
,
Ahmadianfar
I.
&
Chu
X.
2021
Prediction of maximum scour depth near spur dikes in uniform bed sediment using stacked generalization ensemble tree-based frameworks
.
Journal of Irrigation and Drainage Engineering
147
(
11
),
04021050
.
Pfister
M.
,
Jüstrich
S.
&
Schleiss
A. J.
2017
Toe-scour formation at Piano Key Weirs
. In:
Labyrinth and Piano Key Weirs III – PKW 2017
(Erpicum, S., Laugier, F., Ho Ta Khanh, M., & Pfister, M., Eds)
.
CRC Press
,
Leiden
,
The Netherlands
, pp.
147
156
.
Pinto
M.
2017
Energy dissipation on stepped spillways with a piano key weir: experimental study
.
Instituto Superior Técnico, Lisbon (in Portuguese)
,
1
11
.
Rajaratnam
N.
1990
Skimming flow in stepped spillways
.
Journal of Hydraulic Engineering, ASCE
116
(
4
),
587
591
.
Rashki Ghaleh Nou
M.
,
Azhdary Moghaddam
M.
,
Shafai Bajestan
M.
&
Azamathulla
H. M.
2019
Estimation of scour depth around submerged weirs using self-adaptive extreme learning machine
.
Journal of Hydroinformatics
21
(
6
),
1082
1101
.
Shivashankar
M.
,
Pandey
M.
&
Zakwan
M.
2022
Estimation of settling velocity using generalized reduced gradient (GRG) and hybrid generalized reduced gradient–genetic algorithm (hybrid GRG-GA)
.
Acta Geophysica
2022. http://dx.doi.org/10.1007/s11600-021-00706-2
.
Silvestri
A.
,
Erpicum
S.
,
Archambeau
P.
,
Dewals
B.
&
Pirotton
M.
2013a
Stepped spillway downstream of a Piano Key weir: Critical length of uniform flow
. In
International Workshop on Hydraulic Structures
.
Bundesanstalt fur, Wasserbau
,
Karlsruhe
,
Germany
, pp.
99
-
107
.
Silvestri
A.
,
Archambeau
P.
,
Pirotton
M.
,
Dewals
B.
&
Erpicum
S.
2013b
Comparative analysis of the energy dissipation on a stepped spillway downstream of a piano key weir
. In:
Labyrinth and Piano Key Weirs II
(
Erpicum
S.
,
Laugier
F.
,
Pfister
M.
,
Pirotton
M.
,
Cicero
G. M.
&
Schleiss
A. J.
, eds).
CRC Press/Balkema
,
Leiden
,
The Netherlands
, pp.
111
120
.
Singh
D.
&
Kumar
M.
2021
Hydraulic design and analysis of piano key weirs: a review
.
Arabian Journal for Science and Engineering
47
,
5093
5107
.
Singh
D.
&
Kumar
M.
2022b
Energy dissipation of flow over the type-B Piano Key Weir
.
Flow Measurement and Instrumentation
83
(
November 2021
),
102109
.
Elsevier Ltd
.
Singh
D.
&
Kumar
M.
2022c
Gene expression programming for computing energy dissipation over type-B Piano Key Weir
.
Renewable Energy Focus
41
,
230
235
.
https://doi.org/10.1016/j.ref.2022.03.005
.
Singh
U. K.
,
Jamei
M.
,
Karbasi
M.
,
Malik
A.
&
Pandey
M.
2022
Application of a modern multi-level ensemble approach for the estimation of critical shear stress in cohesive sediment mixture
.
Journal of Hydrology
607
(
February
),
127549
.
Truong Chí
H.
,
Huynh Thanh
S.
&
Ho Ta Khanh
M.
2006
Results of Some Piano Keys Weir Hydraulic Model Tests in Vietnam
. In
Proceedings of the 22nd ICOLD Congress
,
18–23 June 2006
,
Barcelona, Spain
.
Yazdi
A. M.
,
Abbas Hoseini
S.
,
Nazari
S.
&
Amanian
N.
2021
Effects of weir geometry on scour development in the downstream of Piano Key Weirs
.
Water Science and Technology: Water Supply
21
(
1
),
289
298
.
Zhao
C.
,
Fang
H.
,
Liu
Y.
,
Dey
S.
&
He
G.
2020
Impact of particle shape on saltating mode of bedload transport sheared by turbulent flow
.
Journal of Hydraulic Engineering
146
(
5
),
04020034
.
https://doi.org/10.1061/(ASCE)HY.1943-7900.0001735
.
Zounemat-Kermani
M.
&
Mahdavi-Meymand
A.
2019
Hybrid meta-heuristics artificial intelligence models in simulating discharge passing the piano key weirs
.
Journal of Hydrology
569
(
November
),
12
21
.
Elsevier
.
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/).