Next Article in Journal
Investigation of the Structural Characteristics of the Gas Diffusion Layer Using Micro-X-Ray Computed Tomography
Previous Article in Journal
Key Elements in Integrity Management of Underground Gas Storage: A Framework for Energy Safety
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimal Allocation and Sizing of Battery Energy Storage System in Distribution Network Using Mountain Gazelle Optimization Algorithm

1
School of Engineering and Technology, Central Queensland University, Rockhampton, QLD 4701, Australia
2
School of Engineering and Technology, Central Queensland University, Gladstone, QLD 4680, Australia
*
Author to whom correspondence should be addressed.
Energies 2025, 18(2), 379; https://doi.org/10.3390/en18020379
Submission received: 16 December 2024 / Revised: 10 January 2025 / Accepted: 13 January 2025 / Published: 17 January 2025
(This article belongs to the Section D: Energy Storage and Application)

Abstract

:
This paper addresses the problem of finding the optimal position and sizing of battery energy storage (BES) devices using a two-stage optimization technique. The primary stage uses mixed integer linear programming (MILP) to find the optimal positions along with their sizes. In the secondary stage, a relatively new algorithm called mountain gazelle optimizer (MGO) is implemented to find the technical feasibility of the solution, such as voltage regulation, energy loss reduction, etc., provided by the primary stage. The main objective of the proposed bi-level optimization technique is to improve the voltage profile and minimize the power loss. During the daily operation of the distribution grid, the charging and discharging behaviour is controlled by minimizing the voltage at each bus. The energy storage dispatch curve along with the locations and sizes are given as inputs to MGO to improve the voltage profile and reduce the line loss. Simulations are carried out in the MATLAB programming environment using an Australian radial distribution feeder, with results showing a reduction in system losses by 8.473%, which outperforms Grey Wolf Optimizer (GWO), Whale Optimization Algorithm (WOA), and Cuckoo Search Algorithm (CSA) by 1.059%, 1.144%, and 1.056%, respectively. During the peak solar generation period, MGO manages to contain the voltages within the upper boundary, effectively reducing reverse power flow and enhancing voltage regulation. The voltage profile is also improved, with MGO achieving a 0.348% improvement in voltage during peak load periods, compared to improvements of 0.221%, 0.105%, and 0.253% by GWO, WOA, and CSA, respectively. Furthermore, MGO’s optimization achieves a reduction in the fitness value to 47.260 after 47 iterations, demonstrating faster and more consistent convergence compared to GWO (47.302 after 60 iterations), WOA (47.322 after 20 iterations), and CSA (47.352 after 79 iterations). This comparative analysis highlights the effectiveness of the proposed two-stage optimization approach in enhancing voltage stability, reducing power loss, and ensuring better performance over existing methods.

1. Introduction

Though renewable energy sources bring complexity due to the intermittent nature of their power production in the modern power system, the adoption of renewable resources is increasing day by day. This is due to their environmental benefits over traditional technologies. As renewables are completely dependent on weather conditions, their outputs are uncertain and variable, which makes bi-directional power flow possible across the grid. The existing system is experiencing possible voltage increases during daytime from photovoltaics (PVs), which it has not been designed to tackle [1]. Battery energy storage (BES) technologies can provide flexibility to maintain RESs and loads by charging and discharging operations [2]. Moreover, these devices can be regarded as potential solutions for controlling voltages in distribution systems [3]. BES can also provide different ancillary services such as frequency control [4], peak shaving [5], line loss reduction [6], and peak load shifting [7]. However, most available BES technologies are costly, having their own sustainable challenges. Therefore, to provide reliable and stable grid operation, it is necessary to optimize storage capacity to achieve the maximum benefits from RESs. Moreover, both the size and the locations need to be optimized so that BES technologies can provide the most support to the grid by minimizing energy losses and improving the voltage profile. Researchers have suggested numerous algorithms and strategies to optimally place energy storage along with their optimum sizing due to their evident advantages. Clustering and sensitivity analysis is performed for the optimal placement and sizing of BESs and optimal locations are found irrespective of the clustering sizes [8]. While the method is claimed to be independent of clustering size, this could also be a limitation if a more granular or nuanced analysis of the BES placement would have improved performance. The absence of reliance on clustering sizes suggests that the proposed method does not consider all possible fine-tuning opportunities that could enhance BES placement and sizing in specific scenarios. A strategy was developed to obtain the optimal size and locations of energy storage in the microgrid to minimize the annual electricity cost [9]. The paper likely assumes ideal conditions for the energy storage systems. In reality, the cost of ESS, as well as issues like battery degradation and lifespan, may influence the optimal allocation. These factors should be incorporated to improve the robustness of the model. A two-stage optimization algorithm is proposed for the optimal allocation of BESs by using receding horizon control and a benders decomposition algorithm [10]. By combining the placement and sizing of batteries with real-time control strategies, the authors offer a solution that not only optimizes the design of battery storage but also enhances its operation over time. The ability to update storage management decisions at each time step improves grid flexibility and efficiency. The use of Receding Horizon Control (RHC), while advantageous for dynamic decision-making, can be computationally expensive. The real-time optimization required for each time step might limit the practical application of the approach in large, complex grids, unless efficient algorithms or hardware solutions are utilized. Researchers have proposed a mitigation strategy for overvoltage and undervoltage in distribution networks using energy storage [11]. Each energy storage is connected to the rooftop PV system and an iterative approach is followed for dispatching the battery based on local information. A proper selection of charging and discharging rate is necessary for the effective operation of BESs within distribution network. These analytical approaches cannot provide effective solutions for complex systems. Metaheuristic algorithms can be employed to solve the complex optimization problems. A multilayer optimization algorithm based on genetic algorithm (GA) is proposed for the optimal sizing and allocation of 25 BESs in a distribution network [12]. The main objective is to minimize the power losses and voltage deviation. They have proposed a relationship between BES locations and capacity variables and voltage index. The scenarios used to assess BESS allocation are based on local load and generation conditions. However, there is a risk that the model may be overfitted to these specific scenarios, which may not generalize well to other conditions or broader system contexts. Mixed integer linear programming along with a stochastic algorithm are proposed to obtain the optimal sizes and locations of BESs by minimizing the system cost and maximizing energy arbitrage [13]. Given the already complex nature of energy storage optimization models, the need for new computationally tractable solution techniques may lead to an increase in computational time and resource requirements, which could reduce the feasibility of applying the model in larger-scale systems or for real-time operations. The genetic algorithm has also been proposed in [14,15] to minimize network cost. A short literature review on the optimized variables of BESs based on different algorithms is summarized in Table 1.

