Next Article in Journal
Virtual Leader-Guided Cooperative Control of Dual Permanent Magnet Synchronous Motors
Previous Article in Journal
Influencing Factors of Hydrocarbon Migration and Adjustment at the Edge of a Stable Cratonic Basin: Implications from Fluid Inclusions, Quantitative Fluorescence Techniques, and Geochemical Tracing
Previous Article in Special Issue
Stability Assessment and Current Controller Design for Multiple Grid-Connected Inverters Under LC Grid Impedance and Grid Distortions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Grid-Forming Energy Storage System Capacity Planning Method Considering Device Lifetime

by
Guisen Ye
1,
Jingyang Fang
1,*,
Nan Wang
2,
Yinan Gaogao
2 and
Kangyuan Sun
2
1
Shenzhen Research Institute of Shandong University, Shenzhen 518057, China
2
School of Automation and Electrical Engineering, University of Jinan, Jinan 250022, China
*
Author to whom correspondence should be addressed.
Energies 2026, 19(3), 639; https://doi.org/10.3390/en19030639
Submission received: 10 October 2025 / Revised: 11 January 2026 / Accepted: 13 January 2026 / Published: 26 January 2026

Abstract

As the use of renewable energy increases, the inertia and frequency stability of the power system continuously decrease, which seriously threatens the stable operation of the power grid. To address the problem of frequency instability, grid-forming energy storage systems (ESS) and associated microgrids have arisen as promising solutions, and their scheduling and capacity planning have become critical issues directly affecting operational costs. However, existing research often ignores battery aging, which may lead to excessive degradation and higher equipment replacement costs. To solve this problem, this paper proposes a grid-forming battery energy storage system capacity planning method that explicitly considers device lifetime, incorporating battery aging into the optimization objective through the rain-flow counting algorithm. Furthermore, an optimization framework combining the genetic algorithm, rain-flow counting method, and branch-and-cut algorithm is developed. To verify the effectiveness of the proposed method, simulations of 12 typical days are conducted on the Gurobi platform to compare the overall cost in five different cases. The results prove that the proposed method can reduce the overall cost by 1.51–6.82% compared to cases where the device lifetime and workload flexibility are not considered, and a good frequency-support performance is achieved.

1. Introduction

With the increasing use of renewable energy, reduction in system inertia has become a critical problem, threatening the frequency stability of the power system. For example, insufficient system inertia was one of the critical causes of the recent large-scale blackout on the Iberian Peninsula in Europe, demonstrating the adverse impact of inertia deficiency [1]. To solve this problem, grid-forming energy storage technology has become an efficient solution, providing flexible reserve power and scheduling capability, thereby improving the inertia and frequency stability of the system [2]. Based on practical demands, the grid-forming ESS has been flourishing since the concept was first proposed by Zhong [3]. According a report by NEOEN, which runs the first and biggest grid-forming energy storage system in South Australia, the 150 MW/193.5 MWh energy storage system now has the capacity to contribute an estimated 2000 MW of equivalent inertia, or around 15% of the predicted shortfall in the state’s network, showing the effectiveness of the grid-forming energy storage system [4].
To better leverage the function of improving inertia and enhance economic efficiency, the grid-forming energy storage system is often operated within microgrids which are composed of flexible loads and renewable energy sources [4]. Thus, ensuring the grid-forming energy storage system’s economic operation through scheduling and planning is an important issue. According to a report by Schierhorn [5], the scheduling of microgrids composed of grid-forming energy storage systems can reduce the operations cost by 25% compared to the baseline, which shows promising potential in cost reduction and efficiency improvement.
Recent studies have proposed various scheduling and planning methods to enhance the operational efficiency of grid-forming microgrids and reduce operating costs [6]. Scheduling and control optimization was first studied in the early stages of research. Vinayagam et al. introduced a PV-based microgrid scheme using grid-support and grid-forming inverter control to achieve proportional power sharing and seamless transitions between grid-connected and islanded modes while regulating voltage and frequency [7]. Subsequently, optimal grid-forming control strategies for battery energy storage systems were developed to enable feeder dispatchability and provide frequency containment and voltage support [8]. These studies can effectively reduce the operational cost and provide frequency support, but only achieve the optimization of the converter or battery level. At the microgrid operation level, several studies formulated dispatch or energy management schemes for grid-forming sources under different operating modes, including service restoration, feeder-level coordination, and real-time feedback-based control, demonstrating improved frequency support and reduced operational cost [9,10]. Reference [11] proposed a dynamic security-constrained AC optimal power flow for microgrids, which can maintain security and optimize dispatch under faults and renewable variability on a microgrid with PV, a synchronous generator, and a BESS. Reference [12] proposed a coordinated scheduling strategy in a 100% renewable energy microgrid scenario, developing a robust optimization model that coordinates grid-forming renewable stations, a battery/compressed-air hybrid storage system, and demand response to maintain frequency-dynamic security in a fully renewable system. Reference [13] proposed a renewable-Integrated agent-based microgrid model with grid-forming support for improved frequency regulation which reduces frequency peaks by up to 1.14 Hz and shortens the recovery time by several minutes. References [8,14] proposed a near-optimal energy management strategy for a grid-forming PV and hybrid energy storage system which integrates Li-ion batteries and supercapacitors into a grid-forming PV system. These studies provide the system-level microgrid scheduling method, although planning is not taken into consideration. References [15,16] proposed an energy storage configuration and scheduling strategy for a microgrid with consideration of grid-forming capability which can increase minimum rotational kinetic energy by about 30% and reserved power by 15%. Overall, although the aforementioned scheduling and control optimization methods can improve the operational economic and frequency performance of grid-forming microgrids to a certain extent, they are primarily limited to optimizing the operation of pre-installed devices. The lack of explicit consideration of equipment planning and capacity design makes it difficult for these approaches to achieve life-cycle cost optimality at the system level.
More recent studies have extended the optimization scope from operational scheduling to capacity planning. Some works have investigated the optimal sizing of grid-forming energy storage systems under multi-timescale energy management frameworks, showing significant reductions in required storage capacity while maintaining system reliability [17]. Reference [18] explored the optimal size of grid-forming energy storage in an off-grid renewable P2H system under multi-timescale energy management and proposed an optimal capacity method which can shrink the battery capacity by over 50%. Capacity-oriented formulations have also been integrated with security-constrained optimal power flow and robust scheduling models to ensure frequency-dynamic security in renewable-dominated microgrids with grid-forming resources [19,20]. In addition, agent-based and hybrid energy storage models incorporating grid-forming support have been proposed to improve frequency-regulation performance and recovery speed [21,22]. A limited number of studies jointly optimized energy storage capacity and scheduling while explicitly considering grid-forming capability, demonstrating improvements in system inertia and reserve margins [23]. These methods can reduce the cost and enhance the frequency-support function by skillfully optimizing the capacity and scheduling of a microgrid. However, the device lifetime is ignored in the existing method, and the scheduling flexibility of the electricity load is not taken into account, which is an important component of the existing electricity load.
Based on the formal research, this paper proposes a grid-forming battery energy storage system capacity planning method considering device lifetime, and case studies on the Gurobi simulation platform have verified the effectiveness of the proposed method. To address these gaps, this paper makes the following contributions, and the differences from existing methods are shown in Table 1.
(1)
An integrated planning and scheduling framework for grid-forming microgrids is proposed, in which the relationship between device aging and the capacity of grid-forming energy storage systems is explicitly modeled and optimized in cooperation with system-level operation, and the frequency-related parameters are modeled by RoCoF constraints in the energy storage capacity planning.
(2)
A rain-flow-algorithm-based lifetime-aware energy storage scheduling model is incorporated into the proposed framework, which can describe the relationship between battery aging and scheduling operation and systematically evaluate the trade-off between overall cost and frequency-support capability.
(3)
A novel data center microgrid model is built to verify the proposed method, firstly introducing the data center scenarios into frequency support and equipment depreciation research.
Table 1. Comparison with related research.
Table 1. Comparison with related research.
Research Microgrid SchedulingPlanningFlexible LoadDevice Lifetime
References [7,8,9,10,11,12,13,14,15,16]×××
Reference [17]××
Reference [18]××
References [19,20]××
This paper

