Next Article in Journal
Resource Recovery and Synthesis of Battery-Grade FePO4 from Waste LiFePO4 Battery Slag
Previous Article in Journal
An Interpretable Dynamic Feature Search Methodology for Accelerating Computational Process of Control Rod Descent in Nuclear Reactors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Sample-Based Optimal Dispatch of Shared Energy Storage in Community Microgrids Considering Uncertainty

1
School of Electrical Engineering, Southeast University, Nanjing 210096, China
2
College of Electrical and Power Engineering, Hohai University, Nanjing 211100, China
*
Author to whom correspondence should be addressed.
Energies 2025, 18(7), 1828; https://doi.org/10.3390/en18071828
Submission received: 19 February 2025 / Revised: 28 March 2025 / Accepted: 2 April 2025 / Published: 4 April 2025
(This article belongs to the Section D: Energy Storage and Application)

Abstract

Shared energy storage (SES) in communities equipped with renewable energy sources (RESs) can effectively maintain power supply reliability. However, the dispatch of SES is highly influenced by the uncertainty of RES output. Traditional optimization approaches, such as chance-constrained optimization (CC) and robust optimization (RO), have limitations. The former relies heavily on distribution information, while the latter tends to be overly conservative. The above problems are prominent when the size of available samples is limited. To address this, we introduce the concept of statistical feasibility and propose a sample-based robust optimization approach. This approach constructs the uncertainty set through shape learning and size calibration based solely on the sample set and further reconstructs it by introducing constraint information. Our numerical studies show that the proposed approach can obtain feasible optimal results with a 10.82% cost increase compared to deterministic optimization, and the reconstruction of the uncertainty set can increase the level of utilization of the stability requirement to around 0.05. Comparisons with several traditional optimization approaches demonstrate the effectiveness of the proposed approach.

1. Introduction

Energy storage can provide significant flexibility for new power systems with high penetration of renewable energy sources (RESs), so it has been well studied in the past [1]. In community microgrids, the adoption of shared energy storage (SES) can enhance the utilization of clean and low-cost energy, thereby reducing electricity costs. However, the uncertainty of RES output may introduce challenges in the dispatch of SES, which needs to be taken seriously and effectively addressed [2].
The main uncertainty in community microgrids arises from the inaccuracy of the forecasted RES output, such as wind and solar power [3,4]. If the output curves of wind and solar power could be accurately obtained, i.e., their distribution information was known, then stochastic optimization (SO) [5] or chance-constrained optimization (CC)  [6] could be applied. However, accurate knowledge in this regard is generally not available, and research is often based only on limited samples. In this case, traditional approaches for dealing with uncertainty may become infeasible [7].
To address this issue, we propose a data-driven approach that relies solely on samples to optimize the dispatch of SES in community microgrids. We first introduce the concept of statistical feasibility to measure the quality of the available samples and transform the traditional CC problem into a sample-based robust optimization (SRO) problem. Furthermore, by introducing constraint information and reconstructing the uncertainty set, the SRO is converted into a reconstructed sample-based robust optimization (RSRO), the conservativeness of which is significantly reduced. Finally, solution methodologies are provided for the uncertain parameters in both the objective function and the constraints, ensuring that the proposed approach can solve the problem efficiently.

1.1. Related Works

In the numerous studies conducted on SES, the method of handling uncertainty has garnered significant attention. Bayram et al. studied the architecture of SES in residential scenarios, where the uncertainty of different users’ power demands was taken into account [8]. To maximize the arbitrage of SES, Dai et al. used robust optimization (RO) to carry out an interaction game among multiple users under energy price uncertainty [9]. In addition, uncertainty also exists on the energy supply side, which directly affects the stable operation of the SES system, making it crucial to address this issue properly [10,11]. Wang et al. used a Bayesian robust optimization model to solve the energy storage optimization problem, where the output uncertainty of wind and solar power was addressed by generating scenarios to fit the forecasted output curves [12]. Similarly, the uncertainties on both the supply and demand sides were given significant attention in day-ahead optimization in order to obtain the optimal demand response strategy with SES [13].
The volatility of wind and photovoltaic (PV) power output in microgrids is the main source of uncertainty in microgrid systems. Generally, existing research deals with this uncertainty problem from two perspectives. One is to make a probabilistic prediction of wind and PV output, and then optimize energy dispatch based on the predicted value. For example, Mehrjerdi et al. used Gaussian distribution to assume the output characteristics of PV in building systems to deal with uncertainty, and then optimized the coordination of hydrogen storage and fuel cells [14]. Lu et al. used randomly generated scenarios to describe the uncertainty of RES output and completed the modeling of multi-microgrid system dispatch [15]. In addition, random process simulation methods such as Monte Carlo simulation and Markov chain have also been used [16]. The other perspective is to give interval constraints and use the worst-case scenario for optimal dispatch to ensure the robustness of results. For example, in  [17], the uncertainty of the electricity generated by solar panels was measured by the upper and lower limit output constraints to complete the construction of an optimal dispatch model for energy storage. Both kinds of methods require obtaining prior information about the distribution of uncertain parameters. In reality, RES output prediction is generally based on historical data. How to perform optimal dispatch based only on known historical samples is a problem worth studying.
The performance of different approaches varies depending on the information of uncertain parameters we can obtain when solving the problem. If the distribution information of uncertain parameters is known, approaches such as scenario generation(SG) or CC can handle the issue. Walker et al. represented the distribution of uncertain parameters using a discrete finite sample set to design the control strategy for SES in residential scenarios [18]. Chance-constrained optimization was used by Huang et al. to address the uncertainties present in household energy management [19]. However, the aforementioned approaches have high requirements for the specific distribution information of uncertain parameters and pose significant computational challenges in multi-scenarios and probabilistic constraint settings. RO is often used to handle optimization problems with unknown distributions of uncertain parameters [20,21]. However, since it requires ensuring that constraints are met under worst-case scenarios with small probabilities, the results tend to be very conservative [22]. As a result, some researchers have adopted distributionally robust optimization (DRO) methods, which reduce the need for unavailable information while making the optimization results less conservative [23,24]. However, DRO still requires assumptions about the distribution of uncertain parameters rather than being entirely data-driven and based on the current samples when solving optimization problems [25].
In summary, there are two gaps in the current research. The first one concerns how to use only historical samples instead of prior information of uncertain parameters for SES dispatch, and the other concerns how to reduce the dependence of traditional approaches on uncertain parameter distribution characteristics. To address the shortcomings above, we propose our approach based on the concept of statistical feasibility [26], which is entirely based on sample data and avoids reliance on the specific distribution of uncertain parameters [27]. Additionally, by constructing and reconstructing the robust uncertainty set, our approach can continuously reduce the conservativeness of the optimization results. Specifically, a comparison between our approach and existing methods is shown in Table 1 below.

1.2. Our Contributions