2. Contributions

This paper presents a novel approach for optimizing the placement, sizing, and operation of Battery Energy Storage Systems (BESSs) in distribution networks, addressing key technical challenges such as voltage regulation and power loss reduction. While the existing literature has primarily focused on BESS sizing and placement, it often neglects the optimization of charging and discharging strategies, particularly in dynamic grid conditions. This work aims to fill this gap by offering a more robust method for improving the reliability and efficiency of the distribution network.
The key contributions of this research are as follows:
  • This study introduces the Mountain Gazelle Optimizer (MGO), a novel metaheuristic optimization technique inspired by the behaviour of mountain gazelles, to solve the BESS placement and sizing problem in distribution networks. The algorithm effectively identifies optimal BES locations and sizes while considering real-time grid conditions.
  • A hybrid approach combining MGO with MILP is proposed to address the technical constraints of BES optimization, such as power balance and voltage regulation. This integration ensures the solution is both optimal in terms of BES sizing and placement as well as feasible from an operational standpoint within the distribution network.
  • Unlike existing studies that focus on static placement and sizing, this research incorporates dynamic control of BES charging and discharging strategies over a 24 h period. The proposed strategy mitigates reverse power flow during peak solar generation, improves voltage regulation, and reduces system losses during peak load periods.
  • Although the MGO algorithm was introduced in 2022 [32], it has not yet been applied to BES placement and sizing problems in the literature. The implementation of the MGO is relatively straightforward, necessitating only fundamental mathematical programming skills to adapt the algorithm to a variety of optimization problems. The results presented demonstrate that MGO outperforms other established optimization algorithms, such as Grey Wolf Optimizer (GWO) and Whale Optimization Algorithm (WOA), in terms of convergence speed and overall optimization performance, offering a more effective solution for large-scale, dynamic distribution networks.
These contributions significantly advance the field of distribution network management and energy storage integration by providing a comprehensive approach to BES optimization, which not only focuses on optimal placement and sizing but also integrates dynamic charging and discharging strategies to enhance grid reliability and performance.

3. Mathematical Modelling

This section of the article formulates the problem regarding the optimal allocation and sizing of battery energy storage systems in electrical distribution networks as a mixed integer linear programming (MILP) model. The integer variables represent the locations where BESs will be allocated, and the real variables are their respective capacities.

3.1. Objective Function

The objective function consists of the sum of two functions: one of them represents the voltage deviation ( f 1 ) and the other one represents the line losses ( f 2 ). These objective functions are as follows:
f 1 = t = 1 24 i = 1 M ( V r V i , t ) 2
f 1 = t = 1 24 i = 1 M I i , t 2 R i
where V r is the reference voltage and V i is the voltage at i th bus, M is the number of buses; I i is the current at i th line, R i is the resistance of i th line, K is the number of lines. V i and I i are the function of line parameters, loads, PVs outputs and charging/discharging scheduling of BES, and can be written as:
V i , t   I i , t = f ( R , X , P L , t , Q L , t , P P V , t , P B E S , t )
where R and X are the vectors of line resistance and reactance, respectively; P L , Q L are vectors of active and reactive load power, respectively; P P V is the real power of PV and P B E S is the real power of BES. The inverters for PV and BES are considered to supply only real powers. Therefore, Equation (3) can be solved by a load flow programme.
The overall objective function can be defined as:
m i n f = f 1 + f 2
The two functions, f 1 and f 2 , involve squared terms, which make them nonlinear functions. Again, they have quadratic terms, which make them convex. Metaheuristic algorithms can deal with these complex, nonlinear, convex, and multidimensional problems [33].

3.2. Set of Constraints

Determining the locations and sizes of battery energy storage systems in radial distribution networks requires various constraints related to the network’s physical operation. Some of these have to do with active power balance, voltage grid regulation characteristics, thermal characteristics, and the sizes of BES devices. These constraints are defined below:
P S , t + i = 1 M P L , i , t + i = 1 M P V P P V , i , t + i = 1 M B E S P B E S , i , t + P l o s s , t = 0
Q S , t + i = 1 M Q L , i , t + i = 1 M P V Q P V , i , t + i = 1 M B E S Q B E S , i , t + Q l o s s , t = 0
V m i n V i , t V m a x   where   i = 1 M
0 I i , t I m a x   where   i = 1 K
where P S is the real power of the substation; M P V is the number of allocated PVs; M B E S is the number of BESs; P P V , m a x is the allowable maximum PV output power; Q S is the reactive power of the substation; Q L , Q P V and Q B E S are the reactive power from loads, PV system and energy storage; Q l o s s is the reactive power loss; V m i n and V m a x are the allowable minimum and maximum voltage; I m a x is the allowable maximum line current.
The constraint equations can be interpreted as follows: Equation (5) defines the power balance constraints at each bus of the network for each period. These are also known as power flow constraints [34]. Inequality constraints (6) and (7) refer to the allowable voltage and current limits imposed by the regulatory entities for the operation of distribution network.

