Академический Документы
Профессиональный Документы
Культура Документы
A novel energy service model and optimal scheduling algorithm for residential
distributed energy resources
Michael Angelo A. Pedrasa a, , Ted D. Spooner b , Iain F. MacGill b
a
b
Electrical and Electronics Engineering Institute, University of the Philippines, EEEI Building, Velasquez St., Diliman, Quezon City 1101, Philippines
University of New South Wales, Sydney, Australia
a r t i c l e
i n f o
Article history:
Received 10 July 2010
Received in revised form 21 June 2011
Accepted 24 June 2011
Available online 23 July 2011
Keywords:
Energy services
Distributed energy resources
Home automation
Electricity tariff
Particle swarm optimization
Co-evolutionary optimization
a b s t r a c t
We propose a novel decision-support tool that aims to optimize the provision of residential energy
services from the perspective of the end-user. The tool is composed of a novel energy service model and
a novel distributed energy resources scheduling algorithm. The proposed model takes into account the
time-varying demand and benet that end-users derive from different services, and assigns the benet
to the energy that realizes the service. The scheduling algorithm determines how distributed energy
resources available to the end-users and under their control should be operated so that the net benet of
energy services is maximized based on the energy service models, and their technical characteristics and
capabilities. The scheduling is a challenging optimization problem; hence, a heuristic simulation-based
approach based around cooperative particle swarm optimization is used. The paper presents a case study
where this decision-support tool is used to optimize the provision of desired energy services in a smart
home that includes a number of controllable loads, energy storage and photovoltaic generation.
2011 Elsevier B.V. All rights reserved.
1. Introduction
A prominent manifestation of economic progress in our modern
society is the consumption of energy services. Therefore, the welfare of citizens relies heavily on the reliability of commercial energy
supply most especially that of electricity. The current electricity
industry is designed and has evolved with the primary purpose of
generating and making available the required electricity demand
regardless of magnitude and location within the transmission and
distribution networks. There is also a huge imbalance in investment decisions: on a per kWh basis, the demand-side makes a
larger investment with respect to the consumption of energy services than that of the supply side with respect to generating and
making electricity available. However, decision-making is centralized and focused on the optimal operation of the generation and
transmission sectors, while the consumers are treated as passive
participants and price-takers in the market.
The projected increase in demand for energy services and the
concern on depleting fossil fuels and climate change introduce
modern challenges to the aging electricity infrastructure. It has
been widely perceived that there is a need to transform the cur-
(M.A.A.
2156
However, potentially more peak and cumulative demand reduction can be achieved if the consumers are enabled by decentralized
and intelligent decision-making tools.
This paper aims to provide an avenue for consumers to participate in the decision-making process with respect to the optimal
operation of the electricity industry. In particular, this paper
presents a decentralized energy service decision-support tool that
a. consumers can use to simulate and to assess the potential
impacts of adopting energy efcient measures and installing
DER,
b. consumers can use to make intelligent decisions with respect to
the operation of their controllable DER, and
c. incorporates user preferences in terms of perceived benets and
exibility with respect to their required services.
We have described the decision-support tool and demonstrated
its capabilities using a simple example in an earlier paper [5]. In this
paper, we investigate its application to a more complex scheduling
problem involving a smart home with more DER and being subject
to a broader range of electricity tariff structures.
2. The energy services decision-support tool
This paper presents a decision-support tool that consumers can
use to optimize the acquisition of their energy services. The tool
consists of an approach for modeling energy services and a DER
scheduling algorithm. The energy service models are based upon
end-users putting value to the benet derived from their various
energy services requirements. Using these models, the scheduling
algorithm (or scheduler) maximizes the net benet derived from
these energy services by proposing a strategy for how to operate
the available DER.
2.1. Modeling energy services
Energy services are energy forms, commodities and processes
from where end-users ultimately appreciate and derive the value
of commercial energy carriers like electricity and gas [6]. Some
of the common forms of energy services are space conditioning,
water heating, illumination, information processing and communications. The demand for an energy service depends on several
factors, most notable are occupancy patterns, end-user preferences
and habits, time of day and day of week, and season of the year.
End-users put value to the energy services they use, not to the
amount of electricity the equipment that deliver these services
consume [7]. The value of an energy service originates from the
comfort, convenience, products and prots it brings to the enduser. The end-user either perceives or may directly quantify the
benet of an energy service, or a combination of both. As example, a residential end-user may be willing to pay several dollars a
day for his house to be heated on cold nights (perceived value).
On the other hand, a semiconductor processing plant owner could
compute the thousands of dollars he would lose for each hour that
his plant is not running (directly quantied). The value of an energy
service to an end-user may depend on the time of the day, weather,
and social externalities, among others. To illustrate, the benet of
having a bright work area in an ofce building is certainly higher
during the day than during the night.
Energy services may be modeled by specifying the temporal
variation of their demand and perceived benets. The demand
may be described by specifying the required temporal changes to
a physical variable directly related to the service, like the hourly
temperature in a room or the volume of hourly consumption of hot
time
Value of hot water service ($ / kWh)
12 MN
6 AM
12 NN
6 PM
time
12 MN
Fig. 1. An example of how to use the proposed energy service model to describe the
demand for and benet of hot water service in a house.
2157
End-users can maximize the net benet from their energy services by planning (or scheduling) the operation of controllable DER.
The net benet is equal to the total benets derived from the services less the cost of electricity consumption. The benets derived
from the services are determined from the temporal variation of
service demand and value of the energy equivalents. The cost of
consumption is determined using the prevailing electricity tariff.
The DER scheduler then creates a strategy for how controllable DER should be operated. The strategy will be in the form of a
schedule, or a set of recommended actions at each interval of the
simulation horizon. The scheduler will also quantify the savings
incurred by operating the DER using the strategy, and this result
may be used for making investment decisions.
The scheduling is essentially an optimization problem that aims
to nd the DER operation schedule x that maximizes the benet of the energy services, less the cost of electricity consumption.
The mathematical formulation of the optimization problem is to
maximize
S
T
(1)
(2)
t=1 i=1
vt+1
= vti + c1 rand() (ptGbest,i pti ) + c2 rand() (ptPbest,i pti ),
i
(3)
pt+1
= pti + vt+1
,
i
i
(4)
1
1 + exp(vt+1
)
i
(5)
The canonical version and binary versions of PSO has been shown
to be effective in generating near-optimal solutions to challenging
problems. Some of their applications to power system optimization are described in [1216]. It was demonstrated in [1719] that
PSO can generate near-optimal solutions within short computation
times when compared to other heuristic optimization methods.
Like any other optimization algorithm, PSO suffers from the
curse of dimensionality. This may be overcome by using cooperative co-evolution [20]. Cooperative PSO solves a high-dimensional
2158
(a) 2.0
1.0
0
Desired
Outdoor
(b)
20
10
(c)
20
10
0
0
12
Time of day
18
24
Fig. 2. Hourly demand for the energy services: (a) Must-run service power consumption, in kWh; (b) Heating service: required hourly temperature, in C, the
outdoor temperature is also shown; (c) Hot water service: hot water consumption,
in liters.
Rate
0.3564
0.1408
0.0814
0.60
2.00
0.128186
Value ($/kWh)
Must-run
High
Medium
Dont Care
Expense
2.20
1.00
0.25
0.00
0.50
2159
to have; the negative value implies that the service does not benet the end-user, in fact, it will cost the end-user and its provision
reduces the net benet. The must-run services should be delivered
regardless of cost so the Must-run value (greater than the CPP rate)
is assigned to them.
The hourly monetary benet ES (t) assigned to the energy
equivalent of the services are shown in Fig. 3. These values are
based on the outlook of the residents to the services they require.
They prefer that the car is fully charged at 8 AM, so a High value
is assigned to the car charging service at 8 AM. They do not care
about the state of the batteries at other times so on those periods, a Dont Care value is assigned. A High value is assigned to the
space heating service when it is required. The residents do not care
about the indoor temperature from 8 AM to 5 PM so a Dont Care
value is assigned during that period. The value assigned to water
heating is High when the they are at home, and Dont Care when
they are away. Medium value is assigned to the pool pumping service from 8 AM to 9 PM. An Expense value is assigned from 10 PM
to 7 AM to prevent the pump from running. The must-run service should be provided so a Must-run value is assigned at all time
periods.
( ES,must-run (t)UES,must-run (t) + ES,car (t)UES,car (t, xcar ) + ES,heat (t)UES,heat (t, xheat ) + ES,water (t)UES,water (t, xwater ) + ES,pool (t)UES,pool (t, xpool ) e (t) Pe (t, x) )
t=1
(6)
In Eq. (6), xcar and xheat are 24-element vectors which coordinates
are the hourly battery charging or discharging rates and the hourly
heating power of the space heater. xwater is also a 24-element vector
but with binary coordinates. The i th coordinate is equal to 1 if the
water heater is to be connected to the ac mains, otherwise it is 0.
The vector xpool contains the starting times and state of each 2-h
pumping period, formulated as:
xpool = [Start 1 Start 2 Start 3 State1 State2 State3 ].
(7)
(8)
1
[ (t) out (t)] = UES,heat (t),
R des
(9)
where des and out are the desired and outdoor temperatures and
R is the thermal resistance of the building shell. The actual temperBattery charging:
High
Dont care
Space and water heating:
High
Dont care
Pool pumping:
Medium
Expense
Mustrun service:
Mustrun
Dont care
12
18
Time of day
Fig. 3. Benet assigned to each kWh of energy equivalent (ES (t)).
24
2160
Table 3
Description of case studies and simulation results.
Case number
Case description a , b
PHEV c
ToU
ToU
ToU
ToU
$0.60
$0.60
$0.60
$0.60
$0.00
$0.00
ToU
ToU
Energy cost, $
Capacity
charge
Energy export,
kWh
Energy
consumption,
kWh
CPP active
Yes
6.70
7.16
5.67
7.07
22.31
Yes
Yes
4.78
3.47
5.11
3.68
2.33
4.94
1.17
4.97
5.19
3.83
12.72
5.36
Yes
Yes
Yes
0.46
0.30
0.14
2.32
2.32
2.32
2.32
2.32
49.11
49.11
49.11
49.11
49.11
2.19
5.90
2.36
2.39
16.53
21.62
16.46
22.52
0.13
0.01
2.36
2.18
50.00
46.03
50.09
45.68
50.38
46.70
52.69
49.08
48.84
45.67
49.64
46.42
din (t)
1
= Pheat (t) [in (t) out (t)].
R
dt
(11)
section then becomes part of the hot section and its volume is reset
to zero.
Tcold (t + 1) = Tinlet +
(10)
where C is the heat capacity of indoor air. Combining Eqs. (9) and
(10) yields
C
Capacity cost a ,$
(13)
For the storage water heater model, we assumed that the stored
water has two sections, hot and cold, having different temperatures. The hot section is already raised to the discharge temperature
and does not mix with the cold section. When hot water is discharged at the top, cold water comes in from the bottom and mixes
with the cold section.
The hourly decision made by the scheduler is whether to connect the heating element to the ac mains or not. If connected, the
cold section temperature at the end of the hour is estimated using
Eq. (14) if it takes more than 1 h to raise the temperature to the discharge value. However, if it takes less than 1 h, the heating element
is turned off, and the energy delivered by the heating element to
the cold section is computed using Eq. (15). The water in the cold
Pe,water (t) =
C0
{[Vcold (t) + Vinlet (t)]T Vcold (t)[Tcold (t) Tinlet ]} + Ploss .
coil
(15)
Eqs. (14) and (15) simply follow the law of energy conservation:
the increase in internal energy should be equal to the amount of
injected heat. Tcold and Vcold are the temperature and volume of
the cold section, and Tinlet and Vinlet are the inlet water temperature and volume. Pcoil = 1.2 kW and coil = 0.98 are the rated power
and efciency of the heating element. C0 = 1.167 103 kWh/L- C
is the specic heat of water. Ploss is the heat loss approximated using
the heater specications [27]. The inlet water should be raised by
T = 50 C.
The energy equivalent of the hot water service, UES,water , is the
thermal energy content of the discharged water:
UES,water (t) = C0 {VHW (t)(T ) + VCW [Tcold (t) Tinlet ]}.
(16)
VHW is the volume discharged from the hot section while VCW is the
volume discharged from the cold section.
Since the pool pump and the appliances providing the must-run
services are already acquired, their actual electric energy consumptions are assigned as the energy equivalents of the pool pumping
and must-run services. Therefore,
UES,pool = Pe,pool ,
(17)
UES,must-run = Pe,must-run .
(18)
(19)
25
20
20
15
15
WH
SH
2.0
3.0
0.0
6
12
2.0
0.0
1.0
0.0
1.0
0.0
6.0
3.0
0.0
3.0
6.0
100%
30%
PP
WH
PP
Batt
100%
30%
SH
Batt
0.0
1.0
0.0
1.0
0.0
18
6.0
24
12
Time of day
20
20
15
15
WH
SH
2.0
100%
30%
PP
SH
Batt
WH
24
PP
18
Time of day
25
0.0
1.0
0.0
1.0
0.0
2161
6.0
3.0
0.0
3.0
2.0
0.0
1.0
0.0
1.0
0.0
6.0
3.0
0.0
0
12
18
24
Time of day
12
18
24
Time of day
Fig. 4. Simulation results for cases S1, S1p, S3h, and S5p. Shown are the desired and actual indoor temperatures, DER schedules, and total grid import and PV output. The
DER operation schedules are described by the stored energy in the PHEV battery (Batt, % of full capacity), space heater power (SH, in kW), water heater power (WH, in kW),
and pool pump power (PP, in kW). The residents take the PHEV when they leave in (a) and (c), so the battery disappears at 8 AM, and returns discharged at 5 PM.
2162
The simulation for each case is run 10 times and the best schedule is chosen. The average simulation time for 10 runs is 320 s, using
Matlab 2008b on Windows XP running on a 2.0 GHz Pentium dual
CPU.
5. Conclusion
The conventional approach for acquiring energy services may
be optimized by recognizing that end-users put varying levels of
benet to different services at different times. Some services should
be provided almost regardless of cost, while some services may be
curtailed if the cost of provision exceeds their benet.
The energy service decision-support tool presented in this paper
was able to optimize the acquisition of energy services by enabling
the end-user to assign benet to energy services, and by scheduling
the operation of controllable DER. The energy service model may be
used to represent the temporal changes of benet and demand for
services. By assigning monetary value to each unit of energy that
realizes a service, or the energy equivalent, benet is assigned to
the service itself and actual service utilization is differentiated from
electric energy consumption. Furthermore, it enables us to incorporate the amount of energy needed to realize the service and the
duration of service provision to the assignment of benet. Using
a case study involving a smart home, we demonstrated how to
use the model to assign benet to services based on the perception of the end-user. We were able to show that some services may
be curtailed if the assigned benet is less than the cost of acquisition. In the case study, the decision-support tool recommends the
reduction of the pool pumping hours when premium feed-in tariff is
available, and curtails the space heating service when CPP is active
the indoor temperature dropped below the comfortable range
because the space heater is not operated during the CPP hours. We
were also able to show that undesired services were not provided
if a negative benet is assigned. This technique can hasten the creation of schedules because the handling of these type of constraints
is incorporated to the maximization of net benet. The energy service model, therefore, provides a unied approach for depicting
the temporal variation of perceived value of services, allowing the
possibility of service curtailment, and describing the exibility of
shiftable services.
We were also able to demonstrate through the case study that
the maximization of net benet could formulate DER schedules that
provide differently valued services at reduced costs. The DER scheduler was able to formulate effective operation schedules for four
DER under different tariff schemes and different values assigned
to services. The DER scheduling algorithm took advantage of the
exibility of some services, the availability of distributed storage
options, and the temporal variation of the cost of electricity to
create the DER operating schedules. The derived schedules were
also consistent with the objectives of demand response programs
implemented through effective tariff design. The results show that
electricity consumption is reduced during the ToU peak periods and
CPP hours, and the peak demand is reduced if peak demand charges
are levied. Grid export is also maximized if premium feed-in rates
are granted to the consumers.
The scheduling of DER is a complex mathematical optimization problem, and the chosen approach using cooperative particle
swarm optimization was able to produce efcient schedules within
manageable computation times.
Acknowledgments
Michael Angelo Pedrasa acknowledges the scholarship granted
by the University of the Philippines and the Philippines Department
of Science and Technology through the ERDT.
References
[1] J. Randolph, G.M. Masters, Energy for Sustainability: Technology, Planning, Policy, Island Press, Washington, 2008.
[2] A. Lovins, E. Datta, T. Feiler, K. Rabago, J. Swisher, A. Lehmann, K. Wicker, Small
is Protable: The Hidden Economic Benets of Making Electrical Resources the
Right Size, Rocky Mountain Institute, Snowmass, CO, 2002.
[3] J.A. Pecas Lopes, N. Hatziargyriou, J. Mutale, P. Djapic, N. Jenkins, Integrating distributed generation into electric power systems: a review of drivers, challenges
and opportunities, Electr. Power Syst. Res. 77 (2007) 11891203.
[4] M. Ilic, J.W. Black, M. Prica, Distributed electric power systems of the future:
institutional and technological drivers for near-optimal performance, Electr.
Power Syst. Res. 77 (2007) 11601177.
[5] M.A. Pedrasa, E.D. Spooner, I.F. MacGill, Improved energy services provision
through the intelligent control of distributed energy resources, in: 2009 IEEE
Bucharest Powertech Conference, Bucharest, Romania, July 2009.
[6] R. Haas, N. Nakicenovic, A. Ajanovic, T. Faber, L. Kranzi, A. Muller, G. Resch,
Towards sustainability of energy systems: a primer on how to apply the concept
of energy services to identify necessary trends and policies, Energy Policy 36
(2008) 40124021.
[7] G.M. Masters, Renewable and Efcient Electric Power Systems, John Wiley &
Sons, Inc., Hoboken, New Jersey, 2004.
[8] IBM ILOG CPLEX Optimizer: High-Performance Mathematical Programming
Engine. See also: http://www-01.ibm.com/software/integration/optimization/
cplex-optimizer/.
[9] General Algebraic Modeling System Home Page. See also: http://
www.gams.com/.
[10] J. Kennedy, R. Eberhart, Particle swarm optimization, in: Proceeding of the 1995
IEEE International Conference on Neural Networks, vol. 4, 1995, pp. 19421948.
[11] J. Kennedy, R. Eberhart, A discrete binary version of the particle swarm algorithm, in: Proceedings of the 1997 IEEE International Conference on Systems,
Man and Cybernetics, vol. 5, 1997, pp. 41044108.
[12] Y. Del Valle, G.K. Venayagamoorthy, S. Mohagheghi, J-C. Hernandez, R.G. Harley,
Particle swarm optimization: basic concepts, variants and applications in
power systems, IEEE Trans. Evol. Comput. 12 (2008) 171195.
[13] A.D. Yucekaya, J. Valenzuela, G. Dozier, Strategic bidding in electricity markets using particle swarm optimization, Electr. Power Syst. Res. 79 (2009)
335345.
[14] M. El-Telbany, F. El-Karmi, Short-term forecasting of Jordanian electricity
demand using particle swarm optimization, Electr. Power Syst. Res. 78 (2008)
425433.
2163
[15] M.A. Pedrasa, E.D. Spooner, I.F. MacGill, Scheduling of demand side resources
using binary particle swarm optimization, IEEE Trans. Power Syst. 24 (2009)
11731181.
[16] P. Reche Lopez, M. Gomez Gonzalez, N. Ruiz Reyes, F. Jurado, Optimization of
biomass fueled systems for distributed power generation using Particle Swarm
Optimization, Electr. Power Syst. Res. 78 (2008) 14481455.
[17] T. Niknam, A.M. Ranjbar, A.R. Shirani, B. Mozafari, A. Ostadi, Optimal operation
of distribution system with regard to distributed generation: a comparison
of evolutionary methods, in: Conference Record of the Fortieth IAS Annual
Meeting Industry Applications Conference, vol. 4, 2005, pp. 26902697.
[18] E. Elbeltagi, T. Hegazy, D. Grierson, Comparison among ve evolutionary-based
optimization algorithms, Adv. Eng. Inform. 19 (2005) 4353.
[19] S.P. Karthikeyan, K. Palanisamy, L.J. Varghese, I.J. Raglend, D.P. Kothari, Comparison of intelligent techniques to solve load economic dispatch problem with line
ow constraints, in: Proceedings of the IEEE International Advanced Computing
Conference, 2009, pp. 446452.
[20] Y. Liu, X. Yao, Q. Zhao, T. Higuchi, Scaling up fast evolutionary programming
with cooperative coevolution, in: Proceedings of the 2001 Congress on Evolutionary Computation, vol. 2, 2001, pp. 11011108.
[21] F. van den Bergh, A.P. Engelbrecht, A cooperative approach to particle swarm
optimization, IEEE Trans. Evol. Comput. 8 (2004) 225239.
[22] Energy Australia Regulated Residential Energy Rates. Sydney, Australia. See
also: http://www.energy.com.au/energy/ea.nsf/Content/NSW+Your+energy+
agreement+ResidentialYA.
[23] Department of Primary Industries: Victorian Feed-in Tariffs. Melbourne,
Australia. See also: http://www.dpi.vic.gov.au/dpi/dpinenergy.nsf/Home+
Page/EnergyHome+Page?open.
[24] C. Amos, Advanced tariff design. Workshop on Advance Metering Infrastructure, Sydney, Australia, 2006. See also: http://www.ceem.unsw.edu.au/
windworkshop/AMIworkshop31ChrisAmos.pdf.
[25] H. Sauer, R. Howell, W. Coad, Principles of Heating, Ventilating and Air Conditioning, ASHRAE, Atlanta, USA, 2001.
[26] L.D. Ha, S. Ploix, E. Zamai, M. Jacomino, Tabu search for the optimization of
household energy consumption, in: Proceedings of the 2006 IEEE International
Conference on Information Reuse and Integration, 2006, pp. 8692.
[27] Rheem Hot Water Manual. See also: http://www.rheem.com.au/manuals.asp?
view=commercial.
[28] F. van den Bergh, A.P. Engelbrecht, A study of particle swarm optimization
trajectories, Inf. Sci. 176 (2006) 937971.
[29] C.A. Coello, Theoretical and numerical constraint-handling techniques used
with evolutionary algorithms: a survey of the state of the art, Comput. Methods
Appl. Mech. Eng. 191 (1112) (2002) 12451287.