2. The Capacity Planning Problem and Lifetime Calculating Method

The planning of a grid-forming energy storage system and its microgrid can be formulated as a mixed-integer (nonlinear) programming problem, where the capacity of the devices and the operation of microgrids are the decisive variables, which are closely coupled and should be optimized together. In this process, the lifetime of the battery is decided by the charge and discharge operation, which should also be considered in the initial planning optimization for its influence on equipment depreciation and replacement cost. Therefore, this section first introduces the planning optimization of the capacity planning problem, and the situation in which the load can be scheduled flexibly is presented, which provides the scenario of the simulation. Then, the device lifetime and its relationship with the operation is illustrated. Finally, the rain-flow algorithm is introduced to evaluate the aging effect.

2.1. The Planning Optimization of the Grid-Forming ESS Microgrid

The framework of the grid-forming ESS microgrid planning problem is shown in Figure 1. In the practical operation, the microgrid consists of an ESS, loads, generators, and renewable sources, which can be scheduled by the centralized scheduling module; the device capacity should be optimized in the initial planning. The initial construction cost and equipment replacement cost is decided by the device capacity, and real-time operational cost is decided by the operation and electricity price. To further analyze the system and consider the flexible scheduling characteristics exhibited by existing loads, a typical situation is shown in this section, which is a microgrid that contains a grid-forming ESS and data center, and the flexibility of the load is analyzed below.

2.1.1. Scheduling Flexibility of Electrical Load

As Figure 2 shows, in the microgrid that contains the data center electrical load, the real-time power of the electrical load is determined by the computational workload, which exhibits a high degree of flexibility, as it can be scheduled in both time and space dimensions, and therefore can be scheduled freely to coordinate with renewable energy sources and electricity prices to minimize energy consumption and operational cost. In this paper, two kinds of workload are considered, where the first kind can be scheduled temporally and the second kind cannot be scheduled.

2.1.2. The Characteristics of Grid-Forming ESS

The grid-forming ESS can respond to the frequency and active-power changes by releasing or absorbing power and provide short-term frequency for the grid. The essence of the inertia-supporting ability of the grid-forming ESS lies in its power response capability. Let the equivalent inertia time constant of the storage at a given time interval be H G f m , which is proportional to the tie-line transmission power of the storage P G f m . When a large amount of energy is released from storage, the inertia time constant is high, and the rate of change of frequency is small, which is conducive to maintaining system power balance. When the released energy is small, the inertia time constant is low and the frequency changes more rapidly, which may cause frequency-stability problems. The H G f m can be described by Equation (1):
H G f m = H m i n + P G f m P m a x G f m ( H m a x H m i n ) ( t )
where P m a x G f m is the maximum transmission power of the ESS and   H m a x , H m i n are the upper and lower limits of the inertia time constant of the ESS.
The overall inertia requirement of a microgrid can be characterized by the maximum rate of change of frequency (RoCoF) R o c o f m a x . In implementation, the R o c o f m a x is often set to be 0.5–1 Hz to guarantee the stability of frequency. Since both wind turbines and photovoltaic systems adopt grid-following control strategies, their inertia contribution is relatively small. Therefore, the equivalent inertia of the microgrid is mainly provided by the grid-forming energy storage systems. Then, the minimum rotational kinetic energy of the microgrid during time period t can be defined as E t s y s , m . Furthermore, the rotational kinetic energy constraint of the system can be formulated as follows:
R o c o f R o c o f max t
R o c o f = ( f t f t 1 ) / Δ t t
E t s y s , m = H t G f m P t G f m t
E t s y s , m Δ P l o s s f 0 2 R o c o f max t
To ensure that the power output can cover the power to achieve grid forming, the output power of the ESS should exceed the P m a x G f m ; therefore, the following constraint should be satisfied:
P t G f m P M a x g r i d t
In implementation, since the flexibility of P M a x g r i d is mainly determined by the ESS power and the real-time power of data center electricity workload in our model, it is more reliable to conservatively set the following equation:
P M a x d i s c h a r P t G f m P M a x c h a r t
After a disturbance occurs and once the inverter has passed through the frequency-regulation dead band, the ESS supplies a frequency-regulation power based on the frequency deviation f and the primary frequency-response coefficient, thereby further reducing the microgrid’s power imbalance and frequency deviation.
In the above formulation, H G f m denotes the equivalent inertia time constant of the grid-forming ESS, which characterizes its inertia-like frequency-support capability in the short-term dynamics. The feasible range of H G f m is bounded by the maximum transferable (deliverable) active power of the ESS for grid-forming support, leading to the lower and upper limits H m i n and H m a x . Equation (1) establishes the mapping between H G f m and the ESS power P G f m , capturing the intuitive physical implication that a larger available ESS power generally enables stronger inertia support. R o c o f represents the rate of change of frequency, which must not exceed a prescribed limit R o C o F m a x to ensure frequency security, as enforced by Equation (2). Since a discrete-time simulation is adopted, R o C o F is approximated via the frequency difference between two consecutive time slots. Equation (3) provides the discrete expression (which is essentially R o C o F ( f t f t 1 ) / Δ t ); in this study, the per-slot frequency variation is used to represent the RoCoF metric, and the time step Δ t   and its units are consistently specified in the notation/definitions. Furthermore, E t s y s , m denotes the equivalent rotational kinetic energy (i.e., the effective energy buffer) of microgrid m   during time slot t , representing the amount of energy that can be rapidly exchanged to limit fast frequency deviations immediately after a disturbance. As shown in Equation (4), E t s y s , m is determined by the equivalent inertia time constant H t G f m and the ESS power P t G f m . To guarantee frequency-dynamic security, E t s y s , m must satisfy the minimum kinetic energy requirement derived from the swing equation, i.e., Equation (5). Finally, the deliverable inertia/frequency support is also constrained by the physical power capability of the ESS. To ensure implementation ability, the ESS output power must satisfy the maximum power constraint and the charge/discharge power bounds, as described in Equations (6) and (7), respectively.