3.3. Proposed Solution Method

3.3.1. Primary Stage: MILP

A battery energy system consists of an inverter and a battery pack. The overall efficiency of BES ( η B E S ) can be calculated as [35]:
η B E S = η I N V η B
where
η I N V = Inverter efficiency
η B = Battery efficiency
In general, the charging and discharging efficiency of the battery is considered to be the same. Then, the battery efficiency can be written as [35]:
η B = η r
where η r is the round-trip efficiency. Again, storage efficiency, which represents the relation between energy retrieved from the battery and the energy supplied to the battery, is also related to the battery efficiency. However, storage efficiency represents a higher value for a short time horizon [36]. That is why it is neglected here. Table 2 shows a summary of energy storage efficiency for three different technologies. The inverter efficiency is greater than 97% for each of these [37]. A battery manufactured with LiFePO4, or higher technologies, can achieve battery efficiency of 0.9747 whereas Lead-acid and Lithium-ion can achieve only 0.9220 and 0.9487, respectively. Therefore, LiFePO4 or higher technologies can achieve higher overall efficiency than the other technologies.

Charging/Discharging Strategy

When the power generated from the PV system ( P P V ) is greater than the load power ( P L ), the excess power ( P c h r ) is used to charge the battery which can be represented as [38]:
P c h r ( t ) = ( S O C t + 1 S O C t ) C B η B E S Δ t
where Δ t is the time interval. In this study, Δ t = 1   h is considered. S O C is the state of charge of the battery and C B is the battery capacity in kWh.
When there is no PV or it generates a very small amount of energy, the BESs start to be discharged by supplying the demand. The discharging power ( P d c h ) can be expressed as [38]:
P d c h ( t ) = ( S O C t S O C t + 1 ) C B η B E S Δ t
The optimal battery dispatch curve is determined by minimizing the following objective function:
m i n i m i z e h N t = 1 24 ( P d c h , h ( t ) P c h r , h ( t ) ) V i , h
h N t = 1 24 ( S O C t , h S O C t + 1 , h ) C B , t , h Δ t     η B E S + 1 η B E S . V t , h

Matrix Formulation

To solve the optimization problem by mixed integer linear programming, it is important to formulate the function in matrix notation. The solution vector is represented by:
x = C B ; P ; h ;
The vector co-efficient for the objective function is represented by:
f = η B E S + 1 η B E S . 1 Δ t . V t , h
Therefore, the MILP problem can be written in matrix notation as
min n f T x s u b j e c t   t o   A x b A e q x = b e q l b x u b
where A and b represent inequality constraint; A e q and b e q are the equality constraints; l b and u b are the lower and upper bound of decision variables.
The constraints for the MILP problem are as follows:
0 s t c h r + s t d c h 1
0 P c h r s t c h r P m a x
0 P d c h s t d c h P m a x
S O C m i n S O C S O C m a x
S O C t = 24 = S O C i n
Equation (17) represents charging ( s t c h r ) and discharging ( s t d c h ) state variables which are binary and also cannot happen simultaneously. Equations (18) and (19) impose limits on the charging and discharging power of the battery energy storage system (BESS), ensuring that they do not exceed the maximum BESs power ( P m a x ). The state of charge should be limited by its minimum ( S O C m i n ) and maximum ( S O C m a x ) value and it should return to its initial value after the end of t period.

3.3.2. Secondary Stage

The Mountain Gazelle Optimization (MGO) algorithm is a newly developed meta heuristic algorithm proposed by Abdollahzadeh in 2022 [32]. This algorithm takes inspiration from the social and group behaviour of mountain gazelles in the wild and performs the optimization process based on the four aspects of gazelles’ lives: territory solitary males, maternity herds, bachelor male herds, and migration to search for food. The mathematical formulation of these stages is described in the following sections:

Territory Solitary Males (TSM)

Male mountain gazelles establish solitary territories upon reaching adulthood and gaining strength. Adult males fiercely defend these territories and engage in battles over them or for possession of females. Meanwhile, younger males attempt to occupy these territories or attract females, while the adult males focus on protecting their established environments. A mathematical model depicting the territory of an adult male is given below [32]:
T S M = m a l e g a z e l l e φ 1 V c φ 2 X t G C o f r
V c = X n a 1 + P O P a 2 ,                         n = N 3 . . N
G = N 1 D exp   ( 2 i t e r ( 2 i t e r m a x ) )
C o f r = b + 1 + a 3 b N 2 D a 3 D N 3 D N 4 D 2 c o s ( a 4 * 2 N 3 ( D ) )
b = 1 + i t e r ( 1 i t e r m a x )
where m a l e g a z e l l e denotes the position vector of the best global solution; φ 1 and φ 2 are random integers ranging from 1 or 2; V c denotes the co-efficient vector for a young male; C o f r is arbitrarily selected co-efficient vector which is updated in each iteration and increases the searching capability; X t denotes the initial position of the gazelle; X n is a random solution of young male in the range of n ; P O P is the average number of population where N 3 were selected randomly; N represents the total number of gazelles; a 1 , a 2 ,   a 3 and a 4 are randomly selected values ranging from 0 to 1; N 1 represents the random number drawn from the standard deviation; N 2 , N 3 , and N 4 denote the dimensions of the problem and are randomly selected numbers; i t e r and i t e r m a x are the current and maximum iterations, respectively.

Maternity Herds (MH)

Maternity herds play an essential role in the life cycle of mountain gazelles, as these types of packs give birth to solid male gazelles. Male gazelles can also play a role in the delivery of gazelles and young males trying to possess females. This behaviour can be formulated as follows [39]:
M H = V c + C o f 1 , r + φ 3 m a l e g a z e l l e φ 4 X r a n d C o f 2 , r
where φ 3 and φ 4 are randomly generated integers 1 or 2; C o f 1 , r and C o f 2 , r are randomly selected co-efficient vectors calculated from Equation (4); X r a n d denotes the randomly selected position vector of a gazelle.

