Professional Documents
Culture Documents
Chance Constrained Scheduling and Pricing For Multi-Service Battery Energy Storage
Chance Constrained Scheduling and Pricing For Multi-Service Battery Energy Storage
6, NOVEMBER 2021
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5031
gst Energy sold to the grid in time t (kWh). market, which can quantify each battery’s income from each
pni,t Discharging/charging power of battery i for load service and incentivize batteries to provide services.
shifting in time t (kW), where n ∈ {d, c}. The technical contributions of this paper are as follows.
pni,t (e) Discharging/charging power of battery i for load • We propose a chance-constrained model of batteries
shifting and balancing in time t (kW), where n ∈ incorporating load shifting, balancing, and PFC. In par-
{d, c}. ticular, empirical information of means and variances
n
ri,t Discharging/charging power of battery i for PFC in is derived from real-world frequency deviation data,
time t (kW), where n ∈ {d, c}. characterizing the uncertainty of energy content in PFC.
rk Actual power for PFC in slot k (kW). • We reformulate the chance-constrained multi-service
rm Committed power for PFC (kW). scheduling problem to a mixed-integer second-order cone
si,t (e) Energy stored in battery i in time t considering program (MISOCP) that can be solved by off-the-shelf
uncertainty e (kWh). solvers. However, getting the globally optimal solution
n
xi,t Binary variable indicating the discharging/charging is badly time-consuming due to the big problem size.
state of battery i in time t, where n ∈ {d, c}. We thus develop a heuristic based on penalty alternat-
ing direction method (PADM) [16] to solve the MISOCP.
The results show that the proposed heuristic can obtain
high-quality feasible solutions quickly.
I. I NTRODUCTION • By fixing the integer solution returned by the heuris-
ATTERY energy storage characterized by high ramp tic, the MISOCP becomes a second-order cone program
B rates and fast response can provide power systems with
multiple services such as 1) load shifting [1]: move energy
(SOCP). We then employ the duality of the SOCP to
price the three services in the local market. We also pro-
consumption and generation across time periods to prevent vide theoretical analysis of market equilibrium, individual
network overload, reduce generation cost, and realize energy rationality, and balanced budget. The pricing results
arbitrage; 2) real-time balancing [2], [3]: offset unforeseen show that each battery has a positive utility, i.e., service
real-time variations of consumption and generation to achieve incomes are enough to cover battery costs.
demand-supply balance; 3) frequency control [4]: respond to The novelty of this paper is twofold. 1) We consider multi-
fast frequency deviations for maintaining power quality and period scheduling for batteries to provide three services, which
system stability. In deregulated electricity markets, battery leads to a large-size mixed-integer problem, and then we newly
operators would optimize the use of charging and discharging employ PADM as a heuristic to efficiently solve the problem.
power in multiple services to maximize revenue [5]. Via appro- 2) We use the duality-based pricing method to determine the
priate market and pricing rules, battery operators could be profit allocation among batteries that cooperatively provide
incentivized to increase investment in high-performance bat- multiple services. These two points are the major differences
teries. This will greatly benefit power systems in transitioning compared with the existing works on multi-service energy
to massive use of distributed, intermittent renewable energy storage, e.g., [2], [6]–[14].
sources (RES) and minimum use of controllable thermal
generation.
This paper studies optimal day-ahead scheduling and pric- II. S YSTEM M ODEL
ing for grid-connected batteries that simultaneously provide Consider a local system (e.g., a microgrid) consisting of
three services: 1) load shifting, 2) real-time balancing, and consumers, RES, and batteries. Each battery is indexed by
3) primary frequency control (PFC). The comparison with the i ∈ I := {1, . . . , I}. The scheduling horizon is the next oper-
related works is summarized in Table I. Load shifting is the ating day which is divided into multiple time periods, and
most common battery service based on the foreseeable demand each period is indexed by t ∈ T := {1, . . . , T}. Let Wt be
and RES supply. In contrast, balancing and frequency control the predicted total energy (kWh) produced by RES and Dt be
require that part of battery power is reserved for responding the predicted total energy consumption (kWh) in t. We call
to real-time uncertain variations. In [8]–[11], power reserve (Dt − Wt ) the (net) load of the system in t. Suppose that the
decisions are made based on the upper and lower bounds of load and batteries are connected to a bus without considering
uncertainty. Their reserve results are mostly conservative, lead- line flow limits. The data interaction among different entities
ing to relatively high system costs. Another flexible way to can be implemented by advanced communications and com-
handle uncertainty is to employ distributionally robust chance puting technologies [17], [18]. In what follows, we introduce
constraints [2], [12]–[14], which have been increasingly used the three battery services and the chance-constrained battery
in recent related works. Chance constraints are characterized model.
by the statistical information of uncertainty. Adjusting the
safety parameters in chance constraints can strike a balance
between reliability and economy [15]. In addition, most related A. Load Shifting
works [2], [6]–[14] focus on the scheduling for multi-service Let pdi,t and pci,t denote the discharging and charging power
batteries from a system-wide view but lack discussion on (kW) of battery i in t, respectively. Let gbt and gst be the
profit allocation among multiple batteries that jointly provide energy (kWh) that the system buys from and sells to the grid,
services. In this paper, we propose a pricing method for a local respectively. The energy balance of the system for t ∈ T is
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5032 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
TABLE I
R ELATED W ORKS ON M ULTI -S ERVICE E NERGY S TORAGE
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5033
t
1 d
+ ηic ri,τ
c
(Ec + ec ) − d ri,τ (Ed + ed ) , (12)
τ =1
ηi
where the first square bracket denotes the energy change
caused by load shifting and balancing, and the second square
bracket is the energy change caused by PFC.
Next, we define the chance constraints for pdi,t (e), pci,t (e),
and si,t+1 (e). Without assuming that e follows a certain distri-
Fig. 1. Histograms of the equivalent discharging time ξd . fk is given by bution, we consider that the underlying distribution of e comes
the 10-second frequency deviation data (k = 10 s) measured during Dec. from a family of distributions (i.e., an ambiguity set) that share
2019 in the French grid [19]. the same mean and covariance matrix [15]. According to (4)
and (5), we define a random vector ep,t := {eD,t , eW,t } rep-
resenting the uncertainty relating to {pdi,t (e), pci,t (e)}. Let p,t
the time slots at which the battery is discharged. According be the covariance matrix of ep,t . The ambiguity set for ep,t is
to (10), the discharging energy (kWh) in t is denoted by defined as
fk
rk k = rm k + K d2 rm k p,t := P | EP ep,t = 0, EP ep,t ep,t = p,t , (13)
f max
k∈K d1 ∪K d2 k∈K d1
⎛ ⎞ where P stands for a probability distribution/function. The
chance constraints for discharging and charging power of
⎜ fk ⎟ battery i ∈ I in t ∈ T are written as
= rm k⎝ + K d2 ⎠
d
f max
k∈K 1 inf P 0 ≤ pdi,t (e) + ri,t
d
≤ xi,t
d max
Pi ≥ 1 − p , (14)
P∈ p,t
= rm ξd , (11)
inf P 0 ≤ pci,t (e) + ri,t
c
≤ xi,t
c max
Pi ≥ 1 − p , (15)
where ξd is called the equivalent discharging time (h) of a P∈ p,t
battery that provides PFC in t. By (11), the uncertainty in where Pmax is the maximum discharging/charging power, and
i
PFC is transferred from rk to ξd that is in the time domain. {xi,t
d
, xi,t
c
} are binary variables satisfying
Similarly, if battery i has a committed discharging power of
d in time period t, its discharging energy caused by PFC is
ri,t
d
xi,t , xi,t
c
∈ {0, 1}, d
xi,t + xi,t
c
= 1, (16)
d ξ . Following the same way, we can define the equivalent
ri,t d which means that battery i is either discharged or charged
charging time ξc . in t. Define x := {xi }i∈I where xi := {xi,t d
, xi,t
c
}t∈T . In (14)
According to the definition in (11), ξd is determined by and (15), p > 0 is the safety parameter, a small constant.
predefined parameters {k, fdb , fmax } and uncertain devia- A smaller p implies a smaller chance to violate the power
tions fk . Here, we consider ξd as a random variable with bounds [0, Pmax ].
i
E[ξd ] = Ed and Var[ξd ] = σd2 . Fig. 1 shows the histograms of Similarly, from (12), we define a vector es,t := {eD,1 , . . . ,
ξd [19]. Let ξd = Ed + ed where ed represents the uncertainty eD,t , eW,1 , . . . , eW,t , ed , ec } representing the uncertainty relating
of ξd with E[ed ] = 0 and Var[ed ] = σd2 . Hereafter, we use to si,t+1 (e), with a covariance matrix denoted as s,t . Similar
{Ed , ed } instead of ξd . Similarly, we define Ec as the mean of to (13), define an ambiguity set s,t with respect to es,t . The
ξc and ec as the corresponding uncertainty with E[ec ] = 0 and chance constraint for si,t+1 (e) for i ∈ I, t ∈ T is given by
Var[ec ] = σc2 . In simulation, {Ed , Ec , σd2 , σc2 } are sampling
values derived from the French grid data [19]. Now, we have inf P Simin ≤ si,t+1 (e) ≤ Simax ≥ 1 − s , (17)
P∈
d
ri,t (Ed + ed ) and ri,t
c
(Ec + ec ), which denote the ith battery’s s,t
discharging and charging energy (kWh) caused by PFC in time where and Simax are the minimum and maximum energy
Simin
period t, respectively. These two terms relate to battery energy states of battery i, respectively, and s > 0 indicates the
state evolution and operating cost, which will be presented in chance to violate the energy bounds [Simin , Simax ]. Recall that
the following sections. In this paper, the uncertainty of PFC the uncertainty of PFC is modeled in the time domain in the
is described by {ed , ec }. previous subsection. Thus, the power chance constraints (14)
and (15) only include the uncertainty of balancing, while the
D. Chance-Constrained Battery Model energy chance constraint (17) includes the uncertainties of
both balancing and PFC.
The system uncertainty vector can be formally defined
as e := {{eD,t , eW,t }t∈T , ed , ec } including the uncertainties of
demand, RES, and PFC. Let ηid and ηic be the discharging and III. P ROBLEM F ORMULATION
charging efficiencies of battery i, respectively. Define si,t (e) as A. System Cost Minimization
the energy (kWh) stored in battery i in t under uncertainty e. Let Qbt and Qst be the prices ($/kWh) at which the system
The energy state evolution of battery i is given by buys energy from and sells energy to the grid, respectively.
The cost of trading energy with the grid in t is given by
t
1 d
si,t+1 (e) = si,1 + ηi pi,τ (e) − d pi,τ (e)
c c Qbt gbt − Qst gst . Let Qm be the price ($/kW) of providing PFC
τ =1
ηi to the grid for one day. The corresponding income is Qm rm .
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5034 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
Quadratic functions [15], [20] are used to quantify the bat- 3) Chance Constraints: As per [15], a chance constraint in
tery discharging and charging costs: ϑn,i (χ ) = Cn2,i χ 2 + the form of
Cn1,i χ , ∀n ∈ {d, c}, where {Cn2,i , Cn1,i } are constants. The
inf P v e + w ≤ U ≥ 1 − (21)
system cost minimization problem is given by P∈
can be exactly reformulated as a set of deterministic
min Qbt gbt − Qst gst − Qm rm inequalities:
g,p,a,
r,x t∈T
y2 + v v ≤ (U − z)2 , |w| ≤ y + z,
+ E ϑn,i pni,t (e) + ri,t
n
(En + en ) , (18)
n∈{d,c}, 0 ≤ y, 0 ≤ z ≤ U, (22)
i∈I,t∈T
s.t. (1), (2), (4)–(9), (12), (14)–(17), where {y, z} are auxiliary variables; denotes the covariance
matrix of the random vector e. In (21), is the ambigu-
where a new index n ∈ {d, c} is used to represent discharg- ity set defined with respect to e, similar to (13). Here, we
ing or charging. It can be found that (3) is equivalent to (1) first write the chance constraints (14), (15), (17) in the form
if (4)–(6) hold, so (3) is omitted here. It is difficult to directly of (21), and then transform them into the form of (22).
solve problem (18) due to the random variables e and chance Define auxiliary variables {y, z} := {yi , zi }i∈I where {yi , zi } :=
constraints (14), (15), (17). In what follows, we reformulate {yni,t , zni,t }n∈{d,c,s},t∈T . We have
problem (18) to a deterministic form. n 2 2
2 n 2
yi,t + σD,t + σW,t 2
ani,t ≤ p Ui,t − zni,t , (23a)
that the entries in e are uncorrelated with each other. This where n ∈ {d, c} corresponding to (14) and (15), respectively.
assumption is acceptable if the uncertainty in the system is We have
mostly caused by discrete and changeable factors. For exam- s 2 2
ple, demand uncertainties {eD,t }t∈T are generally uncorrelated yi,t + Mi,t
s
≤ s Simax − Simin /2 − zsi,t , (24a)
if they are caused by the random use of, say, elevators, Λsi,t ≤ ysi,t + zsi,t , (24b)
motion sensor lights, and automatic doors. The uncorrelation max
0≤ ysi,t ,0≤ ≤ Si − Si
zsi,t min
/2, (24c)
assumption is often used in related works [2], [13], [14] for 2
model/problem simplification. By this assumption, we have t 1
s
Mi,t := σD,τ
2
+ σW,τ
2
ηic aci,τ + d adi,τ
Var[eD,t − eW,t ] = σD,t2 + σ 2 and E[e e ] = E[e e ] = 0
W,t D,t n W,t n η
τ =1 i
where n ∈ {d, c}. Then, the expectation in (18) can be 2 2
expressed in a deterministic form: t
1 t
+ σc2 ηic c
ri,τ + σd2 d d
ri,τ , (24d)
τ =1
η i τ =1
E ϑn,i pni,t (e) + ri,t
n
(En + en )
2 t
1 d
2
= Cn2,i pni,t + Cn2,i σD,t 2
+ σW,t2
ani,t Λi,t :=
s
ηi pi,τ + Ec ri,τ − d pi,τ + Ed ri,τ
c c c d
τ =1
ηi
+ Cn2,i En2 + σn2 ri,t n 2
+ 2Cn2,i En pni,t ri,t
n max
+ si,1 − Si + Simin /2, (24e)
+ Cn1,i pni,t + Cn1,i En ri,t
n
, (19)
corresponding to (17). Note that (23a) and (24a) are second-
which is a nonconvex function due to the bilinear term pni,t ri,t
n . order cone (SOC) constraints because of the uncorrelation
2) Convex Envelopes: We eliminate the bilinear terms by assumption.
relaxing them to their convex envelopes, similar to [21]. A
bilinear term pr with Pl ≤ p ≤ Pu and Rl ≤ r ≤ Ru can be C. Mixed-Integer Second-Order Cone Program (MISOCP)
relaxed to a convex envelope h defined as By taking pni,t ri,t
n as an individual variable, we write
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5035
only applies to the objective function, so any feasible solution Algorithm 1: Heuristic Based on PADM
to problem (25) is still feasible to the original problem (18). 1 Input: m = 0, {Y 0 , Z0 }, ρ > 0, ρ > 0, α = 1, 0 < θ < 1.
Constraints gbt gst = 0 and adi,t aci,t = 0 are not included 2 Output: Integer solution Z∗
√
in problem (25) as they can be satisfied automatically (see 3 Normalization factor: W = TI ∇f (Y 0 ) −1 2 .
Appendix A). 4 repeat // Outer loop
MISOCP is mostly NP-hard and can be solved by exact 5 repeat // Inner loop
algorithms (e.g., branch and bound) via off-the-shelf solvers 6 Continuous solution: Y m+1
(e.g., CPLEX). See [23] for a review of the algorithms = arg min {φ(Y, Zm ; ρ, α) | Y ∈ Y}. (27)
and solvers for convex mixed-integer nonlinear programs Y
(MINLP). However, if the time spent by exact algorithms to 7 Integer solution: Zm+1
get the optimal solution is too long, we may resort to heuris-
tics. For instance, we set up problem (25) with 3 batteries and = arg min {φ(Y m+1 , Z; ρ, α) | Z ∈ Z}. (28)
Z
24 time periods, and CPLEX was unable to prove the opti-
8 Inner loop index: m ← m + 1.
mality of the solution in 10 hours. For practicality, a heuristic
9 until Zm = Zm−1 ;
is developed in the next section to get suboptimal solutions 10 Weight parameter update: α ← θα.
quickly. 11 Penalty parameter update:
d,m
0 ← ρ 0 + ρ,
ρi,t i,t if Zi,t = 0. (29)
IV. S OLUTION 1 ← ρ 1 + ρ,
ρi,t d,m
if Zi,t = 1. (30)
i,t
A. Penalty Alternating Direction Method (PADM) m m
12 until x = Z ;
Based on PADM [16], we develop a heuristic to obtain
a suboptimal solution to problem (25) quickly. First, we
transform problem (25) to make it suitable for the PADM
d,m
framework. Let the objective of problem (25) be written as Due to Zi,t ∈ {0, 1}, the objective in (27) can be written as
minY f (Y), and let Y ∈ Y denote the continuous relaxation
n ∈ {0, 1} is relaxed to 0 ≤
of the constraints in (25), i.e., xi,t min αWf (Y) + (1 − α) ρi,t
0 d
xi,t
Y
xi,t ≤ 1. Define auxiliary variables Z := {Zi,t
n n }
n∈{d,c},i∈I,t∈T d,m
{i,t}:Zi,t =0
and an integer set Z := {Z | Zi,t ∈ {0, 1}, Zi,t
n d + Z c = 1}.
i,t + (1 − α) ρi,t
1
1 − xi,t
d
. (31)
Problem (25) can be written in an equivalent form:
d,m
{i,t}:Zi,t =1
min f (Y), s.t. Y ∈ Y, Z ∈ Z, x = Z,
Y,Z This shows that problem (27) is a convex program. In
problem (28), f (Y m+1 ) is a constant, so the solution Zm+1
where x is part of Y. By the definitions of x and Z, we have can be directly given by
|xi,t
d − Z d | = |xc − Z c |. This implies that we can simplify the
i,t i,t i,t
constraint x = Z to either xi,td = Z d or xc = Z c . Here we
i,t i,t i,t d,m+1
0 d,m+1
0, if ρi,t xi,t 1 1 − xd,m+1 ;
≤ ρi,t
choose the former, which is further decomposed into Zi,t = i,t (32)
1, otherwise.
d
xi,t ≥ Zi,t
d
, d
xi,t ≤ Zi,t
d
. In the outer loop, weight parameter α and penalty param-
eters ρ are updated. The purpose of updating α is to obtain
Then, we penalize them in the objective function. The resulting a feasible solution. α will gradually decrease to increasingly
penalty problem is given by emphasize the penalty terms so as to reach x = Z. The purpose
of updating ρ is to obtain a good integer solution Z. The idea
d +
min αWf (Y) + (1 − α) ρi,t
0 d
xi,t − Zi,t is to use perturbation that allows the algorithm to try different
Y,Z
i∈I,t∈T choices of integers. Here, the perturbation is implemented by
d d +
+ ρi,t
1
Zi,t − xi,t , (26) the penalty parameter update in (29) and (30). Fig. 2 shows the
d d
effect of (29) and (30) on integer solution Zi,t if xi,t is fixed. It
s.t. Y ∈ Y, Z ∈ Z,
can be seen that if xi,t is far from both 0 and 1 (xi,t = 0.5, 0.7),
d d
d
where [χ ]+ means max{0, χ }; ρ := {ρi,t 0 , ρ1 } then Zi,t is frequently shifted between 0 and 1. This can be
i,t i∈I,t∈T are
penalty parameters; 0 ≤ α ≤ 1 is a weight parameter for understood as strong perturbation that lets the algorithm keep
trying between Zi,t d = 0 and Z d = 1. Fig. 2 also shows that
balancing the system cost f and penalty; W is a normalization d
i,t
factor [16]. if xi,t is closer to 0 or 1, then less perturbation appears. This
can assist the algorithm in converging to xi,t d ≈ Z d . Fig. 2 is
Next, we employ PADM to solve problem (26), as shown i,t
in Algorithm 1. The objective function in (26) is written as only used for demonstrating the effect of the penalty parameter
d is given by the solution to problem (27), so
φ(Y, Z; ρ, α). The algorithm is composed of two loops. The update. In fact, xi,t
d
xi,t is generally varying (not fixed) in the algorithm. Therefore,
inner loop, indexed by m, is a standard ADM that can converge
to partial minima of problem (26) when {ρ, α} are given [16]. the perturbation frequency can adapt to xi,t d , helping the inner
The two problems (27) and (28) can be simplified as follows. loop reach xi,t ≈ Zi,t .
d d
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5036 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
Similar to [20], we employ duality to determine the prices where [ · ] represents the multipliers, namely prices.
of the services. By fixing binary variables to x = Z∗ , the
MISOCP (25) becomes a SOCP. Hereafter, the SOCP refers B. Market Properties
to the MISOCP (25) with x = Z∗ . Due to the convexity of the Here, we theoretically analyze the local market. Given
SOCP, we define the service prices as follows. the prices , both the individual battery problem (34) and
1) For load shifting, define λt as the multiplier of energy the manager problem (35) are convex programs, for which
balance constraint (1). It is the energy price ($/kWh) at Karush–Kuhn–Tucker (KKT) conditions are necessary and
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5037
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5038 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
Fig. 5. Scheduling results. (a) Scheduled discharging power of batteries for load shifting, pd i,t . (b) Scheduled charging power of batteries for load shifting,
i,t . (c) Energy traded with the grid, {gt , gt }. (d) Participation factors of batteries for real-time balancing, {ai,t , ai,t }. (e) Discharging power committed by
pc b s d c
d . (f) Charging power committed by batteries for PFC, rc .
batteries for PFC, ri,t i,t
rm∗ = 0. This means that providing PFC service may not charged in off-peak hours. On the operating day, the sched-
be a good cost-minimizing choice under our parameter set- uled discharging/charging power will be adjusted to respond
ting. One of the main reasons may be the relatively low to the realization of uncertainty. Thus, the pattern of par-
PFC price Qm . To further examine the impact of Qm , we ticipation factors in Fig. 5(d) is consistent with the pattern
increase Qm and show the solutions returned by Algorithm 1 composed of Fig. 5(a) and Fig. 5(b). For PFC, it can be found
in Fig. 4. It is shown that the relation between Qm and from Fig. 5(e) and Fig. 5(f) that the PFC committed power,
rm is not significant when Qm is relatively low. If Qm is ±180.82 kW, is collectively provided by B1, B2, and B3,
high enough, the benefit from PFC will attract the system satisfying constraints (8).
to increase the committed power. In Fig. 4, the system has Fig. 6 shows how the safety parameters {p , s } impact
a positive committed power under Qm ≥ 60 e cent/kW the scheduling results of B1 under uncertainty realization.
even if the PFC guarantee constraint (33) is not included in In Fig. 6, the integer solution is fixed and provided by the
Algorithm 1. [30 s] solution. Each subfigure in Fig. 6 contains 1000 real-
izations of the system uncertainty vector e, in which each
C. Scheduling Results entry is assumed to follow a normal distribution. The power
Fig. 5 shows the scheduling results under the [30 s] solu- curves in Fig. 6(a) and Fig. 6(b) are given by pni,t (e) + ri,t
n ,
tion in Fig. 3. From Fig. 5(a) and Fig. 5(b), one can see that and the energy curves in Fig. 6(c) and Fig. 6(d) are given
B2 and B3 are mostly discharged in peak hours and charged by si,t+1 (e) in (12). It is shown that a smaller safety param-
in off-peak hours. This is an economical decision since the eter leads to a smaller chance to violate the power/energy
system can buy less amount of expensive peak-hour energy bounds. Also, a smaller safety parameter means a more con-
from the grid. But, B1 acts a bit differently, discharging in servative solution, leading to a higher system cost, as shown
off-peak hours. This results from the PFC guarantee con- in Fig. 7. One can adjust the safety parameters to strike a
straint (33) that ensures at least one discharging battery and balance between the system cost and power/energy bound
one charging battery at each hour. B2 and B3 have higher violation. In real situations, batteries are not the only type
capacities than B1, i.e., B2 and B3 can store more energy. of resources responding to uncertainty realization. Practical
This is the reason why B2 and B3 (rather than B1) are mostly systems would have other resources such as local generators
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5039
Fig. 6. Actual power and energy state of B1 with safety parameters (a) p = 0.5, (b) p = 0.1, (c) s = 0.5, and (d) s = 0.1. Each gray curve represents
a realization of uncertainty. The power bounds of B1 are given by [0, 1000] kW. The energy bounds of B1 are given by [400, 3600] kWh.
Fig. 7. System cost versus safety parameters (p = s ). PFC guarantee: the
integer solution is fixed and given by the [30 s] solution. No PFC guarantee: Fig. 8. Pricing results. The utility is equal to the incomes minus the cost.
the integer solution is fixed and given by the [20 s] solution.
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5040 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
A PPENDIX B
P ROOF OF P ROPOSITION 1
Proof: Let Y i denote the decision vector of battery i with
Y i := {pi , ai , ri , wi } where wi := {yi , zi , pri }. Define a convex
function hi (Y i ) such that hi (Y i ) ≤ 0 holds if and only if Y i sat-
isfies the constraints of problem (34). Considering the prices
are constants, the KKT conditions of battery i’s problem (34)
for all i ∈ I are given by
∂ϕi,t
d
∂hi
− λt + βih = 0, ∀i ∈ I, t ∈ T, (40a)
∂pdi,t ∂pdi,t
∂ϕi,t
c
∂hi
+ λt + βih = 0, ∀i ∈ I, t ∈ T, (40b)
∂pci,t ∂pci,t
∂ϕi,t
n
∂hi
− μt + βih = 0, ∀n ∈ {d, c}, i ∈ I, t ∈ T, (40c)
∂ai,t
n ∂ani,t
Fig. 9. Battery utilities and costs changed with B1 capacity. The capacities ∂ϕi,t
n
∂hi
of B2 and B3 are fixed to 6 and 8 MWh, respectively. The cost of a battery
∂ri,t
n − πtn +βih n = 0, ∀n ∈ {d, c}, i ∈ I, t ∈ T,
∂ri,t
(40d)
reflects how much the battery is used.
∇wi ϕi,t
n
+ βih ∇wi hi = 0, ∀i ∈ I, (40e)
n∈{d,c},
the proposed pricing method, a battery earns more if it is t∈T
h
used more (see B1); a battery earns less if it is used less βi : hi (Y i ) ≤ 0, ∀i ∈ I, (40f)
(see B2 and B3).
βih ≥ 0, βih hi (Y i ) = 0, ∀i ∈ I. (40g)
VII. C ONCLUSION By the market clearing conditions (36), the objective in (35)
can be written as
In this paper, we proposed day-ahead scheduling and pric-
ing methods for battery energy storage to provide multiple max Qm rm − rm πtd + πtc
g,rm
services including load shifting, real-time balancing, and PFC. t∈T
b
The original stochastic chance-constrained scheduling problem + Qst gst − Qbt gbt + λt gt − gst .
was reformulated to an MISOCP. To obtain suboptimal solu- t∈T t∈T
tions quickly, we developed a PADM-based heuristic to solve
the MISOCP. By fixing the integer solution returned by the Considering the prices are constants, the KKT conditions
heuristic, we employed the duality of the SOCP to price the of the system manager problem (35) are given by
three services in the local market. We also provided theoreti- − Qm + πtd + πtc − βm = 0, (41a)
cal analysis of the market properties. Numerical results show t∈T
that the proposed heuristic is computationally efficient, and
Qbt − λt − βtb = 0, ∀t ∈ T, (41b)
the pricing results can guarantee a positive utility for each bat-
tery, i.e., service incomes are enough to cover battery usage − Qst + λt − βts = 0, ∀t ∈ T, (41c)
costs. [βm ] : rm ≥ 0, (41d)
b b
β : g ≥ 0, (41e)
ts ts
A PPENDIX A βt : gt ≥ 0, (41f)
R EDUNDANCY OF gbt gst = 0 AND adi,t aci,t = 0 βm ≥ 0, βtb ≥ 0, βts ≥ 0, ∀t ∈ T, (41g)
Suppose that there is a solution to the MISOCP (25) with βm rm = 0, βtb gbt = 0, βts gst = 0, ∀t ∈ T. (41h)
t > 0 and gt > 0 for a fixed t. Discuss two cases:
gb∗ s∗
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
ZHONG et al.: CHANCE CONSTRAINED SCHEDULING AND PRICING FOR MULTI-SERVICE BATTERY ENERGY STORAGE 5041
A PPENDIX C
P ROOF OF P ROPOSITION 2
Proof: Let u∗i denote the maximum utility of battery i
at the market equilibrium when battery i provides the three
services. Following Proposition 1-1), u∗i can be derived from
the following problem:
u∗i = max λ∗t pdi,t − pci,t + μ∗t adi,t + aci,t + πtd∗ ri,t
d
pi ,ai ,ri ,
yi ,zi ,pri t∈T
n n n n n n
+ πtc∗ ri,t
c
− ϕi,t pi,t , ai,t , ri,t , pi,t ri,t ,
t∈T,
n∈{d,c}
s.t. Constraints in problem (34), (42)
where the prices are fixed to the optimal ∗ . Let u0i denote R EFERENCES
the maximum utility of battery i when it does not provide any
[1] W. Zhong, K. Xie, Y. Liu, C. Yang, and S. Xie, “Multi-resource allo-
service, which means cation of shared energy storage: A distributed combinatorial auction
approach,” IEEE Trans. Smart Grid, vol. 11, no. 5, pp. 4105–4115,
pni,t = ani,t = ri,t
n
= 0, ∀n ∈ {d, c}, t ∈ T. (43) Sep. 2020.
[2] N. Y. Soltani and A. Nasiri, “Chance-constrained optimization of energy
n = 0 from (20). We then have u0 = 0
storage capacity for microgrids,” IEEE Trans. Smart Grid, vol. 11, no. 4,
This leads to pni,t ri,t i pp. 2760–2770, Jul. 2020.
according to the utility function in (42). u0i can be also con- [3] W. Zhong, K. Xie, Y. Liu, C. Yang, S. Xie, and Y. Zhang, “Online
control and near-optimal algorithm for distributed energy storage sharing
sidered as the optimal objective value of problem (42) with the in smart grid,” IEEE Trans. Smart Grid, vol. 11, no. 3, pp. 2552–2562,
additional constraint (43). Thus, we readily have u∗i ≥ u0i = 0, May 2020.
which means that battery i has a non-negative utility if it [4] R. Hollinger, A. M. Cortes, and T. Erge, “Fast frequency response with
BESS: A comparative analysis of Germany, Great Britain and Sweden,”
provides the three services. This completes the proof. in Proc. EEM, Lodz, Poland, 2018, pp. 1–6.
This conclusion can be generalized to the situations that [5] D. Wu, C. Jin, P. Balducci, and M. Kintner-Meyer, “An energy stor-
u∗i denotes the maximum utility of battery i when it provides age assessment: Using optimal control strategies to capture multiple
services,” in Proc. IEEE Power Energy Soc. Gener. Meeting, Denver,
some of the three services in the market, that is, battery i has CO, USA, 2015, pp. 1–5.
a non-negative utility if it provides at least one of the three [6] O. Mégel, J. L. Mathieu, and G. Andersson, “Scheduling distributed
services. For example, if battery i only provides load shifting, energy storage units to provide multiple services under forecast error,”
Elect. Power Energy Syst., vol. 72, pp. 48–57, Nov. 2015.
we add the constraint ani,t = ri,t
n = 0 in the MISOCP (25),
[7] R. Moreno, R. Moreira, and G. Strbac, “A MILP model for optimising
the SOCP, and the individual battery problem (34). Then, the multi-service portfolios of distributed energy storage,” Appl. Energy,
above analysis of problem (42) still holds. vol. 137, pp. 554–566, Jan. 2015.
[8] E. Namor, F. Sossan, R. Cherkaoui, and M. Paolone, “Control of battery
storage systems for the simultaneous provision of multiple services,”
IEEE Trans. Smart Grid, vol. 10, no. 3, pp. 2799–2808, May 2019.
A PPENDIX D [9] S. Gupta, V. Kekatos, and W. Saad, “Optimal real-time coordination of
P ROOF OF P ROPOSITION 3 energy storage units as a voltage-constrained game,” IEEE Trans. Smart
Grid, vol. 10, no. 4, pp. 3883–3894, Jul. 2019.
Proof: Load shifting: By Appendix A, the optimal solution [10] R. A. Jabr, S. Karaki, and J. A. Korbane, “Robust multi-period OPF
t gt = 0. We discuss three cases:
to the SOCP must have gb∗ s∗ with storage and renewables,” IEEE Trans. Power Syst., vol. 30, no. 5,
pp. 2790–2799, Sep. 2015.
1) gt > 0, gt = 0. In this case, we have βtb∗ = 0 and
b∗ s∗
[11] Q. Xu, T. Zhao, Y. Xu, Z. Xu, P. Wang, and F. Blaabjerg, “A distributed
λ∗t = Qbt according to KKT conditions (41). and robust energy management system for networked hybrid AC/DC
∗
t = 0, gt > 0. This case has βt = 0 and λt = Qt .
2) gb∗ s∗ s∗ s microgrids,” IEEE Trans. Smart Grid, vol. 11, no. 4, pp. 3496–3508,
Jul. 2020.
3) gt = gt = 0. This case yields βt , βt > 0 and
b∗ s∗ b∗ s∗
[12] A. Kargarian, G. Hug, and J. Mohammadi, “A multi-time scale co-
Qst < λ∗t < Qbt . optimization method for sizing of energy storage and fast-ramping
As per constraint (1), it can be seen that equation (37) holds generation,” IEEE Trans. Sustain. Energy, vol. 7, no. 4, pp. 1351–1361,
Oct. 2016.
in each of the above three cases. This proves Proposition 3-1). [13] Y. Li, Z. Yang, G. Li, D. Zhao, and W. Tian, “Optimal scheduling of an
Balancing: The proof of Proposition 3-2) is straightforward. isolated microgrid with battery storage considering load and renewable
Equation (38) follows from constraint (6). generation uncertainties,” IEEE Trans. Ind. Electron., vol. 66, no. 2,
pp. 1565–1575, Feb. 2019.
PFC: If rm∗ > 0, then we have βm∗ = 0 from KKT con- [14] Z. Shi, H. Liang, S. Huang, and V. Dinavahi, “Distributionally robust
ditions (41). This leads to Qm rm∗ = rm∗ t∈T (πtd∗ + πtc∗ ). chance-constrained energy management for islanded microgrids,” IEEE
Combining with constraints (8), we readily obtain equa- Trans. Smart Grid, vol. 10, no. 2, pp. 2234–2244, Mar. 2019.
[15] W. Xie and S. Ahmed, “Distributionally robust chance constrained
tion (39). Note that (39) still holds if rm∗ = 0. This completes optimal power flow with renewables: A conic reformulation,” IEEE
the proof of Proposition 3-3). Trans. Power Syst., vol. 33, no. 2, pp. 1860–1867, Mar. 2018.
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.
5042 IEEE TRANSACTIONS ON SMART GRID, VOL. 12, NO. 6, NOVEMBER 2021
[16] B. Geißler, A. Morsi, L. Schewe, and M. Schmidt, “Penalty alternat- Yi Liu received the Ph.D. degree in signal and
ing direction methods for mixed-integer optimization: A new view on information processing from South China University
feasibility pumps,” SIAM J. Optim., vol. 27, no. 3, pp. 1611–1636, 2017. of Technology, Guangzhou, China, in 2011. He
[17] J. Kang, Z. Xiong, D. Niyato, S. Xie, and D. I. Kim, “Securing data joined the Singapore University of Technology and
sharing from the sky: Integrating blockchains into drones in 5G and Design as a Postdoctoral Researcher. In 2014, he
beyond,” IEEE Netw., vol. 35, no. 1, pp. 78–85, Jan./Feb. 2021. worked with the Institute of Intelligent Information
[18] X. Huang, D. Ye, R. Yu, and L. Shu, “Securing parked vehicle assisted Processing, Guangdong University of Technology,
fog computing with blockchain and optimal smart contract design,” where he is currently a Full Professor. His
IEEE/CAA J. Autom. Sinica, vol. 7, no. 2, pp. 426–441, Mar. 2020. research interests include wireless communication
[19] (Feb. 2021). Réseau de Transport d’Électricité (RTE). [Online]. networks, cooperative communications, smart grid,
Available: https://www.services-rte.com/en/home.html and intelligent edge computing.
[20] Y. Dvorkin, “A chance-constrained stochastic electricity market,” IEEE
Trans. Power Syst., vol. 35, no. 4, pp. 2993–3003, Jul. 2020.
[21] W. Zhong, S. Xie, K. Xie, Q. Yang, and L. Xie, “Cooperative P2P energy
trading in active distribution networks: An MILP-based Nash bargain-
ing solution,” IEEE Trans. Smart Grid, vol. 12, no. 2, pp. 1264–1276, Shengli Xie (Fellow, IEEE) received the B.S. degree
Mar. 2021. in mathematics from Jilin University, Changchun,
[22] G. P. McCormick, “Computability of global solutions to factorable non- China, in 1983, the M.S. degree in mathematics from
convex programs: Part I—Convex underestimating problems,” Math. Central China Normal University, Wuhan, China,
Prog., vol. 10, no. 1, pp. 147–175, 1976. in 1995, and the Ph.D. degree in control theory
[23] J. Kronqvist, D. E. Bernal, A. Lundell, and I. E. Grossmann, “A review and applications from South China University of
and comparison of solvers for convex MINLP,” Optim. Eng., vol. 20, Technology, Guangzhou, China, in 1997. He is cur-
no. 2, pp. 397–455, 2019. rently a Full Professor and the Head of the Institute
[24] (Feb. 2021). Tarif Bleu: Regulated Sale Tariff for Electricity. of Intelligent Information Processing, Guangdong
[Online]. Available: https://particulier.edf.fr/en/home/energy-and- University of Technology, Guangzhou. He has coau-
services/electricity/tarif-bleu.html thored two books and more than 150 research papers
[25] (Feb. 2021). Regelleistung. [Online]. Available: https://www. in refereed journals and conference proceedings and was awarded Highly
regelleistung.net Cited Researcher in 2020. His research interests include blind signal process-
ing, machine learning, and Internet of Things. He was awarded the Second
Prize of National Natural Science Award of China in 2009. He is an Associate
Editor for IEEE T RANSACTIONS ON S YSTEMS , M AN , AND C YBERNETICS :
S YSTEMS.
Authorized licensed use limited to: University Town Library of Shenzhen. Downloaded on August 15,2022 at 09:53:13 UTC from IEEE Xplore. Restrictions apply.