Optimal Placement and Capacity of Battery Energy Storage System in Distribution Networks Integrated With PV and EVs Using Metaheuristic Algorithms
Optimal Placement and Capacity of Battery Energy Storage System in Distribution Networks Integrated With PV and EVs Using Metaheuristic Algorithms
This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
Digital Object Identifier 10.1109/ACCESS.2022.Doi Number
ABSTRACT In this research, the optimal placement and capacity of battery energy storage systems
(BESS) in distribution networks integrated with photovoltaics (PV) and electric vehicles (EVs) have been
proposed. The main objective function is to minimize the system costs including installation, replacement,
and operation and maintenance costs of the BESS. The replacement cost has been considered over 20 years
while the operation and maintenance costs are the costs incurred by transmission line loss, voltage regulation,
and peak demand. To solve the problem, three metaheuristic algorithms, namely particle swarm optimization
(PSO), african vultures optimization algorithm (AVOA), and salp swarm algorithm (SSA), are employed.
The proposed approach is evaluated on the IEEE 33- and 69-bus distribution systems integrated with PV and
EVs. The results provided by the considered algorithms are compared in terms of the objective function,
system efficiency enhancement, payback period, and statistical analysis. The simulation results show that
after the BESS installation, the voltage profile can be improved, transmission loss is reduced, and peak
demand is decreased where PSO provides the best objective values and AVOA achieves the fastest payback
periods in both systems.
INDEX TERMS Battery energy storage systems, photovoltaics, electric vehicles, metaheuristic algorithms,
particle swarm optimization, african vultures optimization algorithm, salp swarm algorithm
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
By installing BESSs in distribution systems, the efficiency alone microgrid 17-bus system connected with residential
of the distribution systems can be improved depending on and EV loads by using teaching learning-based optimization
the placement and capacity of the BESS. Finding the best (TLBO). The results showed that losses in the system could
appropriate placement and capacity of the BESS is thus an be decreased, and voltage quality is improved. Y. Zheng et
important task that must be studied and considered to al. indicated the optimal number, placement, and sizes of the
improve distribution system performance and reliability of BESSs in radial distribution systems to control voltage
power generation and also minimize system costs. Several regulation and minimize life cycle costs by using a
works have studied many methods to determine the best hierarchical planning model and natural aggregation
appropriate placement and capacity of the BESS. In [11] , P. algorithm (NAA) [18]. Thus, several methods have been
Boonluk et al. presented the optimal placement and capacity used to determine the optimal placement and capacity of the
of the BESS together with renewable energy sources (RESs) BESS in the distribution systems in order to reduce system
by using genetic algorithm (GA) and particle swarm costs such as installation, replacement, transmission loss,
optimization (PSO) to determine the lowest system costs in voltage regulation, and peak demand costs. However, most
the IEEE 33-bus distribution network, and it was found that of them have only considered some of the system costs
PSO is more effective than GA. In [12], A. Fathy. proposed although all the system costs are important, and traditional
a novel artificial hummingbird algorithm (AHA) to algorithms have been used to solve the problems in most
determine the optimal locations and sizes of biomass-based studies.
distributed generators (DGs) in radial distribution networks So, several works presented the optimal placement and
in order to minimize active power loss and voltage deviation. capacity of the BESS for distribution systems by considering
It was found that the proposed algorithm could significantly all of the system costs, and some new efficient optimization
enhance network performance in terms of power loss and algorithms were employed. In [19], S. Khunkitti et al.
voltage deviation reductions. In [13] M. Tolba et al. proposed the optimal placement and sizing of the BESS for
introduced an effective optimization method called modified distribution networks connected with DGs by using GA,
forensic-based investigation (mFBI) optimizer to determine PSO, and SSA algorithms to minimize system costs
the optimal location and capacity of DGs in the IEEE 118- including transmission loss, voltage regulation, and peak
bus system and real distribution system in Delta-Egypt. The demand costs in the IEEE 33- and 69-bus distribution
optimization process was based on a multi-objective function systems. The results presented the BESS could mitigate the
aiming to minimize power losses, overall node voltage system costs, improve the voltage profile, decrease power
deviation and total annual operational costs, and maximize losses, and decrease peak demand. However, this research
voltage stability margin. The results demonstrate that the only considered the price of operation and maintenance of
mFBI optimizer outperforms other existing techniques, distribution systems, which did not include the costs of
providing superior outcomes in terms of the specified battery installation and replacement. In addition, V.Janamala
objectives. N. Jayasekara et al. introduced the optimal et al. proposed an approach to optimally integrate interline-
installation of the BESS together with PVs and winds PV (I-PV) system under different EV load penetration levels
turbines (WTs) by using the interior point method for by aiming at real power loss reduction and voltage profile
controlling operation together with data management system enhancement [20]. The coyote optimization algorithm
(DMS) and energy management system (EMS) in the IEEE (COA), PSO, and grey wolf optimizer (GWO) were used to
33-bus distribution system to minimize distribution system determine the optimal solutions. The simulation results
costs and battery cycling cost [14]. The results showed that presented that I-PV could be used to improve the voltage
the BESS can improve the efficiency of the distribution profile, decrease transmission loss, and adapt to real-world
system evaluated by examining voltage regulation situations; however, this paper only considered I-PV
enhancement, decreasing loss, and decreasing of peak installations where PV and BESS were installed at the same
demand. A. Mazza et al. considered finding the optimal placement, and the BESS installation costs were not
placement and capacity of the BESS connected with EVs and included. In [21], D. Sadeghi presented the optimal
DGs by using GA and greedy algorithm to minimize installation of BESS together with DGs and EVs by using
investment and operation and maintenance (O&M) costs in multi-objective PSO (MOPSO) and Monte Carlo simulation
a rural 22-bus distribution system which is a low voltage grid (MCS) to find optimal life cycle costs (LCCs) consisting of
[15]. In [16], A. Ahmadian presented the optimal BESS initial cost (IC), maintenance cost (MC), and replacement
installation by using a fuzzy model to predict the uncertainty cost (RC), and the results showed that the LCC could be
of load profile, and tabu search (TS) and simulated annealing decreased.
(SA) algorithms were applied to find the power of DGs, the Although various works have studied the optimal
number of battery units, power rating of BESS, and capacity placement and capacity of the BESS installation, most of
and locating of the BESS in the multi-objective problems them have not considered battery installation and
where the objectives included costs of electrical energy replacement costs as in [19], [20], and some of them used
purchased by distribution utility and power loss in the traditional optimization algorithms [21]. Thus, this work
distribution network. In [17], M. Khalid et al. introduced the presents the optimal placement and capacity of the BESS in
optimal placement and capacity of DGs and BESS in a stand- distribution networks connected with PV and EVs by
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
considering system costs as the objective function. A can be increased by carefully controlling heat dissipation at
traditional efficient optimization algorithm which is PSO the optimal temperature which is around 15–35 degrees
[22] and new efficient algorithms which are AVOA [23] and Celsius, avoiding charging and discharging frequently.
SSA [24] are employed to determine the optimal solutions. Frequent charging and discharging should be avoided. The
This work's primary contributions can be summarized as: DOD of the Li-ion is recommended at 80% of the total
1) The study aims to determine the optimal placement and capacity. The rates of charge and discharge should not be too
capacity of the BESS in the IEEE 33- and 69-bus distribution high because it will cause high temperatures to the BESS,
systems connected with PV and EV penetrations by which will result in a shorter service life [28], [29].
considering overall system costs, which include investment,
replacement, operation, and maintenance costs as the B. BATTERY ENERGY STORAGE SYSTEM SIMULATION
objective function to be minimized. The simulation of the BESS considers the charging and
2) The efficiency of the distribution systems is enhanced by discharging of the BESS at equal intervals within the period
decreasing transmission line loss, decreasing peak demand, of 24 hours [11], [14], [19]. The period is divided equally
and improving voltage profile after the BESS installation. into 1 hour 30 minutes or 15 minutes, so BESS can support
3) Three mentioned optimization algorithms are utilized to the battery charging and discharging rate at a value of 24, 48,
find solutions to the problems, and their efficiency is or 96 respectively. The charging and discharging rates in any
evaluated through a comparative analysis. period are CiT, which can be determined according to the
4) The break-even point for investing in the BESS following equation:
installation is calculated for investment decisions, and the
statistical analysis is considered to validate the performance EB (1)
of each algorithm. CiT =
(1)
The content has been arranged in topical order as follows:
Section 2 presents the ESS installation in a distribution EB (m)
system. In Section 3, the problem is defined and described.
The outlines of the metaheuristic algorithms and their where EB(t) represents the energy in the BESS (MWh) at
implementation are explained in Section 4. Section 5 depicts time t = 1, 2, 3, …, m.
the results and discussions. The work is finally concluded in The Fourier series is used to find the energy in the BESS
Section 6. by using the Fourier coefficient vector (CiF) provided by the
optimization process. The Fourier series is adopted in this
II. ENERGY STORAGE SYSTEMS IN A DISTRIBUTION work because it can be utilized to find the energy in the BESS
SYSTEM expressed in finely dispersed periodic patterns. By using the
ESS are terms used to describe systems or equipment Fourier series, the periodic pattern can be divided into a
installed in a system in order to convert electrical energy into group of sinusoidal components in time domain enabling a
other energy types such as electrochemical, mechanical, thorough analysis in the energy of the BESS [30]. The
chemical, thermochemical, and thermal energies that can be method is to start at random with 16 Fourier coefficient
stored and converted back into electrical energy again when values and use the Fourier transform to predict the BESS's
needed [10], [25]–[27]. In this research, BESS which, electrical energy (EB) every hour . The Fourier series is then
applies the energy conversion between electrical energy and used to represent the state of energy (SOE) over the entire
electrochemical energy, is used to be installed in the considered period. The energy in the BESS is determined by
distribution systems because of its suitable discharging time using the presented equations [14], [30].
that can respond to daily loads in a timely manner. The BESS
and its simulation are described in the following subsection. a1 , b1
CiF =
(2)
A. BATTERY ENERGY STORAGE SYSTEMS (BESSs)
The BESSs take a moderate amount of time to discharge an , bn
(about minutes to hours) with a ratio between 1 and 10,
meaning that there is a capacity of 1–10 kWh for a system 2 t 2 t
EB (t ) = a0 + a1 cos + b1 sin + ...
with a power of 1 kW. Examples of the BESSs are lead acid T T (3)
batteries (LA), lithium-ion batteries (Li-ion), redox flow
2 nt 2 nt
batteries (RFB), and sodium sulphur batteries (NaS). The Li- + an cos + bn sin
ion battery has been chosen in this study because of its T T
several advantages such as high efficiency of more than 90
%, high energy density (90-190 Wh/kg), up to 10,000 cycle where CiF, a0, an, bn, n, t, and T are the Fourier coefficient
times, and suitable cost. vector, constant Fourier coefficient, Fourier cosine
There are several factors affecting the service life of the coefficient, Fourier sine coefficient, number of Fourier
Li-ion batteries in the BESS, which should be considered, coefficients which is set to 8, time, and period, respectively.
including temperature, the operation cycle numbers of the The Fourier cosine and sine coefficients are the optimization
BESS, and depth of discharge (DOD) [11]. The BESS life variables for the problem.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
The energy in the BESS, EB(t) is obtained by substituting where Cycles, D = 285 days [14], Cycle Life = 3,000 cycles
CiF from (2) into (3). From (3), a0 is not required because the [14], and Q are the number of daily BESS cycles, number of
constant a0 has no impact on the charging and discharging of BESS operating days, number of cycles in the nominal cycle
the BESS and has no impact on the daily energy cost life of Li-ion battery, and actual service life cycle in years,
coefficient. So, it can be set after an optimization process to respectively.
ensure that the BESS power curve is not below the minimum
value required to perform the DOD requirements. III. PROBLEM FORMULATION
The energies’ variation in the BESS at two consecutive To determine the optimal placement and capacity of the
times are computed by (4) in order to find the power of the BESS in distribution networks connected with PV and EV
BESS as in (5) and (6). The power of the BESS can then be charging stations, the costs of installation, replacement,
used to indicate the state of the BESS. When the BESS is in transmission loss, voltage regulation, and peak demand in
a charging state, the BESS power is positive, indicating the the distribution systems are considered as the objective
energy being added to the BESS. Conversely, when the function to be minimized while the constraints are the
BESS is in a discharging state, the BESS power is negative, voltages of all buses and BESS power and energy.
indicating the energy being released from the BESS.
EB = EB (t ) − EB (t − 1) (4)
A. OBJECTIVE FUNCTION
The objective function of this research is to decrease the total
PB (t ) = EB / ( t c ) , PB (t ) 0 (5) costs of BESS installation (Csystem) including investment cost
(CIC), replacement cost (CRC), and operation and
PB (t ) = ( EB d ) / t , PB (t ) 0 (6)
maintenance costs (CMC) [17]-[19]. The size of the BESS will
affect the investment cost while the replacement cost varies
where ΔEB is the energies’ variation in the BESS at two
depending on the size and life cycle time of the BESS.
consecutive times, ηc = ηd =√𝜼𝒃𝒂𝒕 , ηbat = 0.9 is the BESS Moreover, the operation and maintenance costs of the
efficiency in a cycle, and ηc, ηd, PB, and Δt are the BESS distribution systems include voltage regulation cost (CCVR),
charging efficiency, BESS discharging efficiency, BESS transmission loss cost (Closs), and peak demand cost (Cp).
power, and sampling interval time, respectively. Equation (10) represents the objective function of this work,
which can be obtained from (11) – (17).
C. OPTIMAL CAPACITY OF THE BESS
To find the optimal capacity of the BESS, the power capacity f (CiF ) = min ( Csystem ) (10)
and energy capacity should be considered to decrease the
total costs and maintain the quality and reliability of Csystem = CIC + CMC + CRC (11)
distribution systems. Moreover, the number of cycles and the
SOC should also be considered because they are two main CIC = N bat IC (12)
factors that affect the BESS life [9]. By improving the CMC = CCVR + Closs + C p (13)
( )
BESS's charging and discharging cycles, the daily SOC
Vi − Vref VR
T N
swings can be decreased, which helps increase the efficiency CCVR = t =1 i =1
(14)
of the BESS's life cycle. The size of the BESS can be
= ( Lineloss )
calculated by the difference between the maximum and T M
minimum energy in the BESS divided by the maximum Closs t =1 i =1 loss (15)
DOD as shown below.
EBmax − EBmin
C p = Pmax t p (16)
Battery size(kWh) = (7)
t year
DODmax
CRC = Nbat IC (17)
where DODmax = 0.8, EBmax and EBmin are the maximum and Cycles
minimum values of energy in the BESS, respectively. where Nbat, N, T, 𝑉𝑖 , 𝑉𝑟𝑒𝑓 , M, Lineloss, Pmax, 𝛾𝑉𝑅 , 𝛾𝑙𝑜𝑠𝑠 , 𝛾𝑝 ,
The BESS daily cycle and service life cycle can be
𝛾𝐼𝐶 , and tyear are the BESS size (kWh), total number of buses,
estimated from (8) and (9), respectively.
period, voltage at bus i (p.u.), reference voltage which is 1
1 t =1 EB (t ) − EB (t − 1)
T p.u., total number of branches, actual power loss in each line,
Cycles = (8) maximum power demand, rate of voltage regulator cost (𝛾𝑉𝑅
2 DODmax Battery size = 0.142 $/p.u. [14], [19]), rate of transmission loss cost
(𝛾𝑙𝑜𝑠𝑠 = 0.284 $/kWh [14], [19]), rate of maximum energy
CyclesLife demand cost (𝛾𝑝 = 200 $/kWh/year [14], [19]), rate of BESS
Q( years) = (9) installation cost (𝛾𝐼𝐶 = 100 $/kWh [31]), and duration of this
Cycles D
study (tyear = 20 years), respectively.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
B. CONSTRAINTS Each particle i then keeps the best answer in each iteration
1) INEQUALITY CONSTRAINTS called personal best (pbest). All particles share their best
Voltage conditions of each bus must be within the range of answer obtained so far, such that a single particle has access
±10% of the reference voltage as follows: to the most effective solution among all particles called
global best (gbest) in order to adjust its position and speed to
Vmin Vi t Vmax (18) the best solution. The velocity and position of the ith particle
are updated by the following equations.
where Vmin and Vmax are the minimum and maximum voltages
of each bus, respectively, and 𝑉𝑖𝑡 is the voltage at bus i at vik +1 = wik vik + c1r1 ( pbest
k
, i − xi ) + c2 r2 ( g best − xi ) (22)
k k k
each time t.
xik +1 = xik + vik +1 (23)
In addition, the power and capacity of the BESS are
limited to prevent the BESS from being harmed during where the velocities of the ith particle at iterations k+1 and k
charging and discharging, which can be expressed by the are denoted by 𝑣𝑖𝑘+1 and 𝑣𝑖𝑘 , respectively. 𝑥𝑖𝑘+1 and 𝑥𝑖𝑘
following equations. represent the positions of the ith particle at iterations k+1 and
PBmin Pcha
t t
, Pdis PBmax (19) k, respectively, c1 and c2 are both positive acceleration
coefficients set to 2. r1 and r2 are two uniformly randomly
EBmin EB EBmax t
(20) 𝑘
produced numbers between [0,1]. 𝑝𝑏𝑒𝑠𝑡,𝑖 is the personal best
where 𝑃𝐵𝑚𝑖𝑛 and 𝑃𝐵𝑚𝑎𝑥 represent the minimum and position of the i particle at iteration k, g 𝑘𝑏𝑒𝑠𝑡 refers to the
th
maximum powers of the BESS, respectively. Recent global best position of all particles during the kth iteration,
charging and discharging powers of the BESS at time t are and w is the inertia weight at the kth iteration calculated by
𝑡
represented by 𝑃𝑐ℎ𝑎 𝑡
and 𝑃𝑑𝑖𝑠 , respectively, and the minimum the equation below.
and maximum capacities of the BESS are 𝐸𝐵min and 𝐸𝐵max , wmax − wmin
respectively. w = wmax − ( iter ) (24)
itermax
2) EQUALITY CONSTRAINT
For the equality constraint, the power balance is controlled where wmax is set to 0.9, wmin is set to 0.4, iter is the current
in each bus of a distribution system as shown in the equation iteration number, and itermax is the maximum iteration
below [20]. number.
Pgrid (t ) = PD (t ) − Ppv (t ) PB (t ) − PL (t ) (21)
B. AFICANS VULTURES OPTIMIZATION ALGORITHM
where Pgrid, PD, Ppv, PB, and PL are grid power, load demand (AVOA)
power, PV power, BESS power, and transmission line power AVOA is a meta-heuristic algorithm inspired by African
loss, respectively. vultures that migrate in flocks to locate food and cohabit
where the food location indicates the best solution. The
IV. METAHEURISTIC ALGORITHMS AND AVOA begins with a random sampling of the vultures' initial
IMPLEMENTATION positions in the problem area, and the best two vultures are
In this research, to determine the optimal placement and evaluated by the following equation.
capacity of the BESS in distribution systems connected with
BestVulture1 if pi = L1 (25)
PV and EVs, three metaheuristic algorithms including PSO, R(i) =
AVOA, and SSA are adopted. The effectiveness of these BestVulture2 if pi = L2
algorithms is compared in terms of voltage deviation index Fi (26)
pi =
i =1 Fi
n
(VDI), power losses, and peak demand enhancement. The
implementation of the whole process is explained in the
following subsections. where R(i) is one of the best vultures selected, pi is the
probability of choosing the best solution, n is the number of
A. PARTICLE SWARM OPTIMIZATION (PSO) group’s vulture, L1 and L2 are the indicators calculated before
PSO is one of the most widely used techniques for solving the searching process, with the values in the range of 0 and
optimization problems because of its simplicity and high 1, and the sum of them is equal to 1. The rates of starvation
efficiency in searching for solutions. Although PSO is a of both vultures are then calculated by the following
traditional method, it could overcome new proposed equations.
optimization algorithms in some works [19], [32], [33]. So,
iter
it is possible that PSO can be better than modern algorithms F = ( 2 rand1 + 1) z 1 − +t
(27)
in this work. PSO was proposed by Kennedy and Eberhart iter max
inspired by the social behavior of a group of fishes or birds w iter iter
t = h sin (28)
looking for food [22]. In the PSO simulation, firstly, the + cos − 1
position and speed of each particle are randomly initialized. 2 itermax 2 itermax
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
where F indicates the rate of starvation, rand1 has a random BestVulture2 (i) P(i) (38)
A2 = BestVulture2 (i ) − F
value that varies between 0 and 1, iter is the current iteration, BestVulture2 (i) − P(i)2
itermax is the maximum number of iterations, z is a randomly A1 + A2 (39)
P(i + 1) =
generated number in the range of [-1,1] regenerating in each 2
iteration, t is adopted to improve the search process by P(i + 1) = R(i) − d (t ) F Levy (d ) (40)
avoiding the local optima, h is a number randomly chosen
between -2 and 2, w is a parameter used to balance the where A1 and A2 are great deals of competition for food that
exploration and exploitation phases [23]. When z falls below may accumulate various species of vultures on one food
zero in the range of [-1,0), the vulture is starved, and when it source, BestVulture1(i) is the best vulture of the first group in
rises in the range of [0,1], the vultures are satiated. iteration i, BestVulture2(i) is the best vulture of the second
If the vultures have a value of F ≥ 1, then the vultures are group in iteration i, Levy(d) is a Levy flight used to increase
satiated. Vultures will explore in search of food at random the randomness of the AVOA computed by the given
distances from one of the two groups and update the position equation.
by using the presented equations.
1
(41)
D(i ) = X R(i ) − P(i ) (29) u (1 + ) sin( 2 )
Levy ( d ) = 0.01 , =
1
(1 + 2 ) 2(
− 1
P(i + 1) = R(i ) − D(i ) F (30) v
2
)
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
where i≥2, xij is the position of the ith follower in the jth BESS in distribution systems connected with PV and EV
dimension, 𝑥𝑗𝑖−1 is the position of the followers in the jth charging stations. The implementation of the proposed
dimension. method is depicted as a flowchart in Fig. 1, and the tested
systems and EV modeling are described in the following
D. DISTRIBUTION SYSTEM EFFICIENCY EVALUATION subsections.
In this research, distribution system efficiency is investigated
after the BESS installation. The efficiency is investigated in
terms of transmission loss, VDI, and peak demand, which are
described in the following subsections.
1) VOLTAGE DEVIATION INDEX (VDI)
VDI is used to indicate the efficiency of the distribution
system evaluated by examining voltage profile enhancement
when installing the BESS. The VDI can be calculated by the
percentage of the difference between the reference voltage
and the actual voltage for the period as presented in the
following equation.
Vref − Vi
%VDI i = max T 100,
Vref (45)
Nbus
%VDI = %VDI i
i =1
E. IMPLEMENTATION
To determine the optimal solution, three metaheuristic
algorithms consisting of PSO, SSA, and AVOA are
employed to find the optimal placement and capacity of the FIGURE 1. Implementation of the proposed method.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
[36]. Fig. 5 and Fig. 6 show the load demand when the EV
penetration is at 20%.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
a1 b1 a2 b2 TABLE IV
0.04825 -1069711 -0.62566 0.19301 Efficiency comparison of the BESS installation in the IEEE 33-bus
distribution system
a3 b3 a4 b4
-0.08193 0.07924 0.12065 0.14032 Real Reactive Apparent Maximum
SSA power power power peak
a5 b5 a6 b6 Algorithms VDI (%)
loss loss loss Demand
0.9653 -0.88260 -0.10149 0.02082
(MW) (MVAr) (MVA) (MW)
a7 b7 a8 b8
Base 200.2029 4.4743 3.0297 5.4036 4.6484
0.04179 -0.01961 -0.01447 0.02059
PSO 172.1783 4.2803 2.9046 5.1728 3.8197
AVOA 176.5046 4.2925 2.9125 5.1873 3.9286
SSA 173.2407 4.2934 2.9130 5.1883 3.8288
TABLE III
Optimal placement and capacity of the BESS in the IEEE 33-bus
distribution system
Power
Best BESS
of Lifetime System Costs
Algorithms place size
BESS of BESS ($)
ment (MWh)
(MW)
PSO 6 5.3342 0.9439 8.8247 25,933,282.71
AVOA 6 4.4386 0.9426 8.7514 26,110,137.49
SSA 6 5.2113 1.0463 8.8211 25,957,185.51
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
than the base case because the BESS was supplied together
with the power from the grid. From 8:00 a.m. to 6:00 p.m.,
the peak demand was higher than the base case because
BESS was in the charging state to store power for supply
during the peak time.
FIGURE 9. Voltage profile comparison of all buses at 8.00 p.m. for the
IEEE 33-bus.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
TABLE IX
Efficiency comparison of the BESS installation in the IEEE 69-bus
distribution system
Real Reactive Apparent Maximum
power power power peak
Algorithms VDI (%)
loss loss loss Demand
(MW) (MVAr) (MVA) (MW)
Base 216.4787 5.8152 2.6273 6.3812 4.7834
PSO 199.6260 5.8202 2.6286 6.3863 4.0415
AVOA 199.0248 5.8213 2.6294 6.3875 4.0974
SSA 197.4168 5.8195 2.6283 6.3855 4.0836
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
FIGURE 15. Voltage profile comparison of all buses at 8.00 p.m. for the
IEEE 69-bus system.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
TABLE X AVOA, and SSA are used to solve the optimization problem,
Statistical results of each algorithm in the IEEE 69-bus distribution system
and the IEEE 33- and 69-bus distribution systems are tested.
Algorithms PSO AVOA SSA
In the IEEE 33-bus system, the results show that PSO could
obtain the optimal placement and capacity of the BESS with
Best 29,572,175.60 29,603,862.21 29,680,415.59 the best system costs followed by AVOA and SSA,
respectively. PSO also provided the best VDI, decreasing of
Worst 29,957,728.13 30,046,106.10 32,959,028.38
transmission loss, and decreasing of peak demand after the
Mean 29,721,951.40 29,780,709.30 30,592,240.12
BESS installation followed by AVOA and SSA in term of
Median 29,671,100.87 29,756,369.56 30,348,051.77 loss reduction and SSA and AVOA in term of peak demand
Std. 130,722.10 111,396.71 992,083.15 reduction while AVOA achieved the fastest payback period
Time (s) 59,299.55 60,141.59 56,469.76 followed by SSA and PSO. The statistical results of PSO are
the best ones compared to the other algorithms except for
standard deviation which AVOA provided the best while
TABLE XI
System cost and payback period comparison of the IEEE 69-bus
SSA used the fastest operation time. It is also found that
distribution system installing the BESS by all considered algorithms could move
Operation and the voltage of all buses from the base case to be within the
Payback
Algorithms System costs ($) maintenance costs constraints. The simulation results of the IEEE 69-bus
(year)
for 1 day ($)
system express that PSO provided the best system costs for
Base - 4,278.9010 -
giving the optimal placement and capacity of the BESS
PSO 29,572,175.59 3,872.9910 2.5440 followed by AVOA and SSA, respectively. The efficiency
AVOA 29,603,862.21 3,904.7884 2.3493 comparison in this system found that SSA obtained the least
SSA 29,680,415.60 3,896.6692 2.5206 VDI followed by AVOA and PSO while PSO achieved the
best maximum peak demand reduction followed by SSA and
AVOA, and AVOA provided the fastest payback period
followed by SSA and PSO. PSO also generated the best
values in all aspects of the statistical results except for
standard deviation while AVOA generated the best standard
deviation and SSA consumed the shortest operation time.
The out-of-range bus voltages of the base case could also
move to be within the constraints by the BESS installation
by each algorithm. However, the overall transmission line
losses after the BESS installation provided by all considered
algorithms were close to those of the base because the IEEE
69-bus system is too large for only one installation BESS.
The results show that it is not always necessary to install
BESS on the same bus as the PV when the distribution
system is larger. In future work, the optimal placement and
capacity of more than one BESSs will be considered for
installation in distribution systems to evaluate system
efficiency enhancement and system costs.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
[3] M. Kongkuah, H. Yao, and V. Yilanci, “The [14] N. Jayasekara, M. A. S. Masoum, and P. J. Wolfs,
relationship between energy consumption, economic “Optimal operation of distributed energy storage
growth, and CO2 emissions in China: the role of systems to improve distribution network load and
urbanisation and international trade,” Environ. Dev. generation hosting capability,” IEEE Trans. Sustain.
Sustain., vol. 24, no. 4, pp. 4684–4708, 2022, doi: Energy, vol. 7, no. 1J, pp. 250–261, 2016, doi:
10.1007/s10668-021-01628-1. 10.1109/TSTE.2015.2487360.
[4] Q. Dai, J. Liu, and Q. Wei, “Optimal [15] A. Mazza, H. Mirtaheri, G. Chicco, A. Russo, and
photovoltaic/battery energy storage/electric vehicle M. Fantino, “Location and sizing of battery energy
charging station design based onmulti-agent particle storage units in low voltage distribution networks,”
swarm optimization algorithm,” Sustain., vol. 11, Energies, vol. 13, no. 1, pp. 2–5, 2019, doi:
no. 7, 2019, doi: 10.3390/su11071973. 10.3390/en13010052.
[5] M. Motalleb, E. Reihani, and R. Ghorbani, “Optimal [16] A. Ahmadian, M. Sedghi, and M. Aliakbar-Golkar,
placement and sizing of the storage supporting “Fuzzy load modeling of plug-in electric vehicles for
transmission and distribution networks,” Renew. optimal storage and dg planning in active
Energy, vol. 94, pp. 651–659, 2016, doi: distribution network,” IEEE Trans. Veh. Technol.,
10.1016/j.renene.2016.03.101. vol. 66, no. 5, pp. 3622–3631, 2017, doi:
[6] S. A. El-Batawy and W. G. Morsi, “Optimal design 10.1109/TVT.2016.2609038.
of community battery energy storage systems with [17] M. Khalid, U. Akram, and S. Shafiq, “Optimal
prosumers owning electric vehicles,” IEEE Trans. planning of multiple distributed generating units and
Ind. Informatics, vol. 14, no. 5, pp. 1920–1931, storage in active distribution networks,” IEEE
2018, doi: 10.1109/TII.2017.2752464. Access, vol. 6, pp. 55234–55244, 2018, doi:
[7] D. M. Tovilović and N. L. J. Rajaković, “The 10.1109/ACCESS.2018.2872788.
simultaneous impact of photovoltaic systems and [18] Y. Zheng, Y. Song, A. Huang, and D. J. Hill,
plug-in electric vehicles on the daily load and “Hierarchical Optimal Allocation of Battery Energy
voltage profiles and the harmonic voltage distortions Storage Systems for Multiple Services in
in urban distribution systems,” Renew. Energy, vol. Distribution Systems,” IEEE Trans. Sustain. Energy,
76, pp. 454–464, 2015, doi: vol. 11, no. 3, pp. 1911–1921, 2020, doi:
10.1016/j.renene.2014.11.065. 10.1109/TSTE.2019.2946371.
[8] O. Babacan, W. Torre, and J. Kleissl, “Siting and [19] S. Khunkitti, P. Boonluk, and A. Siritaratiwat,
sizing of distributed energy storage to mitigate “Optimal Location and Sizing of BESS for
voltage impact by solar PV in distribution systems,” Performance Improvement of Distribution Systems
Sol. Energy, vol. 146, pp. 199–208, 2017, doi: with High DG Penetration,” Int. Trans. Electr.
10.1016/j.solener.2017.02.047. Energy Syst., vol. 2022, pp. 1–16, 2022, doi:
[9] C. K. Das, O. Bass, G. Kothapalli, T. S. Mahmoud, 10.1155/2022/6361243.
and D. Habibi, “Overview of energy storage systems [20] V. Janamala and D. Sreenivasulu Reddy, “Coyote
in distribution networks: Placement, sizing, optimization algorithm for optimal allocation of
operation, and power quality,” Renew. Sustain. interline –Photovoltaic battery storage system in
Energy Rev., vol. 91, no. November 2016, pp. 1205– islanded electrical distribution network considering
1230, 2018, doi: 10.1016/j.rser.2018.03.068. EV load penetration,” J. Energy Storage, vol. 41, no.
[10] B. G. Desai, Electrical Energy Storage., vol. 1, no. July, 2021, doi: 10.1016/j.est.2021.102981.
3. 1981. doi: 10.1049/pbpo167e_ch7. [21] D. Sadeghi, A. Hesami Naghshbandy, and S.
[11] P. Boonluk, A. Siritaratiwat, P. Fuangfoo, and S. Bahramara, “Optimal sizing of hybrid renewable
Khunkitti, “Optimal siting and sizing of battery energy systems in presence of electric vehicles using
energy storage systems for distribution network of multi-objective particle swarm optimization,”
distribution system operators,” Batteries, vol. 6, no. Energy, vol. 209, p. 118471, 2020, doi:
4, pp. 1–16, 2020, doi: 10.3390/batteries6040056. 10.1016/j.energy.2020.118471.
[12] A. Fathy, “A novel artificial hummingbird algorithm [22] R. Eberhart and J. Kennedy, “A new optimizer using
for integrating renewable based biomass distributed particle swarm theory,” in MHS’95. Proceedings of
generators in radial distribution systems,” Appl. the Sixth International Symposium on Micro
Energy, vol. 323, no. July, p. 119605, 2022, doi: Machine and Human Science, 1995, pp. 39–43. doi:
10.1016/j.apenergy.2022.119605. 10.1109/MHS.1995.494215.
[13] M. A. Tolba, E. H. Houssein, A. A. Eisa, and F. A. [23] B. Abdollahzadeh, F. S. Gharehchopogh, and S.
Hashim, Optimizing the distributed generators Mirjalili, “African vultures optimization algorithm:
integration in electrical distribution networks: A new nature-inspired metaheuristic algorithm for
efficient modified forensic-based investigation, vol. global optimization problems,” Comput. Ind. Eng.,
35, no. 11. Springer London, 2022. doi: vol. 158, no. January, 2021, doi:
10.1007/s00521-022-08103-6. 10.1016/j.cie.2021.107408.
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3291590
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4