Bachelor of Male Herds (BMH)

As male gazelles mature, they tend to establish territories and seek possession of female gazelles. During this period, young male gazelles enter into competition with adult males for territory and control of females, often resulting in considerable violence. This behaviour can be articulated mathematically as follows [39]:
B M H = X t F + φ 5 m a l e g a z e l l e φ 6 V c C o f r
F = X t + m a l e g a z e l l e ( 2 a 5 1 )
where X t represents the position vector of gazelle in current iteration; φ 5 and φ 6 are randomly selected integers from 1 or 2; a 5 is the random number ranging from 0 to 1.

Migration in Search of Food (MSF)

Mountain gazelles cover large distances in search of food and are constantly on the lookout for new sources. They are known for their impressive running speed and powerful jumping ability. As a result, they often travel great distances to find food and migrate. The following equation is used to formulate this behaviour as follows [39]:
M S F = u b l b a 6 + l b
where u b and l b are upper and lower limits of the optimization problem; a 6 is the randomly generated number ranging from 0 to 1. The flowchart of the MGO is shown in Figure 1.
During the secondary stage, the power flow is solved by the Newton-Raphson method, which is used by OpenDSS software [40]. This allows the calculation of voltages and system loss at each hour and evaluation of the constraints. After the locations and sizing of the BESs are integrated into the grid from the primary stage, Equation (1) is evaluated by MGO, keeping all the constraints satisfied. The pseudocode for the secondary stage is shown in Algorithm 1.
Algorithm 1: Secondray stage algorithm: MGO
   Data: Data reading and assignment of MGO parameters
   for t = 1:24 do
  • Load the power demanded by the loads for period t ;
  • Load the optimal dispatch curve of the energy storage during period t ;
  • Solve the power flow for period t by Newton Raphson method in OpenDSS software.
  • Calculate the fitness function for period t by using Equation (4);
  • Evaluate the constraint from Equations (5)–(7) for period t ;
   end
   Report the best fitness value
To summarize the proposed primary-secondary methodology, a flow diagram is presented in Figure 2.

4. Simulation Test System

To verify the efficiency of the proposed solution methodology for placing and sizing battery energy storage systems in radial distribution systems, an Australian distribution network is employed. The electrical configuration of this system is presented in Figure 3. The system has an 11 kV voltage at the substation bus and a 415 kV at the distribution side. The capacity of the transformer is 200 kVA. To connect the buses, a moon conductor has been used. A total of 55 houses are connected to the system and PV is also connected to the buses where the load is connected. Each PV system is equipped with 6 kW. The time resolution of the load and the PV power is 1 h.
Figure 4 shows the transformer loading over a 24 h period with PV and without PV integration. The transformer operates with a consistent loading pattern fluctuating between −97 kW to −167 kW when there is no PV. However, there is a noticeable increase in transformer loading from 8 a.m. to 6 p.m., peaking at 169 kW at around 11 a.m. This peak indicates that PV generation is causing reverse power flow due to excess generation being fed back to the grid.
To validate the proposed solution methodology, the optimization procedure is implemented in MATLAB’s 2023b version on a computer with an Intel Core i9-13900@2.6 GHz and 64.0 GB of RAM running the 64-bit version of Microsoft Windows. In this simulation, 30 search agents and 150 iterations are set to evaluate the performance of MGO, GWO, WOA, and CSA.
Table 3 shows a comparison among the base case scenario, grey wolf optimization (GWO), whale optimization algorithm (WOA), and the proposed methodology for an Australian distribution configuration for 24 h. Batteries are placed concurrently within the optimization framework.
The optimal dispatch curves and SOC of the battery energy storage systems over a 24 h period are exhibited in Figure 5 and Figure 6, respectively. Bat 1 starts charging around 9 a.m. and peaks at 13 kW. Bat 1 stops charging at 12 p.m., when SOC reaches 1. It starts discharging from 6 p.m. and stops discharging at 8 p.m., when SOC reaches the minimum value 0.2. Bat 2 is charged for only two hours, peaking at 15 kW, and is also discharged for two hours. Bat 2 starts charging at 9 a.m. and continues to charge until 2 p.m. It starts discharging at 6 p.m. and continues to discharge until 10 p.m. A few observations can be made from the above discussion:
  • The batteries are charging in such a way that they charge during peak PV generation to stop the reverse power flow to the grid.
  • The batteries collectively discharge during the evening peak load period to support the grid.
  • While Bat 1 and Bat 2 have similar profiles of charging and discharging heavily during peak PV and peak demand period, Bat 3 has a more uniform profile.
