1. Introduction
Energy resources are scarce and deficit; as a result, the optimization of available resources is necessary. Research in electrical power systems is a developing field. An electric power system’s operation, economy, and quality are tightly linked to reactive power compensation. Consumer loads include both active and reactive demand. Active demand is for useful energy. Reactive demand must be managed efficiently to deliver active power efficiently, improve power quality, release system capacity, improve system stability, reduce system losses, reduce voltage deviation, and improve the system power factor [
1,
2]. Reactive power management is always a main concern for utilities in order to improve system security and operation; hence, optimum reactive power dispatch (ORPD) has appeared as an important solution [
3].
RPD optimization is defined as a mixed-integer, non-linear problem used to adjust the electric power system control parameters subjected to equality and inequality constraints to enhance the stability, security, and efficiency of the power network to provide the best economic operations. These parameters may be discreet, such as reactive power compensation and transformer tap settings, or continuous, such as generator bus voltages [
4,
5]. ORPD has been solved using different algorithms such as traditional methods and meta-heuristics optimization algorithms. Traditional methods such as linear and nonlinear programming, quadratic programming method, and the gradient method fail to obtain accurate results, especially for discrete variable problems. Meta-heuristics optimization algorithms, which improve calculation accuracy and increase convergence speed, include particle swarm optimization (PSO), flower pollination algorithm (FPA), sine cosine algorithm (SCA), water wave optimization (WWO), bat algorithm (BA), and many others [
6]. Meta-heuristics algorithms are used to approximate solutions to complicated optimization problems without having complete information about the problem. They have been applied in many fields of life. Meta-heuristics include the exploration and exploitation phases. The balance between these two phases determines the efficiency of the algorithm [
7].
Optimization algorithms have been provided as a magical solution in order to achieve the most beneficial results of any system. They have been applied not only in engineering, but also in many other applications, such as statistical, social, agricultural, and medical. Optimization techniques have been applied in power systems to improve system performance, decrease power losses, and reduce voltage flickers. They have been applied in a variety of electrical network parts, generation, transmission, and distribution. For instance, they have been used to optimize power flow [
8,
9,
10], size, and location of a DG connected to a grid [
11,
12,
13,
14,
15,
16].
RPD has been optimized according to a variety of objective functions such as power loss minimization, enhanced voltage profile, maximized voltage stability index, and cost optimization. Single- and multi-objective functions have been applied with the aim of enhanced system stability and security. Different optimization techniques have been tested for different types of test systems. Small and large test systems with differing numbers of control variables have been tested in optimizing RPD. ORPD has been widely tested for an IEEE 30 bus system with 19 variables as in [
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30]. ORPD has been tested for an IEEE 118 bus system with 77 control variables as in [
17,
18,
21,
22,
24,
29,
30]. ORPD has been tested for an IEEE 57 bus system with 25 control variables as in [
17,
20,
22,
25,
29]. ORPD has been tested for an IEEE 300 bus system with 190 control variables as in [
5,
18,
21]. ORPD has been tested for an IEEE 14 bus system with 9 variables as in [
3,
5,
24,
31]. ORPD has been tested for an IEEE 30 bus system with 13 variables as in [
17,
23,
25,
27,
28,
31].
A hybrid optimization technique is a combination of two or more optimization algorithms. It aims to enhance the performance of the original algorithm. This could be executed by achieving a balance between exploration and exploitation, which prevents the original algorithm from being trapped into local optima [
12]. GAEO is a new hybrid technique created by the authors of [
32]. GAEO is a combination of two algorithms, a genetic algorithm (GA) and an equilibrium optimizer (EO). It has been successfully applied to optimize the size and location of distributed generators (DG) based on single and multi-objective functions [
32].
The RPD problem has been studied for many years; however, this topic still gathers the attention of the power system industry and researchers. The RPD problem derives its importance from the need to secure the operation of power systems by decreasing power losses and increasing system efficiency. The main contributions of this paper can be summarized as follows:
Solving the RPD problem using a new algorithm, GAEO, for the first time as far as the authors know based on literature review.
The validity of the GAEO algorithm for minimizing power loss is investigated and compared with results of other techniques.
GAEO is applied to optimize the RPD problem for the first time on three test systems: IEEE14-bus, IEEE-30bus, and IEEE57-bus.
This paper is organized as follows: a literature review is provided as an introduction for this research, the second section introduces GAEO, the third section introduces a detailed model of the operating system, the fourth section introduces the mathematical model and procedure of the proposed algorithm, results and discussions are then introduced, and finally, the conclusion and references are provided.
2. Hybrid Genetic Algorithm Equilibrium Optimizer (GAEO)
Evolutionary algorithms have been applied to optimize complicated problems for many years. GA is one of these widespread evolutionary algorithms. GA gained its popularity due to the simplicity of implementation and its efficiency. It is a local search technique inspired from Darwinian evolutionary theory using selection, crossover, and mutation techniques. These three techniques can be explained briefly as follows: Selection means that the best generation (solution) will move on to the next step. Crossover means generating improved and new generations, referred to as parents. Mutations allow a new generation to have different characteristics compared to their parents [
32,
33].
The equilibrium optimizer (EO) was introduced by Farmarzi in 2020. EO is inspired by the estimation of dynamic and equilibrium states determined through controlling volume mass balance models. Each particle works as a search agent; i.e., particles represent solutions and particles’ concentrations represent position. Each particle updates its concentration according to the best solution so far (equilibrium candidates) until it reaches optimal results (equilibrium state). To apply the EO algorithm, it requires three main steps. First is initialization, which means the initial concentration vector is randomly created using a large number of particles. Second, candidates are selected for an equilibrium pool. An EO is used to observe the equilibrium state through determining four best particles so far (to improve exploration) plus the arithmetic mean of them (to improve exploitation). These five particles make up what is called the equilibrium pool. Third, adjusting the concentration level enables EO to make balance between both exploration and exploitation [
32,
34].
The main question here is why to hybridize GA and EO. In order to understand things correctly, we must be aware of two aspects, exploitation and exploration. Exploitation requires that the algorithm search for better solutions by browsing the bounding region. On the other hand, exploration requires scanning the whole search space efficiently. In order to obtain a better solution, both exploration and exploitation must be balanced. An EO algorithm can be easily trapped into local optima, which means that EO is more exploitive. On the other hand, GA is more explorative. Therefore, hybridization between these two algorithms would provide a new and powerful algorithm [
32].
4. Modeling and Implementation of GAEO Algorithm
The hybrid GAEO algorithm has been applied to improve the performance of electrical networks by optimizing RPD. The working mechanism for GAEO can be introduced briefly in a few lines. Firstly, power system data and operating parameters of GAEO are provided. Then, the initial population is randomly created by EO, which is passed to GA (crossover and mutation) to select the best half of the population and update the location of the other half of the population. Then, EO is applied to determine the best candidate solution. Finally, the best solution of each cycle is updated. The flow chart and procedures of the GAEO algorithm are illustrated by
Figure 1 [
32].
To provide the optimum solution, GAEO requires some steps that can mainly be categorized into two parts, initialization and main loop, each of which consists of many steps. A complete discussion of the GAEO algorithm mechanism can be explained by twelve steps as follows.
4.1. Initialization
Step 1: Provide data for a power system including, bus data, lines data, generators, tap transformers, compensation capacitors, and the network configuration.
Step 2: Provide the control parameters of EO and GA.
Step 3: Adjust the iteration counter to zero as illustrated by Equation (16) and then randomly creating the initial population by the EO algorithm in search space [
. Then, the initial best solution is selected according to the sorting position and the fitness of each particle as expressed by Equation (17).
where
is the concentration of
i particles at starting, and
,
are upper and lower limits respectively.
, is a uniform random value lies between 0 and 1 (
).
4.2. Main Loop
The main loop includes three phases, which illustrate the main operation of both algorithms and the role of each one of them in optimizing RPD.
4.2.1. Using GA (Crossover and Mutations)
Step 4: Choose the first half of the population obtained from step 3 and passing to the GA algorithm. The performance of the GA algorithm mainly depends on the size of the population (fitness) to reduce the complexity of the EO algorithm.
Step 5: Use the GA algorithm after performing pairing and mating through single point crossover, once the new population has been modified or mutated.
Step 6: Calculate the positions and fitness of each chromosome using the GA algorithm.
Step 7: Select the best half of the population members of EO and then update the location of the other half using GA crossover.
4.2.2. Using EO on the Best Half Population Members
Step 8: Use EO to evaluate the fitness function of the particles. Then, determine the equilibrium candidates through sorting as illustrated by Equation (18).
where the equilibrium state vector is denoted by
, the four best particles so far, identified through the whole optimization process, are denoted by
, and the first four candidate solutions’ mean value is denoted by
.
These solutions are assumed to be approximate equilibrium states.
4.2.3. Balancing of Both Exploration and Exploitation
Exploitation and exploration are balanced through the exponential term
vector, which is represented by Equation (19).
where the turnover rate is denoted by
, and t is the time which defined as a function of iteration (Iter) expressed by Equation (20).
where
and are is the current iterations and
is the maximum number of iterations and a
2 is the exploitation ability control variables. The value of the
is expressed by Equation (21).
where r is a uniform random vector
[0, 1], a1 is the exploration ability control variables, and the direction of exploration and exploitation is affected by
.
Substitute from Equation (18) into Equation (16), so the exponential term
can be expressed by Equation (22).
EO using generation rate factor
to improve the exploitation phase as expressed by Equation (23).
where is a constant and
is the initial value which can be calculated using Equation (24).
The generation rate is controlled using
which is the generation possibility to contribute during the position update process. The concentration (P) can by defined as follows using Equation (26).
where V is the control volume and considered as unit.
Step 9: Evaluate the fitness of an old population and the new population every cycle.
Step 10: Sort the new and old population according to the fitness function and then create the new population.
Step 11: Update the iteration number.
Step 12: Check for stop condition, else go to step 5.
4.3. Adjusting Operating Parameters
GAEO, like many other hybrid optimization algorithms, has a lot of parameters. In order to achieve good results and reach the best value, these parameters have to be adjusted accurately. The operating parameters of the GAEO algorithm are illustrated as follows:
The exploration ability of control variables (a1).
The exploitation ability of control variables (a2).
Mutrate.
Selection and participation probability of concentration updating by the generation rate control variable (GP).
Trial and error is the main technique to obtain the operating parameters properly. From observation, it can be concluded that parameters from one to three are best adjusted at the original values of the creator (2, 1, 0.09, 0.5), which provide the best benefits so far. The generation rate is expected to be the key parameter (as it has a substantial effect on the results) and must be adjusted according to the problem. The generation rate can also be determined by trial and error method.
5. Simulation and Results
In this section, the proposed algorithm (hybrid GAEO) is implemented to optimize RPD. The proposed algorithm was tested upon three types of test systems, IEEE 14-bus, IEEE 30-bus, and IEEE 57 bus. The minimization of power losses over the whole network is chosen to be the objective function. The system simulation was executed using MATLAB R2016a software.
GAEO has been used to optimize power losses for all three test systems as follows:
Case I, IEEE 14-bus system.
Case II, Modified IEEE 30-bus system.
Case III, IEEE 57-bus system.
The data for these test systems are illustrated by
Table 1 and include the number of buses, the number of variables, the number of generators, the number of tape transformers, and the number of compensators [
35,
36].
The upper and lower limits of control variables, generating units, transformer tap changing, and reactive compensators are illustrated by
Table 2.
5.1. Case I IEEE 14-Bus System
GAEO was used to achieve ORPD upon IEEE 14-bus system based on minimum power losses in the system. The tuning parameters of GAEO have been adjusted according to
Table 3.
Table 4 illustrates the control parameters and optimum values obtained by GAEO, sine cosine algorithm (SCA), chaotic bat algorithm (CBA), and improved slap swarm algorithm (ISSA) algorithms. The obtained results were compared to the best obtained solution so far based on recent articles [
5,
35,
37]. GAEO successfully reduced the power loss to 12.2694 MW which is very close to the minimum value obtained by sine-cosine algorithm (SCA) proposed in [
35], but still the best value obtained.
Figure 2 clarifies the comparison of GAEO against other algorithms. GAEO algorithm comes first, with minimum power loss 12.2694 MW followed by SCA 12.27 MW. ISSA and CBA-IV come last, with the largest power losses, 12.834 and 12.2923, respectively.
Figure 3 illustrates the convergence curve of GAEO for IEEE 14-bus system while minimizing power losses of all system lines. The convergence curve is not fast but, it is almost quite smooth. GAEO reaches the optimum value after one hundred iterations.
5.2. Modified IEEE 30-Bus System
Another challenge for the proposed algorithm (GAEO) is how to minimize power losses of the modified IEEE 30-bus system in order to achieve ORPD while keeping control variables within their predefined limits. The tuning parameters of GAEO were adjusted according to
Table 5.
Table 6 provides the obtained results by GAEO compared to two algorithms, diversity-enhanced particle swarm optimization (DEPSO) and classification and Pareto domination-based multi-objective evolutionary algorithm (CPSMOEA). GAEO greatly reduces the system losses compared to other techniques. The losses were decreased to 16.0428 MW, which is much lower than 16.17 MW and 17.52 MW obtained by CPSMOEA and DEPSO, respectively.
Figure 4 illustrates a comparison between GAEO and other algorithms for the IEEE 30-bus system. As shown, GAEO has obtained the minimum value, 16.0428 MW, which is significantly more than CPSMOEA, which minimized power loss to 16.17. Finally, DEPSO comes last, with power loss equal to 17.52 MW.
The convergence curve of GAEO is fast; i.e., it reaches its optimum value quickly and is smooth, as illustrated by
Figure 5.
5.3. Case III IEEE 57-bus System
IEEE 57-bus is a large system. It consists of seven generators, fifteen transformer tap changers, three reactive compensator units, fifty-seven buses, and eighty lines. The tuning parameters of GAEO were adjusted according to
Table 7.
Applying GAEO to obtain ORPD while minimizing power losses is expected to be a milestone in judging our algorithm. As illustrated in
Table 8, the chaotic bat algorithm (CBA) provided the best result so far at 21.9627 MW.
Figure 6 illustrates a comparison between GAEO and other algorithms based on power loss for IEEE57-bus system. Chaotic bat algorithm (CBA-IV) comes first with the minimum power loss, i.e., 21.9627 MW. GAEO comes second with active power losses of 23.2514 MW. Sine-cosine algorithm (SCA) comes last at 24.05 MW. GAEO has provided good results, but they were not superior CBA. This case shows that GAEO has a shortage when dealing with larger systems such as many other algorithms.
The GAEO convergence curve is illustrated in
Figure 7. Due to its random nature, GAEO has started below its optimum value 1.299 × 10
9 but reached the best value so far within 200 iterations.
6. Conclusions and Future Work
Electrical networks become much more complicated due to regular expansion. This comes from increasing power demand due to industrial development and population increases. Power system utilities should provide efficient, reliable, and secure operation of electrical networks to meet power demands. This can be achieved by improving old methods or creating new ones. RPD optimization has been used in the past to enhance system performance, but it is still an efficient and applicable method. In this paper, a new hybrid optimization technique, namely genetic algorithm-equilibrium optimizer (GAEO), has been successfully applied to minimize system power losses by optimizing RPD. Three test systems were used to evaluate the proposed algorithm, IEEE 14-bus, IEEE 30-bus, and IEEE 57-bus systems. The obtained results of GAEO were compared to results obtained by recent powerful algorithms, sine cosine algorithm (SCA), improved slap swarm algorithm (ISSA), chaotic bat algorithm (CBA-IV), classification and Pareto domination based multi-objective evolutionary algorithm (CPSMOEA), and diversity-enhanced particle swarm optimization (DEPSO). According to the results obtained, we can say that GAEO has succeeded in two cases showing fast convergence and good performance. In the first case, the minimum power loss has been obtained by GAEO at 12.2694 MW, followed by SCA at 12.27 MW. In the second case (IEEE 30-bus system), GAEO succeeded in minimizing power loss to 16.0428, which is much better than CPSMOEA at 16.17 MW. As expected for all algorithms, it passed partially in the third case by obtaining a good result, but not an optimal result. In the third case (IEEE 57-bus system), CBA-IV achieved the best result compared to GAEO and SCA. GAEO, like any other hybrid technique, requires many parameter adjustments, which is an expected disadvantage. Another disadvantage is that GAEO could not provide the best result in 57-bus system, which contains 25 control parameters. It can be concluded that GAEO is a good optimization technique that may be very useful in small systems. GAEO needs to be modified in order to cope with large systems. Exploration characteristics need to be enhanced.