A Bi-level Scheduling Model for Virtual Power Plants With Aggregated Thermostatically Controlled Loads and Renewable Energy
A Bi-level Scheduling Model for Virtual Power Plants With Aggregated Thermostatically Controlled Loads and Renewable Energy
Applied Energy
journal homepage: www.elsevier.com/locate/apenergy
H I GH L IG H T S
• Thermostatically controlled loads are scheduled to decrease imbalanced power of virtual power plant.
• Proportion static and dynamic aggregation not affected by parameters heterogeneity are proposed.
• AThebi-level optimal scheduling model and its two-step simplified algorithm are established.
• performance is verified under different regulating ranges, heterogeneity and forecast errors.
A R T I C LE I N FO A B S T R A C T
Keywords: With the penetration of renewable energy increasing, the power system requires higher flexibility of power
Virtual power plant regulation. Virtual power plants can aggregate distributed flexible loads to improve the utilization of distributed
Distributed energy resource renewable energy. In this paper, a bi-level scheduling model for virtual power plants with a large number of
Thermostatically controlled loads distributed thermostatically controlled loads and intermittent renewable energy is established to reduce the net
A bi-level scheduling
exchange power deviation caused by the forecast error of renewable energy. The upper level optimizes the
Forecast error
exchange power curve and reduces the imbalance costs in intraday, while the lower level tracks the optimized
power curve in real-time to complete the regulation target. Static and dynamic aggregation method reflecting the
regulation characteristics of aggregated thermostatically controlled loads is proposed and applied in lower/
upper level, respectively. In addition, a two-step simplified strategy is proposed to solve the mixed integer
nonlinear programming in upper level. Simulation results show that the proposed method can reduce the
maximum imbalance power, and it is not affected by parameters heterogeneity, which is suitable for virtual
power plants with diversified users.
⁎
Corresponding author.
E-mail address: [email protected] (J. Xu).
https://doi.org/10.1016/j.apenergy.2018.05.032
Received 31 October 2017; Received in revised form 5 April 2018; Accepted 5 May 2018
0306-2619/ © 2018 Elsevier Ltd. All rights reserved.
C. Wei et al. Applied Energy 224 (2018) 659–670
power plants in both day-ahead and balance markets. Refs. [6–8] been launched.
conducts day-ahead scheduling for an electricity-thermodynamics First, there are kinds of accurate models for an individual thermo-
coupled VPP. Ref. [9] proposes a forecast method for RESs based on statically controlled system: For example, Ref. [16] uses the thermal mass
meteorological data to guide the output of other units. Ref. [10] focuses of a building to defer power consumption from electric space heating;
on industrial VPP and tests its performance under different kinds of Ref. [17] establishes a high-order differential thermostatically con-
demand response (DR) programs. Ref. [11] identifies the operation of trolled model for large buildings; Ref. [18] deems TCLs as virtual ESS to
price-based DR in VPP day-ahead dispatch, and the incentive-based DR help micro-grids to consume distributed renewable energy; Ref. [19]
is further applied in intraday. Ref. [12] takes the coordinated operation presents a practical case of a modern non-residential building with
of electricity and natural gas networks base on VPP. controllable heating, ventilation and air-conditioning system (HVAC).
On the other hand, the bidding strategies of commercial VPP in Refs. [16–19] offer a HVAC model for a building. But for VPP consisting
electricity market are also discussed. Ref. [13] provides an optimal of residential TCLs with small capacity, the contribution that an in-
bidding strategy including the VPP benefit maximization and the day- dividual user can make to power system is minimal. Therefore, a load
ahead market clearing. Ref. [14] provides a non-equilibrium bidding aggregation program should be applied to make total capacity large
strategy for VPP based on deterministic price-based unit commitment. enough, so that their effect of DR can be fully developed.
Ref. [15] proposes a profit allocation framework with less calculation Second, based on this motivation, some research about the aggregation of
work. distributed TCLs has been carried out. For example, Ref. [20] proposes a
Most of the above literatures make use of flexible loads to deal with framework where TCLs provides ancillary services to power grid under
the forecast error of RESs [7–15], and some further consider VPP pro- direct load control. Ref. [21] builds models for HVACs in EnergyPlus,
viding multiple services [5,7,11,14,15]. Luckily, relatively complete and calculates their aggregated power regulation capacity. Ref. [22]
theories about VPP day-ahead optimization has been developed, but constructs the power density function for both the active and inactive
they need to be further corrected by intraday rolling optimization and machine-states of TCLs in real-time. Ref. [23] describes the state of air
verified by real-time power tracking. Besides, their work is based on the conditioners by means of the temperature priority list. Based on the
premises that the aggregated regulation characteristic of distributed demand bidding curve, Ref. [24] aggregates response capabilities of
flexible loads is known, which is not easy to obtain directly in practice. smart homes. The above literatures quantitatively analyze the regula-
Therefore, the regulation model and aggregation method of distributed tion capacity of TCLs, but they just evaluate the performance of TCLs in
flexible loads are needed. a certain time section and make load control decisions step by step,
which is referred as the “static” control in this paper. However, the
thermodynamic model of TCL is usually described as differential
1.2. Model and aggregation for distributed flexible loads equations of temperature versus time, which means the regulation be-
tween each time section influences others. Hence, because the optimi-
As for modeling the distributed flexible loads in VPP, many scholars zation period contains more than one time section in day-ahead and
focus on the analysis of thermostatically controlled loads (TCL) due to intraday optimization, it is necessary to establish a “dynamic”
their great power regulation potential, and much related work have
660
C. Wei et al. Applied Energy 224 (2018) 659–670
aggregation model considering the mutual influence of the control level model: the upper level mainly discusses VPP as the agent of DERs
signals in multi-time sections. to participate in the electricity market and minimize the imbalance cost
Third, some scholars have attempted to use dynamic aggregation to solve in intraday, while the lower level focuses on VPP allocating power
the above problem: Ref. [25] applies an energy storage model with time- regulation task to internal DERs and testing the effect of power tracking
varying parameters to aggregate TCLs. Refs. [26,27] use typical para- in real-time.
meters to replace distributed parameters due to the difficulties in col- In the upper level, after VPP determines the day-ahead planned
lecting accurate parameters of each user: Ref. [26] employs the average curve for purchasing electricity from the power grid (usually called net
value while Ref [27] uses tracer devices after parameter optimization. exchange power curve, which is shown as black dotted line in Fig. 1),
Refs. [25–27] make dynamic aggregation of TCLs, but they are all VPP makes rolling optimization based on intraday information about
model-based, which means: (1) the setting of model parameters is of PVs and loads. To be specific, in intraday, VPP make rolling forecast on
great importance. The online parameters setting is required in Ref. [25] the total output of PVs, which is closer to the actual values. On account
because of the time-varying parameters, and Ref. [26] even clearly of the inevitable gap between the intraday forecast and the day-ahead
specifies that excessive parameter heterogeneity reduces the effective- forecast, net exchange power imbalance may occur in VPP if the day-
ness. (2) They need temperature information, or require users to have ahead scheme is still implemented, further resulting in corresponding
the same kind of thermostatically controlled devices and similar tem- costs (imbalanced costs that should be paid for seeking balance service
perature set points [23–27]. But in practice, VPP contains diverse [26] or the penalty for the breach of the plan [28]). In order to reduce
thermostatically controlled devices under different temperature, and these costs, the terminal users calculate their own dynamic regulation
the operating information of these devices is unattainable because of characteristics locally and send the results to the VPP agent in the re-
the privacy protection. quired data format. The VPP agent calculates the aggregated regulation
characteristics after receiving these data packets, and run intraday
1.3. Contributions and paper layout rolling optimization model with the objective of minimizing the power
imbalance cost. Finally, the expected net exchange power curve is
In summary, VPP with flexible loads (represented by TCLs) has been corrected and updated (as blue line in Fig. 1).
proved to be efficient in improving the utilization of renewable energy, In the lower level, even if the intraday forecast is more accurate
and many aggregation methods are proposed to describe their power than the day-ahead, there is still a gap with the actual output, resulting
regulation characteristics. However, most of the existing dynamic ag- in forecast error. Moreover, considering the complexity about the TCLs
gregation methods of residential TCLs are model-based and directly models, it is inevitable to simplify them in dynamic aggregation, re-
take the temperature as the control signal, which are greatly affected by sulting in model error. Thus, it is necessary to perform real-time power
parameters and rely on the assumption that the type of devices and tracking after the upper level model has optimized the corrected net
temperature range are approximately the same. These two issues limit power curve. Each TCL only needs to upload its accurate static reg-
the application of their method. ulation characteristics, and VPP uses the static aggregation algorithm to
In this paper, a bi-level scheduling model for VPP with a large evaluate the current load regulation capacity. Finally, Base on the
number of distributed TCLs and intermittent renewable energy is con- lasted information about the PVs and FLs in real-time, VPP can further
structed, and the load aggregation methods are also established. The calculate its actual net exchange power (as read line in Fig. 1) and
main contributions are summarized as follows: works out the corresponding control signals, which can guide the reg-
ulation of TCLs.
(1) A static and dynamic aggregation method for TCLs is proposed, There are two points worth mentioning: (1) VPP participates in
in which static aggregation evaluates the accurate regulation ca- the day-ahead market and determines the planned net exchange
pacity at one time section, and the dynamic characteristics further power curve. But this part is not discussed in this paper. Here, the
consider the mutual regulation between multiple time sections. day-ahead planned curve is calculated based on the day-ahead fore-
Based on the proportional signal, the aggregation model is in- cast of RESs and flexible loads curve without regulation; (2) since the
sensitive to the heterogeneity of parameters, and the physical in- TCL model is a differential equation, the choice of time interval is
formation of the load models are also not updated due to the critical. In order to ensure the accuracy of the basic TCL model, the
privacy protection. time interval in the lower level is chosen to be 1 min. In intraday, the
(2) Based on the aggregated characteristics obtained by the above period of rolling optimization is chosen to be 2 h, while its time in-
methods, this paper establishes a bi-level scheduling model to de- terval is 15 min. The cubic spline interpolation method is used to
crease the VPP imbalance power caused by the forecast error of make up the time scale mismatching between the upper level and
RESs output. In upper level, dynamic regulation characteristics of lower level.
TCLs are applied to rolling correct the planned exchange power
curve in intraday, while the lower level uses the static regulation
characteristics to track target power curve in real-time. For time-
liness, a two-step simplified strategy is proposed to transform the
MINLP into a MILP and iterative NLP.
2. Framework
661
C. Wei et al. Applied Energy 224 (2018) 659–670
3. Modeling of aggregated TCLs temperature set point proportionally according to their own allowed
temperature ranges.
This section describes the model of thermostatically controlled de-
ΔTc,t = ut ·ΔTcmax (5)
vices and establishes aggregation algorithms in both static and dynamic
scenarios. Here the HVAC is analyzed, and the similar method can be t
applied to others such as water heaters and refrigerators. In addition, Tcset set
,t = Tc,0 + ∑ ΔTc,τ = Tcset max
,0 + ΔTc ·SUt
some thermostatically controlled devices have two modes: cooling and τ=1 (6)
heating. For convenience, they are assumed to be working in the where ut is the proportional control signal issued by the VPP control
cooling mode. center, and each user receives the same signal; SUt is the cumulative
control signal; Tcset
,0 is the temperature set point at initial time, and it is
3.1. Modeling of single TCL also assumed to be comfortable indoor temperature set by the user,
meeting Tcset
,0 = (Tc
in,min
+ Tcin,max )/2 .
3.1.1. Basic model
Many literatures have studied the HVAC. Although the models are Compared to directly using ΔTc,t as the control signal, this method
sometimes different (Ref. [18] considers solar radiation, Ref. [25] has the following advantages: (1) Proportional adjustment means the
considers model error, and Ref. [29] considers the occupancy of people sharing equally, and ensures the fairness in allocation; (2) Users can
and equipment), the mathematical expression can be abstract into a change the allowed temperature range according to their own pre-
difference equation: ference and then decide the degree of load regulation, which follows
the voluntariness for users when they participate in DR; (3) Different
Tcin,t = fc (Tcin,t − 1,Zc,t ,Tcout
,t ) (1) users allow different temperature ranges. It is not highly practical to
judge with actual value.
where Tcin,t is the indoor temperature of user c at time t; Tcout
, t is the
In addition, since the indoor temperature cannot be uploaded to the
outdoor ambient temperature; Zc,t is the on/off status of the HVAC
control center (see Principle 2), Eq. (4) should be replaced by Eq. (7):
system. When the HVAC is working, Zc,t = 1, otherwise it is 0. fc (·)
reflects its thermodynamic function. Different users have different
⎧− 1 ⩽ SUt ⩽ 1
parameters, and even expressions may also be different. ⎩ − 1 ⩽ ut ⩽ 1
⎨ (7)
Since the power of the fixed-frequency air condition cannot be
regulated continuously, it is difficult to accurately maintain the indoor
temperature at a certain set point. It is common to sometimes open and 3.2. Aggregation of TCLs
sometimes close the compressor, and makes the indoor temperature
fluctuate periodically within a range. The logic is shown in Eq. (2): As mentioned in Section 1, only when many users coordinate with
each other can the total capacity be large enough. Therefore, it is in-
⎧1, if Tcin,t − 1
⩾ + Tcset
,t Tcdb/2 evitable to aggregate distributed flexible load.
⎪
Zc,t = 0, if Tc,t − 1 ⩽ Tc,t −Tcdb/2
in set
Before the derivation of aggregation model, it is assumed that there
⎨
⎪ Zc,t − 1, otherwise is a strong two-way communication network between users and the VPP
⎩ (2)
agent. In fact, although the fully decentralized control proposed in Ref.
where Tcset
is the temperature set point;
,t Tcdb
is the temperature dead [31] can also be adopt, we used the centralized control here for brevity.
band. In model-based aggregation, the physical concept is clear and it is
The set point change method is always used to adjust Zc,t and further easy to operate. However, the parameters contained in fc (·) and the
affect the power of the HVAC. In this case, Tcset
,t is composed of two parts: user's indoor temperature can often reflect the user's living conditions.
Tcset set Uploading them to the unified platform will involve privacy issues. For
,t = Tc,t − 1 + ΔTc,t (3)
this, the principle 2 is followed:
where ΔTc,t is the change of the temperature set point according to the
Principle 2. The communication between users and the VPP control
control instruction, and the original set point is Tcset
,t − 1.
center is only limited to information directly related to electricity (load
As for user’s comfort, it is guaranteed from two aspects: (1) the room
power, regulation ability, etc.). Other non-electricity information
temperature should be acceptable to the user (range constraint); (2) the
(HVAC parameters, room temperature, etc.) should not be uploaded.
change of temperature set point should not be too fast (rate constraint),
namely:
in,min 3.2.1. Static aggregation
⎧Tc ⩽ Tcin,t ⩽ Tcin,max
The static aggregation is used to evaluate the regulation capacity or
⎨|ΔTc,t | ⩽ ΔTcmax (4)
⎩ assign regulation tasks to each user. In Eq. (2), since the indoor
where [Tcin,min,Tcin,max ]
is the indoor temperature range set by the user;
ΔTcmax is maximum allowable change rate, and for convenience, it is
assumed that ΔTcmax = (Tcin,max−Tcin,min−Tcdb)/2 . Tcin ,max
Finally, in a HVAC, the relationship between temperature para-
meters or variables is shown in Fig. 2.
ΔTcmax Tcset
,t
3.1.2. Selecting control signals
There are two ways when TCLs participate in DR: one is to calculate Tcset
,0
ΔTc ,t
power regulation with frequency or voltage signal received from the
power system, which is often used in second-level load control [30]; the Tcset
, t -1
Tcdb
other way is at minute-level or hour-level, where the control center
directly issues power regulation signals to terminal equipment. Besides, Tcin ,min
two signal forms are common: actual value (such as directly using ΔTc,t )
[23,24,26] or relative proportion. The latter is used here, specifically: 0
Principle 1. When allocating power regulation task, users change their Fig. 2. Temperature set point change.
662
C. Wei et al. Applied Energy 224 (2018) 659–670
temperature and on/off status in previous time (τ < t) are known in coupling.
real-time, the on/off status at time t is uniquely determined by Tcset ,t if the The HVAC model established in Section 3.1 considers the on/off
forecast error of outdoor temperature is neglected. From Eq. (5) and status in a short time interval (1 min). However, when the time scale is
(6), with the known of the Tcset set
,t − 1 (or SUt−1), Tc,t (or SUt) can be replaced long and the time resolution is low (15 min), the on/off status is often
by ut. Finally, the static aggregated regulation characteristics is trans- difficult to be distinguished accurately, and the average power of the
formed to the relationship between the power demand of TCLs and ut, device in the unit time interval is not either 0 or Pcrate . Therefore, Eq. (1)
which is need to update real-time. Define a threshold uc∗,t meeting Eq. is changed to Eq. (13) with a relative long time interval:
(8), and it can be proved that Eq. (9) is equivalent to Eq. (2).
Tcin,t = fc (Tcin,t − 1,PcHVAC
,t ,Tcout
,t ) (13)
⎛Tcin,t − 1−Tcset 1
uc∗,t = ,t − 1 + ⎛Zc,t − 1− ⎞ Tcdb⎞/ΔTcmax where PcHVAC
is the power of a HVAC, and it is a continuous variable
,t
⎝ ⎝ 2⎠ ⎠ (8)
whose value range from 0 to Pcrate .
1 if u ⩽ uc∗,t In addition, if the fluctuation of the indoor temperature is ignored, it
Zc,t = ⎧ means Tcin,t ≈ Tcset out
⎨ ,t . Further in Eq. (13), since Tc,t is obtained by tem-
⎩ 0 otherwise (9)
perature forecast, it just needs to adjust Tcin,t − 1 and Tcin,t to change the
Accordingly, users only need to locally calculate uc∗,t and upload it power of HVAC. Combining Eqs. (5) and (6), Eq. (1) can be simplified as
online. VPP control center operate static aggregation program Eq. (14):
(Algorithm 1) according to the rated power reported offline. Then the
relationship between total power demand and control signal (ut) is PcHVAC
,t = gc (SUt ,SUt − 1,Tcout
,t ) (14)
obtained, as shown in Fig. 3. However, according to Principle 2, Eq. (14) can only used on the
Algorithm 1 (Static aggregation). user side (which can be done by terminal energy management systems
[24,32]), and users do not upload Eq. (14) to the VPP control center.
1: input {u1,∗t ,u2,∗ t ,⋯,u N∗cus,t } Hence, Eq. (14) is transformed into a numerical table locally, and then
it is sent to the VPP control center. The aggregation algorithm is as
2: C1 = {c|uc∗,t ⩽ 1} , C2 = {c|uc∗,t ⩾ −1} , C3 = C1 ∩ C2
follows:
3: Ptstatic (1) = ∑c ∈ C2 Pcrate , Ut (1) = −1, i = 2
Algorithm 2 (Dynamic aggregation).
4: while C3 ≠ ∅, do
5: find the user with min c ∈ C3 {uc∗,t } , and assign its index to c∗ 1: input (T1,out out out
t , T2,t ,⋯,TNcus,t )
6: Ut (i) = u c∗∗,t , Ptstatic (i) = Ptstatic (i−1)−Pcrate
∗
2: for each users c = 1 to Ncus, do
7: C3 = C3−{c∗} , i = i + 1 3: for each longitudinal segment i = 0 to Ntes1, do
8: end while 4: for each transverse segment j = 0 to Ntes2, do
9: Ptstatic (i) = Ptstatic (i−1) , Ut (i) = 1 5: SUt = −1 + (2i)/ Ntes1; SUt − 1 = −1 + (2j )/ Ntes2
10: output Ptstatic , Ut 6: Pdynamic
c,t (i,j ) = gc (SUt ,SUt − 1,Tcout
,t )
7: end for
8: end for
In Algorithm 1, Ncus is the number of users. Step 2 filters the data
9: end for
within [−1,1], while Step 3 and Step 9 expand the sequences to im-
10: output Ptdynamic = ∑ Pdynamic
prove their integrity on the regulation boundary. c ∈ C c,t
As for real-time power tracking (the lower level), the control signal
can be calculated in VPP control center with the following equation:
In Algorithm 2, two-dimensional indexes are required in the dis-
Pttarget = Ptnet ,real−PtPV ,real (10) cretization as shown in Step 3–8, and Ntes1, Ntes2 are the numbers of
discretization segments. Steps 2–9 are calculated by each user locally,
⎧1, if Pt
target
< min{Ptstatic} and Step 10 is made in the VPP control center. Pdynamic
c,t is the dynamic
⎪ Pt
target
− Ptstatic (k ) power regulation characteristic of an individual user while Ptdynamic is the
∼ = ⎪ Ut (k ) + (Ut (k + 1)−Ut (k )) Ptstatic (k + 1) − Ptstatic (k )
u total value obtained by aggregating cluster TCLs. Fig. 4 shows the result
t
⎨ static target of the Algorithm 2 at a specific time.
⎪ if Pt (k ) ⩽ Pt ⩽ Ptstatic (k + 1)
⎪− 1, if P target > max{P static}
⎩ t t (11)
4. VPP intraday rolling optimization
∼ ,1−SU }}
ut = min{−1−SUt − 1, max{u (12)
t t−1
VPP can participate in the electricity market in med-term [33], day-
where Ptnet ,real is the corrected VPP net exchange power converted from
ahead [11] and intraday [26]. In day-ahead, VPP determines the
Ptnet in Section 4; PtPV ,real is the real-time output of PVs. Eq. (10) cal-
∼ is the linear in- planned purchasing curve. However, since VPP contains RESs inside,
culates the real-time power regulation target, and u t
the uncertainty of their output leads to a gap between the actual and the
terpolation result, which is further limited by Eq. (12) according to Eq.
planned net exchange power. Thus it is considered that VPP uses the
(7).
Finally, after the VPP control center works out ut, it will be issued to
Ptstatic
each user, and users only need to perform accordingly. All model
parameters are translated into uc∗,t , and only one data (uc∗,t or ut) is
PcHVAC
transmitted for each user in each interaction, which can reduce the data ,t Pt target
quantity. Pcrate
663
C. Wei et al. Applied Energy 224 (2018) 659–670
Eq. (19).
In Eq. (16), PtTCL is a decision variable, and the regulation char-
acteristic is given by Ptdynamic in Section 3.2.2. This process is expressed
Total power of TCLs (MW)
as:
PtTCL = interpolation(SUt − 1,SUt ,Ptdynamic ) (20)
where SUt−1 and SUt are used to conduct two-dimensional linear in-
terpolation for the numerical table (matrix) Ptdynamic .
664
C. Wei et al. Applied Energy 224 (2018) 659–670
interpolation where the logical judgment is contained and need to in- 4.3.2. Step 2: Solving the precise problem
troduce 0–1 variables. The schematic diagram is shown in Fig. 5, and After Step 1, the cell where the operating point of each time section
the corresponding mathematical expression is as follows: is located has been determined, which means i, j has been known. So
start
σi,j,t , δi,j,t , K i,Xj,t , K iY,j,t , KK i,XY
j,t and Pi,j,t regress only dependent of time t
0 ⩽ σi,j,t ⩽ Ii,j,t ·σimax max
,t ,0 ⩽ δi,j,t ⩽ Ii,j,t · δ j,t (23)
(respectively abbreviated as σt , KtX , KtY , KKtXY , and Ptstart ). At the same
∑∑ Ii,j,t = 1 time, the quadratic term is incorporated in Step 2 to obtain more ac-
i j (24) curate results:
0 ⩽ σt ⩽ σtmax,0 ⩽ δt ⩽ δtmax (29)
SUt − 1 = ∑∑ (Xistart
,j,t · Ii,j,t + σi,j,t )
i j (25) SUt − 1 = σt + σtstart ,SUt = δt + δtstart (30)
SUt = ∑∑ (Yistart
,j,t · Ii,j,t + δi,j,t ) PtTCL = KKtXY σt δt + KtX σt + KtY δt + Ptstart (31)
i j (26)
where σtstart = ∑i ∑j σistart
,j,t Ii,j,t , δtstart = ∑i ∑j δistart
,j,t Ii,j,t , Ptstart =
PtTCL = ∑∑ KK i,XY
j,t · σi,j,t · δi,j,t + ∑∑ K i,Xj,t ·σi,j,t + ∑∑ K iY,j,t ·δi,j,t ∑i ∑j Pistart
,j,t Ii,j,t .
i j i j i j
The optimization in Step 2 can be summarized as follows:
+ ∑∑ Pistart
,j,t · Ii,j,t
i j (27) Objective: Eq. (22).
where Eq. (23) limits the length in each segment; Ii,j,t is the auxiliary Subject to: Eq. (7), (16), (17), (19), (21), (29)–(31).
0–1 variable; σi,j,t and δi,j,t are respectively the longitudinal/transverse This is a simple NLP (especially QCP), which is solved with TOMLAB
segment variables with their maximum value σimax ,t and δ jmax
,t . Eq. (24) / SNOPT.
indicates that only one cell can be selected in each time section. Eqs.
(25) and (26) are used to calculate SU. Xistart start
,j,t and Yi,j,t are the origins of 4.3.3. Adjusting the solution
σi,j,t and δi,j,t , respectively. Eq. (27) is used to calculate PtTCL , and Pistart ,j,t is
Since the quadratic term is omitted in Step 1, I needs to be cor-
the origin meeting Pistart dynamic
(i,j ) ; K i,Xj,t and K iY,j,t is the longitudinal rected. Locally adjust I according to σt , δt obtained in Step 2: when σt
,j,t = Pt
and transverse slope of each cell, meeting and δt come near to 0 or maximum, it indicates that I may directly limit
K i,Xj,t = (Ptdynamic (i + 1,j )−Ptdynamic (i,j ))/ σimax,t , K iY,j,t = (Ptdynamic (i,j + 1) the value of σt and δt , and there may be a better scheme after adjusting
−Ptdynamic (i,j ))/ δ jmax KK i,XY dynamic
(i + 1,j + 1)−Ptdynamic I. Thus the following method is used:
,t , and j,t = (Pt
(i + 1,j )−Pta (i,j + 1) + Pta (i,j ))/(σimax δ max
) can be analogy to the second-
,t j,t
⎧ 1, σt ⩾ (1−η) σtmax
order partial derivative.
Ntσ = 0, ησtmax < σt < (1−η) σtmax
⎨
4.3. Summarizing and solving ⎩−1, σt ⩽ ησtmax
⎧ 1, δt ⩾ (1−η) δtmax
Combine Sections 4.1 and 4.2, the intraday rolling optimization Ntδ = 0, ηδtmax
< δt < (1−η) δtmax
model can be expressed as: ⎨
⎩−1, δt ⩽ ηδtmax
665
C. Wei et al. Applied Energy 224 (2018) 659–670
666
C. Wei et al. Applied Energy 224 (2018) 659–670
Table 1 Table 3
Thermal parameters of the HVACs. Comparisons under different prices.
ETP parameters P rate (kW) COP (p.u.) R (°C/kW) C (kWh/°C) Imbalance Imbalance energy Imbalance cost ($) Relative
5.6 2.5 2 2 capacity price price improve (%)
Scheme 2 Scheme 3
Temperature setting T0set (°C) T min (°C) T max (°C) Tcdb (°C)
0 100 59.19 61.91 −4.59
23 22 24 1
50 100 107.90 107.78 0.11
100 100 156.62 125.10 20.13
200 100 254.05 158.90 37.45
400 100 488.90 226.50 49.54
More details
in Fig.8 (b) account for a large proportion, they can contribute to deal with the
forecast error of PVs output. In Scheme 3, the imbalance cost is further
reduced to 37.45% compared with Scheme 2. More specifically, the
decrease in total cost is mainly resulted by the reduction of the max-
imum imbalance power (nearly 65.30%). However, it should be pointed
out that the energy costs increase as the capacity costs reduce, which
means that reducing the maximum imbalance power often leads to the
increase in the imbalance energy.
667
C. Wei et al. Applied Energy 224 (2018) 659–670
Hence, the PV data for the other two days in the Walloon-Brabant is
selected, shown in Fig. 10. To demonstrate clearly, the PV data in Fig. 7
is named PV 1 and the PV data in Fig. 10 is named PV 2 and PV 3,
respectively. In Table 5, it can be found that the statistical characteristic
of PV 1 and PV 2 is similar, while the forecast error of PV 3 is larger
than that of PV 1.
Power tracking results are examined when PV 2 and PV 3 are input,
as shown in Fig. 11.
668
C. Wei et al. Applied Energy 224 (2018) 659–670
(b) PV 3
Fig. 10. PV output data.
Table 5
Comparisons between PV 1, PV 2 and PV 3.
PV 1 PV 2 PV 3
completed within 6 s. This shows that the simplified algorithm has good (c) SU under three sets of PV data.
timeliness, and it can guide real-time power tracking.
Furthermore, the average time consumption for solving the MILP in Fig. 11. The performance under different forecast error.
Step 1 and the NLP in Step 2 is shown in Table 7.
In Table 7, the calculation time mainly goes to solving MILP in Step Table 6
1, taking 62.26% on average. Although Step 2 is solved several times in Imbalance cost under PV 3.
iterations, on the one hand, the determination of I is completed with the Imbalance capacity Imbalance energy Total imbalance cost
average iteration of 2.989 times, and the longest one only has 7 times; cost ($) cost ($) ($)
on the other hand, without integer variables, the average solving time
Scheme 2 134.35 325.70 460.05
of the simple QCP in Step 2 is only 0.59 s. Therefore, the algorithm does
Scheme 3 244.40 300.72 545.12
not take too much time.
In addition, since the power regulation characteristics of individual
users is locally calculated in parallel by users, the VPP control center
just integrates these calculation results. In short, the quantity size of level, thermostatically controlled loads are used to track target curve,
HVACs only affects the redundancy of information transmission and so as to reduce the imbalance power caused by the forecast error of
does not cause the curse of dimensionality in the optimization model. renewable energy. In addition, proportional control signals are applied
How to build a strong communication network is beyond the scope of instead of temperature control signals to protect the privacy of users
this study. participating in demand response. With random sampling, 2100 sam-
ples are selected, and their ability to participate in the operation of
6. Conclusion virtual power plant after of aggregation is verified. The results show
that in typical case, the method in this paper will reduce the maximum
This paper proposes a dynamic and static aggregation method for imbalance power and save the imbalance cost. Moreover, this method is
thermostatically controlled loads, and establishes a bi-level scheduling not affected by the heterogeneity of parameters, and it is more suitable
algorithm for virtual power plant. At intraday level, rolling optimiza- for virtual power plant with diverse users. It also proves the conclusion
tion is made to correct total net exchange power curve. At real-time that the changeable polarity of forecast error of renewable energy is
669
C. Wei et al. Applied Energy 224 (2018) 659–670
industrial virtual power plant using the best demand response strategy. Appl Energy
2016;164:590–606.
[11] Ju L, Tan Z, Yuan J, et al. A bi-level stochastic scheduling optimization model for a
virtual power plant connected to a wind–photovoltaic–energy storage system con-
sidering the uncertainty and demand response. Appl Energy 2016;171:184–99.
[12] Cui H, Li F, Hu Q, et al. Day-ahead coordinated operation of utility-scale electricity
and natural gas networks considering demand response based virtual power plants.
Appl Energy 2016;176:183–95.
[13] Kardakos EG, Simoglou CK, Bakirtzis AG. Optimal offering strategy of a virtual
power plant: a stochastic bi-level approach. IEEE Trans Smart Grid
2015;7(2):794–806.
[14] Mashhour E, Moghaddas-Tafreshi SM. Bidding strategy of virtual power plant for
participating in energy and spinning reserve markets—part I: problem formulation.
IEEE Trans Power Syst 2011;26(2):949–56.
[15] Rahmani-Dabbagh S, Sheikh-El-Eslami MK. A profit sharing scheme for distributed
energy resources integrated into a virtual power plant. Appl Energy
2016;184:313–28.
[16] Thavlov A, Bindner HW. Utilization of flexible demand in a virtual power plant set-
up. IEEE Trans Smart Grid 2015;6(2):640–7.
Fig. 12. Time consumption of a single intraday optimization. [17] Bianchini G, Casini M, Vicino A, et al. Demand-response in building heating sys-
tems: A Model Predictive Control approach. Appl Energy 2016;168:159–70.
[18] Jin X, Mu Y, Jia H, et al. Dynamic economic dispatch of a hybrid energy microgrid
Table 7 considering building based virtual energy storage system. Appl Energy
Time consumption in Step 1 and Step 2. 2016;194:386–98.
[19] Michailidis IT, Schild T, Sangi R, et al. Energy-efficient HVAC management using
Total (s) Step 1 (s) Step 2 (s) Iteration (times) cooperative, self-trained, control agents: a real-lifebuilding case study. Appl Energy
2018;211:113–25.
Average 4.696 2.924 1.767 2.989 [20] Ruiz N, Cobelo I, Oyarzabal J. A direct load control model for virtual power plant
Maximum 7.234 4.292 3.810 7 management. IEEE Trans Power Syst 2009;24(2):959–66.
[21] Yin R, Kara EC, Li Y, et al. Quantifying flexibility of commercial and residential
loads for demand response using setpoint changes. Appl Energy 2016;177:149–64.
[22] Williams T, Wang D, Crawford C, et al. Integrating renewable energy using a smart
more favorable to the regulation of aggregated thermostatically con-
distribution system: Potential of self-regulating demand response. Renew Energy
trolled loads. Finally, the timeliness of the two-step simplified strategy 2013;52(2):46–56.
is proposed and validated by making statistics on 440 times intraday [23] Lu N, Zhang Y. Design considerations of a centralized load controller using ther-
optimizations. mostatically controlled appliances for continuous regulation reserves. IEEE Trans
Smart Grid 2014;4(2):914–21.
The future work will focus on the coordination method of load [24] Jiang Y, Xu J, Sun Y, et al. Day-ahead stochastic economic dispatch of wind in-
models with different time scales. Besides, VPP can provide multiple tegrated power system considering demand response of residential hybrid energy
services, so after we finished the model constructing, how it profit from system. Appl Energy 2017;190:1126–37.
[25] Mathieu JL, Kamgarpour M, Lygeros J, et al. Arbitraging intraday wholesale energy
a practical electricity market should be analyzed. market prices with aggregations of thermostatic loads. IEEE Trans Power Syst
2015;30(2):763–72.
Acknowledgements [26] Zhou Y, Wang C, Wu J, et al. Optimal scheduling of aggregated thermostatically
controlled loads with renewable generation in the intraday electricity market. Appl
Energy 2017;188:456–65.
This work was supported in part by the National Key R&D Program [27] Iacovella S, Ruelens F, Vingerhoets P, et al. Cluster control of heterogeneous ther-
of China [2017YFB0902900], in part by the National Natural Science mostatically controlled loads using tracer devices. IEEE Trans Smart Grid
2017;8(2):528–36.
Foundation of China [51477122].
[28] Liang Z, Alsafasfeh Q, Jin T, et al. Risk-constrained optimal energy management for
virtual power plants considering correlated demand response. IEEE Trans Smart
References Grid 2017; PP(99): p. 1–1.
[29] Aswani A, Master N, Taneja J, et al. Reducing transient and steady state electricity
consumption in HVAC using learning-based model-predictive control. Proc IEEE
[1] Verzijlbergh RA, Vries LJD, Dijkema GPJ, et al. Institutional challenges caused by 2012;100(1):240–53.
the integration of renewable energy sources in the European electricity sector. [30] Liao S, Xu J, Sun Y, et al. Load-damping characteristic control method in an isolated
Renew Sustain Energy Rev 2017;75:660–7. power system with industrial voltage-sensitive load. IEEE Trans Power Syst
[2] Li X, Zhang R, Bai L, et al. Stochastic low-carbon scheduling with carbon capture 2016;31(2):1118–28.
power plants and coupon-based demand response. Appl Energy 2018;210:1219–28. [31] Chen C, Wang J, Kishore S. A distributed direct load control approach for large-
[3] Tang C, Xu J, Sun Y, et al. Look-ahead economic dispatch with adjustable con- scale residential demand response. IEEE Trans Power Syst 2014;29(5):2219–28.
fidence interval based on a truncated versatile distribution model for wind power. [32] Ji HY, Baldick R, Novoselac A. Dynamic demand response controller based on real-
IEEE Trans Power Syst 2018;33(2):1755–67. time retail price for residential buildings. IEEE Trans Smart Grid 2014;5(1):121–9.
[4] Kieny C, Berseneff B, Hadjsaid N, et al. On the concept and the interest of virtual [33] Pandžić H, Kuzle I, Capuder T. Virtual power plant mid-term dispatch optimization.
power plant: Some results from the European project Fenix. Power & Energy Society Appl Energy 2013;101(1):134–41.
General Meeting, 2009. PES '09. IEEE. IEEE; 2009. p. 1–6. [34] Li Z, Guo Q, Sun H, et al. Storage-like devices in load leveling: Complementarity
[5] Pandžić H, Morales JM, Conejo AJ, et al. Offering model for a virtual power plant constraints and a new and exact relaxation method. Appl Energy 2015;151:13–22.
based on stochastic programming. Appl Energy 2013;105(5):282–92. [35] Mathieu TL, Dyson M, Callaway DS. Using residential electric loads for fast demand
[6] Zapata J, Vandewalle J, D'Haeseleer W. A comparative study of imbalance reduction response: The potential resource and revenues, the costs, and policy re-
strategies for virtual power plant operation. Appl Therm Eng 2014;71(2):847–57. commendations. ACEEE Summer Study on Buildings; 2012.
[7] Zamani AG, Zakariazadeh A, Jadid S. Day-ahead resource scheduling of a renewable [36] Elia. http://www.elia.be/en/grid-data/power-generation/Solar-power-generation-
energy based virtual power plant. Appl Energy 2016;169:324–40. data/Graph; [accessed 2018.04.04].
[8] Giuntoli M, Poli D. Optimized thermal and electrical scheduling of a large scale [37] Elia. http://www.elia.be/en/grid-data/balancing/imbalance-prices; [accessed
virtual power plant in the presence of energy storages. IEEE Trans Smart Grid 2018.04.04].
2013;4(2):942–55. [38] Zhang W, Kalsi K, Fuller J, et al. Aggregate model for heterogeneous thermo-
[9] Tascikaraoglu A, Erdinc O, Uzunoglu M, et al. An adaptive load dispatching and statically controlled loads with demand response. Power and Energy Society
forecasting strategy for a virtual power plant including renewable energy conver- General Meeting. IEEE; 2012. p. 1–8.
sion units. Appl Energy 2014;119(15):445–53.
[10] Nosratabadi SM, Hooshmand RA, Gholipour E. Stochastic profit-based scheduling of
670