2.2. The Aging and Lifetime Calculation of ESS

The aging of the ESS is decided by its charge and discharge operations, which in turn decide the construction and replacement cost throughout its lifetime. To describe the relationship between device aging and scheduling/planning and take the device lifetime into the optimization objective, the rain-flow counting algorithm is introduced into the optimization problem, which is analyzed in detail below.

2.2.1. The Rain-Flow Counting Algorithm

To properly account for the aging of equipment, especially the depreciation of batteries, the study uses the rain-flow algorithm to count charge and discharge cycles, as shown in Figure 3. This algorithm, which is widely used in fatigue analysis, breaks the power operation of the ESS into simple charging and discharging cycles and uses the cycle ranges (DOD) to quantify degradation. The procedure usually involves the following:
Finding turning points: Identify the local peaks and troughs in the original signal.
Matching cycles: Compare successive peaks and troughs and, once they satisfy the rain-flow rule, treat them as a full cycle.
Half-cycle treatment: Any leftover segments that do not form a full cycle are counted as half cycles.

2.2.2. The ESS Lifetime Calculation

The ESS lifetime can be calculated according to its depth of discharge (DOD), which can be calculated through Equations (8) and (9).
D O D i = S O C m a x , i S O C m i n , i
L i f e t i m e   C o n s u m e d   ( % ) = i = 1 N n i N f ( D O D )
where S O C m a x , i and   S O C m i n , i are the maximum and minimum value of the state of charge (SOC) of the ESS. n i and N f represent the i-th charge–discharge cycle and its battery aging.
By introducing the ESS lifetime into device capacity optimization, the proposed method achieves further optimization in overall cost, which is composed of the construction cost and operational cost.
It is worth noting that the degradation modeling in this paper focuses on cycle aging induced by charge/discharge operations, while calendar aging is not explicitly considered. This simplification may underestimate the actual degradation in operating conditions with long-term storage at high SOC and/or elevated temperature or when cycling is infrequent, which could introduce bias in the life-cycle cost assessment; however, since the studied scenario features intensive cycling under a relatively benign operating environment, and cycle aging is expected to be the dominant contributor, this hypothesis is acceptable.

3. System Model and Mathematical Formulation

The system model and mathematical model of the optimization problem are provided in this section. A typical system architecture of the grid-forming ESS microgrid is shown in Figure 1, where renewable power (solar and wind power), flexible electrical load, and energy storage devices are deployed. The system is modeled as a discrete-time system with equal length time slots. Each time slot is 15 min.
The system is divided into two main components: the power-demand side and the power-supply side. On the demand side, a workload model is established to describe the relationship between computational workloads and their corresponding power consumption. On the supply side, an energy storage system model is developed, where the overall power balance of the system is maintained. Finally, an optimization objective is formulated within this part, aiming to minimize the total system cost, which includes the operational cost and construction cost of the total system.

3.1. Power-Demand Side

The main load of the data center is the servers, whose energy consumption is linearly determined by the computational workload rate, which can be briefly divided into flexible workload and fixed workload. The interactive workload, such as online shopping and gaming services, should be dealt with within a short time delay, which is usually no more than minutes or seconds. The service delay of this kind of workload will lead to high economic losses. So, the interactive workload cannot be scheduled across different time periods. The batch workload, such as processing of scientific research data and training neural networks, can tolerate an hourly response delay and can be scheduled between several time slots. Assuming that the batch workload arrives at time T and its maximum waiting time is D, the processing time can be described by the following equation:
T t T + D
For the batch workload, the total batch workload in each time slot from T to T + D should equal to the total amount of the batch workload, as described in Equation (6). Additionally, since the quality-of-service penalty is also high, the quality of service is represented by constraints rather than a penalty function, which will lead to infeasibility of the problem, as is shown below:
t a flex D a flex μ a , t flex = μ total , a flex ( a A )
The total task dealt with by the servers can be described by the following equations:
λ t = ζ t fix + a A μ a , t flex ( t )
0 λ t Cap ( t )
and the batch workload.
In addition, for every time slot, the total real-time power in the data center is:
P t server = M × φ server × λ t + P idle ( t )
φ server = P peak P idle
In the above equations, λ t represents the total computational workload, which is composed of the fixed workload ζ t fix and flexible workload μ a , t flex . The total computational workload should not exceed the maximum computational workload capacity Cap , and the total power of the servers in the data center P t server is linearly determined by λ t .

3.2. Power-Supply Side

In the microgrid, the electrical loads are powered by solar power, wind power, ESS, and the utility grid, whose model is given below.

3.2.1. The ESS Model

The ESS can be described by the following equations:
ES t + 1 = ES t + η char P t char η dischar P t dischar i , t
ES min ES t ES max t
Z t char , Z t dischar 0 , 1 t
Z t char + Z t dischar 1 t
0 P t char P max char Z t char t
0 P t dischar P max dischar Z t dischar t
In the above equations, (16) describes the energy storage condition of every time slot, which is decided by the charging and discharging operation. Since there is conversion loss in the process of power charging and discharging, the energy conversion efficiency is considered in (16). Also, the state of charge should be within the maximum and minimum energy storage, so it should satisfy Equation (17). Equations (18)–(19) describe the charge/discharge constraints, and Equations (20)–(21) describe maximum charge/discharge power constraints [22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39].

3.2.2. The Solar and Wind Power Model

The real-time power output of the solar and wind power is decided by the device capacity and local weather conditions. Assuming that the power generation rate per unit capacity in the situation is R P V and R W i n d , the real-time power output in each time slot can be described as follows:
P t P V = P max P V R P V t
P t W i n d = P max W i n d R W i n d t
where P max P V and P max W i n d are the decision variables to represent the capacity of solar and wind power.

3.3. Frequency Supporting

The overall inertia requirement of a microgrid can be characterized by the maximum rate of change of frequency (RoCoF) R o c o f m a x . Since both wind turbines and photovoltaic systems adopt grid-following control strategies, their inertia contribution is relatively small. Therefore, the equivalent inertia of the microgrid is mainly provided by the grid-forming energy storage systems. Then, the minimum rotational kinetic energy of the microgrid during time period t can be defined as E t s y s , m . Furthermore, the rotational kinetic energy constraint of the system can be formulated as follows:
R o c o f R o c o f max t
E t s y s , m = H t G f m P t G f m t
E t s y s , m Δ P l o s s f 0 2 R o c o f max t