The bus voltages for a 24 h period for each algorithm are presented in Figure 7.
In the base case scenario at 11 a.m., the voltage at bus number 21 is recorded at 1.0538 p.u. Upon applying the MGO algorithm, the voltage decreases to 1.0463 p.u., resulting in a reduction of 0.712%. Additionally, the voltage values obtained through the WOA, GWO, and CSAs are 1.0505 p.u., 1.0491 p.u., and 1.0488 p.u., respectively. At bus number 21, the percentage reductions in voltages are as follows: 0.313% with the WOA, 0.446% with the GWO algorithm, and 0.475% with the CSA. Similarly, at bus number 19 at 11 a.m., the voltage in the base case scenario is 1.0542 p.u. After applying the MGO, GWO, WOA, and CSAs, the voltages are reduced to 1.0467 p.u. for the MGO and 1.0509 p.u., 1.0495 p.u. and 1.0492 p.u. for the WOA, GWO, and CSAs, respectively, resulting in consistent reductions of 0.712%, 0.313%, 0.446%, and 0.475%. Though the voltage is reduced by 0.313% by WOA, it could not keep the voltages within the upper boundary, which suggests the algorithm might become stuck in local minima. During the peak load period at 8 p.m., the voltage at bus number 8 is recorded at 0.9495 p.u. With the support of energy storage systems dispatching power to the grid, the voltage is improved to 0.9528 p.u. with the MGO algorithm, leading to an improvement of 0.348%. The GWO, WOA, and CSAs yield voltage improvements to 0.9516 p.u., 0.9505 p.u., and 0.9519 p.u., corresponding to improvements of 0.221%, 0.105%, and 0.253%, respectively. Overall, these results indicate that all optimization algorithms except WOA demonstrate a consistent ability to manage voltage levels effectively across various scenarios.
By allocating BESs at optimal locations at their optimal capacities by MGO, the system losses are reduced, as is shown in Figure 8. The total system loss for the base case scenario for 24 h is 49.0701 kW. A reduction in system loss of 8.473% is achieved by MGO. Similarly, GWO, WOA, and CSA can reduce the system loss by 7.414%, 7.329% and 7.417%, respectively.
From the above discussion, it can be concluded that the BESs can minimize the reverse power flow during the high PV generation and also support the grid during peak load period by maintaining the voltage profile within acceptable limits and reducing the system losses while placed at optimal locations and optimal sizing.
The convergence curves of different optimization algorithms are shown in Figure 9. The x-axis shows the number of iterations and the y-axis shows the best fitness value found by the algorithms. The grey wolf optimization algorithm starts with a high fitness value of 49.512 and reaches a stable point of 47.302 after 60 iterations.
The whale optimization algorithm also starts with a high fitness value around 48.203 and quickly reduces to 47.322 within 20 iterations. It converges relatively quickly, suggesting it might be becoming trapped in a local minimum. This finding is also consistent with the results found from WOA discussed in the above section. CSA shows a steplike pattern, suggesting slower convergence and possible oscillations in finding the optimum solution. This algorithm stabilizes at 47.352 after 79 iterations. MGO shows consistent improvement over the iterations and achieves the lowest fitness value of 47.260 after 47 iterations indicating superior performance than other algorithms.

5. Conclusions

This study addresses the optimal siting and sizing of Battery Energy Storage Systems (BESSs) in distribution networks to minimize system losses and improve voltage profiles. The proposed two-stage optimization approach utilizes Mixed Integer Linear Programming (MILP) in the primary stage for determining optimal locations and sizes of BESSs, followed by the application of the Mountain Gazelle Optimization (MGO) algorithm in the secondary stage to optimize daily operation for voltage regulation and system loss reduction.
The key findings of this study are summarized as follows:
  • The proposed methodology significantly improves the voltage profile across the network. For instance, at the peak load period (8 p.m.), the voltage at bus number 8 improves from 0.9495 p.u. (base case) to 0.9528 p.u. using the MGO algorithm, representing a 0.348% improvement. This improvement is superior to that achieved by other optimization algorithms, such as Grey Wolf Optimizer (GWO), Whale Optimization Algorithm (WOA), and Cuckoo Search Algorithm (CSA).
  • The integration of BESs optimally located and sized leads to a reduction in system losses. The total system loss for a 24 h period in the base case scenario is 49.0701 kW, which is reduced by 8.473% (4.16 kW) with the application of MGO. Other algorithms (GWO, WOA, and CSA) show reductions in losses ranging from 7.33% to 7.42%.
  • The BESs are allocated to buses where voltages exceed predefined limits, ensuring the grid is supported and the voltage remains within acceptable ranges. The optimal locations correspond to areas of the grid that experience overvoltage or undervoltage issues, improving overall network stability.
  • MGO demonstrates superior convergence behaviour, achieving a minimum fitness value of 47.260 after 47 iterations, as compared to GWO, WOA, and CSA. In particular, WOA shows signs of becoming trapped in local minima, leading to suboptimal performance.
  • MGO outperforms other optimization algorithms (GWO, WOA, CSA) in both voltage profile improvement and system loss reduction. MGO achieves the lowest fitness value (47.260), indicating superior performance in optimizing BES placement, sizing, and operational dispatch.
These results confirm that the proposed MGO-based methodology offers a more effective solution for integrating BESs into distribution networks, ensuring better voltage regulation and lower system losses compared to existing techniques in the literature.

6. Limitations and Future Research Directions

This study proposes an innovative two-stage optimization approach for the optimal siting, sizing, and operational dispatch of Battery Energy Storage Systems (BESSs) in distribution networks. While the proposed methodology demonstrates significant improvements in voltage profile and system loss reduction, there are several limitations and areas for future research that can be explored to enhance the effectiveness and applicability of the approach.

6.1. Limitations

  • Single-Stage System: The current methodology is based on a daily operational horizon and does not consider the dynamic nature of BESS dispatch over a longer period (e.g., seasonal variations in load and generation). The study does not account for real-time adjustments in the operation of BESSs.
  • Scalability: While the proposed methodology has been tested on an Australian distribution feeder, it may face scalability issues when applied to larger or more complex networks with a higher number of buses and BESSs. The computational complexity of the two-stage optimization approach could increase significantly as the system size grows.
  • Grid Stability Under Extreme Conditions: The optimization is performed based on typical grid operation conditions. However, extreme weather events or unexpected load peaks could significantly impact the performance of the proposed methodology in real-world conditions. The current approach does not account for such contingencies.

