Next Article in Journal
General Approach to Electrical Microgrids: Optimization, Efficiency, and Reliability
Previous Article in Journal
Dynamic Collaborative Optimization Strategy for Multiple Area Clusters in Distribution Networks Considering Topology Change
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Integration and Operation of Energy Storage Systems in Active Distribution Networks: Economic Optimization via Salp Swarm Optimization

by
Brandon Cortés-Caicedo
1,2,*,
Santiago Bustamante-Mesa
1,*,
David Leonardo Rodríguez-Salazar
3,
Oscar Danilo Montoya
2 and
Mateo Rico-García
1
1
Departamento de Eléctrica, Facultad de Ingeniería, Institución Universitaria Pascual Bravo, Medellín 050036, Colombia
2
Grupo de Compatibilidad e Interferencia Electromagnética, Facultad de Ingeniería, Universidad Distrital Francisco José de Caldas, Bogotá 110231, Colombia
3
Facultad de Ingeniería, Universidad Distrital Francisco José de Caldas, Bogotá 110231, Colombia
*
Authors to whom correspondence should be addressed.
Electricity 2025, 6(1), 11; https://doi.org/10.3390/electricity6010011
Submission received: 26 January 2025 / Revised: 15 February 2025 / Accepted: 24 February 2025 / Published: 6 March 2025

Abstract

:
This paper proposes the integration and operation of lithium-ion battery energy storage systems (ESS) in active distribution networks with high penetration of distributed generation based on renewable energy. The goal is to minimize total system costs, including energy purchasing at the substation node, as well as ESS integration, maintenance, and replacement costs over a 20-year planning horizon. The proposed master–slave methodology uses the Salp Swarm Optimization Algorithm to determine ESS location, technology, and daily operation schemes, combined with a successive approximation power flow to compute the objective function value and enforce constraints. This approach employs a discrete–continuous encoding, reducing processing times and increasing the likelihood of finding the global optimum. Validated on a 33-node test system adapted to Medellín, Colombia, the methodology outperformed five metaheuristic algorithms, achieving the highest annual savings (USD 16,605.77), the lowest average cost (USD 2,964,139.99), and the fastest processing time (345.71 s). The results demonstrate that the proposed methodology enables network operators to reduce distribution network costs effectively, offering high repeatability, solution quality, and computational efficiency.

1. Introduction

The world is facing critical challenges in the energy sector, driven by the urgency of climate change and the need to ensure energy security and economic stability [1]. This scenario is further compounded by the sustained growth in global energy demand, fueled by technological development and population growth, which imposes significant challenges on conventional power systems. Among these challenges are the need to maintain adequate levels of stability and reliability, reduce power losses in transmission and distribution networks, and mitigate the environmental impacts associated with fossil-fuel-based generation.
In this context, the shift towards renewable energy sources, such as solar and wind, has emerged as a fundamental pillar, not only as an alternative to traditional energy sources but also as a key tool to redefine the relationship between the environment, the economy, and social values [2]. However, this transition also brings inherent challenges, such as the variability and intermittency of these sources, which can compromise the stability and efficiency of power grids. The integration of energy storage technologies (ESSs), particularly battery energy storage systems, has emerged as a strategic solution. These technologies not only enhance the reliability and flexibility of power systems with high renewable penetration but also facilitate a more sustainable energy transition, addressing technical and environmental challenges comprehensively [3].
ESSs stand out for their versatility and capacity to address issues associated with the intermittency of non-conventional renewable energy sources, such as photovoltaic solar (PV) plants and wind power plants (WPPs), whose generation depends on weather conditions, which are unpredictable. In this context, these systems enable the storage of energy during periods of low demand and high renewable generation availability, allowing it to be released during peak consumption times [4,5,6]. This approach not only enhances the operational efficiency of the electrical system but also contributes to cost reduction by minimizing reliance on fast-response fossil fuel generation units [7].
In terms of ancillary services, ESSs offer a wide range of functionalities, including frequency regulation [8,9,10,11], voltage control [8,12], and operating reserves. These features are essential for maintaining the quality and continuity of electricity supply, particularly in systems with high penetration of distributed energy resources. Additionally, the ability of ESS to respond almost instantaneously to load and generation fluctuations makes them a strategic tool for ensuring the dynamic stability of the system [13,14].
Several researchers have explored battery energy storage systems (ESSs), focusing on optimization, control, and forecasting techniques to enhance performance, economic viability, and integration into energy systems. A reinforcement learning (RL)-based model employing Q-learning with an epsilon-greedy strategy optimizes charging and discharging decisions under uncertain market conditions, ensuring superior economic returns, adaptability, and battery longevity [15]. Additionally, a risk-preference-based optimization model utilizing Conditional Value-at-Risk (CVaR) evaluates ESS investments, balancing risk and return to tailor strategies based on battery types and economic profiles [16].
ESS integration into smart grids is exemplified by a Model Predictive Control (MPC) framework that achieves peak shaving under time-varying loads, reducing peak electricity demand and operational costs, emphasizing the financial viability of PV-ESS systems [17]. A Set-point Frequency Control (SFC) strategy enhances grid stability and reduces balancing costs in high-renewable scenarios, outperforming conventional methods like Maximum Power Point Tracking (MPPT) [18]. Further innovations include an adaptive multi-functional strategy managing active/reactive power, voltage, and frequency in microgrids, dynamically adjusting power-sharing and state-of-charge (SoC) balancing [19]. A PI+R control scheme enhances economic dispatch in isolated ESS networks by integrating a reset mechanism, improving convergence speed, stability, and robustness [20].
Forecasting techniques are pivotal for optimizing ESS performance. A probabilistic model combining Multi-Attention Recurrent Neural Networks (MARNNs), Mixture Density Networks (MDNs), and Monte Carlo Dropout (MCD) accurately predicts state-of-charge (SOC) under Primary Frequency Control (PFC), enhancing decision-making reliability across diverse European regions [21]. Similarly, a two-level control framework integrates day-ahead and hour-ahead planning for ESS and photovoltaic (PV) systems, employing chance-constrained optimization to manage uncertainties in PV generation and frequency regulation [22]. Another model for islanded microgrids integrates multi-functional control, enabling ESS participation in ancillary services markets, improving stability, voltage regulation, and load compensation [23].
Computationally efficient optimization approaches for ESS management in prosumer networks, Renewable Energy Communities (RECs), and microgrids demonstrate economic and scalability benefits. A rule-based scheduling algorithm for low-voltage PV-ESS networks achieves comparable economic gains to linear programming (LP) while reducing computational time by a factor of 30, proving effective for large-scale REC applications [24].
Techno-economic assessments of ESS integration across residential, industrial, and renewable applications highlight key viability challenges and opportunities. Residential studies emphasize profitability constraints due to ESS costs and electricity pricing, particularly in the Netherlands, with dynamic pricing and net metering (NM) phase-out scenarios [25]; globally, subsidies or high generation–demand concurrence are necessary for feasibility [26]. Advanced tools like PVBT incorporate degradation models and optimization to assess ESS economic viability [27]. Industrial applications explore value stacking, achieving over 136% financial returns compared to single-use cases [28]. A 500 kW/1065 kWh ESS in Taiwan demonstrates behind-the-meter (BTM) economic feasibility via energy arbitrage and peak shaving, with a discounted payback period of 8.37 years [29]. ESS also enhances wind farm performance in Thailand, reducing feeder trips and increasing energy output with an internal rate of return (IRR) of 7.74% [30]. A hybrid system integrating renewable energy, carbon capture, utilization, and storage (CCUS) achieves a 59.78% reduction in carbon emissions with positive net present value (NPV) [31].
Mixed-integer linear programming (MILP) optimizations refine REC configurations by integrating solar PV and ESS, using two-stage stochastic optimization and unsupervised clustering to address uncertainties in generation and consumption. Peer-to-peer (P2P) energy exchange improves fairness and cost-effectiveness, validated through real-world data [32].
ESS applications also enhance grid reliability and address technical challenges in transmission and distribution networks. In Brazil, ESS mitigates congestion and supports variable renewable energy (VRE) integration, optimizing power flow across regions; high costs remain a challenge, with “revenue stacking” proposed for economic viability [33]. A fixed-flexible ESS allocation scheme for wind-integrated networks combines lithium-ion and vanadium redox flow batteries, reducing wind spillage, voltage deviations, and operational costs [34]. Frequency stability improvements are achieved through an MILP model incorporating transient frequency deviation and rate of change of frequency (RoCoF) constraints, highlighting the need for larger ESS capacities in islanded microgrids due to grid support limitations [35]. Additionally, a voltage-security-constrained stochastic programming model (VSC-SOBA) optimizes day-ahead ESS scheduling, enhancing voltage stability and grid reliability through active/reactive power capabilities [36].
Hybrid Energy Storage Systems (HESSs) improve energy reliability in Integrated Energy Systems (IESs) by combining batteries, super-capacitors, flywheels, and hydrogen storage. A comprehensive review of HESS architectures and control methods illustrates their role in enhancing efficiency, lifespan, and power management in microgrids and renewable energy systems [37]. Table 1 presents a classification of the reviewed literature on ESSs, categorizing citations based on key research areas.
A critical gap in the existing literature is the lack of simultaneous optimization of ESS location, technology selection, and operation while considering the radial nature of distribution networks and associated investment, maintenance, and replacement costs [38]. To address this, an integrated mathematical formulation is proposed, incorporating these three dimensions within AC microgrids with radial topology. The approach optimizes economic performance and reduces operational costs in high-renewable penetration scenarios. The methodological innovations that can be implemented to achieve these goals include the following:
  • Master–slave methodology with discrete–continuous coding: A master–slave optimization strategy is proposed where the master stage determines the ESS location, technology selection, and operation under varying generation and demand conditions using a discrete–continuous coding vector; the slave stage is responsible for determining the numerical value of the objective function and ensuring compliance with the set of constraints.
  • Mathematical model with complex variables: A comprehensive model using complex variables is developed to accurately represent ESS integration and operation. It accounts for investment, maintenance, and replacement costs while incorporating key technical constraints, such as voltage limits, conductor capacities, and ESS charge–discharge cycles.
  • Performance improvement over existing methods: The proposed methodology outperforms previously reported approaches in both operational cost reduction and computational efficiency. These improvements stem from the use of advanced optimization techniques, including genetic algorithms, particle swarm optimization, and vortex search, along with efficient parallel processing strategies.
