Next Article in Journal
Dynamic Process and Damage Evaluation Subject to Explosion Consequences Resulting from a LPG Tank Trailer Accident
Previous Article in Journal
Ceramics for Building Structures Made from Contaminated Soils: A Fuzzy Logic Intelligence Approach to Circular Mining
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Using the Whale Optimization Algorithm to Solve the Optimal Reactive Power Dispatch Problem

School of Electrical and Optoelectronic Engineering, West Anhui University, Lu’an 237012, China
*
Author to whom correspondence should be addressed.
Processes 2023, 11(5), 1513; https://doi.org/10.3390/pr11051513
Submission received: 4 April 2023 / Revised: 12 May 2023 / Accepted: 13 May 2023 / Published: 16 May 2023

Abstract

:
The optimal reactive power dispatch (ORPD) is a complex, optimal non-meritorious control issue with continuous and discontinuous control variables. This article exhibits a whale optimization algorithm (WOA) motivated by the whale’s bubble-net hunting tactic to resolve ORPD. The intention is to comply with certain constraints to promote the voltage transmission quality by adequately altering the parameters. The WOA not only equalizes exploitation and exploration to maximize the overall performance and eliminate search stagnation but also has remarkable sustainability and robustness to accomplish superior convergence speed and computation accuracy. The WOA is contrasted with MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA by diminishing the fitness value to highlight the superiority and stability. The experimental results reveal that WOA exhibits a superior convergence level and computation precision to accomplish the minimum active power loss and superior control variables.

1. Introduction

The ORPD intends to raise voltage transfer quality, diminish the loss of transmission lines, lower operating costs and strengthen the stability of transmission lines [1,2,3,4,5]. The traditional approaches have some drawbacks when resolving the ORPD, such as significant inaccuracy, dimension curse, poor computing efficiency, high time consumption and combination explosion, so it is difficult to alter the discrete variables and acquire the exact solution. Stability illustrates the algorithm’s sensitivity to control parameters and problem data, and the algorithms utilize a set of fixed control parameters to resolve an optimization problem and obtain the best solution. Reliability illustrates the algorithm’s strong optimization ability and high calculation accuracy to resolve a design optimization problem, and a series of data comparative experiments ensure the reliability of the algorithms. Therefore, some swarm intelligence approaches have been advised to resolve the ORPD, such as the moth flame optimization (MFO) [6], bat algorithm (BA) [7], grasshopper optimization algorithm (GOA) [8], grey wolf optimization (GWO) [9], movable damped wave algorithm (MDWA) [10], slime mold algorithm (SMA) [11], student psychology based optimization (SPBO) [12] and salp swarm algorithm (SSA) [13].
PG et al. combined the properties of differential evolution and ant colonies to resolve the ORPD; this technique gained the complementary benefits to inhibit search stagnation and identify the best solution [14]. Da Silva et al. introduced a convex programming model to resolve the ORPD; this technique was practicable and workable [15]. Sharma et al. designed a backtracing-assisted elephant herding approach to resolve the ORPD; this technique utilized exploration and exploitation to generate less power loss [16]. Khan et al. utilized an altered marine predator algorithm to resolve the ORPD; this technique switched between exploitation and exploration to acquire better optimization results [17]. Abd-EI Wahab applied a modified water-based optimization method to resolve the ORPD; this technique had remarkable sustainability to accomplish superior convergence accuracy [18]. Saddique et al. established a sine–cosine approach to resolve the ORPD; this technique exhibited excellent resilience and stability to discover the finest results [19]. Zhou et al. submitted an accelerated augmented Lagrangian method to resolve the ORPD; this technique had strong stability to discover the ideal control variables and objective function value [20]. Niu et al. introduced an upgraded differential evolution to resolve the ORPD; this technique had a significant optimization ability to identify the ideal solution [21]. López et al. created a semidefinite relaxation approach to resolve the ORPD; this technique had certain validity and feasibility [22]. Khan et al. introduced a modified salp swarm technique to address the ORPD; the technique boosted population variety and broadened the search field to produce high computational accuracy [23]. Chen et al. utilized a combination of the co-evolution approach and bi-level planning to resolve the ORPD; this technique exhibited adequate reliability to decrease the active power loss [24]. Hosseini-Hemati et al. indicated a superior grey wolf optimization to resolve the ORPD; this technique conveyed excellent dependability to arrive at the finest global solution [25]. Davoodi et al. used a rapid semidefinite programming-based technique to resolve the ORPD; this technique had strong robustness to achieve better optimization results [26]. Yapici et al. deployed a pathfinder method to address the ORPD; this technique showed superior optimization results [27]. Suresh et al. utilized a self-balanced differential evolution algorithm to resolve the ORPD; this technique utilized exploration and exploitation to acquire the minimum active power loss [28]. Ebeed et al. suggested an upgraded lightning attachment procedure to resolve the ORPD; this technique balanced exploitation and exploration to discover the final solution [29]. Dai et al. created the distributed reinforcement learning algorithm to resolve the dynamic economic dispatch; this technique had certain effectiveness and robustness to obtain better parameters [30]. To summarize, these algorithms have some advantages for resolving the ORPD, such as strong search ability, high optimization efficiency, strong robustness, good parallelism and excellent scalability. The effectiveness and feasibility of these algorithms have been confirmed.
The WOA performs shrinkage encircling, bubble-net attacking and random searching to discover a suitable solution [31]. The WOA has some advantages for resolving the ORPD, such as simple implementation, small storage space, a fast convergence rate and great computation precision, which equalizes exploitation and exploration to disrupt premature convergence and identify superior convergence accuracy. The WOA is superior to MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA; the WOA has remarkable sustainability and robustness.
Section 2 summarizes the ORPD formulation. Section 3 displays the WOA. Section 4 proposes a WOA-based ORPD. Section 5 provides the simulation results and analysis. Lastly, the conclusions are analyzed and future research directions are discussed in Section 6.

