선정목록으로
Optimal locations and capacities of multiple BESSs in a RES-integrated distribution network: a real-world case study
수소연료전지 · (7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.1038/s41598-026-40971-z
- 저널
- Scientific Reports
- 발행년도
- 2026
- 발행기관
- Nature Portfolio
- 피인용수
- 0
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1038/s41598-026-40971-z
- 토픽
- Hybrid Renewable Energy Systems
- OpenAlex ID
- W7130683961
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > MEA(막전극접합체)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
The global transition toward renewable energy sources (RESs) has introduced technical challenges in distribution networks, including voltage instability, increased power losses, and peak demand fluctuations. Battery Energy Storage Systems (BESSs) provide an effective solution through voltage regulation, loss minimization, and peak shaving. However, their effectiveness strongly depends on optimal location and capacity, and a single BESS may be insufficient for network with increasing RES penetration. This study proposes an optimization framework employing the crayfish optimization algorithm (COA) to determine the optimal locations and capacities of multiple BESSs within a distribution network integrated with RESs. The objective is to minimize the total system costs, including BESS investment and performance-related costs associated with voltage deviation, transmission loss, and peak power reductions. The proposed framework is applied to a real-world system, comprising 102 buses incorporating photovoltaic (PV) and biomass distributed generation. Three installation scenarios including one, two, and three BESS units are analyzed and compared against other optimization algorithms. The results confirm the optimal BESS locations and capacities found are technically feasible for real-world deployment. Moreover, COA consistently outperforms comparative methods, particularly in cost minimization and loss reduction. Notably, the two-BESS case yields the most balanced and cost-effective performance.
본문 66,214자
본문 펼치기
### Scientifc Reportsi
#### Article in Press
[https://doi.org/10.1038/s41598-026-40971-z](https://doi.org/10.1038/s41598-026-40971-z)
## Optimal locations and capacities of multiple BESSs in a RES-integrated distribution network: a real-world case study
<u>Received: 30 December 2025</u>
<u>Accepted: 17 February 2026</u>
Cite this article as: Khunkitti S.,
Wichitkrailat K. & Siritaratiwat A.
Optimal locations and capacities of
multiple BESSs in a RES-integrated
distribution network: a real-world
case study. _Sci Rep_ [(2026). https://doi.](https://doi.org/10.1038/s41598-026-40971-z)
[org/10.1038/s41598-026-40971-z](https://doi.org/10.1038/s41598-026-40971-z)
Sirote Khunkitti, Krit Wichitkrailat & Apirat Siritaratiwat
We are providing an unedited version of this manuscript to give early access to its
findings. Before final publication, the manuscript will undergo further editing. Please
note there may be errors present which affect the content, and all legal disclaimers
apply.
If this paper is publishing under a Transparent Peer Review model then Peer
Review reports will publish with the final article.
© The Author(s) 2026. Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International
License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit
to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do
not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this
article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the
article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain
[permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.](http://creativecommons.org/licenses/by-nc-nd/4.0)
##### Optimal Locations and Capacities of Multiple BESSs in A RES-Integrated Distribution Network: A Real-World Case Study
Sirote Khunkitti <sup>1*</sup> , Krit Wichitkrailat <sup>1</sup> , and Apirat
Siritaratiwat <sup>2</sup>
1 Department of Electrical Engineering, Faculty of Engineering, Chiang Mai University,
Chiang Mai 50200, Thailand
2 Department of IoT and Information Engineering, School of Engineering, King Mongkut’s
Institute of Technology Ladkrabang, Bangkok, 10520, Thailand
*sirote.khunkitti@cmu.ac.th
ABSTRACT
The global transition toward renewable energy sources (RESs) has introduced technical
challenges in distribution networks, including voltage instability, increased power losses,
and peak demand fluctuations. Battery Energy Storage Systems (BESSs) provide an effective
solution through voltage regulation, loss minimization, and peak shaving. However, their
effectiveness strongly depends on optimal location and capacity, and a single BESS may be
insufficient for network with increasing RES penetration. This study proposes an
optimization framework employing the crayfish optimization algorithm (COA) to determine
the optimal locations and capacities of multiple BESSs within a distribution network
integrated with RESs. The objective is to minimize the total system costs, including BESS
investment and performance-related costs associated with voltage deviation, transmission
loss, and peak power reductions. The proposed framework is applied to a real-world system,
comprising 102 buses incorporating photovoltaic (PV) and biomass distributed generation.
Three installation scenarios including one, two, and three BESS units are analyzed and
compared against other optimization algorithms. The results confirm the optimal BESS
locations and capacities found are technically feasible for real-world deployment. Moreover,
COA consistently outperforms comparative methods, particularly in cost minimization and
loss reduction. Notably, the two-BESS case yields the most balanced and cost-effective
performance.
Keywords: Battery energy storage system; Distribution network; Metaheuristic
algorithms; Optimization; Renewable energy sources.
Introduction
The global transition toward renewable energy has accelerated the integration of
distributed generation (DG) sources such as photovoltaic (PV) and biomass power plants into
modern distribution systems [1,2]. While this integration offers significant environmental
and economic benefits, it also introduces several technical challenges, comprising voltage
instability, increased power losses, and peak demand fluctuations [3–6]. These issues arise
primarily from the intermittent and uncertain nature of renewable energy sources (RESs),
which can lead to imbalances between generation and demand, especially during periods of
high variability [7,8]. As a result, developing effective strategies to maintain system
reliability and operational efficiency in RES-integrated distribution networks has become a
critical research focus [9–11].
Among the various solutions proposed to address these challenges, battery energy
storage systems (BESS) have become one of the most promising technologies [12]. BESSs
can provide multiple operational advantages such as voltage regulation, peak shaving, power
loss reduction, and load leveling [13–15]. Their flexibility enables them to store surplus
energy during off-peak periods and discharge during peak load conditions, thus enhancing
grid stability and enhancing the overall energy efficiency of the network [16]. However, the
effectiveness of BESS deployment largely depends on the determination of their optimal
placements and capacities. Poorly planned installations can lead to increased investment and
operational costs, as well as limited performance improvement.
Numerous works have proposed optimal solutions for BESS placement and capacity
in different distribution systems. In [17], binary grey wolf optimization (BGWO) was
employed to find the optimal positioning and capacity of utility-scale BESS units aimed at
enhancing the stability of weak grids within a modified IEEE 39-bus system. The optimal
capacity and placement of BESS was presented to reduce the wind power curtailments by
adopting particle swarm optimization (PSO) in the modified IEEE 118-bus system [18]. In
[19], the optimal BESS positioning and capacity with robust optimization (RO) was proposed
to accommodate system uncertainty in a real distribution network derived from the
ATLANTIDE project. In [20], a genetic algorithm (GA) was applied to find the optimal
positioning and capacity of PV and BESS units in the IEEE 13-bus test feeder, aiming to
minimize losses, cost, and voltage fluctuation. The optimal capacity and position of PV and
BESS were considered for a real unbalanced 32-bus industrial distribution system to reduce
power losses and enhance voltage profiles and voltage unbalance where a refined genetic
algorithm incorporating an auto-selective crossover and mutation scheme (RGA-ASCM) was
employed to achieve these objectives [21]. In [22], the salp swarm algorithm (SSA) was
employed to identify the optimal installation of BESS and capacitors in a 41-bus real
distribution system with high PV penetration, aiming to maximize system benefits. In [23],
optimal BESS placement and capacity were examined to enhance the performance of the
IEEE 33- and 69-bus distribution networks under high PV and wind penetration, utilizing GA,
PSO, and SSA. The optimal siting and sizing of BESS were explored in the IEEE 33-bus
distribution network using GA and PSO to minimize costs arising from voltage deviation,
power losses, and maximum power demand. [24]. In [25], the approach proposed in [24] was
applied to solve the same problem with the same objective function in a practical seventh
feeder of Nakhon Phanom substation in Thailand. In [26], the optimal deployment of BESS
was analyzed to strengthen the grid’s ability to accommodate load and distributed
generation, with evaluations performed on the IEEE 33-bus system and a low-voltage
distribution network in Western Australia. In [27], the optimal siting and capacity of BESS
in the IEEE 33- and 69-bus distribution networks with integrated PV and electric vehicles
(EVs) was investigated using metaheuristic techniques to reduce total system costs and
improve operational performance. The proposed approach in [27] was developed to solve the
optimal positioning and sizing of BESS and PV in the tenth feeder of Phitsanulok substation
in Thailand integrated with EVs [28]. Moreover, some works have employed energy
management strategy (EMS) for BESS charging and discharging strategies. In [29], the
optimal allocation of PV and BESS was proposed in an IEEE 33-bus unbalanced radial
distribution system (URDS) considering time of use (TOC) pricing by adopting Pelican
optimization algorithm (MOPOA). Search group algorithm (SGA) for optimal allocation of
BESS integrated with wind turbine was proposed in [30] by applying a new charge-discharge
control EMS strategy in the IEEE 37-bus unbalanced distribution network. Although
numerous studies have explored the optimal siting and sizing of BESSs in distribution
systems, the installation of a single BESS unit may not be to effectively accommodate
increasing RES penetration, as renewable generation continues to grow each year, at
geographically distributed locations or to comprehensively enhance system performance,
particularly in large-scale distribution networks. In extensive systems, relying on a single
BESS can lead to additional transmission losses when energy must be transferred over long
distances.
As the penetration of RESs continues to increase, installing multiple can offer greater
operational flexibility, enable localized support, enhance voltage stability, and achieve more
effective peak load management. Some works have introduced approaches for the optimal
locations and capacities of multiple BESSs where more than one BESS has been installed in
distribution networks. An efficient allocation of BESS and RESs including PV and wind
turbine was presented in Bus 4 of the Roy Bollington Test System by applying transit search
optimization (TSO) algorithm, and a unique EMS was used to control the charging and
discharging schedules of the BESS [31]. In [32], the optimal allocation of PV and wind turbine
along with BESS units controlled by an EMS to manage the timing of BESS charging and
discharging as an independent entity in Bus 4 of the Roy Billington Test System using Paretosearch (PS) algorithm was introduced. In [33], whale optimization algorithm (WOA) was
applied to find the best locations and sizes for two BESSs in the 50-bus distribution network
to reduce system losses. In [34], joint optimal capacity and siting of renewable sources and
BESSs were presented for energy loss reduction in the 34-bus test case by applying the grey
wolf optimizer (GWO), GA, PSO, symbiotic organisms search algorithm (SOS), and firefly
algorithm (FA). An improved cayote optimization algorithm (ICOA) was presented in [35] to
solve the optimal siting and capacity of BESS to decrease total loss in the 48-bus distribution
system. In [36], the coordinated sizing and placement of BESSs and wind turbines, while
accounting for system reactive power support, was proposed to minimize installation costs
and reduce total losses (both active and reactive) in a 33-bus distribution network. The
optimal locating and capacities of BESSs in the IEEE 33-bus network based on multiobjective memetic SSA (MSSA) was presented to enhance the economy of BESSs investment
and reduce line loss and power fluctuation [37]. In [38], an ESS partitioning approach was
employed to find the optimal locations and capacities of BESS units in the IEEE 33-bus
distribution system, focusing on minimizing voltage deviations and power losses. In [39], the
optimal siting and sizing of BESS combined with hybrid energy sources for distribution
network operators (DNOs) was proposed to mitigate voltage fluctuations, reduce power
losses, and lower peak power in the IEEE 33-bus distribution network. In [40], the optimal
sizing and placements of multiple BESSs in distribution networks using the crayfish
optimization algorithm (COA) were presented to reduce total system costs while enhancing
system effectiveness in the IEEE 33- and 69-bus networks. Table 1 shows the summary of
the previous studies on the optimal BESS placement and capacity in different distribution
networks where VD is the voltage deviation and EMS is the energy management strategy.
Objective Functions
<u>(Minimization)</u>
Ref
No. Co V Los
Multi
ple
BESSs
Algorith
Test Systems EMS EMS type
ms
Los
s
Peak
Dema
st
V
D
<u>nd</u>
Modified IEEE-39 bus
[17] - - - - BGWO Yes
system
Simulation-based
operational
strategy using
MILP
Modified IEEE 118-bus
[18] - - - PSO No
system
[19] - - - RO
Real network derived
from ATLANTIDE
project
Yes
Rule-based
operational
strategy
Rule-based
operational
dispatch logic
[20] - - GA IEEE 13-bus test feeder Yes
RGA- Rule-based
[21] - - 32-bus chemical factory Yes
ASCM dispatch strategy
Rule-based
41-bus practical
[22] - - SSA, GA Yes
distribution system
iterative
operation
strategy
GA, PSO,
[23] -
SSA
IEEE 33- and 69-bus Fourier series
Yes
distribution systems based approach
IEEE 33-bus distribution Fourier series
[24] - - GA, PSO Yes
system based approach
[25] - - PSO
Interior
Seventh feeder of
Nakhon Phanom
substation in Thailand
IEEE 33-bus system and
distribution network in
Western Australia
Fourier seriesYes
based approach
Fourier seriesYes
based approach
[26]
[27]
point
method
PSO,
AVOA,
IEEE 33- and 69-bus Fourier series
Yes
distribution systems based approach
SSA
PSO,
[28] AVOA
in Thailand
Tenth feeder of
Phitsanulok substation
Fourier seriesYes
based approach
IEEE 33-bus unbalanced
[29] - - MOPOA
distribution system
IEEE 37-bus unbalanced
[30] - - - SGA
IEEE 33-bus unbalanced TOU optimization
Yes
distribution system dispatch
dispatch
IEEE 37-bus unbalanced Rule-based
Yes
distribution network control model
Bus 4 of the Roy Rule-based
[31] - - - TSO Yes
Bollington Test System control logic
Bus 4 of the Roy
[32] - - PS Yes
Bollington Test System
Rule-based
autonomous
dispatch
50-bus distribution
[33] - - - WOA No system
GWO,
48-bus distribution
No system
[34] - - -
[35] - - -
SOS,
PSO, GA,
FA
ICOA,
FA,
WOA,
34-bus test system Yes
Probabilistic
peak-shaving
dispatch scheme
PSO
33-bus distribution
[36] - - GA No system
Multi-objective
MSSA,
[37] - -
PSO
IEEE 33-bus distribution
Yes
system
optimizationbased dispatch
strategy
IEEE 33-bus distribution Fourier series
Yes
system based approach
[38] -
ESS
partition
method
IEEE 33-bus distribution Planning-level
Yes
system dispatch strategy
IEEE 33-bus distribution
[39] - GA, PSO
Real system: Feeder 2 of
Hua Hun 2 Substation in
<u>Thailand</u>
[40]
This
work
COA,
PSO,
SSA
COA,
PSO,
<u>SSA</u>
IEEE 33- and 69-bus Fourier series
Yes
distribution systems based approach
Fourier seriesYes
based approach
Table 1. Summary of previous studies on optimal battery energy storage system (BESS)
placement and capacity.
Despite extensive research on the optimal location and capacity of BESSs in
distribution networks, two major research gaps remain. First, while several studies have
investigated multiple BESS installations, few have applied or validated these approaches in
real-world distribution networks, limiting their practical relevance and implementation
potential [41]. Second, although the recently developed COA has demonstrated strong
performance across various optimization problems, its applications in power system
optimization, particularly within real-world distribution network scenarios, remain very
limited.
In our previous work [40], COA was proposed for the optimal placement and sizing of
multiple BESS units and validated using the IEEE 33- and 69-bus benchmark distribution
systems. That study primarily focused on methodological validation and performance
benchmarking of COA under standardized test conditions. In contrast, the present work
significantly extends [40] by applying the proposed framework to a real-world large-scale
distribution system consisting of 102 buses, integrating photovoltaic and biomass distributed
generation units. Moreover, this study evaluates practical installation feasibility and systemlevel operational impacts under realistic load and generation profiles, thereby demonstrating
the applicability and scalability of COA for real distribution network planning problems. In
particular, this work demonstrates the scalability of COA for large-scale systems, which is
nontrivial for metaheuristic optimization techniques, and bridges the gap between
benchmark-based validation and practical deployment. To the best of the authors’
knowledge, this is one of the first studies to validate a COA-based multi-BESS planning
framework on a real large-scale distribution network with utility data.
To address these gaps, this study proposes a COA-based optimization framework for
determining the optimal locations and capacities of multiple BESSs in a RES-integrated
distribution network. The proposed framework aims to minimize the total system cost, which
includes BESS investment and performance costs. The method is validated using an actual
distribution network, which is Feeder 2 of the Hua Hin 2 Substation in Thailand, where
photovoltaic and biomass DGs are integrated. This practical implementation enables a
comprehensive investigation of the proposed framework’s technical performance and realworld feasibility. The main contributions of this study can be summarized as presented
below.
1) A comprehensive multi-BESS planning framework is developed for RES-integrated
distribution networks, in which BESS investment cost and multiple performance-related
costs (voltage deviation, active power loss, and peak demand) are simultaneously formulated
within a unified objective function.
2) The proposed framework explicitly incorporates BESS operational characteristics and liferelated constraints, including energy limits, depth-of-discharge, cycling behavior, and stateof-charge evolution, enabling more realistic and sustainable BESS capacity planning.
3) The newly proposed COA is applied to solve a mixed discrete–continuous optimization
problem involving BESS siting and sizing, demonstrating its suitability for complex
distribution network planning problems.
4) A comprehensive comparison with PSO and SSA is conducted to evaluate solution quality
and robustness under identical conditions.
5) The proposed framework is validated using a real utility-scale distribution network with
different RES profiles, demonstrating practical applicability and bridging the gap between
benchmark-based methodological studies and real-world planning practice.
The rest of the paper is organized as follows: The input data models are formulated in Section
2. Section 3 introduces problem formulation. Methodology of this work is described in
Section 4. Section 5 presents simulation results and discussions. Conclusions are concluded
in Section 6.
Battery Energy Storage System (BESS) Modeling
A BESS, which operates through electrochemical and electrical energy conversion, is
adopted in this study due to its suitable discharge duration and rapid response to daily load
variations [42,43]. The modelling of BESSs and how to find their capacity in distribution
networks are described as follows.
In this study, a Li-ion battery is selected as the BESS technology because of the
notable advantages, such as efficiency exceeding 90%, high energy density (90–190 Wh/kg),
long cycle life, and competitive cost. Nonetheless, factors including operating temperature,
cycling frequency, and depth of discharge (DOD) significantly influence its service life.
Maintaining proper thermal management within the optimal range of 15–35 °C, minimizing
unnecessary charge–discharge cycles, and operating at the recommended DOD of
approximately 80% of total capacity can substantially extend the lifespan of the Li-ion BESS
[25,44].
In the BESS simulation, the charging and discharging processes are assumed to occur
over equal time intervals within a 24-hour period [23,24,26]. The day is divided into intervals
of 1 hour, 30 minutes, or 15 minutes, corresponding to charging and discharging rates of 24,
48, and 96 steps per day, respectively. To enable a compact and continuous representation
of the BESS operation suitable for optimization, the charging–discharging behavior is
modeled using a time-discretized formulation combined with a Fourier series–based energy
representation. The charging and discharging rate for any selected interval is computed as
shown below.
_E_
(1)
_B_
_CiT_
é _EB_ (1) ù
ê ú
=ê M ú
êë _EB_ ( _m_ )úû
ú
M (1)
ú
_EB_ ( _m_ )
( _m_ )
_B_
where _CiT_ denotes the charging or discharging rate during the selected time interval, _EB_ ( _t_ )
is the energy stored in the BESS (MWh) at time _t_ = 1, 2, 3, …, _m._
The BESS energy profile is modeled using a Fourier series expansion, where the
Fourier coefficient vector ( _CiF_ ), obtained from the optimization procedure, captures the
periodic characteristics of the energy pattern. Since the BESS energy varies in a periodic
and smoothly distributed manner, the Fourier series enables its decomposition into
sinusoidal components, facilitating accurate time-domain analysis [45]. In this method, 16
initial Fourier coefficients are randomly generated, and the Fourier transform is applied to
estimate the hourly BESS energy ( _EB_ ). The overall state of energy (SOE) is then
reconstructed using the Fourier series, with the energy values computed based on the
equations reported in [26,45] as follows:
é _a_ 1, _b_ 1
ê
_CiF_ M
=ê
1, _b_ 1
_iF_
é _a_ 1, _b_ 1 ù
ê ú
=ê M ú
êë _an_, _bn_ úû
ú
M (2)
ú
_an_, _bn_
,
_n_ _n_
<u>æ2</u> _<u>pt</u>_ ö <u>æ2</u> _<u>pt</u>_ ö <u>æ2</u> _<u>pnt</u>_ ö <u>æ2</u> _<u>pnt</u>_ ö
_EB_ ( ) _t_ = _a_ 0 + _a_ 1cos ~~ç~~ ÷+ _b_ 1sin ~~ç~~ ÷+...+ _an_ cos ~~ç~~ ÷+ _bn_ sin ~~ç~~ ÷ (3)
è _T_ ø è _T_ ø è _T_ ø è _T_ ø
where _a0_, _an_, _bn_, _n_, _t_, and _T_ represent the constant Fourier coefficient, the cosine coefficients,
the sine coefficients, the number of Fourier terms (set to 8), the time variable, and the total
period, respectively. In this formulation, _an_ and _bn_ serve as optimization variables. Using the
Fourier-based energy representation in (3), the BESS energy at each time step is obtained
and subsequently used to compute the charging and discharging power. This energy–power
relationship enables the enforcement of operational constraints, including DOD limits, power
capacity limits, and SOE bounds, within the optimization framework. Moreover, by
optimizing the Fourier coefficients rather than individual time-step values, the proposed
formulation improves computational efficiency while maintaining realistic BESS operating
behavior.
By substituting the Fourier coefficient vector _CiF_ from (2) into (3), the BESS energy
profile, _EB_ ( _t_ ), is obtained. In (3), the constant term _a0_ is omitted because it does not affect
the BESS charging and discharging behavior or the daily energy cost coefficient. Therefore,
_a0_ can be adjusted after the optimization procedure to assure the resulting BESS power curve
remains above the minimum threshold needed to satisfy the DOD constraint. The change in
BESS energy between two consecutive time steps is calculated using (4), and this value is
then used to derive the BESS power through (5) and (6). The resulting BESS power indicates
the operating state of the unit: a positive value reflects charging (energy stored in the BESS),
whereas a negative value corresponds to discharging (energy released from the BESS).
D _EB_ = _EB_ ( _t_ ) - _EB_ ( _t_ - 1) (4)
_PB_ ( ) _t_ =D _EB_ /(D ´ _t_ _hc_ ), _PB_ ( ) _t_ >0 (5)
_PB_ ( ) _t_ =(D _EB_ ´ _hd_ )/ D _t_, _PB_ ( ) _t_ <0 (6)
where Δ _EB_ represents the change in BESS energy between two consecutive time steps, _hc_, _hd_
, _PB_, and Δ _t_ denote the charging efficiency, discharging efficiency, BESS power, and sampling
interval, respectively, _hc_ = _hd_ = _hcycle_, and _hcycle_ is the round-trip BESS efficiency, which is
set to 0.9.
When determining the optimal BESS capacity, both power and energy ratings must
be considered to minimize total system costs while maintaining distribution network
reliability and power quality. Additionally, two key factors that influence BESS lifespan
including the number of charge and discharge cycles and the state of charge (SOC) must
also be taken into account [46]. Enhancing the charging and discharging patterns to limit
daily SOC fluctuations can enhance the overall life-cycle efficiency of the BESS. Accordingly,
the BESS capacity is formulated as in the equation given below.
max - _E_ min
_BESS_ ( _kWh_ ) ~~=~~ _EB_ max - _EB_ min (7)
_DOD_ max
~~=~~ _EB_ max
( _kWh_ ) ~~=~~ _B_ _B_
_DOD_ max
where _EB_ <sup>_max_</sup> and _EB_ <sup>_min_</sup> represent the maximum and minimum allowable energy levels of the
BESS, respectively, and _DOD_ max denotes the maximum depth of discharge, which is set to
0.8 in this study.
Problem Formulation
In this study, the optimal locations and capacities of multiple BESS units in a
distribution system are found by minimizing the total system cost, which includes installation
expenses and performance-related costs. This total cost serves as the objective function to
be minimized, subject to various technical constraints. Accordingly, this section outlines the
formulation of the objective function along with the associated constraints.
A. Objective Function
The objective function considered in this study is to minimize total system costs
( _Csystem_ ) [27], which comprises two major components: the BESS investment cost ( _CI_ ) [44]
and the performance-related cost. The investment cost includes the capital cost of the BESS,
installation cost, and operation and maintenance (o&m) cost. The performance-related cost
( _Cpfm_ ) [26,27] reflects the economic impact of system operating conditions and accounts for
voltage deviation, power loss, and peak demand reduction. By incorporating both economic
and technical aspects into a unified cost-based framework, the proposed objective function
enables comprehensive optimization of multiple BESS installations in the distribution
network. Accordingly, the objective function is formulated as follows:
_f_ ( _CiF_ ) = min ( _Csystem_ ) (8)
_Csystem_ = _CI_ + _Cpfm_ (9)
_CI_ = _PBESS_ ´ _gpw_ + _EBESS_ ´ _gE_ + _EBESS_ ´ _gI_ + _PBESS_ ´ _go_ & _m_ (10)
_Cpfm_ = _CVD_ + _CL_ + _Cp_ (11)
The voltage deviation cost ( _CVD_ ) is defined to quantify the overall voltage quality of
the distribution system. It is calculated by aggregating the absolute voltage deviations of all
buses from the reference voltage over the entire operating period, as expressed in the
following equation:
###### =(å Tt =1å iN = bus 1 Vi ( ) t - Vref )´ gVD
_T_ _Nbus_
###### CVD =(å Tt =1å iN = bus 1 Vi ( ) t - Vref )´ gVD (12)
This formulation ensures that larger voltage deviations, occurring across more buses or over
longer durations, result in higher penalty costs, thereby encouraging voltage profiles to
remain close to the reference value.
The power loss cost ( _Closs_ ) represents the economic impact of active power losses in
the distribution network and is expressed as:
###### =(å Tt =1å iN = br 1 PL i, ( ) t )´ g
_T_ _Nbr_
###### Closs =(å Tt =1å iN = br 1 PL i, ( ) t )´ gloss (13)
The peak demand cost ( _Cp_ ) represents the annual demand charge imposed by the
utility based on the maximum power demand during the considered period and is calculated
as:
_Cp_ = _P_ max ´ D ´ _t_ _gp_ (14)
where _PBESS_, _EBESS_ are the power and energy of BESS, respectively. The parameters _gpw_,
_gE_, _gI_, _go_ & _m_ <sup>represent the cost coefficients of BESS power (320 $/kW [47]), energy (360</sup>
$/kWh [47]), installation (15 $/kWh [47]), and operation and maintenance (5 $/kW/year [47]),
respectively. The coefficients _gVD_, _gloss_, _gp_ correspond to the voltage deviation cost (0.142
$/p.u. [28]), transmission loss cost (0.284 $/kWh [27]), and peak demand cost (200
$/kWh/year [26]) reflecting a capacity-based tariff applied to peak demand reduction,
respectively. Moreover, _Vi_ ( _t_ ), _Vref_, _PL,i_ ( _t_ ), _Pmax_ are the voltage at bus _i_ (p.u.) at time _t_,
reference voltage (p.u.), active power loss in each branch at time _t_, and maximum power
demand, respectively, and _T_, _Nbus_, _Nbr_, denote the period, total bus numbers, and total
branch numbers, respectively.
B. Constraints
The objective function is evaluated under a set of technical constraints that must be
satisfied throughout the optimization process. The equality and inequality constraints
considered in this study are outlined in this section and relate to bus voltage limits as well
as the power and energy characteristics of the BESS units.
_Equality Constraint_
The power balance within the distribution network is maintained according to the
following equation [48].
_Pgrid_ ( _t_ ) = _PD_ ( _t_ ) - _PRE_ ( _t_ ) ± _PB_ ( _t_ ) + _PL_ ( _t_ ) (15)
where _Pgrid_ ( _t_ ), _PD_ ( _t_ ), _PRE_ ( _t_ ), _PB_ ( _t_ ), _PL_ ( _t_ ) represent the grid power, load demand, renewable
energy generation, BESS power, and transmission loss at time _t_, respectively.
_Inequality Constraints_
The voltage at every bus must remain within the permissible range, defined as ±5%
of the nominal reference voltage, as expressed below [40].
_V_ min £ _Vi_ ( _t_ ) £ _V_ max (16)
where _Vmin_ and _Vmax_ represent the lower and upper allowable voltage limits for each bus, set
to 0.95 and 1.05 p.u., respectively.
The BESS power and energy must also remain within specified limits to ensure safe
operation during charging and discharging. These operational restrictions are formulated as
follows:
_PB_ min £ _PB_ ( _t_ ) £ _PB_ max (17)
_EB_ min £ _EB_ ( _t_ ) £ _EB_ max (18)
where _PB_ min and _PB_ max are the minimum and maximum BESS power limits, respectively, and
_EB_ min and _EB_ max correspond to the minimum and maximum allowable BESS energy levels.
Methodology
This section presents the methodological framework adopted in this study, which
includes the description of the test distribution system, the COA employed to determine the
optimal locations and capacities of multiple BESSs, the evaluation metrics for assessing
system performance, and the overall implementation process.
A. Test System
The practical distribution system of Hua Hin 2 Substation, Feeder 2 was utilized as a
test system to determine the optimal locations and capacities of the BESS units. The singleline diagram of the distribution network is illustrated in Figure 1. In the simulation model,
the base apparent power is set to 10 MVA, and the base voltage is 22 kV. The maximum load
demand of the distribution system in Hua Hin 2 Substation, Feeder 2, is 7,949 kW. The
system is interconnected with a 1,750-kW PV plant at bus 14 and a 6,000-kW biomass power
plant at bus 21. The load demand, as well as the generation profiles of the PV and biomass
plants, are presented over a 24-hour period, as depicted in Figure 2. The 24-hour simulation
horizon corresponds to the day with the maximum annual load demand, representing the
most critical operating condition for BESS planning. Equal time intervals are adopted for
planning-level optimization, with BESS power trajectories implicitly determined using a
Fourier-series-based energy modeling approach under operational constraints. The
transmission line parameters and load demands for all buses can be found from Tables A1A2 in the Appendix. The distribution network data used in this study were provided by the
Provincial Electricity Authority (PEA), Thailand.
Figure 1. Single-line diagram of Feeder 2 of Hua Hun 2 Substation.
Figure 2. Daily profile plots of PV, biomass and load demand of Feeder 2 of Hua Hun 2
Substation.
Although Figure 2 indicates that local RES generation does not exceed the load
demand at any time, charging the BESS from the upstream grid remains economically
justified. In this study, the primary role of the BESS is not to absorb surplus renewable
energy, but to reduce total system operating costs through peak demand shaving, loss
reduction, and voltage support. The BESS is charged during off-peak periods and discharged
during peak demand hours, thereby lowering the maximum power demand, reducing feeder
power flows, and improving voltage profiles. These benefits translate into significant
reductions in peak demand costs, power loss costs, and voltage deviation costs, which
outweigh the cost of charging energy from the grid.
B. Crayfish Optimization Algorithm (COA)
The COA is inspired by the natural behaviors of crayfish, including cave-dwelling
under high temperatures, territorial competition for shelter, and foraging behavior. The
algorithm simulates these three behavioral patterns to determine the optimal solution. In the
simulation process, temperature plays a key role. When the temperature rises above a certain
threshold, crayfish tend to seek or compete for caves to inhabit, representing the exploration
phase of the algorithm. Conversely, under suitable temperature conditions, crayfish emerge
to search for food, where different food sizes symbolize the search for various possible
solutions in the optimization space. This iterative process continues until the best (global
optimal) solution is achieved [49].
The simulation begins by representing each crayfish as an individual Xi, where Xi
denotes the position of the _i_ th crayfish in the search space, as in the expressed equation.
é _X_ 1,1 _X_ 1, _j_ _X_ 1,dim ù
ê ú
=[ _X_ 1, _X_ 2,..., _XN_ ] =ê _Xi_,1 _Xi_, _j_ _Xi_,dim ú
êë _XN_,1 _XN_, _j_ _XN_,dimúû
é _X_ 1,1 _X_ 1, _j_ _X_
ê
_X_ =[ _X_ 1, _X_ 2,..., _XN_ ] =ê _Xi_,1 _Xi_, _j_ _Xi_
êë _XN_,1 _XN_, _j_ _XN_
1,1 1, _j_ 1,dim
_j_
[ _X_ 1, _X_ 2,..., _XN_ ]
1 2 _N_ _i_,1 _i_, _j_ _i_,dim
_N_ _i_,1 _i_, _j_ _i_
(19)
_N_,1 _N_, _j_ _N_
,1 _N_, _j_ _N_,dim
where _X_ is the initial position of crayfish, _N_ is the number of crayfishes, _i_ is the _i_ th crayfish,
_j_ is the number of variables, _dim_ is crayfish dimension, and _Xi,j_ is the ith crayfish in
dimension j which can be found by the presented equation.
_Xi_, _j_ = _lbj_ +( _ubj_ - _lbj_ )´ _rand_ (20)
where _lbj_ and _ubj_ are the lower and upper bounds in dimension _j_, respectively, and _rand_ is a
random number.
Each crayfish is assigned to a behavioral state determined by the ambient
temperature, which varies according to (21). When the temperature exceeds 30°C, the
crayfish either search caves for shelter or contest for territory, representing the exploration
phase. On the other hand, when the temperature ranges between 15°C and 30°C, the crayfish
emerge to forage for food, symbolizing the exploitation phase. The population distribution
during the simulation follows a normal distribution, as described by (22).
_temp_ = _rand_ ´15+20 (21)
where _temp_ is the temperature at where the crayfish stays.
æ <u>1</u> æ( _<u>temp</u>_ <u>-</u> _<u>m</u>_ <u>)2</u> öö
= _C_ 1´ ~~ç~~ ç 2´ _p_ ´ _s_ ´ exp ~~ç~~ <u>ç</u> 2 _s_ 2 ÷÷÷÷
è è øø
<u>(</u> _<u>temp</u>_ <u>-</u> _<u>m</u>_ <u>)2</u>
æ <u>1</u> æ( _<u>temp</u>_ <u>-</u> _<u>m</u>_ <u>)2</u> öö
_p_ = _C_ 1´ ~~ç~~ ç ´ exp ~~ç~~ <u>ç</u> 2 ÷÷÷÷ (22)
<u>1</u> æ( _<u>temp</u>_ <u>-</u> _<u>m</u>_ <u>)</u>
´ exp ~~ç~~
_p_ ´ _s_ <u>ç</u> 2 _s_ 2
è
æ <u>1</u> æ( _<u>temp</u>_ <u>-</u>
1´ ~~ç~~ ç 2´ _p_ ´ _s_ ´ exp ~~ç~~ <u>ç</u> 2 _s_ 2
è è
2
where _μ_ is the suitable temperature, _σ_ and _C_ 1 are used to control crayfish at different
temperatures.
When the temperature is above 30°C, crayfish seek for and stay in the cave to wait
for the appropriate temperature. The cave location, _Xshade_, can be obtained as the equation
below.
_Xshade_ =( _XG_ + _XL_ ) / 2 (23)
where _XG_ is the best position obtained so far, and _XL_ is the best position of the current
crayfish.
If _rand_ < 0.5, there are no crayfish fighting for caves, and the crayfish position is
updated by the following equation.
_Xit_,+ _j_ 1 = _Xit_, _j_ + _C_ 2 ´ _rand_ ´ ( _Xshade_ - _Xit_, _j_ ) (24)
where _t_ is the current iteration, _t_ +1 is the next iteration, and _C_ 2 declining variable which can
be found as below.
<u>æ</u> _<u>t</u>_ ö
_C_ 2 =2- ç ÷ (25)
è _T_ ø
where _T_ is the iteration number.\
If _rand_ - 0.5, there will be a competition for caves, and the crayfish update the
position by the given equation.
_t_ 1 _t_ _t_
_Xi_,+ _j_ = _Xi_, _j_ - _Xz_, _j_ + _Xshade_ (26)
where _z_ are random crayfish which is found by the equation below.
_z_ = _round_ ( _rand_ ´ ( _N_ - 1)) +1 (27)
If the temperature is below 30°C, the crayfish enter the foraging phase. When a
crayfish finds food, it evaluates the size of the food source. If the food is too large, it divides
the food into smaller portions and uses its second and third pairs of legs alternately to assist
in feeding. In this case, the position of the crayfish is updated according to (28). Conversely,
if the food size is appropriate, the position can be updated by (29).
_Xit_,+ _j_ 1 = _Xit_, _j_ + _Xfood_ ´ _p_ ´ (cos(2´ _p_ ´ _rand_ )- sin(2´ _p_ ´ _rand_ )) (28)
_t_ 1 _t_ _t_
_Xi_,+ _j_ =( _Xi_, _j_ - _Xfood_ )´ _p_ + _p_ ´ _rand_ ´ _Xi_, _j_ (29)
where _Xfood_ is the food position which is calculated as follows:
_Xfood_ =exp <sup>æ</sup> ç- <u>1</u> ö÷´ _Xfood_ (30)
è _Q_ ø
where _Q_ is the food size formulated as:
_Q_ = _C_ 3 ´ _rand_ ´ ( _fitnessi_ / _fitnessfood_ ) (31)
where _C_ 3 is the constant food factor which is equal to 3, _fitnessi_ is the _i_ th crayfish fitness
value, and _fitnessfood_ is the fitness of the food position. If _Q_ - ( _C_ 3+1)/2, it means the food is
too large, and if _Q_ ≤ ( _C_ 3+1)/2, the food size is appropriate. The iterative process will be done
when the maximum iteration is reached.
C. Implementation
The implementation of the proposed approach can be presented as in Figure 3.
Figure 3. The implementation of the proposed approach.
Simulation Results and Discussions
The optimal locations and capacities of BESSs were simulated on the Feeder 2 of Hua
Hun 2 Substation distribution network, which is interconnected with DG units, with the main
objective of minimizing the overall system costs. It should be noted that the term “optimal”
in this study refers to the best-performing solution obtained among the compared
metaheuristic algorithms under identical simulation conditions, rather than a guaranteed
global optimum. The simulations were conducted using MATLAB in conjunction with the
MATPOWER to perform power flow analyses and model the complex operational behavior of
BESSs within the distribution system. To accurately represent the dynamic response of the
BESS, a Fourier series-based modeling approach was applied. The study further evaluates
the enhancement of distribution network performance after BESS installation, under three
installation cases as follows:
- Base case: The case without BESS installation.
- Case 1: The installation of a single BESS unit.
- Case 2: The installation of two BESS units.
- Case 3: The installation of three BESS units.
These cases were compared with the base case and analyzed in terms of total costs,
as well as three key performance indicators consisting of the VDI, power loss, and peak
demand reduction following BESS installation. Finally, COA is adopted to solve the
optimization problem, and the results are compared with those of PSO and SSA. The
population size and maximum iteration count for each algorithm were set to 100 and 1,500,
respectively. The simulation results are presented as follows.
The simulation results of the BESS installations including the location, energy and
power of the BESS, system costs, and system performance improvements for all considered
cases compared with the base case in the second feeder of Hua Hun substation 2 using
COA are shown in Table 2.
Power
(MW)
System costs
($)
%VDI
(%)
Peak
demand
<u>(MW)</u>
Power loss
(MWh)
Cases
Location
(bus
<u>no.)</u>
sizing
(MWh)
Base - - - - 479.86 6.251 2.865
1 86 8.55 1.79 5,196,626.84 401.00 4.905 2.728
24 1.42 0.59
2 5,862,390.78 395.95 4.485 2.746
87 8.58 1.56
2 1.75 0.58
3 23 2.43 0.86
38 9.64 1.75
7,674,555.64 384.26 4.473 2.666
Table 2. Simulation results of the BESS installations in Feeder 2 of Hua Hun 2 Substation
using COA.
From Table 2, the simulation results obtained using COA reveal that the total sizes of
the BESSs increase from case 1 to case 3, and the placements of the BESSs for all three
cases are distributed throughout the network. In terms of performance enhancement, case
3 achieves the most significant reduction in the VDI, with a decrease to 384.26%, compared
to 395.95% in case 2 and 401.00% in case 1, which represents the least improvement. The
comparison of the voltage profiles of all buses before and after the BESS installations for
each case are presented in Figure 4(a). Regarding peak demand reduction, case 3
demonstrates the most effective performance, reducing the peak demand to 4.473 MW,
followed by cases 2 and 1 with the peak demand reductions to 4.485 MW and 4.905 MW,
respectively, as illustrated in Figure 4(b). In terms of power loss minimization, case 3 also
outperforms the others, achieving the lowest total loss at 2.666 MWh, followed by case 1 at
2.728 MWh and case 2 at 2.746 MWh, where the 24-hour power losses for all cases are shown
in Figure 4(c). It is important to note that although case 3 achieves the lowest voltage
deviation and power loss, it also results in the highest total system cost due to the increased
investment required for three BESS units. In contrast, case 2 provides a more balanced
trade-off between economic and technical performance, achieving substantial reductions in
voltage deviation, power loss, and peak demand with significantly lower total system cost.
This demonstrates that installing additional BESS units does not always yield proportional
benefits and highlights the importance of cost-performance optimization in BESS planning.
(a) (b)
(c)
Figure 4. System performance improvement comparisons before and after the BESS
installations by COA for each case: (a) Voltage profile; (b) Power loss; (c) Peak demand.
To verify the simulation results and performance of the proposed approach using
COA, the simulation results comprising the BESS locations and capacities, together with
system performance improvements in terms of %VDI, peak demand, and power loss, are
compared with those obtained by PSO and SSA for all cases as depicted in Tables 3-5.
%VDI
Location
Algorithms
(bus no.)
Sizing
(MWh)
System
<u>(M$)</u>
Peak Demand
Power
Algorithms costs Loss
(bus no.) (MWh) (%) (MW)
<u>(M$)</u> <u>(MWh)</u>
PSO 85 8.03 4.987 401.11 4.905 2.719
costs
(%)
(MW)
SSA 89 8.03 4.961 399.61 4.901 2.796
COA 86 8.55 5.197 401.00 4.905 2.728
Table 3. Comparison results of the BESS installations in Feeder 2 of Hua Hun 2 Substation
for case 1.
Location
Algorithms
(bus no.)
Sizing
(MWh)
System
costs
<u>(M$)</u>
%VDI
(%)
Peak
Demand
<u>(MW)</u>
Power Loss
(MWh)
90 1.45
PSO 5.892 396.06 4.677 2.774
87 8.71
83 5.86
SSA 7.034 392.21 4.711 2.722
39 6.57
24 1.42
COA 5.862 395.95 4.485 2.746
87 8.58
Table 4. Comparison results of the BESS installations in Feeder 2 of Hua Hun 2 Substation
for case 2.
Algorithm
s
Location
(bus no.)
Sizing
(MWh)
System
costs
<u>(M$)</u>
%VDI
(%)
Peak Demand
(MW)
Power Loss
(MWh)
29 2.64
PSO 74 10.66
102 2.45
32 3.15
SSA 41 9.02
15 3.09
2 1.75
COA 23 2.43
38 9.64
8.268 375.95 4.248 2.696
8.223 387.16 4.342 2.686
7.674 384.26 4.473 2.666
Table 5. Comparison results of the BESS installations in Feeder 2 of Hua Hun 2 Substation
for case 3.
As shown in Tables 3-5, the best locations and sizes of the BESS units found from all
three algorithms across the three cases are technically feasible for real-world deployment
within the distribution system of Feeder 2 of Hua Hun 2 Substation. This feasibility is due to
the distribution route being located along a bypass road, which lacks obstructive
infrastructure and provides ample space for BESS installation in all cases. Based on the
comparison of all three BESS installation cases, it can also be seen that COA is identified as
the most suitable approach. It achieves the lowest total cost in cases 2 and 3, while still
delivering strong performance improvements across multiple criteria. Although PSO and SSA
also produced competitive solutions in certain cases, COA consistently achieved lower total
system cost and better peak demand reduction across the studied scenarios. This indicates
that COA exhibits stronger exploration and exploitation balance, enabling it to escape local
optima more effectively in high-dimensional mixed-integer optimization problems,
highlighting its robustness for large-scale distribution system planning.
Figures 5-7 show the system performance enhancement comparisons in terms of loss
reduction, peak demand reduction, and voltage profile enhancement for all compared
algorithms obtained from the 3 considered cases.
(a) (b)
(c)
Figure 5. Performance improvement comparisons for each algorithm of case 1: (a) Voltage
pro-file; (b) Power loss; (c) Peak demand.
In case 1, it is seen from Figure 5 that SSA demonstrates the best overall
performance. It achieves the lowest total cost and the most effective peak demand reduction.
Although its power loss is slightly higher than that of PSO, SSA provides a well-balanced
trade-off between cost and peak demand management, making it the most suitable option in
this case. PSO performs effectively in reducing power loss but yields higher total cost and
weaker peak demand management. Meanwhile, COA produces the highest total cost and
exhibits limited capability in peak demand reduction, despite maintaining a moderate level
of power loss.
(a) (b)
(c)
Figure 6. Performance improvement comparisons for each algorithm of case 2: (a) Voltage
pro-file; (b) Power loss; (c) Peak demand.
From Figure 6, it can be observed that in case 2, COA emerges as the most effective
method, achieving the lowest total cost and strong performance in managing peak demand.
Despite having a moderate level of power loss, its cost efficiency makes COA an attractive
option in this case. SSA shows good power loss reduction but performs considerably worse
in terms of both total cost and peak demand management when compared with COA. PSO
delivers moderate cost performance but exhibits inferior results in both peak demand and
power loss reduction.
(a) (b)
(c)
Figure 7. Performance improvement comparisons for each algorithm of case 3: (a) Voltage
pro-file; (b) Power loss; (c) Peak demand.
For case 3, it is seen from Figure 7 that COA again proves to be the most suitable
approach, achieving both the lowest total cost and the most effective power loss reduction.
Although its peak demand management is slightly weaker than PSO, its superior ability to
minimize energy losses makes it the best choice for this case. PSO, while demonstrating good
peak demand reduction, incurs the highest total cost and performs less effectively in
reducing power loss. SSA produces moderate outcomes in both criteria but remains less
competitive overall compared with COA.
The time-series results reveal that BESS installation significantly reshapes the daily
load profile by charging during low-demand periods and discharging during peak demand
periods. This peak-shaving behavior reduces feeder loading and mitigates voltage drops at
heavily loaded buses. COA demonstrates superior adaptability in scheduling BESS power
trajectories, leading to smoother load profiles and reduced network losses compared with
PSO and SSA. These results confirm that coordinated spatial placement and temporal power
scheduling are both critical for achieving effective distribution network performance
enhancement. Overall, the comparative assessment across all three configurations indicates
that the COA from case 2 provides the most balanced and cost-effective solution. It achieves
the lowest total cost while maintaining strong capability in managing peak demand, even
though its power loss remains at a moderate level. When combined with its evident costsaving advantage, COA stands out as the most suitable overall approach. Moreover, the COA
from case 3 further confirms its economic efficiency, offering the lowest cost among the
methods while still performing effectively in reducing power loss.
The results further demonstrate the scalability of the proposed COA-based planning
framework when applied to a large-scale real distribution system with 102 buses, which is
significantly more complex than benchmark IEEE systems. The use of real load and
generation profiles enables a more realistic assessment of BESS planning outcomes.
Moreover, the findings indicate that moderate BESS penetration (case 2) can provide the
most cost-effective solution, suggesting that utilities should prioritize strategic placement
rather than increasing the number of storage units indiscriminately. In summary, the
findings suggest that COA is the most appropriate method for overall system optimization,
capable of minimizing total cost and effectively managing peak demand across all considered
cases. PSO remains preferable in scenarios where peak demand reduction is prioritized
despite higher costs, whereas SSA may be suitable in cost-sensitive cases, though its
performance in power loss reduction is comparatively limited. Therefore, COA appears to be
the most promising option for real-world implementation in distribution systems.
Limitations
Despite the contributions of this study, several limitations should be acknowledged.
First, the proposed framework focuses on planning-level optimization of BESS placement
and sizing and does not include a real-time energy management or operational control
scheme. The charging and discharging profiles are implicitly determined through a Fourierseries-based energy modeling approach under technical constraints, rather than being
optimized via dynamic dispatch or market-based scheduling. Second, the analysis is
conducted over a 24-hour simulation horizon corresponding to the day with the maximum
annual load demand. While this represents the most critical operating condition for planning,
seasonal variations, multi-day operational dynamics, and long-term degradation effects are
not considered. Third, battery degradation, aging, and replacement costs are not explicitly
modeled. Including electrochemical degradation models could further improve the accuracy
of lifecycle cost assessments. Finally, although the COA demonstrated superior performance
compared with PSO and SSA under identical conditions, metaheuristic algorithms cannot
guarantee a global optimum. The results represent the best-performing solutions among the
tested algorithms.
Conclusions
This study developed an optimization-based framework for determining the optimal
locations and capacities of multiple BESSs within the Hua Hin 2 Substation, Feeder 2
distribution network, considering three installation cases corresponding to the installation
of one, two, and three BESS units, respectively. The objective function was to minimize the
total system costs, which comprises both the battery investment cost including installation
and operation & maintenance expenses and the performance cost, encompassing voltage
regulation cost, power loss reduction cost, and peak load reduction cost. To achieve this,
COA was employed as the main optimization method, whereas PSO and SSA were utilized
for effectiveness comparison in minimizing total system costs, reducing power loss, reducing
peak demand, and improving voltage profile.
The simulation results reveal that the optimal locations and sizes of the BESS units
obtained from all three algorithms across the three cases are technically feasible for real
world deployment within the distribution system of Feeder 2 of Hua Hin 2 Substation. This
feasibility is supported by the fact that the distribution route is located along a bypass road,
which lacks obstructive infrastructure and provides ample space for BESS installation under
all considered cases. Moreover, COA consistently delivers superior optimization capability
across the considered cases, particularly in terms of cost minimization and loss reduction.
Among the analyzed cases, the COA from case 2 provides the most balanced performance,
achieving the lowest total system costs and effective peak demand management while
maintaining a moderate level of power loss. Additionally, the COA from case 3 demonstrates
strong economic efficiency with the lowest costs and remarkable power loss reduction. These
findings confirm the performance of COA as an effective and practical method for real-world
applications in distribution networks.
In comparison, PSO exhibits strong capability in peak demand reduction but incurs
higher total costs, making it more suitable for applications where peak load management is
the primary objective. SSA, on the other hand, performs well in selected cases with cost
sensitivity as the dominant concern, though its ability to minimize power loss remains
limited.
Overall, the results highlight the promise of COA as a robust and efficient optimization
technique for real-world implementation in distribution systems. Future work may extend
this framework to include multi-objective optimization considering dynamic load variations
and reliability constraints, thereby enhancing the applicability of COA in large-scale and realtime operational planning. Moreover, the proposed framework can be incorporated with
stochastic modeling, battery degradation, and real-time energy management strategies.
Data Availability
Data is contained within the article; further inquiries can be directed to the corresponding
author.
References
1. Adefarati, T. & Bansal, R. C. Integration of renewable distributed generators into the
distribution system: A review. _IET Renewable Power Generation_ 10, 873–884 (2016).
2. Iweh, C. D., Gyamfi, S., Tanyi, E. & Effah-Donyina, E. Distributed generation and
renewable energy integration into the grid: Prerequisites, push factors, practical
options, issues and merits. _Energies (Basel)._ 14, (2021).
3. Liang, X. Emerging Power Quality Challenges Due to Integration of Renewable
Energy Sources. _IEEE Trans. Ind. Appl._ 53, 855–866 (2017).
4. Petinrin, J. O. & Shaabanb, M. Impact of renewable generation on voltage control in
distribution systems. _Renewable and Sustainable Energy Reviews_ 65, 770–783
(2016).
5. Teferi, T. G., Tella, T. G. & Hampannavar, S. Impact of large-scale renewable energy
integration on the grid voltage stability. _Results in Engineering_ 23, (2024).
6. Khunkitti, S. _et al._ A comparison of the effectiveness of voltage stability indices in an
optimal power flow. _IEEJ Transactions on Electrical and Electronic Engineering_ 14,
534–544 (2019).
7. Sandhu, E. M. & Thakur, T. Issues, Challenges, Causes, Impacts and Utilization of
Renewable Energy Sources-Grid Integration. _Journal of Engineering Research and_
_Applications www.ijera.com_ 4, 636–643 (2014).
8. Impram, S., Varbak Nese, S. & Oral, B. Challenges of renewable energy penetration
on power system flexibility: A survey. _Energy Strategy Reviews_ 31, (2020).
9. Shafiul Alam, M., Al-Ismail, F. S., Salem, A. & Abido, M. A. High-level penetration of
renewable energy sources into grid utility: Challenges and solutions. _IEEE Access_ 8,
190277–190299 (2020).
10. Basit, M. A., Dilshad, S., Badar, R. & Sami ur Rehman, S. M. Limitations, challenges,
and solution approaches in grid-connected renewable energy systems. _Int. J. Energy_
_Res._ 44, 4132–4162 (2020).
11. Shafiullah, G. M., Arif, M. T. & Oo, A. M. T. Mitigation strategies to minimize
potential technical challenges of renewable energy integration. _Sustainable Energy_
_Technologies and Assessments_ 25, 24–42 (2018).
12. Hill, C. A., Such, M. C., Chen, D., Gonzalez, J. & Grady, W. M. K. Battery energy
storage for enabling integration of distributed solar power generation. _IEEE Trans._
_Smart Grid_ 3, 850–857 (2012).
13. Yang, Y., Li, H., Aichhorn, A., Zheng, J. & Greenleaf, M. Sizing strategy of distributed
battery storage system with high penetration of photovoltaic for voltage regulation
and peak load shaving. _IEEE Trans. Smart Grid_ 5, 982–991 (2014).
14. Mehrjerdi, H. Simultaneous load leveling and voltage profile improvement in
distribution networks by optimal battery storage planning. _Energy_ 181, 916–926
(2019).
15. Kucevic, D., Semmelmann, L., Collath, N., Jossen, A. & Hesse, H. Peak Shaving with
Battery Energy Storage Systems in Distribution Grids: A Novel Approach to Reduce
Local and Global Peak Loads. _Electricity_ 2, 573–589 (2021).
16. Farrokhabadi, M., Konig, S., Canizares, C. A., Bhattacharya, K. & Leibfried, T.
Battery Energy Storage System Models for Microgrid Stability Analysis and Dynamic
Simulation. _IEEE Transactions on Power Systems_ 33, 2301–2312 (2018).
17. Ramos, A. F., Ahmad, I., Habibi, D. & Mahmoud, T. S. Placement and sizing of utilitysize battery energy storage systems to improve the stability of weak grids.
_International Journal of Electrical Power and Energy Systems_ 144, (2023).
18. Xu, G. _et al._ Optimal Size and Location of Battery Energy Storage Systems for
Reducing the Wind Power Curtailments. _Electric Power Components and Systems_
46, 342–352 (2018).
19. Chowdhury, N., Pilo, F. & Pisano, G. Optimal energy storage system positioning and
sizing with robust optimization. _Energies (Basel)._ 13, 512 (2020).
20. Chedid, R. & Sawwas, A. Optimal placement and sizing of photovoltaics and battery
storage in distribution networks. _Energy Storage_ 1, (2019).
21. Chiang, M. Y., Huang, S. C., Hsiao, T. C., Zhan, T. S. & Hou, J. C. Optimal Sizing and
Location of Photovoltaic Generation and Energy Storage Systems in an Unbalanced
Distribution System. _Energies (Basel)._ 15, (2022).
22. Khaboot, N., Srithapon, C., Siritaratiwat, A. & Khunkitti, P. Increasing Benefits in
High PV Penetration Distribution System by Using Battery Enegy Storage and
Capacitor Placement Based on Salp Swarm Algorithm. _Energies (Basel)._ 12, 4817
(2019).
23. Khunkitti, S., Boonluk, P. & Siritaratiwat, A. Optimal Location and Sizing of BESS for
Performance Improvement of Distribution Systems with High DG Penetration.
_International Transactions on Electrical Energy Systems_ 2022, (2022).
24. Boonluk, P., Siritaratiwat, A., Fuangfoo, P. & Khunkitti, S. Optimal siting and sizing
of battery energy storage systems for distribution network of distribution system
operators. _Batteries_ 6, 56 (2020).
25. Boonluk, P., Khunkitti, S., Fuangfoo, P. & Siritaratiwat, A. Optimal Siting and Sizing
of Battery Energy Storage: Case Study Seventh Feeder at Nakhon Phanom
Substation in Thailand. _Energies (Basel)._ 14, 1458 (2021).
26. Jayasekara, N., Masoum, M. A. S. & Wolfs, P. J. Optimal operation of distributed
energy storage systems to improve distribution network load and generation hosting
capability. _IEEE Trans. Sustain. Energy_ 7, 250–261 (2016).
27. Pompern, N., Premrudeepreechacharn, S., Siritaratiwat, A. & Khunkitti, S. Optimal
Placement and Capacity of Battery Energy Storage System in Distribution Networks
Integrated with PV and EVs Using Metaheuristic Algorithms. _IEEE Access_
https://doi.org/10.1109/ACCESS.2023.3291590 (2023)
doi:10.1109/ACCESS.2023.3291590.
28. Khunkitti, S., Pompern, N., Premrudeepreechacharn, S. & Siritaratiwat, A. Optimal
Placement and Capacity of BESS and PV in EV Integrated Distribution Systems: The
Tenth Feeder of Phitsanulok Substation Case Study. _Batteries_ 10, 212 (2024).
29. Ray, S., Kasturi, K., Patnaik, S. & Ranjan Nayak, M. Battery energy storage with
renewable energy sources integration in unbalanced distribution network
considering time of use pricing. _Renewable Energy Focus_ 51, 100630 (2024).
30. Mohanty, S., Nayak, M. R. & Behura, D. Search group algorithm for optimal
allocation of battery energy storage with renewable sources in an unbalanced
distribution system. _Energy Sources, Part A: Recovery, Utilization and Environmental_
_Effects_ 45, 1131–1149 (2023).
31. Mohanty, S., Nayak, M. R. & Gantayet, A. Efficient allocation of energy storage and
renewable energy system for performance and reliability improvement of distribution
system. _Computers and Electrical Engineering_ 119, 109616 (2024).
32. Mohanty, S., Nayak, M. R. & Gantayet, A. Integrating Renewable Energy Sources
with Energy Storage for Distribution System Reliability and Performance
Improvement: A Multi-Objective Cost-Minimization Approach. _Arab. J. Sci. Eng._ 50,
18053–18072 (2025).
33. Wong, L. A., Ramachandaramurthy, V. K., Walker, S. L., Taylor, P. & Sanjari, M. J.
Optimal placement and sizing of battery energy storage system for losses reduction
using whale optimization algorithm. _J. Energy Storage_ 26, 100892 (2019).
34. Kalkhambkar, V., Kumar, R. & Bhakar, R. Joint Optimal Sizing and Placement of
Renewable Distributed Generation and Energy Storage for Energy Loss
Minimization. in _2017 International Conference on Advanced Computing and_
_Communication Systems (ICACCS-2017)_ (IEEE, Coimbatore, India, 2017).
doi:10.1109/ICACCS.2017.8014596.
35. Yuan, Z., Wang, W., Wang, H. & Yildizbasi, A. A new methodology for optimal
location and sizing of battery energy storage system in distribution networks for loss
reduction. _J. Energy Storage_ 29, (2020).
36. Khaki, B. Joint sizing and placement of battery energy storage systems and wind
turbines considering reactive power support of the system. _J. Energy Storage_ 35,
(2021).
37. Peng, S., Gong, X., Liu, X., Lu, X. & Ai, X. Optimal Locating and Sizing of BESSs in
Distribution Network Based on Multi-Objective Memetic Salp Swarm Algorithm.
_Front. Energy Res._ 9, (2021).
38. Tang, X., Deng, K., Wu, Q. & Feng, Y. Optimal Location and Capacity of the
Distributed Energy Storage System in a Distribution Network. _IEEE Access_ 8,
15576–15585 (2020).
39. Malik, M. & Sharma, P. R. Optimal siting and sizing of hybrid PV and wind energy
distribution network. _Soft comput._ 26, 5335–5346 (2022).
40. Wichitkrailat, K., Premrudeepreechacharn, S., Siritaratiwat, A. & Khunkitti, S.
Optimal Sizing and Locations of Multiple BESSs in Distribution Systems using
Crayfish Optimization Algorithm. _IEEE Access_
https://doi.org/10.1109/ACCESS.2024.3425963 (2024)
doi:10.1109/ACCESS.2024.3425963.
41. Prakash, K. _et al._ A review of battery energy storage systems for ancillary services in
distribution grids: Current status, challenges and future directions. _Front. Energy_
_Res._ 10, (2022).
42. Kousksou, T., Bruel, P., Jamil, A., El Rhafiki, T. & Zeraouli, Y. Energy storage:
Applications and challenges. _Solar Energy Materials and Solar Cells_ 120, 59–80
(2014).
43. Yekini Suberu, M., Wazir Mustafa, M. & Bashir, N. Energy storage systems for
renewable energy power sector integration and mitigation of intermittency.
_Renewable and Sustainable Energy Reviews_ 35, 499–514 (2014).
44. Stecca, M., Elizondo, L. R., Soeiro, T. B., Bauer, P. & Palensky, P. A comprehensive
review of the integration of battery energy storage systems into distribution
networks. _IEEE Open Journal of the Industrial Electronics Society_ vol. 1 46–65
Preprint at https://doi.org/10.1109/OJIES.2020.2981832 (2020).
45. Wolfs, P., Jayasekera, N. & Subawickrama, S. A Fourier series based approach to the
periodic optimisation of finely dispersed battery storage. in _2011 21st Australasian_
_Universities Power Engineering Conference, AUPEC 2011_ 1–6 (2011).
46. Das, C. K., Bass, O., Kothapalli, G., Mahmoud, T. S. & Habibi, D. Overview of energy
storage systems in distribution networks: Placement, sizing, operation, and power
quality. _Renewable and Sustainable Energy Reviews_ 91, 1205–1230 (2018).
47. Amini, M., Khorsandi, A., Vahidi, B., Hosseinian, S. H. & Malakmahmoudi, A. Optimal
sizing of battery energy storage in a microgrid considering capacity degradation and
replacement year. _Electric Power Systems Research_ 195, (2021).
48. Janamala, V. & Sreenivasulu Reddy, D. Coyote optimization algorithm for optimal
allocation of interline –Photovoltaic battery storage system in islanded electrical
distribution network considering EV load penetration. _J. Energy Storage_ 41, (2021).
49. Jia, H., Rao, H., Wen, C. & Mirjalili, S. Crayfish optimization algorithm. _Artif. Intell._
_Rev._ 56, 1919–1979 (2023).
Acknowledgement
The authors gratefully acknowledge the Provincial Electricity Authority (PEA), Thailand, for
providing the distribution network data used in this study.
Funding Declaration
This work was funded by CMU Junior Research Fellowship Program.
Author contributions statement
Sirote Khunkitti: Conceptualization, Methodology, Analyzed the results, Writing- Original
draft preparation, Supervision, Writing- Reviewing and Editing.
Krit Wichitkrailat: Conceptualization, Methodology, Analyzed the results
Apirat Siritaratiwat: Analyzed the results.
Additional information
The authors declare that they have no known competing financial interests or personal
relationships that could have appeared to influence the work reported in this paper.
섹션 본문
섹션 본문이 없습니다.
참고문헌 43건
- Energy storage: Applications and challenges Solar Energy Materials and Solar Cells · Elsevier BV · 2013 10.1016/j.solmat.2013.08.015
- Energy storage systems for renewable energy power sector integration and mitigation of intermittency Renewable and Sustainable Energy Reviews · Elsevier BV · 2014 10.1016/j.rser.2014.04.009
- Sizing Strategy of Distributed Battery Storage System With High Penetration of Photovoltaic for Voltage Regulation and Peak Load Shaving IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2013 10.1109/tsg.2013.2282504
- Battery Energy Storage for Enabling Integration of Distributed Solar Power Generation IEEE Transactions on Smart Grid · Institute of Electrical and Electronics Engineers · 2012 10.1109/tsg.2012.2190113
- Optimal Operation of Distributed Energy Storage Systems to Improve Distribution Network Load and Generation Hosting Capability IEEE Transactions on Sustainable Energy · Institute of Electrical and Electronics Engineers · 2015 10.1109/tste.2015.2487360
- Integration of renewable distributed generators into the distribution system: a review IET Renewable Power Generation · Institution of Engineering and Technology · 2016 10.1049/iet-rpg.2015.0378
- Impact of renewable generation on voltage control in distribution systems Renewable and Sustainable Energy Reviews · Elsevier BV · 2016 10.1016/j.rser.2016.06.073
- A hybrid approach based on GA and direct search for periodic optimization of finely distributed storage 2011 10.1109/isgt-asia.2011.6167137
- Emerging Power Quality Challenges Due to Integration of Renewable Energy Sources IEEE Transactions on Industry Applications · Institute of Electrical and Electronics Engineers · 2016 10.1109/tia.2016.2626253
- Joint optimal sizing and placement of renewable distributed generation and energy storage for energy loss minimization 2022 8th International Conference on Advanced Computing and Communication Systems (ICACCS) · 2017 10.1109/icaccs.2017.8014596
- Battery Energy Storage System Models for Microgrid Stability Analysis and Dynamic Simulation IEEE Transactions on Power Systems · Institute of Electrical and Electronics Engineers · 2017 10.1109/tpwrs.2017.2740163
- Optimal Size and Location of Battery Energy Storage Systems for Reducing the Wind Power Curtailments Electric Power Components and Systems · Taylor & Francis · 2018 10.1080/15325008.2018.1445141
- Overview of energy storage systems in distribution networks: Placement, sizing, operation, and power quality Renewable and Sustainable Energy Reviews · Elsevier BV · 2018 10.1016/j.rser.2018.03.068
- A comparison of the effectiveness of voltage stability indices in an optimal power flow IEEJ Transactions on Electrical and Electronic Engineering · Wiley · 2018 10.1002/tee.22836
- Optimal placement and sizing of photovoltaics and battery storage in distribution networks Energy Storage · Wiley · 2019 10.1002/est2.46
- Simultaneous load leveling and voltage profile improvement in distribution networks by optimal battery storage planning Energy · Elsevier BV · 2019 10.1016/j.energy.2019.06.021
- Increasing Benefits in High PV Penetration Distribution System by Using Battery Enegy Storage and Capacitor Placement Based on Salp Swarm Algorithm Energies · Multidisciplinary Digital Publishing Institute · 2019 10.3390/en12244817
- Optimal Location and Capacity of the Distributed Energy Storage System in a Distribution Network IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2967435
- Limitations, challenges, and solution approaches in grid‐connected renewable energy systems International Journal of Energy Research · Wiley · 2020 10.1002/er.5033
- A new methodology for optimal location and sizing of battery energy storage system in distribution networks for loss reduction Journal of Energy Storage · Elsevier BV · 2020 10.1016/j.est.2020.101368
- A Comprehensive Review of the Integration of Battery Energy Storage Systems into Distribution Networks IEEE Open Journal of the Industrial Electronics Society · Institute of Electrical and Electronics Engineers · 2020 10.1109/ojies.2020.2981832
- High-Level Penetration of Renewable Energy Sources Into Grid Utility: Challenges and Solutions IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.3031481
- Challenges of renewable energy penetration on power system flexibility: A survey Energy Strategy Reviews · Elsevier BV · 2020 10.1016/j.esr.2020.100539
- Optimal Siting and Sizing of Battery Energy Storage Systems for Distribution Network of Distribution System Operators Batteries · Multidisciplinary Digital Publishing Institute · 2020 10.3390/batteries6040056
- Joint sizing and placement of battery energy storage systems and wind turbines considering reactive power support of the system Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.102264
- Optimal Siting and Sizing of Battery Energy Storage: Case Study Seventh Feeder at Nakhon Phanom Substation in Thailand Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14051458
- Optimal sizing of battery energy storage in a microgrid considering capacity degradation and replacement year Electric Power Systems Research · Elsevier BV · 2021 10.1016/j.epsr.2021.107170
- Optimal Locating and Sizing of BESSs in Distribution Network Based on Multi-Objective Memetic Salp Swarm Algorithm Frontiers in Energy Research · Frontiers Media · 2021 10.3389/fenrg.2021.707718
- Coyote optimization algorithm for optimal allocation of interline –Photovoltaic battery storage system in islanded electrical distribution network considering EV load penetration Journal of Energy Storage · Elsevier BV · 2021 10.1016/j.est.2021.102981
- Distributed Generation and Renewable Energy Integration into the Grid: Prerequisites, Push Factors, Practical Options, Issues and Merits Energies · Multidisciplinary Digital Publishing Institute · 2021 10.3390/en14175375
- Peak Shaving with Battery Energy Storage Systems in Distribution Grids: A Novel Approach to Reduce Local and Global Peak Loads Electricity · Multidisciplinary Digital Publishing Institute · 2021 10.3390/electricity2040033
- Optimal siting and sizing of hybrid PV and wind energy distribution network Soft Computing · Springer Science+Business Media · 2022 10.1007/s00500-022-06911-5
- Optimal Location and Sizing of BESS for Performance Improvement of Distribution Systems with High DG Penetration International Transactions on Electrical Energy Systems · Wiley · 2022 10.1155/2022/6361243
- Placement and sizing of utility-size battery energy storage systems to improve the stability of weak grids International Journal of Electrical Power & Energy Systems · Elsevier BV · 2022 10.1016/j.ijepes.2022.108427
- Optimal Sizing and Location of Photovoltaic Generation and Energy Storage Systems in an Unbalanced Distribution System Energies · Multidisciplinary Digital Publishing Institute · 2022 10.3390/en15186682
- A review of battery energy storage systems for ancillary services in distribution grids: Current status, challenges and future directions Frontiers in Energy Research · Frontiers Media · 2022 10.3389/fenrg.2022.971704
- Optimal Placement and Capacity of Battery Energy Storage System in Distribution Networks Integrated With PV and EVs Using Metaheuristic Algorithms IEEE Access · Institute of Electrical and Electronics Engineers · 2023 10.1109/access.2023.3291590
- Crayfish optimization algorithm Artificial Intelligence Review · Springer Science+Business Media · 2023 10.1007/s10462-023-10567-4
- Impact of large-scale renewable energy integration on the grid voltage stability Results in Engineering · Elsevier BV · 2024 10.1016/j.rineng.2024.102398
- Optimal Placement and Capacity of BESS and PV in EV Integrated Distribution Systems: The Tenth Feeder of Phitsanulok Substation Case Study Batteries · Multidisciplinary Digital Publishing Institute · 2024 10.3390/batteries10060212
- Optimal Sizing and Locations of Multiple BESSs in Distribution Systems Using Crayfish Optimization Algorithm IEEE Access · Institute of Electrical and Electronics Engineers · 2024 10.1109/access.2024.3425963
- Efficient allocation of energy storage and renewable energy system for performance and reliability improvement of distribution system Computers & Electrical Engineering · Elsevier BV · 2024 10.1016/j.compeleceng.2024.109616
- Integrating Renewable Energy Sources with Energy Storage for Distribution System Reliability and Performance Improvement: A Multi-Objective Cost-Minimization Approach Arabian Journal for Science and Engineering · Springer Science+Business Media · 2025 10.1007/s13369-025-10292-w