In this paper, the master stage is based on the Salp Swarm Optimization Algorithm and focuses on strategic decision making, including the selection of ESS locations, technologies, and daily operation schemes using a discrete–continuous coding vector. On the other hand, the slave stage employs the successive approximations power flow method in its hourly version to evaluate the total annual operating costs of active distribution networks under variable power consumption and renewable energy generation conditions. At the same time, the slave stage ensures compliance with each of the mathematical model constraints through an adaptation function. To accurately model the system, a mathematical formulation based on complex variables is developed, incorporating technical and economic constraints such as investment, maintenance, and replacement costs, voltage limits, and conductor capacities. The following sections detail the mathematical model, the optimization framework, and the computational implementation of the proposed methodology.
The remainder of this document is structured as follows: Section 2 provides the mathematical formulation, including the objective function and problem constraints. Section 3 describes the proposed master–slave methodology to address the location, technological selection, and the operation of the ESS. Section 4 outlines the test feeders and details the test system used to validate the proposed methodology. Section 5 presents the numerical results, highlighting the main findings from applying the proposed methodology. Finally, Section 6 discusses the conclusions, limitations, and potential directions for future work.

2. Mathematical Formulation

Integrating ESSs into active distribution networks requires optimal location selection, technology choice, and power dispatch planning over a daily operational scenario [38]. Active networks include distributed generation (DG) from renewables, aiming to enhance performance and stability. This problem is modeled using mixed-integer nonlinear programming (MINLP), with binary variables for ESS location and technology and continuous ones for ESS operation. Constraints like power flow, ESS state of charge, and time-coupled behavior make the solution space nonlinear and nonconvex [39]. The formulation in complex variables offers a precise and compact representation of voltages, currents, and power in phasor form, avoiding the separation of real and imaginary components required by Cartesian models [40]. The mathematical model is based on the model presented in [38].

2.1. Objective Function

The objective of integrating ESS into active distribution networks is to minimize total annual operational costs (Equation (1)). These include energy purchase costs at the substation, ESS and DG operation and maintenance, ESS initial investment, and replacement costs at the end of its useful life, as modeled in Equations (2)–(5).
min Z = Z 1 + Z 2 + Z 3 + Z 4 ,
Z 1 = C k W h T i a 1 ( 1 + i a ) N t t T 1 + i e 1 + i a t Re h H k N S k , h c g Δ t ,
Z 2 = C O & M b T Re h H k N S k , h b Δ t + C O & M d g T Re h H k N S k , h d g Δ t ,
Z 3 = C b a t i a 1 ( 1 + i a ) N t k N E k b ,
Z 4 = C b a t i a 1 ( 1 + i a ) N t k N r N E k b 1 + i a N k , r b L k b ,
being,
N k , r b = c e i l N t L k b 1 ,
Table 2 presents the definitions of the variables used in the cost function, including their descriptions and relevant parameters.

2.2. Set of Constraints

ESS integration in active distribution networks is modeled with constraints representing operational conditions, including complex power balance, voltage regulation, conductor thermal limits, ESS power absorption/injection limits, and state of charge [41]. The constraints are detailed below.
The equality constraint (6) represents the complex power balance for each node in the system during each time period.
S k , h c g ± b B S k , h b + S k , h d g S k , h d = V k , h j N Y k j V j , h * , k N , h H ,
Here, S k , h d represents the complex power demand at node k during time h. ESS complex power affects power flow positively (injection) or negatively (absorption). V i and V j are the complex voltages at nodes k and j during h, respectively. Y k j is the admittance matrix element connecting nodes k and j. B denotes the set of available ESS technologies.
Equality constraint (7) states that ESS can only inject or absorb active power.
Im ( S k , h b ) = 0 , k N , h H ,
Equality constraint (8) establishes that the relationship between the state of charge of a ESS and its power, whether absorbed or injected, is modeled linearly through a charge–discharge coefficient, as shown in [42].
S o C k , h b = S o C k , h 1 b ϕ k b S k , h b Δ t , k N , h H , b B ,
where S o C k , h b is the state of charge of a ESS located at node k during time period h, and ϕ k b is the charge–discharge coefficient of a ESS located at node k.
On the other hand, equality constraint (9) allows the calculation of the charge–discharge coefficient of an ESS located at node k based on its nominal capacity.
ϕ k b = y k b 1 E k b , k N , h H , b B ,
where y k b is the binary decision variable that determines the node k where the ESS is located and the most suitable technology for that ESS.
Equality constraints (10) and (11) allow the user (in this case, the network operator) to define whether the ESS located at node k starts and ends with a predefined state of charge. Setting the initial state of charge provides a starting point for constraint (8).
S o C k , 0 b = y k b S o C k b , initial , k N , b B
S o C k , 24 b = y k b S o C k b , final , k N , b B
On the other hand, inequality constraint (12) ensures the substation cannot absorb power from the network. The operator can only sell power to users, not purchase it. As the slack node, the substation can generate unlimited power to balance the system.
S k , h c g 0 , k N , h H ,
Box-type constraint (13) defines the maximum charging power that the ESS can reach when charging (absorbing power from the system) and the maximum discharging power that the ESS can reach when discharging (injecting power into the system).
y k b P k b , c h a r Re ( S k , h b ) y k b P k b , d i s c h , k N , h H ,
Here, P k b , c h a r and P k b , d i s c h are the maximum charging and discharging power associated with each ESS located at node k.
To calculate the maximum charging and discharging power of each ESS, equality constraints (14) and (15) are used, which depend on the ESS capacity and the charging and discharging intervals associated with each technology.
P k b , c h a r = E k b c t k b , k N , b B
P k b , d i s c h = E k b d t k b , k N , b B
where c t k b and d t k b are the charging and discharging time intervals of an ESS located at node k.
The box-type constraint (16) defines the voltage regulation limits for all nodes in the distribution system.
V k min | V k , h | V k max , k N , h H ,
where V k min and V k max are the lower and upper limits that the system nodes can take.
The inequality constraint (17) ensures that the maximum current of the conductors installed in the distribution system is not exceeded at any time period.
| I k j , h | I k j max , k N , h H ,
where I k j max is the maximum current that a distribution line connecting node k to node j can withstand. In this context, the current of each conductor I k j , h can be calculated using equality constraint (18).
I k j , h = Y k j V k , h V j , h , k N , h H ,
On the other hand, the box-type constraint (19) allows us to limit the state of charge of an ESS located at node k between a minimum and a maximum value.
y k b S o C k b , min S o C k , h b y k b S o C k b , max , k N , b B , h H
where S o C k b , min and S o C k b , max represent the minimum and maximum state of charge defined by the network operator for an ESS located at node k.
The inequality constraint (20) ensures that the mathematical model respects the maximum number of ESSs that can be installed within the distribution system, while the inequality constraint (21) ensures that the mathematical model selects no more than one type of technology per ESS.
k N b B y k b b B N b a v a ,
b B y k b 1 ,
Here, N b a v a is a parameter that defines the maximum number of ESS available for installation.
y k b 0 , 1 , k N , b B
Finally, constraint (22) states that the decision variable y k b must be a binary variable.
The mathematical model presented in Equations (1)–(22) is complex from an optimization perspective due to several factors. Nonlinearities and nonconvexities arise from power balance constraints, while binary variables for location and technology selection discretize the solution space, further contributing to its nonconvexity. Continuous variables for ESS operation add complexity by creating infinitely many possible combinations. Additionally, constraints such as the temporal coupling of the ESS state of charge, limits on maximum and minimum charge levels, initial and final state-of-charge conditions, power injection and absorption limits, and the estimation of the ESS useful life impose further restrictions on the solution space.
These factors decrease the likelihood of finding the optimal solution to the mathematical model, often resulting in multiple local solutions that satisfy the constraints. To address this complexity, metaheuristic methods are applied, as they require less intricate mathematical formulations and reduce computation times [43,44]. Specifically, the master–slave methodology is used to decompose the problem into manageable subproblems, streamlining optimization [45,46]. In this investigation, the master stage determines the ESS location, technology, and operation, while the slave stage evaluates the objective function and ensures constraint compliance.

2.3. Estimation of Useful Life