2. ORPD Formulation

The ORPD is a complex, optimal non-meritorious control problem with continuous and discontinuous control variables, which has the remarkable characteristics of multiple constraints, multiple control variables and discreteness. The intention is to adjust the reactive equipment to acquire the best control variables and the lowest fitness value according to certain constraints [5,22,28]. The mathematical formula is expressed as:
min k N E P k l o s s = k N E g k × ( v i 2 + v j 2 2 × v i × v j × cos θ i j )
where P k l o s s denotes the active power loss of k branches, g k denotes the conductively of k branches, N E denotes all branches, θ i j denotes the voltage phase difference, v i denotes the voltage amplitude of the i node and v j denotes the voltage amplitude of j -node.
The power constraint equations (equality constraints) and the variable constraints (inequality constraints) make up the majority of the constraints in the ORPD. The equality constraints are known as the load flow limitations. The mathematical formulas are expressed as:
P g i P d i v i j = N i v j ( g i j cos θ i j + B i j sin θ i j ) = 0
Q g i Q d i v i j = N i v j ( g i j sin θ i j B i j cos θ i j ) = 0
where P g i and Q g i denote the i node’s active and reactive power, respectively, P d i and Q d i denote the i load node’s active power and the reactive power, respectively, g i j , B i j and θ i j denote the conductively, the susceptance and the voltage phase difference between i node and j node, respectively, and N i denotes a group of nodes that are linked to the i node.
The bound constraints are expressed as follows.
Reactive power constraint of each generator node:
Q g i , min Q g i Q g i , max , i N g
Node voltage safety constraint:
v i , min v i v i , max , i N B
Transformer tap position constraint:
T k , min T k T k , max , k N T
Reactive power compensation capacity constraint:
S l , min S l S l , max , l N L
where Q g i denotes the reactive power of the i node, Q g i , min = 0.90 and Q g i , max = 1.10 ; v i denotes the voltage amplitude of the i node, v i , min = 0.90 and v i , max = 1.10 ; T k denotes the transformer ratio, T k , min = 0.95 and T k , max = 1.05 ; S l denotes the reactive power compensation capacity, S l , min = 1 and S l , max = 20 ; and N g = 6 , N B = 22 , N T = 4 and N L = 3 denote the number of generators, load nodes, transformer adjustable taps and reactive power compensation nodes, respectively.
The purpose of optimization, while taking into account the system load parameters and structural factors, is to satisfy multiple equality and inequality requirements and identify the system’s ideal control variables to achieve the minimum active power loss [5]. Therefore, a penalty function is established to resolve the ORPD, and the augmented objective function is expressed as:
F P = k N E P k l o s s + k 1 × i = 1 N G f ( Q g i ) + k 2 × i = 1 N B f ( v i ) + k 3 × m = 1 N L f ( S l )
f ( x ) = 0 i f   x min x x max ( x x max ) 2 i f   x > x max ( x min x ) 2 i f   x < x min
where k 1 , k 2 and k 3 denote the penalty function coefficient, which is set to 10,000. x min and x max denote the value ranges of the generator.
The WOA is utilized to resolve the ORPD, which has significant robustness and stability to boost the convergence accuracy and realize the global finest value. For ORPD, the WOA can reasonably modify the switching of the reactive power compensation device and the terminal voltage of the generator to accomplish the optimization of the power system operating status, which minimizes active power loss, strengthens voltage quality and maintains the system reliability. The WOA has certain validity and reliability to resolve the ORPD.

3. WOA

The WOA imitates shrinkage encircling, bubble-net attacking and random searching to conduct exploitation and exploration. The WOA has the benefits of a straightforward structure, strong stability, good optimization ability and easy implementation [31]. In the WOA, each whale symbolizes a search agent, and the humpback whale refreshes its position to hunt prey.

3.1. Shrinkage Encircling

