IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
I. I NTRODUCTION
N TODAYS electric power grid, we often observe substantial hourly variation in the wholesale electricity price, and
the spikes usually happen during peak hours due to the high
generation cost. However, almost all end users nowadays are
Manuscript received September 15, 2012; revised March 1, 2013. Part of
work was done while L. P. Qian was at The Chinese University of Hong Kong.
L. P. Qian was supported in part by the National Natural Science Foundation
of China (Project number: 61101132). Y. J. Zhang was supported in part by the
National Natural Science Foundation of China (Project number: 61201262),
and the General Research Fund Grant (Project number 419509) established
under the University Grant Council of Hong Kong. J. Huang was supported
in part by the General Research Funds (Project Number CUHK 412710 and
CUHK 412511) established under the University Grant Committee of the
Hong Kong Special Administrative Region, China. Y. Wu was supported
in part by the Qianjiang Talent Project (Project number: QJD1202011) and
the Hong Kong Research Grants Councils General Research Fund (Project
number: 619312).
L. P. Qian is with College of Computer Science and Technology,
Zhejiang University of Technology, Hangzhou 310023, China (e-mail:
lpqian@zjut.edu.cn). She is also with The State Key Laboratory of Integrated
Services Networks, Xidian University, Xian 710162, China.
Y. J. Zhang and J. Huang are with Department of Information Engineering,
The Chinese University of Hong Kong, Shatin, New Territories, Hong Kong
(e-mail:{yjzhang, jwhuang}@ie.cuhk.edu.hk).
Y. Wu is with College of Information Engineering, Zhejiang University
of Technology, Hangzhou 310023, China (e-mail: iewuy@zjut.edu.cn). He
was with Department of Electronic and Computer Engineering, Hong Kong
University of Technology under the supervision of Prof. Danny H. K. Tsang.
Digital Object Identier 10.1109/JSAC.2013.130710.
c 2013 IEEE
0733-8716/13/$31.00
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
User
Retailer
Power Line
LAN
Real-time prices
ph
User
User
User
User
User
User
User
Retailer
Power Line
User
LAN
LAN
Power Line
LAN
Power Line
User
User
Generator
Power Line
1269
LAN
Generator
Users needs
Energy Scheduler
Smart meter
Applicanes
Fig. 1.
Fig. 2. The operation of smart meter and the price setting of retailer in our
design, where ph represents the price for the hth time slot in every scheduling
horizon.
1270
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
"
eau ,h = Eau
(4)
hHau
0 eau ,h ramax
, h Ha u .
u
(5)
(1)
Let ph denote the price for the hth time slot in the scheduling
horizon. A time slot can be, for example, one hour, and the
scheduling horizon can be one day, i.e., H = 24 hours.
At the beginning of every upcoming scheduling horizon, the
retailer announces all prices ph s for the upcoming scheduling
horizon, and each user u computes its optimal eau accordingly.
In what follows, we will introduce the energy consumption
constraints of the three categories of appliances.
As a background appliance, each au Au works in a
working period Hau H, during which it consumes rau
energy per time slot. This is mathematically described as
!
rau ,h , h Hau ,
eau ,h =
(2)
0,
otherwise.
We note that the time slots in Hau are allowed to be intermittent. There is no exibility to redistribute the load due to
this type of appliances in response to the price. However, such
appliances are ubiquitous in power systems and contribute a
large percentage of the peak during high-demand hours. It
is thus important to properly schedule categories Bu and Cu
appliances to avoid further overloading the peaks.
For each appliance au Bu , user u obtains different levels
of satisfaction for the same amount of energy consumed in
different time slots. Suppose that the satisfaction is measured
by a time-dependent quality-of-usage function Uau ,h (eau ,h ),
which depends on who, when, and how much energy is
consumed. For example, Uau ,h (eau ,h ) may be equal to zero
during undesirable operation hours. It is reasonable to assume
that Uau ,h (eau ,h ) is a non-decreasing concave function of
eau ,h at any time slot h H. Besides, for each appliance
au Bu , the energy consumption per time slot is subject to
, h H,
0 eau ,h ramax
u
(3)
eau ,h Cumax , h H.
au Au ,Bu ,Cu
(6)
Uau ,h (eau ,h ).
(7)
hH au Bu
hH
ph
"
au Au ,Bu ,Cu
$
eau ,h .
(8)
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
"
hH
#
ph Eu,h +
0 eau ,h
subject to
"
eau ,h
au Bu ,Cu
ramax
, au Bu , h
u
(9.1)
H,
(9.2)
0 eau ,h ramax
, au Cu , h Ha u ,
u
(9.3)
/ Ha u ,
eau ,h = 0, au Cu , h
"
eau ,h = Eau , au Cu ,
(9.4)
(9.5)
hHau
"
au Bu ,Cu
eau , au Bu , Cu ,
variables
Note that through solving Problem 1, each user can independently determine its optimal energy usage based on the prices
forecasted by the retailer.
B. Retailer
When we solve Problem P1, the optimal total energy
consumption from all users in each time slot depends on the
price vector p = [p1 , , pH ]. For notational convenience,
let Su,h (p) denote the corresponding optimal total energy
consumption of user u at time slot h. As shown in the
next section, given the price, each user can easily calculate
Su,h (p)s from Problem P1.
Note that the retailer has one goal to maximize its prot,
which is the difference between revenue and cost with which
it buys energy from the generators. In particular, the revenue
is given by
%
&
" "
Su,h (p) ph ,
(11)
h
hH
uU
uU
"
hH
l
where pl and pu denote the lower-bound price and the upperbound price due to regulation, respectively, and the coefcient
w reects the weight of cost in the net prot.
Noticeably, the optimal solution of Problem P2 depends
on
+ the form of the total electricity consumption (i.e.,
Su,h (p)). The detailed solution to Problem P2 will be
uU
hH
"
uU
&2
Su,h (p)
uU
u
+b
subject to p ph p , h H,
variables p,
"
uU
&3
Su,h (p)
(13)
"
hH
u,h
hH
Cumax
Eu,h
"
"
eau ,h
au Bu ,Cu
au Bu ,Cu
$
eau ,h .
(14)
Mathematically, the optimizations of the Lagrangian and the
dual problem are expressed as
g( u ) =maximize L({eau }au , u )
, h H, au Bu ,
subject to 0 eau ,h ramax
u
"
eau ,h = Eau , au Cu ,
hHau
, au Cu , h Ha u ,
0 eau ,h ramax
u
eau ,h = 0, au Cu , h
/ Ha u ,
variables eau , au Bu , Cu .
uU
1271
(15)
and
Dual Problem: minimize g( u )
subject to u,h 0, h H,
variables u ,
(16)
respectively.
U u ,h (eau ,h )
Let Ua u ,h (eau ,h ) denote ae
and Ua1
() denote
u ,h
au ,h
1272
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
(17)
u ))
eau ,hi (p, (u,h , h H
Eau
max
au
and hi Ha u
0, otherwise,
(18)
(21)
2 For simplicity, we assume that the smart grid can tolerate that evat the same time slot, i.e.,
ery!category Cu appliance consumes ramax
u
ramax
Cumax Eu,h , h.
u
au Cu
3 Notation
minimize
"
"
u au Bu
h
/H
Uau ,h (eau ,h )
variables
minimize
"
"
u au Bu
hi H
"
(23)
Moreover, the total optimal energy consumption at time slot
u is equal to Cumax . That is,
h
/H
"
u.
eau ,h (ph ) = Cumax Eu,h , h
/H
(24)
au Bu
3
.ramax 4
" u
1
max
u.
= min Cu , Eu,h +
Uau ,h (ph )
, h
/H
au Bu
# "
$
#
$
"
max
(ph + u,h )
eau ,h +
u,h Cu Eu,h
u , au Bu ,
, h
/H
u
h
/H
.ramax
u
au Bu
#
(phi + u,hi )
u
hi H
.ramax
u
(25)
"
au Bu ,Cu
u
h
/H
eau ,hi
(19)
"
u
hi H
#
$
u,hi Cumax Eu,hi
u , au Bu ,
subject to eau ,hi = Ua1
(phi + u,hi )
, hi H
u ,hi
0
Eau
max
if i {1, 2, , rmax
} and hi Ha u
rau
au
Eau
Eau
au Cu , eau ,hi = Eau ramax
rmax
, elseif i = rmax
+ 1 and hi Ha u
u
au
au
0,
otherwise,
u,
u,hi 0, hi H
u.
variables u,hi , hi H
"
ph , denoted by u,h
(ph ), and the optimal energy consumption
u satises
/H
of each appliance au at time slot h
.ramax
u
u.
eau ,h (ph ) = Ua1
(ph +u,h
(ph ))
, au Bu , h
/H
u ,h
0
au Bu
(20)
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
(k)
u,h
(k1)
u,h
(k)
u,h
$.+
#
"
"
(k1)
(k1)
max
u . (26)
eau ,h (ph + u,h )
eau ,h (p, (u,h , h Hu ))
, h H
Cu Eu,h
au Bu
au Cu
1273
u )))2
, h H
u ))
H
u , where
phi + u,hi phi+1 + u,hi+1 for all hi H
u |. Then, the energy consumption of each semi-elastic
L = |H
appliance is given according to the order of time slots. Since
the order of time slots depends on the summation of u,h and
u , the energy consumption has no closedph for all h H
form expression for the semi-elastic appliances. Therefore,
(p)s from
it is difcult to obtain the optimal solution u,h
(20). Alternatively, for a given p, we can adopt an iterative
(0)
(b)
+ (k)
(0)
s
= +,
s(k) u,h with lim s(k) = 0 and
k
k=1
$
3.0 3.5 0.5 3.0
.
1.5 3.5 2.0 1.0
1274
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
"# "
u
hH
au Bu
"# "
lim
(
eau ,h (ph +
(k)
u,h )
au Bu
u
hH
"
(k)
(
eau ,h (ph + u,h ) eau (p))2 +
eau (p))2
au Cu
Background appliances
Appliance a5
35
Appliance a
Total Energy Consumption (kWh)
Appliance a3
30
p =$1.2
Appliance a4
p2=$1.0
25
p =$1.2
3
p =$1.0
8
p6=$1.4
20
p1=$1.1
p =$1.9
7
15
p =$1.9
5
10
0
0
4
5
Schduling Horizon
"
au Cu
40
(k)
u )) e (p))2
(
eau ,h (p, (u,h , h H
au
(k)
(
eau ,h (p, (u,h , h
u )) e (p))2
H
au
(27)
(28)
= 0.
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
1275
1276
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
TABLE I
U SERS AND RETAILER S BEHAVIORS UNDER DIFFERENT PRICE SETTING
1500
Flat-rate pricing
Price setting
Total Payment/Revenue
Cost
Prot
ph = $0.58, h
$5923.6
$6930.7
$-1007.1
$5787
$1191.2
$4595.8
Optimal at price
ph = $1.45, h
$5698.1
$1097.5
$4600.6
Optimal price
Total Payment/Revenue
Cost
Prot
p =
$(1.41, 1.28, 1.50,
1.45, 1.50, 1.50,
1.50 1.50, 1.38,
1.35, 1.28, 1.26)
$5923.6
$1191.2
$4732.4
1200
ph = $1.428, h
1000
800
600
400
200
Fig. 4.
6
7
8
9
Scheduling Horizon
10
11
12
retailer increases the price in each time slot, all load demands
are reduced in the scheduling horizon accordingly, which can
be also found in Fig. 4 from the two at-rate schemes. The
reduction of load demand further leads to the reduction of peak
demand. Furthermore, Fig. 4 shows that compared to the two
at-rate pricing schemes, the real-time pricing scheme attens
the load demand curve and reduces the peak-to-average load
ratio. In particular, the real-time pricing scheme reduces the
peak-to-average load ratio by about 20% compared to the atrate pricing schemes.
We then compare the revenue, the cost, and the prot
under different settings of price in Table I. Specically, these
performances are evaluated at the retailer side. It can be seen
from Table I that (i) to make ensure the same total payment
from users (i.e.,$5923.6), the cost under the at-rate pricing
(i.e., $6930.7) is much higher due to the increase of peak
demand (as shown in Fig.4); (ii) to make the same cost, the
retailer has to set the at rate to be high enough to compensate
the peak cost; (iii) under the at-rate pricing scheme, the
retailer achieves the maximum prot with the price of $1.45,
which is lower than that achieved by our real-time pricing
scheme.
Example 3: In this example, we conduct an experiment
to observe the total time needed for obtaining the optimal
price vector if the two-way communication in the SAPC
algorithm is done through general-purpose networks, such as
Internet. Our experiment emulates the retailers and users by
computers that are connected to the public network through
sub-networks from different service providers. The retailer
computer is located in The Chinese University of Hong
Kong, and the user computers are scattered throughout the
Hong Kong city. We consider an experiment situation with
N user computers, where N is from 100 to 1000. Each
user has six elastic appliances, four semi-elastic appliances,
and several background appliances. Assume the retailer side
procedure and the user side procedure in the SAPC algorithm
The total payment is the sum of all users payment, equal to the retailers
revenue. The cost and the prot are evaluated by the retailer.
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
700
600
Time (Seconds)
500
au Bu
300
200
100
300
400
500
600
700
Number of Users
800
900
1000
hH
# "
$
(ph + u,h )
eau ,h
(29)
au Bu
variables eau , au Bu ,
and
minimize
"
u
hH
subject to
= (ph + u,h
(ph )), if 0 Ua1
(ph + u,h
(ph )) ramax
,
u
u ,h
(32)
and
.ramax
u
1
Uau ,h (ph + u,h )
0
u,h
= 0, if Ua1
(ph + u,h ) > ramax
or Ua1
(ph + u,h ) < 0.
u
u ,h
u ,h
(33)
From (32) and (33), we get
#.ramax $
" #
u
Ua u ,h Ua1
(p
+
(p
))
h
u,h h
u ,h
0
eau ,h = Eau , au Cu ,
.ramax
u
1
5
$ Uau ,h (ph + u,h )
5
0
5
(ph + u,h
(ph ))
5
u,h
u,h =
u,h
au Cu
hHau
(31)
au Bu
# "
$
(ph + u,h )
eau ,h
"
=0
u.
h 0, h
/H
A PPENDIX A
P ROOF OF L EMMA 1
"
au Bu
h u,h
(ph )
Fig. 5. Total time needed for obtaining the price vector VS number of users
.ramax
u
5
$ Ua1
(p
+
)
h
u,h
u ,h
5
0
5
(ph + u,h (ph ))
5
u,h
(p )
u,h =u,h
h
max
.
r
au
"
+ (Cumax Eu,h
(ph + u,h
(ph ))
) = h
Ua1
u ,h
400
0
100
1277
(ph )
= 0.
(30)
, au Cu , h Ha u ,
0 eau ,h ramax
u
eau ,h = 0, au Cu , h
/ Ha u ,
variables eau , au Cu .
(34)
Eu,h
=0
(ph ) = 0
h u,h
" -
(ph
Ua1
u ,h
au Bu
.ramax
u
u,h
(ph ))
h 0, h H.
(35)
(p
+
(p
The concavity of Uau ,h () implies that Ua1
h
h ))
u,h
,h
u
(p
+
(p
))
U
(p
)
,
Ua1
h
u,h h
au ,h h
u ,h
(36)
0
0
u,h
(ph )
> 0.
(37)
1278
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013
u,h
(ph )) decreases with the increase of u,h
(ph ), there must
" -
au Bu
.ramax
u
(p
)
> Cumax Eu,h .
Ua1
h
u ,h
(39)
Together with
(k)
u,h
(0)
su,h ,
u || || (k)
|| (k+1)
u
u u || 2s
"
(0)
u,h J 2 ,
"
(k)
u
hH
(u,h u,h
)J
hH
"
"
ph
(k)
au Bu
"
eau ,h
au Cu
(41)
(k)
eau ,h . For
(42)
"
au Bu ,Cu
eau ,h (p) ,
"
u
hH
ph
cu Cu
"
u
hH
u,h
J.
(44)
(45)
=
(u,h
u,h )J
(46)
|| (k+1)
u || || (k)
u
u u ||k
(47)
u
hH
4
3
(0)
(0)
|f
(
)
f
(
)
+
(0)
u
u
u
(48)
ramax
, h
u
au Bu ,Cu
subject to 0 eau ,h
H, au Bu ,
"
eau ,h = Eau , au Cu ,
hHau
, au Cu , h Ha u ,
0 eau ,h ramax
u
u , au Bu , Cu .
variables eau ,h , h H
(49)
au Bu
(k)
eau ,h +
"
cu Cu
(k)
eau ,h
"
u
hH
then as long as u
/ (), we have
|| (k+1)
u || || (k)
u
u u || s
(k)
(k)
# "
(50)
(51)
(k)
(52)
s / M ,
Uau ,h (
eau ,h )
u au Bu
hH
(k)
eau ,h
(k)
( (k)
u )
"
"
s /M,
eau ,h (p)
u
hH
"
(k)
eau ,h
au Bu
au Bu ,Cu
u
hH
#
"
+
u,h Cumax Eu,h
=
u
hH
ph
# "
Therefore, if we pick
u au Bu
hH
"
hH
(k)
u au Bu
hH
u
hH
A PPENDIX C
P ROOF OF T HEOREM 1
f (k) ( u )
" "
(k)
=
Uau ,h (
eau ,h )
au Bu
when
and
(k)
u,h J,
(43)
then we have
6
(k+1)
|| u
u ||
6
6
(k)
(k+1)
(k)
|| u u || + || u
u ||
6
(k)
|| u u || +
Therefore, if
s min{/M, / M },
(53)
(54)
QIAN et al.: DEMAND RESPONSE MANAGEMENT VIA REAL-TIME ELECTRICITY PRICE CONTROL IN SMART GRIDS
(55)
It is clear that, as 0, () 0. Therefore, for any
> 0, we can pick (and hence s) sufciently small such
that () < , i.e., there exists time T0 such that
6
(k)
|| u u || , k T0 .
(56)
(k)
(k)
1279
[21] B. Hajek, Cooling schedules for optimal annealing, Math. Oper. Res.,
vol. 13, no. 2, pp. 311-329, 1988.
[22] D. P. Kothari and I. J. Nagrath, Modern power system analysis,
McGraw-Hill Science/Engineering/Math, 2006.
[23] N. Z. Shor, Minimization methods for non-Differentiable functions,
Berlin: Springer-Verlag, 1985.
Li Ping Qian (S08-M10) received her BEng degree with Honors in Information Engineering from
Zhejiang University, Zhejiang, China, in 2004, and
the PhD degree in Information Engineering from
the Chinese University of Hong Hong, Hong Kong,
in 2010. She is currently an Associate Professor in
the College of Computer Science and Technology at
Zhejiang University of Technology, Zhejiang, China.
During 2010-2011, she was a Postdoctoral Research
Assistant in the Department of Information Engineering at the Chinese University of Hong Kong.
She was also a visiting student at Princeton University from June to August
2009.
Her research interests lie in the areas of wireless communication and
networking, including stochastic control and optimization, adaptive resource
allocation for wireless ad hoc networks and multicarrier systems. She is a
co-recipient of 2011 IEEE Marconi Prize Paper Award in Wireless Communications (the Annual Best Paper Award of IEEE Transactions on Wireless Communications) and 2012 Outstanding Research Award for Zhejiang
Provincial Universities in China, and a nalist to Hong Kong Young Scientist
Award in 2011. She received CNOOC grants for 2008-2009 from the Chinese
University of Hong Kong.
1280
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 31, NO. 7, JULY 2013