Flexible Load Management in Smart Grids? 1708975666
Flexible Load Management in Smart Grids? 1708975666
Flexible Load Management in Smart Grids? 1708975666
SYNOPSIS:
Copies: 3
Pages, total: 82
Appendix: 14
This Master Thesis project report, called Flexible load management in Smart-grids
is written by Eloy Rodríguez Moldes in the period 1th of September 2012 to 29th
of May 2013.
Reading Instructions
• Figures are numbered sequentially in their own chapter. For example Figure
1.3 is the third figure in the first chapter.
• Equations are numbered in the same way as figures but they are shown in
brackets.
i/vi
Acknowledgements
The author of this report would like to thank Pukar Mahat for his excellent guidance
as a supervisor for this project.
iii/vi
iv/vi
Contents
Preface i
Acknowledgements iii
Contents v
1 Introduction 1
1.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Solutions approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3 Prior work in the field . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.5 Key assumption and limitations . . . . . . . . . . . . . . . . . . . . . 4
2 Flexible loads 5
2.1 Introduction to Demand Side Management . . . . . . . . . . . . . . 5
2.1.1 DSM methods . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Residential electricity demand . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Study cases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Appliances 13
3.1 Washing Machine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1.1 Use Pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 Refrigerator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4 Optimization 25
4.1 Problem Formulation . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
v/vi
4.2 Energy cost function . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3 Losses function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.4 Optimization using Matlab Optimization Toolbox . . . . . . . . . . . 28
4.4.1 Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.4.2 Solver Functions . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.5 Optimization results . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5 Modeling 35
5.1 System description . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.2 Implementation of optimal results . . . . . . . . . . . . . . . . . . . 35
5.3 Energy Losses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Bibliography 43
vi/vi
Chapter 1
Introduction
1.1 Background
According to the Energy Strategy 2050 of the Danish Ministry of Climate and
Energy, 30% of total electricity is to be covered by renewable energy consumption
by 2020.
During last years the Danish Power system has moved from a centralized model
supported by large power production plants to a decentralized system. This change
has been motivated by the introduction of renewable energy resources like wind
and photovoltaic. However, the increases of this kind of generation facilities turn
into in a stochastic energy supply system due to the high weather reliance.
One of the main problems in electricity networks, which becomes even bigger in
grids with large renewable resources, is the load balancing. The imbalance between
electricity production and consumption leads to the necessity of power plants with
fast response (as CHP) and storage systems (as batteries), which are able to com-
pensate random renewable generation. However, even with this solution, there is
still a need for the conventional power plants which should run during the period
of lower availability of renewable energy.
Other possibility is the actions on the demand side. The Demand Side Man-
agement (DSM) is load profile variation in order to change the consumption with
production. By this management, it is possible to shift electricity consumption with
respect to production or prices considerations, or both. Thereby, it is possible to
take advantage of a possible prices policy with different time-variant tariff schemes.
Various tariff schemes are discussed in detail in reference [1].
The adaptation to power production becomes of special interest in Smart-Grids
where the energy available is not only limited, but also fluctuating. Furthermore,
the energy efficiency can also be improved in large system with smart grid. That
improvement bases on more efficient distribution, since the consumption power
peak decreases, and consequently the losses should decreases too. Besides, it is
possible to flatten the load profile, which leads to a better use and exploitation of
1/45
1.1. Background Introduction
2/45
1.2. Solutions approach
• Programing optimization.
Demand side management (DSM) is able to adapt the electrical energy consumption
by acting on the behavior of the loads. Today the control of loads is based in
different tariff schemes to motivate the customer to move its consumption. Smart
grids make possible monitoring and control of those individual electrical loads. The
implementation of these systems improves the use of renewable energy, distribution
system and can help to the customers to decrease the electrical bill.
The objective for this Project is to develop a demand side management based
on household appliances. The specific objectives are as follows:
Objective 3: Develop a realistic model of the system in DIgSILENT and test the
controls designed according to voltage and frequency requirements;
3/45
1.5. Key assumption and limitations
4/45
Chapter 2
Flexible loads
As mentioned before, the Danish Power System’s evolution has led to a decen-
tralized power production scenario, contributing to significant power production of
renewable resources. According to the annual report of the Danish Energy Agency,
in 2011, the generation from RE was of 14% of the total energy production, and
shows a growing trend in the use of this kind of energy.
The following table 2.1 summarizes the share of final energy consumption in
Denamrk.
Table 2.1: Electrical Sectors in Denmark in 2011[6]
From the table above 2.1, it is seen that third part of energy is used to domestic
supply. It is interesting indicate that the residential electricity has experienced a
growth of 17% in EU-27 between the period 1999 to 2008, whereas in Denmark, it
has even decreased [3]. Nevertheless it is a very significant part of the total Danish
electrical system, and becomes of a special interest to apply a DSM, in order to
decrease costs for end-user and losses in the distribution system.
5/45
2.1. Introduction to Demand Side Management Flexible loads
This definition covers the reduction in total energy consumption, but also the load
shifting and customer generation, getting a more beneficial load profile. These
benefits include economical and efficiency improvements, from generation utilities
as well as distribution system or final consumer. In general a DSM considers loads
able to react to external parameters. This consideration introduces the concept of
flexible load with which, an utility will be able to adapt its consumption within a
certain constraints.
The correct implementation of a DSM should maintain the same final services
that the electrical grid provides to the users today. However, it is also possible to
change the user habits, while maintaining the same comfort label.
In addiction, the security of supply is improved by DSM when renewable energy
such as wind or solar are used. These type of electrical generation is associated with
a high temporal variability since it can not be reliably dispatched or accurately
predicted. Due to this, match generation and consumption becomes of a special
interest. A correct combination of valley filling and peak shaving could aid to
reduce this problem.
By using DSM programs, it is possible change the load profile shape as shown
in Figure 2.1. The most common applications of DSM are as follow:
Peak shaving: Concerns the reduction of energy usage during intervals of high
demand.
peak
off-peak off-peak
The peak reduction concerns the use of energy in critical periods. A reduction
on power demand leads to a decrement in power losses. Higher the total demand,
larger the transmission losses. Furthermore, other advantage of peak shaving, is
a lower dependence of peak generators. This may be motivated by a economic
6/45
Flexible loads 2.1. Introduction to Demand Side Management
reasons so as to, decrease the usually high operating costs and fuel dependence of
generators during critical periods.
A proper load management could help to flatten the load profile, avoiding ef-
fects of intermittent generation and improving the efficiency of the system. The
modification of the load shape by increasing the consumption in off-peak periods
results in a better use of base generators. In that periods, the cheap energy from
renewable sources or from sources with high disconnection costs, such as nuclear
power plants, could be used.
DSM are intended to benefit both customers and suppliers. While the sup-
pliers try to maximize profits by saving cost on production and distribution, the
customers try to minimize invoice amount by using more efficient loads and adapt-
ing consumption with a price schedule. In this report, both problems have been
considered. On one hand, the losses in the distribution line will be minimized by
adjusting the loads and, on the other hand the cost of consumption will also be
minimized by the rescheduling different process within some specific load.
The different methods of DSM are defined according to the interaction level between
consumer and supplier [10], some of the most common methods are summarized
below.
1. Energy saving and Load efficiency
It refers to efficiency improvements in electrical equipment, which results to a
reduction in energy consumption. New control is required once the new equipment
has been installed. The effects on the electrical demand are indirect, since it focuses
on power reduction regardless of consumption schedule.
2. Pricing models
It bases on energy regulation by means of price incentives. The main idea
is the introduction of various energy prices at different periods during the day.
The differences in price might be adequate both in quantity and time, to motivate
customers to vary its consumption habits [1]. That prices can be established in
advance, for example in the energy supply contract, or it can be daily updated or
even in real time, basis on many parameters factors. Three of these managements
are briefly explained in next paragraphs.
Time of use tariff (TOU): This method is based on the definition of time blocks
with different prices, which reflect the average energy cost during these peri-
ods. For example lowest prices during the night.
Critical peak pricing (CPP): The high prices are allocated in periods where
the generation cost is very high, usually due to a lack in generation or an
excessive consumption. The objective is to promote a peak shaving (Figure
2.1).
Real time pricing (RTP): This kind of tariff reflects the variations in the mar-
ket, usually in hourly periods. For example fluctuations in fuel price. This
7/45
2.2. Residential electricity demand
method moves the prices uncertainty from the supplier to the final user.
The Energy consumption of domestic appliances has been widely measured in Eu-
ropean countries. The following table 2.2 shows the results of a study conducted
in 2007 in EU-15 [7]. The table includes the most common appliances in EU and
its contribution to annual electrical consumption. The power rating is also sum-
marized, however this data is based on [20], which includes a concrete model for
each appliance and may vary for different models and types (e.g. Filament bulbs
or fluorescent tube are included on lights). Nevertheless the values fit with other
publications such as [4].
According to [7], lights and appliances represent more than 50% of the electri-
cal consumption of which 33% corresponds to refrigerators and washing machines.
Many reports which describe a DSM in household appliances make a group differ-
entiation on it according to the use priority [4], [11]. That means the possibility to
8/45
2.2. Residential electricity demand
defer the start of a concrete appliance according to the characteristics of the task
which it does. If the running of an appliance could be postponed, the electrical
consumption which corresponds to that particular machine could also be shifted,
helping to adapt the load profile to any requirements considered.
The ability of an appliance to be postponement is indicated on the table 2.2 by
(p). These appliances are washing machines, dishwashers and drier machines. The
large consumption corresponds to the washing machine and it is also a more com-
mon appliance than drier or dishwasher [7]. A detailed study of washing machine
management and division in subtasks is presented in chapter 3. Other devices as
electronic chargers could be also included, however the impact in terms of energy is
too low in comparison to the three mentioned before. One of the most interesting
management ways is the subdivision of the profile, in different tasks as proposed
in [12]. It is also important to consider the maximum deferrable time, according
to user choices or to the necessity of be completed to run other appliance after the
first one (e.g. drier after washing machine).
The table 2.2 also provides information about less flexible equipment. This
refers to utilities which are used continuously, indicated by (c). However some of
them may have some possibilities to shift as briefly explained before. The electrical
heaters, coolers and refrigerators are appliances which have the biggest impact in
load consumption, as it can be seen in the relative contribution from table 2.2.
These appliances have, in common, the function of a temperature maintenance,
which could be assumed as a thermal storage [14]. Hobs and ovens, although are
not running at all time, can be also considered as an adaptive device. The main
advantage of implement a DSM on these devices, is the possibility of activate and
deactivate the appliance, and at the same time keep the temperature in an accept-
able range. The refrigerator is one of the most appropriate device to implement a
9/45
2.3. Study cases
DSM due to the relatively big range of temperatures for the food to be preserved.
The third group of appliances includes those that are not possible to shift, and
any change in their power consumption profile could affect to its operation. This
group includes appliances like lights, TV or some office equipment.
For this project, a residential area in Aalborg has been considered. The place
consists of 15 houses in three streets. A 10.5/0.42 kV transformer, whose main
characteristics are included in table 2.3, supplies the power into the grid. The grid
is made of 15 PVC and 4 paper distribution lines, the reference number, length and
resistance are listed in table 2.4. Figure 5.1, in Chapter 5 shows the modeled grid
in DIgSILENT.
The dwellings consumption have been calculated from the Danish hourly con-
sumption for houses without electrical heating, and the measured annual energy
10/45
2.3. Study cases
consumption for each household. The load profile for the whole system is shown in
Figure 2.2.
25
20
15
10
11/45
2.3. Study cases
12/45
Chapter 3
Appliances
The first considered domestic appliance for DSM has been the washing machine.
It is seen from the table 2.2 that the annual energy consumption of the washing
machine represents the largest among the deferrable appliances.
Basically, there are two different types of washing machines (horizontal axis
and vertical axis) which have been produced by leading manufacturers for the last
years. The main difference between them is the drum rotational axis direction.
However, nowadays the vertical axis is not popular due to the biggest water and
energy consumption [15]. As a result of the low energy consumption, horizontal
axis is the most used in Europe and all the models considered as the most energy
efficient household washing machines are with horizontal axis [16].
The basic design of a horizontal axis washing machine consists on an electrical
motor, connected to the drum where the laundry is washed, and a water heater.
As it is explained in next paragraphs, during a wash cycle, high and fast variations
occur in the drum. Thus it needs a motor capable of satisfying these requirements.
One of the motors, which can be easily used to this purpose and also generally used
in washing machines is an induction motor [19] [17].
In a normal washing cycle, three different processes occur, wash mode, rinse
mode and spin mode [18]. These mode are briefly explained in the next section in
order to get a better understanding of the washing process. These modes can be
different for each manufacturer and program.
13/45
3.1. Washing Machine Appliances
1. Wash mode
The objective of this mode is to remove the dirt of the laundry. The drum speed
for a wash mode is typically 30-45 rpm [17]. During this mode hot water is supplied
at the chosen temperature program. As it is shown in the load profile (Figure 3.3),
the water heater increases the energy consumption compared to rinse and spin
modes, and it is the main energy consumer. The wash mode uses a small amount
of water which generates high torque in the load when wet and heavy clothes drop
from the drum’s highest point [17][18].
2. Rinse mode
During this process, the cleaner is removed from the clothes by using cold water.
The speed is the same as in wash mode however the torque decreases as shown in
Figure 3.1. It is because of the greater use of water. The maximum torque is
developed when the laundry drops from the drum’s highest point to the bottom.
During this cycle the drop distance is decreased due to the bigger water height in
comparison with wash mode, and therefore the torque is less. It is not necessary to
heat the water; consequently the energy consumption for this mode is smaller than
in wash mode.
Torque
WASH
SPIN
Speed
Figure 3.1: Comparison of the wash mode and the spin mode[18]
3. Spin mode
During this mode, the water is removed from the laundry due to high speed
drum revolution. The spinning speed varies for different programs, however for ten
of the most efficient washing machines in Europe, the maximum spin speed are
between 1400 and 1800 rpm [16] . During this mode the high speed precludes the
laundry drop due to centrifugal force, therefore the torque developed by the motor
is smaller than in other modes. This explains the low energy consumption in Figure
3.3. The maximum speed is raised by steps of lower speed as shown in Figure 3.2.
Figure 3.3 shows the energy consumption measured for a washing machine at
1200 rpm maximum spin speed and 40◦ C water temperature for the wash mode
[20].
In order to develop a flexible demand for the washing machine the understanding
of the whole cycle is necessary. From the Figure 3.3, it can be seen that during
wash mode the heater is working continuously for 20 minutes and the drum turns
14/45
Appliances 3.1. Washing Machine
RPM
800
000
600
40
TIME
Figure 15. Speed Profile of the Washing Cycle
Figure 3.2: Speed Profile of the Washing Cycle[17]
4.1 Tumble-Wash Cycle
The tumble-wash phase is typical with low drum speeds reversing the direction of the drum rotation every
few turns. Because there are short intervals of rotation, the drum must reach a stable rotational speed in
under two seconds. This requirement necessitates applying a high torque to the washer drum to make it
move. A high-generated torque is one of the key requirements in this operating mode. The speed of the
drum for a tumble wash is typically 30–45 rpm. The exact speed depends on the type of clothes being
washed and is determined by the washing program. The drum speed is low and the clothes rise in the drum
and fall down when they reach the highest point. Wet and heavy clothes are periodically bumped in the
drum, generating high torque ripples to the motor. The control algorithm of the drive needs to have enough
dynamics to eliminate those ripples. Error in the speed should not exceed limits of ± 2 RPM. These
requirements can be satisfied where there is a PID controller for a speed control loop and an inner PI
current control loop.
of a load displacement interval, the rotation is reversed and out-of-balance detection is executed again. The
1000
Washing Machine Three-Phase AC-Induction Direct Vector Control, Rev.1
500
20 Freescale Semiconductor
0
0:01
0:04
0:16
0:19
0:28
0:31
0:40
0:43
0:52
0:55
0:58
1:07
1:10
1:19
1:22
0:07
0:10
0:13
0:22
0:25
0:34
0:37
0:46
0:49
1:01
1:04
1:13
1:16
1:25
1:28
15/45
3.1. Washing Machine Appliances
have a low influence in the energy consumption. However in raise and spin modes
the drum turn consume all the energy in four peaks between 250W and 568W. That
indicates three turns at maximum speed in rinse and one in spin mode.
In order to develop a flexible demand for the washing machine the consumption
profile has been divided in according to the three cycles, also shown in Figure 3.3:
The subdivision in three cycles does not introduce any problem in the total wash
since, as explained they are different processes, with different objectives, which start
in a specific time and have a discrete duration. Also almost all the washing machines
include a stop function which is able to halt the cycle and restart it again after some
time. Usually the wash is restarted from the beginning of the cycle (Zanussi ZWI
71201 WA), but some of them are able to restart from the same point into the
cycle within a restart time less than 10 minutes (Whirlpool W10468366A). For
this project, the possibility of introduce a delay of 30 minutes between cycles is
considered. This is a similar option to the technology Tumble Fresh Option of
Whirpool which provides a periodic tumbling after a wash when the laundry is not
unloaded.
16/45
Appliances 3.1. Washing Machine
Models to predict the load profile of a dwelling has been widely studied [21],[22],[23].
Most of these methods are based on time of use surveys, by relating a particular
activity with the use of an appliance. Some of the most complete time of use sur-
veys have been conducted in Sweden, Norway or UK. Reference [9] reviews most of
these reports. In Denmark, the ELMODEL-bolig forecast model has collected data
for the last 30 years, however the unavailability of data in English is a limitation for
use. In this project, the UK time use survey conducted in 2000 has been provided
by the UK Data Archive, University of Essex, and it has been considered.
The Time Use Survey (TUS) shows how people use their time in a 24 hours
basis, with ten minutes resolution. Two different data are obtained according to
weekdays and weekend days. The TUS indicates, each 10 minutes, the proportion
of households where at least one occupant is engaged in a particular activity (in
that case using the washing machine). From this data, the most probable time for
wash is calculated, and represented in Figure 3.4.
6%
5%
4%
3%
2%
1%
0%
00:00
01:00
02:00
03:00
04:00
05:00
06:00
07:00
08:00
09:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
Figure 3.4: Houses using the washing in a week day from TUS
From Figure 3.4, it is not easy to see clearly tendency in washing times due
to the large discontinuity in daily profile between 7:00 and 16:00. The number of
houses, using the washing machine in a specific time, are lower than 5% of the total
houses in the best cases, and values adjacent to these maximum points have a large
deviation from them. Therefore, it seems to be difficult to extract a clear trend
with the available data.
Some papers, which develop models for daily electricity consumption, based in
user practices, obtain a high correspondence with measured values; however they
identify the washing machine profile as the most critical predictable appliance.
In general, deferrable activities, denoted in table 2.2 by (p), introduce the most
frequently discrepancies [22].
The accumulative frequency graphic shown in Figure 3.5 represents the propor-
tion of wash cycles which have been started by a specific time, and it is a good
indicator to establish a use pattern basis on the most probably wash time during
each wash cycle.
17/45
3.1. Washing Machine Appliances
10 wash cycle
9 wash cycle
8 wash cycle
7 wash cycle
6 wash cycle
5 wash cycle
4 wash cycle
3 wash cycle
2 wash cycle
1 wash cycle
However, this information is not enough to determine the start time. With the
aim of improve the accuracy for washing time prediction, another relation between
washing machine use and household occupancy level, is considered. The use of
some kind of appliances is not related with people’s habits, for example the refrig-
erator is running regardless of the user. However, other appliances usage pattern,
is strongly related to the occupied period. For example, when people are not at
home, microwave is not be used. The washing machine start is included in the
second group [24].
In order to obtain a more detailed simulation, the households have been divided
in five different occupancy patterns as proposed in [24]. The unoccupied periods
have been based in job time and child care considerations. Table 3.1 summarizes
the unoccupied periods for each kind of household.
The occupancy profile is not included in the TUS, however some studies on
this database have determined the occupancy level by using sophisticated methods
basis on Markov-Chain technique [25]. Moreover the relation between household
occupancy and watching TV activity has been considered. The connection of these
parameters have been analyzed by the Pearson correlation coefficient (r). It provides
a measurement about the degree of linear relationship between two parameters,
regarding the goodness of fit. Pearson correlation coefficient leads in a strong
correlation of 0.8. The determination factor (R2 ) indicates how much variance of
the data is explained by the linear regression, and for this case it is of 64%. These
values shows a high relation between dwelling occupancy evolution and watching
18/45
Appliances 3.1. Washing Machine
A+B+C =7
A+B+D =7
A+D =5
where A, B, C and D represents the number of houses which follow the occu-
pancy pattern a, b, c and d respectively. Since there must be at least one for every
pattern, the constraints below have been also considered:
A + B + C + D ≤ 14
A≥1
B≥1
C≥1
D≥1
The feasible solutions for the equation system are shown in Table 3.3. The first
solution has been randomly taken. It leads in the less number of dwellings with
full occupancy (26.7%). This solution results in a 6.6% of houses of type a, 13.3%
of type b and 26.7% of types c, d and e. Figure 3.6 summarizes the occupancy
level for each household, where the continuous line represents the occupancy. The
houses 1 to 10 are those which use the washing machine.
Finally, the accumulated frequencies, presented in Figure 3.5, are used to de-
termine which house uses the washing machine, placing the start time for a wash
19/45
3.1. Washing Machine Appliances
house 15
house 14
house 13
house 12
house 11
house 10
house 9
house 8
house 7
house 6
house 5
house 4
house 3
house 2
house 1
house 10
house 9
house 8
house 7
house 6
house 5
house 4
house 3
house 2
house 1
20/45
3.2. Refrigerator
3.2 Refrigerator
η · P (t)
T (t + 1) = ε · T(t) + (1 − ε)(Tamb (t) − ) (3.1)
A
The parameters are described in table 3.4. In [30] the differential equations
from 3.1 are presented in order to obtain the temperature evolution for warming or
21/45
3.2. Refrigerator
Temperature [ºC]
10
2
0 20 40 60 80 100 120 140 160 180
Power [W]
150
100
50
0
0 20 40 60 80 100 120 140 160 180
Figure 3.8: Power vs Temperature evolution in the refrigerator for 180 minutes
22/45
3.2. Refrigerator
cooling. This equations determines when the compressor is switched on 3.2 or off
3.3.
η·P (t)
where TON (t) = Tamb (t) − A
where,
Table 3.4: Refrigerator parameters
ε factor of inertia -
η coefficient of performance 3
A thermal insulation 6 W/◦ C
mc thermal mass 1500 J/◦ C
Tamb ambient temperature 22 ◦ C
From equations the system has been simulated in Matlab. The scrpit, allows
the introduction of a switching schedule, in order to obtain the power profile. The
numerical values used for the simulation are included in table 3.4. This values, used
in [29], represent a good approximation to the refrigerator dynamics. Figure 3.8
presents a 3 hours simulation from the Matlab model. As can be seen a complete
cycle takes 95 minutes. The considered refrigerator has a nominal power consump-
tion of 177 W during 18 minutes. For simplification reasons the complete cycle will
be considered as 100 minutes and the working time per cycle of 20 minutes. This
assumption leads in an energy demand of 59 Wh for a complete cycle.
The model runs autonomously, keeping the temperature in the limits, and pro-
vides the power profile as shown in Figure 3.8. However, it is able to respond to an
external order. If an increment in consumption is required, the refrigerator power
output will increase if the temperature is decreasing, and similar process is followed
for a consumption decrement. However, if an increment is required and the com-
pressor is already running, or the temperature is in the lower limit, no modification
will occur. This phenomenon occurs in the minute 135 of the Figure 3.8, when an
increment in consumption is required. After the temperature hits the lower limit,
the compressor switches off and the temperature increases until 8◦ C.
Although the refrigerator is a continuous run appliance, some modifications can
be done in its load profile in order to obtain a better performance. As mentioned
before, the variations are based in an external signal which activates or deactivates
the compressor. This idea is based on direct load control (DLC). By this manage-
ment, it is possible to introduce the optimal control schedule for the refrigerator.
For this project, two different scenarios has been considered to manage the
refrigerator. The first one refers to a normal operation, where the temperature
23/45
3.2. Refrigerator
never exceeds 8◦ C. However, it is possible to move the cooling periods within the
time range in order to obtain a better performance in price or energy losses. For
example it is possible bring forward a cooling period, as shown in Figure 3.8 in
minute 135, if there is a lower price at that time.
The extension of the temperature range, results in a larger cycle duration. This
management makes possible to maintain the refrigerator in on or off during con-
tinue periods of more than 20 or 80 minutes respectively. It is because, decrease
from a temperature greater than 8◦ to 3◦ needs more energy, and consequently a
larger on period. In contrast it is possible maintain the refrigerator in off during
more time starting from 3◦ C, until a temperature greater than 8◦ C. The benefit of
longer periods in on or off is to take advantage of time intervals, where running
the refrigerator entails a lower price or energy losses, and on the contrary avoid
unfavorable periods.
Due to simplicity reasons, in order to match up the time intervals from power
consumption with the washing machine use pattern, the activation periods are of 10
minutes durations. A increment of temperature from 8◦ C, during an extra period
of 10 minutes, results in a maximum temperature of 10.5◦ C. This second scenario
considers a cycle duration of 150 minutes and 30 running minutes. The optimal
control will be obtained for both cases and compared with the original management.
24/45
Chapter 4
Optimization
In order to achieve the minimum losses in distribution lines, and electricity cost
for final user, an optimization of the washing machine and refrigerator use has
been conducted. This chapter provides a detailed explanation of how the grid is
modeled in Matlab. Chapter 3 focused on the behavior of the washing machine
and refrigerator from the point of view of technical operation and time of use.
These characteristics and limitations are used here to model the electrical system
according to operation requirements.
The representation of the power system, presented in section 2.3, can be simplified
as a power source (the transformer) connected to multiple loads (the houses). For
each household, five different loads have been considered. Four of them are variable
loads, which corresponds to the three washing cycles and one to the refrigerator, as
Figure 4.1 clarifies. This design have been chosen in order to consider loads with
the same power consumption along the time, and implement an on/off actuator
in that loads. Finally the last load represents the remaining household energy
consumption.
HOUSEHOLD 2
CYCLE CYCLE CYCLE
REFRIG 3 2 1 OTHER
(spin) (rinse) (wahs)
ENERGY
SOURCE
(Transformer)
HOUSEHOLD 1 HOUSEHOLD 15
25/45
4.1. Problem Formulation Optimization
The washing machine pattern limits the time of use from around 8:00 to 0:00
Figure 3.7, in order to simplify the optimization system and reduce the calculation
time this has been considered as the optimization period. The analysis resolution
(time steps) is determined by the smallest operation time of the appliances, in this
case it is 10 minutes, which corresponds to the last washing cycle (spin). A smaller
resolution will result in a better control of the temperature in the refrigerator,
since increments of 1◦ C or even 0.5◦ C could be considered. However it implies an
increase in the number of studied steps, which results in a much higher run time of
the optimization algorithm.
Therefore 96 steps of ten minutes has been considered from 8:00 to 23:50. Hence
for each of the variable loads represented in Figure 4.1, a vector of 96 elements is de-
fined. According to the on/off control technique, the values are limited to one when
the specific load is activated, and zero otherwise. This vector is denoted by xapp ,
where app represents the considered appliance (wash, rinse, spin or refrigerator).
xapp = x1app , x2app , . . . x96
app (4.1)
The load profile of a particular appliance is then calculated with equation 4.2,
where Papp symbolizes its rated power. On the other hand if the energy consumption
Eapp is multiplied element by element to the activation vector, the sum of the result
is the total energy consumption from 8:00 to 0:00 (equation 4.3).
1 , P 2 , . . . P 96
Appliance power profile = xapp · Papp = Papp app app (4.2)
96
Total energy = (4.3)
X
xapp · Eapp
i=1
The extension of this vector xapp , to include all the flexible loads, leads in a
5670 elements vector which contains all the desing variables for the smart power
system. Consequently, this is the solution to the optimization problem.
house1
z }| {
x1 . . . x96 x97 . . . x192 x193 . . . x288 x289 . . . x384
| {z } | {z } | {z } | {z } . . . x5670
wash rinse spin ref rigerator
(4.4)
Once the electrical network has been mathematically modeled, next step is to
define objective functions for the optimization problem. Next sections describe the
energy cost function as well as the power losses function.
26/45
4.2. Energy cost function
The energy cost function refers to the total price that the customers pay for use the
washing machine and refrigerator. The appropriate activation and deactivation of
appliances is directly related with the spot market, so that the activation occurs at
a minimum, while the user requirements are not modified. The energy cost function
is formulated as follows:
15 X
96
C= (xwash hi · Ewash + xrinse hi · Erinse + xspin hi · Espin + xref hi · Eref +) · P ricei
X
h=1 i=1
(4.5)
N
N X
PLoss = (4.6)
X
αmn · Pm · Pn
m=1 n=1
• Pm , Pn = Power at bus m, n.
• N = number of busses.
• rmn = resistive part of the element m, n in the impedance matrix of the system.
• Vm , Vn = Voltage at bus m, n.
The adaptation of the general power loss equation to the study case results in
equation 4.7.
96 X
20 X
20
PLoss = αmn (Pm + xwash im + xrinse im + xspin im + xref im )
X
i
27/45
4.4. Optimization using Matlab Optimization Toolbox
Although the voltage and phase angle change with power variations, it remains
almost constant because it may not vary much, and consequently α has been con-
sidered as constant. The values of V and δ have been obtained from a load flow
conducted in the DIgSILENT model, which is presented in Chapter 5.
The result of equation 4.7 does not represent any final result for minimization,
since it is the sum of power loss for each period. However, it represnets the total
power loss, and it is an effective value to account for the minimization of total energy
losses. The real value of energy loss will be calculated by using the DIgSILENT
model.
For this project, the optimization solvers implemented in Matlab are used. Matlab
Optimization Toolbox includes several optimization methods, which can be used
according to the specific requirements and characteristics of each problem. These
algorithms allows users to solve constrained and unconstrained continuous and dis-
crete optimization problems. Functions for linear, nonlinear, quadratic, integer and
multiobjective programing are included. The standard form, for a minimization
problem in the optimization toolbox [35], is as follows:
min
x f (x) (4.8)
subject to
Gi (x) = 0 : equality constraints evaluated at x
Gi (x) ≤ 0 : inequality constraints evaluated at x
xlow , xupper : parameter bounds
It is seen from equations 4.5 and 4.7, that the cost minimization is defined by
a linear function, while the power loss function is nonlinear. The explanation of
the mathematical model of section 4.1, shows that a integer programing with 0-1
boundaries is required.
4.4.1 Constraints
Equality and inequality constraints have been designed for both washing machine
and refrigerator. The main constraints refer to the total energy consumption per
appliance. The implementation of this equation has been already presented in 4.3.
This expression includes the design parameter vector x, which corresponds with
activation periods. Consequently its sum results in the total time when a specific
appliance is running. According to Figure 3.3, these times are 30, 50 and 10 minutes
for wash, rinse and spin respectively. However the refrigerator activation time
depends of the total period considered (16 hours) but also of the initial temperature.
For this project three different temperatures has been considered: 3, 5.5 and 8◦ C.
These values have been randomly assigned for each of the 15 households. Hence this
consideration leads on three total running times of 18, 19 and 20 minutes, which
have been calculated using the Matlab script for the refrigerator dynamics.
28/45
4.4. Optimization using Matlab Optimization Toolbox
However any of the solvers present in Matlab Optimization Toolbox fulfills all
the requirements. In order to achieve a proper optimization, the minimization
problem has been divided in two subproblems. First refers to the cost optimization,
which has been processed by using the bintprog solver. This algorithm is based in
dual-simplex and branch&bound methods. Dual-simplex is a common method to
solve linear functions, widely explained for example in [27]. Branch&bound method
is an iterative optimization algorithm which finds the best integer solution for a
given problem, based in a tree structure of feasible solutions [36]. The bounds are
0-1 non selectable.
On the other hand, the loss power function has been solved using the optimizer
fmincon. Fmincon solves nonlinear functions, with linear and nonlinear constraints,
within a selectable range of bounds. This solver uses gradient based search methods.
That means that the minimum is obtained by computing the values pointed by the
gradient of the objective function, until a minimum is found. This method is based
on the knowledge that the gradient vector points in the direction of maximun
29/45
4.4. Optimization using Matlab Optimization Toolbox
increase of a function [37]. Hence one of the task of the optimizer is to calculate
the search direction. Some methods can be chosen in fmincon solver, in this project
the interior point method has been used due to a smaller run time in contrast with
other methods with a better accuracy but much longer run time.
Gradient search methods need an initial point from where the gradient is cal-
culated. The initial point for fmincon is the optimal for a minimum energy cost
(result of the cost optimization with bintprog). However the result is not an integer
solution.
The noninterger result is actually a weighted solution of the optimal integer
point. It means that each single objective value has a significant value for the
minimum result, and the greater numbers represent the most beneficial activation
intervals. The proposed methodology carries several optimizations using fmincon,
and after each optimization the solution and the boundaries are improved.
It is done by fixing to 1 (activate) the biggest value of the solution, and adapt
the boundaries according to the characteristics of this point. For example if it
corresponds to a spin cycle all the other points for this cycle are set to 0. This
iterative optimization procedure is repeated until an integer solution is obtained.
Figure 4.2 presents a overview of the optimization process, the complete code
as well as the constraint construction is included in Annexes. In summary, a linear
optimization based in Dual-simplex method is conducted for minimize the price of
the energy that the user pays. Based on that solution several nonlinear gradient
search optimizations, find the closest activation schedule to the cost optimization,
which makes minimum the power losses on the system. It is important to note
that while the optimal solution for cost is a global minimum, the result from losses
optimization may not be. This is because a nonlinear function is not necessarily
convex, and consequently the solution point can be a local minimum.
30/45
4.5. Optimization results
LOAD WASHING
LIMITS AND INITIAL
TEMPERATURE
Boundaries &
Constraints
definition
COST
OPTIMIZATION
(bintprog)
Construction of
initial point
YES
COST
COMPARATION
PRINT RESULTS
This section presents the results of the optimization process explained in Figure
4.2. The specific study place has been described in 2.3, as well as the power profile
and the transmission lines characteristics, which are necessaries to compute the
power losses in equation 4.7. The use pattern of the washing machine is deduced
in Figure 3.7. The behavior of the refrigerator has led in two different scenarios of
maximum temperature (8◦ C and 10.5◦ C) described in 3.2.
Finally the price evolution of the spot market from 8:00 to 23:00 is shown in
figure 4.3.
Table 4.1 shows the time interval where the washing machine can be used, as
31/45
4.5. Optimization results
0,6
0,5
0,4
0,3
0,2
well as the total duration of this interval. The initial temperature for each house is
also included. Finally, the optimal schedule times for each washing cycle is shown.
The results are for the Scenario 1, however the schedule for Scenario 2 is similar,
except in four houses, where the variations are less than 30 minutes, and it is not
shown.
INPUTS OUTPUTS
House Start Finish Duration Initial Wash Rinse Spin
temperature
1 9:20 11:50 2:30 3 10:00 10:40 11:30
2 - - - 5.5 - - -
3 11:00 18:00 7:00 8 15:20 16:10 17:00
4 12:10 18:00 5:50 3 15:10 15:40 17:00
5 15:10 17:40 2:30 5.5 15:10 15:40 16:30
6 8:10 18:00 9:50 8 15:10 15:40 16:40
7 - - - 3 - - -
8 13:30 16:00 2:30 5.5 14:10 14:40 15:40
9 - - - 8 - - -
10 9:20 11:50 2:30 3 15:10 15:40 16:30
11 - - - 5.5 - - -
12 9:50 12:20 2:30 8 10:40 11:10 12:00
13 16:10 18:40 2:30 3 16:10 16:40 17:30
14 - - - 5.5 - - -
15 18:00 20:30 2:30 8 18:00 19:10 20:10
32/45
4.5. Optimization results
12
10
Temperature [⁰C]
8
6 Original
Scenario 1
4
Scenario 2
2
0
8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
Time [Hour]
As seen in table 4.1 above, the new washing times have been placed in the
cheapest periods of energy price in Figure 4.3. The total prices for each house,
before (Original) and after the optimization for scenarios 1 and 2, are shown in
Figure 4.5.
0,7
0,8
0,6
0,7
0,5
Price [DKK]
0,5 0,3
Scenario 2 Original
0,4 0,2 Scenario 1
0,1 Scenario 2
0,3
0,2 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0,1 House
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
House
For the Scenario 1 the total price reduction is 3.9%, while for Scenario 2 the
reduction is of 6.0%. The annual amount of money saved is 116.67 DKK and
177.23 DKK respectively. However, it is important to remark that the real amount
is bigger than the current, since the simulation is conducted from 8:00 to 24:00,
and a 24 hours simulation will result in a higher amount of money saved, since 8
hours more will be computed. Besides, that result is based in the spot market price,
while the price for the final user is higher. As conclusion the algorithm presented
conducts a successful minimization of the price paid for the final user. As expected
the scenario 2 presents a profitable result. Figure 4.6 summarizes this results.
33/45
4.5. Optimization results
0,7
98%
0,6
96% 2954 DKK
Price [DKK]
0,5
94% 2837 DKK
0,4
92% 2776 DKK
0,3
90%
Original Scenario 1 0,2 Scenario 2
Despite the fact that the total amount of the price reduction is not very signif-
icant, the investment required to implement the optimal control will not be that
much in the future. This is due to the fact that the houses will be equipped with
smart meters and some smart flexible devices in the future. Furthermore according
to [38] demand response is one of the main drivers for introduction of smart meters
in Denmark. However, demand response itself is not economically profitable.
34/45
Chapter 5
Modeling
This chapter provides a description of the topology and modeling of the network
in DIgSILENT Power Factory. The model is used to obtain the necessary data
to implement the power loss function as well as to compare the results after the
optimal management with the original case.
The test system is based on Section 2.3. The external grid supplies the energy
necessary for the households. The control is based in a DLC (direct load control)
model of flexible loads. Hence two different load elements represent each household.
A fix load represents the normal power profile, while a variable load implements
the optimal consumption of washing machine and refrigerator. Figure 5.1 shows
the DIgSILENT implementation.
The values included in the model are the result from a power flow simulation,
conducted with average power consumption values, in order to obtain V and δ for
each bus (section 4.3).
The optimal control calculated in Chapter 4 has been implemented in the model.
Figure 5.2 presents a comparative of the total active power, supplied by the main
grid, for each scenario. The resultant curve for both scenarios, 1 and 2, shows
how the optimal control of the appliances leads in a flatten curve than the original.
Moreover, the peaks have been reduced or avoided.
35/45
5.2. Implementation of optimal results Modeling
External Grid
0,02 MW
-0,00 ..
1,00
10,5000
1,0000 GridTerminal 10.5 kV
0,0000
0,02
-0,00
4,05
Transformer
-0,02
0,00
4,05
Terminal 0 0,4200
1,0000
-0,0696
0,02
-0,00
7,92
0,00
0,9994
-0,0840 0,00 0,00
0,9995
-0,0830 0,00 Line H5 0,00
0,9989
-0,0978 0,00 0,00
0,9989
-0,0968 0,00
-0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00
Line H3
House 2 Flex App 2 -0,00
0,00
House 4 Flex App 4 -0,00
House 6 Flex App 6 House 8 Flex App 8
-0,00
0,00 0,69 0,00 -0,00
0,92 0,54 0,00
0,19
M3 M8 M1 M4
0,4198 0,4198 0,4195 0,4196
0,9994 0,9995 0,9989 0,9990
0,00 -0,0838 0,00 0,00 -0,0829 0,00 0,00 -0,0969 0,00 0,00 -0,0963 0,00
-0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00
House 1 Flex App 1 House 3 Flex App 3 House 5 Flex App 5 House 7 Flex App 7
Line (3)
Line (4)
-0,01 0,00 -0,00
0,00 -0,00 0,00
2,59 1,21 1,21
Terminal 3 Terminal 4
0,4194 0,4192
0,9985 0,9981
-0,1090 -0,1181
0,00 0,00 0,00 0,00 0,00 0,00 0,00
-0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00
0,19 0,64 0,16 0,42 0,47 0,30 0,47
-0,00
0,00
E3 -0,00
0,00
-0,00
0,00
-0,00
0,00
E1
0,19
House 10 Flex App 10
0,16
House 12 Flex App 12 E5
0,47
House 14 Flex App 14
0,47
T 12
0,4194 0,4193 0,4192
0,9985 0,4192 0,9981
0,9985 0,9980
0,00 -0,1091 0,00 0,00 -0,1092 0,00 0,00 0,00 0,00 -0,1186 0,00
-0,1196
-0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00 -0,00
House 9 Flex App 9 House 11 Flex App 11 House 13 Flex App 13 House 15 Flex App 1..
36/45
Modeling 5.2. Implementation of optimal results
60
Scenario 2
50
Original
Scenario 1
40
Power [kW]
30
20
10
0
8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 0:00
Time [hours]
1,0000
Original
0,9995 Scenario 1
Scenario 2
Voltage [pu]
0,9990
0,9985
0,9980
0,9975
08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 00:00
Time [hours]
37/45
5.3. Energy Losses
0,998
Voltage [pu]
0,996
0,994
Original
Scenario 1
0,992
Scenario 2
0,99
08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 00:00
Time [hours]
The power loss profiles from DIgSILENT is shown in Figure 5.5, for each scenario.
The energy losses for each case, and the percent of reduction respect the original
case, are summarized in table 5.1. Again, it is important to remark that this values
of energy losses only represent the period between 8:00 to 0:00, and consequently,
the daily value should be greater.
0,3
Scenario 2
0,25
Original
Scenario 1
0,2
Power [kW]
0,15
0,1
0,05
0
8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 0:00
Time [hours]
38/45
5.3. Energy Losses
The simulation results show that the method proposed is able to decrease the
energy losses for both scenarios.
39/45
5.3. Energy Losses
40/45
Chapter 6
The objective of this project was to develop an intelligent management system for
residential loads. The project includes the study of residential loads, use pattern,
optimization and modeling.
The distribution of residential electricity energy consumption in different loads
have been studied, and the most convenient appliances to implement a DSM have
been presented. A way to convert washing machine and refrigerator in flexible
loads, has been developed. Two different methods have been proposed: so that the
user experience does not change and increasing the temperature of the refrigerator
during some periods.
An optimization was conducted to find the best operation for the washing ma-
chine and refrigerator. The operation results show the benefits of the DSM. The
price that the user pays for the electrical energy and in the energy losses in the dis-
tribution system have been properly reduced. The results of the simulations show
that the energy quality, measured by the voltage drop, experiment a significant
improvement.
As future work this report recommends, to investigate the control of other
appliances. A real time control for the refrigerator based on frequency variations
could be studied. Finally a longer simulation period will lead on a more accurate
result.
41/45
Bibliography
[2] Clark W. Gellins, The Concept of Demand-Side Management for Electric Util-
ities, IEEE, 1985
[3] Bettina HIRL, Residential Energy Consumption and Efficiency Trends, Eu-
ropean Commission, Joint Research Centre, Institute for Energy, EEDAL 11
Conference, Copenhagen, Denmark, 2011
[4] David G. Infield, Joe Short, Chris Horne, Leon L. Freris, Potential for Domestic
Dynamic Demand-Side Management in the UK, IEEE 2007
43/45
Bibliography Bibliography
[15] J.J. Tomlinson, D.T. Rizy, Bern Clothes Washer Study, Oak Ridge National
Laboratory U.S. Department of Energy, 1998
[22] Joakim Widén, Magdalena Lundh, Iana Vassileva, Erik Dahlquist, Kajsa El-
legard, Ewa Wäckelgard, Constructing load profiles for household electricity
and hot water from time-use data-Modelling approach and validation, 2009
[24] Runming Yao, Koen Steemers, A method of formulating energy load profile
for domestic buildings in the UK, 2004
[26] Ipsos-RSL and Office for National Statistics, United Kingdom Time Use Sur-
vey, 2000 [computer file]. 3rd Edition. Colchester, Essex: UK Data Archive
[distributor], September 2003. SN: 4504.
44/45
Bibliography Bibliography
[32] R. Saidur, H.H. Masjuki, I.A. Choudhury, Role of ambient temperature, door
opening, thermostat setting position and their combined effect on refrigerator-
freezer energy consumption, 2001
[33] P. Constantopoulos, F.C. Schweppe, R.C. Larson, ESTIA: A real time con-
sumer control scheme for space conditioning usage under spot electricity pric-
ing, 1991
[36] SAS/OR 9.22 User’s Guide: Mathematical Programing, SAS Institute, 2010.
45/45