The contributions of this paper are as follows:
  • We have constructed a community microgrid model with SES under deterministic and chance-constrained conditions with wind output uncertainty. The model is transformed into SRO and RSRO by introducing the concept of statistical feasibility. The uncertainty set is constructed and reconstructed based only on samples and constraint information, gradually reducing the conservatism of the proposed approach.
  • The uncertainty in the objective function is handled using the sample average approximation (SAA) method, and the nonlinear terms in the constraints are dealt with using Slater’s condition, thereby enabling the practical solution of the proposed RSRO approach.
  • The proposed approach is tested using a community example with three microgrids. Benchmarks and evaluation metrics are developed to verify the effectiveness of the approach. Compared with traditional approaches, the optimization results demonstrate the proposed approach’s superiority.
Section 2 constructs the community microgrid model with SES, including deterministic and opportunity-constrained conditions. Section 3 introduces the concept of statistical feasibility and transforms the problem into SRO and RSRO, highlighting the construction of the uncertainty set. Section 4 and Section 5 present the solution methodology and numerical studies, respectively. Finally, Section 6 concludes the paper.

2. System Model

This section establishes a community model comprising multiple microgrids equipped with SES to meet the energy utilization and storage needs of the entire community. Each microgrid contains renewable energy generation stations and user loads while also being connected to the external grid to ensure power stability. Figure 1 illustrates the detailed system structure.
To simplify the problem, several reasonable assumptions are made for the system, specifically including the following:
  • The generation cost of renewable energy is assumed to be zero.
  • The SES system can only charge or discharge at any given moment concerning each microgrid. However, its charging and discharging states can vary between different microgrids.
  • The charging and discharging efficiency of the SES system is considered to be constant.

2.1. Deterministic Model

The community operator aims to meet the user’s power demand at the lowest cost. The objective function is detailed as follows:
( PO )   min t T i N Δ t λ g r i d t g i t + γ ω i , c u r t + C S E S p i , d i s t + p i , c h s t
where t and T denote the index and set of time periods, and i and N denote the index and set of microgrids. Δ t is a time interval. λ g r i d t refers to the power price of the external grid. g i t and ω i , c u r t denote the output of the external grid and renewable energy curtailment in microgrid i at time t, respectively. The curtailment penalty is γ , and the variable cost of SES is denoted as C S E S . The SES’s charging and discharging power in microgrid i at time t are denoted by p i , c h s t and p i , d i s t , respectively.
The decision variables in the above equation are g i t , p i , d i s t , and p i , c h s t . The three terms in the objective function represent, in order, the cost of purchasing electricity from the external grid, the cost of curtailing wind and solar power, and the cost of energy storage, charging, and discharging losses.
For any microgrid within the community, it is necessary to maintain a power balance in the system at any given time, that is,
g i t + ω i t ω i , c u r t + p i , d i s t p i , c h s t = d i t
where ω i t and d i t denote the output of renewable energy and load in microgrid i at time t.
The left side of the equation represents the total power generation of microgrid i at time t, which includes the input power from the external grid, the renewable energy generation, and the net discharge of energy storage. The right side of the equation represents the corresponding total load.
The power transmitted from the external grid to the microgrid must satisfy the transmission line power limit, yielding the transmission line capacity constraint.
0 g i t g i t ¯
where g i t ¯ denotes the output limit of the external grid for microgrid i at time t.
The constraint related to renewable energy within the microgrid is the maximum generation capacity constraint:
0 ω i t ω i t ¯
where ω i t ¯ represents the maximum forecasted output of renewable energy.
For the SES within the community, the constraints that need to be satisfied are as follows:
0 E t = E t 1 + i N η p i , c h s t p i , d i s t η E ¯ ,   t 1
E t = E ¯ 2 , t = 0
0 p i , d i s t p i , d i s ¯ u i , d i s t
0 p i , c h s t p i , c h s ¯ u i , c h s t
u i , d i s t + u i , c h s t = 1
u i , d i s t , u i , c h s t { 0 , 1 }
where E t denotes the capacity of SES at time t, and its maximum is denoted as E ¯ . The efficiency of the SES is set to η . p i , d i s ¯ , and p i , c h s ¯ denotes the limit of discharge and charge in microgrid i. In addition, u i , d i s t and u i , c h s t indicate whether the SES has a discharging or charging status, with a value of 1 indicating Yes and a value of 0 meaning No.
Equations (5) and (6) describe the capacity limits of SES, requiring its capacity to remain within the allowable range at any given time, with the initial capacity set at half of the maximum capacity. Equations (7) and (8) impose limits on the maximum discharge and charge power, respectively. Equation (9) denotes that the SES can only be in a charging or discharging state concerning any individual microgrid. Finally, Equation (10) describes the values of the charge and discharge state variables.
Finally, in order to promote the consumption of renewable energy within the microgrid, an upper limit on curtailed wind and solar power is set, which is expressed as follows:
0 ω i , c u r t ω i , c u r t ¯
where ω i , c u r t ¯ denotes the curtailment limit of renewable energy in microgrid i at time t.

2.2. Uncertainty Analysis

In the previous section, we introduce the model for a community microgrid with SES under deterministic conditions, where neither the objective function nor the constraints include uncertain parameters. The deterministic model is obtained based on the known wind power output, and the predicted value is generally used as a substitute for calculation. However, the wind power output is significantly affected by meteorological conditions and fluctuates significantly, resulting in a certain gap between the actual and predicted output values, which is the source of uncertainty in the system. The explanation of uncertainty in the system is shown in Figure 2, where T − 1 refers to the dispatch formulation stage, and T refers to the real-time stage.
In order to measure the magnitude of wind power output fluctuations, the prediction error decomposition method is used to characterize the uncertainty in wind output prediction. The time-varying prediction error is expressed equivalently by the error parameter value and its sample count, as detailed in Figure 3.
Specifically, we use ω i t ˜ to denote the predicted output of renewable energy so that the practical output can be expressed as the sum of the predicted one and the prediction error, as shown below:
ω i t = ω i t ˜ + ξ i t

2.3. Chance-Constrained Model

Based on the uncertainty analysis, a CC model is employed to define the constraints as still being met at a given confidence level to assess the satisfaction of constraints in the system when uncertainty is introduced. In detail, Equation (11) is reconstructed into the following corresponding chance-constrained form, with the confidence level set to ρ .
P ω i , c u r t ω i , c u r t ¯ 1 ρ
Because ω i , c u r t varies with the variables g i t , p i , d i s t , and p i , c h s t , we can define it as the function H ( · ) . Additionally, a is used to denote the variable set { g i t , p i , d i s t , p i , c h s t } , so it can be determined that ω i , c u r t = H a , ξ i t . Therefore, the original PO problem can be transformed into a chance-constrained optimization (CC) problem, as detailed below:
( CC ) min t T i N Δ t λ g r i d t g i t + γ H a ( i , t ) , ξ i t + C S E S p i , d i s t + p i , c h s t
s . t . C o n s t r a i n t s ( 2 ) ( 10 ) , ( 13 )