6.2. Future Research Directions

  • Incorporating Uncertainty and Forecasting: Future research can explore incorporating forecasting errors and uncertainties in renewable energy generation and load demands. Stochastic optimization techniques or robust optimization methods could be integrated to account for these uncertainties and provide more reliable solutions.
  • Extended Time Horizons and Dynamic Operation: Expanding the methodology to account for longer time horizons, such as weekly, monthly, or even seasonal periods, would allow for more accurate planning and dispatch of BESs. Additionally, dynamic control strategies that can adjust to real-time grid conditions and BESS state of charge could be investigated.
  • Hybrid and Advanced Metaheuristic Algorithms: The study utilizes the Mountain Gazelle Optimization (MGO) algorithm for optimization, which shows superior performance compared to other algorithms. However, hybrid optimization techniques that combine MGO with other algorithms, such as Genetic Algorithms or Particle Swarm Optimization, could be explored to further improve the optimization results and robustness, especially in larger networks.
  • Integration with Grid Expansion Planning: Future studies could explore the integration of BESS optimization with grid expansion planning, where the placement and sizing of energy storage systems are considered along with other grid infrastructure decisions, such as the placement of transformers and conductors.
  • Considering Real-World Constraints: Further research could include additional real-world constraints, such as market-based constraints (e.g., cost of electricity, market participation). This would provide a more realistic framework for the practical implementation of BESSs in distribution networks.

Author Contributions