The WOA utilizes each whale’s foraging behavior to conduct a targeted search, which is beneficial for altering the position and discovering the ideal solution. In the WOA, the humpback whale utilizes a ‘9’ shaped path to observe and capture its intended prey. This route makes use of echolocation technology to efficiently convey a position and conduct a global search. Assuming that the target prey’s position and the ideal whale are the finest solutions to the optimization problem, the remaining humpback whales immediately condense and encircle the prey, and the position is expressed as:
D = C X ( t ) X ( t )
X ( t + 1 ) = X ( t ) A D
where t denotes the iteration, X denotes the optimal prey’s position and X denotes the prey’s position. A and C are two adjustable parameters, and they are expressed as:
A = 2 a r a
C = 2 r
a = 2 2 t / T
where r denotes a stochastic value in [0,1], a is decremented from 2 to 0 and T denotes the maximum iteration.

3.2. Bubble-Net Attacking

The bubble-net attack contains the rocking surrounding the predator–prey mechanism and the logarithmic spiral, bubble-net predator–prey mechanism. The rocking surrounding the predator–prey mechanism is implemented using Formula (14). The A is affected by a . The A is a random number between a and a , where a is decremented from 2 to 0. If A is in [−1,1], the whale will dynamically identify the location. The WOA utilizes a logarithmic spiral, bubble-net predator–prey mechanism to estimate the distance, and then the whale starts swimming rapidly toward the surface to capture the target prey by continuously spitting out a bubble-net of different sizes in the spiral trajectory. The position is expressed as:
D = X ( t ) X ( t )
X ( t + 1 ) = D e b l cos ( 2 π l ) + X ( t )
where D denotes the distance, l denotes a stochastic value in [ - 1 , 1 ] and b denotes a logarithmic spiral number.
In the WOA, the rocking surrounding the predator–prey mechanism makes the whale shrink, envelop and engulf the prey, and the logarithmic spiral, bubble-net predator–prey mechanism makes the individual whale spit bubbles, spiral motion and calculate the distance to hunt the prey. The probability that each mechanism will be chosen is 50%. The position is expressed as:
X ( t + 1 ) = X ( t ) A D i f   p < 0.5 D e b l cos ( 2 π l ) + X ( t ) i f   p 0.5
where p denotes a stochastic value in [ 0 , 1 ] .

3.3. Random Searching

If A > 1 , the whale swims beyond the shrinking, encircling circle of the bubble-net, and the humpback whale does not select the target prey to refresh its position. The humpback whale will haphazardly seek prey depending on the sharing of positional information among humpback whales. The WOA extends the search region, enhances the optimization ability, and avoids search stagnation. The position update is expressed as:
D = C X r a n d ( t ) X ( t )
X ( t + 1 ) = X r a n d ( t ) A D
where X r a n d denotes the random position vector of a humpback whale.
The pseudo-code for the WOA is described in Algorithm 1.
Algorithm 1: WOA
1. Initialize the whale population X; ⋯
2. Compute the fitness value of each whale;
3. Attain X ;
4. While ( t < T ), do;
5. For each whale, do;
6. Modify   p ,   l ,   a ,   A and   C ; ⋯
7. If ( p < 0.5 ) , then;
8. If ( A < 1 ) , then;
9. Modify the position using Equation (11) based on shrinkage encircling;
10. Else ( A 1 ) ;
11. Choose a stochastic whale X r a n d ;
12. Modify the position using Equation (19) based on random searching;
13. End;
14. Else ( p 0.5 ) ;
15. Modify the position by Equation (16) based on bubble-net attacking;
16. End;
17. End;
18. Validate if any whale exceeds the search area;
19. Compute the fitness value of each whale;
20. Modify X if a superior option is available;
21. Then, t = t + 1 ;
22. End;
23. Attain X .

4. WOA-Based ORPD