As shown in Equation (4), the estimation of useful life is a key parameter in determining the objective function value. This is achieved using a model based on Wöhler curves, which estimates ESS lifespan by accounting for fatigue caused by charge and discharge cycles [47,48]. For ESS, the model relates the depth of discharge ( D O D ) to the number of cycles that the ESS can perform before reaching its end-of-life stage, illustrating how cycle count decreases as D O D increases. To analyze D O D events in the S o C profile, the Rainflow algorithm is employed to identify and categorize cycles by amplitude and duration [49,50]. The model then provides a mathematical expression (Equation (23)) to calculate lifespan reduction based on the number of full cycles at a given i D O D event [51].
L L i = N E i N E i max
where L L i represents the decrease in the lifespan of an ESS due to the occurrence of an event, i. N E i represents the number of i events an ESS can withstand and N E i max represents the number of occurrences counted for an event, i. The maximum number of events, N E i max , at each DOD was derived from the Wöhler curve of the ESS under consideration. In this case, lithium-ion-based ESSs are analyzed, using the Wöhler curve parameterized by Equation (24) [38].
N E i max ( D O D ) = 60 , 505.04 e 0.0790 D O D + 27 , 629.56 e 0.0232 D O D
Therefore, for all possible D O D events, i.e., for i within the range of 0–100%, the loss of useful life is represented as the summation of all possible i-events occurring during the analysis period, as shown in Equation (25) [51].
L L = i I L L i
In this way, it is possible to determine the useful life reduction in an ESS based on the fatigue caused by its daily operation ( S o C profile). Accordingly, and considering the ESS daily operation profile, its useful life is calculated as shown in Equation (26) [51].
L k = 1 T L L

3. Proposed Methodology

This document presents a master–slave methodology to address the location, technological selection, and operation of ESS in active distribution networks with high penetration of renewable distributed generation. The problem is modeled as a MINLP (Section 2), where binary variables define the location and technology of the ESS, and continuous variables represent their daily operation. Unlike the methodology presented in [38], this study employs a discrete–continuous coding vector in the master stage using the Salp Swarm Algorithm (SSA) [52] to simultaneously determine the locations, technologies, and initial operation schemes of the ESS. The slave stage uses the successive approximation power flow method to evaluate the objective function [38], which minimizes the total system costs (energy purchase, operation and maintenance, initial investment, and replacement) and verifies compliance with technical and operational constraints. The interaction between both stages is shown in Figure 1.
Figure 1 illustrates the master–slave approach used in this article, designed to efficiently integrate and operate ESS in active distribution networks. In this framework, the master stage is responsible for high-level decision making, such as determining the location and selecting the technology of battery systems, as well as defining their daily operation scheme. These decisions, represented by variables such as the selected installation nodes and the type of battery used (binary variable y k b ), along with the state of charge ( S o C ) of the ESS (continuous variable), form a candidate solution that is subsequently evaluated in the slave stage. This candidate solution is generated by the SSA algorithm.
In the slave stage, the candidate solution is assessed against the network’s technical and economic constraints. This evaluation involves calculating the total annual cost—including energy purchase costs, investment, maintenance, and replacement expenses—and verifying compliance with constraints such as power balance at all nodes, voltage limits, and conductor capacity, among others. To achieve this, key variables are determined, including the power generated at the substation node, S k , h c g , the power absorbed or injected by the ESS, S k , h b , the voltage at all system nodes, V k , h , and the current flowing through each distribution line, I k j , h . The calculation of these electrical variables is performed using the successive approximations power flow method.
It is important to clarify that the remaining variables in the mathematical model are constant parameters that enable the calculation of the objective function and the evaluation of constraints. This information can be found in Section 4.
As shown in Figure 1, each part of the process is linked to specific mathematical expressions, demonstrating how the total cost objective function (Z) is computed and how the battery lifetime ( L k ) is incorporated into the cost model. Through iterative exchanges between these two stages, the methodology refines the solution, ensuring that the final set of ESS locations, technologies, and operation schemes achieves a balance between technical feasibility and operational cost minimization.
The following sections detail the encoding used to represent the problem, as well as the specific components of each stage of the master–slave methodology.

3.1. Proposed Coding

The discrete–continuous coding, illustrated in Figure 2, efficiently integrates strategic and operational decisions in a single solution, enabling better search space exploration. It ensures effective interaction between discrete (e.g., location, technology) and continuous variables (e.g., daily operation), avoiding inconsistencies and suboptimal solutions common in sequential methods. It avoids the inconsistencies and suboptimal solutions that are typical of sequential methods while enhancing search space exploration, reducing computational time, and ensuring optimization closer to the system’s reality. Furthermore, it minimizes biases between stages and better captures critical interdependencies in complex problems like the planning and operation of electrical systems.
Each candidate solution in Figure 2 is represented by a vector with two main sections. The first, discrete in nature, is divided into two subsections: the first defines the nodes for ESS installation (yellow), where k is a random integer between 2 and the total number of system nodes (n), excluding the generation node as it does not require storage. The second subsection (green) specifies the ESS technology for node k through a random integer c, selected from a predefined set of available technological options ( N t e c h a v a ). Notably, the size of the vectors for location and technology selection depends on the number of ESS available for installation ( N b a v a ).
The second section of the vector (blue), continuous in nature, represents the daily operation of the ESS through their SoC over a 24 h horizon (H). Its size is proportional to the product of the number of installed ESS and the analyzed time periods. Each element corresponds to the SoC of a specific ESS at a given time period (h); for instance, a value of 0.6 indicates the ESS operates at 60% of its capacity during that period. The discrete–continuous coding used in this study is essential for simultaneously addressing strategic and operational decisions related to the location, technology, and operation of ESS. As demonstrated in prior research [53], this approach effectively resolves location and sizing problems for photovoltaic units in electrical networks. By integrating the selection of location, technology, and operation into a single vector, the proposed coding enhances search space exploration and reduces processing time, improving the SSA algorithm’s ability to find globally optimal solutions while managing the system’s technical and operational constraints.

3.2. Master Stage: Salp Swarm Algorithm

The SSA is a bio-inspired optimization technique modeled after the coordinated feeding and movement behaviors of salps, gelatinous marine organisms that form chains to enhance their efficiency in searching for food [52,54]. These organisms are characterized by their transparent bodies, composed primarily of water and acidic mucopolysaccharides [55]. SSA, first introduced in recent years, has been widely applied to solve complex combinatorial and continuous optimization problems, demonstrating effectiveness in areas such as the optimal placement and sizing of renewable energy systems [56,57,58,59].
The step-by-step process used to solve the problem of ESS location, technology selection, and operation in active distribution networks is detailed below. Readers are encouraged to review the original reference for a deeper understanding of the mathematical formulation of the algorithm [52].
  • Initialization of the population: The algorithm begins by randomly generating an initial population of candidate solutions, where each solution represents a potential configuration of ESS placement, technology, and operation.Each candidate is encoded as shown in Figure 2.
  • Objective function evaluation: Each candidate solution is evaluated using the objective function, which accounts for the total system costs, including energy purchase, ESS integration, maintenance, and replacement costs. The evaluation results are organized with the best-performing solution identified as the leader of the salp chain and the worst solution as the tail of the chain. It is important to note that, once the SSA determines the location, technology, and daily operation of the ESS, this configuration is evaluated using the successive approximation power flow method to calculate the objective function value and ensure compliance with the constraints.
  • Leader and follower dynamics: The algorithm iteratively updates the positions of the solutions based on leader–follower dynamics. The leader, representing the best current solution, guides the other candidates (followers) through the solution space. This cooperative movement improves the search for optimal configurations by balancing exploration of new areas and refinement of promising regions.
  • Adaptive movement strategy: To enhance efficiency, the algorithm adjusts its focus between exploration and exploitation as iterations progress. Initially, the algorithm emphasizes exploring the solution space to identify diverse possibilities. Over time, it transitions toward exploitation, refining the most promising solutions for better performance.
  • Convergence criteria: The iterative process continues until one of two stopping criteria is met; here, the maximum number of iterations is reached, or the solution shows no improvement over a predefined number of consecutive iterations. This prevents unnecessary computation and ensures the algorithm terminates efficiently.
    The parameters used in this study are as follows:
    Maximum number of individuals (salps): 62.
    Maximum number of iterations: 1000.
    Maximum number of non-improvement iterations: 250.
In this way, the SSA optimally selects the locations, technologies, and daily operations of the ESS within the active distribution network, achieving the lowest total system costs.

3.3. Slave Stage: Matrix Successive Approximations

The slave stage of the proposed methodology applies a matrix-based successive approximation (MSA) approach, first introduced by [60], to reduce computation times and iterations needed to evaluate the impact of ESS location, technology, and operation on the system’s annual operational cost. This approach adapts the recursive power flow formula from previous studies [38], incorporating variations in generation and demand over time.
The successive approximation formula for power flow can be adapted to the context of this study, as follows:
V d h t + 1 = Y d d 1 ( 1 V d h t , * ) ( S d h * S p v h * S b h * ) + Y d s V s h ,
where V d h t + 1 represents the voltage at the demand in hour, h, while Y d d 1 is the inverse of the admittance matrix of the demand nodes, describing their interactions. The term 1 V d h t , * ) denotes the element-wise division of the voltage from the previous iteration. S d h * represents the complex power demanded at the network nodes during time period, h, S p v h * corresponds to the power generated by photovoltaic generators, and S b h * ) is the power injected or absorbed by the ESS in the same period. The matrix Y d s describes the admittance connecting the demand nodes to the substation, and V s h is the voltage at the substation node during time period, h, generally assumed to be 1 0 for power flow purposes. This iterative process continues until the maximum voltage difference between two consecutive iterations falls below a predefined error threshold.
Once met, the system’s objective function (Equation (1)) is evaluated. Finally, a penalized fitness function ensures compliance with operational constraints, as shown below. Non-compliant solutions are penalized, adjusting their objective function value. This combined use of matrix-based successive approximations and simultaneous evaluations facilitates rapid and efficient assessment of ESS configurations, enabling the methodology to identify globally optimal solutions while meeting technical and operational constraints.
F i t n e s s = Z + β max 0 , V k , h V k max min 0 , V k , h V k min min 0 , S k , h c g S i c g , min + max 0 , I k j , h I k j max + max 0 , S o C k , h b S o C k b , max min 0 , S o C k , h b S o C k b , min ,
where F i t n e s s represents the value of the adaptation function, and β is the penalty factor; for this case, it was heuristically selected with a value of 1 × 10 5 .

