Abstract
Optimal power flow (OPF) is widely used in power systems. This problem involves adjusting variables such as online capacity, generator output, power stability, and bus voltage to reduce production costs. This paper presents HFAJAYA, a combined evolution method using the Firefly and JAYA algorithms to solve the OPF problem effectively and efficiently. While considering renewable energy, including solar energy and wind energy systems, the problem is regarded as a single-objective and multi-objective function. It considers power losses, emissions, emissions taxes, the total cost of fuel, and voltage deviation as objective functions of the problem. I have successfully implemented all simulations with different scenarios on a standard 30-bus IEEE network. A comparison of the results obtained from the HFAJAYA simulation with results from other well-known works has been undertaken to confirm the efficiency of the recommended HFAJAYA method.
1. Introduction
There is no standard and comprehensive method for solving all complex optimization problems in various fields in the engineering world. Therefore, hundreds of different approaches have been introduced in recent years to address some optimization problems effectively. One of the complicated problems in the planning of power networks is multi-constraint optimal power flow (OPF). The classical OPF problem for over 50 years has attracted the attention of researchers in this field. Over the years, the goals of optimal load dispatch have changed dramatically. These changes can be attributed to the flexible structure of electrical networks due to new equipment such as FACTS devices, storage elements, and renewable resources. The classical optimal load dispatch problem involves the distribution of active generating power of various sources (mainly thermal power plants). The cost of producing resources is minimized by considering the technical and safety constraints [1]. The complexity of the real load dispatch (due to its nonlinear, convex, and derivative nature) [1,2,3] has led researchers to use efficient algorithms to optimize the problem in the past years. As a result, numerous meta-heuristic optimization algorithms have been offered that are often inspired by common natural phenomena in the evolution of creatures and natural phenomena such as gravity and the universe, briefly reviewed as follows.
Symbiotic Organisms Search (SOS) and Moth Swarm Algorithm (MSA) for Alternating Current OPF (ACOPF) problems for different energy systems are two suggested nature-inspired techniques that have been utilized to solve OPF issues [4,5,6,7,8,9]. The following are some related works regarding the solving the OPF problems. An improved colliding bodies optimization (ICBO) [10], OPF solution incorporating wind power [11], a new parallel genetic algorithm (GA) (EPGA) [12], Jaya and modified Jaya algorithm [13,14], artificial bee colony (ABC) [15], tabu search (TS) [16], differential search algorithm (DSA) [17], TLBO algorithm enhanced with Lévy mutation (LTLBO) [18], adaptive group search optimization (AGSO) [19], a multi-objective particle swarm optimization (PSO) [20], interior search algorithm (ISA) [21], a modified bacteria foraging [22], differential evolution (DE) [23], chaotic invasive weed optimization (CIWO) [24], DE for OPF solutions incorporating stochastic wind and solar power [25], a new improved adaptive DE [26], an enhanced self-adaptive DE [27], multi-objective DE algorithm [28], the security constrained OPF with wind and thermal generators by a new hybrid algorithm [29], BAT search algorithm [30], multi-objective dynamic OPF (MODOPF) [31], an improved artificial bee colony (IABC) [32], a modified ABC algorithm [33], a chaotic ABC algorithm [34], solving OPF by means of multi-objective glowworm swarm optimization (MOGSO) which is applicable in a wind energy integrated system [35], a powerful optimizer using DE and PSO (DEPSO) algorithms [36], a sine–cosine algorithm (SCA) [37] and SCA for OPF dependent on a hydro-thermal wind arrangement of mixture power scheme [38], social spider optimization (SSO) [39], uncertainty modeling [40], ant lion algorithm (ALA) [41], grey wolf optimizer (GWO) [42], modified honey bee mating optimization (MHBMO) [43], a new hybrid algorithm using PSO [44], an improved strength Pareto evolutionary algorithm [45], a hybrid optimizer via genetic GA and TLBO algorithms (G-TLBO) [46], multi-objective electromagnetism-like algorithm (MOELA) [47], a hybrid PSO and SFLA algorithm [48], considering optimal FACTS devices in OPF by PSOGSA [49], etc.
The firefly insect algorithm [50] is one of the effective intelligent methods used in nonlinear optimizations. Xin-She Yang introduced this method in 2008, and it has achieved many successes in solving optimization problems, including autonomous mobile robots with optimized parameters [51], privacy preservation in social networks [52], clustering on different functions [53], manufacturing cell formation via a new discrete FA (DFA) to [54], etc. However, it has been observed that this algorithm for complex nonlinear problems sometimes becomes stuck in the local solution and loses its optimization power [51,52,53,55].
Alternatively, evolutionary algorithms can escape local optima but are slow to converge. I developed HFAJAYA, a hybrid evolutionary algorithm to optimize power flow problems to resolve this problem. According to the simulation results, the current proposed hybridization approach significantly improves the ability of the JAYA and FA algorithms to escape the local optimum due to their rapid convergence speed.
This study is continued in four sections as the OPF problems formulation is introduced in Section 2. The concepts and structure of FA, JAYA, and the proposed HFAJAYA algorithm are introduced in Section 3. The outcomes of the simulations and a discussion of the findings are reported in Section 4. Lastly, Section 5 details the outcomes of the paper.
2. Problem Formulation
In the case of optimal load dispatch, the values of some or all of the control variables need to be specified to optimize (minimize or maximize) a predetermined objective function. The quality of a solution depends on the model’s accuracy under study. In general, an OPF optimization problem can be defined as follows [9]:
where x is the vector of the state variables (dependent variables). This vector includes the power of the reference generator, the voltage of the bus bar, the reactive power of the generators, and the load of the transmission lines. Therefore, x can be expressed as follows:
where NPQ, NTL, NG, are the number of load bus bars, the number of transmission lines, and the number of generators, respectively.
In addition, u is the vector of the decision variables. The primary control variables commonly used for this purpose include the generators’ output voltage and active power, the transformers’ settings, and the capacity of the reactive power compensators, which can be expressed as Equation (5):
where NC and NT are the number of generators and the number of reactive power compensators.
2.1. OPF Constraints
This problem includes various inequality and equality constraints related to systems and units, which are as follows.
2.1.1. OPF Equality Constraints
Load dispatch equations present these constraints of grid powers according to Formulas (6) and (7). The real and reactive power supply constraints of network buses are defined as follows [9]:
In the above equations, i and j are the indices of bus numbers; Vi and Vj represent the voltage magnitudes; PGi and QGi are the real and reactive power outputs of power generators, respectively; QDi and PDi are the reactive and real load demands, respectively; Bij, Gij are the susceptance and conductance of the branch between buses i and j, respectively; δij is the difference between the phase angles of voltages between these buses; and NB denotes the number of buses.
2.1.2. OPF Inequality Constraints
The inequality constraints, , represent the constraints on all the network variables:
- Constraints relating to the generation units: for all the generators, the voltage, as well as the reactive and active powers, should be defined in upper and lower limits as follows:
- Transformers’ tap adjustments: transformers’ taps can be altered in their approved limitation as in [13]:
- Constraints of VAR compensating units: the productions of these units are constrained in the following way [13]:
- Voltage limits: the acceptable range of load bus voltage magnitudes are known as a security constraint [13]:
The maximum and minimum ranges of voltage magnitudes for the ith load bus signify by and , respectively.
- Transmission lines constraints: the apparent power flows across branches should be restricted by:
Moreover, the apparent power via an ith transmission line and its higher bound are represented by and , respectively.
It is worth noting that the optimization process considers the allowable ranges of the decision variables. The penalty factors approach, which transforms a constrained optimization problem into an unconstrained one by applying penalized values of violated constraints to the objective function, is one of the most common practices for dealing with constrained problems, making an enlarged objective function [54]. This process is shown here as [25]:
where λP, λV, λQ, and λS are the penalty factors; and the supplementary variable ulim is given as [25]:
3. Proposed Mix Optimizer
In the first step, the two algorithms FA and JAYA, are reviewed. Then the proposed HFAJAYA algorithm is described and formulated.
3.1. Firefly Algorithm (FA)
FA [50] is one of the most powerful and creative algorithms inspired by firefly insect behavior and flashing light. There are roughly 2000 different kinds of fireflies, and most of them generate brief, repetitive flashes. Bioluminescence produces the flashing light, and the pattern of flashes is frequently unique to a species. However, two primary purposes of such flashes are to reach prospective prey and attract powerful mates. Furthermore, flashing can be used as a safety warning system. The signal system that draws both sexes together includes the rhythmic flash, the pace of flashing, and the length of time. Females react to a male’s distinctive flashing pattern within the same kind. In contrast, female fireflies of different kinds, such as photuris, can replicate the mating flashing pattern to attract and consume male fireflies who may misinterpret the flashes as an appropriate prospective partner.
The inverse square law governs the light intensity at a given distance r from the light source. In other words, as the distance r rises, the light intensity I drops in terms of I∝1/r2.
The following three simplified principles are used to describe the Firefly Algorithm (FA) for clarity: (1) all populations are not distinguished based on sex, which means that one firefly will be captivated by another firefly irrespective of gender; (2) sexual attraction is proportionate to light, thus if two flashing fireflies are present, the less brilliant one will go towards the brighter one.
The change in light intensity and attraction construction are two significant concerns in the firefly algorithm. With the help of the above information, the FA rules are:
In the simplest form, the firefly’s brightness I of a firefly at a specific point x may be written as I(x) ∝ f(x). Nevertheless, attractiveness β is not absolute; it is better to be assessed by other fireflies or seen in the eyes of the beholder, as follows:
The light intensity I alters with the distance r for an assumed medium with a permanent light absorption coefficient γ:
Therefore, a function that considers both the effects of absorption and distance can be approximated as follows:
Furthermore, due to the direct relationship between the attractiveness and flashing of each firefly, we have:
In order to reduce the fluctuation rate in the attractiveness function and for faster calculations, this function can be approximated by:
These two above equations have a characteristic distance , in which the exponential function changes from to and in the second function from to . The actual form of the attractiveness function in the implementation can be any declining function depending on the type of problem.
In this case, the characteristic distance can be as follows:
However, if this characteristic distance is known in an optimization problem, the attractiveness coefficient can be easily defined. Finally, the length between any two populations, in FA, i and j at xi and xj is:
When an ith firefly is fascinated by a more brilliant one (jth), its movement is controlled by:
Another rule is owing to attraction, whereas the third rule is randomness, with α as the randomized parameter, and is a uniformly distributed random number in the range [0, 1]. In most applications, we can consider and α ∈ [0, 1] [50].
It should be noted that the third term actually refers to a random step towards a brighter firefly, so if it is equal to zero, the firefly takes a simple random step.
3.2. JAYA Algorithm
The JAYA method introduced by Rao in 2016 [56] is a recently suggested algorithm for real-world optimization problems, and the optimization process of the original JAYA algorithm is shown in Figure 1. It is a robust, efficient, and free-parameters optimizer. Each member of the whole population (N) has its position in the tth iteration. (k = 1: N) is explained by the parameters of the problem in a d-dimensional solution exploration area, . The new location value for kth member, (for ) is attained by updating the positions in repetitions; if , the new location value ( ) is substituted by the new position () by means of below relation [56]:
where is the objective function value for , and are the best solutions obtained until the ith iteration of the algorithm, respectively. and are both the random values in the range [0, 1] in the ith iteration of the algorithm. Moreover, is the absolute value of .
Figure 1.
The optimization process of the original JAYA algorithm.
3.3. The Proposed HFAJAYA Optimization Algorithm
As mentioned above, in engineering, we encounter a diversity of complex problems. One of the effective ways to reach a range of acceptable solutions for these problems is to use a combination of two algorithms with different structures and functions [23].
Therefore, in this paper, we used a combination of two powerful and well-known algorithms, FA and JAYA, to achieve an optimal solution to our desired engineering problem, such as the optimal power flow. This method is shown in Figure 2. In the first modification, only the members with a better fitness merit than the ith member (e.g., jth member) can affect its movement. This can speed up the algorithm convergence rate and provide more opportunities to search. In the second modification, two ranges are defined regarding the objective function of the ith member and other members (e.g., jth member). In other words, if , then the jth member is directed to the FA algorithm; otherwise, the jth member is directed to the JAYA algorithm. When the objective function value of the jth member is very close to the objective function of the ith member, i.e., tends to zero in the FA algorithm. The optimization process is assigned to the JAYA algorithm, which can help avoid trapping in the local optimum.
Figure 2.
The optimization process of the HFAJAYA optimizer.
In FA, three popular test functions were designated. The optimization process was performed in two modes: dimension 30 with a population of 25 and a maximum value of iteration 400 and dimension 100 with a population of 75 and a maximum value of iteration 1200. For each function, 30 independent runs were carried out by each algorithm. The simulation results for FA and HFAJAYA are given in Table 1, showing that HFAJAYA is a more robust and more suitable algorithm than the original one. The convergence characteristics of the algorithms for the test functions 1 and 2 are also given in Figure 3. The suggested approach had a reasonable and operative convergence speed.
Table 1.
Optimization results for three selected popular functions by the algorithms.
Figure 3.
Convergence of some optimization test functions by the proposed algorithm.
4. HFAJAYA for the Multi-Constraint OPF Problems
In order to show the power of the proposed algorithm, various problems of optimal load dispatch were considered to obtain the optimal solutions for each problem. We selected a common and well-known power system, the IEEE 30-bus power system, and performed the simulation operation. The population size and iterations were selected at 50 and 500, respectively. The simulation study was performed in MATLAB software. The generating units’ boundaries, cost coefficients, and the emission cost coefficients are given in Table A1, Table A2 and Table A3 in the Appendix A. As per each metaheuristic algorithm, the initial solutions were randomly generated between the lower and upper limits.
Eleven instances were examined to determine the effectiveness of HFAJAYA.
- The considered cases for the IEEE 30-bus system:
Case 1: Minimizing the fuel cost based on [9];
Case 2: Minimizing the piecewise quadratic fuel cost functions based on [9];
Case 3: Minimizing the fuel cost considering valve point effects (VPEs) based on [9];
Case 4: Minimizing the fuel cost and real power loss based on [9];
Case 5: Minimizing the fuel cost and voltage deviation based on [9];
Case 6: Minimizing the fuel cost, emissions, voltage deviation, and losses based on [9];
Case 7: Minimization of the generation cost, including haphazard solar and wind power based on [25];
Case 8: Minimization of generation cost incorporating stochastic wind and solar power with the carbon tax based on [25].
4.1. OPF without Stochastic Renewable Energy
The generator information, bus data, and bounded ranges of decision variables for the IEEE 30-bus network were the same as reported in [57,58]. As demonstrated in Figure 4, six generators were located on buses 1, 2, 5, 8, 11, and 13 [58]. In contrast, four transformers with off-nominal tap ratios were located on lines 6–9, 6–10, 4–12, and 28–27. At a base capacity of 100 MVA, the total network demand was 2.834 p.u. All the load buses’ highest and lowest voltages were adjusted to 1.05–0.95 in p.u., respectively.
Figure 4.
Single line diagram of the IEEE 30-bus test system.
Table 2 in the additional material contains all HFAJAYA’s results for six situations of the 30-bus power system.
Table 2.
The optimal values for the six cases by HFAJAYA.
4.1.1. Case 1
The first target function, which was solitary, was to minimize the power generation’s overall fuel cost, which may be expressed using a quadratic curve the below [18]:
where PGi and Fi are the output and fuel cost of the ith generator. Moreover, , , and are the cost coefficients of the ith unit, respectively. Finally, NG is the whole quantity of generators. In [59], the cost coefficient values were accessible. The results of this case, as given in Table 3, indicates that the proposed method can achieve better solution in compared to the state-of-the-art algorithms.
Table 3.
The obtained optimal results in the current works for Case 1.
4.1.2. Case 2
Thermal generators may use various fuel sources, including oil, natural gas, and coal, depending on the power system’s operation circumstances. As a result, the theoretical analysis for these generators’ fuel cost curves (units 1 and 2) may be considered a collection of restrictions [18].
The ith generator’s cost coefficients are characterized by aik, bik, and cik for the k-th fuel type. The other single fuel source units’ cost coefficients are unchanged and have similar values as scenario 1. As a result, the goal function for modeling the gasoline cost features can be depicted as:
It is important to note that the optimization technique was chosen. The unit data were linked to the type of objective function and the restrictions [41]. Table 4 compares the minimal fuel cost (USD/h), emission (t/h), power losses (MW), and V.D. (p.u.) of the FA and HFAJAYA algorithms and gives a comparison study between these results and the outcomes reported in the recent literature. It can be observed that HFAJAYA had a suitable optimization influence compared to the other algorithms.
Table 4.
The obtained optimal results in the current works for Case 2.
4.1.3. Case 3
The VPEs were represented as an entire sinusoidal function applied to the cost features of the units under consideration in this example, as follows [42]:
where is the VPE cost coefficient and is the lower limit of the generating unit i. Table 5 displays the results produced by the HFAJAYA algorithm compared to the solutions described in various prior works, demonstrating the efficacy of the proposed HFAJAYA method.
Table 5.
The obtained optimal results in the current works for Case 3.
4.1.4. Case 4
This case aimed to reduce both fuel costs and network losses. The objective function may be written like this:
where the value of 𝜆p is selected 40, similar to [9]. The power losses, are defined as:
In (30), the overall transmission network active losses is PLoss, the conductance of branch k is gk, and express the voltages of ith and jth buses, respectively, NTL represents the value of transmission lines, NPQ shows the value of PQ buses, and δij phase shift of voltages between the ith and jth buses.
Based on the findings in Table 6, it can be concluded that the suggested HFAJAYA outperformed the original FA and the two other approaches.
Table 6.
The obtained optimal results in the current works for Case 4.
4.1.5. Case 5
The voltage profile is the essential metric for determining the quality of a system’s service. The voltage profile can be improved by lowering the load bus voltage’s divergence from unity. A viable solution with undesired voltage deviations is obtained when only a cost-based goal function is considered. As a result, a multiple objective OPF problem to concurrently minimize voltage deviations (VD) and fuel cost is presented, which may be described as follows.
where the value of factor 𝜆v was selected as 100 [57].
In Table 7, the minimal fuel cost (USD/h) and V.D. (p.u.) of the FA and HFAJAYA algorithms are examined, and the findings are compared to those described in the current works. The table’s findings demonstrate the strength of HFAJAYA, which successfully found appropriate solutions for this situation.
Table 7.
The obtained optimal results in the current works for Case 5.
4.1.6. Case 6
This case, similar to MSA [9] and MOMICA [68], included targets to minimize four conflicting objectives at the same time: emission, losses, fuel cost and voltage deviations.
To balance the problem’s many objectives, the weight factors were used as in [57] with 𝜆v = 21, 𝜆p = 22 and 𝜆e = 19. The emission function is examined in this article as follows:
where FCi characterizes the fuel cost. In addition, the FEi signifies the emission,, , and show the emission coefficients of the ith generator, while (ton/h MW2), (ton/h MW), (ton/h) are related to SOX, and (ton/h), (1/MW) are related to NOX, respectively.
The suggested method is an efficient and dependable approach for the multiple objective OPF in power systems, based on the findings compared in Table 8.
Table 8.
The obtained optimal results in the current works for Case 6.
4.2. OPF Solutions, Including Stochastic Solar and Wind Power
4.2.1. The Mathematical Modeling of Generating Units, Including Solar and Wind Power
Renewable Energy Sources (RES) have been recognized for improving the steadiness and quality of the power grid. They have had a direct influence on the energy market. To identify the best power generation flow for a power grid using renewable energy sources while meeting a cost function, such as reducing greenhouse gas discharges, it is critical to boost the injected power from RES as much as possible. In a power grid with renewable energy sources, an OPF problem can be expressed as an optimization task with single or numerous objective functions. Nevertheless, renewable energy sources are intrinsically stochastic due to the extremely variable nature of meteorological conditions. As a result, the probability model is necessary to effectively address the OPF subject while coping with the significant reservations associated with RES. This study connected renewable energy sources to an IEEE 30-bus test system in several geographical situations. Solar and wind energy generation play an important part in OPF.
Furthermore, the stochastic character of RES outputs is exacerbated by the unreliability of weather conditions, posing several energy issues such as risk operation management. We used probabilistic estimate techniques to predict RES power generation in this study to accommodate this and to reduce the influence of stochastic power-generating behavior. When RESs delivered real power, the stochastic software design approach presented here was used to construct RES power profiles. To bring the RES into the OPF, power profiles from RES are used as a negative load. This means that the PV and wind power generators will deliver electricity to loads first. The thermal generators cover the remaining loads and network losses.
4.2.2. The Units of Wind Power
An upcoming wind energy profile must be anticipated to create a working optimization approach for addressing OPF issues. The predictors in this work were generated using a Weibull probability distribution function [6,7,8]. Before establishing the optimal solution technique, the wind energy estimating work can be completed independently. The wind power generation model is often built using wind speed variables. In this part, the wind speed fv(v) is provided and simulated mathematically using the Weibull probability distribution function basis of dimensionless form factor (K) and step size (c) [25]:
As expressed in (35), Γ(x) is mainly accountable for the average of the Weibull probability distribution (Mwbl), as illustrated in Formula (36):
Generally, the wind turbine may transform the moving energy of the wind into electrical energy. Equation (37) shows the real production power of a wind turbine, Pw(v), as a function of wind speed:
where is the wind turbine’s rated power, the wind turbine’s cut-in wind rate is vin, vout is the cut-out wind rate, and vr is the valued wind speed. The Weibull probability distribution was used in this study to include a stochastic procedure in the optimization approach. The Weibull probability distribution estimate offers the doubt findings for wind energy generation. The cost of wind power production units must be determined to reduce the power generation whole cost. The entire cost of a wind power generator is evaluated based on flow rate and real power (produced by wind turbines) to decrease the impact of unpredictability in wind power patterns. Equations (38)–(40) compute the direct, reserve, and penalty expenses in (USD/h), respectively. Equation (41) describes the overall cost of wind power generation in (USD/h), , which comprises three primary items: straight wind turbine cost, reserve or overestimation, and penalty costs [25,44]
where is the direct cost coefficient associated with jth wind power plant, is the scheduled power from the same plant, indicates the reserve cost coefficient pertaining to jth wind power plant, defines the actual available power from the same plant, is the penalty cost coefficient for the jth wind power plant, and is rated output power from the same windfarm.
Wind energy providers generally supply power network operators with an expected power generation profile. The network operator creates an operation plan for all producing units based on the expected wind power output to fulfill the demand. Suppose the actual wind power output is less than the predicted value. In that case, the reserve cost is applied to offset the anticipated value. A penalty fee is applied if the actual wind power consumption surpasses the predicted value. As a result, having an exact estimation technique for the wind power profile is critical. The costs are computed in USD/h as described in [49].
4.2.3. Solar Power Units
Sun power is stochastic and fluctuating due to meteorological circumstances such as clouds and solar irradiation. As a result, solar systems’ output power is calculated using the sun irradiance variable (G). The solar irradiance (G) is given and probabilistically represented in this section using the lognormal probability distribution function, in which in [25], the function fG(G), is defined:
The solar system’s overall goal is to alter solar energy into electrical energy. Equation (43) describes the solar system’s output power, Ps(G), as a function using the solar irradiance calculation in Equation (42) [25].
The overall cost of solar power generation is computed using three components, similar to wind power units (i.e., direct, overestimation, and penalty fees) to reduce the influence of doubt in solar power fee estimation. Equations (44)–(46) compute these three components in (USD/h), correspondingly [25].
where is the direct cost coefficient associated with k-th solar PV plant and is the scheduled power from the same plant. is the reserve cost coefficient pertaining to k-th solar PV plant and is the actual available power from the same plant. represents the probability of solar power shortage occurrence than the scheduled power. By contrast, shows the expectation of solar PV power below .
4.2.4. Case 7
Case 7 optimized the generating program for thermal and renewable energy producers in order to reduce the overall generation cost as determined by (50). The cost coefficients, in this case, were the same as in Case 1, and the probability density function (PDF) parameters are shown in Table 9. Moreover, Table 10 summarizes the optimal settings for all decision variables, reactive generator power (Q), total generating cost, and other important computed metrics. In the Table, Vi indicates the voltage at the ith bus. Ploss and V.D. were computed using (30) and (31). It is worth noting that Pws,1 denotes the scheduled power from wind generator WG1, and so on. The lowest generation cost obtained using the generation schedules indicated in the table was 782.2795 USD/h.
Table 9.
PDF parameters of wind power and solar PV plants.
Table 10.
The optimal values by HFAJAYA for Case 7.
4.2.5. Case 8
This case focuses on the minimization of the generation cost incorporating stochastic wind and solar power with the carbon tax.
Many nations have put significant pressure on the whole energy industry to decrease carbon emissions in recent years because of global warming [22]. The carbon tax (Ctax) is levied on every unit quantity of released greenhouse gases to stimulate investment in greener types of power such as wind and solar. The cost of emission (in dollars per hour) is expressed as:
This case study sough to reduce total generating costs by imposing a carbon tax on emissions from traditional thermal power producers. As calculated by (50), the total cost must be kept to a minimum. The Ctax, or carbon tax rate, is estimated to be USD20 per tonne [22]. Because wind and solar are spotless sources of energy, the carbon tax component is intended to boost their adoption. Table 11 shows the optimal generating schedule, reactive generator power, entire generation cost (counting Ctax), and other computed factors. When a carbon price was imposed in Case 8, the penetration of both solar and wind energy was higher than in Case 7 where no carbon tax was considered. The volume of emissions and the pace at which a carbon price is applied determine the amount of growth in the ideal renewable producing schedule.
Table 11.
The optimal values by HFAJAYA for Case 8.
Constraints on load bus voltage are critical in the OPF problem since load bus operating voltages are frequently near their limitations. In our investigation, the load bus voltage had to be kept between 0.95 and 1.05 p.u.
4.3. Discussion on Results
In this section, the statistical results of the proposed method including max, mean, min, Std., and computational time, compared to the FA algorithm for all cases are given. The results for all single-objective cases are given in Table 12. The proposed HFAJAYA in all cases had a good advantage over the FA algorithm and on the other hand its optimization process was simple so that no additional time was required to perform the optimization process. HFAJAYA was also the most robust algorithm between the two algorithms. The important point is that as the dimension increased, the issue of HFAJAYA superiority over the FA algorithm became more prominent. Moreover, the ability of this algorithm to solve Optimal Power Flow Problem Considering Wind and Solar Power Generations can be seen.
Table 12.
Statistical results to show the performance of the proposed HFAJAYA and FA algorithms.
In our proposed HFAJAYA, the population initialization, and the firefly position update by the combinatorial movement were included. Let O(F) be the computational time complexity of the objective function F(X). In the HFAJAYA, the computational time complexity of population initialization was O(F*N), and the computational time complexity of position update was O(F*N2). Hence, by analyzing other references (Yang, 2008), we know the total computational complexity of the HFAJAYA was the same as the basic FA that was O(F*N2).
5. Conclusions
In this study, a new efficient improved FA algorithm combined with the JAYA algorithm, namely HFAJAYA, was proposed to solve the OPF problem considering solar and wind energy systems with different formulations in 30 bus tests systems. This problem includes optimally selecting control variables such as transformer pulses, generator outputs and reactive power sources, and generator voltages. Various cases with different combinations of the important objective functions and constraints were simulated, and the proposed algorithm results were compared with the state-of-the-art methods in the literature. The results demonstrated that the proposed HFAJAYA method had effective and reliable results compared with all recent studies. In addition, the computational analysis showed that the proposed HFAJAYA algorithm without imposing extra complexity to the main algorithm, only by parallelizing the motion vector, was able to strengthen the global search of the main algorithm and increase its robustness. Hence, it can be utilized for other engineering optimization problems with a challenging search space. The future work of this study will involve an extension of the proposed model for the optimal management of a hub energy system with various kinds of energy sources and storage systems.
Funding
The author would like to thank the Deanship of Scientific Research at Majmaah University for supporting this work under Project Number No. R-2022-217.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Acknowledgments
The author would like to thank the Deanship of Scientific Research at Majmaah University for supporting this work under Project Number No. R-2022-217.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Roy, P.K.; Ghoshal, S.P.; Thakur, S.S. Biogeography Based Optimization for Multi-Constraint Optimal Power Flow with Emission and Non-Smooth Cost Function. Expert Syst. Appl. 2010, 37, 8221–8228. [Google Scholar] [CrossRef] [Scilit]
- Alanazi, M.S. A Modified Teaching—Learning-Based Optimization for Dynamic Economic Load Dispatch Considering Both Wind Power and Load Demand Uncertainties with Operational Constraints. IEEE Access 2021, 9, 101665–101680. [Google Scholar] [CrossRef] [Scilit]
- Surender Reddy, S.; Srinivasa Rathnam, C. Optimal Power Flow Using Glowworm Swarm Optimization. Int. J. Electr. Power Energy Syst. 2016, 80, 128–139. [Google Scholar] [CrossRef] [Scilit]
- Alghamdi, A.S. Optimal Power Flow of Renewable-Integrated Power Systems Using a Gaussian Bare- Bones Levy-Flight Firefly Algorithm. Front. Energy Res. 2022, 10, 921936. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit]
- Duman, S.; Li, J.; Wu, L. AC Optimal Power Flow with Thermal-Wind-Solar-Tidal Systems Using the Symbiotic Organisms Search Algorithm. IET Renew. Power Gener. 2021, 15, 278–296. [Google Scholar] [CrossRef] [Scilit]
- Duman, S.; Wu, L.; Li, J. Moth Swarm Algorithm Based Approach for the ACOPF Considering Wind and Tidal Energy. In Proceedings of the International Conference on Artificial Intelligence and Applied Mathematics in Engineering, Antalya, Turkey, 20–22 April 2019; Springer: Berlin/Heidelberg, Germany, 2019; pp. 830–843. [Google Scholar]
- Elattar, E.E. Optimal Power Flow of a Power System Incorporating Stochastic Wind Power Based on Modified Moth Swarm Algorithm. IEEE Access 2019, 7, 89581–89593. [Google Scholar] [CrossRef] [Scilit]
- Mohamed, A.-A.A.; Mohamed, Y.S.; El-Gaafary, A.A.M.; Hemeida, A.M. Optimal Power Flow Using Moth Swarm Algorithm. Electr. Power Syst. Res. 2017, 142, 190–206. [Google Scholar] [CrossRef] [Scilit]
- Bouchekara, H.R.E.H.; Chaib, A.E.; Abido, M.A.; El-Sehiemy, R.A. Optimal Power Flow Using an Improved Colliding Bodies Optimization Algorithm. Appl. Soft Comput. 2016, 42, 119–131. [Google Scholar] [CrossRef] [Scilit]
- Shi, L.; Wang, C.; Yao, L.; Ni, Y.; Bazargan, M. Optimal Power Flow Solution Incorporating Wind Power. IEEE Syst. J. 2011, 6, 233–241. [Google Scholar] [CrossRef] [Scilit]
- Mahdad, B.; Srairi, K.; Bouktir, T. Optimal Power Flow for Large-Scale Power System with Shunt FACTS Using Efficient Parallel GA. Int. J. Electr. Power Energy Syst. 2010, 32, 507–517. [Google Scholar] [CrossRef] [Scilit]
- Warid, W.; Hizam, H.; Mariun, N.; Abdul-Wahab, N. Optimal Power Flow Using the Jaya Algorithm. Energies 2016, 9, 678. [Google Scholar] [CrossRef] [Scilit]
- Elattar, E.E.; ElSayed, S.K. Modified JAYA Algorithm for Optimal Power Flow Incorporating Renewable Energy Sources Considering the Cost, Emission, Power Loss and Voltage Profile Improvement. Energy 2019, 178, 598–609. [Google Scholar] [CrossRef] [Scilit]
- Rezaei Adaryani, M.; Karami, A. Artificial Bee Colony Algorithm for Solving Multi-Objective Optimal Power Flow Problem. Int. J. Electr. Power Energy Syst. 2013, 53, 219–230. [Google Scholar] [CrossRef] [Scilit]
- Abido, M.A. Optimal Power Flow Using Tabu Search Algorithm. Electr. Power Compon. Syst. 2002, 30, 469–483. [Google Scholar] [CrossRef] [Scilit]
- Abaci, K.; Yamacli, V. Differential Search Algorithm for Solving Multi-Objective Optimal Power Flow Problem. Int. J. Electr. Power Energy Syst. 2016, 79, 1–10. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Ghavidel, S.; Gitizadeh, M.; Akbari, E. An Improved Teaching–Learning-Based Optimization Algorithm Using Lévy Mutation Strategy for Non-Smooth Optimal Power Flow. Int. J. Electr. Power Energy Syst. 2015, 65, 375–384. [Google Scholar] [CrossRef] [Scilit]
- Daryani, N.; Hagh, M.T.; Teimourzadeh, S. Adaptive Group Search Optimization Algorithm for Multi-Objective Optimal Power Flow Problem. Appl. Soft Comput. 2016, 38, 1012–1024. [Google Scholar] [CrossRef] [Scilit]
- Hazra, J.; Sinha, A.K. A Multi-Objective Optimal Power Flow Using Particle Swarm Optimization. Eur. Trans. Electr. Power 2011, 21, 1028–1045. [Google Scholar] [CrossRef] [Scilit]
- Chandrasekaran, S. Multiobjective Optimal Power Flow Using Interior Search Algorithm: A Case Study on a Real-time Electrical Network. Comput. Intell. 2020, 36, 1078–1096. [Google Scholar] [CrossRef] [Scilit]
- Panda, A.; Tripathy, M.; Barisal, A.K.; Prakash, T. A Modified Bacteria Foraging Based Optimal Power Flow Framework for Hydro-Thermal-Wind Generation System in the Presence of STATCOM. Energy 2017, 124, 720–740. [Google Scholar] [CrossRef] [Scilit]
- Varadarajan, M.; Swarup, K.S. Solving Multi-Objective Optimal Power Flow Using Differential Evolution. IET Gener. Transm. Distrib. 2008, 2, 720. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Ghavidel, S.; Akbari, E.; Vahed, A.A. Solving Non-Linear, Non-Smooth and Non-Convex Optimal Power Flow Problems Using Chaotic Invasive Weed Optimization Algorithms Based on Chaos. Energy 2014, 73, 340–353. [Google Scholar] [CrossRef] [Scilit]
- Biswas, P.P.; Suganthan, P.N.; Amaratunga, G.A.J. Optimal Power Flow Solutions Incorporating Stochastic Wind and Solar Power. Energy Convers. Manag. 2017, 148, 1194–1207. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Gong, W.; Wang, L.; Yan, X.; Hu, C. Optimal Power Flow by Means of Improved Adaptive Differential Evolution. Energy 2020, 198, 117314. [Google Scholar] [CrossRef] [Scilit]
- Pulluri, H.; Naresh, R.; Sharma, V. An Enhanced Self-Adaptive Differential Evolution Based Solution Methodology for Multiobjective Optimal Power Flow. Appl. Soft Comput. 2017, 54, 229–245. [Google Scholar] [CrossRef] [Scilit]
- Basu, M. Multi-Objective Optimal Power Flow with FACTS Devices. Energy Convers. Manag. 2011, 52, 903–910. [Google Scholar] [CrossRef] [Scilit]
- Teeparthi, K.; Vinod Kumar, D.M. Multi-Objective Hybrid PSO-APO Algorithm Based Security Constrained Optimal Power Flow with Wind and Thermal Generators. Eng. Sci. Technol. Int. J. 2017, 20, 411–426. [Google Scholar] [CrossRef] [Scilit]
- Venkateswara Rao, B.; Nagesh Kumar, G.V. Optimal Power Flow by BAT Search Algorithm for Generation Reallocation with Unified Power Flow Controller. Int. J. Electr. Power Energy Syst. 2015, 68, 81–88. [Google Scholar] [CrossRef] [Scilit]
- Ma, R.; Li, X.; Luo, Y.; Wu, X.; Jiang, F. Multi-Objective Dynamic Optimal Power Flow of Wind Integrated Power Systems Considering Demand Response. CSEE J. Power Energy Syst. 2019, 5, 466–473. [Google Scholar] [CrossRef] [Scilit]
- He, X.; Wang, W.; Jiang, J.; Xu, L. An Improved Artificial Bee Colony Algorithm and Its Application to Multi-Objective Optimal Power Flow. Energies 2015, 8, 2412–2437. [Google Scholar] [CrossRef] [Scilit]
- Khorsandi, A.; Hosseinian, S.H.; Ghazanfari, A. Modified Artificial Bee Colony Algorithm Based on Fuzzy Multi-Objective Technique for Optimal Power Flow Problem. Electr. Power Syst. Res. 2013, 95, 206–213. [Google Scholar] [CrossRef] [Scilit]
- Ayan, K.; Kılıç, U.; Baraklı, B. Chaotic Artificial Bee Colony Algorithm Based Solution of Security and Transient Stability Constrained Optimal Power Flow. Int. J. Electr. Power Energy Syst. 2015, 64, 136–147. [Google Scholar] [CrossRef] [Scilit]
- Salkuti, S.R. Optimal Power Flow Using Multi-Objective Glowworm Swarm Optimization Algorithm in a Wind Energy Integrated Power System. Int. J. Green Energy 2019, 16, 1547–1561. [Google Scholar] [CrossRef] [Scilit]
- Duman, S.; Rivera, S.; Li, J.; Wu, L. Optimal Power Flow of Power Systems with Controllable Wind-Photovoltaic Energy Systems via Differential Evolutionary Particle Swarm Optimization. Int. Trans. Electr. Energy Syst. 2020, 30, e12270. [Google Scholar] [CrossRef] [Scilit]
- Attia, A.-F.; El Sehiemy, R.A.; Hasanien, H.M. Optimal Power Flow Solution in Power Systems Using a Novel Sine-Cosine Algorithm. Int. J. Electr. Power Energy Syst. 2018, 99, 331–343. [Google Scholar] [CrossRef] [Scilit]
- Dasgupta, K.; Roy, P.K.; Mukherjee, V. Power Flow Based Hydro-Thermal-Wind Scheduling of Hybrid Power System Using Sine Cosine Algorithm. Electr. Power Syst. Res. 2020, 178, 106018. [Google Scholar] [CrossRef] [Scilit]
- Nguyen, T.T. A High Performance Social Spider Optimization Algorithm for Optimal Power Flow Solution with Single Objective Optimization. Energy 2019, 171, 218–240. [Google Scholar] [CrossRef] [Scilit]
- Saha, A.; Bhattacharya, A.; Das, P.; Chakraborty, A.K. A Novel Approach towards Uncertainty Modeling in Multiobjective Optimal Power Flow with Renewable Integration. Int. Trans. Electr. Energy Syst. 2019, 29, e12136. [Google Scholar] [CrossRef] [Scilit]
- Herbadji, O.; Slimani, L.; Bouktir, T. Optimal Power Flow with Four Conflicting Objective Functions Using Multiobjective Ant Lion Algorithm: A Case Study of the Algerian Electrical Network. Iran. J. Electr. Electron. Eng. 2019, 15, 94–113. [Google Scholar] [CrossRef] [Scilit]
- El-Fergany, A.A.; Hasanien, H.M. Single and Multi-Objective Optimal Power Flow Using Grey Wolf Optimizer and Differential Evolution Algorithms. Electr. Power Compon. Syst. 2015, 43, 1548–1559. [Google Scholar] [CrossRef] [Scilit]
- Niknam, T.; Narimani, M.R.; Aghaei, J.; Tabatabaei, S.; Nayeripour, M. Modified Honey Bee Mating Optimisation to Solve Dynamic Optimal Power Flow Considering Generator Constraints. IET Gener. Transm. Distrib. 2011, 5, 989. [Google Scholar] [CrossRef] [Scilit]
- Ullah, Z.; Wang, S.; Radosavljević, J.; Lai, J. A Solution to the Optimal Power Flow Problem Considering WT and PV Generation. IEEE Access 2019, 7, 46763–46772. [Google Scholar] [CrossRef] [Scilit]
- Yuan, X.; Zhang, B.; Wang, P.; Liang, J.; Yuan, Y.; Huang, Y.; Lei, X. Multi-Objective Optimal Power Flow Based on Improved Strength Pareto Evolutionary Algorithm. Energy 2017, 122, 70–82. [Google Scholar] [CrossRef] [Scilit]
- Güçyetmez, M.; Çam, E. A New Hybrid Algorithm with Genetic-Teaching Learning Optimization (G-TLBO) Technique for Optimizing of Power Flow in Wind-Thermal Power Systems. Electr. Eng. 2016, 98, 145–157. [Google Scholar] [CrossRef] [Scilit]
- Jeddi, B.; Einaddin, A.H.; Kazemzadeh, R. Optimal Power Flow Problem Considering the Cost, Loss, and Emission by Multi-Objective Electromagnetism-like Algorithm. In Proceedings of the 2016 6th Conference on Thermal Power Plants (CTPP), Tehran, Iran, 19–20 January 2016. [Google Scholar]
- Narimani, M.R.; Azizipanah-Abarghooee, R.; Zoghdar-Moghadam-Shahrekohne, B.; Gholami, K. A Novel Approach to Multi-Objective Optimal Power Flow by a New Hybrid Optimization Algorithm Considering Generator Constraints and Multi-Fuel Type. Energy 2013, 49, 119–136. [Google Scholar] [CrossRef] [Scilit]
- Duman, S.; Li, J.; Wu, L.; Guvenc, U. Optimal Power Flow with Stochastic Wind Power and FACTS Devices: A Modified Hybrid PSOGSA with Chaotic Maps Approach. Neural Comput. Appl. 2020, 32, 8463–8492. [Google Scholar] [CrossRef] [Scilit]
- Yang, X.-S. Firefly Algorithms for Multimodal Optimization. In Stochastic Algorithms: Foundations and Applications; Watanabe, O., Zeugmann, T., Eds.; Springer Berlin Heidelberg: Berlin/Heidelberg, Germany, 2009; pp. 169–178. [Google Scholar]
- Lagunes, M.L.; Castillo, O.; Valdez, F.; Soria, J.; Melin, P. Parameter Optimization for Membership Functions of Type-2 Fuzzy Controllers for Autonomous Mobile Robots Using the Firefly Algorithm. In Fuzzy Information Processing; Barreto, G.A., Coelho, R., Eds.; Springer International Publishing: Cham, Switzerland, 2018; pp. 569–579. [Google Scholar]
- Langari, R.K.; Sardar, S.; Mousavi, S.A.A.; Radfar, R. Combined Fuzzy Clustering and Firefly Algorithm for Privacy Preserving in Social Networks. Expert Syst. Appl. 2020, 141, 112968. [Google Scholar] [CrossRef] [Scilit]
- Senthilnath, J.; Omkar, S.N.; Mani, V. Clustering Using Firefly Algorithm: Performance Study. Swarm Evol. Comput. 2011, 1, 164–171. [Google Scholar] [CrossRef] [Scilit]
- Sayadi, M.K.; Hafezalkotob, A.; Naini, S.G.J. Firefly-Inspired Algorithm for Discrete Optimization Problems: An Application to Manufacturing Cell Formation. J. Manuf. Syst. 2013, 32, 78–84. [Google Scholar] [CrossRef] [Scilit]
- Alghamdi, A.S. Greedy Sine-Cosine Non-Hierarchical Grey Wolf Optimizer for Solving Non-Convex Economic Load Dispatch Problems. Energies 2022, 15, 3904. [Google Scholar] [CrossRef] [Scilit]
- Rao, R.V. Jaya: A Simple and New Optimization Algorithm for Solving Constrained and Unconstrained Optimization Problems. Int. J. Ind. Eng. Comput. 2016, 7, 19–34. [Google Scholar] [CrossRef] [Scilit]
- Biswas, P.P.; Suganthan, P.N.; Mallipeddi, R.; Amaratunga, G.A.J. Optimal Power Flow Solutions Using Differential Evolution Algorithm Integrated with Effective Constraint Handling Techniques. Eng. Appl. Artif. Intell. 2018, 68, 81–100. [Google Scholar] [CrossRef] [Scilit]
- Radosavljević, J.; Klimenta, D.; Jevtić, M.; Arsić, N. Optimal Power Flow Using a Hybrid Optimization Algorithm of Particle Swarm Optimization and Gravitational Search Algorithm. Electr. Power Compon. Syst. 2015, 43, 1958–1970. [Google Scholar] [CrossRef] [Scilit]
- Ramesh Kumar, A.; Premalatha, L. Optimal Power Flow for a Deregulated Power System Using Adaptive Real Coded Biogeography-Based Optimization. Int. J. Electr. Power Energy Syst. 2015, 73, 393–399. [Google Scholar] [CrossRef] [Scilit]
- Ongsakul, W.; Tantimaporn, T. Optimal Power Flow by Improved Evolutionary Programming. Electr. Power Compon. Syst. 2006, 34, 79–95. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Ghavidel, S.; Rahmani, S.; Roosta, A.; Falah, H. A Novel Hybrid Algorithm of Imperialist Competitive Algorithm and Teaching Learning Algorithm for Optimal Power Flow Problem with Non-Smooth Cost Functions. Eng. Appl. Artif. Intell. 2014, 29, 54–69. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Ghavidel, S.; Ghanbarian, M.M.; Gitizadeh, M. Multi-Objective Optimal Electric Power Planning in the Power System Using Gaussian Bare-Bones Imperialist Competitive Algorithm. Inf. Sci. 2015, 294, 286–304. [Google Scholar] [CrossRef] [Scilit]
- Niknam, T.; Narimani, M.R.; Jabbari, M.; Malekpour, A.R. A Modified Shuffle Frog Leaping Algorithm for Multi-Objective Optimal Power Flow. Energy 2011, 36, 6420–6432. [Google Scholar] [CrossRef] [Scilit]
- Sayah, S.; Zehar, K. Modified Differential Evolution Algorithm for Optimal Power Flow with Non-Smooth Cost Functions. Energy Convers. Manag. 2008, 49, 3036–3042. [Google Scholar] [CrossRef] [Scilit]
- Pulluri, H.; Naresh, R.; Sharma, V. A Solution Network Based on Stud Krill Herd Algorithm for Optimal Power Flow Problems. Soft Comput. 2018, 22, 159–176. [Google Scholar] [CrossRef] [Scilit]
- SOOD, Y. Evolutionary Programming Based Optimal Power Flow and Its Validation for Deregulated Power System Analysis. Int. J. Electr. Power Energy Syst. 2007, 29, 65–75. [Google Scholar] [CrossRef] [Scilit]
- Roy, R.; Jadhav, H.T. Optimal Power Flow Solution of Power System Incorporating Stochastic Wind Power Using Gbest Guided Artificial Bee Colony Algorithm. Int. J. Electr. Power Energy Syst. 2015, 64, 562–578. [Google Scholar] [CrossRef] [Scilit]
- Ghasemi, M.; Ghavidel, S.; Ghanbarian, M.M.; Gharibzadeh, M.; Azizi Vahed, A. Multi-Objective Optimal Power Flow Considering the Cost, Emission, Voltage Deviation and Power Losses Using Multi-Objective Modified Imperialist Competitive Algorithm. Energy 2014, 78, 276–289. [Google Scholar] [CrossRef] [Scilit]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).