3. Sample-Based RO

In this section, we first introduce a sample-based approach for handling the CC problem. Then, based on the system model established in the previous section, the problem is transformed into a tractable RO problem for to obtain a solution.

3.1. Statistical Gurantee

To handle CC, it is necessary to know the probability distribution of the uncertain parameters, i.e., P ( ξ ) . However, in many cases, this requirement cannot be satisfied. In this study, for example, renewable energy output is influenced by various factors, such as equipment conditions and weather, making it difficult to determine its exact probability distribution. Typically, energy dispatch is carried out using predicted output, but the prediction error is also hard to grasp, especially when the number of samples is insufficient. In order to address this issue, the concept of statistical feasibility is introduced.
Definition 1
(Statistical Feasibility [26]). Consider the standard CC: min f ( x ) , s . t . P ( g ( x , ξ ) A ) 1 ρ , where x is the decision variable, ξ is the uncertain parameter, and A is feasible region. D ξ = { ξ 1 , ξ 2 , , ξ n } denotes a continuous i.i.d. data set. We consider an approach to have statistical feasibility when the optimal solution it generates, denoted as x * , can satisfy the constraints at a certain confidence level for any given D ξ .
P D ξ P ξ g x * , ξ A 1 ρ 1 δ
Equation (15) can be understood from two perspectives. First, the inner part is a probabilistic constraint, similar to traditional CC, requiring that the constraints be satisfied with a probability of 1 ρ as the value of the uncertain variable ξ changes. The outer part is significantly different. Its uncertainty arises from selecting the sample set D ξ , requiring that the inner constraint is satisfied at a confidence level of 1 δ for all possible sample sets. This is the essential difference between statistical feasibility and traditional CC.
A simple RO, similar to the CC illustrated in Definition 1, can be formulated as min f ( x ) , s . t . g ( x , ξ ) A , x U , where U is the uncertainty set in RO. RO requires that the constraint g ( x , ξ ) A be satisfied for any feasible point within the uncertainty set U . If we appropriately select U such that it covers the range of all possible values of ξ within 1 ρ , i.e., making U satisfy P ξ U 1 ρ , then the solution x generated by RO is guaranteed to satisfy CC [26], that is,
P g x , ξ A P ξ U 1 ρ
It is worth noting that the first inequality in Equation (16) arises from the inherent conservation of the RO approach. The above equation provides a method for transforming CC into RO when a specific sample set is given.
In the context where renewable energy output cannot be accurately predicted, and only a limited number of prediction error samples can be collected, the above theory is directly applied to the model proposed in this study. Based on the definition of statistical feasibility, Equation (13) can be transformed into
P D ξ P ξ H a ( i , t ) , ξ i t ω i , c u r t ¯ 1 ρ 1 δ
Furthermore, by establishing an uncertainty set U ( ξ ) that covers the 1 ρ portion of the possible values of ξ with a confidence level of 1 δ , i.e., P P ξ i t U ( ξ ) 1 ρ 1 δ , Equation (17) can be transformed into
H a , ξ i t ω i , c u r t ¯ , ξ i t U
Based on the above analysis, the CCO problem can be transformed into a sample-based robust optimization (SRO) problem as follows:
( SRO ) min t T i N Δ t λ g r i d t g i t + γ H a ( i , t ) , ξ i t + C S E S p i , d i s t + p i , c h s t
s . t . C o n s t r a i n t s ( 2 ) ( 10 ) , ( 18 )

3.2. Uncertainty Set Construction

The above discussion motivates us to seek appropriate methods for constructing the uncertainty set U . Considering the conservativeness of RO and the convenience of solving the problem, the selection of U is expected to follow the following principles:
  • It is necessary to find the smallest possible uncertainty set that satisfies the given conditions, which means that U should cover the high-probability regions (HPRs) [28] of ξ . This approach will better capture the distributional characteristics of ξ and reduce conservatism.
  • The shape of the uncertainty set affects the complexity of the problem. In this study, U with the shape of an ellipsoid is chosen to reduce the computational difficulty [29].
Given a sample set D ξ containing i.i.d. ξ with a sample size of n, we divide it into two subsets, denoted as D ξ 1 and D ξ 2 , with sample sizes of n 1 and n 2 , respectively. The uncertainty set U is determined through the following two steps:
Step 1 (shape learning): Assume that the samples in D ξ 1 are located within an ellipsoid, denoted as D ξ 1 = { ξ | ( ξ μ ) Σ 1 ( ξ μ ) s 1 } , where μ is the sample mean in D ξ 1 , Σ is the sample covariance matrix, and s 1 is a scalar that reflects the size of the uncertainty set.
Step 2 (size calibration): The size of the uncertainty set is determined using D ξ 2 . First, we define a mapping t ( · ) = { ( ξ μ ) Σ 1 ( ξ μ ) } that reduces the dimension of the parameter ξ to a scalar. Then, the shape formulated from Step 1 is equivalent to { ξ | t ( ξ ) s } . The value of s is determined using the quantile estimation method. By sorting t ( ξ ) in ascending order to obtain t ( ξ ( k * ) ) , where t ( ξ ( 1 ) ) t ( ξ ( 2 ) ) t ( ξ ( n 2 ) ) , the indices corresponding to the 1 ρ content with the confidence level 1 δ satisfy the following:
k * = min i : k = 0 i 1 C k n 2 1 ρ k ρ n 2 k 1 δ , 1 i n 2
According to Equation (20), s 1 can be obtained by s 1 = t ( ξ ( k * ) ) . It is worth noting that Equation (20) must satisfy the existence condition [30]: 1 ( 1 ρ ) n 2 1 δ , i.e.,  n 2 log 1 ρ ( δ ) . In summary, based on the parameters μ , Σ , and s 1 , the uncertainty set U can be obtained, ensuring that Equation (18) is satisfied. The process of constructing the uncertainty set is summarized in Algorithm 1.
Algorithm 1 Uncertainty Set Construction of SRO
1:
Initialize  D ξ ,   n ,   ρ ,   δ
2:
Devide D ξ into subset D ξ 1 and D ξ 2 , with sample sizes of n 1 and n 2 , respectively
3:
Calculate μ and Σ based on subset D ξ 1
4:
Define a dimension-collapsing map function t ( · ) and calculate t ( ξ ) for all ξ D ξ 2
5:
Sort t ( ξ ) in ascending order: t ( ξ ( 1 ) ) t ( ξ ( 2 ) ) t ( ξ ( n 2 ) )
6:
Calculate s 1 i.e., k * according to Equation (20) and verify the existence
7:
Determine the uncertainty set U
8:
return  U