4. Test Feeder

This section details the test system used to validate the proposed methodology. The method was implemented on a widely recognized test system selected from specialized literature (i.e., the 33-node system [61]). This system has been previously validated and utilized by other authors for similar problems involving ESS integration and operation [62,63,64,65].
The 33-node test system is characterized by operating at a nominal voltage of 12.66 kV and having an installed capacity of 3715 kW and 2300 kVAr. In this case study, to highlight the advantages and benefits of ESS, three photovoltaic solar generators are included, located at nodes 13 (1125 kW nominal power), 25 (1320 kW nominal power), and 30 (999 kW nominal power), as shown in Figure 3. It is important to note that the location and size of the renewable generators are based on [66].
For this case study, three ESS units will be installed in the test system, with the option to select among three different types of ESSs, as shown in Figure 3. To illustrate this graphically, the available ESS types include: Type A (orange), which has a nominal capacity of 1000 kWh and a charging–discharging time of 4 h; Type B (green), with a nominal capacity of 1500 kWh and a charging–discharging time of 4 h; and Type C (blue), with a nominal capacity of 2000 kWh and a charging–discharging time of 5 h [38].
The selection of these technologies is based on previous studies reported in the specialized literature, highlighting their advantages in terms of efficiency, charging–discharging time, and nominal capacity—fundamental parameters for optimizing energy storage integration in active networks [67].
From a technical perspective, the nominal capacity and charging–discharging times of ESS significantly influence their operation. Higher nominal capacities allow for greater energy storage, making them crucial for meeting higher energy demands or sustaining energy supply over longer periods. Conversely, shorter charging and discharging times enable a higher frequency of cycles within the same time frame. These operational characteristics are mathematically represented in Equations (9), (14) and (16). Adjusting the charging–discharging coefficient, along with the maximum and minimum power limits of the batteries, directly affects the SoC and, consequently, the system’s power balance.
The choice of these technologies allows for the analysis of different operational configurations and their impact on system stability and costs, ensuring that the optimization model considers realistic alternatives that are well-documented in the literature.
On the other hand, it is important to highlight that this study is contextualized within the climatic and demand conditions of Medellín, the second most populous city in Colombia. The temporal curves used to simulate variations in load, price, and solar generation are shown in Figure 4 [38].
Similarly, the information listed in Table 3 was used to determine the objective function value and ensure compliance with the constraints of the mathematical model [38].

5. Numerical Results and Discussions

This section presents the main results obtained from applying the proposed methodology. The numerical results were generated using simulations implemented in MATLAB, version R2022a. All simulations were performed on a workstation with a 12th Gen Intel Core i7-12700T CPU @ 1.40 GHz and 32 GB RAM, running on 64-bit Windows 11 Pro. These computational resources provided efficient processing and accurate simulation outputs.
To evaluate the effectiveness of the proposed methodology, it was compared against five approaches that also integrate metaheuristic algorithms. Some of these methodologies have been previously used to address the problem of ESS integration and operation in active distribution networks [38]. These approaches employ a metaheuristic algorithm in the master stage combined with the vortex search algorithm (VSA) in the slave stage: specifically, the discrete version of particle swarm optimization (DPSO), the discrete Monte Carlo method (DMCM), the discrete version of the Chu–Beasley genetic algorithm (DCBGA), the discrete version of the multi-verse optimizer (DMVO), and the discrete version of the population-based incremental learning approach (DPBIL).
It is worth noting that the previously used algorithms are also based on the master–slave methodology, with the main difference being the use of two metaheuristic algorithms. The first is responsible for solving the location and technology selection problem (discrete encoding), while the second addresses the ESS operation problem (continuous encoding). In contrast, this document implements a single metaheuristic algorithm with a discrete–continuous encoding approach, allowing these two problems to be addressed jointly rather than separately, as has been performed in previous approaches.

5.1. Main Numerical Results

Table 4 shows the numerical values found by applying the proposed approach in the 33-node test system. The table presents the numerical results for the optimization of ESS location, technology selection, and annual cost reduction in a 33-node test system. The baseline case, with no ESS installed, yields an annual cost of USD 2,979,065.61 per year, serving as a reference for evaluating the other methodologies.
The numerical results for each methodology applied to the test system reveal the following:
  • Each proposed methodology, incorporating ESS installation, achieves cost reductions ranging from USD 12,158.37 per year (DMCM-VSA) to USD 16,605.77 per year (SSA). These results highlight the effectiveness of metaheuristic algorithms in optimizing ESS integration to reduce annual operational costs. However, the SSA methodology achieves the lowest objective function value, indicating its superior performance in identifying optimal ESS configurations for the network.
  • SSA delivers the highest reduction (USD 16,605.77 per year), followed by DMVO-VSA (USD 14,138.23 per year) and DPBIL-VSA (USD 13,681.24 per year); meanwhile, DMCM-VSA shows the lowest reduction (USD 12,158.37 per year). These differences are primarily due to the appropriate location and technology selection of the various ESS, as well as their operational strategies. The SSA demonstrates superior optimization of decision variables, resulting in the lowest total annual costs. The results emphasize SSA’s effectiveness in reducing annual costs and its potential as the most cost-efficient solution for the test system.
  • Nodes 2, 5, and 27 are consistently selected across methodologies, underscoring their strategic importance within the network. These nodes experience high power demand as they are either nodes where the system branches or where there is more downstream load, making them ideal for ESS installation to improve stability and reduce total costs. Additionally, their proximity to solar generators at nodes 13, 25, and 30 could play a role, as ESS can help store excess solar generation and balance supply and demand.
  • Type C ESS (2000 kWh) is predominantly chosen due to its larger capacity and five-hour charging–discharging times, which likely align more effectively with the network’s energy demands and operational requirements. This technology provide greater flexibility in smoothing load profiles, supporting renewable integration, and reducing annual costs.
It is important to note that the difference in objective function values between DMVO-VSA and SSA arises from the operation of the ESS; while both methodologies select the same locations and technologies, SSA’s operational strategy is more efficient, enabling better utilization of the ESS to balance supply and demand. Consequently, SSA achieves a lower annual cost, demonstrating its superior ability to manage the operational aspects of the ESS. In this context, Figure 5 illustrates the operation defined by the SSA for each ESS to minimize the total costs of the test system.
The figure illustrates how each of the three ESSs (ESS1, ESS2, and ESS3) manages active power flows throughout a 24 h period via the SSA methodology. The x-axis represents time in hours (h), while the y-axis shows the state of charge (SoC) as a percentage. Every ESS follows a distinct strategy—ranging from charging to discharging—aimed at optimizing overall system performance by adjusting the active power exchanged with the grid.
In the early hours (0–4), each ESS rapidly charges, bringing SoC above 90%. This charging phase anticipates high-demand periods later in the day while taking advantage of lower energy prices (under 70%). Between hours 4 and 11, the ESS maintain near-full SoC, thus retaining sufficient active power to address upcoming demand peaks. Beginning at hour 6, solar generation supports the network, enabling the ESS to remain charged until higher load conditions arise.
From hour 11 onward, ESS1 begins discharging to meet rising demand, followed by ESS2 and ESS3 from hour 16 as consumption approaches 85% of nominal capacity. With solar production declining after hour 12, the ESSs play a critical role in active power support, gradually releasing stored energy. By hour 19, all three ESS reach minimum SoC, underscoring their importance in balancing supply and demand during peak times. High energy prices (over 90%) further incentivize reduced purchases at the substation node.
In the final hours (21–24), the ESSs recharge in preparation for the subsequent daily cycle, ensuring readiness for the following operational period. Notably, starting around hour 4, ESS2 and ESS3 show almost identical charge–discharge patterns, largely due to their similar technical characteristics and node conditions; consequently, the SSA algorithm converges on analogous operating schedules for both systems. This coordinated active power management ensures each ESS maximizes its availability when needed most, ultimately minimizing total operating costs.
By orchestrating charging and discharging based on demand, solar availability, and pricing, the SSA-based operation scheme guarantees efficient utilization of stored energy. The staggered deployment of active power prevents simultaneous depletion of the ESS units and amplifies the economic benefits for the network. Overall, these results highlight how the proposed methodology leverages active power flows via strategic ESS operation, leading to substantial cost savings and enhanced system performance.
Similarly, Figure 6 presents the operational state of the 33-node system before and after implementing the solution provided by the SSA approach. This figure illustrates the system’s voltage profiles, showing the minimum and maximum voltage of each node throughout its daily operation.
As shown in Figure 6, the ESS in active distribution networks can influence voltage profiles. This is evidenced in the graph; here, before ESS integration, the system’s minimum voltage occurs at node 16 with a value of 0.9109 p.u.; whereas, after integration, the minimum voltage is observed at node 18 with a value of 0.91260 p.u. The integration of the ESSs improves the system’s voltage profiles while optimizing its operational costs. It is important to mention that ESS can improve the power factor by supplying reactive power when needed. However, according to constraint (3) of the mathematical model, ESS do not supply reactive power; therefore, the system’s power factor remains unaffected. Finally, power converters in the ESSs introduce harmonic distortions into the network due to high-frequency switching. The severity of the harmonics depends on the inverter technology and control schemes used. Higher ESS capacities, requiring larger power converters, may exacerbate harmonic content. To mitigate this, active and passive filtering techniques, as well as optimized switching strategies, can be employed.

