3. Case Study
As a clay-core earth dam, the Aydoghmoush Dam is located in southwestern Mianeh, East Azarbayjan Province, Iran. The purpose of the dam is to supply and improve the irrigation demands of
ha of land. The length and top width of the dam are 297 m and 12 m, respectively. The maximum and minimum storage volumes of the dam reservoir are
m
3 and
m
3, respectively. The study period is 10 years (1991–2000) with monthly inputs, as shown in
Figure 2. The Aydoghmoush River basin climate type is semiarid and the average annual discharge of river in the basin is
and the average annual rainfall is 340 mm. This case study is very important for policy makers to supply irrigation demands in agricultural areas. Different crops, such as wheat, barley, alfalfa, soybean, silage corn, forage, potato, and walnut are grown in the downstream area. In fact, the released water is considered to be a decision variable and unknown value, and thus, the water volume should simultaneously supply the downstream demands of the downstream farmers.
The following objective function is used to minimize irrigation deficiencies:
where
OF is the objective function,
is the required irrigation volume,
is the released water, and
is the maximum water release during the operation period.
In addition, the continuity equation is written as follows:
where
St+1 is the reservoir storage at time
t + 1,
is the reservoir storage at time
t,
is input to the reservoir,
is the water losses,
is the water release, and
is the overflow. The water loss and overflow values are obtained from the following equations:
where
is the reservoir surface area and
is the evapotranspiration from the reservoir.
Problem constraints are displayed according to the following equation:
where
is irrigation demand at time
t. If the constraints are not met, the following penalty functions are used and added to the objective function:
To evaluate the performances of different algorithms, the following indices are used in WRM:
- (1)
Volumetric reliability index: this is the volume of released water over the entire period versus the total irrigation requirement amounts. This index is calculated based on the following equation [
9]:
where
is the volumetric reliability.
- (2)
Vulnerability index: the Vulnerability index is defined as the maximum failure rate created during the operation period of a reservoir system. The smaller this index, the better the system performs [
23]:
where
is the vulnerability index.
- (3)
Resiliency index: this shows how quickly the system will recover if the period is a failure. For example, if in a 12-month operation period 4 period failures occur, the sequence of failure periods is important and affects the system. However, higher percentages of this index are desirable.
where
is the resiliency index,
is the number of occurred failure series, and
is the total number of failed periods.
A multicriteria decision-making index is also used to evaluate the performance of different algorithms. Based on the weighted sum model, the weighted product model, considering the objective function value, volumetric reliability, vulnerability, and resiliency index, attempts to determine the best algorithm in the optimization process. First, the value of each derived index for each algorithm is normalized based on the following relationships:
where
is the maximum value of each index,
is the value of each index,
is the normalized value of each index and
is the minimum value of each index. Equation (27) is used for indices whose high percentages are desirable, and Equation (28) is used for indices whose low percentages are desirable. Then, the decision variable matrix for the weighted sum and weighted product is obtained as follows:
where
is the weight of each index. In the present study, considering that all indices have the same importance, the weights of the indices are equal to each other. Finally, the decision index
is calculated as follows:
where
is a coefficient from 0 to 1. In the current study, this coefficient began at zero, and then a value of 0.1 was added in each step. The values of the decision indices are compared for all algorithms. The algorithm with a higher
is chosen as the preferred algorithm. A pairwise comparison process is used to compare the new HA to other algorithms, based on the number of times the
of each algorithm is larger than the HA (losses) and the number of times the
ϕ of each algorithm is lower than the HA (victories).
The steps of running the HA for reservoir operations are as follows:
The decision variables are inserted in the new HA based on the initial population of bats and particles.
- (1)
The random parameters are determined based on the sensitivity analysis for the BA and PSOA.
- (2)
The continuity equation is used to calculate the reservoir storage for the next operation period.
- (3)
The reservoir storage and released water are compared to the permissible values. If the released water and reservoir storage values are not in the permissible domain, the penalty functions (Equations (21)–(23)) are applied to the solutions. The penalty functions increase the convergence velocity and accuracy of the HA.
- (4)
The objective function for each member of the population is computed, and steps 3 to 4 are repeated for all operation periods.
- (5)
Different HA levels are applied to the solutions based on
Figure 2.
- (6)
The convergence criteria are checked; if the criteria are satisfied, the algorithm is finished; otherwise, the process returns to step 2.
4. Results
Table 1 describes the results of the sensitivity analysis of the random parameters of different algorithms. For example, the optimum population size for the HA is 60, whose objective function (1.12) is smaller than the other population sizes. The bat’s maximum audio frequency (
fmax) is 7.0 Hz, and the minimum bat audio frequency (
fmin) is 2.0 Hz, and the objective function of 1.12 is associated with these two values. The best value for acceleration coefficients (
c1 =
c2) is selected as 2.0, and the inertia coefficient (
w) is 0.7 with an objective function of 1.14.
The probabilities of mutation and crossover for the GA are 0.6 and 0.5, with objective functions of 3.15 and 3.15, respectively. The optimum size of the SA is 60. Other optimum values of the SA (, and ) are 4, 200 and 0.6, respectively. The size population for the GA is 100 chromosomes.
Table 2 shows the results of 10 random runs of the algorithms. The average response of the 10 HA runs is 1.12. However, the values for the SA, BA, PSOA, and GA are 2.79, 2.86, 3.0, and 3.55, respectively, and there is an overestimation of 149.1, 155.4, 167.8, and 217.0 percent with respect to the HA, respectively. Therefore, the objective function of the problem is based on the HA, which represents the minimum irrigation deficiencies.
The calculation time for the HA is 50 s, while the calculation times are 65, 87, 95, and 112 s for the SA, BA, PSOA, and GA, respectively. The HA has reduced computational time compared to the other algorithms. The variation coefficient for the 10 HA run implementations is smaller than that of the other algorithms, which indicates that the results of the one-time HA execution are also reliable.
Figure 3 shows the convergence rates of different algorithms. The HA is able to converge faster than the other algorithms. Therefore, the HA has superior performance in terms of response quality as well as computing time. Replacement of one algorithm’s weaker solutions with good responses from another algorithm has improved the convergence velocity for the new HA. In fact, although the BA and PSOA have poor individual performances, the combination of these two algorithms improved the performance. The results are compared for the same number of function evaluation (5000).
Table 3 shows the performances of the different algorithms in providing irrigation demands over the 10-year period. The correlation coefficient (
r) between the water release values and the required values in the HA is 0.95, which is more than the other studied evolutionary algorithms. In addition, the RMSE value for the HA is 1.2 × 10
6 m
3, whereas this index for the SA, BA, PSOA, and GA is 5.2 × 10
6 m
3, 7.14 × 10
6 m
3, 8.23 × 10
6 m
3 and 10.12 × 10
6 m
3, respectively. Thus, the HA has managed to better meet the irrigation needs. The MAE index for the HA is less than the other evolutionary algorithms in
Table 3, which shows the better performance of HA in providing for downstream irrigation needs.
Figure 4 shows the water release volume by the HA for supplying the irrigation demands. The average demand is 25.12 × 10
6 m
3, and the HA has released 24.48 × 10
6 m
3 for irrigation. The SA, BA, PSOA, and GA released 23.12 × 10
6 m
3, 22.87 × 10
6 m
3, 20.45 × 10
6 m
3, and 19.88 × 10
6 m
3 of water from the Aydoghmoush Dam for irrigation. These values indicate that the average water release during the study period is closer to the average required demand based on the HA.
Table 4 shows the performances of various studied algorithms based on WRM indices. For example, the HA, with a reliability index of 92%, would be better able to respond to the downstream irrigation requirements than the other evolutionary algorithms. The SA has a lower vulnerability index than the HA. In addition, the HA, with the highest percentage resiliency index (45%) and the lowest value objective function (1.12), has a better status than the other evolutionary algorithms. Thus, the best decision can be made by simultaneously considering several indices using a multicriteria decision-making model. In this case study, the objective function is not considered to be the sole index for selecting the best algorithm to supply the downstream irrigation demands, and the other indices, such as resiliency, reliability, and vulnerability, can aid us in selecting the preferred algorithm.
Table 5 shows the values of
and
of Equations (30) and (31). This table shows that the values of
and
for the HA are higher than the other algorithms, which again is an indication of the superiority of the HA.
Table 6 shows the value of
for different algorithms based on different
values in the 0 to 1 interval. As seen in
Table 6, the HA has higher
values at all
values than the other algorithms. According to the results of the pairwise comparison of the studied algorithms (
Table 7), the HA, with 11 successes over the SA, BA, PSOA and GA, is superior to the other evolutionary algorithms for the following reasons:
- (1)
The computing time was decreased and the convergence speed was increased.
- (2)
The objective function was minimized.
- (3)
The irrigation demands were supplied with released water at an amount close to the average irrigation demands.
- (4)
The statistical indices of the RMSE and MAE showed that the new HA can better meet the irrigation needs.
- (5)
Based on the multicriteria decision-making model, objective function, and the vulnerability, resiliency, and reliability indices, the new HA has ranked first among the studied evolutionary algorithms.
However, every algorithm has its own advantages or weaknesses. For example, the new hybrid algorithm of the BA and PSOA (HA) can improve the convergence speed and avoid being trapped in the local optima. However, the method also has some limitations. For example, the number of random parameters is considerable, setting these parameters is difficult, and the algorithm may not work well for every problem or case study. The uncertainty of data in input instances of optimization problems are a curse, but a reality [
25]. The uncertainty in the inputs is important: even if we had precisely correct inputs, the model would provide a perfect prediction. However, for anything beyond an absolutely trivial model, the optimization would still be inaccurate. In this case, there is a level of input uncertainty, and even a deterministic model would provide output uncertainty. Taking this uncertainty into account, further predictions and/or decisions could be moderately critical.
The inclusion of uncertainty in a model and how it is treated depends on the model approach, the analysis, and the decisions being made. (i) Is the model sensitive to input parameters? (ii) Are there input parameters that are not well known? (iii) Is the nature of the uncertainty aleatory or epistemic? (iv) What decisions are being made based on the model?
There are few systems in which uncertainties are so limited that they can be neglected, as none of these four reasons of uncertainty exist. Instead, when modelling a real, complex system to support its management, an uncertainty assessment is important because interventions are to be “calibrated” for the quality of predictions. However, if the model has been examined using unseen data, the model is indirectly assessed and evaluated against the model performance ability regardless of the level of uncertainty. There are many sources of uncertainty for reservoir optimization, such as inflow, evaporation, and the climate conditions, which directly affect the operation and hence the released water volume.
It should be highlighted here that each of the used optimization algorithms has particular limitations that might negatively influence the generation of the proposed operation rules. For example, the particle swarm optimization (PSO) is weak in exploration; this leads to its convergence to local optima. This is because there is no operator that can stimulate abrupt changes that can enhance the exploration in the set of potential solutions; consequently, the solutions are easily trapped in local minima. Other major factors to the convergence to local optima are due to heavily reliance on dispersal of the initial swarm and the connection among the particle members. Since the members of particles are strongly bonded, the chances for them to escape from local optima are low, if the majority of them are trapped in a local optimum.
Secondly, the GA is sensitive to the initial population used. A wide diversity of feasible solutions is what one wants. Stochastic algorithms, in general, can have difficulty obeying equality constraints. Different sets of results are obtained through numerous simulation processes, even when the same input data are used. This means that one needs to find a statistically convergent solution with many simulations. In GA, the population has no memory of its previous state; this results in an independent event for each generation.
The limitation for the standard BA seems to be its relatively poor exploration ability despite its good performance in exploitation. This is because BA has no crossover operation (unlike GA); consequently, BA maintains the members of the whole population through the search procedure. There is a need to improve the control strategy to switch between exploration and exploitation at the right moment.
Finally, the limitation of the shark algorithm is that the search performance depends on the randomness in the initial population of solutions. Consequently, the searching process may become trapped in local optima. This drawback is also possibly due to gradient behavior, which is the movement of solutions along the objective function, even though it speeds up the convergence rate. Another probable disadvantage of gradient-based methods is that they are weak in handling problems such as objective functions with noise, inaccurate gradients, and an irregular shape of problem layout. In addition, gradient-based methods require tremendous computational work; for example, each time the code is altered, the adjoint computations may need to be revised.