3.4. Power Balance and Optimization Objective

Combining the supply side and demand side together, the power balance constraints can be obtained as follows:
P t g r i d = j J ( P t s e r v e r s + η c h a r P t c h ar η d i s c h a r P t d i s c h ar P max P V R P V P max W i n d R W i n d ) t
Since the electricity varies across different geographical locations and time slots, the electricity bill in each microgrid can be expressed by the following equation:
C t grid = P t grid π t grid t
To reduce the operational cost and construction cost of the microgrid, the operational cost and construction cost should be comprehensively considered. In the process of calculating the construction cost of microgrid devices, to simplify the equation, the construction cost of the devices is converted to average daily cost, which is achieved by dividing the total construction cost by the lifespan of the device.
So, the optimization objective is formulated as follows:
min t = 1 T C t g r i d + C t b u i l d
where
C t b u i l d = P max P V C P V / L P V + P max W i n d C W i n d / L W i n d + E max E s s C E s s / L E s s

3.5. Optimization Problem

The optimization problem can be described as follows:
min t = 1 T C t g r i d + C t b u i l d s. t.
λ t = ζ t fix + a A μ a , t flex ( t )
0 λ t Cap ( t )
t a flex D a flex μ a , t flex = μ total , a flex ( a A )
P t server = M × φ server × λ t + P idle ( t )
φ server = P peak P idle
ES t + 1 = ES t + η char P t char η dischar P t dischar i , t
ES min ES t ES max t
Z t char , Z t dischar 0 , 1 t
Z t char + Z t dischar 1 t
0 P t char P max Gfm Z t char t
0 P t dischar P max Gfm Z t dischar t
P t P V = P max P V R P V t
P t W i n d = P max W i n d R W i n d t
R o c o f R o c o f max t
E t s y s , m = H t G f m P t G f m t
E t s y s , m Δ P l o s s f 0 2 R o c o f max t
R o c o f = ( f t f t 1 ) / Δ t t
P t G f m P M a x g r i d t
P M a x d i s c h a r P t G f m P M a x c h a r t
P t g r i d = j J ( P t s e r v e r s + η c h a r P t c h ar η d i s c h a r P t d i s c h ar P max P V R P V P max W i n d R W i n d ) t
C t grid = P t grid π t grid t
C t b u i l d = P max P V C P V / L P V + P max W i n d C W i n d / L W i n d + E max E s s C E s s / L E s s
As is shown above, the optimization goal is to minimize the operational cost of the system, which is composed of electricity cost and construction cost. Equations (32)–(36) are the constraints in the power-demand side, and Equations (37)–(44) are the constraints which ensure the running of power-supply side. Equations (45)–(50) describes the frequency supporting process and the power balance, and Equations (51)–(53) describe in detail the overall cost. The decision variables for the optimal problem include the allocation of workloads, the operation of ESS, and the capacity of wind, solar power, and ESS. The proposed resource planning model is formulated as a mixed-integer nonlinear programming problem.

4. Proposed Problem-Solving Method

The problem investigated in this study is formulated as a mixed-integer nonlinear programming (MINLP) problem, which poses significant challenges for conventional optimization solvers. In this framework, the operation optimization problem couples with the planning problem of photovoltaic (PV), wind power, and energy storage system (ESS) capacities, and the variables representing device capacity appear in the denominators of the model equations, thereby introducing nonlinearities. Moreover, the estimation of the energy storage lifespan employs the rain-flow counting algorithm to calculate the daily average construction cost, which further increases the problem’s nonlinearity. As a result, general optimization solvers such as Gurobi and CPLEX are incapable of solving the formulated problem directly.
To address this issue, a two-layer optimization framework is adopted, as shown in Figure 4. The upper layer utilizes an intelligent optimization algorithm to determine the optimal capacities of PV, wind power, and ESS, while the lower layer solves the corresponding operational scheduling problem of the microgrid with given device capacities. Specifically, a genetic algorithm (GA) is employed in the upper layer, where the capacities of the PV, wind power, and ESS units are represented as chromosomes encoded in binary form. Each individual solution is randomly initialized and evaluated using a fitness function. Then, these data are used in the lower-level optimization as constant, and the problem is solved by the branch-and-cut algorithm, as shown in Algorithm 1 [40].
Figure 4. Flow chart of the proposed problem-solving algorithm.
Figure 4. Flow chart of the proposed problem-solving algorithm.
Energies 19 00639 g004
Algorithm 1: Branch-and-cut algorithm
Input: Gap, renewable power output data, device capacity data (given by upper-layer algorithm)
Output: Overall cost, scheduling plan, ESS charge–discharge operation.
Step 1: Initialize.
  • Assume M I P is M I P 0 , the relaxation of M I P 0 is R M I P 0 .
  • The tree of the nodes to be solved is L   =   R M I P 0 .
  • Assume the up bound of the tree L is z ¯   =   +   .
  • For a node l L , assume its low bound z l ¯   =     .
Step 2: Terminate.
  • If  L   =   ϕ or z ¯     z l ¯ Gap , then solve the x corresponding to the best z ¯   and turn to Step 8.
  • If there is no x available, the problem is infeasible.
Step 3: Choose.
  • Choose and prune a problem of M I P l .
Step 4: Relaxation.
 Solve the relation problem of M I P l .
If it is infeasible,
  set z l ¯   =   +  
  and turn to Step 6.
If it is feasible, set z l ¯ to be the optimal value of the relation problem, and set x l R as the optimal solution.
Else  z l ¯   =     .
Step 5: Add the cutting plane.
  • If needed, find the cutting plane and add it to the relation problem M I P l .
  •   Turn to Step 4.
Step 6: Estimate and prune.
  • If z l ¯     z ¯   , return to Step 2.
  • Else, if z l ¯   <   z ¯   , x l R   is   feasible ,   and   z ¯   =   z l ¯ , prune all the nodes with z l ¯     z ¯   in L
  • and return to Step 2.
Step 7: Branch.
  • If any node l can be relaxed and feasible,
branch the problem as two sub-problems.
Step 8: Output.
If the problem is feasible, output the overall cost, scheduling plan, and ESS charge–discharge operation.
The optimal operating cost obtained from the lower-layer problem is passed back to the GA as the fitness value. Based on this value, the GA performs evolutionary operations such as selection, crossover, and mutation to identify superior individuals for subsequent generations. During the evaluation process, the rain-flow counting algorithm, which is shown in Algorithm 2, is invoked to count the charge–discharge cycles of the ESS and estimate its lifetime, thereby calculating the average daily construction cost.
Algorithm 2: Rain-flow Counting Algorithm
Input: Load signal data (time series)
Output: Cycle list (complete cycles and half cycles with corresponding amplitudes)
Step 1: Initialization.
  •   Extract turning points from the load signal.
  •   Initialize an empty stack S.
  •   Initialize an empty list C to store cycle counts.
