Optimal Power Flow Analysis With Renewable Energy Resource Uncertainty Using Dwarf Mongoose Optimizer Case of ADRAR Isolated Electrical Network
Optimal Power Flow Analysis With Renewable Energy Resource Uncertainty Using Dwarf Mongoose Optimizer Case of ADRAR Isolated Electrical Network
ABSTRACT Over the last twin decades, significant advancements have occurred in global electricity
grids due to the widespread adoption of renewable energy resources (RES). While these sources play an
essential role in total generation cost reduction, transmission power loss minimization, and reduction of
environmental hazards related to traditional power plants. Still, however, the optimal planning and operation
of the power system in the presence RES is considered a primary challenge due to the their stochastic natural
and intermittency. One of the most complex and motivating issues in a power system is optimal power flow
(OPF), a constrained optimization problem characterized by non-linearity and non-convexity. From these
specifications, researchers competed in the past decades to find optimal solutions to stochastic OPF problems
while keeping system stability. To tackle this challenge, an effective optimization algorithm which mimics
on the foraging behavior of dwarf mongooses’ in the nature is introduced. The objective function considers
reserve cost for overestimation and penalty cost for underestimation of intermittent renewable sources.
To show the robustness and efficacy of the recommended optimizer, case studies on the customized IEEE
30-bus system and a realistic power system DZA 26-bus (isolated grid) are undertaken. Numerical findings
show that the proposed DMOA beats all previous published-results and performs better over a variety of
objective functions while finding high-quality optimally viable solutions. The obtained results demonstrate
that the DMOA realized exceptional performance for both the test networks, with total generation cost
minimized values of 780.982 $/h and 8283.942 US$/h, respectively. These results highlight the precision
and robustness of DMOA in effectively addressing various instances of the OPF problem Furthermore, the
one-way analysis of variance (ANOVA) test, a statistical approach, was employed to evaluate the superiority
of the proposed algorithm and to highlight a certain level of confidence to our study.
INDEX TERMS Optimal power flow, emission, realistic power system, dwarf mongoose optimizer, artificial
rabbits’ optimization algorithm, wind power, solar PV power, uncertainty, analysis of variance (one-way
ANOVA test).
LIST OF ABBREVIATIONS
The associate editor coordinating the review of this manuscript and Ploss Total Power Losses.
approving it for publication was Ahmed A. Zaki Diab . VD Voltage Deviation.
2024 The Authors. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.
10202 For more information, see https://creativecommons.org/licenses/by-nc-nd/4.0/ VOLUME 12, 2024
S. Mouassa et al.: Optimal Power Flow Analysis With Renewable Energy Resource Uncertainty
δij The change in voltage angle between i and essential tools of planning and management technologies for
bus j. electric power networks, which provides high-quality elec-
qji The phase angle of term Fji . trical power at reasonable prices. In short, is the foundation
VGi Amplitude of Voltage for Generator at bus of electric grids because preserving the efficiency and eco-
i. nomics of power systems. In other words, considered the
NPV The number of PV-bus. backbone of to design and analysis of an electric power
NPQ The number of PQ buses (Load buses). system. The OPF represents one of a notable and the most
gk Conductance of kth branch linked into i & j. complex issues in a power system, a constrained optimization
Vi , Vj Voltage amplitude in the specified bus i or problem characterized by non-linearity and non-convexity.
j. It’s mainly objective being the adjustment of control parame-
Yij Bus admittance elements matrix. ters to obtain optimal values for optimize a specific objective
Simax Maximum of MVA-power flow bound of function. The most frequent objective function is lowering the
branch j. total generation cost, alongside reduction of gas emissions,
QD,i /PD,i Reactive/Real power load consumption at active power loss minimization, voltage stability index (VSI)
each bus i. improvement, and ensure the bus voltage within the specific
QGi /PGi Reactive/Active power generation at bus i. range [1].
maximin In traditional power systems, OPF analysis primarily have
Vi The upper & lower voltage-amplitude in been focused on the power plant fuelled by fossil fuels.
busbar i. However, as electricity markets have been liberalized and
minmax
Gi
QGi The min & max value of power generation renewable energy sources (RES) have been integrated, the
at bus i. study of OPF has become more complex, leading to a sig-
NB/NTL The no. of busbar / no. of transmission lines. nificant increase in the complexity of the objective function.
NLB/NG No. of load buses/ no. of generators buses. This intricacy emerges due to the variety of functions that take
λV , λQ , λl Factors of Penalty. into account the inherent variability and uncertainty while
Gi , QGi
Qmin max Limits on the reactive power generators. framing the problem. The central aim of integrating RES
max min generators into networks is to minimize active power losses
Xi i Upper/lower limit of state variables.
PV Photovoltaic Generator. and enhance the reliability and quality of the electrical net-
WG Wind Generator. work. Moreover, they contribute to reducing environmental
AHA Artificial Hummingbird Algorithm. pollution [1] Additionally, it becomes essential to determine
SMA Slime Mold Algorithm. each generator’s ideal system contribution as the amount of
JS Jellyfish Search Algorithm. injected RES power rises. Consequently, efficient manage-
GTO Gorilla Troops Optimizer. ment of energy resources could facilitate various tasks for the
HGS Hunger Games Search. system’s operator (SO), ultimately lowering the cost of total
DMOA Dwarf Mongoose Optimization Algorithm. electricity generation.
ARO Artificial Rabbits Optimization. In multiple decades, a various array of classical optimiza-
HPS-GWO Hybrid Particle Swarm-Gray Wolf Opti- tion techniques [2], [3], [4], [5] has successfully addressed to
mizer. solve the OPF problem. These techniques exhibit excellent
TG Traditional Generator. convergence characteristics and generally based on deriva-
RES Renewable Energy Sources. tives and gradient approaches like non-linear and quadratic
SG Solar Generator. programming, but they fight to determine global solutions in
the presence of non-convexity and encounter challenges when
tackling problems involving non-differentiable and discontin-
I. INTRODUCTION uous objective functions. Moreover, regarding inflexibility,
The pressing demand to decrease fuel costs in conventional they also struggle significantly face substantial challenges
power generation plants and address the issue of greenhouse when dealing with uncertainties and stochastic problems, and
gas emissions stemming from thermal power generators has they not all of them are inherently suitable for industrial appli-
spurred many electric power companies around worldwide cations. Understanding the disadvantages of conventional
to adopting renewable energy sources as alternative solution. optimization approaches is considered a key role in develop-
Furthermore, advancements in renewable energy technolo- ing new efficient and powerful optimization techniques [6].
gies have played an essential in setting up them as the Lately, there has been an increasing interest concerning
cost effective and environmentally friendly. Integration of metaheuristic optimization algorithms thanks to compu-
renewable generators in the proper locations, along with tational intelligence approaches and the open availability
fine-tuning traditional power network parameters, can sub- of optimization-methodologies. All the while, academic
stantially impact the effectiveness of power system control researchers competed for developing advanced competitive
and operation. In the realm of contemporary electrical power optimization techniques drawing inspiration from physical
system design, optimal power flow (OPF) is one of the phenomena, animal actions, and evolutionary principles.
They offer prompt and efficient solutions to the afore- for OPF solutions incorporating stochastic RES. The Weibull
mentioned problems. An improved version of slime mould PDF is the foundation for the proposed stochastic wind
algorithm [7], A novel sine-cosine algorithm (SCA) [8], energy model. But once more, the simulation was only run
an ameliorate equilibrium optimization technique (EO) [9]. on IEEE 30-bus test system. Adaptive lightning attachment
The Harris Hawks’ optimization (HHO) algorithm [10], the procedure optimizer (ALAPO) algorithm has been applied
improved version of the Heap-based optimization algorithm for the stochastic OPF problem considering RES uncertain-
(IHOA) [11], the gorilla troops optimization technique ties [20]. OPF problems was solved using ameliorate version
(GTOT) [12], an adaptive Gaussian TLBO approach [13], of salp swarm algorithm SMA [21]. A modified version of
and many others are used to resolve the traditional OPF the runge-kutta optimizer (MRUN) was used to achieve best
problem. While the references above are only for those, who solution for the OPF considering uncertainty of RES along
generate thermal power. In recent years, a systems employing with FACTS devices [22].
a mix of resources to deliver high-quality electrical energy The published results are positive and promising to con-
at a cost-effective generation expense. This system uses sider the efforts mentioned above. Remember, however, that
thermal, wind, and solar generators. Integrating renewable despite all the efforts done in this field over the past 50 years,
energy sources into electricity grids offers several benefits. there is a pressing need more researches. At the while, it’s
Firstly, it helps mitigate environmental concerns by reducing have successfully produced good results, however, still have
greenhouse gas emissions and air-pollution associated with some restrictions and flaws in terms of their propensity to
fossil fuel-based power generation. Secondly, it relieves the enter local optima and the difficulty of adjusting the main
load on transmission lines by lowering real power losses intrinsic components. More precisely, no one can guarantee
and improve voltage profiles, ensuring stability and effi- that the best solution will be found for every optimization
cient operation. The literature in the field has published a problem. Moreover, applying such algorithms to real-world
minor number of articles. For instance, an efficient hybrid electric grids is also uncommon. Consequently, these point
optimizer HPS-GWO is employed in [14] to solve an OPF aforementioned present as a gaps in this research study which
that integrates RES while considering different objective open an opportunity to propose or develop efficient algo-
functions to ameliorate recorded findings compared against rithms capable of dealing with various OPF formulations.
methods. However, no forecasting method was applied to
forecast wind- and PV power output. The findings indicate A. CONTRIBUTION AND MOTIVATION OF DMOA
that MJAYA outperforms the core Jaya algorithm and sur- To the present authors’ knowledge, the application of DMOA
passes other popular algorithms. Khan et al. [15] proposed to OPF in the presence of uncertain power outputs from RES
a GWO algorithm to handle the OPF issue in a system con- has not yet been documented in the literature. In this article,
taining renewable energy producers. Weibull and lognormal we propose this method to handle the OPF problem, which
Probability-Distribution-Functions (PDF) are utilized to fore- is to be our main research contribution. The performance of
cast solar and wind energy production (PDF). It was also the proposed approach is evaluated and benchmarked against
verified that the results were acceptable and independent other well recognised optimization algorithms such as SMA,
variables fell within the allowable limits. Due to this, the find- ARO, GTO, AHA, HGS and new-established algorithm,
ings indisputably show that the suggested model is adequate. namely KOA, for the modified IEEE 30 and Practical Alge-
Unfortunately, it was only tested on the medium-sized IEEE rian isolated power systems. We investigate the potential for
30-bus test system. A developed version of the marine preda- DMOA to reduce both the total fuel cost and optimisation
tor algorithm was suggested by Farhat et al., [16] for OPF convergence rates. We evaluate multiple scenarios, for exam-
analysis considering the uncertainty of renewable energy ple involving carbon tax and for different types of renewables
sources. The model is presented clearly, and the results are as well as voltage stability index improvement. Hence, novel
discussed, but only for the IEEE 30-bus system. The sug- contributions are made in three main areas: the new objective
gested model was not either applied to the real power grid. functions for OPF; the use of the DMOA approach to opti-
Mohamed Hosny et al. [17] introduce an improved version of mise objective functions both in medium-scale and practical
wild horse optimizer to deal OPF problem considering RES systems; and a simulation based investigation for selected
uncertainty. The basis for the stochastic behaviour model case study examples to demonstrate the benefit of the pro-
is the PDF scheme. The results show how the hybrid tech- posed approach in terms of operation cost, voltage profile
nique EESWHO outperforms conventional WHO and other and scalability. The optimal generation of different energy
well-known optimizers such as, PSO, ICBO. Once more, the resources (MERs) and less fuel consumption also play a role
method wasn’t tested by being used as a simple or real power in environmental features and harmful emission reducing.
system. OPF problem study in a solar-thermal power system Due to its excellent randomization characteristics of
was solved in [18] using ameliorate version of salp swarm DMOA, it possesses the ability to explore the entire search
algorithm. The proposed model’s applicability to massive space effectively, ensuring to search for all optimal solutions
power systems was not studied, and the method was only without becoming stuck in a local optimum. Additionally,
tested on a modified IEEE 30-bus system. Authors in [19] it is simple to implement and has a straightforward principle.
suggested a Success-History based adaptive DE algorithm Furthermore, the points below provide a clear explanation
10204 VOLUME 12, 2024
S. Mouassa et al.: Optimal Power Flow Analysis With Renewable Energy Resource Uncertainty
II. PROBLEM FORMULATION & OBJECTIVE FUNCTIONS where ai , bi , ci , di , and ei are the cost coefficients of the i−th
Solving OPF problem permit to identify the optimal values thermal generators producing power output PTGi , NTG and
for decision variables, which involves minimizing a specific Pmin
TG are the total number and the minimal of power output
objective function while adhering to all physical and secu- of power plants, respectively. For the usual units used here,
rity constraints. Mathematically, the OPF problem can be the price and emission gas coefficients are given in [15].
expressed as follows: Since renewable generators don’t need fuel like traditional
thermal power units, their cost-function evaluation meets spe-
Minimize the objective function Fobj (x, u) (1) cific standards. Direct costs for renewable generators make up
the first standard. Mathematically expressed as follows:
g (x, u) = 0
Subject to g (x, u) (2)
h (x, u) ≤ 0
CostW , j PWS,j = gj PWS,j (7)
CostS, k PSS,k = hk PSS,k (8)
where g (x, u) is the function related to the equilibrium state
of the, h (x, u) are the operational constraints of the network. where gj and hk respectively, are the coefficient of direct-cost
x is the vector of values to be computed i.e. dependent vari- attached with jth wind generator (WG) and k th solar generator
ables and u is the vector of values to be assigned/modified by (SG). PWG,j and PSG,k are the scheduled power output from
a heuristic algorithm i.e. independent variables. Dependent the same renewable generators.
variables must remain within the permitted limits to achieve Given the uncertainty, there are two conceivable outcomes:
optimality and ensure the viability of solutions, which are If the power produced by the owner of wind and/or solar
crucial for the electric power system’s security. exceeds the expected values, the system operator must spin
x: is the vector of dependent variables, consisting of load a reserve to guarantee that consumers receive uninterrupted
bus voltages, reactive power of generators, and transmission power.
lines loading. Mathematically, it is written as follows: First scenario is named overestimation of generating elec-
tric power which explained in short as follows: It happened
x T = VL . . . VL,NPQ , Qg,1 . . . Qg,NPV , S1 . . . SNTL
(3) if actual power-delivered by the renewable generators is
less than the estimated-value. Herein, a spinning reserve is
u: is the vector of control variables, comprising the voltages urgently needed to cover the required power demand. The
of the PV-bus. Hence, u is written as follows: cost incurred while committing reserve production units to
meet the overestimated amount is known as reserve-cost [1].
uT = Pg,1 . . . .Pg,NG , Vg,1 . . . .Vg,NPV
(4) The following math formulas are used to represent the RC for
both renewable generators employed:
In the present work, two different objective functions are
considered: CostRW ,j PWG,j − PAv,j
• Minimization of total real power losses; = KRW ,j PWG,j − PWAv,j
Z PWG,j
• Minimization of total voltage deviation (TVD); and
= KRW ,j pWG,j − PW ,j fW PW ,j dpW ,j (9)
• Minimization of voltage stability index (VSI). 0
CostRS,k PSG,k − PSAv,k where NWG and NSG denote the number of wind generators
= KRS,k PSG,k − PSAv,k
and solar generator in the grid.
Objective 2: Pollution and tax of carbon
= KRS,k ∗ fS PSAv,k < PSG,k
A harmful gases such as SOX , NOX , and CO2 , emit during
∗ PSG,k − E PSAv,k < PSG,k
(10) the combustion process in thermal power plants. To mitigate
the environmental impact of thermal generators, an effi-
where KRW ,j denotes coefficient of reserve-cost pertaining to
cient strategy was adopted by including the carbon tax as
wind power plant, PWA,j is the actual available-power from penalty to encourage greenhouse gas reduction responsi-
the same plant. fW PW ,j is the Wind power PDF for jth
ble for climate change. This goal can be accomplished by
power plant where and more detail is given in [1]. KRS,k is
minimising the cost of production and emissions, which is
the coefficient of RC for k th SG. PSAv,k is the actual available
represented as:
power from the samepower station.
Second objective function Minimize-
fS PSAv,k < PSG,k is the probability of solar power-
shortage occurrence than the scheduled power (PSG,k ), 2 1
fs PSAv,k > PSG,k is the expectation of SG above PSG,k . FObj = FObj + Ctax × E (14)
XNTG h
In contrast to overestimation, the second situation arises E= αi + βi PTGi + γi P2TGi × 0.01
when the generated power from RES is greater than the i=1
+ωi exp (µi PTGi )
estimated power. In this state, the surplus in power generated (15)
wasted. Hence, the penalty cost for each extra quantity of
power must be considered to address this problem, and the where αi , βi , γi , ωi, µi denote the emission-factors connect-
following equations state it. ing with i-th power plant & Ctax is the fixed tax of Carbon,
equal to 20 ($/ton).
CPW ,j PWAv,j − PWG,j Objective 3: Index of voltage stability improvement With
huge penetration of renewable energy sources to grid,
= KPW ,j PWAv,j − PWG,j
Z PWr,j
power network monitoring and management have become
= KPW ,j PW ,j − pWG,j fW PW ,j dpW ,j (11) extremely important in designing, planning, and operating
PWG,j modern electric power systems. To this end, index of voltage
CPS,k PSA,k − PSG,k stability is minimized to achieve advance information’s on the
voltage drops in the network. Index L’s operating range was
= KPS,k PSAv,k − PSG,k
set to [0, 1]. The voltage stability index is also minimized; its
= KPS,k ∗ fS PSAv,k > PSG,k
function might be written as follows:
∗ E PSAv,k > PSG,k − PSG,k
(12)
3
where KPW ,j is the penalty cost coefficient for the j−th FObj = min(VSI ) = min(max(Lj )) (16)
WG, PWr,j is the rated output-power from the same wind-
farm. KPS,k is the coefficient of penalty-cost for k th solar where Lj of the jth bus is written as follows:
PV plant. fS PSAv,k > PSG,k is the probability of solar
power surplus i.e, actual power above the scheduled power XNPV Vi ̸
θji + δi − δj
Lj = 1 − Fji ×
(PSG,k ), fS PSAv,k > PSG,k
is the expectation of SG above i=1 Vj
Pss,k .E PSAv,k > PSG,k .
j = 1, 2, .., NPQ (17)
It is crucial to note that the cost assessment of wind turbines
and solar photovoltaic units relies on the wind’s Weibull prob-
with Fji = Fji ̸ θji , Vi = |Vi | ̸ δi , Vj = Vj ̸ δj
ability distribution functions (PDF) and the sun’s lognormal
PDF, respectively [20].
Objective 1: All the aforementioned cost-functions are Fji = − [Y1 ]−1 × [Y2 ] (18)
included in the 1st objective function, which is created with
the existence of RES. This goal reduces the cost of generation Y1 , Y2 , Y3 , and Y4 : denote the sub-matrices of the global
while excluding the cost of emissions. Mathematical expres- matrix Ybus achieved when rearranging both of load and
sions include: generator buses parameters, as indicate in Eq. (17).
NWG
X IPQ Y1 Y2 VPQ
1
= CT (PTG ) +
FObj CW ,j PWGs,j = × (19)
IPV Y3 Y4 VPV
j=1
+CRW ,j PWG,j − PWAv,j + CPW ,j PWAv,j − PWG,j where Vi , Vj are the voltage amplitude at different bus-bar
XNSG
i & j, respectively. Gk is the conductance of k th branch
+ CS,k PSG,k + CRS,k PSG,k − PSAv,k
k=1 linked into two buses; δij the difference of voltage angle into
+CPS,k PSAv,k − PSG,k (13) two buses.
B. SYSTEM CONSTRAINTS avoiding the danger and hiding. In between avoiding preda-
The power flow equations related to the equilibrium state of tors, they diet of insects, larvae, beetles, scorpions, small
the grid are reptiles, eggs, lizards, and rodents. One of the most inter-
XNB esting characteristics of dwarf mongoose is that they have
P Gi − P di − |Vi | × Vj × Yij × cos a unique compensatory behavioural adaptation, which are
j=1
prey size, space utilization, group size, and food provisioning.
× θ −δ +δ=0
ij i j
XNB (20) [22] These social characteristics are employed to mimics the
QGi − Qdi − |Vi | × Vj × Yij × sin foraging behaviour of the dwarf mongoose.
j=1
The DMOA algorithm’s optimization structural model
× θij − δi + δj = 0
depends on three main processes: the alpha-group setting,
Each constraint of operational constraints is treated as babysitters, and the scout-group. Each group has a specific
follows: task to accomplish by contributing into the compensatory
behavioural adaptation. The optimization process starts with
TGi ≤ PTGi ≤ PTGi ,
Pmin i = 1, 2 . . . ..NTG
max
(21)
exploring the search space from an alpha group, looking
wsj ≤ Pwsj ≤ Pwsj ,
Pmin j = 1, 2 . . . ..NWG
max
(22) food by determines the right path-food, the distance covered,
Pmin max
k = 1, 2 . . . ..NSG (23) and the sleeping mounds. Certain individuals into population
ss,k ≤ Pss,k ≤ Pss,k
leave as the babysitters and the young at the nest until the
TGi ≤ QTGi ≤ QTGi ,
Qmin max
(24) group returns back at midday or evening. Then, the babysit-
wsj ≤ Qwsj ≤ Qwsj ,
Qmin i = 1, 2 . . . ..N
max
(25) ters are exchanged for the first to forage with the group this
Qmin max
(26) phase termed as exploitation phase. In the exploration phase,
ss,k ≤ Qss,k ≤ Qss,k k ∈ NSG
the dwarf mongooses don’t neither keep the oldest nest nor
Qmin
Ci ≤ QCi ≤ QCi
max
i ∈ NC (27) build a novel nest for their young, but they move them from
min
VGi ≤ VGi ≤ VGi max
, (28) sleeping mound to another and do not return to the previously
VLimin ≤ VLi ≤ VLimax i ∈ NL (29) explored site. Such behavior helps to explore the whole of
search space effectively while avoiding to falling into local
Eqs, (21) − (23) reflect the real power limits applied on optima.
thermal generators and renewable ones, respectively. Eqs, In the DMOA, each individual represents a possible solu-
(24) − (27) are the reactive power capabilities of traditional tion or candidate solution for the problem at hand, and the
generators, solar/-wind generators and compensators, respec- best-solution in each iteration is the best-obtained solution.
tively. Whereas Eq. (28) presents the constraints applied at For better understanding the optimization process of DMOA,
the generating voltage, Eq. (29) reflects the operating range specific stages and behaviors have been expressed by mathe-
of load buses voltage. No. of PV buses is abbreviated with matical model below:
NL. The number of lines in the electrical grid is named NTL.
The static-penalty function method was one of the earliest A. INITIALIZATION OF THE MONGOOSES PHASE
commonly used approaches to handle limitations. The practi- The phase of initialization starts with generate randomly the
cality of solutions is ensured by adding a significant penalty initial positions (solutions) of the mongooses (X) between the
term to the objective function to punish any violations of the defined problem’s upper limit (ub) and lower limit (lb) for
constraints. first population as shown in Eq. (31)
Due to the avoiding repetition, the mathematical model
x1,1 x1,2 · · · x1,d−1 x1,d → sol1
of the uncertainty for renewable energy generators applied
→ sol2
herein is the same of that adopted in our paper [20].
x21 x22 · · · x2d−1 x2,d
X = → ··· (30)
.. .. .. .. → sol
. . xi,j . .
III. DMO-BASED PROPOSED ALGORITHM n×d
xn,1 xn,2 . . . xn,d−1 xn,d
In February 2022 a recent developed approach called
dwarf mongoose optimization algorithm (DMOA) has been xi,j = unifrnd (lower, upper, d) (31)
proposed by Agushaka et al. [22], which simulates the
behavioural and social organization of mongooses in nature. where matrix X is the set of first candidate populations,
The adult dwarf mongoose measures about 47 centimetres which are generated randomly using Eq. (32), xi,j defines the
tip to tip in average and has a mean weight of 400 grams. location of the jth dimension of the ith population, n presents
They living collectively in groups of up to 30 individuals in the Pop- size, and d is the Dimension of the problem. unifrnd
zones with abundant termite mounds, rocks, and hollow trees defines a uniformly distributed random number.
exploiting it for hiding, especially in Africa’s semi-desert and
savannah bush areas. During food foraging, all individuals B. CALCULATING PROBABILITY VALUES INVOLVED IN
in the group remains very careful, whereby warn each other PROBABILISTIC SELECTION OF ALPHA GROUP
from a pending danger or of any potential threat, by creating Once solutions X are obtained, their finesses are evaluated.
an alarm call to pay attention and having enough time to The probability value for each population fitness is calculated
by Eq. (33), and the Alpha female (α) is selected based on this
probability
fitni
α = Pn (32)
i=1 fitni
Xi+1 = Xi + phi ∗ peep (33)
where term (n − bs) corresponds the number of mongooses in
the alpha group, while bs denotes number of babysitters. peep
in Eq. (33) defines the vocalization of alpha female’s that
keeps the family into the path. phi is a uniformly distributed FIGURE 1. Alpha/Scouting group.
random number in the range [−1,1], the sleeping mound (sm)
after every iteration is given in Eq. (34)
fiti+1 − fiti IV. RESULTS AND DISCUSSIONS
smi = (34)
max {|fiti+1 , fiti |} A. TEST SYSTEM I: IEEE 30-BUS TEST NETWORK
To calculate average value of the sleeping mound found used The proposed DMOA is applied to solve specific instances
Eq. (36) of the Optimal Power Flow (OPF) problem. In order to
Pn
sm1 assess the performance of the DMOA, several published or
φ = i=1 (35) not published methods are selected for fair comparison. The
n
After alpha group complete their searches, the algorithm modified IEEE 30-bus test system was used to investigate
shifts to the scouting stage, where the next food source or the suggested algorithm’s potential and viability in various
sleeping mound is evaluated once the babysitter exchange stochastic OPF problem-solving scenarios. The two con-
criterion is fulfilled. ventional generators at buses #5 and #11 replaced by two
wind generators and thermal power plant of bust #13 is also
C. SCOUT GROUP PHASE replaced by solar generator. All data used are available in [20]
Since the mongooses not to return to the previous sleeping and [23]. All implemented algorithms were developed and
mound, the scouts seek for the next sleeping mound, which solved using the MATLAB R2014a platform. The population
assures exploration. The scouting with foraging process is size is defined at 30 people for each of the chosen scenar-
done at the same time [22]. This movement is modeled as ios, while the maximum number of iterations is specified
an overall success or failure evaluation of finding a new at 200 for the Adrar power network and 300 for the IEEE
sleeping mound. This behavior can be can be mathematically 30-bus. Additionally, 30 separate runs were carried out for
formulated as follow: each example to show the consistency and robustness of
h i DMOA, and the best solution found along with matching
Xi − CF ∗ phi ∗ rand ∗ Xi − M ⃗ if φi+1 > φi
control variables is retained. All test-system features utilized
Xi+1 = h i
Xi − CF ∗ phi ∗ rand ∗ Xi − M ⃗ else in this work are described in Table 2. For fair comparison,
the max number of iterations of all the applied algorithm
(36) are the same as well as the population size which equal 30.
2 iter
Maxiter
All test system control variables were treated as continuous
iter
where, CF = 1 − Max iter
defines as the param- for fairly comparison. Table 3. reports description of RES
eter that command the collective-volitive movement of the characteristics.
mongoose group. It decreases linearly over the course of
iterations. B. RESULTS OF IEEE 30-BUS
Term M denotes the vector that redirect the mongoose to 1) RESULTS ON CASE 1
the new sleeping mound.
The objective-function in this situation is to minimize the
Xn Xi − smi
M= (37) entire cost of generation. Results from the proposed DMOA
i=1 Xi method are based on the Weibull PDF parameters. The wind
Figure 1 depicts the scouting group during exploration phase distribution and Weibull fitting from the simulation of eight
thousand Monte-Carlo scenarios are shown in Figures 2-3,
D. THE BABYSITTERS PHASE and Figure 4 shows the stochastic power output of a solar
The babysitters are a subset of mongooses in the group’s generator. All PDF-parameters utilized with RES are shown
which sponsorships the young mongooses until the mother in Table 3.
returns from trip of food researching at midday or evening Table 4 presents optimal results for the objective function
to suckle it. To reset the scouting and food source infor- and optimal control variables related to case 1 that were
mation previously fundholding by the old family members, obtained by various algorithms, including DMOA, AHA,
the babysitter exchange parameter is updated [22] The pseu- HGS, GTO, SMA and ARO. These optimal values were
docode for the proposed algorithm is presented below: within the permissible range specified in second and third
columns of the same table. Figure 6 represents the conver- The findings of case 1 reports the effectiveness of DMOA
gence curve for different approaches in case 1. to finding a near-optimal solution, convergence speed, and
FIGURE 4. Irradiance of solar of generator installed at bus 13. FIGURE 5. Active power distribution of generator photovoltaic.
quality of the solution in comparison with remaining algo- PWG1 and PWG2 stand for the scheduled powers from
rithms. The better result of total cost generated by DMOAl- wind generators #WG1 and #WG2 , respectively. The pol-
gorithm is 780.989 MW. Hence, DMOAlgorithm surpass all lution quantity is estimated based on the optimal power
contemporary either published or implemented ones in term scheduled from traditional generators. From outcomes pre-
of performance. sented in Table 4., it can be remark that the DMOA
TABLE 5. Results of the suggested AHA, SMA, ARO, HGS, GTO, DMOA approaches for second test system.
or about 845 US dollars per hour, or up to 4.62 million US best control variables discovered using various techniques are
dollars per year. The simulation for the base case makes no displayed in Table 6. The outcomes unequivocally show that
mention of RES. A list of the outcomes from this case study’s with regard to VSI improvement and solution convergence,
attempt to reduce total generation costs can be found in the the suggested DMOA performed better than all other used
first column of Table 5. The feasibility of obtained solutions optimizers. It is clear from the numerical findings that all
were fully verified by considering our results as input data of constraints variables fall within allowable bounds, indicating
the Matpower load flow program. the viability of solutions. Voltage magnitudes at PV buses for
case 2 of Adrar’s test equipment is given in Fig. 16. VSI were
2) OUTCOMES OF SECOND CASE OF REALISTIC POWER decreased 17.56% from the basic case. Consequently, the
NETWORK DMOA algorithm provides the best modification of control
The VSI provided by equation (14) is minimal in this sit- variables and successfully converges to near-optimal solu-
uation. The PLoss , VD, and NOX emissions along with the tions, even with the practical power system. In other words,
VI. CONCLUSION
This article discusses the solution of the probabilistic OPF
problem in the modern power system using a recent approach
based on the dwarf mongooses’ optimization technique. The
Weibull and lognormal PDFs distributions have been used
to simulate the uncertainty nature of the PV power-plant
and wind energy sources, respectively. Five optimization
FIGURE 15. Convergence curves comparison of used methods. approaches, including HGS, GTO, AHA, SMA, and artificial
rabbit’s optimization (ARO), were implemented too. The
standard IEEE 30-bus test system and the isolated power
network DZ 26-bus in the Adrar region selected as test sys-
tems. To illustrate the superiority of the DMOAlgorithm,
two scenarios were examined solving OPF issue was sim-
ulated with the integration of renewable energy resources,
using the DMOA algorithm to pinpoint the optimal deci-
sion variables. It is seen that the DMOA approach realised
exceptional performance in yielding the lowest cost value
of 780.989 $/h for the modified IEEE 30-bus system. Also,
in the real electrical network achieved the optimal cost of
8283.942 US$/h. These outcomes underscore the precision
and robustness of the DMOA in efficiently tackling diverse
instances of the OPF problem. The numerical output of the
DMOA algorithm is compared to the results of five optimiza-
FIGURE 16. Voltage magnitudes at load buses of second test system.
tion approaches and other competing approaches. The results
showed that the DMOA greatly outperformed ARO, JS, HGS,
TABLE 7. A. Statistical results of ANOVA test, for IEEE 30 bus. B. Statistical GTO, and AHA techniques in the base case and various
results of ANOVA test, for isolated network.
sub-cases regardless of the constraints of the test system while
providing a superior solution and guaranteeing the viability of
findings. The results indicate that both highly nonlinear issues
and difficulties encountered in the actual world can be solved
using the suggested DMOA technique. Statistical study was
employed to confirm the consistency and effectiveness of the
method. In forthcoming activity endeavours, strides will be
taken to apply the DMOAlgorithm on the Practical larger-
scale systems. incorporating FACTS devices and other RES
including hydro generation. can be solved using the suggested
DMOA technique.
REFERENCES
[1] E. Kaymaz, S. Duman, and U. Guvenc, ‘‘Optimal power flow solution with
another. To make a fair comparison, a statistical tool based stochastic wind power using the Lévy coyote optimization algorithm,’’
on a ANOVA test was used to check the superiority of the Neural Comput. Appl., vol. 33, no. 12, pp. 6775–6804, Jun. 2021, doi:
10.1007/s00521-020-05455-9.
suggested optimizer as well as to highlight a certain level of
[2] E. P. de Carvalho, A. dos Santos, and T. F. Ma, ‘‘Reduced gradient
confidence to our study. This test is necessary to assess the method combined with augmented Lagrangian and barrier for the optimal
mean of different implemented algorithms in which there is a power flow problem,’’ Appl. Math. Comput., vol. 200, no. 2, pp. 529–536,
significant difference. In this study, the level of significance Jul. 2008, doi: 10.1016/j.amc.2007.11.025.
is fixed as 0.05; if PValue is inferior than 5%, a significant [3] J. K. Skolfield and A. R. Escobedo, ‘‘Operations research in optimal
power flow: A guide to recent and emerging methodologies and appli-
difference between the proposed method and remaining ones cations,’’ Eur. J. Oper. Res., vol. 300, no. 2, pp. 387–404, Jul. 2022, doi:
happens. 10.1016/j.ejor.2021.10.003.
[4] L. P. M. I. Sampath, B. V. Patil, and H. B. Gooi, ‘‘A trust-region based [23] R. D. Zimmerman, C. E. Murillo-Sánchez, and R. J. Thomas,
sequential linear programming approach for AC optimal power flow prob- ‘‘MATPOWER: Steady-state operations, planning, and analysis tools for
lems,’’ Electr. Power Syst. Res., vol. 165, pp. 134–143, Jan. 2018, doi: power systems research and education,’’ IEEE Trans. Power Syst., vol. 26,
10.17863/CAM.34470. no. 1, pp. 12–19, Feb. 2011, doi: 10.1109/TPWRS.2010.2051168.
[5] J. A. Momoh and J. Z. Zhu, ‘‘Improved interior point method for OPF prob- [24] M. Farhat, S. Kamel, A. M. Atallah, and B. Khan, ‘‘Optimal
lems,’’ IEEE Trans. Power Syst., vol. 14, no. 3, pp. 1114–1120, Mar. 1999, power flow solution based on jellyfish search optimization consider-
doi: 10.1109/59.780938. ing uncertainty of renewable energy sources,’’ IEEE Access, vol. 9,
[6] M. Z. Islam, M. L. Othman, N. I. A. Wahab, V. Veerasamy, S. R. Opu, pp. 100911–100933, 2021, doi: 10.1109/ACCESS.2021.3097006.
A. Inbamani, and V. Annamalai, ‘‘Marine predators algorithm for solv- [25] S. Makhloufi, A. Mekhaldi, and M. Teguar, ‘‘Three powerful nature-
ing single-objective optimal power flow,’’ PLoS ONE, vol. 16, no. 8, inspired algorithms to optimize power flow in Algeria’s Adrar
Aug. 2021, Art. no. e0256050, doi: 10.1371/journal.pone.0256050. power system,’’ Energy, vol. 116, pp. 1117–1130, Dec. 2016, doi:
[7] Y. Wei, Y. Zhou, Q. Luo, and W. Deng, ‘‘Optimal reactive power dis- 10.1016/j.energy.2016.10.064.
patch using an improved slime mould algorithm,’’ Energy Rep., vol. 7, [26] M. Naidji and M. Boudour, ‘‘Stochastic multi-objective optimal reactive
pp. 8742–8759, Nov. 2021, doi: 10.1016/j.egyr.2021.11.138. power dispatch considering load and renewable energy sources uncer-
[8] A.-F. Attia, R. A. El Sehiemy, and H. M. Hasanien, ‘‘Optimal power tainties: A case study of the Adrar isolated power system,’’ Int. Trans.
flow solution in power systems using a novel sine-cosine algorithm,’’ Electr. Energy Syst., vol. 30, no. 6, pp. 1–10, Jun. 2020, doi: 10.1002/2050-
Int. J. Electr. Power Energy Syst., vol. 99, pp. 331–343, Jul. 2018, doi: 7038.12374.
10.1016/j.ijepes.2018.01.024. [27] F. Chellali, A. Khellaf, A. Belouchrani, and R. Khanniche, ‘‘A comparison
between wind speed distributions derived from the maximum entropy
[9] Z. Lan, Q. He, H. Jiao, and L. Yang, ‘‘An improved equilibrium optimizer
principle and Weibull distribution. Case of study; six regions of Algeria,’’
for solving optimal power flow problem,’’ Sustainability, vol. 14, no. 9,
Renew. Sustain. Energy Rev., vol. 16, no. 1, pp. 379–385, Jan. 2012, doi:
p. 4992, Apr. 2022, doi: 10.3390/su14094992.
10.1016/j.rser.2011.08.002.
[10] H. Diab, M. Abdelsalam, and A. Abdelbary, ‘‘A multi-objective optimal [28] S. Diaf, G. Notton, and D. Diaf, ‘‘Technical and economic assessment of
power flow control of electrical transmission networks using intelligent wind farm power generation at Adrar in southern Algeria,’’ Energy Proc.,
meta-heuristic optimization techniques,’’ Sustainability, vol. 13, no. 9, vol. 42, pp. 53–62, Jan. 2013, doi: 10.1016/j.egypro.2013.11.005.
p. 4979, Apr. 2021, doi: 10.3390/su13094979. [29] S. Diaf and G. Notton, ‘‘Evaluation of electricity generation and
[11] A. M. Shaheen, R. A. El-Sehiemy, H. M. Hasanien, and A. R. Ginidi, energy cost of wind energy conversion systems in southern Algeria,’’
‘‘An improved heap optimization algorithm for efficient energy manage- Renew. Sustain. Energy Rev., vol. 23, pp. 379–390, Jul. 2013, doi:
ment based optimal power flow model,’’ Energy, vol. 250, Jul. 2022, 10.1016/j.rser.2013.03.002.
Art. no. 123795, doi: 10.1016/j.energy.2022.123795.
[12] A. Shaheen, A. Ginidi, R. El-Sehiemy, A. Elsayed, E. Elattar, and
H. T. Dorrah, ‘‘Developed gorilla troops technique for optimal power
flow problem in electrical power systems,’’ Mathematics, vol. 10, no. 10,
p. 1636, May 2022, doi: 10.3390/math10101636. SOUHIL MOUASSA was born in Ziama Man-
[13] A. Alanazi, M. Alanazi, Z. A. Memon, and A. Mosavi, ‘‘Determin- souriah, Jijel, Algeria. He received the B.S. degree
ing optimal power flow solutions using new adaptive Gaussian TLBO in electrical engineering and the magister’s degree
method,’’ Appl. Sci., vol. 12, no. 16, p. 7959, Aug. 2022, doi: 10.3390/ from the University of Setif, Algeria, in 2009 and
app12167959. 2012, respectively, and the Ph.D. degree from the
[14] M. Riaz, A. Hanif, H. Masood, M. A. Khan, K. Afaq, B.-G. Kang, University of Jaén, Jaén, Spain, and Sétif 1 Univer-
and Y. Nam, ‘‘An optimal power flow solution of a system integrated sity, in 2021. He is an Associate Professor with the
with renewable sources using a hybrid optimizer,’’ Sustainability, vol. 13, University of Bouira, Algeria. He is a researcher
no. 23, p. 13382, Dec. 2021, doi: 10.3390/su132313382. between both universities. His primary research
[15] I. U. Khan, N. Javaid, K. A. A. Gamage, C. J. Taylor, S. Baig, and interests include optimal power system planning
X. Ma, ‘‘Heuristic algorithm based optimal power flow model incor- and operation, unconventional methods for power system analysis, micro-
porating stochastic renewable energy sources,’’ IEEE Access, vol. 8, grids planning and operation, renewable energy, demand side management,
pp. 148622–148643, 2020, doi: 10.1109/ACCESS.2020.3015473. and smart homes. He is an Expert Reviewer of IEEE ACCESS.
[16] M. Farhat, S. Kamel, A. M. Atallah, and B. Khan, ‘‘Developing a marine
predator algorithm for optimal power flow analysis considering uncertainty
of renewable energy sources,’’ Int. Trans. Electr. Energy Syst., vol. 2022,
pp. 1–16, Jun. 2022, doi: 10.1155/2022/3714475. AYOOB ALATEEQ received the B.S. degree in
[17] Z. Ullah, S. Wang, J. Radosavljevic, and J. Lai, ‘‘A solution to the electrical engineering from the University of Ha’il,
optimal power flow problem considering WT and PV generation,’’ Hail, Saudi Arabia, in 2009, and the M.S. and
IEEE Access, vol. 7, pp. 46763–46772, 2019, doi: 10.1109/ACCESS. Ph.D. degrees from the University of Denver, in
2019.2909561. 2013 and 2018, respectively. Since 2019, he is an
[18] M. H. Sulaiman and Z. Mustaffa, ‘‘An application of improved Salp swarm Assistant Professor with the Department of Elec-
algorithm for optimal power flow solution considering stochastic solar trical Engineering, University of Ha’il. His current
power generation,’’ E-Prime-Adv. Electr. Eng., Electron. Energy, vol. 5,
research interest includes optimization in dc con-
Sep. 2023, Art. no. 100195, doi: 10.1016/j.prime.2023.100195.
versation.
[19] S. Suman and H. K. Meena, ‘‘Optimal power flow solution incorporating
stochastic renewable energy sources for controlled emission,’’ in Proc.
IEEE PES/IAS PowerAfrica, Nairobi, Kenya, Aug. 2021, pp. 1–5, doi:
10.1109/PowerAfrica52236.2021.9543239.
[20] S. Mouassa, A. Althobaiti, F. Jurado, and S. S. M. Ghoneim, ‘‘Novel design
of slim mould optimizer for the solution of optimal power flow problems ABDULLAH ALASSAF received the B.S. degree
incorporating intermittent sources: A case study of Algerian electricity in electrical engineering from the University of
grid,’’ IEEE Access, vol. 10, pp. 22646–22661, 2022. Ha’il, Hail, Saudi Arabia, in 2013, and the M.S.
[21] M. H. Sulaiman and Z. Mustaffa, ‘‘An application of teaching-learning- and Ph.D. degrees in electrical engineering from
based optimization for solving the optimal power flow problem with the University of South Florida, Tampa, FL, USA,
stochastic wind and solar power generators,’’ Results Control Optim., in 2017 and 2021, respectively. He is currently an
vol. 10, pp. 87–100, Jan. 2023. Assistant Professor with the Department of Elec-
[22] J. O. Agushaka, A. E. Ezugwu, and L. Abualigah, ‘‘Dwarf mongoose trical Engineering, University of Ha’il. His current
optimization algorithm,’’ Comput. Methods Appl. Mech. Eng., vol. 391, research interest includes power system dynamics
Mar. 2022, Art. no. 114570. and control.
RAMZAN BAYINDIR (Senior Member, IEEE) IBRAHIM ALSALEH (Member, IEEE) received
received the bachelor’s degree from the Depart- the B.S. degree in electrical engineering from the
ment of Electrical Education, Gazi University, University of Ha’il, Hail, Saudi Arabia, in 2012,
in 1992, and the M.Sc. and Ph.D. degrees from and the M.S. and Ph.D. degrees in electrical engi-
the Institute of Science and Technology, Gazi Uni- neering from the University of South Florida,
versity, in 1998 and 2002, respectively. He was a Tampa, FL, USA, in 2016 and 2020, respectively.
Research Assistant and an Assistant Professor with He is currently an Assistant Professor with the
the Department of Electrical Education, Gazi Uni- Department of Electrical Engineering, University
versity. He became an Associate Professor with of Ha’il. His current research interest includes
the Department of Electrical and Electronics Engi- optimization and reinforcement learning in smart
neering, Gazi University, where he is currently a Professor. He is also the Vice power grids.
Rector of Gazi University. He was the Vice Dean of the Faculty of Technol-
ogy, the Director of the Gazi Vocational School, the Faculty of Technology,
and the Head of the Department of Electrical and Electronics Engineer-
ing in academic units. He has some key qualifications, such as education
and curriculum design and development in different fields, vocational and
technical education; designing, organization, and planning the international
level projects; and educational and vocational training material development.
He has more than 250 journal articles and conference papers within his
field of work. He has also published as the author in four national and two FRANCISCO JURADO (Senior Member, IEEE)
international books. Having completed many national projects, he also took was born in Linares, Jaén, Spain. He received the
part in the project in which many European countries were participants. M.Sc. and Dr.-Ing. degrees from the National Uni-
His main research interests include renewable energy sources, microgrids, versity of Distance Education, Madrid, Spain, in
distributed generation, smart grid applications, and industrial automation, 1995 and 1999, respectively. Since 1985, he has
with programmable logic controllers (PLC). He served as a reviewer for been a Professor with the Department of Electrical
many high-ranked scientific journals. He served as a guest editor for the same Engineering, University of Jaén, Jaén. His current
SCI-indexed reputable journals. He is an Editorial Board Member of Turkish research interests include power systems, model-
Journal of Electrical Engineering and Computer Sciences (Tübitak) and an ing, and renewable energy.
Editor of IEEE ACCESS.