3.3. Uncertainty Set Reconstruction

The above analysis already achieves the definition of statistical feasibility and the construction of the uncertainty set. Without knowledge about the distribution of uncertain parameters, an ellipsoidal shape is chosen as the basis for creating the uncertainty set. However, this approach neglects the specific form of constraints and the characteristics of feasible solutions, making the results of SRO still overly conservative. In this subsection, we propose an approach to address this issue by reconstructing the uncertainty set.
Assuming a ^ = [ g i t ^ , p i , d i s t ^ , p i , c h s t ^ ] is the solution to SRO, it can be determined that
P H a ^ ( i , t ) , ξ i t ω i , c u r t ¯ P ξ U 1 ρ
The first inequality indicates a gap between the probability guarantee of the feasible solution and the constructed uncertainty set. If we chose U = { ξ | H a ^ ( i , t ) , ξ i t ω i , c u r t ¯ } , this gap would disappear. The reconstructed uncertainty, denoted as U , is as follows:
U = ξ | H a ^ ( i , t ) , ξ i t ω i , c u r t ¯ + s 2
Given a sample set D ξ with n samples, we split it into D ξ 1 and D ξ 2 with sample sizes of n 1 and n 2 , respectively. Similarly, two steps determine the shape and size of U .
Step 1 (shape learning): The sample set D ξ 1 is directly fed into Algorithm 1, yielding the initial solution a ^ to the SRO problem.
Step 2 (size calibration): Define a new mapping function t ( · ) = H a ^ ( i , t ) , ξ i t ω i , c u r t ¯ , which serves to reduce the dimensionality of ξ into a scalar. Using the sample set D ξ 2 , apply a filtering method similar to the approach used in Step 2 of Algorithm 1 to obtain the index value i * , which is used to determine the size parameter s 2 of U . The reconstruction process corresponding to U is shown in Algorithm 2.
Thus, Equation (18) can be transformed into
H a , ξ i t ω i , c u r t ¯ , ξ i t U
In summary, we can obtain the reconstructed sample-based robust optimization (RSRO) problem based on the reconstructed uncertainty set U , as detailed below:
( RSRO ) min t T i N λ g r i d t g i t + γ H a ( i , t ) , ξ i t + C S E S p i , d i s t + p i , c h s t
s . t . C o n s t r a i n t s ( 2 ) ( 10 ) , ( 23 )
Algorithm 2 Uncertainty Set Reconstruction of RSRO
1:
Initialize  g i t ,   p i , d i s t ,   p i , c h s t ,   D ξ ,   n ,   ρ ,   δ
2:
Devide D ξ into subset D ξ 1 and D ξ 2 , with sample sizes of n 1 and n 2 , respectively
3:
Calculate a ^ = [ g i t ^ , p i , d i s t ^ , p i , c h s t ^ ] based on subset D ξ 1 and Algorithm 1
4:
Define a dimension-collapsing map function t ( · ) and calculate t ( ξ ) for all ξ D ξ 2
5:
Sort t ( ξ ) in ascending order: t ( ξ ( 1 ) ) t ( ξ ( 2 ) ) t ( ξ ( n 2 ) )
6:
Calculate s 2 i.e., k * according to equation similar to Equation (20) and verify the existence
7:
Determine the uncertainty set U
8:
return  U

4. Solution Methodology

This section introduces the solution methodology for the proposed model when uncertain parameters are present. Upon revisiting the original model, it is found that uncertain parameters exist in both the objective function and the constraints, so the analysis is also conducted from these two aspects.

4.1. Uncertainty in Objective Function

In the objective function Equation (1), the uncertainty only comes from the item γ ω i , c u r t . In combination with Equations (2) and (12), it can be determined that
γ ω i , c u r t = γ g i t + p i , d i s t p i , c h s t d i t + ω i t + ξ i t
In order to handle uncertainty, we introduce the expected value of γ ω i , c u r t as an approximation, that is,
γ ω i , c u r t γ E ω i , c u r t
Furthermore, given a sample set D ξ with a sample size of n, the sample average approximation (SAA) [31,32] method is used to approximate the expected value of the objective function. The details are as follows:
E ω i , c u r t = 1 n k = 1 n ω i , c u r t | ξ i ( k ) t = 1 n k = 1 n g i t + p i , d i s t p i , c h s t d i t + ω i t + ξ i ( k ) t
Based on the above analysis, the objective function can be directly determined by the decision variables a = [ g i t , p i , d i s t , p i , c h s t ] and the sample set D ξ , making the optimization problem easier to solve.

4.2. Linear Transformation for Robust Constraints

When solving RO problems with uncertainty sets, difficulties often arise from non-convexity and non-linearity. To facilitate the resolution of the proposed RSRO problem, it is necessary first to linearize Equation (23), which can be expanded as follows:
g i t + ω i t + ξ i t + p i , d i s t p i , c h s t d i t ω i , c u r t ¯ , ξ i t U
The above equation shows a linear additive relationship between the uncertainty parameters and the decision variables. Intuitively, combining this with the construction process of U yields:
g i t + ω i t + ϕ i t + p i , d i s t p i , c h s t d i t ω i , c u r t ¯ , ξ i t U
where ϕ i t satisfies:
ϕ i t = max ξ i t
s . t . ( ξ μ ) Σ 1 ( ξ μ ) s 1
Using the Slater condition [33,34] to ensure the validity of strong duality, then, we can obtain
ϕ i t = max min [ ξ i t + λ ( ξ μ ) Σ 1 ( ξ μ ) s 1 ]
s . t . λ 0
Considering the positive definiteness of the covariance matrix Σ , the above optimization issue can be directly solved and we can obtain
ϕ i t = μ + s 1 Σ 1 / 2 2
Thus, the RSRO problem with uncertain parameters is transformed into a deterministic optimization problem, which is more traceable and can be solved with Cplex or Gurobi.
In summary, the formulation of the optimal dispatch problem and the modeling process of the proposed SRO and RSRO approaches are illustrated in Figure 4.

5. Numerical Studies

In this section, we establish a community multi-microgrid scenario with SES. We compare the proposed approach with traditional methods and analyze the results through practical case studies.

5.1. System Data and Analysis of Results