The WOA utilizes a shrinkage encircling mechanism, bubble-net attacking mechanism and random searching mechanism to resolve the ORPD. The intention is to acquire the ideal control variables and minimize active power loss.
The ORPD, which demands a reasonable approach to discrete variables, is resolved using the WOA. According to the coexistence characteristics of discrete variables and continuous variables, this paper uses the mixed coding method of integers and real numbers. The tap-changing transformers and the reactive compensation devices are both represented as integers. Real numbers are used to represent the continuously variable generator terminal voltage [5]. In the coding method of the WOA, the total coding length of the search agent is the quantity of the control variables. The power system contains n 1 generators, n 2 reactive compensation points and n 3 transformer branches, so the coding length is n = n 1 + n 2 + n 3 . The specific expression is expressed as:
X = [ V G | T | Q C ] = [ V G 1 , V G 2 , , V G 13 | T 6 9 , T 6 10 , , T 28 27 | Q C 3 , Q C 10 , Q C 24 ]
where V G 1 , V G 2 , V G 5 , V G 8 , V G 11 , V G 13 denote the generator bus voltages, T 6 9 , T 6 10 , T 4 12 , T 28 27 denote the tap ratios of transformers and Q C 3 , Q C 10 , Q C 24 denote the reactive power output of shunt compensators.
For discrete variables, some integers are obtained according to the mixed coding method. However, in practice, what the power system needs is the actual value of the control variable. The specific decoding form is expressed as:
T a p j = T a p j , min + T j × T s t e p B k = Q C k × C s t e p
where T s t e p denotes the transformer tap adjustment step size, C s t e p denotes the input capacitor step size, B k denotes the susceptance value of the compensation capacitor and T a p j denotes the transformer’s actual ratio.
Single binary coding can easily generate errors when dealing with the discretization of continuous variables. Hybrid coding can overcome this shortcoming, and the accuracy of the solution does not depend on the length of the encoded string, which has the advantage of accomplishing a greater solution accuracy in a larger search space. Hybrid coding has strong practicability and stability to reflect the various characteristics of the ORPD control variables.
The WOA-based ORPD is described in Algorithm 2. A flowchart for the ORPD is shown in Figure 1.
Algorithm 2: WOA-based ORPD
1. Input system data, bus data, line data and unit data. Establish control variables ( V G 1 , V G 2 , V G 5 , V G 8 , V G 11 , V G 13 , T 6 9 , T 6 10 , T 4 12 , T 28 27 , Q C 3 , Q C 10 , Q C 24 ) with bounds. Initialize the whale population X;
2. Map control variables, compute the fitness value of the whale using Equation (8) and attain the best X ;
3. While ( t < T ), do;
4. For each whale do;
5. Modify p ,   l ,   a ,   A   and   C ;
6. If ( p < 0.5 ) , then;
7. If ( A < 1 ) then;
8. Modify the position using Equation (11) based on shrinkage encircling;
9. Else ( A 1 ) ;
10. Choose a stochastic individual whale X r a n d ;
11. Modify the position using Equation (19) based on random searching;
12. End;
13. Else ( p 0.5 ) ;
14. Modify the position using Equation (16) based on bubble-net attacking;
15. End;
16. End;
17. Validate if any whale exceeds the search area;
18. Compute the fitness value of each whale using Equation (8);
19. Modify X if a superior option is available;
20. Then, t = t + 1 ;
21. End;
22. Attain X ;
23. Output the optimal active power loss.

Complexity Analysis

The WOA includes five operation stages: initialization, a bubble-net attacking mechanism (exploitation stage), a random searching mechanism (exploration stage), position iteration update and search stagnation judgment. If the population is N , the maximum is T , and the dimension is D . Initialization involves a duplicate circulation ( N and D times); it is O ( N D ) . The bubble-net attacking mechanism (exploitation stage), random searching mechanism (exploration stage) and position iteration update involve a tripe circulation ( N , D and T times); it is O ( N D T ) . The time complexity of search stagnation judgment is O ( 1 ) . The total time complexity is O ( N D T ) . For space complexity, the WOA has strong robustness and reliability, and the space complexity is O ( N D ) .

5. Experimental Results and Analysis

5.1. Experimental Setup

The simulation is established using a machine with an Intel Core i7-8750H 2.2 GHz CPU, a GTX1060 and 8 GB memory. All algorithms are written in MATLAB R2018b.

5.2. Parameter Selection

All control parameters are derived from some typical empirical values in the original article. The WOA is compared to various algorithms to confirm the overall optimization performance, such as MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA. The population size, maximum iteration and independent run for each algorithm are 50, 200 and 30, correspondingly. The parameter selection is displayed in Table 1.

5.3. Simulation Results and Analysis