Conceptualization, U.M.; Methodology, U.M.; Software, U.M.; Formal analysis, U.M.; Writing—original draft, U.M.; Writing—review & editing, S.A. and P.W.; Supervision, S.A. and P.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Advanced Queensland Industry Research Fellowship: AQIRF105-2022RD5.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Unigwe, O.; Okekunle, D.; Kiprakis, A. Smart coordination schemes for multiple battery energy storage systems for support in distribution networks with high penetration of photovoltaics. IET Smart Grid 2019, 2, 347–354. [Google Scholar] [CrossRef]
  2. Al Khafaf, N.; Rezaei, A.A.; Amani, A.M.; Jalili, M.; McGrath, B.; Meegahapola, L.; Vahidnia, A. Impact of battery storage on residential energy consumption: An Australian case study based on smart meter data. Renew. Energy 2022, 182, 390–400. [Google Scholar] [CrossRef]
  3. ALAhmad, A.K. Voltage regulation and power loss mitigation by optimal allocation of energy storage systems in distribution systems considering wind power uncertainty. J. Energy Storage 2023, 59, 106467. [Google Scholar] [CrossRef]
  4. Conde, A.; Pérez, G.; Gutiérrez-Alcaraz, G.; Leonowicz, Z. Frequency improvement in microgrids through Battery Management System control supported by a remedial action scheme. IEEE Access 2022, 10, 8081–8091. [Google Scholar] [CrossRef]
  5. Wang, S.; Li, F.; Zhang, G.; Yin, C. Analysis of energy storage demand for peak shaving and frequency regulation of power systems with high penetration of renewable energy. Energy 2023, 267, 126586. [Google Scholar] [CrossRef]
  6. Dehbozorgi, S.; Ehsanifar, A.; Montazeri, Z.; Dehghani, M.; Seifi, A. Line loss reduction and voltage profile improvement in radial distribution networks using battery energy storage system. In Proceedings of the 2017 IEEE 4th International Conference on Knowledge-Based Engineering and Innovation (KBEI), Tehran, Iran, 22 December 2017; pp. 0215–0219. [Google Scholar]
  7. Castro, L.M.; Espinoza-Trejo, D.R. Optimal placement of battery energy storage systems with energy time shift strategy in power networks with high penetration of photovoltaic plants. Sustain. Energy Grids Netw. 2023, 35, 101093. [Google Scholar] [CrossRef]
  8. Giannitrapani, A.; Paoletti, S.; Vicino, A.; Zarrilli, D. Optimal Allocation of Energy Storage Systems for Voltage Control in LV Distribution Networks. IEEE Trans. Smart Grid 2017, 8, 2859–2870. [Google Scholar] [CrossRef]
  9. Atwa, Y.M.; El-Saadany, E.F. Optimal Allocation of ESS in Distribution Systems with a High Penetration of Wind Energy. IEEE Trans. Power Syst. 2010, 25, 1815–1822. [Google Scholar] [CrossRef]
  10. Fortenbacher, P.; Ulbig, A.; Andersson, G. Optimal placement and sizing of distributed battery storage in low voltage grids using receding horizon control strategies. IEEE Trans. Power Syst. 2017, 33, 2383–2394. [Google Scholar] [CrossRef]
  11. Alam, M.J.E.; Muttaqi, K.M.; Sutanto, D. Distributed energy storage for mitigation of voltage-rise impact caused by rooftop solar PV. In Proceedings of the 2012 IEEE Power and Energy Society General Meeting, San Diego, CA, USA, 22–26 July 2012; pp. 1–8. [Google Scholar] [CrossRef]
  12. Babacan, O.; Torre, W.; Kleissl, J. Optimal allocation of battery energy storage systems in distribution networks considering high PV penetration. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016; pp. 1–5. [Google Scholar] [CrossRef]
  13. Fernández-Blanco, R.; Dvorkin, Y.; Xu, B.; Wang, Y.; Kirschen, D.S. Kirschen. Optimal energy storage siting and sizing: A WECC case study. IEEE Trans. Sustain. Energy 2016, 8, 733–743. [Google Scholar] [CrossRef]
  14. Carpinelli, G.; Celli, G.; Mocci, S.; Mottola, F.; Pilo, F.; Proto, D. Optimal integration of distributed energy storage devices in smart grids. IEEE Trans. Smart Grid 2013, 4, 985–995. [Google Scholar] [CrossRef]
  15. Ghofrani, M.; Arabali, A.; Etezadi-Amoli, M.; Fadali, M.S. A framework for optimal placement of energy storage units within a power system with high wind penetration. IEEE Trans. Sustain. Energy 2013, 4, 434–442. [Google Scholar] [CrossRef]
  16. Siddique, R.; Raza, S.; Mannan, A.; Khalil, L.; Alwaz, N.; Riaz, M. A modified NSGA approach for optimal sizing and allocation of distributed resources and battery energy storage system in distribution network. Mater. Today Proc. 2021, 47, S102–S109. [Google Scholar] [CrossRef]
  17. Binini, G.M.; Munda, J.L.; Popoola, O.M. Optimal location, sizing and scheduling of distributed energy storage in a radial distribution network. J. Energy Storage 2024, 94, 112499. [Google Scholar] [CrossRef]
  18. 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 2019, 26, 100892. [Google Scholar] [CrossRef]
  19. 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 2020, 29, 101368. [Google Scholar] [CrossRef]
  20. Hamidan, M.-A.; Borousan, F. Optimal planning of distributed generation and battery energy storage systems simultaneously in distribution networks for loss reduction and reliability improvement. J. Energy Storage 2022, 46, 103844. [Google Scholar] [CrossRef]
  21. Gu, T.; Wang, P.; Liang, F.; Xie, G.; Guo, L.; Zhang, X.P.; Shi, F. Placement and capacity selection of battery energy storage system in the distributed generation integrated distribution network based on improved NSGA-II optimization. J. Energy Storage 2022, 52, 104716. [Google Scholar] [CrossRef]
  22. Saini, P.; Gidwani, L. An investigation for battery energy storage system installation with renewable energy resources in distribution system by considering residential, commercial and industrial load models. J. Energy Storage 2022, 45, 103493. [Google Scholar] [CrossRef]
  23. Ramos, A.F.; Ahmad, I.; Habibi, D.; Mahmoud, T.S. Placement and sizing of utility-size battery energy storage systems to improve the stability of weak grids. Int. J. Electr. Power Energy Syst. 2023, 144, 108427. [Google Scholar] [CrossRef]
  24. Hosseini, S.A.; Toulabi, M.; Ashouri-Zadeh, A.; Ranjbar, A.M. Battery energy storage systems and demand response applied to power system frequency control. Int. J. Electr. Power Energy Syst. 2022, 136, 107680. [Google Scholar] [CrossRef]
  25. Farsadi, M.; Sattarpour, T.; Nejadi, A.Y. Optimal placement and operation of BESS in a distribution network considering the net present value of energy losses cost. In Proceedings of the 2015 9th International Conference on Electrical and Electronics Engineering (ELECO), Bursa, Turkey, 26–28 November 2015; pp. 434–439. [Google Scholar] [CrossRef]
  26. Khaki, B.; Das, P. Sizing and placement of battery energy storage systems and wind turbines by minimizing costs and system losses. arXiv 2019, arXiv:1903.12029. [Google Scholar]
  27. Wen, S.; Lan, H.; Fu, Q.; Yu, D.C.; Zhang, L. Economic Allocation for Energy Storage System Considering Wind Power Distribution. IEEE Trans. Power Syst. 2015, 30, 644–652. [Google Scholar] [CrossRef]
  28. Wong, L.; Shareef, H.; Mohamed, A.; Ibrahim, A. Optimum Placement and Sizing of Battery Storage Systems to Voltage Rise Mitigation in Radial Distribution with Pv Generators. Aust. J. Basic Appl. Sci. 2014, 8, 41–43. [Google Scholar]
  29. Bahmani-Firouzi, B.; Azizipanah-Abarghooee, R. Optimal sizing of battery energy storage for micro-grid operation management using a new improved bat algorithm. Int. J. Electr. Power Energy Syst. 2014, 56, 42–54. [Google Scholar] [CrossRef]
  30. Das, C.K.; Bass, O.; Kothapalli, G.; Mahmoud, T.S.; Habibi, D. Optimal placement of distributed energy storage systems in distribution networks using artificial bee colony algorithm. Appl. Energy 2018, 232, 212–228. [Google Scholar] [CrossRef]
  31. Nayak, C.K.; Nayak, M.R. Optimal battery energy storage sizing for grid connected PV system using IHSA. In Proceedings of the 2016 International Conference on Signal Processing, Communication, Power and Embedded System (SCOPES), Odisha, India, 3–5 October 2016; pp. 121–127. [Google Scholar] [CrossRef]
  32. Abdollahzadeh, B.; Gharehchopogh, F.S.; Khodadadi, N.; Mirjalili, S. Mountain gazelle optimizer: A new nature-inspired metaheuristic algorithm for global optimization problems. Adv. Eng. Softw. 2022, 174, 103282. [Google Scholar] [CrossRef]
  33. Wang, P.; Zhou, Y.; Luo, Q.; Han, C.; Niu, Y.; Lei, M. Complex-valued encoding metaheuristic optimization algorithm: A comprehensive survey. Neurocomputing 2020, 407, 313–342. [Google Scholar] [CrossRef]
  34. Marini, A.; Mortazavi, S.; Piegari, L.; Ghazizadeh, M.-S. An efficient graph-based power flow algorithm for electrical distribution systems with a comprehensive modeling of distributed generations. Electr. Power Syst. Res. 2019, 170, 229–243. [Google Scholar] [CrossRef]
  35. Silva, V.A.; Aoki, A.R.; Lambert-Torres, G. Optimal Day-Ahead Scheduling of Microgrids with Battery Energy Storage System. Energies 2020, 13, 5188. [Google Scholar] [CrossRef]
  36. Divya, K.C.; Østergaard, J. Battery energy storage technology for power systems—An overview. Electr. Power Syst. Res. 2009, 79, 511–520. [Google Scholar] [CrossRef]
  37. Rodrigues, E.; Godina, R.; Santos, S.F.; Bizuayehu, A.W.; Contreras, J.; Catalao, J.P. Energy storage systems supporting increased penetration of renewables in islanded systems. Energy 2014, 75, 265–280. [Google Scholar] [CrossRef]
  38. Alrashidi, M. Community Battery Storage Systems Planning for Voltage Regulation in Low Voltage Distribution Systems. Appl. Sci. 2022, 12, 9083. [Google Scholar] [CrossRef]
  39. Sarangi, P.; Mohapatra, P. Evolved opposition-based Mountain Gazelle Optimizer to solve optimization problems. J. King Saud Univ. Comput. Inf. Sci. 2023, 35, 101812. [Google Scholar] [CrossRef]
  40. Available online: https://sourceforge.net/projects/electricdss/ (accessed on 16 January 2023).