Step 2: Cycle matching.
For each turning point p in the extracted sequence,
   • Push p onto S.
   • While S contains at least three points:
     - Let X = third-last element in S, Y = second-last element, Z = last element.
     - If |Y − X| ≤ |Z − Y|:
       ‣ Count a complete cycle with amplitude = |Y − X|.
       ‣ Append this cycle to C.
       ‣ Remove Y (the second-last element) from S.
     - Else, exit the inner loop.
Step 3: Half-cycle processing.
For each adjacent pair of points in the remaining stack S:
   • Compute half-cycle amplitude = |next point − current point|.
   • Append this half cycle (with a count of 0.5) to C.
Step 4: Termination.
Return the cycle list C as the final output.
   If there any node l can be relaxed and feasible,
branch the problem as two sub-problems.
The proposed planning approach adopts a bi-level architecture, where the upper level determines the device capacities using a genetic algorithm (GA) and the lower level computes the operating schedule using the branch-and-cut method. For larger-scale microgrids (or microgrid clusters), the number of capacity-related decision variables remains relatively limited, and thus the GA can explore the planning space efficiently. In contrast, the computational burden of the lower-level branch-and-cut solver may grow exponentially with the number of parameters, as is typical for mixed-integer optimization. In practical engineering applications, however, the solution time can be expressed as the product of the number of explored search-tree nodes and the time required to solve the continuous relaxation at each node. The size of the root-node relaxation typically scales approximately linearly with the number of time steps, and commercial solvers such as Gurobi can solve the resulting lower-level problem within seconds when the model size is moderate. Therefore, the overall computation time is usually acceptable for practical use. For example, the proposed method can solve the optimization problem with a 15 min time slot and nearly 7000 decision variables in two minutes, and the problem with a time slot of 1 h and 1728 decision variables within 20 s. Nevertheless, increasing the temporal resolution (i.e., the number of time steps) rapidly enlarges the lower-level problem and can lead to super-linear growth in runtime. For example, when the time slot is set to be 5 min and the number of decision variables extends to 21,000, the time to solve the problem extends to hours according to our previous research. To mitigate this issue, a practical remedy is to decompose the lower-level scheduling problem into a two-stage optimization, e.g., an hourly optimization followed by an intra-hour refinement, thereby decoupling decision variables across time scales and substantially reducing the solution time.
Additionally, it should be noted that the aforementioned calculation time was obtained on a desktop computer equipped with an 11th Gen Intel(R) Core (TM) i7-11800H processor running at 2.30 GHz and 16 GB of memory. This time may vary depending on the computing equipment and software platform used. However, the overall trend reflected by the aforementioned data remains unchanged, thus indicating to some extent the impact of time slot and number of variables on the algorithm’s calculation speed.

5. Case Study and Results

In this section, a representative microgrid system is established to evaluate the effectiveness of the proposed optimization method. All system models and solution algorithms are implemented on the Gurobi platform [41], which is widely utilized for solving linear and mixed-integer programming problems. The simulations are executed on a desktop computer equipped with an 11th Gen Intel(R) Core(TM) i7-11800H processor running at 2.30 GHz and 16 GB of memory.

5.1. Simulation Setup

To verify the effectiveness of the proposed method, a microgrid with grid-forming ESS, renewable energy, and flexible electricity load is simulated. In the simulation, the microgrid is geographically located in Texas, and the real-time electricity price, as well as solar and wind generation data, are obtained from ERCOT [42], as shown in Figure 5. In Figure 5, the typical days are classified into four categories to capture typical weather conditions occurring throughout the year. The parameters of the energy storage system are derived and scaled from ERCOT scheduling data [42]. The workload profiles are constructed based on the datasets provided in [33,42], which are distributed across three nodes, and maximum power of each node is 15 MW, as shown in Table 2 [40]. The construction cost of the solar, wind, and energy storage systems is listed in Table 3, and the parameters of the ESS, which were collected in related research, are listed in Table 4.
The selected data center (DC) scenario is representative of real-world loads in modern microgrids for three main reasons. First, the data centers have been expanding in scale and electricity consumption, becoming a major demand-side sector and a practically meaningful flexible-load use case. Second, in the studied DC load composition, time-shiftable workloads and real-time workloads each account for 50%, which reasonably captures the coexistence of flexible (schedulable) and inflexible (non-deferrable) demand commonly observed in practice, thereby improving the representativeness and comparability of the case study. Third, DC microgrids typically offer strong temporal and spatial controllability (e.g., adjusting job start times, workload migration, and consolidation), providing greater scheduling freedom than traditional loads and a larger synergy space with renewable generation and energy storage. As a result, the proposed framework can more clearly demonstrate benefits in renewable energy utilization, peak shaving/valley filling, and reductions in operating cost and carbon emissions. Therefore, using a data center as the flexible-load case study provides an engineering-relevant and practically grounded benchmark for validating the proposed planning and scheduling method.

5.2. Case Study

In the proposed optimization framework, the capacities of devices within the data center microgrid are jointly optimized. To validate the effectiveness of the method, two simulation cases are designed for comparison:
Case I: The capacities of the microgrid components—including photovoltaic, wind generation, and energy storage systems—are fixed based on data from a typical data center, as shown in Table 5 and Table 6. In this case, only the operational scheduling of the microgrid is optimized.
Case II: Both the device capacities and the operational scheduling of the microgrid are jointly optimized, and the lifetime is considered in the optimization.
Moreover, to isolate the marginal benefit of the joint capacity–operation optimization, verify the effectiveness of ESS capacity, and highlight the influence of lifetime estimation, three simulation cases are designed to for comparison.
Case III: The capacity of photovoltaic, wind generation, and energy storage systems is optimized, and the lifetime is considered in the optimization, but the batch workload is replaced by interactive workload with equal total amount.
Case IV: The capacity of photovoltaic and wind generation is fixed as the data in Table 6; the ESS capacity and workload are optimized by the proposed method.
Case V: The capacity of photovoltaic, wind generation, and energy storage systems is optimized, but the lifetime is not taken into consideration.
In the above cases, Case II represents the proposed method. By comparing the result in Case I and Case II, the effectiveness of proposed method can be verified. By comparing results in Case II, Case III, and Case IV, the ESS capacity optimization is verified without the interference of renewable power and flexible workload. By comparing the results in Case II and Case V, the effectiveness of considering lifetime is verified. Based on the above case definitions, Section 5.3 reports the numerical results and interprets the cost and lifetime impacts of joint planning–scheduling and lifetime awareness.

5.3. Result Analysis

5.3.1. Average Daily Costs