5.2. Statistical Analysis

To evaluate the performance of the proposed methodology compared to the methodologies used for benchmarking, each algorithm was executed 100 consecutive times to solve the problem of ESS integration and operation in the 33-node test system. Table 5 presents the numerical results of the optimization methodologies applied to the 33-node test system, summarized in five main columns. The Best Solution (USD) column shows the lowest annual cost achieved by each methodology, while the Average Solution (USD) column provides the mean cost obtained over 100 consecutive evaluations. The Standard Deviation (%) column quantifies the variability of the average results, expressed as a percentage, and the Avg. Time (s) column reports the average computational time required by each methodology to reach a solution.
From Table 5, we can analyze the following:
  • The best solution highlights the SSA method as the most effective, achieving the lowest annual cost (USD 2,962,459.8386/year). This demonstrates its superior capability in minimizing system costs. In comparison, the other methodologies yielded higher costs, with differences ranging from USD 2467.54/year (DMVO-VSA) to USD 4447.40/year (DMCM-VSA).
  • The average solution metric also places SSA as the top performer with the lowest mean cost (USD 2,964,139.9935/year), followed by DMVO-VSA (USD 2,965,728.3329/year) and DPBIL-VSA (USD 2,967,052.4953/year). Methods with higher averages, such as DMC-VSA (USD 2,968,910.9152/year), indicate lower efficiency or consistency in their optimization processes. It is worth noting that the average solution of the SSA surpasses the best solution obtained by the DMVO-VSA (second best), highlighting the consistency and effectiveness of the SSA in delivering high-quality solutions consistently, even across multiple consecutive executions.
  • In terms of standard deviation, PDMVO-VSA exhibits the highest stability with the lowest variability (0.0200%). The SSA method, while having an intermediate value (0.0416%), still maintains a high level of reliability, as this variability does not significantly impact its overall performance.
  • The average computational time metric clearly distinguishes SSA as the fastest method, with a time of just 345.71 s. This efficiency is significantly superior to other methodologies, such as PDSSA-VSA (14,596.47 s) and PDPSO-VSA (9632.24 s), which are much slower. PDMVO-VSA (10,214.38 s) represents a balance between computational efficiency and solution quality, but it cannot match SSA’s performance in either aspect.
The analysis confirms SSA as being the most efficient and reliable methodology, excelling in cost minimization and computational time. The established methodologies, while effective, fall short in comparison to SSA’s superior performance. The results also highlight the advantages of using discrete–continuous encoding methods over cascading methodologies that divide the problem into two independent optimization subproblems. This integrated approach enables the simultaneous handling of ESS location and operation, avoiding the limitations inherent in cascading methodologies, where one subproblem is solved first and then the other. In such cases, the initial solution may condition the second step, increasing the risk of the methodology becoming stuck in local optima and limiting the quality of the final results. In contrast, discrete–continuous encoding methods optimize both stages jointly, improving process efficiency and increasing the likelihood of finding global solutions closer to the optimum.
The proposed methodology has been validated on a 33-node test system, yet its underlying mathematical model and metaheuristic implementation are designed to accommodate larger networks. Since the model presented in Section 2 is independent of specific parametric inputs, it can be adapted to scenarios with more nodes, varied load profiles, and diverse renewable generation portfolios without altering its fundamental structure. However, as the system size increases, computational effort may grow due to the higher dimensionality of the search space. In such cases, parallel processing and efficient initialization strategies can mitigate the increase in computational time. Future work will focus on testing the proposed methodology in distribution systems with over 100 nodes to thoroughly evaluate its scalability and performance under more complex operational conditions.

6. Conclusions, Limitations, and Future Works

This study demonstrates the effectiveness of the proposed methodology, which integrates discrete–continuous encoding, for solving the problem of ESS integration and operation in a 33-node test system. The SSA methodology outperformed all compared approaches, achieving the lowest annual cost (USD 2,962,459.83862/year) and the shortest computational time (345.71 s). The results highlight SSA’s superior ability to optimize both the location and operation of ESSs simultaneously, delivering consistent high-quality solutions.
A key advantage of the SSA approach lies in its ability to address both optimization subproblems—integration and operation—jointly, avoiding the pitfalls of cascading methodologies that risk becoming trapped in local optima. The discrete–continuous encoding further enhances this integration, improving the likelihood of identifying globally optimal solutions and streamlining the optimization process. The results validate the proposed methodology as a robust and computationally efficient solution for ESS integration in active distribution networks, offering a significant contribution to advancing renewable energy systems optimization.
However, the methodology’s performance may vary with larger or more complex systems. Further research could explore its scalability and robustness under different network configurations and renewable energy scenarios. Future work may also include enhancing the algorithm’s encoding and operational strategies to address additional objectives, such as minimizing CO 2 emissions or improving system energy efficiency, while incorporating dynamic energy pricing and grid uncertainties.

Author Contributions

Conceptualization, methodology, software, and writing (review and editing): B.C.-C., S.B.-M., D.L.R.-S., O.D.M. and M.R.-G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Institución Universitaria Pascual Bravo, Proyecto de Investigación “Regulación de frecuencia eléctrica empleando resortes eléctricos en sistemas con alta penetración de energías renovables”, código PCT00036.

Data Availability Statement

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

Acknowledgments

The authors would like to acknowledge Institución Universitaria Pascual Bravo, Proyecto de Investigación “Integración y operación de tecnologías de almacenamiento de energía en sistemas eléctricos con una alta penetración de energía renovable para mejorar los indicadores económicos de la red”, código PCT00057.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

ACAlternating Current
BTMBehind-the-Meter
CCUScarbon capture, utilization, and storage
CVaRConditional Value-at-Risk
ESSsBattery Energy Storage Systems
HESSsHybrid Energy Storage Systems
IESsIntegrated Energy Systems
LPlinear programming
MARNNMulti-Attention Recurrent Neural Network
MCDMonte Carlo Dropout
MDNsMixture Density Networks
MILPMixed-Integer Linear Programming
MPPTMaximum Power Point Tracking
MPCModel Predictive Control
NMNet Metering
P2PPeer-to-Peer
PFCPrimary Frequency Control
PVphotovoltaic
RECsRenewable Energy Communities
RoCoFRate of Change of Frequency
SFCSet-point Frequency Control
SoCstate-of-charge
VREvariable renewable energy
VSC-SOBAvoltage-security-constrained stochastic programming model
Variables
Δ t Time interval during which the electrical variables remain constant (h)
φ k b Charge–discharge coefficient of an EST located at node k
Element-wise division
C b a t Average cost of installing an ESS for 1 kWh of energy (USD/kWh)
C k W h Average energy purchase cost at the substation node (USD/kWh)
C O & M b Average maintenance and operation costs of ESTs (USD/kWh)
C O & M d g Average maintenance and operation costs of DGs (USD/kWh)
c t k b Charging time interval of an EST located at node k (h)
c e i l ( x ) Function that rounds the argument x to the next higher integer
d t k b Discharging time interval of an EST located at node k (h)
E k b Nominal energy of an ESS located at node k (kWh)
i a Expected internal rate of return (%)
i e Annual percent growth of the energy cost (%)
I k j , h Current flowing through the distribution line that interconnects nodes k and j (A)
I k j max Maximum current supported by the distribution line that interconnects nodes
k and j (A)
L k b Estimated lifespan of an ESS located at node k (years)
L L Decrease in the lifespan of an ESS due to the occurrence of all events (cycles)
L L i Decrease in the lifespan of an ESS due to the occurrence of an event i (cycles)
N k , r b Number of times that an ESS is replaced during the planning period
N t   Years of planning horizon (years)
N b a v a   Maximum number of ESTs available for installation
N E i   Number of i events an ESS can withstand
N E i max   Number of occurrences counted for event i
P k b , c h a r   Lower active power limit for an EST connected to node k (kW)
P k b , d i s c h   Upper active power limit for an EST connected to node k (kW)
S k , h b   Complex power generated/consumed by an ESS located at node k in time
  period h (kVA)
S k , h d   Complex power demanded at node k in time period h (kVA)
S k , h d g   Complex power generated by a DG located at node k in time period h (kVA)
S k , h g c   Complex power generated by the substation node connected to node k in time
  period h (kVA)
S o C k , h b   SoC of an EST located at node k in time period h (%)
S o C k b , i n i t i a l   Initial SoC defined for an EST located at node k (%)
S o C k b , f i n a l   Final SoC defined for an EST located at node k (%)
S o C k b , max   Maximum SoC defined for an EST located at node k (%)
S o C k b , min   Minimum SoC defined for an EST located at node k (%)
S b h *   Complex power injected or absorbed by the ESS during time period h (kVA)
S d h *   Complex power demanded at the network nodes during time period h (kVA)
S p v h *   Complex power generated by photovoltaic generators during time period h (kVA)
T  Number of days in a year (days)
V k , h   Voltage magnitude at node k in time period h (kV)
V j , h   Voltage magnitude at node j in time period h (kV)
V k max   Upper voltage limit of node k (kV)
V k min   Lower voltage limit of node k (kV)
V d h t + 1   Voltage at the demand in hour h (kV)
y k b   Binary decision variable responsible for the location and selection of ESTs at node k
V s h   Voltage at the substation node during time period h (kV)
Y k j   Admittance of the line connecting nodes k and j (S)
Y d d 1   Inverse of the admittance matrix of the demand nodes ( Ω )
Y d s   Admittance matrix connecting the demand nodes to the substation (S)
Z  Objective function associated with the total operation costs (USD)
Z 1   Energy purchase costs at the substation node (USD)
Z 2   Operation and maintenance costs of DGs and ESTs (USD)
Z 3   ESS investment costs (USD)
Z 4   ESS replacement costs during the planning horizon (USD)
B   Set containing the ESTs
H   Set containing the time periods in a daily operation scenario
N   Set containing the nodes in the ADN
T   Set containing the years in the planning horizon

References

  1. Hassan, Q.; Viktor, P.; J. Al-Musawi, T.; Mahmood Ali, B.; Algburi, S.; Alzoubi, H.M.; Khudhair Al-Jiboory, A.; Zuhair Sameen, A.; Salman, H.M.; Jaszczur, M. The renewable energy role in the global energy Transformations. Renew. Energy Focus 2024, 48, 100545. [Google Scholar] [CrossRef]
  2. Gielen, D.; Boshell, F.; Saygin, D.; Bazilian, M.D.; Wagner, N.; Gorini, R. The role of renewable energy in the global energy transformation. Energy Strategy Rev. 2019, 24, 38–50. [Google Scholar] [CrossRef]
  3. Alam, M.S.; Al-Ismail, F.S.; Salem, A.; Abido, M.A. High-Level Penetration of Renewable Energy Sources Into Grid Utility: Challenges and Solutions. IEEE Access 2020, 8, 190277–190299. [Google Scholar] [CrossRef]
  4. Reihani, E.; Sepasi, S.; Roose, L.R.; Matsuura, M. Energy management at the distribution grid using a Battery Energy Storage System (BESS). Int. J. Electr. Power Energy Syst. 2016, 77, 337–344. [Google Scholar] [CrossRef]
  5. Yang, Y.; Bremner, S.; Menictas, C.; Kay, M. Modelling and optimal energy management for battery energy storage systems in renewable energy systems: A review. Renew. Sustain. Energy Rev. 2022, 167, 112671. [Google Scholar] [CrossRef]
  6. Talluri, G.; Lozito, G.M.; Grasso, F.; Iturrino Garcia, C.; Luchetta, A. Optimal Battery Energy Storage System Scheduling within Renewable Energy Communities. Energies 2021, 14, 8480. [Google Scholar] [CrossRef]
  7. Maghami, M.R.; Pasupuleti, J.; Ekanayake, J. Energy storage and demand response as hybrid mitigation technique for photovoltaic grid connection: Challenges and future trends. J. Energy Storage 2024, 88, 111680. [Google Scholar] [CrossRef]
  8. Zhang, Y.; Kou, P.; Zhang, Z.; Tian, R.; Yan, Y.; Liang, D. Optimal Sizing and Siting of BESS in High Wind Penetrated Power Systems: A Strategy Considering Frequency and Voltage Control. IEEE Trans. Sustain. Energy 2024, 15, 642–657. [Google Scholar] [CrossRef]
  9. Chen, S.; Zhang, T.; Gooi, H.B.; Masiello, R.D.; Katzenstein, W. Penetration Rate and Effectiveness Studies of Aggregated BESS for Frequency Regulation. IEEE Trans. Smart Grid 2016, 7, 167–177. [Google Scholar] [CrossRef]
  10. Gupta, S.K.; Ghose, T.; Chatterjee, K. Coordinated control of Incentive-Based Demand Response Program and BESS for frequency regulation in low inertia isolated grid. Electr. Power Syst. Res. 2022, 209, 108037. [Google Scholar] [CrossRef]
  11. Rancilio, G.; Bovera, F.; Merlo, M. Revenue stacking for bess: Fast frequency regulation and balancing market participation in italy. Int. Trans. Electr. Energy Syst. 2022, 2022, 1894003. [Google Scholar] [CrossRef]
  12. Kang, W.; Chen, M.; Guan, Y.; Wei, B.; Vasquez, Q.J.C.; Guerrero , J.M. Event-triggered distributed voltage regulation by heterogeneous BESS in low-voltage distribution networks. Appl. Energy 2022, 312, 118597. [Google Scholar] [CrossRef]
  13. Satapathy, P.; Dhar, S.; Dash, P. Stability improvement of pv-bess diesel generator-based microgrid with a new modified harmony search-based hybrid firefly algorithm. IET Renew. Power Gener. 2017, 11, 566–577. [Google Scholar] [CrossRef]
  14. Jannesar, M.R.; Sadr, S.; Savaghebi, M. Optimal sitting, sizing and control of battery energy storage to enhance dynamic stability of low-inertia grids. IET Renew. Power Gener. 2024, 18, 2925–2941. [Google Scholar] [CrossRef]
  15. Liu, Y.; Lu, Q.; Yu, Z.; Chen, Y.; Yang, Y. Reinforcement Learning-Enhanced Adaptive Scheduling of Battery Energy Storage Systems in Energy Markets. Energies 2024, 17, 5425. [Google Scholar] [CrossRef]
  16. Gao, J.; Sun, Y.; Su, X. A Risk Preference-Based Optimization Model for User-Side Energy Storage System Configuration from the Investor’s Perspective. Electricity 2025, 6, 3. [Google Scholar] [CrossRef]
  17. Bhushan, M.A.S.; Sudhakaran, M.; Dasarathan, S.; E, M. Integration of a Heterogeneous Battery Energy Storage System into the Puducherry Smart Grid with Time-Varying Loads. Energies 2025, 18, 428. [Google Scholar] [CrossRef]
  18. Shobayo, L.O.; Dao, C.D. Smart Integration of Renewable Energy Sources Employing Setpoint Frequency Control—An Analysis on the Grid Cost of Balancing. Sustainability 2024, 16, 9906. [Google Scholar] [CrossRef]
  19. Rostami, S.M.; Hamzeh, M. An Adaptive Multi-Functional Control Strategy for Power Management and Voltage-Frequency Regulation of PV, BESS, and Hybrid Units in a Microgrid. IEEE Trans. Smart Grid 2024, 15, 3446–3458. [Google Scholar] [CrossRef]
  20. Zhang, Y.; Liu, Z.; Chen, Z. A PI+R Control Scheme Based on Multi-Agent Systems for Economic Dispatch in Isolated BESSs. IEEE/CAA J. Autom. Sin. 2024, 11, 2154–2165. [Google Scholar] [CrossRef]
  21. Mashlakov, A.; Lensu, L.; Kaarna, A.; Tikka, V.; Honkapuro, S. Probabilistic Forecasting of Battery Energy Storage State-of-Charge under Primary Frequency Control. IEEE J. Sel. Areas Commun. 2020, 38, 96–107. [Google Scholar] [CrossRef]
  22. Conte, F.; Massucco, S.; Schiapparelli, G.P.; Silvestro, F. Day-Ahead and Intra-Day Planning of Integrated BESS-PV Systems Providing Frequency Regulation. IEEE Trans. Sustain. Energy 2020, 11, 1797–1806. [Google Scholar] [CrossRef]
  23. Ghafouri, S.; Gharehpetian, G.B.; Naderi, M.S.; Mahdavi, M.S. An Integrated Multi-Function Control Scheme for Independent BESS in Islanded Synchronous Generator-Based Microgrids. IEEE Trans. Ind. Inform. 2024, 20, 13232–13239. [Google Scholar] [CrossRef]
  24. Becchi, L.; Belloni, E.; Bindi, M.; Intravaia, M.; Grasso, F.; Lozito, G.M.; Piccirilli, M.C. A Computationally Efficient Rule-Based Scheduling Algorithm for Battery Energy Storage Systems. Sustainability 2024, 16, 10313. [Google Scholar] [CrossRef]
  25. Dam, M.R.; van der Laan, M.D. Techno-Economic Assessment of Battery Systems for PV-Equipped Households with Dynamic Contracts: A Case Study of The Netherlands. Energies 2024, 17, 2991. [Google Scholar] [CrossRef]
  26. Ahmad, A.S.; Chattopadhyay, S.K.; Panigrahi, B.K. A Quantitative Assessment of the Economic Viability of Photovoltaic Battery Energy Storage Systems. Energies 2024, 17, 6279. [Google Scholar] [CrossRef]
  27. Mohamed, A.A.R.; Best, R.J.; Liu, X.; Morrow, D.J. A Comprehensive Robust Techno-Economic Analysis and Sizing Tool for the Small-Scale PV and BESS. IEEE Trans. Energy Convers. 2022, 37, 560–572. [Google Scholar] [CrossRef]
  28. Wang, Y.; Johnson, A.; Markham, P.N.; Warchol, G.J.; Li, X.; Yao, W.; Ju, W.; Xu, Y. Value Stacking of a Customer-Sited BESS for Distribution Grid Support: A Utility Case. IEEE Trans. Power Syst. 2024, 39, 6795–6806. [Google Scholar] [CrossRef]
  29. Tsai, C.T.; Ocampo, E.M.; Beza, T.M.; Kuo, C.C. Techno-Economic and Sizing Analysis of Battery Energy Storage System for Behind-the-Meter Application. IEEE Access 2020, 8, 203734–203746. [Google Scholar] [CrossRef]
  30. Ngoenmeesri, R.; Chindaruksa, S.; Wangkeeree, R.; Sirisamphanwong, C. Performance Evaluation of Thailand’s 8 MW Wind Farm Feeder Trip, Energy Generation, and Loss Using 5 MWh BESS—A Statistical and Economic Approach. IEEE Access 2024, 12, 73620–73632. [Google Scholar] [CrossRef]
  31. Yang, L.; Wu, X.; Huang, B.; Li, Z. Sustainable Industrial Energy Supply Systems with Integrated Renewable Energy, CCUS, and Energy Storage: A Comprehensive Evaluation. Sustainability 2025, 17, 712. [Google Scholar] [CrossRef]
  32. Budin, L.; Delimar, M. Renewable Energy Community Sizing Based on Stochastic Optimization and Unsupervised Clustering. Sustainability 2025, 17, 600. [Google Scholar] [CrossRef]
  33. Falcão, D.M.; Tao, S.; Taranto, G.N.; Parreiras, T.J.M.A.; Bento, M.E.C.; Huanca, D.H.; Muzitano, H.; Esmeraldo, P.; Lima, P.; Monteath, L.; et al. Case Studies of Battery Energy Storage System Applications in the Brazilian Transmission System. Energies 2024, 17, 5678. [Google Scholar] [CrossRef]
  34. Padhee, M.; Pal, A.; Mishra, C.; Vance, K.A. A Fixed-Flexible BESS Allocation Scheme for Transmission Networks Considering Uncertainties. IEEE Trans. Sustain. Energy 2020, 11, 1883–1897. [Google Scholar] [CrossRef]
  35. Javadi, M.; Gong, Y.; Chung, C.Y. Frequency Stability Constrained BESS Sizing Model for Microgrids. IEEE Trans. Power Syst. 2024, 39, 2866–2878. [Google Scholar] [CrossRef]
  36. Mohseni-Bonab, S.M.; Kamwa, I.; Moeini, A.; Rabiee, A. Voltage Security Constrained Stochastic Programming Model for Day-Ahead BESS Schedule in Co-Optimization of T & D Systems. IEEE Trans. Sustain. Energy 2020, 11, 391–404. [Google Scholar] [CrossRef]
  37. Ihammouchen, S.; Ziane, D.; Oubelaid, A.; Rekioua, T.; Rekioua, D.; Bajaj, M.; Ansari, M.F.; Barik, R.K. Topologies, Control, and Future Prospects of Hybrid Energy Storage Systems. In Proceedings of the 2023 1st International Conference on Circuits, Power and Intelligent Systems (CCPIS), Bhubaneswar, India, 1–3 September 2023; pp. 1–6. [Google Scholar] [CrossRef]
  38. Cortés-Caicedo, B.; Grisales-Noreña, L.F.; Montoya, O.D.; Bolaños, R.I. Minimizing the annual costs in AC distribution microgrids through optimal BESS location, selection, and operation using a hybrid approach. J. Energy Storage 2024, 84, 110894. [Google Scholar] [CrossRef]
  39. Yang, F.; Dong, X.; Ma, F.; Wang, R. Power Flow Optimization Based on Multi-constraint Relaxation for Active Distribution Network. In Proceedings of the IEEE 2023 3rd International Conference on Electrical Engineering and Mechatronics Technology (ICEEMT), Nanjing, China, 21–23 July 2023; pp. 831–835. [Google Scholar] [CrossRef]
  40. Džafić, I.; Jabr, R.A.; Hrnjić, T. Hybrid state estimation in complex variables. IEEE Trans. Power Syst. 2018, 33, 5288–5296. [Google Scholar] [CrossRef]
  41. Jing, T.; Yu, Y.; Yang, X.; Zhang, Y.; Zhou, F. AC Power Flow Constrained Allocation of Energy Storage Systems for Large-scale Renewable Energy Collection and Integration. In Proceedings of the IEEE 2024 4th Power System and Green Energy Conference (PSGEC), Shanghai, China, 22–24 August 2024; pp. 593–598. [Google Scholar] [CrossRef]
  42. Soroudi, A. Power System Optimization Modeling in GAMS; Springer: Berlin/Heidelberg, Germany, 2017; Volume 78. [Google Scholar] [CrossRef]
  43. Knypiński, Ł.; Devarapalli, R.; Kamiński, M. Metaheuristic Algorithms in Optimal Design of Engineering Problems. Algorithms 2024, 17, 522. [Google Scholar] [CrossRef]
  44. Tomar, V.; Bansal, M.; Singh, P. Metaheuristic Algorithms for Optimization: A Brief Review. Eng. Proc. 2024, 59, 238. [Google Scholar] [CrossRef]
  45. Ji, X.; Bai, Y.; Zhang, H.; Han, H.; Zhang, J. Optimal operation of multi-energy microgrids with shared energy storage clusters by master-slave games. J. Phys. 2024, 2865, 012043. [Google Scholar] [CrossRef]
  46. Boungard, J.; Ortleb, S.; Wackerfuß, J. Mathematical foundation of the master-slave elimination for arbitrary nonlinear multi-point constraints. PAMM 2024, 24, e202400114. [Google Scholar] [CrossRef]
  47. Du, Y.; Jain, R.; Lukic, S.M. A novel approach towards energy storage system sizing considering battery degradation. In Proceedings of the 2016 IEEE Energy Conversion Congress and Exposition (ECCE), Milwaukee, WI, USA, 18–22 September 2016; pp. 1–8. [Google Scholar] [CrossRef]
  48. Deshpande, R.D.; Uddin, K. Physics inspired model for estimating ‘cycles to failure’as a function of depth of discharge for lithium ion batteries. J. Energy Storage 2021, 33, 101932. [Google Scholar] [CrossRef]
  49. Fioriti, D.; Scarpelli, C.; Pellegrino, L.; Lutzemberger, G.; Micolano, E.; Salamone, S. Battery lifetime of electric vehicles by novel rainflow-counting algorithm with temperature and C-rate dynamics: Effects of fast charging, user habits, vehicle-to-grid and climate zones. J. Energy Storage 2023, 59, 106458. [Google Scholar] [CrossRef]
  50. Chen, Y.; Ni, J.; Li, H.; Yang, F.; Yin, G. Enhanced Research on the Determination of Aging Degree in Embedded Energy Storage Configurations Utilizing the Rain Flow Counting Method. In Proceedings of the IEEE 2024 43rd Chinese Control Conference (CCC), Kunming, China, 28–31 July 2024; pp. 2160–2164. [Google Scholar] [CrossRef]
  51. Martinez-Laserna, E.; Herrera, V.I.; Gandiaga, I.; Milo, A.; Sarasketa-Zabala, E.; Gaztañaga, H. Li-Ion battery lifetime Model’s influence on the economic assessment of a hybrid electric bus’s operation. World Electr. Veh. J. 2018, 9, 28. [Google Scholar] [CrossRef]
  52. Mirjalili, S.; Gandomi, A.H.; Mirjalili, S.Z.; Saremi, S.; Faris, H.; Mirjalili, S.M. Salp Swarm Algorithm: A bio-inspired optimizer for engineering design problems. Adv. Eng. Softw. 2017, 114, 163–191. [Google Scholar] [CrossRef]
  53. Cortés-Caicedo, B.; Grisales-Noreña, L.F.; Montoya, O.D.; Perea-Moreno, M.A.; Perea-Moreno, A.J. Optimal Location and Sizing of PV Generation Units in Electrical Networks to Reduce the Total Annual Operating Costs: An Application of the Crow Search Algorithm. Mathematics 2022, 10, 3774. [Google Scholar] [CrossRef]
  54. Abualigah, L.; Shehab, M.; Alshinwan, M.; Alabool, H. Salp swarm algorithm: A comprehensive survey. Neural Comput. Appl. 2020, 32, 11195–11215. [Google Scholar] [CrossRef]
  55. Henschke, N.; Everett, J.D.; Richardson, A.J.; Suthers, I.M. Rethinking the role of salps in the ocean. Trends Ecol. Evol. 2016, 31, 720–733. [Google Scholar] [CrossRef]
  56. Sambaiah, K.S.; Jayabarathi, T. Optimal allocation of renewable distributed generation and capacitor banks in distribution systems using salp swarm algorithm. Int. J. Renew. Energy Res 2019, 9, 96–107. [Google Scholar] [CrossRef]
  57. Abdel-Mawgoud, H.; Kamel, S.; Yu, J.; Jurado, F. Hybrid Salp Swarm Algorithm for integrating renewable distributed energy resources in distribution systems considering annual load growth. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 1381–1393. [Google Scholar] [CrossRef]
  58. Anjum, Z.M.; Said, D.M.; Hassan, M.Y.; Leghari, Z.H.; Sahar, G. Parallel operated hybrid Arithmetic-Salp swarm optimizer for optimal allocation of multiple distributed generation units in distribution networks. PLoS ONE 2022, 17, e0264958. [Google Scholar] [CrossRef] [PubMed]
  59. Asasi, M.S.; Ahanch, M.; Holari, Y.T. Optimal allocation of distributed generations and shunt capacitors using salp swarm algorithm. In Proceedings of the IEEE Iranian Conference on Electrical Engineering (ICEE), Mashhad, Iran, 8–10 May 2018; pp. 1166–1172. [Google Scholar] [CrossRef]
  60. Montoya, O.D.; Gil-González, W. On the numerical analysis based on successive approximations for power flow problems in AC distribution systems. Electr. Power Syst. Res. 2020, 187, 106454. [Google Scholar] [CrossRef]
  61. Baran, M.E.; Wu, F.F. Network reconfiguration in distribution systems for loss reduction and load balancing. IEEE Power Eng. Rev. 1989, 9, 101–102. [Google Scholar] [CrossRef]
  62. Alam, M.N.; Chakrabarti, S.; Liang, X. A benchmark test system for networked microgrids. IEEE Trans. Ind. Inform. 2020, 16, 6217–6230. [Google Scholar] [CrossRef]
  63. Sulaiman, M.H.; Mustaffa, Z.; Saari, M.M.; Jadin, M.S. A simulation-metaheuristic approach for finding the optimal allocation of the battery energy storage system problem in distribution networks. Decis. Anal. J. 2023, 7, 100208. [Google Scholar] [CrossRef]
  64. Saini, P.; Gidwani, L. An environmental based techno-economic assessment for battery energy storage system allocation in distribution system using new node voltage deviation sensitivity approach. Int. J. Electr. Power Energy Syst. 2021, 128, 106665. [Google Scholar] [CrossRef]
  65. Yong, P.; Zhang, N.; Hou, Q.; Liu, Y.; Teng, F.; Ci, S.; Kang, C. Evaluating the dispatchable capacity of base station backup batteries in distribution networks. IEEE Trans. Smart Grid 2021, 12, 3966–3979. [Google Scholar] [CrossRef]
  66. Avellaneda-Gomez, L.S.; Grisales-Noreña, L.F.; Cortés-Caicedo, B.; Montoya, O.D.; Bolaños, R.I. Optimal battery operation for the optimization of power distribution networks: An application of the ant lion optimizer. J. Energy Storage 2024, 84, 110684. [Google Scholar] [CrossRef]
  67. Gil-González, W.; Montoya, O.D.; Grisales-Noreña, L.F.; Escobar-Mejía, A. Optimal economic–environmental operation of BESS in AC distribution systems: A convex multi-objective formulation. Computation 2021, 9, 137. [Google Scholar] [CrossRef]
Figure 1. Master–slave methodology for ESS location, technology selection, and operation in active distribution networks.
Figure 1. Master–slave methodology for ESS location, technology selection, and operation in active distribution networks.
Electricity 06 00011 g001
Figure 2. Proposed coding for ESS Location, technology selection, and operation. Adapted from [38].
Figure 2. Proposed coding for ESS Location, technology selection, and operation. Adapted from [38].
Electricity 06 00011 g002
Figure 3. Single-line diagram of the 33-node test system.
Figure 3. Single-line diagram of the 33-node test system.
Electricity 06 00011 g003
Figure 4. Temporal variation of power consumption, energy prices, and solar generation on an average day in the city of Medellín.
Figure 4. Temporal variation of power consumption, energy prices, and solar generation on an average day in the city of Medellín.
Electricity 06 00011 g004
Figure 5. Operation scheme for the ESS during a daily operation provided by the SSA.
Figure 5. Operation scheme for the ESS during a daily operation provided by the SSA.
Electricity 06 00011 g005
Figure 6. Operational state of the 33-bus system before and after implementing the solution provided by the SSA method: (a) Voltage on the system nodes before implementation. (b) Voltage on the system nodes after implementation.
Figure 6. Operational state of the 33-bus system before and after implementing the solution provided by the SSA method: (a) Voltage on the system nodes before implementation. (b) Voltage on the system nodes after implementation.
Electricity 06 00011 g006
Table 1. Classification of ESS studies.
Table 1. Classification of ESS studies.
CategoryCitations
Ancillary Services[8,9,10,11,12]
Optimization and Control of ESS[15,16]
ESS Integration into Smart Grids[17,18,19,20]
Forecasting Techniques for ESS[21,22,23]
Computational Optimization for ESS[24]
Techno-Economic Assessments[25,26,27,28,29,30,31]
Grid Reliability and Technical Challenges[33,34,35,36]
Hybrid Energy Storage Systems (HESSs)[37]
Table 2. Description of variables used in the cost function.
Table 2. Description of variables used in the cost function.
VariableDescription
ZTotal annual operation cost of the active distribution network.
Z 1 Energy purchase cost at the substation node.
Z 2 ESS and DG operation and maintenance costs.
Z 3 ESS initial investment cost.
Z 4 ESS replacement cost.
C k W h Average energy price at the substation.
TNumber of days in a year (365).
i a Internal rate of return.
N t Planning horizon in years.
i e Annual increase in energy costs, considering price growth over time.
S k , h g c Complex power at the substation during interval h.
Δ t Interval where variables remain constant (1 h).
C O & M b ESS operation and maintenance cost.
C O & M d g DG operation and maintenance cost.
S k , h b ESS power at node k during h.
S k , h d g DG power at node k during h.
C b a t Cost per kWh of ESS capacity.
E k b ESS nominal capacity at node k.
N r b Number of ESS replacements.
c e i l ( * ) Function rounding up to the nearest integer.
L k b ESS useful life at node k, depending on the state-of-charge profile.
N Set of system nodes.
H Set of time periods.
T Set of planning years.
R Set of ESS replacements.
Table 3. Parametric information used for solving the mathematical model of ESS integration and operation.
Table 3. Parametric information used for solving the mathematical model of ESS integration and operation.
ParameterValueUnitParameterValueUnit
C k W h 0.1302USD/kWhT365days
t a 10% N t 20years
Δ h 1h t e 2%
C O & M b 0.0018USD/kWh C O & M p v 0.0019USD/kWh
C b 47.9351USD/kWh N b a v a 3-
V i min −10% V i max + 5 %
S o C i b , min 10% S o C i b , max 90%
S o C i b , initial 50% S o C i b , final 50%
Table 4. Numerical results related to the location, technology selection, and annual costs obtained for the test system.
Table 4. Numerical results related to the location, technology selection, and annual costs obtained for the test system.
MethodologyLocation (Node)Technology (Type)Z (USD/Year)Reduction
Baseline case--2,979,065.610.00
DMCM-VSA3, 7, 28C, C, B2,966,907.2412,158.37
DPSO-VSA2, 5, 26C, B, B2,965,981.0213,084.59
DCBGA-VSA2, 4, 29B, C, C2,965,720.8013,334.81
DPBIL-VSA2, 3, 27C, C, C2,965,384.3713,681.24
DMVO-VSA2, 5, 27C, C, C2,964,927.3814,138.23
SSA2, 5, 27C, C, C2,962,459.8416,605.77
Table 5. Performance comparison of optimization methodologies in terms of cost and computational time for the test system.
Table 5. Performance comparison of optimization methodologies in terms of cost and computational time for the test system.
MethodologyBest Solution (USD)Average Solution (USD)Standard Deviation (%)Avg. Time (s)
DMCM-VSA2,966,907.23722,968,910.91520.03921196.3800
DPSO-VSA2,965,981.01902,967,217.55850.03639632.2400
DCBGA-VSA2,965,720.79522,966,824.19060.02363627.8300
DPBIL-VSA2,965,384.37262,967,052.49530.04471578.9500
DMVO-VSA2,964,927.37902,965,728.33290.020010,214.3800
SSA2,962,459.83862,964,139.99350.0416345.7100
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

Cortés-Caicedo, B.; Bustamante-Mesa, S.; Rodríguez-Salazar, D.L.; Montoya, O.D.; Rico-García, M. Integration and Operation of Energy Storage Systems in Active Distribution Networks: Economic Optimization via Salp Swarm Optimization. Electricity 2025, 6, 11. https://doi.org/10.3390/electricity6010011

AMA Style

Cortés-Caicedo B, Bustamante-Mesa S, Rodríguez-Salazar DL, Montoya OD, Rico-García M. Integration and Operation of Energy Storage Systems in Active Distribution Networks: Economic Optimization via Salp Swarm Optimization. Electricity. 2025; 6(1):11. https://doi.org/10.3390/electricity6010011

Chicago/Turabian Style

Cortés-Caicedo, Brandon, Santiago Bustamante-Mesa, David Leonardo Rodríguez-Salazar, Oscar Danilo Montoya, and Mateo Rico-García. 2025. "Integration and Operation of Energy Storage Systems in Active Distribution Networks: Economic Optimization via Salp Swarm Optimization" Electricity 6, no. 1: 11. https://doi.org/10.3390/electricity6010011

APA Style

Cortés-Caicedo, B., Bustamante-Mesa, S., Rodríguez-Salazar, D. L., Montoya, O. D., & Rico-García, M. (2025). Integration and Operation of Energy Storage Systems in Active Distribution Networks: Economic Optimization via Salp Swarm Optimization. Electricity, 6(1), 11. https://doi.org/10.3390/electricity6010011

Article Metrics

Back to TopTop