Figure 1. Flowchart for MGO algorithm.
Figure 1. Flowchart for MGO algorithm.
Energies 18 00379 g001
Figure 2. Flowchart for the proposed primary-secondary procedure.
Figure 2. Flowchart for the proposed primary-secondary procedure.
Energies 18 00379 g002
Figure 3. An Australian distribution network.
Figure 3. An Australian distribution network.
Energies 18 00379 g003
Figure 4. Transformer loading for 24 h period.
Figure 4. Transformer loading for 24 h period.
Energies 18 00379 g004
Figure 5. Optimal charging and discharging curves.
Figure 5. Optimal charging and discharging curves.
Energies 18 00379 g005
Figure 6. State of charge for 24 h period.
Figure 6. State of charge for 24 h period.
Energies 18 00379 g006
Figure 7. Voltages at each bus for 24 h period (a) base case scenario, (b) GWO, (c) WOA, (d) CSA, and (e) MGO.
Figure 7. Voltages at each bus for 24 h period (a) base case scenario, (b) GWO, (c) WOA, (d) CSA, and (e) MGO.
Energies 18 00379 g007aEnergies 18 00379 g007b
Figure 8. System loss for three batteries for 24 h period.
Figure 8. System loss for three batteries for 24 h period.
Energies 18 00379 g008
Figure 9. Convergence curves for different algorithms.
Figure 9. Convergence curves for different algorithms.
Energies 18 00379 g009
Table 1. A literature review on optimal allocation and sizing of BESs.
Table 1. A literature review on optimal allocation and sizing of BESs.
Ref.Optimized VariablesAlgorithmsObjective Function
[16]Size + LocationModified non-dominated sorting genetic algorithm (NSGA)Minimize power loss and improve voltage profile
[17]Size + Location + SchedulingMixed integer linear programming (MILP)Minimize power loss
[8]Number + Size + LocationVoltage sensitivity analysisImprove voltage profile
[18]Size + LocationWhale optimization algorithm (WOA)Minimize power loss
[19]Size + LocationImproved Cayote optimization algorithm (ICOA)Minimize power loss
[20]LocationMulti-objective evolutionary algorithm (MOEA)Minimize energy not supplied, load loss, load cost, voltage drop.
[21]Size + LocationImproved non-dominated sorting genetic algorithm-II (NSGA-II)Minimize power loss and voltage fluctuations
[22]LocationVoltage sensitivity index factor (VSIF)Minimize annual energy loss and overvoltage
[23]Size + LocationBinary Grey wolf optimization (BGWO)Improve voltage and frequency stability
[24]Size + LocationGenetic algorithm(GA)Minimize cost
[25]LocationGenetic algorithm (GA)Minimize cost
[26]Size + LocationGenetic algorithm (GA)Minimize power loss and cost
[27]Size + LocationHybrid multi-objective particle swarm optimizationMinimize cost and improve voltage profile
[28]Size + LocationEnhanced opposition firefly algorithm (EOFA)Minimize power loss and voltage deviation
[29]Size Improved bat algorithm (IBA)Minimize cost
[30]LocationArtificial bee colony algorithm (ABCA)Minimize power loss, voltage deviation, line loading
[31]SizeImproved harmony search algorithm (IHSA)Minimize cost
Table 2. BES efficiencies for different technologies.
Table 2. BES efficiencies for different technologies.
Battery Technology η I N V η B η B E S
Lead-acid>0.970.92200.8943
Lithium-ion>0.970.94870.9202
LiFePO4>0.970.97470.9454
Table 3. A comparative analysis among base case scenario and GWO, WOA, CSA, and the proposed methodology.
Table 3. A comparative analysis among base case scenario and GWO, WOA, CSA, and the proposed methodology.
MethodBusesSizesFitness Value
Capacity (kW)Capacity (kWh)
Base 49.0101
GWO[19 8 21][9.5 2.78 20][40 15.3 40]47.302
WOA[19 8 16][13.36 1.96 0.14][40 7.51 38.07]47.322
CSA[19 19 16][9.4 6.34 7.61][40 21.45 16.67]47.352
Proposed methodology[19 8 21][13.38 15.26 8.98][40.00 30.19 40.00]47.260
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Mumtahina, U.; Alahakoon, S.; Wolfs, P. Optimal Allocation and Sizing of Battery Energy Storage System in Distribution Network Using Mountain Gazelle Optimization Algorithm. Energies 2025, 18, 379. https://doi.org/10.3390/en18020379

AMA Style

Mumtahina U, Alahakoon S, Wolfs P. Optimal Allocation and Sizing of Battery Energy Storage System in Distribution Network Using Mountain Gazelle Optimization Algorithm. Energies. 2025; 18(2):379. https://doi.org/10.3390/en18020379

Chicago/Turabian Style

Mumtahina, Umme, Sanath Alahakoon, and Peter Wolfs. 2025. "Optimal Allocation and Sizing of Battery Energy Storage System in Distribution Network Using Mountain Gazelle Optimization Algorithm" Energies 18, no. 2: 379. https://doi.org/10.3390/en18020379

APA Style

Mumtahina, U., Alahakoon, S., & Wolfs, P. (2025). Optimal Allocation and Sizing of Battery Energy Storage System in Distribution Network Using Mountain Gazelle Optimization Algorithm. Energies, 18(2), 379. https://doi.org/10.3390/en18020379

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop