Abstract
Cascade reservoir operation is an effective nonstructural countermeasure for water resources management. In recent years, many metaheuristic algorithms are introduced to handle reservoir optimal operation due to their strong search capability and high efficiency. The butterfly optimization algorithm (BOA) is a newly developed metaheuristic method which has been widely used in solving various optimization problems. But it has local convergence and premature problems. Therefore, this paper proposed an improved version of BOA where three strategies are introduced: (1) the self-adaptive strategy to improve the initial population, (2) the dynamic switch strategy to balance exploration and exploitation, (3) the Levy-flight and standardized fragrance operators for position updating. The feasibility of the BOA, and IBOA are verified and compared with several commonly used algorithms (PSO, SCA, WOA and TSA) based on 19 test functions. Then, these methods are applied to address the optimization of cascade reservoirs that aims to maximize total hydropower generation. The results show that the proposed IBOA produces higher hydropower output and more stable results, indicating better scheduling schemes than BOA and the other four algorithms. In conclusion, IBOA is an effective and robust alternative optimization tool for cascade reservoir operation problems.
HIGHLIGHTS
An improved butterfly optimization algorithm (IBOA) was developed.
Dynamic switching strategy was used to balance exploration and exploitation.
The IBOA has evaluated over 19 benchmark functions and a reservoir operation problem.
IBOA superiority over several advanced algorithms was shown.
INTRODUCTION
Hydropower is a widely used clean energy. With the growing construction of reservoirs in recent decades, cascade hydropower reservoirs operation (CHRO) optimization has attracted many researchers (Xu et al. 2013; Sharifi et al. 2021). The optimization of reservoir operation requires nearly no additional investment to increase generation capacity. CHRO is a complex nonlinear problem involved with multi variables. It needs to consider not only the hydraulic and electrical connections of the upstream and downstream reservoirs, but also many constraints in water level, reservoir release, power output, etc. (Sun et al. 2016; Chang et al. 2017; Gjorgiev & Sansavini 2018).
Over the past years, many attempts have been conducted to handle CHRO optimization problems (Kougias & Theodossiou 2013; Feng et al. 2020a, 2020b). Generally, methods used to solve CHRO problems can be roughly divided into conventional optimization algorithms like dynamic programming (Ji et al. 2014; Zhao et al. 2014), linear programming (Yoo 2009; Kang et al. 2018; Niu et al. 2018), nonlinear programming (Teegavarapu et al. 2013; Jothiprakash & Arunkumar 2014) and metaheuristic algorithms like genetic algorithm (GA) (Cheng et al. 2008; Haddad et al. 2016; Tayebiyan et al. 2016), partial swarm optimization (Kumar & Reddy 2007; Zhang et al. 2013, 2016) and differential evolution algorithm (Regulwar et al. 2010; Yazdi & Moridi 2018). Conventional optimization methods have been very successful in solving CHRO problems, but their performance is reduced in large and complex engineering problems. In dynamic programming, the high dimensionality of the problem poses difficulties and may not converge in a reasonable time, especially for large-scale hydropower systems (Zhang et al. 2014). Metaheuristic algorithms use a randomized optimization approach and do not rely on the gradient information of objective functions. In recent years, metaheuristic algorithms have gained substantial attention in reservoir scheduling due to their simplicity and ease of implementation (Yang et al. 2018; Dianatikhah et al. 2020). Hossain & El-Shafie (2014) compared GA, particle swarm optimization (PSO) and artificial bee colony (ABC) for reservoir operation optimization and found that the ABC algorithm exhibited the best performance. Mohammadrezapour et al. (2019) applied the cuckoo optimization algorithm (COA) for irrigation water management and optimized the total income of cultivation in the Qazvin plain. Ahmadianfar et al. (2022) proposed a multi-strategy slime mold algorithm to determine the optimal operating rules for hydropower multi-reservoir systems, and it showed good efficiency. Jiang et al. (2022) developed an elite collaborative search algorithm coupled with three improvement strategies and applied it to solve a joint hydropower generation dispatching model. Sharifi et al. (2022) investigated the capability of 14 recently-introduced robust evolutionary algorithms in the optimization of energy generation from the Karun-4 hydropower reservoir.
The butterfly optimization algorithm (BOA) is a nature-inspired metaheuristic algorithm recently developed by Arora & Singh (2018). In BOA, a set of solutions is randomly generated in the feasible space, and their positions are then iteratively updated according to global or local search equations. During the iteration, a switching probability constant is adopted to balance global exploration and local exploitation. BOA is simple in adaption for any optimization problem, easy to implement and has good optimization performance (Makhadmeh et al. 2022; Li et al. 2023). It has been widely applied in different domains in a short period, such as parameter identification (Wen & Cao 2020), feature selection (Arora & Anand 2019; Rodrigues et al. 2020; Sadeghian et al. 2021; Long et al. 2022), data classification (Tiwari & Chaturvedi 2022) and drought forecasting (Kisi et al. 2019). However, there are few reports of using BOA to address CHRO problems. To fill this gap, this paper attempts to verify the feasibility of BOA in solving reservoir operation optimization. Unfortunately, as with other swarm-based metaheuristic approaches, BOA tends to converge prematurely to a local optimum when applied to high-dimensional problems. Moreover, the movement of candidate solutions relies on a random selection of the local and global searches by a switching probability constant, which may lead to candidate solutions moving away from the global best solution (Tan et al. 2020). Therefore, further research is needed to enhance the balance of the local exploitation and global exploration ability in BOA and to improve the convergence speed. In this paper, an improved butterfly optimization algorithm (IBOA) was proposed based on three modified strategies: the self-adaptive strategy to improve the initial swarm, the dynamic switch strategy to enhance local search and levy-flight and standardized fragrance operators for position updating. In this study, the basic BOA and its improved version (IBOA) were used to solve a cascade reservoir operation problem. To test the performance, IBOA was compared to BOA and several famous optimization algorithms in solving numerical functions and cascade reservoirs’ optimal operation. More specifically, the main contributions were summarized as below: (1) An enhanced version of BOA was developed based on the self-adaptive strategy, the dynamic switch strategy and the Levy-flight and standardized fragrance operators. (2) The BOA and IBOA methods were compared to several popular algorithms in benchmark functions and a CHRO problem, including PSO, Sine Cosine algorithm (SCA), whale optimization algorithm (WOA) and tunicate swarm algorithm (TSA).
HYDROPOWER PRODUCTION OPERATION MODEL
The goal of the model is to find the optimal water level of each reservoir at the end of each time period that maximizes the objective function without violating the following constraints.
- (1)
- (2)
- (3)
- (4)Power generation constraint:where and are the storage of the ith reservoir at the end of time period t and t + 1, respectively. , and are the inflow, power release and non-power release (spill) of the ith reservoir at the end of period t. and are the upper and lower bounds of storage for the ith reservoir at the end of period t. and are the upper and lower bounds of power release for the ith reservoir at the end of period t. and are the upper and lower bounds of power output for the ith reservoir at the end of period t.
METHODOLOGY
Butterfly optimization algorithm
The BOA is developed based on the foraging behavior of butterflies. Each butterfly yields a fragrance with a certain intensity, which is related to its fitness (objective function). For instance, when a butterfly moves from one position to another, its fitness changes consequently. The fragrance spreads through distance and other butterflies can detect it. This is the way in which butterflies share their personal information with others and create a collective social knowledge network (Arora & Singh 2018). When a butterfly can perceive a fragrance from the best butterfly in the solution space, it will move toward it and this phase is called a global search. In the alternative, when a butterfly cannot pick up a fragrance from its surroundings, it will move randomly and this phase is called local search.
The iteration stage proceeds until the predefined maximum number of iterations is reached. In the final stage, the BOA outputs the best solution found and its corresponding fitness value. The pseudo-code of the basic BOA can be found in Arora & Singh (2018).
Improved butterfly optimization algorithm
Self-adaptive strategy to improve initial population
Dynamic switch strategy to balance exploration and exploitation
Levy-flight and standardized fragrance operators for position updating
Moreover, compared with the direct multiplication of fragrance in Equations (9) and (10), the use of a standardized fragrance operator allows setting different position updates according to the individual's fitness, eliminating the effect of the magnitude of fragrance on the position updates. If the fragrance of an individual's position fi is close to the optimal value fmax, the variation of its position update is changed relatively small, and vice versa.
Algorithm Improved butterfly algorithm (IBOA) for cascade reservoir scheduling problem . |
---|
1: Objective function f(x), x= (x1, x2, …, xd), d is the number of dimensions |
2: Generate initial population of N butterflies xi (i = 1, 2, …, N) using Eq. 11 |
3: Define c, a and pnew |
4: while stopping criteria not met do |
5: for each butterfly bf in population do |
6: Calculate fragrance for bf using Eq. 8 |
7: end for |
8: Find the best bf and worst bf |
9: for each butterfly bf in population do |
10: Generate a random number r from [0,1] |
11: ifr < pnewthen |
12: Move towards best butterfly using Eq. 15 |
13: else |
14: Move randomly using Eq. 16 |
15: end if |
16: end for |
17: Update the value of pnew |
18: end while |
19: Output the best solution found. |
Algorithm Improved butterfly algorithm (IBOA) for cascade reservoir scheduling problem . |
---|
1: Objective function f(x), x= (x1, x2, …, xd), d is the number of dimensions |
2: Generate initial population of N butterflies xi (i = 1, 2, …, N) using Eq. 11 |
3: Define c, a and pnew |
4: while stopping criteria not met do |
5: for each butterfly bf in population do |
6: Calculate fragrance for bf using Eq. 8 |
7: end for |
8: Find the best bf and worst bf |
9: for each butterfly bf in population do |
10: Generate a random number r from [0,1] |
11: ifr < pnewthen |
12: Move towards best butterfly using Eq. 15 |
13: else |
14: Move randomly using Eq. 16 |
15: end if |
16: end for |
17: Update the value of pnew |
18: end while |
19: Output the best solution found. |
CASE STUDY
Study area
Data collection and parameters
Reservoir statistics . | JP reservoir . | ET reservoir . |
---|---|---|
Normal level (m) | 1,880 | 1,200 |
Flood control level (m) | 1,859 | 1,190 |
Dead level (m) | 1,800 | 1,155 |
Installed hydropower capacity (MW) | 3,600 | 3,300 |
Guaranteed hydropower capacity (MW) | 1,086 | 1,028 |
Hydropower output coefficient | 8.55 | 8.6 |
Maximum turbine capacity (m3/s) | 2,024 | 2,400 |
Reservoir statistics . | JP reservoir . | ET reservoir . |
---|---|---|
Normal level (m) | 1,880 | 1,200 |
Flood control level (m) | 1,859 | 1,190 |
Dead level (m) | 1,800 | 1,155 |
Installed hydropower capacity (MW) | 3,600 | 3,300 |
Guaranteed hydropower capacity (MW) | 1,086 | 1,028 |
Hydropower output coefficient | 8.55 | 8.6 |
Maximum turbine capacity (m3/s) | 2,024 | 2,400 |
In BOA and IBOA methods, a fixed combination of parameters was adopted for both benchmark functions and cascade reservoir operation. The sensory modality c is 0.01 and the initial power exponent a is 0.1, and the initial switch probability is 0.8 as recommended by Arora & Singh (2018). Moreover, the results of several popular evolutionary algorithms are introduced for comparison, including PSO (Kennedy & Obaiahnahatti 1995), SCA (Mirjalili 2016), WOA (Mirjalili & Lewis 2016) and TSA (Kaur & Dhiman 2020). In the experiments on benchmark functions, the population and maximum iterations are set as 30 and 500. Referring to the parameter settings in the literature (Chang & Chang 2009; Ehteram et al. 2017), in the application to cascade reservoir operation, the population and maximum iterations are set as 1,000 and 1,000 in this study. According to the recommended empirical values from the literature (Feng et al. 2020a, 2020b; Kaur & Dhiman 2020), the other parameters are given below:
PSO: The inertia weight decreases from 0.9 to 0.1, while two learning factors are set as 2.0.
SCA: The parameter a0 value is set as 2.0.
WOA: The parameter a0 value decreases from 2 to 0.
TSA: The parameters pmin and pmax are set as 1 and 4, respectively.
Case 1: Experiments on benchmark functions
To test the performance of the six mentioned algorithms in benchmark functions, 19 classical test functions are investigated (Digalakis & Margaritis 2001; Khishe & Mosavi 2020). These test functions roughly belong to two groups: unimodal (F1–F7) and multimodal functions (F8–F19), the specifications of which are given in Table 2. The variable denotes the dimension of the function (problem), fmin is the minimum value reported in the literature and range is the feasible space. Unimodal functions have only one global optimal solution, so they can test the exploitation and convergence speed of the algorithms. Conversely, multimodal functions have many locally optimal solutions, so they can test the exploration and local optima avoidance of the algorithms.
No. . | Function . | Variable . | Range . | fmin . |
---|---|---|---|---|
1 | 10 | [−100,100] | 0 | |
2 | 10 | [−10,10] | 0 | |
3 | 10 | [−100,100] | 0 | |
4 | 10 | [−100,100] | 0 | |
5 | 5 | [−30,30] | 0 | |
6 | 10 | [−100,100] | 0 | |
7 | 10 | [−1.28,1.28] | 0 | |
8 | 10 | [−5.12,5.12] | 0 | |
9 | 10 | [−32,32] | 0 | |
10 | 10 | [−600,600] | 0 | |
11 | 10 | [−50,50] | 0 | |
12 | 10 | [−50,50] | 0 | |
13 | 2 | [−65.536,65.536] | 1 | |
14 | 4 | [−5,5] | 0.00030 | |
15 | 2 | [−5,5] | 0.398 | |
16 | 2 | [−2,2] | 3 | |
17 | 4 | [0,10] | − 10.1532 | |
18 | 4 | [0,10] | − 10.4028 | |
19 | 4 | [0,10] | − 10.5363 |
No. . | Function . | Variable . | Range . | fmin . |
---|---|---|---|---|
1 | 10 | [−100,100] | 0 | |
2 | 10 | [−10,10] | 0 | |
3 | 10 | [−100,100] | 0 | |
4 | 10 | [−100,100] | 0 | |
5 | 5 | [−30,30] | 0 | |
6 | 10 | [−100,100] | 0 | |
7 | 10 | [−1.28,1.28] | 0 | |
8 | 10 | [−5.12,5.12] | 0 | |
9 | 10 | [−32,32] | 0 | |
10 | 10 | [−600,600] | 0 | |
11 | 10 | [−50,50] | 0 | |
12 | 10 | [−50,50] | 0 | |
13 | 2 | [−65.536,65.536] | 1 | |
14 | 4 | [−5,5] | 0.00030 | |
15 | 2 | [−5,5] | 0.398 | |
16 | 2 | [−2,2] | 3 | |
17 | 4 | [0,10] | − 10.1532 | |
18 | 4 | [0,10] | − 10.4028 | |
19 | 4 | [0,10] | − 10.5363 |
Table 3 gives the statistics of six algorithms for the benchmark functions in 10 independent runs, including the average (Ave.) and standard deviation (Std.) of objective values. According to the average values, the PSO, BOA and SCA methods have comparable performance on the benchmark functions, both of which ranks 4–6 on 13 test functions, and ranks 1–3 on six test functions. The WOA method ranks 4–6 on six test functions, and ranks 1 on four test funcions. The TSA method ranks 4–6 on nine test functions, and ranks 1 on two test functions. It is obvious that IBOA has effectively outperformed some of the other techniques in most experimental functions. The IBOA method ranks 1 on 16 test functions, ranks 2 on two test functions and ranks 3 on one test function. It can be observed that in most functions (F3–F13, F17–F19). The WOA and TSA methods have better results on test functions than the PSO, BOA and SCA methods. For the ease benchmark functions, the IBOA method may not be the best, but it still yields a near-optimal solution. Furthermore, based on the Std. values reported in Table 3, it can be clearly shown that the suggested IBOA method has a higher level of reliability and accuracy compared to other optimization methods. IBOA achieves better results than BOA on 18 of the 19 tested functions in terms of Ave. and Std., indicating that the exploitation and exploration ability of BOA has been improved by the suggested three strategies. Overall, the IBOA method can produce satisfying global optimal solutions for 19 benchmark functions.
No. . | Item. . | PSO . | BOA . | SCA . | WOA . | TSA . | IBOA . |
---|---|---|---|---|---|---|---|
F1 | Ave. | 2.72 × 10–1 | 2.88 × 10–8 | 1.51 × 10–11 | 1.36 × 10–77 | 7.68 × 10–41 | 9.28 × 10–55 |
Std. | 4.16 × 10–1 | 1.14 × 10–8 | 3.38 × 10–11 | 4.10 × 10–77 | 1.57 × 10–40 | 2.88 × 10–54 | |
F2 | Ave. | 1.27 | 2.20 × 10–5 | 8.34 × 10–10 | 2.11 × 10–54 | 6.50 × 10–25 | 1.96 × 10–28 |
Std. | 8.81 × 10–1 | 3.32 × 10–6 | 1.06 × 10–9 | 3.34 × 10–54 | 6.11 × 10–25 | 4.35 × 10–28 | |
F3 | Ave. | 1.00 × 101 | 4.65 × 10–8 | 1.68 × 10–3 | 2.71 × 102 | 6.54 × 10–27 | 2.80 × 10–53 |
Std. | 1.73 × 101 | 2.49 × 10–8 | 4.41 × 10–3 | 2.70 × 102 | 8.71 × 10–27 | 8.20 × 10–53 | |
F4 | Ave. | 5.75 | 4.91 × 10–5 | 1.40 × 10–3 | 4.09 | 1.37 × 10–10 | 4.99 × 10–29 |
Std. | 4.77 | 7.72 × 10–6 | 2.10 × 10–3 | 9.70 | 1.60 × 10–10 | 1.33 × 10–28 | |
F5 | Ave. | 1.31 | 3.59 | 1.96 | 1.25 | 4.15 | 6.19 × 10–3 |
Std. | 1.88 | 1.93 × 10–1 | 3.20 × 10–1 | 6.31 × 10–1 | 3.71 | 9.84 × 10–3 | |
F6 | Ave. | 1.17 × 10–1 | 7.37 × 10–1 | 4.56 × 10–1 | 2.38 × 10–2 | 1.13 | 1.72 × 10–3 |
Std. | 1.56 × 10–1 | 2.99 × 10–1 | 1.87 × 10–1 | 7.30 × 10–2 | 4.73 × 10–1 | 3.38 × 10–3 | |
F7 | Ave. | 2.30 × 10–2 | 1.80 × 10–3 | 3.72 × 10–3 | 4.11 × 10–3 | 3.39 × 10–3 | 4.22 × 10–4 |
Std. | 1.48 × 10–2 | 7.69 × 10–4 | 4.49 × 10–3 | 3.16 × 10–3 | 2.11 × 10–3 | 2.95 × 10–4 | |
F8 | Ave. | 1.85 × 101 | 4.58 × 10–1 | 7.61 × 10–4 | 0.00 | 2.95 × 101 | 0.00 |
Std. | 6.82 | 1.44 | 1.71 × 10–3 | 0.00 | 1.49 × 101 | 0.00 | |
F9 | Ave. | 4.34 | 2.15 × 10–5 | 1.43 × 10–6 | 4.80 × 10–15 | 1.74 | 8.88 × 10–16 |
Std. | 2.46 | 4.13 × 10–6 | 2.85 × 10–6 | 2.62 × 10–15 | 1.84 | 0.00 | |
F10 | Ave. | 5.99 × 10–1 | 3.44 × 10–8 | 7.18 × 10–2 | 7.43 × 10–2 | 5.60 × 10–1 | 0.00 |
Std. | 2.95 × 10–1 | 4.95 × 10–8 | 1.11 × 10–1 | 1.35 × 10–1 | 2.00 × 10–1 | 0.00 | |
F11 | Ave. | 2.12 | 1.14 × 10–1 | 9.31 × 10–2 | 1.24 × 10–2 | 3.85 | 1.20 × 10–3 |
Std. | 2.14 | 5.07 × 10–2 | 3.28 × 10–2 | 1.37 × 10–2 | 3.93 | 3.37 × 10–3 | |
F12 | Ave. | 3.06 | 4.64 × 10–1 | 3.49 × 10–1 | 4.80 × 10–2 | 8.03 × 10–1 | 5.29 × 10–3 |
Std. | 3.66 | 1.14 × 10–1 | 7.63 × 10–2 | 6.71 × 10–2 | 3.73 × 10–1 | 6.35 × 10–3 | |
F13 | Ave. | 1.10 | 1.24 | 1.40 | 2.67 | 9.55 | 9.98 × 10–1 |
Std. | 3.14 × 10–1 | 3.75 × 10–1 | 8.36 × 10–1 | 3.26 | 5.88 | 8.34 × 10–11 | |
F14 | Ave. | 9.13 × 10–4 | 4.91 × 10–4 | 1.03 × 10–3 | 1.50 × 10–3 | 1.17 × 10–2 | 9.23 × 10–4 |
Std. | 2.45 × 10–4 | 1.04 × 10–4 | 3.53 × 10–4 | 3.62 × 10–3 | 2.39 × 10–2 | 2.48 × 10–4 | |
F15 | Ave. | 3.98 × 10–1 | 4.11 × 10–1 | 4.03 × 10–1 | 3.98 × 10–1 | 3.98 × 10–1 | 3.98 × 10–1 |
Std. | 0.00 | 2.54 × 10–2 | 6.38 × 10–3 | 7.19 × 10–6 | 3.03 × 10–5 | 3.81 × 10–9 | |
F16 | Ave. | 3.00 | 3.07 | 3.00 | 3.00 | 3.00 | 3.00 |
Std. | 1.70 × 10–15 | 6.91 × 10–2 | 1.26 × 10–4 | 2.32 × 10–5 | 6.25 × 10–3 | 2.70 × 10–14 | |
F17 | Ave. | –4.66 | –4.50 | –1.69 | –7.59 | –6.77 | –1.01 × 101 |
Std. | 3.06 | 2.79 × 10–1 | 1.53 | 2.68 | 3.52 | 2.43 × 10–1 | |
F18 | Ave. | –5.15 | –4.26 | –3.09 | –6.60 | –8.56 | –1.04 × 101 |
Std. | 3.64 | 2.95 × 10–1 | 1.85 | 3.36 | 3.07 | 1.20 × 10–2 | |
F19 | Ave. | –6.12 | –4.28 | –4.10 | –6.81 | –6.46 | –1.05 × 101 |
Std. | 3.82 | 2.77 × 10–1 | 1.45 | 3.13 | 4.15 | 4.02 × 10–4 |
No. . | Item. . | PSO . | BOA . | SCA . | WOA . | TSA . | IBOA . |
---|---|---|---|---|---|---|---|
F1 | Ave. | 2.72 × 10–1 | 2.88 × 10–8 | 1.51 × 10–11 | 1.36 × 10–77 | 7.68 × 10–41 | 9.28 × 10–55 |
Std. | 4.16 × 10–1 | 1.14 × 10–8 | 3.38 × 10–11 | 4.10 × 10–77 | 1.57 × 10–40 | 2.88 × 10–54 | |
F2 | Ave. | 1.27 | 2.20 × 10–5 | 8.34 × 10–10 | 2.11 × 10–54 | 6.50 × 10–25 | 1.96 × 10–28 |
Std. | 8.81 × 10–1 | 3.32 × 10–6 | 1.06 × 10–9 | 3.34 × 10–54 | 6.11 × 10–25 | 4.35 × 10–28 | |
F3 | Ave. | 1.00 × 101 | 4.65 × 10–8 | 1.68 × 10–3 | 2.71 × 102 | 6.54 × 10–27 | 2.80 × 10–53 |
Std. | 1.73 × 101 | 2.49 × 10–8 | 4.41 × 10–3 | 2.70 × 102 | 8.71 × 10–27 | 8.20 × 10–53 | |
F4 | Ave. | 5.75 | 4.91 × 10–5 | 1.40 × 10–3 | 4.09 | 1.37 × 10–10 | 4.99 × 10–29 |
Std. | 4.77 | 7.72 × 10–6 | 2.10 × 10–3 | 9.70 | 1.60 × 10–10 | 1.33 × 10–28 | |
F5 | Ave. | 1.31 | 3.59 | 1.96 | 1.25 | 4.15 | 6.19 × 10–3 |
Std. | 1.88 | 1.93 × 10–1 | 3.20 × 10–1 | 6.31 × 10–1 | 3.71 | 9.84 × 10–3 | |
F6 | Ave. | 1.17 × 10–1 | 7.37 × 10–1 | 4.56 × 10–1 | 2.38 × 10–2 | 1.13 | 1.72 × 10–3 |
Std. | 1.56 × 10–1 | 2.99 × 10–1 | 1.87 × 10–1 | 7.30 × 10–2 | 4.73 × 10–1 | 3.38 × 10–3 | |
F7 | Ave. | 2.30 × 10–2 | 1.80 × 10–3 | 3.72 × 10–3 | 4.11 × 10–3 | 3.39 × 10–3 | 4.22 × 10–4 |
Std. | 1.48 × 10–2 | 7.69 × 10–4 | 4.49 × 10–3 | 3.16 × 10–3 | 2.11 × 10–3 | 2.95 × 10–4 | |
F8 | Ave. | 1.85 × 101 | 4.58 × 10–1 | 7.61 × 10–4 | 0.00 | 2.95 × 101 | 0.00 |
Std. | 6.82 | 1.44 | 1.71 × 10–3 | 0.00 | 1.49 × 101 | 0.00 | |
F9 | Ave. | 4.34 | 2.15 × 10–5 | 1.43 × 10–6 | 4.80 × 10–15 | 1.74 | 8.88 × 10–16 |
Std. | 2.46 | 4.13 × 10–6 | 2.85 × 10–6 | 2.62 × 10–15 | 1.84 | 0.00 | |
F10 | Ave. | 5.99 × 10–1 | 3.44 × 10–8 | 7.18 × 10–2 | 7.43 × 10–2 | 5.60 × 10–1 | 0.00 |
Std. | 2.95 × 10–1 | 4.95 × 10–8 | 1.11 × 10–1 | 1.35 × 10–1 | 2.00 × 10–1 | 0.00 | |
F11 | Ave. | 2.12 | 1.14 × 10–1 | 9.31 × 10–2 | 1.24 × 10–2 | 3.85 | 1.20 × 10–3 |
Std. | 2.14 | 5.07 × 10–2 | 3.28 × 10–2 | 1.37 × 10–2 | 3.93 | 3.37 × 10–3 | |
F12 | Ave. | 3.06 | 4.64 × 10–1 | 3.49 × 10–1 | 4.80 × 10–2 | 8.03 × 10–1 | 5.29 × 10–3 |
Std. | 3.66 | 1.14 × 10–1 | 7.63 × 10–2 | 6.71 × 10–2 | 3.73 × 10–1 | 6.35 × 10–3 | |
F13 | Ave. | 1.10 | 1.24 | 1.40 | 2.67 | 9.55 | 9.98 × 10–1 |
Std. | 3.14 × 10–1 | 3.75 × 10–1 | 8.36 × 10–1 | 3.26 | 5.88 | 8.34 × 10–11 | |
F14 | Ave. | 9.13 × 10–4 | 4.91 × 10–4 | 1.03 × 10–3 | 1.50 × 10–3 | 1.17 × 10–2 | 9.23 × 10–4 |
Std. | 2.45 × 10–4 | 1.04 × 10–4 | 3.53 × 10–4 | 3.62 × 10–3 | 2.39 × 10–2 | 2.48 × 10–4 | |
F15 | Ave. | 3.98 × 10–1 | 4.11 × 10–1 | 4.03 × 10–1 | 3.98 × 10–1 | 3.98 × 10–1 | 3.98 × 10–1 |
Std. | 0.00 | 2.54 × 10–2 | 6.38 × 10–3 | 7.19 × 10–6 | 3.03 × 10–5 | 3.81 × 10–9 | |
F16 | Ave. | 3.00 | 3.07 | 3.00 | 3.00 | 3.00 | 3.00 |
Std. | 1.70 × 10–15 | 6.91 × 10–2 | 1.26 × 10–4 | 2.32 × 10–5 | 6.25 × 10–3 | 2.70 × 10–14 | |
F17 | Ave. | –4.66 | –4.50 | –1.69 | –7.59 | –6.77 | –1.01 × 101 |
Std. | 3.06 | 2.79 × 10–1 | 1.53 | 2.68 | 3.52 | 2.43 × 10–1 | |
F18 | Ave. | –5.15 | –4.26 | –3.09 | –6.60 | –8.56 | –1.04 × 101 |
Std. | 3.64 | 2.95 × 10–1 | 1.85 | 3.36 | 3.07 | 1.20 × 10–2 | |
F19 | Ave. | –6.12 | –4.28 | –4.10 | –6.81 | –6.46 | –1.05 × 101 |
Std. | 3.82 | 2.77 × 10–1 | 1.45 | 3.13 | 4.15 | 4.02 × 10–4 |
Bold values indicate best results.
Case 2: Applications in cascade reservoir operation
In this case, the operational aim is to maximize the total hydropower production of the cascade reservoir system in a year. Three typical inflow cases (wet year, normal year and dry year) are considered. Table 4 lists the statistics of hydropower output by six algorithms in 10 independent runs. The IBOA outperforms other algorithms in most statistical metrics of hydropower production. For instance, the worst solutions of IBOA are usually higher than the best solutions of other methods. Compared with PSO, BOA, SCA, WOA and TSA methods, the average hydropower production calculated by IBOA in the dry year is lifted by 0.5, 8.6, 4.7, 2 and 2%, respectively; whereas the improvements of the average production in the normal year are about 0.6, 11.2, 7.7, 1.9 and 0.6%, respectively. The IBOA method increases by 2.24, 18.97, 25.11, 1.43 and 0.57 hundred million kW h in contrary to the PSO, BOA, SCA, WOA and TSA methods, respectively. The lowest hydroelectric production was calculated using BOA and SCA methods for all runoff scenarios. In the dry year, the hydropower calculated by the PSO method is higher than the WOA and TSA methods. In the normal and wet years, the hydropower calculated by the TSA method is higher than the PSO and WOA methods. In addition, the standard deviation of IBOA is much smaller than those of the control methods. These statistical results demonstrate the search capability and convergence efficiency of IBOA are satisfactory when applied to cascade reservoir operation optimization problems.
Runoff . | Method . | Best . | Worst . | Ave. . | Std. . |
---|---|---|---|---|---|
Dry year | PSO | 323.26 | 320.05 | 322.32 | 1.22 |
BOA | 301.92 | 293.34 | 298.29 | 3.20 | |
SCA | 315.98 | 300.90 | 309.42 | 4.88 | |
WOA | 320.45 | 313.17 | 317.50 | 2.11 | |
TSA | 319.90 | 312.35 | 316.77 | 2.86 | |
IBOA | 323.92 | 323.75 | 323.86 | 0.05 | |
Normal year | PSO | 390.54 | 381.42 | 388.07 | 2.97 |
BOA | 358.95 | 338.90 | 351.17 | 5.47 | |
SCA | 376.74 | 354.28 | 362.41 | 6.15 | |
WOA | 389.52 | 368.10 | 383.04 | 6.15 | |
TSA | 388.76 | 386.55 | 388.09 | 0.86 | |
IBOA | 390.45 | 390.26 | 390.39 | 0.06 | |
Wet year | PSO | 413.73 | 408.01 | 411.50 | 2.20 |
BOA | 402.51 | 391.07 | 394.77 | 3.73 | |
SCA | 396.55 | 376.21 | 388.63 | 7.44 | |
WOA | 413.69 | 410.15 | 412.31 | 1.24 | |
TSA | 413.39 | 412.98 | 413.17 | 0.12 | |
IBOA | 413.75 | 413.73 | 413.74 | 0.01 |
Runoff . | Method . | Best . | Worst . | Ave. . | Std. . |
---|---|---|---|---|---|
Dry year | PSO | 323.26 | 320.05 | 322.32 | 1.22 |
BOA | 301.92 | 293.34 | 298.29 | 3.20 | |
SCA | 315.98 | 300.90 | 309.42 | 4.88 | |
WOA | 320.45 | 313.17 | 317.50 | 2.11 | |
TSA | 319.90 | 312.35 | 316.77 | 2.86 | |
IBOA | 323.92 | 323.75 | 323.86 | 0.05 | |
Normal year | PSO | 390.54 | 381.42 | 388.07 | 2.97 |
BOA | 358.95 | 338.90 | 351.17 | 5.47 | |
SCA | 376.74 | 354.28 | 362.41 | 6.15 | |
WOA | 389.52 | 368.10 | 383.04 | 6.15 | |
TSA | 388.76 | 386.55 | 388.09 | 0.86 | |
IBOA | 390.45 | 390.26 | 390.39 | 0.06 | |
Wet year | PSO | 413.73 | 408.01 | 411.50 | 2.20 |
BOA | 402.51 | 391.07 | 394.77 | 3.73 | |
SCA | 396.55 | 376.21 | 388.63 | 7.44 | |
WOA | 413.69 | 410.15 | 412.31 | 1.24 | |
TSA | 413.39 | 412.98 | 413.17 | 0.12 | |
IBOA | 413.75 | 413.73 | 413.74 | 0.01 |
Bold values indicate best results.
CONCLUSIONS
Cascade reservoirs’ optimal operation aims to determine the best water release strategy for the hydroelectric system, which is a nonlinear, high dimension and restricted optimization problem. To address this issue efficiently, massive metaheuristic optimization methods have been explored. BOA is a novel metaheuristic optimization algorithm which has not been used in reservoir optimization problems. As stated by the No Free Lunch (NFL) theorem (Wolpert & Macready 1997), no single algorithm can yield a superior outcome for all optimization problems or even for instances of the same problem. Therefore, the basic form of any metaheuristic algorithm, such as BOA, can be modified or hybridized to align with the problem-solving requirements (Makhadmeh et al. 2022). In this paper, an improved butterfly optimization method (IBOA) is developed to solve the optimization problem of cascade hydropower reservoirs. Three effective strategies are used in IBOA: the self-adaptive strategy to improve initial population, the dynamic switch strategy to balance exploration and exploitation, Levy-flight and standardized fragrance operators for position updating. Basically, through the statistics and analysis of the optimization results, the following conclusions are obtained: (1) The IBOA method is verified and compared with several famous evolutionary methods (PSO, SCA, WOA BOA and TSA) on 19 numerical functions. IBOA's performance is the most impressive, achieving the best results in 16 out of 19 test functions compared to the rest algorithms. (2) The IBOA method is used to solve hydropower production optimization of cascade reservoirs. Results show that compared to other algorithms (PSO, SCA, WOA BOA and TSA), the IBOA method can produce better scheduling schemes with higher total hydropower output under different inflow cases.
Hence, the IBOA is an alternative way of addressing the cascade reservoir operation problem. In addition, the involved parameters in IBOA can be further analyzed and the multi-objective versions of BOA can be investigated to solve multi-objective reservoir optimization operation issues.
ACKNOWLEDGEMENTS
This work was supported by the National Natural Science Foundation of China (41730750), the Fundamental Research Funds for the Central Universities (B210203076), and China Scholarship Council (202006710113).
AUTHOR CONTRIBUTIONS
Zhangling Xiao and Zhongmin Liang conceptualized the whole article, developed the methodology, supervised the work, wrote the article, performed the investigation, conducted funding acquisition, and helped with programming. Jian Wang, Binquan Li, Yiming Hu and Jun Wang reviewed the article, conducted format analysis and rendered support in data curation.
DATA AVAILABILITY STATEMENT
All relevant data are included in the paper or its Supplementary Information.
CONFLICT OF INTEREST
The authors declare there is no conflict.