For the IEEE 30-bus system, the generator voltages are located at nodes 1, 2, 5, 8, 11 and 13, where node 1 denotes the equilibrium node, nodes 2, 5, 8, 11 and 13 denote the PV nodes and the rest of the nodes denote the PQ nodes. The generator voltage is in [0.90, 1.10]. The tap locations in tap changing transformers are located at nodes 6–9, 6–10, 4–12 and 27–28, the adjustable ratio is in [0.95, 1.05]. The reactive compensation devices are located at nodes 3, 10 and 24, which are in [1,20]. The control variables are displayed in Table 2.
Some evaluation criteria are adopted to depict superiority and resilience. The ranking is based on the std. The results of the ORPD are displayed in Table 3.
The WOA is used to resolve the ORPD, and the intention is to comply with certain constraints to promote the voltage transmission quality by adequately altering the parameters. The shrinkage encircling refreshes the whale’s position according to the prey’s position. The bubble-net attack enhances the regional ability to establish the accurate finest objective value. Random searching promotes the global optimization ability to eliminate premature convergence. Three mechanisms balance exploitation and exploration to attain the ideal solution. Compared with MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA, the WOA obtains better control variable values and a smaller total active power loss, which indicates that the WOA exhibits tremendous durability and resilience when resolving the complex optimization problem. The algorithm’s total optimization performance can be directly influenced by the ideal objective value. The ideal value of the WOA is superior to those of MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA, which indicates that WOA has a productive exploration when resolving the ORPD. The optimization values of the WOA are superior to those of other algorithms, and the WOA has exceptional adaptability and optimization ability. The WOA has minimum standard deviation across all algorithms and is ranked top. The WOA integrates exploitation and exploration to recognize the appropriate solution, which is a reliable and stable method for resolving the ORPD.
The convergence curves of the algorithms are described in Figure 2. The WOA has significant abilities in exploitation, exploration and optimization. Compared with MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA, the WOA has a superior convergence accuracy. The WOA has significant dependability and durability to efficiently discover the ideal solution in the space. The ANOVA test of the algorithms is described in Figure 3. The algorithm with a lower standard deviation is more stable. The standard deviation of the WOA is superior to MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA, and the WOA has tremendous stability. To summarize, the WOA has a certain superiority and robustness for determining the best solution.
The simulation results for computational time are displayed in Table 4. The histogram of computational time is described in Figure 4. For the computational time, MFO is 159 s, BA is 62 s, GOA is 62 s, GWO is 104 s, MDWA is 111 s, SMA is 107 s, SPBO is 71 s, SSA is 109 s and the WOA is 58 s. The computational time for the WOA is superior to MFO, BA, GOA, GWO, MDWA, SMA, SPBO, and SSA. Thus, the WOA uses less time to resolve the ORPD, which indicates that the WOA has a quick optimization speed and potent overall search ability. The Wilcoxon rank test is used to determine if there is a noticeable distinction [32], where a p-value under 0.05 indicates a noticeable distinction and a p-value above 0.05 indicates no noticeable distinction. The p-value results are displayed in Table 5. The data between the WOA and other algorithms are less than 0.05, which indicates that the data are authentic and trustworthy, and the data are not generated randomly.
Statistically, the WOA is utilized to address the ORPD for the following factors. First, the optimization process of the WOA is simple, the control parameters are quite good, the time and space complexity are small and the algorithm operation and implementation are easy. The WOA has an excellent optimization ability to identify the best solution, which is advantageous for averting premature convergence and search stagnation and accomplishing the optimization problem. Second, the WOA has a unique bubble-net attacking mechanism including the rocking surrounding the predator–prey mechanism and the logarithmic spiral, bubble-net predator–prey mechanism. The WOA estimates the separation between the whale and the prey, and then the whale starts swimming quickly towards the surface to capture the target prey by repeatedly spitting out a bubble net of various sizes in a spiral trajectory. The distinctive position update mechanism promotes overall effectiveness and accelerates the convergence rate. Third, A is a fundamental tuning parameter that allows for switching between exploration and exploitation. If A 1 , the WOA utilizes the bubble-net attacking mechanism to shrink and surround the prey, which promotes the local search. The rocking surrounding the predator–prey mechanism makes the individual whale shrink, envelop and swallow the prey, and the logarithmic spiral, bubble-net predator–prey mechanism makes the individual whale spit bubbles, spiral motion and calculate the distance to hunt the prey. If A > 1 , the whale updates its current position according to peer-to-peer exchanges of position information, which promotes the global search.

6. Conclusions and Future Research

The ORPD is a complex, optimal non-meritorious control problem with continuous and discontinuous control variables. In this paper, the WOA is used to resolve the ORPD, the intention is to establish the ideal control factors and diminish the entire active power loss. The WOA utilizes three search mechanisms of shrinkage encircling, bubble-net attacking and random searching to promote the overall search performance and expand the solution’s optimization efficiency. The WOA has some advantages including simple implementation, small storage space, a fast convergence rate, great calculation accuracy and strong robustness. The WOA not only has remarkable reliability and dependability for accomplishing a superior convergence rate and computation precision but also utilizes exploitation and exploration to attain the finest solution. Compared to MFO, BA, GOA, GWO, MDWA, SMA, SPBO and SSA, the WOA has a substantial exploration to avert search stagnation. The WOA has a quicker convergence level, greater computation accuracy, lower active power loss and superior stability. The WOA is a feasible and effective approach for resolving the ORPD.
In future research, the WOA will be confirmed from two aspects. First, the WOA will be used to resolve the 57 bus and 118 bus test power systems, which will be conducive to further verify the reliability and sustainability of the WOA. Second, implementing effective search strategies, adopting unique coding techniques or combining them with other intelligence algorithms will furnish complementary benefits and promote the general search ability.

Author Contributions

Conceptualization, J.Z., T.Z., G.Z., D.W. and M.K.; methodology, J.Z., T.Z. and G.Z.; software, J.Z., D.W. and M.K.; validation, J.Z. and D.W.; formal analysis, J.Z., T.Z. and M.K.; investigation, J.Z., T.Z. and G.Z.; resources, J.Z. and M.K.; data curation, J.Z., T.Z and D.W.; writing—original draft preparation, J.Z.; writing—review and editing, J.Z. and T.Z.; visualization, J.Z., D.W. and G.Z.; supervision, G.Z., D.W. and M.K.; project administration, J.Z., T.Z., G.Z., D.W. and M.K.; funding acquisition, J.Z., T.Z., G.Z., D.W. and M.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partially funded by the Start-up Fund for Distinguished Scholars of West Anhui University under Grant Nos. 00701092334 and 00701092336, the Scientific Research Projects of Universities in Anhui Province under Grant Nos. 2022AH051674 and 2022AH040241, the University Synergy Innovation Program of Anhui Province under Grant No. GXXT-2021-026 and the Smart Agriculture and Forestry and Smart Equipment Scientific Research and Innovation Team (Anhui Undergrowth Crop Intelligent Equipment Engineering Research Center) under Grant No. 2022AH010091.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data used to support the findings of this study are included within the article.

Acknowledgments