The average daily costs for the aforementioned cases were plotted in Figure 6 based on simulations of 12 typical days. The differences among cases were normalized by the corresponding baseline cost to compute the cost-reduction rate, which is reported in Table 7.
In Figure 6, Case II presented the lowest cost among the five cases, which can demonstrate the effectiveness of the proposed method. The results across the 12 typical days also indicated that the method remained robust under different environmental conditions.
Moreover, by analyzing the detailed cost reduction listed in Table 7, the interference of elements in the microgrid can be eliminated to some extent. Comparing the result of Case I and Case II, the proposed method reduced the overall cost by 1.51–6.82% compared with the existing microgrid with optimized device capacity. Moreover, device capacity in typical day 1 is listed in Table 8. By comparing the results in Case II and Case III, it can be seen that the workload scheduling flexibility contributed to the cost reduction, which proved the necessity of considering load flexibility in optimization. By comparing the results in Case II and Case IV, we can find the reduction was relatively minor, which illustrated that the capacity optimization of wind and solar power does not dominate the improvement. By comparing the results in Case II and Case IV, it can be seen that the reduction varied from 1.03% to 5.53% in different situations, which was considered acceptable. Beyond the cost comparison, we further analyzed how lifetime-aware scheduling changed the ESS cycling behavior, which directly affected degradation and replacement cost.

5.3.2. Device Lifetime of ESS

The SOC of the energy storage system in Case II (proposed method) and Case V (not considering the lifetime) is given below. After statistical analysis using the rain-flow counting method, the equivalent number of cycles was 1.938 in Case V and 1.193 in Case II. The number of charge and discharge cycles decreased obviously after the optimization, as shown in Figure 7, which illustrated the effectiveness of the proposed method in extending the device lifetime and reducing the overall cost.

5.4. Limitations and Potential Improvements

Although the proposed method demonstrates certain advantages in terms of life-cycle cost and operational performance, we have to admit the limitations in this work. First, the measurement delays are not considered in the optimization. This may lead to slightly overly optimistic results, but is unlikely to cause a significant difference. Because the measurement delay is minor compared to the time slot (15 min), it would not lead to a large deviation. Second, the communication failures are not considered in the optimization. This may lead to dropout of computational tasks, but can be avoided by existing algorithms built into the task scheduling platform. Therefore, the above two technical details are ignored in the paper. Third, the study lacks hardware experiments and does not address detailed control processes, as it primarily focuses on a static optimization of modeling and planning rather than a real-time control strategy.
In future research, we plan to explore the real-time control process and conduct real-time simulation in validation using tools such as Simulink. Furthermore, the simulation step size is set to 15 min rather than a shorter time scale. This is due to the fact that the original data used in the study was recorded at 15 min intervals. In practical applications, this issue can be addressed by collecting or experimentally obtaining higher-resolution data.

6. Conclusions

This paper presents a capacity planning approach for grid-forming battery energy storage systems that explicitly accounts for device lifetime by embedding battery degradation effects into the optimization objective using the rain-flow counting algorithm. In addition, a hybrid optimization framework integrating a genetic algorithm, rain-flow counting, and the branch-and-cut method is established to efficiently solve the formulated problem. Simulations on 12 typical days, conducted using the Gurobi solver, further confirm the validity and effectiveness of the proposed strategy. Overall, the proposed framework provides a practical and implementable tool for real-world microgrid planning studies when configured with site-specific renewable data, electricity tariffs, and operational constraints.

Author Contributions

Conceptualization, G.Y.; methodology, J.F. and N.W.; software and validation, G.Y. and J.F.; writing, G.Y., Y.G. and K.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research is supported by the Shenzhen Science and Technology Program under Grant JCYJ20250604124234045, the Shandong Provincial Natural Science Foundation Youth Project under Grant ZR2024QE341, the Young Talent of Lifting Engineering for Science and Technology in Shandong, China, under Grant SDAST2025 QTB012, and the Jinan University Youth Talent Project under Grant 1009567.

Data Availability Statement

The data presented in this study are available in [EROCT] at [http://www.ercot.com], reference number [42]. These data were derived from the following resources available in the public domain: [http://www.ercot.com].

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Vickerman, J. Understanding the Iberian Blackout: A Complex Grid Failure Beyond Renewables. RatedPower, 2025. Available online: https://ratedpower.com/blog/Iberian-blackout/ (accessed on 10 December 2025).
  2. Duckwitz, D. What to Expect from Grid-Forming Inverters and How to Facilitate System Stability at 100% Renewables; Energy Systems Integration Group (ESIG): Reston, VA, USA, 2023. [Google Scholar]
  3. Zhong, Q.C.; Weiss, G. Synchronverters: Inverters that mimic synchronous generators. IEEE Trans. Ind. Electron. 2010, 58, 1259–1267. [Google Scholar] [CrossRef]
  4. NEOEN, Australia, Neoen and Tesla Deliver Innovative Inertia Services at Hornsdale Power Reserve Big Battery in Australia, 2025. Available online: https://neoen.com/en/innovations/neoen-tesla-deliver-innovative-inertia-services-hornsdale-power-reserve-big-battery-australia/#:~:text=Located%20in%20a%20critical%20part,million%20people%20and%20150%2C000%20businesses (accessed on 10 December 2025).
  5. Skaria, G.; Marasini, G.; Qu, Z.; Brooker, P.; York, R.; Remo, T.; Fiset, A.; Mulligan, M.; Kramer, J. Experiences and Lessons from Field Demonstration of Grid-forming Inverter in An AC Microgrid. In Proceedings of the 2024 IEEE Power & Energy Society General Meeting (PESGM), Seattle, WA, USA, 21–25 July 2024; pp. 1–5. [Google Scholar]
  6. Schierhorn, P.; Belinchon, P.G.; Belinchon, J.V.M. Techno-Economic Aspects of Grid-Forming Inverters in Small Power Systems. In Proceedings of the 5th International Hybrid Power Systems Workshop, Kaledupa, Indonesia, 19 May 2021. [Google Scholar]
  7. Vinayagam, A.; Swarna, K.S.; Khoo, S.Y.; Oo, A.T.; Stojcevski, A. PV-based microgrid with grid-support grid-forming inverter control—Simulation and analysis. Smart Grid Renew. Energy 2017, 8, 1–30. [Google Scholar] [CrossRef]
  8. Gerini, F.; Zuo, Y.; Gupta, R.; Zecchino, A.; Yuan, Z.; Vagnoni, E.; Cherkaoui, R.; Paolone, M. Optimal grid-forming control of battery energy storage systems providing multiple services: Modeling and experimental validation. Electr. Power Syst. Res. 2022, 212, 108567. [Google Scholar] [CrossRef]
  9. Hu, R.; Li, Y.; Zhang, S.; Shirsat, A.; Tang, W.; Tang, W.; Baran, M.; Lubkeman, D.; Lu, N. A load switching group based feeder-level microgrid energy management algorithm for service restoration in power distribution system. In Proceedings of the 2021 IEEE Power & Energy Society General Meeting, Washington, DC, USA, 26–29 July 2021. [Google Scholar]
  10. Comden, J.; Wang, J. An innovative energy management system for microgrids with multiple grid-forming inverters. In Proceedings of the 2024 IEEE Power & Energy Society General Meeting, Seattle, WA, USA, 21–25 July 2024. [Google Scholar]
  11. Alvarez, W.S.; López, J.C.; Liederer, F.W.; Dotta, D.; Rider, M.J. Dynamic security constrained AC optimal power flow for microgrids. Electr. Power Syst. Res. 2024, 236, 110927. [Google Scholar] [CrossRef]
  12. Song, C.; Wu, J.; Yang, H.; Zhao, D.; Wan, J.; Bai, J. Coordinated scheduling strategy for source-grid-load-storage integrated system considering frequency dynamic security constraint in a 100% renewable energy scenario. IET Gener. Transm. Distrib. 2025, 19, e70096. [Google Scholar] [CrossRef]
  13. Peng, D.; Lee, S.; Choi, S. Renewable-Integrated agent-based microgrid model with grid-forming support for improved frequency regulation. Mathematics 2025, 13, 3142. [Google Scholar] [CrossRef]
  14. Wu, X.; Liu, K.; Wu, Y.; Luo, C.; Tang, Z.; Kerekes, T. Near-optimal energy management strategy for a grid-forming PV and hybrid energy storage system. IEEE Trans. Smart Grid 2025, 16, 1422–1433. [Google Scholar] [CrossRef]
  15. González de Armas, M.; Gómez, S.A.; Arredondo, F.; Rodríguez Amenedo, J.L. Optimal economic dispatch of hybrid microgrids integrating Energy Storage Systems with Grid-Forming Converters. In Proceedings of the 2022 International Conference on Renewable Energies and Power Quality, Vigo, Spain, 27–29 July 2022; pp. 757–762. [Google Scholar] [CrossRef]
  16. Liu, Z.; Li, K.; Zheng, S. Daily Intra Day Collaborative Rolling Optimization Strategy for Solar Energy Storage Power Stations Participating in Multiple Application Scenarios. Power Syst. Tech. 2025, 49, 198–207. [Google Scholar] [CrossRef]
  17. Zhang, Y.J.A.; Zhao, C.; Tang, W.; Low, S.H. Profit-Maximizing Planning and Control of Battery Energy Storage Systems for Primary Frequency Control. IEEE Trans. Smart Grid 2018, 9, 712–723. [Google Scholar] [CrossRef]
  18. Zhu, J.; Qiu, Y.; Zeng, Y.; Zhou, Y.; Chen, S.; Zang, T.; Zhou, B.; Yu, Z.; Lin, J. Exploring the optimal size of grid-forming energy storage in an off-grid renewable P2H system under multi-timescale energy management. arXiv 2024, arXiv:2409.05086. [Google Scholar] [CrossRef]
  19. Yan, Z.; Li, L.; Wu, W.; Song, H.; Che, B.; Jin, P. Energy storage configuration and scheduling strategy for microgrid with consideration of grid-forming capability. Electr. Eng. 2025, 107, 7709–7724. [Google Scholar] [CrossRef]
  20. Huang, D.; Sun, P.; Yao, W.; Liu, C.; Zhai, H.; Gao, Y. Bi-level planning of grid-forming energy storage–hydrogen storage system considering inertia response and frequency parameter optimization. Energies 2025, 18, 3915. [Google Scholar] [CrossRef]
  21. Ma, Y.; Hu, Z.; Song, Y. Hour-Ahead Optimization Strategy for Shared Energy Storage Systems to Provide Frequency Regulation Service. IEEE Trans. Sustain. Energy 2022, 13, 2078–2089. [Google Scholar] [CrossRef]
  22. Yu, L.; Jiang, T.; Cao, Y.; Qi, Q. Carbon-aware energy cost minimization for distributed internet data centers in smart microgrids. IEEE Internet Things J. 2014, 1, 255–264. [Google Scholar] [CrossRef]
  23. Zhao, S.; Khan, N.A.; Nagarajan, S.; Trescases, O. Lithium-Ion-Capacitor-Based Distributed UPS Architecture for Reactive Power Mitigation and Phase Balancing in Datacenters. IEEE Trans. Power Electron. 2019, 34, 7381–7396. [Google Scholar] [CrossRef]
  24. Ahmed, M.H.; Fei, C.; Lee, F.C.; Li, Q. 48-V Voltage Regulator Module with PCB Winding Matrix Transformer for Future Data Centers. IEEE Trans. Ind. Electron. 2017, 64, 9302–9310. [Google Scholar] [CrossRef]
  25. Li, J.; Qi, W. Toward Optimal Operation of Internet Data Center Microgrid. IEEE Trans. Smart Grid 2018, 9, 971–979. [Google Scholar] [CrossRef]
  26. Rao, L.; Liu, X.; Xie, L.; Liu, W. Coordinated Energy Cost Management of Distributed Internet Data Centers in Smart Grid. IEEE Trans. Smart Grid 2012, 3, 50–58. [Google Scholar] [CrossRef]
  27. Qi, W.; Li, J.; Liu, Y.; Liu, C. Planning of Distributed Internet Data Center Microgrids. IEEE Trans. Smart Grid 2019, 10, 762–771. [Google Scholar] [CrossRef]
  28. Li, C.; Liu, Y.; Cao, Y.; Tan, Y.; Xue, C.; Tang, S. Consistency Evaluation of Low-carbon Generation Dispatching and Energy-saving Generation Dispatching. Proc. CSEE 2011, 31, 94–101. [Google Scholar]
  29. Na, H.; Sun, J.; Qiu, Z.; Yuan, Y.; Du, T. Optimization of energy efficiency, energy consumption and CO2 emission in typical iron and steel manufacturing process. Energy 2022, 257, 124822. [Google Scholar] [CrossRef]
  30. Ding, Z.; Xie, L.; Lu, Y.; Wang, P.; Xia, S. Emission-Aware Stochastic Resource Planning Scheme for Data Center Microgrid Considering Batch Workload Scheduling and Risk Management. IEEE Trans. Ind. Appl. 2018, 54, 5599–5608. [Google Scholar] [CrossRef]
  31. Yang, T.; Jiang, H.; Hou, Y.; Geng, Y. Study on Carbon Neutrality Regulation Method of Interconnected Multi-datacenter Based on Spatio-temporal Dual-dimensional Computing Load Migration. Proc. CSEE 2022, 42, 164–177. [Google Scholar] [CrossRef]
  32. Zhou, Z.; Liu, F.; Zou, R.; Liu, J.; Xu, H.; Jin, H. Carbon-Aware Online Control of Geo-Distributed Cloud Services. IEEE Trans. Parallel Distrib. Syst. 2016, 27, 2506–2519. [Google Scholar] [CrossRef]
  33. Cao, F.; Wang, Y.; Zhu, F.; Cao, Y.; Ding, Z. UPS Node-Based Workload Management for Data Centers Considering Flexible Service Requirements. IEEE Trans. Ind. Appl. 2019, 55, 5533–5542. [Google Scholar] [CrossRef]
  34. Ye, G.; Gao, F. Coordinated Optimization Scheduling of Data Center and Electricity Retailer Based on Cooperative Game Theory. CPSS Trans. Power Electron. Appl. 2022, 7, 273–282. [Google Scholar] [CrossRef]
  35. Pratt, A.; Kumar, P.; Aldridge, T.V. Evaluation of 400V DC Distribution in Telco and Data Centers to Improve Energy Efficiency. In Proceedings of the INTELEC 07—29th International Telecommunications Energy Conference, Rome, Italy, 30 September–4 October 2007; pp. 32–39. [Google Scholar]
  36. Wang, Q.; Guan, Y.; Wang, J. A Chance-Constrained Two-Stage Stochastic Program for Unit Commitment with Uncertain Wind Power Output. IEEE Trans. Power Syst. 2012, 27, 206–215. [Google Scholar] [CrossRef]
  37. CPLEXIBMILOG, version 12.1; User’s Manual for CPLEX; International Business Machines Corporation: Armonk, NY, USA, 2009.
  38. Hu, B.; Cao, Z.; Zhou, M. Energy-Minimized Scheduling of Real-Time Parallel Workflows on Heterogeneous Distributed Computing Systems. IEEE Trans. Serv. Comput. 2021, 15, 2766–2779. [Google Scholar] [CrossRef]
  39. Guo, J.; Chang, Z.; Wang, S.; Ding, H.; Feng, Y.; Mao, L.; Bao, Y. Who Limits the Resource Efficiency of My Datacenter: An Analysis of Alibaba Datacenter Traces. Proc. Int. Symp. Qual. Serv. 2019, 39, 1–10. [Google Scholar]
  40. Ye, G.; Gao, F.; Fang, J.; Zhang, Q. Joint Workload Scheduling in Geo-Distributed Data Centers Considering UPS Power Losses. IEEE Trans. Ind. Appl. 2023, 59, 612–626. [Google Scholar] [CrossRef]
  41. Gu, Z.; Rothberg, E.; Bixby, R. Gurobi Optimizer Reference Manual. 2016. Available online: http://www.gurobi.com (accessed on 10 December 2025).
  42. ERCOT. Available online: http://www.ercot.com (accessed on 10 December 2025).
Figure 1. Framework of the planning optimization.
Figure 1. Framework of the planning optimization.
Energies 19 00639 g001
Figure 2. Relationship between computational workload and real-time power.
Figure 2. Relationship between computational workload and real-time power.
Energies 19 00639 g002
Figure 3. Rain-flow counting algorithm.
Figure 3. Rain-flow counting algorithm.
Energies 19 00639 g003
Figure 5. Wind and solar output rate of typical days in the simulation: (a) typical days with little solar power and abundant wind power; (b) typical days with abundant solar power and wind power; (c) typical days with abundant solar power and average wind power; (d) typical days with abundant solar power and little wind power.
Figure 5. Wind and solar output rate of typical days in the simulation: (a) typical days with little solar power and abundant wind power; (b) typical days with abundant solar power and wind power; (c) typical days with abundant solar power and average wind power; (d) typical days with abundant solar power and little wind power.
Energies 19 00639 g005aEnergies 19 00639 g005bEnergies 19 00639 g005c
Figure 6. Daily average cost in 12 typical days.
Figure 6. Daily average cost in 12 typical days.
Energies 19 00639 g006
Figure 7. State of charge in a typical day.
Figure 7. State of charge in a typical day.
Energies 19 00639 g007
Table 2. Parameters of data centers.
Table 2. Parameters of data centers.
Load Maximum Capacity (MW)
Node 115
Node 215
Node 315
Table 3. Construction cost of microgrid devices.
Table 3. Construction cost of microgrid devices.
Solar ($/MW)Wind ($/MW)Energy Storage ($/MWh)
110,000137,500137,500
Table 4. ESS technical parameters (e.g., degradation coefficients, cycle life at different DOD levels).
Table 4. ESS technical parameters (e.g., degradation coefficients, cycle life at different DOD levels).
DODDegradation CoefficientsCycle Life
100%1300
80%0.6500
60%0.4750
40%0.241250
20%0.122500
Table 5. Parameters of ESS in Case I.
Table 5. Parameters of ESS in Case I.
Max/Min ESS (MWh)Initial/Final State (MWh)Max Power Input/Output (MW)Power Exchange Efficiency
30/5550.9
Table 6. Parameters of microgrid devices in Case I.
Table 6. Parameters of microgrid devices in Case I.
Solar (MW)Wind (MW)Energy Storage (MWh)
302020
Table 7. Day average cost reduction compared to Case II.
Table 7. Day average cost reduction compared to Case II.
CaseCase ICase IIICase IVCase V
Typical Day
12.891.700.912.59
26.821.422.195.53
34.360.982.983.39
44.540.731.023.48
53.011.460.401.03
65.140.801.073.43
72.660.970.481.23
86.641.220.934.04
93.720.850.291.31
105.442.101.263.85
111.511.450.461.49
126.712.512.974.76
Table 8. Parameters of microgrid devices after optimization in typical day 1.
Table 8. Parameters of microgrid devices after optimization in typical day 1.
Solar (MW)Wind (MW)Energy Storage (MWh)
411830
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

Ye, G.; Fang, J.; Wang, N.; Gaogao, Y.; Sun, K. A Grid-Forming Energy Storage System Capacity Planning Method Considering Device Lifetime. Energies 2026, 19, 639. https://doi.org/10.3390/en19030639

AMA Style

Ye G, Fang J, Wang N, Gaogao Y, Sun K. A Grid-Forming Energy Storage System Capacity Planning Method Considering Device Lifetime. Energies. 2026; 19(3):639. https://doi.org/10.3390/en19030639

Chicago/Turabian Style

Ye, Guisen, Jingyang Fang, Nan Wang, Yinan Gaogao, and Kangyuan Sun. 2026. "A Grid-Forming Energy Storage System Capacity Planning Method Considering Device Lifetime" Energies 19, no. 3: 639. https://doi.org/10.3390/en19030639

APA Style

Ye, G., Fang, J., Wang, N., Gaogao, Y., & Sun, K. (2026). A Grid-Forming Energy Storage System Capacity Planning Method Considering Device Lifetime. Energies, 19(3), 639. https://doi.org/10.3390/en19030639

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