Professional Documents
Culture Documents
than the estimated average value of desired total power, ρi t
Si (t) = Si (0) − Ii (t)dt, i ∈ V, (1)
and for the one with lower SoC, assigned less discharging Qi 0
(more charging) power. In (Xu et al., 2017), a distributed
where V = {1, 2, · · · , n} is the index set of EESSs, Si (t) ∈
power dispatch strategy was constructed by borrowing an
(0, 1) denotes the SoC of the ith EESS, and (ρi , Qi , Ii )
economic dispatch algorithm. However, the determination
respectively represents the Coulombic efficiency, the ca-
of power reference in (Lu et al., 2014, 2015; Yang et al.,
pacity and the output current of the ith EESS. Coulombic
2017) had to rely on the information of all the EESSs and
efficiency ρi satisfies ρi = 1 in discharging mode and
therefore were not distributed, constraints on power and
ρi ∈ (0, 1) in charging mode. Output current Ii is (Li et al.,
SoC were not considered in (Cai and Hu, 2016), and in (Xu
2017):
et al., 2017) the total charging/discharging power was only
able to track the initial (not the real time) supply-demand 1/ζdi , (discharging),
Ii = σi Pi /Vi , σi =
mismatch. Based on these observations, energy dispatch of ζci , (charging),
EESSs remains a hot topic of investigation. where Pi denotes the output power of the ith converter,
This paper concerns how to realize the energy dispatch Vi is the output voltage of the ith EESS, and σi is related
task of EESSs with power and SoC constraints. The to the converter efficiencies (ζdi , ζci ) of the ith converter
unified switching mode is firstly presented by using the during discharging and charging operations. It is assumed
sign function. The consensus control approach is applied that Vi is time-invariant (Li et al., 2017). SoC equation (1)
to solve the dispatch problem. To guarantee the system can be rewritten as:
stability under constraints, three algorithms are derived ρi σi t
Si (t) = Si (0) − Pi (t)dt, i ∈ V. (2)
one by one. The first algorithm is designed in case of Qi Vi 0
no constraints, then by additionally utilizing the dynamic
saturation function, a second one is proposed in case of Based on (2), the charging/discharging process of the ith
constrained power, and a final one is obtained in case EESS can be described by:
of constrained power and SoC. Convergence of all the Si (k + 1) = Si (k) − T ηi (k)Pi (k),
three algorithms is proved by Lyapunov method, under the
assumption that the communication graph is undirected where k is the sampling time, T is the sampling interval,
and connected. Simulation cases illustrate the effectiveness and
of the proposed third algorithm. 1
ρi σi ηdi > 0, (discharging)
The rest of this paper is organized as follows. Section 2 ηi (k) = = ρdiζ i Vi
ζ Q
Qi Vi
i ci ηci > 0, (charging).
formulates the energy dispatch problem of multiple EESSs.
Qi Vi
Section 3 solves this problem using the consensus control
approach. Simulation examples are provided in Section 4 Assume that all the EESSs have the same model, i.e.,
to demonstrate the effectiveness of the proposed dispatch ηi (k) = η(k), thus
strategy. Finally, Section 5 concludes this work. Si (k + 1) = Si (k) − T η(k)Pi (k). (3)
2. PROBLEM FORMULATION Every EESS has three modes: charging, discharging and
stop modes, and (3) is a switching system. Denote the
2.1 Simplified structure of EESSs in a microgrid global supply-demand mismatch by:
PM (k) = PL (k) − PG (k), (4)
generations where PL (k) and PG (k) are the total load demand and the
G G G total power generation respectively. If PM (k) > 0 (< 0),
Bus PG1 PG2 PGm EESS i (i ∈ V) is in discharging or stop (charging or stop)
operation with η(k) = ηd (ηc ) and Pi (k) ≥ 0 (≤ 0), where
P1 P2 P3 Pn-1 Pn PL ηd = ηdi and ηc = ηci . If PM (k) = 0, the n EESSs stop
1 2 3 n-1 n Loads
working with Pi (k) = 0, which is not our consideration in
this paper. Therefore, η(k) has the unified form:
EESS EESS EESS EESS EESS
communication network η(k) = 0.5sign(PM (k)) [sign(PM (k)) + 1] ηd
+
PM (k)
Fig. 1. Simplified structure of EESSs in microgrid. (5)
+ 0.5sign(PM (k)) [sign(PM (k)) − 1] ηc ,
As shown in Fig. 1, renewable generations and EESSs are PM
−
(k)
installed in the microgrid, in order to provide electrical
energy to loads. The EESSs store the surplus power when where sign(·) is the sign function. To make EESSs
the power generation is more than load demand, otherwise operate in appropriate modes, we propose the charg-
return the stored energy to loads. Suppose that there are ing/discharging mode switching constraint:
n EESSs in the microgrid. PM (k)Pi (k) ≥ 0. (6)
Other two constraints for security of EESSs (Xu et al.,
2.2 Unified model of charging/discharging process of EESSs 2015) are
Pmin ≤ Pi (k) ≤ Pmax , (7)
The SoC of an EESS can be calculated by (Cai and Hu,
2016) Smin ≤ Si (k) ≤ Smax , (8)
230
2018 IFAC MICNON
Guadalajara, Mexico, June 20-22, 2018 Wenjing Xie et al. / IFAC PapersOnLine 51-13 (2018) 229–234 231
where Pmax > 0, Pmin < 0, Pmax and Pmin are maximum Smin Si Smax , Pi (k) can be adjusted such that
power allowed to discharge and charge EESS i, and Smin Pe (k) → 0. For the special cases that Si (k) is close or equal
and Smax are respectively the lower and the upper limits to Smax /Smin in charging/discharging mode, |Pi (k)| must
of SoC. be small or zero such that Si (k+1) remains in [Smin , Smax ],
and Pe (k) can only be minimized rather than Pe (k) → 0.
Now, the unified switching model of EESSs is established
as (3) and (5) with the constraints (6), (7) and (8). The energy dispatch objective is asymptotically achieved
if for any initial SoCs satisfying Si ∈ [Smin , Smax ], the SoC
2.3 Communication network of EESSs balancing errors (Si (k) − Sj (k), i, j ∈ V) are asymptoti-
cally convergent to zero, the power tracking errors Pe (k)
To make the EESSs cooperatively charge and discharge is minimized after Si (k) − Sj (k) → 0, and the constraints
for their group objective, we suppose that the EESSs com- (6)-(8) are met.
pose a communication network based on wireless sensors
(Sudevalayam and Kulkarni, 2011). In this network, they 3. DISTRIBUTED ENERGY DISPATCH
can share information (e.g., Si (k) and ηi (k)) with each
other, as shown in Fig. 1. Model the information flow be- In this section, we employ multiagent consensus control
tween them as a communication graph G(V, E, A), where idea to develop the first dispatch scheme without consid-
V = {1, 2, · · · , n} is the index set of EESSs, E ⊂ V ×V is an ering constraints, then extend it to the case of constraints,
edge set of ordered pairs of EESSs, and A = [aij ] ∈ Rn×n solving the energy dispatch problem of multiple EESSs.
is the adjacency matrix with entries aij = 1 or aij = 0
(Olfati-Saber and Murray, 2004). If EESS i can receive 3.1 Algorithm design without constraints
information from EESS j, then (j, i) ∈ E, aij = 1 and
EESS j is called the communication neighbor of EESS i, For sake of simplicity, we assume that the power and
denoted by j ∈ Ni , where Ni = {j ∈ V|aij = 1}. If EESS SoC variables are not subject to constraint. Based on the
i cannot have access to the information of EESS j, then consensus control idea in (Olfati-Saber et al., 2007), we
/ E, aij = 0 and j ∈ Ni . Self-connection is not
(j, i) ∈ propose the distributed dispatch algorithm
considered for G, i.e., aii = 0, ∀i ∈ V (Olfati-Saber and ε
Murray, 2004). A graph G is undirected if aij = aji for Pi (k) = Pave (k) + aij [Si (k) − Sj (k)] , (12)
η(k)
any i, j ∈ V. The Laplacian matrix L = [lij ] ∈ Rn×n is j∈Ni
defined as:
if j = i; where ε > 0, the term Pave (k) = PMn(k) is the nominal
−a
n
ij ,
power component corresponding to thesupply-demand
lij = aij , if j = i. balance, and the SoC balance error aij [Si (k) −
j∈Ni
j=1
Sj (k)] is correction term.
For undirected connected graph, L = LT has the following
properties (Olfati-Saber and Murray, 2004): Lemma 1. If Assumption 1 holds and ε is a sufficiently
−
→ small positive constant, then the dispatch strategy (12)
0 = λ1 < λ2 ≤ λ3 ≤ · · · ≤ λn , L 1 = 0, (9) guarantees the SoC balance errors Si (k) − Sj (k) (i, j ∈ V)
−
→ globally asymptotically converge to zero and Pe (k) = 0.
where (λ1 , λ2 , · · · , λn ) are the eigenvalues of L, and 1 =
[1, 1, · · · , 1]T ∈ Rn . To achieve distributed dispatch, we
make the following Assumption. Proof. Define
S(k) [S1 (k), S2 (k), · · · , Sn (k)]T ,
Assumption 1. The communication graph G(V, E, A) of
EESSs is undirected and connected. P (k) [P1 (k), P2 (k), · · · , Pn (k)]T (13)
−
→
= Pave (k) 1 + εη −1 (k)LS(k),
2.4 Energy dispatch objective −
→
where 1 = [1, 1, · · · , 1]T ∈ Rn . As Assumption 1 holds,
The energy dispatch objective of EESSs considered in this −
→T n −
→ −
→ −
→
1 L = 0, and Pi (k) = 1 T P (k) = 1 T [Pave (k) 1 +
paper is stated as (Cai and Hu, 2016): under Assumption i=1
1, design a distributed dispatch strategy Pi (i ∈ V) for εη −1 (k)LS(k)] = PM (k), implying Pe (k) = 0.
EESS i only using the information of its communication
neighbors and itself, such that under constraints (6)-(8), Under algorithm (12), the closed-loop form of EESSs is
the SoCs of the n EESSs reach a balance −
→
S(k + 1) = −η(k)Pave (k) 1 + (In − εL)S(k), (14)
Si (k) − Sj (k) → 0, ∀i, j ∈ V, (10) where In ∈ Rn×n is the identity matrix. Define the
and the power tracking error Lyapunov function (Olfati-Saber and Murray, 2004):
n V (k) = S T (k)LS(k) ≥ 0, (15)
Pe (k) = Pi (k) − PM (k) (11)
where L is positive semi-definite. Compute
i=1
is minimized after (10) is achieved. Objective (10) ensures ∇V (k) = V (k + 1) − V (k)
T
the SoC balancing between EESSs, and minimizing Pe (k) −
→
= −η(k)Pave (k) 1 + (In − εL)S(k)
guarantees the supply-demand balance as well as reduces (16)
energy lost in charging and discharging operations. Rea- −
→
× L −η(k)Pave (k) 1 + (In − εL)S(k) − V (k)
sons and physical meanings of the SoC balance can be
found in (Cai and Hu, 2016). For the general case of = S T(k)LT (−2εIn + ε2 L)LS(k),
231
2018 IFAC MICNON
232
Guadalajara, Mexico, June 20-22, 2018 Wenjing Xie et al. / IFAC PapersOnLine 51-13 (2018) 229–234
−
→ Proof. (I) To verify that (6) and (7) are satisfied.
where L = LT and L 1 = 0 are used. Since ε is
sufficiently small, −2εIn + ε2 L is guaranteed negative The following three cases are taken into account.
definite. So, ∇V (k) ≤ 0. Based on Assumption 1 and
the negative definite property of −2εIn + ε2 L, one has (a) For the case of εLi S(k) ∈ [fmin (k), fmax (k)], the
−
→ algorithm (17) takes the form of
∇V (k) = 0 ⇔ LS(k) = 0 ⇔ S(k) ∈ span{ 1 }, thus
the largest invariant set in {S(k) ∈ R |∇V (k) = 0}
n
Pi (k) = Pave (k) + η −1 (k)εLi S(k).
−
→
is {S(k) ∈ span{ 1 }}. According to the discrete time As εLi S(k) ∈ [fmin (k), fmax (k)], it follows that
version of LaSalle invariance principle (Alberto et al., Pi (k) ≤ Pave (k) + η −1 (k)fmax (k)
2007), S(k) globally asymptotically convergent to {S(k) ∈
−
→ Pmax , if PM (k) > 0 (discharging),
span{ 1 }}, and the SoC balance errors are therefore =
0, if PM (k) < 0 (charging),
globally asymptotically vanished to zero.
Pi (k) ≥ Pave (k) + η −1 (k)fmin (k)
3.2 Generation to constrained power case 0, if PM (k) > 0 (discharging),
=
Pmin , if PM (k) < 0 (charging).
With power constraints (6) and (7), it is required to make Thismeans that
the following Assumption. 0 ≤ Pi (k) ≤ Pmax , if PM (k) > 0 (discharging),
Assumption 2. The number of EESSs is determined such Pmin ≤ Pi (k) ≤ 0, if PM (k) < 0 (charging).
that the nominal power is within the permissible power
range Pmin < Pave (k) < Pmax . (b) For the case of εLi S(k) > fmax (k), (17) becomes
Pi (k) = Pave (k) + η −1 (k)fmax (k)
Improve the dispatch scheme (12) as
Pmax , if PM (k) > 0 (discharging),
Pi (k) = Pave (k) + η −1 (k)f [εLi S(k)], (17) =
0, if PM (k) < 0 (charging).
where Li S(k) = aij [Si (k) − Sj (k)] , Li is the ith
j∈Ni (c) For the case of εLi S(k) < fmin (k), (17) shows that
row of matrix L, and the bounded dynamic saturation Pi (k) = Pave (k) + η −1 (k)fmin (k)
function f (·) is given by
0, if PM (k) > 0 (discharging),
χ(k), if χ(k) ∈ [fmin (k), fmax (k)], =
Pmin , if PM (k) < 0 (charging).
f [χ(k)] = fmax (k), if χ(k) > fmax (k),
fmin (k), if χ(k) < fmin (k), The above three cases imply that (6) and (7) are fulfilled.
fmin (k) = PM (k) [−η(k)Pave (k)]
+ (II) To verify that the SoC balance errors and Pe (k) are
(18)
+ PM −
(k) [η(k)(Pmin − Pave (k))] , tending to zero.
−
→
fmax (k) = PM −
(k) [−η(k)Pave (k)] By (17), we have P (k) = Pave (k) 1 + η −1 (k)f (εLS(k)),
+ PM +
(k) [η(k)(Pmax − Pave (k))] . where f (εLS(k)) = [f (εL1 S(k)), · · · , f (εLn S(k))]T ∈ Rn .
Compute ∇V (k) = V (k + 1) − V (k) as
Remark 1. Under Assumption 2, the function f (·) in (18) T
has the following features: ∇V (k) = [S(k) − f (εLS(k))] L[S(k) − f (εLS(k))] − V (k)
≤ f T (·)(L − 2ε−1 In )f (·),
χ(k)f [χ(k)] ≥ f 2 [χ(k)] ≥ 0,
(19) where f (·) = f (εLS(k)), and the first inequality in (19)
f [χ(k)] = 0 ⇔ χ(k) = 0,
is utilized. As ε > 0 is sufficiently small, L − 2ε−1 In is
which are proved as follows. When PM (k) > 0, we have negative definite and ∇V (k) ≤ 0. Under Assumptions 1-2
Pave (k) > 0 and and ε > 0, Remark 1 shows that f (εLS(k)) = 0 ⇔ S(k) ∈
fmin (k) = −η(k)Pave (k) < 0, −
→
span{ 1 }. So, S(k) globally asymptotically converges to
fmax (k) = η(k)[Pmax − Pave (k)] > 0. −
→
{S(k) ∈ span{ 1 }} which is the largest invariant set in
When PM (k) < 0, we get Pave (k) < 0 and {S(k) ∈ R |∇V (k) = 0} (Alberto et al., 2007). This
n
232
2018 IFAC MICNON
Guadalajara, Mexico, June 20-22, 2018 Wenjing Xie et al. / IFAC PapersOnLine 51-13 (2018) 229–234 233
Theorem 1. Suppose that Assumptions 1-2 hold and ε > 0 By (22) and (23), it follows
is sufficiently small, then for any initial SoCs satisfying n
Si (0) ∈ [Smin , Smax ], the distributed algorithm (20) guar- V (k + 1) = {aij [Si (k + 1) − Sj (k + 1)]2 }
antees that the constraints (6)-(8) are satisfied, the SoC i=1 j∈Ni
balance errors of EESSs Si (k) − Sj (k) (i, j ∈ V) are n
asymptotically decayed to zero, and the power tracking ≤ {aij [Ŝi (k + 1) − Ŝj (k + 1)]2 }
error Pe (k) is minimized after Si (k) − Sj (k) → 0, i, j ∈ V. i=1 j∈Ni
233
2018 IFAC MICNON
234
Guadalajara, Mexico, June 20-22, 2018 Wenjing Xie et al. / IFAC PapersOnLine 51-13 (2018) 229–234
Table 1. Global supply-demand mismatch Li, C., Coelho, E.A.A., Dragicevic, T., Guerrero, J.M.,
PM (k) (kW) and Vasquez, J.C. (2017). Multiagent-based distributed
state of charge balancing control for distributed energy
time mismatch time mismatch time mismatch storage units in AC microgrids. IEEE Transactions on
00 : 00 7.56 08 : 00 −12.88 16 : 00 −11.84 Industry Applications, 53(3), 2369–2381.
01 : 00 7.56 09 : 00 −24.32 17 : 00 −0.32 Lu, X., Sun, K., Guerrero, J.M., Vasquez, J.C., and Huang,
02 : 00 7.56 10 : 00 −37.76 18 : 00 12.656
L. (2015). Double-quadrant state-of-charge-based droop
03 : 00 7.56 11 : 00 −35.616 19 : 00 16.80
04 : 00 7.56 12 : 00 −35.04 20 : 00 16.80
control method for distributed energy storage systems
05 : 00 8.40 13 : 00 −25.28 21 : 00 16.80 in autonomous DC microgrids. IEEE Transactions on
06 : 00 12.08 14 : 00 −29.28 22 : 00 14.00 Smart Grid, 6(1), 147–157.
07 : 00 1.904 15 : 00 −25.28 23 : 00 11.20 Lu, X., Sun, K., Guerrero, J.M., Vasquez, J.C., and Huang,
L. (2014). State-of-charge balance using adaptive droop
100
control for distributed energy storage systems in DC mi-
80
crogrid applications. IEEE Transactions on Industrial
Electronics, 61(6), 2804–2815.
SoC Si (k) (%)
60
40
EESS 1
EESS 2
Morstyn, T., Hredzak, B., and Agelidis, V.G. (2015).
20 EESS 3 Distributed cooperative control of microgrid storage.
0
EESS 4 IEEE Transactions on Power Systems, 30(5), 2780–
0 5 10 15 20 25
time (h)
30 35 40 45 EESS 5
2789.
6
EESS 6
EESS 7
Olfati-Saber, R., Fax, J.A., and Murray, R.M. (2007).
4 EESS 8 Consensus and cooperation in networked multi-agent
Power Pi (k) (Kw)
2
EESS 9 systems. Proceedings of the IEEE, 95(1), 215–233.
0
EESS 10
Olfati-Saber, R. and Murray, R.M. (2004). Consensus
−2
problems in networks of agents with switching topology
−4
and time-delays. IEEE Transactions on Automatic
0 5 10 15 20 25
time (h)
30 35 40 45
Control, 49(9), 1520–1533.
Sichilalu, S., Tazvinga, H., and Xia, X. (2016). Optimal
control of a fuel cell/wind/pv/grid hybrid system with
Fig. 3. SoC and power trajectories under the third algo-
thermal heat pump load. Solar Energy, 135, 59–69.
rithm.
Sichilalu, S.M. and Xia, X. (2015). Optimal power dispatch
1 of a grid tied-battery-photovoltaic system supplying
Power tracking error Pe (k) (Kw)
234