The authors would like to thank the editor and anonymous reviewers for their helpful comments and suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bingane, C.; Anjos, M.F.; Le Digabel, S. Tight-and-Cheap Conic Relaxation for the Optimal Reactive Power Dispatch Problem. IEEE Trans. Power Syst. 2019, 34, 4684–4693. [Google Scholar] [CrossRef]
  2. Alghamdi, A.S. A New Self-Adaptive Teaching–Learning-Based Optimization with Different Distributions for Optimal Reactive Power Control in Power Networks. Energies 2022, 15, 2759. [Google Scholar] [CrossRef]
  3. ElSayed, S.K.; Elattar, E.E. Slime Mold Algorithm for Optimal Reactive Power Dispatch Combining with Renewable Energy Sources. Sustainability 2021, 13, 5831. [Google Scholar] [CrossRef]
  4. Shanono, I.H.; Muhammad, A.; Abdullah, N.R.H.; Daniyal, H.; Tiong, M.C. Optimal Reactive Power Dispatch: A Bibliometric Analysis. J. Electr. Syst. Inf. Technol. 2021, 8, 1. [Google Scholar] [CrossRef]
  5. Zhou, Y.; Zhang, J.; Yang, X.; Ling, Y. Optimal Reactive Power Dispatch Using Water Wave Optimization Algorithm. Oper. Res. 2020, 20, 2537–2553. [Google Scholar] [CrossRef]
  6. Mirjalili, S. Moth-Flame Optimization Algorithm: A Novel Nature-Inspired Heuristic Paradigm. Knowl.-Based Syst. 2015, 89, 228–249. [Google Scholar] [CrossRef]
  7. Yang, X.-S. Bat Algorithm: Literature Review and Applications. arXiv 2013, arXiv:13083900. [Google Scholar] [CrossRef]
  8. Saremi, S.; Mirjalili, S.; Lewis, A. Grasshopper Optimisation Algorithm: Theory and Application. Adv. Eng. Softw. 2017, 105, 30–47. [Google Scholar] [CrossRef]
  9. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey Wolf Optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  10. Rizk-Allah, R.M.; Hassanien, A.E. A Movable Damped Wave Algorithm for Solving Global Optimization Problems. Evol. Intell. 2019, 12, 49–72. [Google Scholar] [CrossRef]
  11. Li, S.; Chen, H.; Wang, M.; Heidari, A.A.; Mirjalili, S. Slime Mould Algorithm: A New Method for Stochastic Optimization. Future Gener. Comput. Syst. 2020, 111, 300–323. [Google Scholar] [CrossRef]
  12. Das, B.; Mukherjee, V.; Das, D. Student Psychology Based Optimization Algorithm: A New Population Based Optimization Algorithm for Solving Optimization Problems. Adv. Eng. Softw. 2020, 146, 102804. [Google Scholar] [CrossRef]
  13. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A Bio-Inspired Optimizer for Engineering Design Problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  14. PG, A.K.; Devaraj, D. Hybrid CAC-DE in Optimal Reactive Power Dispatch (ORPD) for Renewable Energy Cost Reduction. Sustain. Comput. Inform. Syst. 2022, 35, 100688. [Google Scholar] [CrossRef]
  15. da Silva, M.V.; Ortiz, J.M.H.; Pourakbari-Kasmaei, M.; Mantovani, J.R.S. Convex Formulation for Optimal Active and Reactive Power Dispatch. IEEE Lat. Am. Trans. 2022, 20, 787–798. [Google Scholar] [CrossRef]
  16. Sharma, S.; Sabitha, B.; Prabhakaran, A.; Chavan, M.; Srivastava, R. A Hybrid Swarm Intelligence Approach for Resolving Reactive Power Dispatch Issues in Power System: Optimal Placement and Sizing of UPFC. Adv. Eng. Softw. 2022, 170, 103149. [Google Scholar] [CrossRef]
  17. Khan, N.H.; Jamal, R.; Ebeed, M.; Kamel, S.; Zeinoddini-Meymand, H.; Zawbaa, H.M. Adopting Scenario-Based Approach to Solve Optimal Reactive Power Dispatch Problem with Integration of Wind and Solar Energy Using Improved Marine Predator Algorithm. Ain Shams Eng. J. 2022, 13, 101726. [Google Scholar] [CrossRef]
  18. Abd-El Wahab, A.M.; Kamel, S.; Hassan, M.H.; Mosaad, M.I.; AbdulFattah, T.A. Optimal Reactive Power Dispatch Using a Chaotic Turbulent Flow of Water-Based Optimization Algorithm. Mathematics 2022, 10, 346. [Google Scholar] [CrossRef]
  19. Saddique, M.S.; Habib, S.; Haroon, S.S.; Bhatti, A.R.; Amin, S.; Ahmed, E.M. Optimal Solution of Reactive Power Dispatch in Transmission System to Minimize Power Losses Using Sine-Cosine Algorithm. IEEE Access 2022, 10, 20223–20239. [Google Scholar] [CrossRef]
  20. Zhou, B.; Shen, X.; Pan, C.; Bai, Y.; Wu, T. Optimal Reactive Power Dispatch under Transmission and Distribution Coordination Based on an Accelerated Augmented Lagrangian Algorithm. Energies 2022, 15, 3867. [Google Scholar] [CrossRef]
  21. Niu, M.; Xu, N.Z.; Dong, H.N.; Ge, Y.Y.; Liu, Y.T.; Ngin, H.T. Adaptive Range Composite Differential Evolution for Fast Optimal Reactive Power Dispatch. IEEE Access 2021, 9, 20117–20126. [Google Scholar] [CrossRef]
  22. Constante F., S.G.; López, J.C.; Rider, M.J. Optimal Reactive Power Dispatch with Discrete Controllers Using a Branch-and-Bound Algorithm: A Semidefinite Relaxation Approach. IEEE Trans. Power Syst. 2021, 36, 4539–4550. [Google Scholar]
  23. Khan, N.H.; Wang, Y.; Tian, D.; Jamal, R.; Kamel, S.; Ebeed, M. Optimal Siting and Sizing of SSSC Using Modified Salp Swarm Algorithm Considering Optimal Reactive Power Dispatch Problem. IEEE Access 2021, 9, 49249–49266. [Google Scholar] [CrossRef]
  24. Chen, Q.; Wang, W.; Wang, H. Optimal Reactive Power Dispatch and Distributed Generation Placement Based on a Hybrid Co-Evolution Algorithm and Bi-Level Programming. Int. Trans. Electr. Energy Syst. 2021, 31, e13246. [Google Scholar] [CrossRef]
  25. Hosseini-Hemati, S.; Sheisi, G.H.; Karimi, S. Allocation-Based Optimal Reactive Power Dispatch Considering Polynomial Load Model Using Improved Grey Wolf Optimizer. Iran. J. Sci. Technol. Trans. Electr. Eng. 2021, 45, 921–944. [Google Scholar] [CrossRef]
  26. Davoodi, E.; Babaei, E.; Mohammadi-Ivatloo, B.; Rasouli, M. A Novel Fast Semidefinite Programming-Based Approach for Optimal Reactive Power Dispatch. IEEE Trans. Ind. Inform. 2019, 16, 288–298. [Google Scholar] [CrossRef]
  27. Yapici, H. Solution of Optimal Reactive Power Dispatch Problem Using Pathfinder Algorithm. Eng. Optim. 2021, 53, 1946–1963. [Google Scholar] [CrossRef]
  28. Suresh, V.; Kumar, S.S. Optimal reactive power dispatch for minimization of real power loss using SBDE and DE-strategy algorithm. J. Ambient Intell. Humaniz. Comput. 2020, 1–15. [Google Scholar] [CrossRef]
  29. Ebeed, M.; Ali, A.; Mosaad, M.I.; Kamel, S. An Improved Lightning Attachment Procedure Optimizer for Optimal Reactive Power Dispatch with Uncertainty in Renewable Energy Resources. IEEE Access 2020, 8, 168721–168731. [Google Scholar] [CrossRef]
  30. Dai, P.; Yu, W.; Wen, G.; Baldi, S. Distributed Reinforcement Learning Algorithm for Dynamic Economic Dispatch with Unknown Generation Cost Functions. IEEE Trans. Ind. Inform. 2019, 16, 2258–2267. [Google Scholar] [CrossRef]
  31. Mirjalili, S.; Lewis, A. The Whale Optimization Algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  32. Wilcoxon, F. Individual Comparisons by Ranking Methods. In Breakthroughs in Statistics; Springer: New York, NY, USA, 1992; pp. 196–202. [Google Scholar]