The system structure aligns with that shown in Figure 1. Specifically, the community microgrid includes three individual microgrids labeled M 1 , M 2 , and M 3 , each containing renewable energy generation units and corresponding loads. Since they are located within the same community, the forecasted and actual renewable energy outputs are identical across the three microgrids. For convenience, the renewable energy is assumed to be wind power. Additionally, the community has an SES unit connected to all three microgrids. All three microgrids are connected to the external grid to ensure power supply reliability.
The forecasted renewable energy output is based on processed data from a wind farm in northwest China [35], with forecast errors assumed to follow a Gaussian distribution. The external grid electricity price adopts a basic time-of-use pricing model, including peak, flat, and valley periods [36]. The predicted and actual output data of wind power and the corresponding prediction errors, which were obtained from Shaanxi Province on 23 October 2023, are shown in Figure 5. The weather was sunny that day, with a wind speed of about 3.5 m/s, and the corresponding wind turbine diameter was about 80 m. The external grid electricity prices are shown in Figure 6. The maximum capacity of SES was set to 10 MWh, and other parameters in the system are illustrated in Table 2. The numerical study was performed on a computer with Intel Core i5-12400F and 32G RAM, and the optimization problem was solved by GUROBI 10.0.2. The optimization results of the system with ρ = δ = 0.05 for a data set with 600 samples are shown in Figure 7.
From the first three subfigures in Figure 7, we can observe that during the period from 0 to 5 h, when the wind power output is higher than the electricity demand, the load of each microgrid can be fully supplied by wind power. Additionally, surplus electricity can be used to charge the SES and even produce a small amount of wind power curtailment. Starting from 6 h, the wind power output is lower than the electricity demand. In this case, besides consuming the electricity stored in the SES by discharging, external electricity needs to be purchased to compensate for the electricity gap between supply and demand. Figure 7d, which shows the state of SES, also reflects that the capacity is replenished through charging from 0 to 5 h and then rapidly discharged until it is depleted. The initial capacity is 5 MW. From 0 to 5 h, the capacity of the SES quickly rises to its maximum value of 6.05 MW as each microgrid charges the SES and consumes its surplus power. Subsequently, the wind output cannot afford the loads due to the increase in the microgrid’s load. Due to the marginal cost of SES being lower than the price of purchasing electricity from the external power grid, energy storage is dispatched first so that the SES discharges and its capacity is rapidly consumed until it drops to 0.

5.2. Benchmarks and Evaluation Metrics

We use the above system to test the proposed approach, while several commonly used optimization methods are chosen for comparison:
(1)
The optimal baseline (OPT): OPT refers to deterministic optimization without forecast errors, where it is assumed that the output of renewable energy can be perfectly predicted, thereby achieving the optimal electricity cost.
(2)
Chance-constrained optimization (CC): The CC method is used for comparison, and it is assumed that the forecast errors of renewable energy output follow a Gaussian distribution.
(3)
Scenario generation (SG): SG represents uncertainty using a set of scenarios, and is also a commonly used stochastic optimization method [38,39]. Several renewable energy output scenarios are set up for comparative analysis.
(4)
Sample-based robust optimization (SRO): SRO is the proposed robust optimization approach based on the concept of statistical feasibility. The uncertainty set is constructed solely from the samples.
(5)
Reconstructed sample-based RO (RSRO): RSRO is the approach proposed in this study, which performs robust optimization based on samples and reconstructed uncertainty sets.
To evaluate the performance of the aforementioned optimization approaches, we performed 100 trials for each set of samples and focused on two indicators, the effectiveness of the optimization objective and the probability of constraint violations during the optimization process, which are represented by the cost increase (CI) and the average constraint violation rate (ACVR), respectively. Specifically, CI refers to the percentage increase in the objective function value of other methods compared to the optimal value obtained by the OPT method. ACVR represents the probability of constraint violations after multiple sample tests. The details are as follows:
C I = o b j o b j * o b j *
A C V R = E D ξ P H a ^ ( i , t ) , ξ i t > ω i , c u r t ¯ = 1 100 n D ξ ξ I v i o ( D ξ , ξ )
where o b j denote the objective value of each optimization approach, while o b j * refers to the objective value of OPT. I v i o ( D ξ , ξ ) is the indicator function, whose value is 1 when H a ^ ( i , t ) , ξ i t > ω i , c u r t ¯ , and otherwise, it is 0.
The numerical studies were conducted with an initial setting of ρ = δ = 0.05 and a sample size of 600. Table 3 shows the values of the main parameters obtained. We can see that CC achieves the optimal solution closest to OPT but does not meet the ACVR requirement, making the solution infeasible. The other three approaches all produce feasible solutions, with SG yielding the best results, and RSRO’s ACVR is closest to 0.05.

5.3. Performance Analysis with Varying Sample Sizes

The sample size reflects the distribution information of uncertain parameters, thereby influencing the performance of different optimization approaches. To investigate the change in CI and ACVR obtained by the above approaches at different sample sizes, we chose different sample sets and conduct tests under ρ = δ = 0.05 . The objectives obtained by different approaches under different sample sizes are illustrated in Table 4, and comparisons of the CI and ACVR values are presented in Figure 8 and Figure 9.
As shown in Figure 8, the optimization results obtained by CC are better than those of other approaches, and it is almost unaffected by the sample size. The results obtained by SG are second only to to those obtained by CC. When the sample size is less than 600, the results obtained by SG outperform RSRO’s. However, as the sample size increases, the difference between SG and RSRO becomes negligible. Additionally, the results of SRO are the most conservative due to the inherent conservatism of RO methods. On the other hand, RSRO significantly outperforms SRO, as the reconstruction of the uncertainty set enhances the performance of the optimization approach and reduces its conservatism. Moreover, from Figure 9, we can observe that the optimization results of CC based on Gaussian distribution consistently fail to meet the stability requirements of the sample set (the curve of ACVR is above the given stability requirement curve, indicated by the gray line). This could be due to the assumption that Gaussian distribution does not accurately capture the characteristics of the sample set, highlighting the significant influence of the distribution characteristics on the performance of the CC method. The results of the other three approaches remain feasible throughout. Among them, the ACVR of SG shows a decreasing trend as the sample size increases, indicating that the larger sample size brings more constraints and reduces the likelihood of constraint violations in SG. SRO and RSRO show similar trends in their ACVRs, which increase as the sample size grows. However, it is noteworthy that the ACVR of RSRO tends to approach the gray curve more closely, suggesting that RSRO can better utilize the stability requirements and thus has the potential to yield superior optimization results.
Based on the above analysis, CC based on Gaussian distribution yields the best result, but it is always infeasible under the given stability requirements. SG can provide good results while satisfying the stability requirements. Regarding the optimization results and constraint violation levels, RSRO outperforms SRO significantly. Moreover, compared to the other three approaches, RSRO can best utilize the stability requirements while reducing the conservatism of robust optimization, and this performance is more apparent when the sample size is more significant.

5.4. Performance Analysis with Varying Constraint Stability Requirements

In this subsection, we investigate the performance of different approaches as the stability requirement changes. To eliminate the impact of sample size, we fix the sample size at 600. The objectives of different approaches when the stability requirement varies between 0.05 and 0.6 are shown in Table 5, and the corresponding performance values are detailed in Figure 10 and Figure 11.
Firstly, from Figure 10, it can be observed that the optimization results of different approaches follow a similar trend to the stability requirement changes. The higher the stability requirement, the better the optimization results. When the stability requirement is around 0.05, the SG results are better than RSRO’s. However, as ρ increases, the performance of RSRO improves rapidly and soon surpasses that of SG. When the stability requirement exceeds 0.1, RSRO consistently provides the second-best results after CC. Furthermore, Figure 11 shows that the ACVR of all approaches increases as the stability requirement increases. Specifically, CC still fails to obtain a feasible solution under the given stability requirements, with its ACVR curve consistently above the stability requirement line. The other three approaches, SG, RSO, and RSRO, produce feasible solutions under different stability requirements. Among them, RSRO shows the most significant variation with changes in the stability requirement, followed by RSO, while SG exhibits the least variation. The ACVR of RSRO remains consistently close to the given stability requirement curve.
In summary, although Gaussian-based CC can achieve the best results under different stability requirements, it cannot guarantee feasibility under the given sample set. In contrast, the proposed RSRO approach can effectively utilize the stability requirement to solve optimization problems with uncertainty, demonstrating better performance than SG and SRO.

5.5. Evaluation of Computation Time

We also recorded the computation times in the tests conducted in Section 5.3 and Section 5.4. Due to the large number of tests, the average computation time under different sample sizes in Section 5.3 is denoted as T 1 for comparison. In contrast, the average computation time under different stability requirements in Section 5.4 is T 2 . The results are shown in Figure 12. In addition, the computation time of SG varies significantly with the sample size, which is summarized in Table 6.
Intuitively, as shown in Figure 12, the computation time of SG is significantly higher than that of the other approaches. In fact, SG needs to generate many scenarios to ensure the statistical significance’s reliability, which will slow down the calculation process. At the same time, the increase in sample size will bring more constraints, which will also extend the calculation time. RSRO, on the other hand, can centrally express a large number of sample constraints in the form of uncertainty sets, which can reduce the complexity of the problem and thus reduce the computation time compared to SG.
Table 6 shows that the computation time of SG increases as the sample size grows, with a nearly linear relationship between them. The computation times of SRO and CC are similar. However, since the iterative process of RSRO is roughly twice as long as that of SRO, the computation time of RSRO is more than twice that of SRO.

6. Conclusions

In this paper, we first establish a community model with multiple microgrids equipped with SES and construct a deterministic optimization model to minimize community electricity costs. Considering the uncertainty in renewable energy output forecasts, we transform the problem into a CCO model to control the curtailment ratio. Furthermore, by introducing the concept of statistical feasibility, we convert the problem into SRO. Specifically, the construction of the uncertainty set involves two steps: shape learning and size calibration. To reduce the conservatism of the optimization results, we incorporate constraint characteristics to perform uncertainty set reconstruction and transform the problem into RSRO, for which the solution methodology is customized. The following findings can be summarized from numerical studies:
  • The SES is charged from 0 to 5 h and discharged from 6 h until its capacity drops to 0. The peak capacity of SES reaches 6.05 MWh at 5 h.
  • The proposed approach is compared with traditional methods like CC and SG. The results show that the SRO and RSRO approaches can obtain a 13.34% and 10.82% cost increase compared to OPT when ρ = δ = 0.05 ,   n = 600 .
  • The proposed RSRO approach can maximize the utilization of the stability requirements of the optimization problem and can effectively reduce the conservatism of SRO. Meanwhile, the relatively low computational time ensures the efficiency of the proposed approach.
In future research, we will consider the life-span cost of SES and examine more sources of uncertainty to expand the profit space of SES based on achieving optimal dispatch.

Author Contributions

Conceptualization, K.H. and Q.X.; methodology, K.H.; software, K.H. and S.L.; validation, Y.X.; formal analysis, K.H.; investigation, S.L.; resources, Q.X.; data curation, Y.X.; writing—original draft preparation, K.H.; writing—review and editing, Q.X. and S.L.; visualization, K.H.; supervision, Y.X.; project administration, Q.X. All authors have read and agreed to the published version of the manuscript.

Funding

National Key Researchand Development Program of China (2022YFB2703500).

Data Availability Statement

The data are contained within the paper.

Conflicts of Interest

All authors of this manuscript declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as potential conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
SESShared energy storage
CCOChance-constrained optimization
RORobust optimization
SOStochastic optimization
SROSample-based RO
RSROReconstructed sample-based RO
DRODistributed robust optimization
SAASample average approximation

References

  1. Wang, D.; Liu, N.; Chen, F.; Wang, Y.; Mao, J. Progress and prospects of energy storage technology research: Based on multidimensional comparison. J. Energy Storage 2024, 75, 109710. [Google Scholar] [CrossRef]
  2. Hu, J.; Wang, Y.; Dong, L. Low carbon-oriented planning of shared energy storage station for multiple integrated energy systems considering energy-carbon flow and carbon emission reduction. Energy 2024, 290, 130139. [Google Scholar] [CrossRef]
  3. Wang, W.; Yuan, B.; Sun, Q.; Wennersten, R. Application of energy storage in integrated energy systems—A solution to fluctuation and uncertainty of renewable energy. J. Energy Storage 2022, 52, 104812. [Google Scholar] [CrossRef]
  4. Reza, M.; Hannan, M.; Ker, P.J.; Mansor, M.; Lipu, M.H.; Hossain, M.; Mahlia, T.I. Uncertainty parameters of battery energy storage integrated grid and their modeling approaches: A review and future research directions. J. Energy Storage 2023, 68, 107698. [Google Scholar] [CrossRef]
  5. Garcia-Torres, F.; Bordons, C.; Tobajas, J.; Real-Calvo, R.; Santiago, I.; Grieu, S. Stochastic optimization of microgrids with hybrid energy storage systems for grid flexibility services considering energy forecast uncertainties. IEEE Trans. Power Syst. 2021, 36, 5537–5547. [Google Scholar] [CrossRef]
  6. Zhong, W.; Xie, K.; Liu, Y.; Xie, S.; Xie, L. Chance constrained scheduling and pricing for multi-service battery energy storage. IEEE Trans. Smart Grid 2021, 12, 5030–5042. [Google Scholar] [CrossRef]
  7. Jiang, W.; Lu, C.; Wu, C. Robust scheduling of thermostatically controlled loads with statistically feasible guarantees. IEEE Trans. Smart Grid 2023, 14, 3561–3572. [Google Scholar] [CrossRef]
  8. Bayram, I.S.; Abdallah, M.; Tajer, A.; Qaraqe, K.A. A Stochastic Sizing Approach for Sharing-Based Energy Storage Applications. IEEE Trans. Smart Grid 2017, 8, 1075–1084. [Google Scholar] [CrossRef]
  9. Dai, R.; Charkhgard, H.; Rigterink, F. A robust biobjective optimization approach for operating a shared energy storage under price uncertainty. Int. Trans. Oper. Res. 2022, 29, 1627–1658. [Google Scholar] [CrossRef]
  10. Han, O.; Ding, T.; Zhang, X.; Mu, C.; He, X.; Zhang, H.; Jia, W.; Ma, Z. A shared energy storage business model for data center clusters considering renewable energy uncertainties. Renew. Energy 2023, 202, 1273–1290. [Google Scholar] [CrossRef]
  11. Liu, D.; Cao, J.; Liu, M. Joint Optimization of Energy Storage Sharing and Demand Response in Microgrid Considering Multiple Uncertainties. Energies 2022, 15, 3067. [Google Scholar] [CrossRef]
  12. Wang, Q.; Zhang, X.; Yi, C.; Li, Z.; Xu, D. A Novel Shared Energy Storage Planning Method Considering the Correlation of Renewable Uncertainties on the Supply Side. IEEE Trans. Sustain. Energy 2022, 13, 2051–2063. [Google Scholar] [CrossRef]
  13. Zeng, L.; Gong, Y.; Xiao, H.; Chen, T.; Gao, W.; Liang, J.; Peng, S. Research on interval optimization of power system considering shared energy storage and demand response. J. Energy Storage 2024, 86, 111273. [Google Scholar] [CrossRef]
  14. Mehrjerdi, H.; Iqbal, A.; Rakhshani, E.; Torres, J.R. Daily-seasonal operation in net-zero energy building powered by hybrid renewable energies and hydrogen storage systems. Energy Convers. Manag. 2019, 201, 112156. [Google Scholar]
  15. Si, S.; Sun, W.; Wang, Y. A decentralized dispatch model for multiple micro energy grids system considering renewable energy uncertainties and energy interactions. J. Renew. Sustain. Energy 2024, 16, 015301. [Google Scholar]
  16. Lu, Y.; Alghassab, M.; Alvarez-Alvarado, M.S.; Gunduz, H.; Khan, Z.A.; Imran, M. Optimal distribution of renewable energy systems considering aging and long-term weather effect in net-zero energy building design. Sustainability 2020, 12, 5570. [Google Scholar] [CrossRef]
  17. Mohammadi, F.; Faghihi, F.; Kazemi, A.; Salemi, A.H. The effect of multi-uncertainties on battery energy storage system sizing in smart homes. J. Energy Storage 2022, 52, 104765. [Google Scholar]
  18. Walker, A.; Kwon, S. Design of structured control policy for shared energy storage in residential community: A stochastic optimization approach. Appl. Energy 2021, 298, 117182. [Google Scholar] [CrossRef]
  19. Huang, Y.; Wang, L.; Guo, W.; Kang, Q.; Wu, Q. Chance Constrained Optimization in a Home Energy Management System. IEEE Trans. Smart Grid 2018, 9, 252–260. [Google Scholar] [CrossRef]
  20. Njema, G.G.; Ouma, R.B.O.; Kibet, J.K. A review on the recent advances in battery development and energy storage technologies. J. Renew. Energy 2024, 2024, 2329261. [Google Scholar]
  21. Liang, Z.; Chen, H.; Chen, S.; Wang, Y.; Zhang, C.; Kang, C. Robust Transmission Expansion Planning Based on Adaptive Uncertainty Set Optimization Under High-Penetration Wind Power Generation. IEEE Trans. Power Syst. 2021, 36, 2798–2814. [Google Scholar] [CrossRef]
  22. Ben-Tal, A.; Nemirovski, A. Robust convex optimization. Math. Oper. Res. 1998, 23, 769–805. [Google Scholar]
  23. Li, Y.; Hu, W.; Zhang, F.; Li, Y. Collaborative operational model for shared hydrogen energy storage and park cluster: A multiple values assessment. J. Energy Storage 2024, 82, 110507. [Google Scholar] [CrossRef]
  24. Siqin, Z.; Niu, D.; Li, M.; Gao, T.; Lu, Y.; Xu, X. Distributionally robust dispatching of multi-community integrated energy system considering energy sharing and profit allocation. Appl. Energy 2022, 321, 119202. [Google Scholar] [CrossRef]
  25. Agra, A.; Rodrigues, F. Distributionally robust optimization for the berth allocation problem under uncertainty. Transp. Res. Part B Methodol. 2022, 164, 1–24. [Google Scholar] [CrossRef]
  26. Hong, L.J.; Huang, Z.; Lam, H. Learning-based robust optimization: Procedures and statistical guarantees. Manag. Sci. 2021, 67, 3447–3467. [Google Scholar] [CrossRef]
  27. Lu, C.; Gu, N.; Jiang, W.; Wu, C. Sample-adaptive robust economic dispatch with statistically feasible guarantees. IEEE Trans. Power Syst. 2023, 39, 779–793. [Google Scholar]
  28. Hastie, T.; Tibshirani, R.; Friedman, J. The Elements of Statistical Learning: Data Mining, Inference, and Prediction; Springer: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
  29. Ben-Tal, A.; Nemirovski, A. Robust optimization–methodology and applications. Math. Program. 2002, 92, 453–480. [Google Scholar] [CrossRef]
  30. Campi, M.C.; Garatti, S. The Exact Feasibility of Randomized Solutions of Uncertain Convex Programs. SIAM J. Optim. 2008, 19, 1211–1230. [Google Scholar] [CrossRef]
  31. Kleywegt, A.J.; Shapiro, A.; Homem-de Mello, T. The sample average approximation method for stochastic discrete optimization. SIAM J. Optim. 2002, 12, 479–502. [Google Scholar]
  32. Pagnoncelli, B.K.; Ahmed, S.; Shapiro, A. Sample average approximation method for chance constrained programming: Theory and applications. J. Optim. Theory Appl. 2009, 142, 399–416. [Google Scholar] [CrossRef]
  33. Boyd, S.; Vandenberghe, L. Convex Optimization; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
  34. Arroyo, J.M. Bilevel programming applied to power system vulnerability analysis under multiple contingencies. IET Gener. Transm. Distrib. 2010, 4, 178–190. [Google Scholar] [CrossRef]
  35. Fang, W.; Yang, C.; Liu, D.; Huang, Q.; Ming, B.; Cheng, L.; Wang, L.; Feng, G.; Shang, J. Assessment of Wind and Solar Power Potential and Their Temporal Complementarity in China’s Northwestern Provinces: Insights from ERA5 Reanalysis. Energies 2023, 16, 7109. [Google Scholar] [CrossRef]
  36. Zeng, S.; Li, J.; Ren, Y. Research of time-of-use electricity pricing models in China: A survey. In Proceedings of the 2008 IEEE International Conference on Industrial Engineering and Engineering Management, IEEE, Singapore, 8–11 December 2008; pp. 2191–2195. [Google Scholar]
  37. Mitali, J.; Dhinakaran, S.; Mohamad, A. Energy storage systems: A review. Energy Storage Sav. 2022, 1, 166–216. [Google Scholar] [CrossRef]
  38. Ma, X.Y.; Sun, Y.Z.; Fang, H.L. Scenario generation of wind power based on statistical uncertainty and variability. IEEE Trans. Sustain. Energy 2013, 4, 894–904. [Google Scholar] [CrossRef]
  39. Yan, R.; Wang, J.; Huo, S.; Qin, Y.; Zhang, J.; Tang, S.; Wang, Y.; Liu, Y.; Zhou, L. Flexibility improvement and stochastic multi-scenario hybrid optimization for an integrated energy system with high-proportion renewable energy. Energy 2023, 263, 125779. [Google Scholar] [CrossRef]
Figure 1. The system structure.
Figure 1. The system structure.
Energies 18 01828 g001
Figure 2. Explanation of uncertainty in the system.
Figure 2. Explanation of uncertainty in the system.
Energies 18 01828 g002
Figure 3. Prediction error decomposition.
Figure 3. Prediction error decomposition.
Energies 18 01828 g003
Figure 4. Formulation of problem and modeling process of SRO and RSRO.
Figure 4. Formulation of problem and modeling process of SRO and RSRO.
Energies 18 01828 g004
Figure 5. Wind output and prediction errors.
Figure 5. Wind output and prediction errors.
Energies 18 01828 g005
Figure 6. Time-of-use price and power consumption of each microgrid.
Figure 6. Time-of-use price and power consumption of each microgrid.
Energies 18 01828 g006
Figure 7. Optimization results of the test system. (a) Energy dispatch of M1; (b) energy dispatch of M2; (c) energy dispatch of M3; (d) state of SES.
Figure 7. Optimization results of the test system. (a) Energy dispatch of M1; (b) energy dispatch of M2; (c) energy dispatch of M3; (d) state of SES.
Energies 18 01828 g007
Figure 8. CI under different sample sizes.
Figure 8. CI under different sample sizes.
Energies 18 01828 g008
Figure 9. ACVR under different sample sizes.
Figure 9. ACVR under different sample sizes.
Energies 18 01828 g009
Figure 10. CI under different stability requirements.
Figure 10. CI under different stability requirements.
Energies 18 01828 g010
Figure 11. ACVR under different stability requirements.
Figure 11. ACVR under different stability requirements.
Energies 18 01828 g011
Figure 12. Average computation time of different approaches.
Figure 12. Average computation time of different approaches.
Energies 18 01828 g012
Table 1. Literature review.
Table 1. Literature review.
Ref No.ApproachUncertainty SourcesCharacterization MethodDistribution IndependencyStatistical Feasibility
[10]CCwind outputnormal distribution××
[11,15]SGPV outputscenario generation××
[14]SGPV outputGaussian distribution××
[18]SGPV outputMonte Carlo simulation××
[12,13,20]ROwind and PV outputinterval uncertainty×
[17]ROPV outputinterval uncertainty×
[24]ROwind outputinterval uncertainty×
[16]ROwind and PV outputMarkov chain×
[24]DROPV outputinterval uncertainty×
our approachSRO, RSROwind outputsample dataset
Table 2. Values of parameters in test system.
Table 2. Values of parameters in test system.
UnitPrice.peakPrice.flatPrice.valley γ C S E S  [37] g i t ¯
Value80 USD/MWh60 USD/MWh40 USD/MWh60 USD/MWh4 USD/MWh200 MW
Unit ω i t ¯ p i , d i s ¯ p i , c h s ¯ ω i , c u r t ¯ / ω i t η  [37] E ¯
Value5 MW0.5 MW0.5 MW0.50.910 MWh
Table 3. Performance of different approaches ( ρ = δ = 0.05 ,   n = 600 ).
Table 3. Performance of different approaches ( ρ = δ = 0.05 ,   n = 600 ).
ApproachOPTCCSGSRORSRO
Cost(USD)1257.661342.181392.611425.431393.74
CI(%)06.7210.7313.3410.82
ACVR00.05290.02750.0240.0419
Table 4. Objectives under different sample sizes ( ρ = δ = 0.05 , the cost of OPT is USD 1257.66).
Table 4. Objectives under different sample sizes ( ρ = δ = 0.05 , the cost of OPT is USD 1257.66).
SizeCC (USD)SG (USD)SRO (USD)RSRO (USD)
1001342.421388.211437.251408.96
2001342.301395.501348.761406.19
3001342.181393.991443.791406.32
4001341.801396.381433.231401.03
5001341.921391.731429.711393.99
6001342.181392.611425.431393.74
7001341.671394.241423.921393.49
8001341.551394.751422.161393.24
9001342.801394.491421.031393.30
10001341.421394.371420.531393.32
11001341.291394.491420.281393.24
12001341.551394.391420.331393.46
Table 5. Objectives under different stability requirements ( n = 600 , the cost of OPT is USD 1257.66).
Table 5. Objectives under different stability requirements ( n = 600 , the cost of OPT is USD 1257.66).
Stability Requirement ( ρ )CC (USD)SG (USD)SRO (USD)RSRO (USD)
0.051342.181392.611425.431393.74
0.101340.791391.221420.651389.21
0.151338.651390.341417.131384.94
0.201336.891389.341412.861381.92
0.251336.391388.331409.081378.02
0.301335.891387.331406.061373.87
0.351335.381386.321403.171371.98
0.401334.881385.181401.291369.97
0.451334.631384.181399.781369.09
0.501334.381382.801399.401368.59
0.551334.261381.931398.771368.08
0.601334.131380.911398.021367.71
Table 6. Calculation time of SG under different sample sizes.
Table 6. Calculation time of SG under different sample sizes.
n100200300400500600
Time (s)125.87175.39226.84273.16322.16364.28
n700800900100011001200
Time (s)417.95461.39559.85606.24662.38712.36
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

Hua, K.; Xu, Q.; Li, S.; Xia, Y. Sample-Based Optimal Dispatch of Shared Energy Storage in Community Microgrids Considering Uncertainty. Energies 2025, 18, 1828. https://doi.org/10.3390/en18071828

AMA Style

Hua K, Xu Q, Li S, Xia Y. Sample-Based Optimal Dispatch of Shared Energy Storage in Community Microgrids Considering Uncertainty. Energies. 2025; 18(7):1828. https://doi.org/10.3390/en18071828

Chicago/Turabian Style

Hua, Kui, Qingshan Xu, Shujuan Li, and Yuanxing Xia. 2025. "Sample-Based Optimal Dispatch of Shared Energy Storage in Community Microgrids Considering Uncertainty" Energies 18, no. 7: 1828. https://doi.org/10.3390/en18071828

APA Style

Hua, K., Xu, Q., Li, S., & Xia, Y. (2025). Sample-Based Optimal Dispatch of Shared Energy Storage in Community Microgrids Considering Uncertainty. Energies, 18(7), 1828. https://doi.org/10.3390/en18071828

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