Figure 1. Flowchart showing the ORPD.
Figure 1. Flowchart showing the ORPD.
Processes 11 01513 g001
Figure 2. Convergence curve of the algorithms.
Figure 2. Convergence curve of the algorithms.
Processes 11 01513 g002
Figure 3. ANOVA tests of the algorithms.
Figure 3. ANOVA tests of the algorithms.
Processes 11 01513 g003
Figure 4. Histogram showing computational time.
Figure 4. Histogram showing computational time.
Processes 11 01513 g004
Table 1. Parameter selection.
Table 1. Parameter selection.
AlgorithmParameterValue
MFO The constant of logarithmic spiral b 1
Stochastic value t [−1,1]
Convergence value r [−2,−1]
BA Pulse frequency f [0,2]
Echo loudness A 0.25
Decreasing value γ 0.5
GOAStochastic value r 1 [0,1]
Stochastic value r 2 [0,1]
Stochastic value r 3 [0,1]
Intensity attraction f 0.5
Attractive length scale l 1.5
Gravitational constant g 9.8
The maximum c max 1
The minimum c min 0.00001
GWO Convergence factor α [0,2]
Stochastic value r 1 [0,1]
Stochastic value r 2 [0,1]
Coefficient vector A [−1,1]
Coefficient vector C [0,2]
MDWAA constant a max 1
A constant a min 0
Cycle value γ 1,−2,2
Constant value α 1
Constant value β 1
SMAStochastic value r [0,1]
Stochastic value r a n d [0,1]
Coefficient vector v c [−1,1]
Constant value z 0.03
SPBOStochastic value r a n d [0,1]
Constant value k 1 or 2
SSAStochastic value c 1 [0,1]
Stochastic value c 2 [0,1]
Stochastic value c 3 [0,1]
Stochastic value v 0 0
WOAStochastic value r [0,1]
Convergence factor α [0,2]
Constant coefficient b 1
Stochastic value l [−1,1]
Stochastic value p [0,1]
Stochastic value A [−1,1]
Table 2. Control variables.
Table 2. Control variables.
Control VariablesMinMaxType
Generator node0.901.10Continuous
Load node0.901.10Continuous
Transformer—tap0.951.05Discrete
Shunt reactive compensator120Discrete
Table 3. Results of the ORPD.
Table 3. Results of the ORPD.
VariablesMFOBAGOAGWOMDWASMASPBOSSAWOA
V G 1 1.04500.92351.06541.03151.07941.02080.92971.09241.0162
V G 2 0.93661.00961.09940.97811.05191.06821.07061.04480.9880
V G 5 0.92571.06431.01180.96150.94891.07540.97310.99710.9643
V G 8 0.94930.90021.04411.09531.06911.07240.98501.02971.0249
V G 11 1.03911.03140.99650.94771.05891.04951.06170.94290.9804
V G 13 1.07171.03751.07110.97481.09691.09810.92781.07901.0063
T 6 9 0.98811.00871.02340.98090.98320.96001.01021.00470.9933
T 6 10 1.04070.98640.97990.97940.97621.01781.01081.03370.9692
T 4 12 1.00040.99060.96940.99160.96400.95901.04760.99830.9576
T 27 28 1.04080.99541.00171.03241.01920.96781.01000.95100.9769
Q C 3 14.0959.921314.21111.2941.44727.50777.34189.249418.942
Q C 10 8.187713.83919.01917.1055.32072.41514.60449.594519.591
Q C 24 5.50781.15545.077612.1141.89698.040214.929215.3167.6008
Best17.131117.013516.732916.545116.175216.305018.981317.132716.1729
Worst44.078351.699019.762418.675918.757619.981858.223820.730318.1128
Mean25.339729.704418.526117.620317.242517.840929.778318.575817.1024
Std6.96307.43020.78340.54510.68570.92417.84690.78060.5234
Rank785236941
Table 4. Simulation results for computational time (seconds).
Table 4. Simulation results for computational time (seconds).
AlgorithmMFOBAGOAGWOMDWASMASPBOSSAWOA
Computational time 15962621041111077110958
Table 5. p-value results.
Table 5. p-value results.
AlgorithmMFOBAGOAGWOMDWASMASPBOSSA
p-value 1.96 × 10 10 2.87 × 10 10 1.85 × 10 8 6.20 × 10 4 6.20 × 10 1 9.52 × 10 4 3.02 × 10 11 3.20 × 10 9
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Zhang, J.; Zhang, T.; Zhang, G.; Wang, D.; Kong, M. Using the Whale Optimization Algorithm to Solve the Optimal Reactive Power Dispatch Problem. Processes 2023, 11, 1513. https://doi.org/10.3390/pr11051513

AMA Style

Zhang J, Zhang T, Zhang G, Wang D, Kong M. Using the Whale Optimization Algorithm to Solve the Optimal Reactive Power Dispatch Problem. Processes. 2023; 11(5):1513. https://doi.org/10.3390/pr11051513

Chicago/Turabian Style

Zhang, Jinzhong, Tan Zhang, Gang Zhang, Duansong Wang, and Min Kong. 2023. "Using the Whale Optimization Algorithm to Solve the Optimal Reactive Power Dispatch Problem" Processes 11, no. 5: 1513. https://doi.org/10.3390/pr11051513

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop