Next Article in Journal
Electrical Power and Energy Systems for Transportation Applications
Next Article in Special Issue
Harnessing the Flexibility of Thermostatic Loads in Microgrids with Solar Power Generation
Previous Article in Journal / Special Issue
Electricity Self-Sufficient Community Clustering for Energy Resilience
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real Time Information Based Energy Management Using Customer Preferences and Dynamic Pricing in Smart Homes

1
COMSATS Institute of Information Technology, Islamabad 44000, Pakistan
2
Department of Technology, The University of Lahore, Lahore 54000, Pakistan
3
Internetworking Program, Faculty of Engineering, Dalhousie University, Halifax, NS B3J 4R2, Canada
4
Cameron Library, University of Alberta, Edmonton, AB T6G 2J8, Canada
5
Department of Biomedical Technology, College of Applied Medical Sciences, King Saud University, Riyadh 11633, Saudi Arabia
6
University Institute of Information Technology, Pir Mehr Ali Shah Arid Agriculture University, Rawalpindi 46000, Pakistan
7
Department of Computer Science & Software Engineering, International Islamic University, Islamabad 44000, Pakistan
*
Author to whom correspondence should be addressed.
Energies 2016, 9(7), 542; https://doi.org/10.3390/en9070542
Submission received: 10 March 2016 / Revised: 26 June 2016 / Accepted: 5 July 2016 / Published: 14 July 2016
(This article belongs to the Special Issue Decentralized Management of Energy Streams in Smart Grids)

Abstract

:
This paper presents real time information based energy management algorithms to reduce electricity cost and peak to average ratio (PAR) while preserving user comfort in a smart home. We categorize household appliances into thermostatically controlled (tc), user aware (ua), elastic (el), inelastic (iel) and regular (r) appliances/loads. An optimization problem is formulated to reduce electricity cost by determining the optimal use of household appliances. The operational schedules of these appliances are optimized in response to the electricity price signals and customer preferences to maximize electricity cost saving and user comfort while minimizing curtailed energy. Mathematical optimization models of tc appliances, i.e., air-conditioner and refrigerator, are proposed which are solved by using intelligent programmable communication thermostat ( iPCT). We add extra intelligence to conventional programmable communication thermostat (CPCT) by using genetic algorithm (GA) to control tc appliances under comfort constraints. The optimization models for ua, el, and iel appliances are solved subject to electricity cost minimization and PAR reduction. Considering user comfort, el appliances are considered where users can adjust appliance waiting time to increase or decrease their comfort level. Furthermore, energy demand of r appliances is fulfilled via local supply where the major objective is to reduce the fuel cost of various generators by proper scheduling. Simulation results show that the proposed algorithms efficiently schedule the energy demand of all types of appliances by considering identified constraints (i.e., PAR, variable prices, temperature, capacity limit and waiting time).

Graphical Abstract

1. Introduction

With the rapid increase in the world’s population, electricity demand also increases. It is estimated that total energy demand at the end of 2020 will increase by 75% as compared to 2000 [1]. This increase may force utilities to rethink electricity generation and distribution in order to avoid unprecedented energy challenges. The utilities thus struggle to fulfill and manage the energy demand with smart generation with reduced carbon emissions. For this purpose, the traditional electric grid is evolving to a new smart grid (SG) [2]. In SG, advanced information and communication technologies provide flexibility to interact customers with utility [3,4]. Advanced metering infrastructure (AMI) equips each customer with smart meter whose major function is to gather energy demand information at customer premises and upload to the utility server [5]. According to [6,7], SG allows integration of renewable and distributed energy generation to diminish the effects of CO 2 on environment and to reduce the energy consumption.
Demand side management (DSM) is one of the key programs of SG to efficiently manage the energy demand of end users via real time information exchange between utility and consumer through AMI. These programs aim at enhancing grid reliability by reducing average peak load demand. So, utilities and customers can manage the energy generation and consumption through the implementation of DSM programs by providing incentives or encouraging the customers to participate in energy management programs. End users can take monitory benefits by shifting peak load during off peak hours by adopting different scheduling techniques.
In early DSM programs, utilities manually shed the selected load of consumers during critical peak hours. On the other hand, load shifting in SG is realized by encouraging customers towards shifting their load to avoid peak to average ratio (PAR) [8,9]. Although shifting the load from high peak to low peak hours reduces the peak load and electricity cost saving, it may decrease user comfort. So, user comfort maximization and electricity cost minimization are two contradictory objectives to be achieved at the same time. Thus, mechanisms are needed that takes into consideration user preferences, energy price signals, and other comfort constraints. Moreover, these types of mechanisms must be capable enough to handle uncertainties in customer preferences and price variations.
Besides considering end user preferences and needs, utilities must also provide high incentives to motivate customers to reschedule their load to flatten high peaks. Such challenges have motivated the need for intelligent energy management algorithms that can handle all types of loads and responds to price variations. To address these challenges, this paper presents energy management algorithms optimize the energy consumption schedules of household appliances while meeting constraints. The major contributions of the proposed work are given as follows:
(1)
We propose an algorithm to control energy consumption and electricity cost of heating ventilation and air conditioning (HVAC) system while considering dynamic pricing and user comfort constraints.
(2)
We propose an algorithm to control the energy consumption of a refrigerator by considering thermal and other constraints.
(3)
We propose an algorithm to control the working of various household appliances (e.g., fans, and lights) using WSNs to minimize the energy consumption.
(4)
For r appliances, a microgrid model for local electricity generation where different generation units are considered is proposed and their duty cycles are formulated according to the energy demand.
(5)
We propose a simple model to show that user comfort is directly related to the waiting time of appliances. Here, the appliance waiting time is directly related to the appliances having flexible starting time requirements (el, iel).
(6)
For electricity cost and PAR reduction, knapsack problem formulation technique is used which later on is solved by using genetic algorithm (GA) algorithm.
(7)
To analyze the effectiveness of the proposed algorithms, we perform simulations and compare the results with scheduled and unscheduled cases.
The rest of this paper is organized as follows. In Section 2, related work is discussed. In Section 3, system model and appliance classification model are discussed, respectively. Section 4 discusses the proposed algorithms. Simulation results are discussed in Section 5. Section 6 gives the conclusion. The variables used in this work are given in Table 1.

2. Related Work

A linear programming based technique for residential energy management is proposed in [10]. This approach efficiently reduces the electricity cost and PAR. Moreover, user comfort is also increased by reducing appliance waiting time, however, price flexibility is not taken into account. In [11], linear programming technique is used to solve residential energy management problem. This approach is efficient in terms of electricity cost reduction, however, more computational power is required to solve complex optimization problem. Moreover, linear programming based optimization technique only solve the load having linear characteristics. In [12], authors use a monotonic optimization techniques to solve appliance scheduling problem. In this technique, renewable energy is used along with grid energy to fulfill energy demand during critical peak hours. Although, renewable energy is beneficial in reducing PAR and electricity cost however, this increases the integration complexity in the system. Considering variable loads, a mixed integer linear programming approach is used for cost efficient scheduling [13]. In general, these techniques are efficient in reducing electricity cost of the end users along with PAR reduction. However, these techniques are computationally expensive and user comfort is not modeled.
On the other hand, heuristic optimization techniques are widely used to solve energy optimization problems in SG. These techniques are efficient in solving both linear and nonlinear energy optimization problems. In [14], an optimal stoping rule based technique is used to schedule appliances. The authors model user comfort in terms of appliance waiting time cost. This technique works on different thresholds defined by users, and these thresholds are measured when electricity price signal is uniformly distributed. The scheme is efficient in real time price (RTP) environment and for limited number of appliances. In [15], the authors categorized appliances on the bases of user comfort and electricity cost reduction. Mathematical models for each class of appliances are proposed where electricity cost reduction and user comfort are considered as a joint problem which is solved by using wind driven optimization (WDO) algorithm. For PAR and electricity cost reduction, Knapsack-wind driven optimization (K-WDO) is also proposed. Although, the proposed techniques are efficient in handling user comfort and electricity cost reduction. However, (tc) appliances such as air-conditioner, and other user dependant appliances are not considered because inconsideration of thermal and occupancy constraints makes the working of these appliances are difficult to optimize.
Due to the unpredictable nature of distributed renewable energy sources and loads results non-linear problem in a large scale. To manage the operational cost of power plant, particle swan optimization (PSO) algorithm has been used in [16]. In [17], a heuristic based evolutionary algorithm (EA) has been used to schedule a large number of home appliances to reduce electricity cost and high peaks. Three service areas including residential, commercial and industrial are considered to perform simulations. Based upon real time pricing, appliance scheduling for cost reduction objective is performed using stochastic and robust optimization techniques [18]. On the bases of energy demand and temporal characteristics, the appliances are categorized into deferrable, non-deferrable, interruptible and non-interruptible ones. These techniques [16,17,18] are efficient in reducing electricity cost. However, user comfort is neglected which is major objective of the proposed work. In [7,19], both linear programming and game theoretic techniques for centralized and distributed energy management are proposed. PAR reduction and its effects on generation efficiency are also analyzed.
In [20], authors propose a load control technique for multiple residential units where utility company use a cost function to provide electricity to end users. Users have been assigned different types of loads alongwith consumption limits and bounds. For this purpose, utility and end users communicate via AMI in order to schedule generation and consumption. In [21], game theoretic approach is used to optimize energy consumption patterns of appliances. Authors stated that there is a tradeoff between user comfort and electricity cost reduction. User comfort and cost reduction objectives are handled in a simple way such that users are given priority to choose either comfort or cost reduction.
In [22], energy management by controlling the thermostat of appliances is discussed. The thermostat of the appliance is controlled as per customer preferences to maintain the temperature in a desired limit. These types of approaches are efficient in terms of both cost and energy, however, it is difficult to tackle all the thermal constraints and parameters when different types of appliances are used. In [23], HVAC scheduling scheme is proposed. To maximize the user comfort, thermal constraints are considered in the optimization problem. For this purpose, thermodynamic model of a house is proposed to control the temperature. Moreover, this scheduling problem is solved by using nonlinear optimization techniques. In [24,25], user comfort is taken into consideration by controlling thermostats according to desired temperature set points. By making thermostats more intelligent, appliances can be controlled more efficiently, because appliances only operate when needed. Similarly, Blerim et al. [26] added intelligence to conventional programmable communication thermostats (CPCTs) by scheduling appliances via machine learning and wireless sensors. Along with electricity cost, energy consumption is also reduced as compared to other scheduling schemes where the primary objective was to reduce electricity cost only. Furthermore, user comfort is also maximized because once the pattern is learnt, energy management controller (EMC) takes actions according to energy demand and user preferences. In conclusion, some of the existing techniques are useful in reducing electricity cost while others are comfort aware. However, none of the techniques is efficient in scheduling appliances based on customers presence, weather conditions, and price signals. Therefore, to efficiently manage the energy consumption through appliance scheduling, all possible constraints must be taken into consideration.
In this paper, our main objective is to reduce the electricity cost of end users by scheduling home appliances while maintaining user comfort and PAR. Based on type, the household appliances are either controlled by intelligent thermostat or a controller which is run by GA. Various types of household appliances are considered where some are controlled by intelligent thermostats while other ones are controlled by using GA. For user comfort, appliance waiting is considered and iel appliances are used having fixed time delay set by users. Furthermore, user can set waiting time to minimum time slots according to his desire. On the other hand, knapsack capacity limit is imposed in optimization problem to reduce PAR. In each time slot, optimization algorithm schedules the appliances under capacity limit. Simulation results show that proposed algorithms achieve maximum electricity cost saving and average user comfort while minimizing the PAR.

3. System Model

We consider a residential unit where users share common energy source provided by utility. Each user has different types of n appliances with variable energy consumption requirements. On the bases of user requirements, these appliances are categorized into tc, ua, el, iel, and r. Within these categories, some appliances are shiftable having the objective of cost reduction. While, some appliances have strict schedules with aim at maximizing end user comfort. Figure 1 shows a schematic diagram of tc and ua appliances which are controlled by considering user occupancy and thermal constraints. The EMC uses the mathematical models of these appliances (Section 3.3), user preferences and external parameters (i.e., price signal, user presence and temperature set points) to generate the optimization schedules for a given time interval t n . On the other hand, Figure 2 shows an architecture of el, iel, and r appliances. Here, the energy demand of r appliances is fulfilled through electricity generated from local generator (microgrid, Section 3.1). This is because these are continuously running appliances which are difficult to schedule through optimization algorithms, hence do not take part in demand response (DR) programs. On the other hand, el and iel are scheduleable appliances and energy demand of these appliances is fulfilled through energy provided by utility company [25]. Moreover, the scheduling horizon and operating hours of all the appliances can vary and usually depend on the user preferences and appliance type. So, prior to the formulation of electricity cost reduction objective function, classification of appliances, user comfort and energy generation are discussed along with their constraints. More importantly, the proposed model is generic in nature and appliances considered in these categorization are not fixed. Any one who want to use this model can add or remove any appliances according to his own requirements.

3.1. Energy Generation Model

A microgrid contains localized electricity sources i.e., diesel generators and renewable energy and loads. Loads normally connected with traditional grid (macrogrid). However, with the economic and physical conditions, it can be disconnected from macrogrid [27]. In the proposed work, we use localized diesel power generator operated at minimum fuel cost to meet the local energy consumption demand of r appliances. Because, r appliances are considered to be continuously running throughout the day and do not take part in DR program. The fuel cost minimization problem is formulated as [28]:
O b j = min i = 1 u ι i P i 2 + κ i P i + c i
s.t:
P i min P i P i max
t = 1 t n i = 1 n P i , t = E r ( i , t )
where:
  • ι i : cost due to generator losses
  • P i 2 : power produced by generator in micrgrid
  • κ i : power generation coefficient of a generator
  • c: cost dur to generator startup fuel consumption
  • P i min : minimum power produced by a generator
  • P i max : maximum power produced by a generator
  • E r : total energy demand of r appliances
Equation (1a) shows that total generated power must be within the maximum and minimum capacity. While Equation (1b) shows that total generated power must be equal to power required to run r appliances. The above optimization problem is solved by using GA.
The main steps to solve economic load dispatch problem through GA are discussed in (Section 4, Figure 3). As the algorithm processes, new population is produced by linear crossover and real coded mutation. Whereas, rollet wheel selection is used for reproduction of the new population.

3.2. User Frustration

In load scheduling problems, el and iel appliances (Section 3.3.3 and Section 3.3.4) are shifted from on-peak hours to off-peak hours while aiming electricity cost reduction (Figure 4). In this case, users may face surplus delay in terms of appliance waiting time with high probability of exceeding a bearable limit which ultimately affects user comfort. To avoid user frustration, our objective here is to reduce appliance waiting time along with electricity cost reduction of the el and iel appliance. For this purpose, we formulate user frustration as a function of appliance average waiting time which is calculated as [21]:
D i a = t = 1 t n i = 1 u ( t i , t u-sch - t i , t sch ) t l i t n
where, D i is appliance delay due to appliance shifting which is difference between appliance t u-sch and t sch time. The scheduling algorithm adjusts the appliances before or after specified time in response to electricity price and user preferences. The appliance waiting time can be negative (left hand side of Figure 4) if appliance is scheduled before specified time and vice versa. The maximum waiting time that an appliance can bear is calculated as follows:
D i m = t n - t l i
where, D i m is the maximum permissible delay of any appliance. User frustration increases if we increase D i a . In worst case, the user frustration is maximum, when D i a is equal to D i m . The user frustration λ i is calculated as follows:
λ i = D i a D i m

3.3. Types of Appliances

Within the house, each appliance consumes variable amount of energy based on energy demand and customer preferences. So, we group these appliances based on user comfort maximization and electricity cost reduction perspectives. These categorizations are only used to analyze the energy consumption behaviours based on associated constraints and its impact on end user comfort. We have selected non overlapping appliances (having unique set of constraints) in the refined version of manuscript. Thus, the on/off schedules are no longer ambiguous.

3.3.1. t c Appliances

Typically, the working of tc appliances is controlled by CPCT. In this paper, the appliances are controlled not only by considering thermal constraints but also human occupancy. Along with other operational constraints, the working of these appliances also depends on thermal constraint such as temperature. HVAC and refrigerator are examples of appliances that belong to tc category and appliances other than these two which meet the given criteria can also be included in this category. The details of mathematical models and working of tc controlled appliances are given as follows:

HVAC

Energy consumption of HVAC depends upon two factors: (i) total number of occupants in the room and; (ii) temperature. Here, we aim to minimize electricity cost of the consumers while taking into consideration their comfort level. In most of the traditional energy management techniques, appliances are scheduled based on low electricity cost which overshadow comfort. To maintain room temperature within specified limits [ t e r min , t e r max ], HVAC consumes total energy E h as follows [29]:
E h = t = 1 t n e t h . φ t
t e r min t e r t e r max
e h e h e h
e h = e h + α β e h
The occupancy value is calculated as:
α = 1 if person is present at time t 0 else
If the temperature is within given limits, the value of β variable is 0. Otherwise, its value is equal to 1. The β variable is used for simulation purpose which is denoted as follows:
β = 1 if temperature is not within limits 0 else
where:
  • E h : total energy consumed by HVAC
  • t n : total number of time slots which are 24
  • t e r min : minimum temperature of a room
  • t e r max : maximum temperature of a room
  • e h : energy consumed by HVAC when there is no occupant in the room
  • e h : energy consumed by HVAC when there are occupants in the room
  • α : shows the state of person presence in the room [0, 1]
  • φ : appliance on/off status
Equation (5a) represents that room temperature varies within specified limits, (20–26 C ). As temperature deviates from given set points, HVAC needs more energy to keep temperature within given limits and vice versa. So, the energy consumption range in the presence and absence of occupant(s) is represented by Equation (5b). Energy consumption of HVAC is varied with the number of occupants in the room. Equation (5c) shows the presence of occupant(s), such that energy consumption of HVAC is α times increased. In conclusion, these constraints show that temperature has direct impact on the energy consumption of HVAC.

Refrigerator

We aim to minimize the daily monitory expense related to the power consumption of the refrigerator while considering thermal constraints of the refrigerator. Inside temperature of the refrigerator must be within temperature range of [ t e min ref , t e max ref ]. To keep refrigerator’s inside temperature within acceptable limits, total number of door open attempts and duration must be at minimum because these attempts and the associated duration directly affect energy consumption. The energy consumption of refrigerator is given as [29]:
E ref = t = 1 t n e t ref φ t
t e min ref t e n ref t e max ref
where:
  • E ref : total energy consumed by refrigerator
  • t e max ref : maximum temperature limit of a refrigerator
  • t e min ref : minimum temperature limit of a refrigerator
Here the E ref is equal to the sum of energy consumption in standby e s , compressor e c , with door open attempts e i do and with temperature e t in , respectively. Refrigerator consumes ( β × e i do ) times more energy on each door open attempt. Similarly, refrigerator consumes ( γ × e t in ) times more energy with outside temperature variations. It means, energy consumption of a refrigerator depends upon its temperature variations. Equation (6a) represents the internal temperature bounds of a refrigerator.

3.3.2. u a Appliances

These types of appliances are turned on or off on the basis of human occupancy. For this purpose, we assume that different sensors are deployed in the room in order to detect human presence (Section 5). When any sensor detects human presence, their respective appliance(s) are turned on and energy consumption is calculated. By using human presence mechanism, unnecessary appliances can be turned off to reduce uneven energy consumption. Moreover, any appliance which meets the ua criteria, can be considered in this category. Total energy consumption of ua appliances can be calculated as given in [29]:
E u a = t = 1 t n i = 1 n e i , t u a φ i , t
where:
E u a = δ = 1 δ n e δ u a , u a
where:
  • e u a : energy consumption of a ua appliances
  • δ n : the n occupancy sensors in the room
Equation (7a) shows that total energy consumption of ua appliances depends upon δ parameter. The appliances associated with these sensors remain on or off based on the values of these sensors.

3.3.3. e l Appliances

These are fixed energy consumption appliances, however, these are interruptible whose working can be scheduled throughout the time interval. In order to save electricity cost, these appliances are scheduled in low pricing hours. Total energy consumption of these types of appliances is calculated by using the following equation:
E e l = t = 1 t n i = 1 n e i , t e l φ i , t
el appliances perform their tasks under the following constraints:
φ i , t = t l i , n
t = 1 t n i = 1 n e i , t . φ i , t ϑ t , e l
τ i t n - t l i e l
D i = ( t i u-sch × φ i , t ) - ( t i sch × φ i , t ) φ i , t 0 | D i 3 | t t n
φ i , t { 0 , 1 }
where:
  • t l i : appliance duty cycles (total operating hours)
  • ϑ : energy consumption capacity limit used for PAR reduction
  • τ : total time in which appliance can be scheduled (appliance scheduling horizon)
  • D i : appliance total waiting time occurs due to rescheduling
  • t i u-sch : appliance unscheduled starting time initially set by users
  • t i sch : appliance scheduled starting time set by energy scheduler
Equation (8a) represents that unscheduled and scheduled t l i are equal. Total energy consumption of el appliances is within energy constraints ϑ t which is given in Equation (8b). Whereas, Equation (8c) represents the scheduling horizon of el appliances. As these types of appliances are interruptible so their operating time may vary in scheduling horizon. Equations (8c, 8d) represent the appliance waiting time and on/off status, respectively.

3.3.4. i e l Appliances

These types of appliances are interruptible and continue their operation once turned on. User can not compromise on comfort, so these appliances are turned on when electricity price is low and complete their duty cycle without interruption. Energy consumption of these types of appliances is calculated by using the following equation:
E i e l = t = 1 t n i = 1 n e i , t i e l φ i , t
The associated constraints for iel appliances are listed as follows:
φ i , t = t l i , n
i = 1 n t = 1 t n e i , t . φ i , t ϑ t , e l
t i sch τ i t i sch + t l i i e l
D i = ( t i u-sch × φ i , t ) - ( t i sch × φ i , t ) φ i , t 0 | D i 3 | t t n
φ i , t { 0 , 1 }
Equation (9a) represents that appliance unscheduled t l i must be equal to scheduled t l i . Equation (9b) shows that total energy consumption of iel appliances must not exceed ϑ t . Because these appliances are uninterruptible, so they have continuous t l i after scheduling. Total scheduling horizon of these appliances is given in Equation (9c). Waiting time of these appliances is not more than 3 h as we impose this limit. Equation (9d) represents the total waiting time. Appliances on/off status is represented by Equation (9e).

3.3.5. r Appliances

We consider that these appliances are continuously running during whole day. So, these appliances do not take part in DR programs and thus can not be scheduled. Energy consumption of r appliances is calculated by using the following equation:
E r = t = 1 t n i = 1 n e i , t r - E t g = 0
where, E t g is total energy generated by local generator, e i , t r is energy consumption of r appliances and E r is total energy consumption of r appliances, respectively.
τ i = t i s c h r , t i sch t n

3.3.6. Total Energy Consumption

The total energy consumption E T of all types of appliances including el, iel, r, ua, and tc, is calculated as follows:
E T = t = 1 t n i = 1 n E i , t e l + E i , t i e l + E i , t r + E i , t u a + E i , t t c
The daily total electricity cost C T of these appliances is given as:
C T = t = 1 t n E T t ς t - E t r ς t
Equation (13) shows that C T is equal to the electricity taken from grid. The second part of Equation (13) E t r denotes the energy demand of r appliances is fulfilled through microgrid model (Section 3.1). The final cost minimization objective function is given as:
O b j = min t = 1 t n i = 1 n C T

3.4. Peak to Average Ratio Reduction

Along with electricity price, PAR reduction of the system is also taken into consideration to increase the stability of the grid. For this purpose, we introduce energy consumption capacity limit in the optimization problem. PAR can be calculated by using the following expressions:
p m = max t = 1 t n i = 1 n E i , t e l + E i , t i e l [ t ϵ t n ]
p a = t = 1 t n i = 1 n E i , t e l ( t ) + E i , t i e l t n [ t ϵ t n ]
P A R = p m p a
where p m is maximum peak and p a is average peaks.
By reducing PAR, we can achieve system stability and increase spinning reserves capacity of the power system. Moreover, reduction in peak load demand leads to reduction in peak power plant cost and transmission losses.
Note: When a person is in a room, he/she would like that the temperature is already within the limits, or close to them: if the HVAC is off whenever nobody is in the room, the temperature might get very far from the limits, causing an unpleasant environment most of the times someone gets in the room. However, for this purpose, we need to predict human behaviors based upon their daily, weekly, or monthly schedules. Then based on these behaviors, we can predict when a person will probably enter the room/house and schedule HVAC, accordingly. This might increase total energy consumption as behaviors and schedules are dynamic but at the same time increasing end user comfort in terms of balanced room temperature. In conclusion, advanced/intelligent prediction techniques are needed, which demand research work beyond the scope of this paper. For the sake of simplicity in implementation, this research work carries out implementation with the assumption of uniformly distributed person arrival to the room.

4. Genetic Algorithm Based Energy Management Algorithms

Typical scheduling optimization problems have discrete, non-linear and highly constrained search space which make desired solutions very difficult to find. Various mathematical optimization techniques are being used to solve these types of problems and it is impossible that single algorithm gives best optimal solution to different optimization problem. Among these, EAs are extensively used for solving such types of complex optimization problems due to fast convergence and ability to deal with different dynamics of the problems. Furthermore, these algorithms are efficient in providing optimal solutions when other mathematical optimization algorithms fail to provide [30]. Therefore, we use GA to solve the complex energy optimization and appliance scheduling problem.
There are seven major steps of GA: initialization of parameters, fitness evaluation, selection, crossover, mutation, elitism and generation of new population. The details of these steps are given as follows:
Initial Population: In first step, random population which consists of candidate solution (chromosomes) is initialized. The initial population is in nxm matrix form, where m and n represent population size and total number of appliances, respectively. The matrix A m × n is written as follows:
A = A 11 A 12 A 13 A 1 m A 21 A 22 A 23 A 2 m A 31 A 32 A 33 A 3 m A n 1 A n 2 A n 3 A n m
Fitness Evaluation: In this step, fitness of randomly initialized population is evaluated such that if chromosome (m = total no. of appliances) is [1 0 1 1 1 0], it means appliances 1, 3–5 are on. We then calculate cumulative power and multiply it with electricity price to calculate energy consumption cost. This process continues until the evaluation of population’s fitness. This process gives an optimal pattern of household appliances at time slot t whose electricity cost is low.
Selection: At the start of the algorithm, random population is initialized only once. In the next generation, new population is generated through mutation and crossover operators. For this purpose, a random pair form random population is selected to form new population. We use tournament based selection procedure to select a random pair.
Cross over and Mutation: After the selection of random pair, new population of chromosomes is produced by using mutation and crossover operators. There have been different methods of crossover and mutation, and we use binary mutation and single point crossover methods. Convergence of GA depends on mutation and crossover rate. Higher crossover means faster convergence. On the other hand, high mutation rate may diverge optimal solution, which means slow convergence.
Elitism: Sometimes, near optimal solution is found at the start of algorithm but after mutation and crossover, it may be lost. So, elitism is used to save this solution for evaluation purpose. As we discussed earlier that GA has comparatively faster convergence rate where the convergence mainly depends upon crossover and mutation probability. Higher crossover probability results faster convergence and higher mutation probability results less optimal solution and vice versa. Moreover, improper adjustment of these parameters may result premature convergence of the algorithm. However, in some cases the best optimal solution can be found earlier and after that crossover and mutation may variate this solution. So, elitism mechanism is used to keep the optimal solution in the next step from one generation to another to get final optimal solution. The parameters based on which the optimal schedules of different appliances are generated are shown in Table 2. Based on RTP signal, energy demand and user requirements, GA generates the optimal patterns of all appliances in each time slot. For example, if we have six appliances, six bit binary pattern (011001) is generated where 0 shows off and 1 shows on state of appliances. In each time slot, this process repeats to obtain optimal patterns because electricity prices vary based on energy demand of the appliances and user preferences.

4.1. Complexity of Genetic Algorithm

In GA implementation, representation of solution is vital to its convergence and processing time (speed). GA algorithm produces the best solution by evaluating the initial random population. The size of initial population usually depends on the nature of the problem. The algorithm takes more processing time to evaluate the fitness of all individuals for large population size and vice versa. Figure 5 shows the analysis of processing time and fitness function w.r.t population size and total number of appliances. It is clear from Figure 5a that processing time increases by increasing total number of appliances in time t. It is also shown that algorithm takes more processing when initial population size is large as compared to small population size. This is because the algorithm evaluates A m × n matrix which can take more processing time while taking into consideration all constraints (Equations (9a–9e)). In Figure 6, processing time of GA in terms of total number of time slots has been shown. It is clear from the figure that processing time (convergence time) increases as we increase the total number of time slots during time t and vice versa. This is due to the fact that algorithm needs more time to find optimal time slots when total number of time slots are increased. In the proposed work, we use 24 and 48 time slots for simulation purpose to evaluate the performance of GA in terms of convergence, processing time and optimal solution Figure 5 and Figure 6. The proposed algorithm has the capability to schedule home appliances considering any number of time slots, but at the cost of more processing time. In conclusion, complexity of the proposed algorithm increases as we increase the total number of appliances, time slots and initial population size.

5. Simulations and Results

In this section, we discuss the simulation results and assess the performance of the proposed energy management algorithms in terms of energy consumption, electricity cost savings and thermal comfort of the consumer. Different types of appliances, i.e., tc, ua, el, iel, r, having variable energy demand and operating time have been considered in this work. The working of tc appliances is controlled by taking into consideration human occupancies and thermal constraints. The ua appliances are turned on only when any person is present in the room. For this purpose, we assumed different sensors placed in the room which detect human motion/presence and provide signal to EMC [31]. Based on this information, EMC decides to turn that particular appliance on or off. The el appliances are those which can be scheduled throughout the day. Moreover, these appliances are interruptible in nature and EMC schedules these appliances for cost reduction perspective without violating l t i . On the other hand, the iel appliances are scheduleable but non-interruptible in nature. Once these appliances are turned on, they will complete their working hours. At the end, the energy demand of r appliances is fulfilled through local generation because these are continuously running appliances as discussed in Section 3. The details about the appliances used in these categories and simulation parameters are given in Table 1, Table 2, Table 3, Table 4, Table 5 and Table 6, respectively. The RTP signal is directly obtained via smart meter which later on is utilized by EMC for appliance scheduling and controlling (Figure 7, [32]).
Algorithm 1 Pseudo code of the proposed algorithms for tc and ua appliances
1:
Required population size, max. generations, N, Temperature range, α , β , γ , δ , ϕ .
2:
Initialize random population which represents the patterns of appliances.
3:
for t=1:tn do
4:
      for i=1:popsize do
5:
Evaluate fitness function.
6:
F= f i t n e s s
7:
—–For HVAC System———-
8:
          if ( F ( i ) < F ( i - 1 ) ) then
9:
                F ( i ) = F ( i )
10:
              if ( t e ( t ) < 23 ) & ( α ( t ) > 0 ) then
11:
                    p o p n e w ( i , 1 ) = 1
12:
              end if
13:
              if α ( i ) > 1 then
14:
                    p o p n e w ( i , 2 ) = 1 ;
15:
              end if
16:
          else
17:
                F ( i ) = F ( i - 1 )
18:
          end if
19:
—–For refrigerator———-
20:
           p o p n e w ( i , 1 ) = 1
21:
          if ( F ( i ) < F ( i - 1 ) ) then
22:
               F ( i ) = F ( i )
23:
              if ( t e i n ( t ) > 5 ) then
24:
                    p o p n e w ( i , 2 ) = 1
25:
              end if
26:
              if D o o r ( t ) > 0 then
27:
                    p o p n e w ( i , 3 ) = 1 ;
28:
              end if
29:
              if t e o t ( t ) > 0 then
30:
                    p o p n e w ( i , 4 ) = 1 ;
31:
              end if
32:
—–For u a appliances———-
33:
              if ( F ( i ) < F ( i - 1 ) ) then
34:
                   F ( i ) = F ( i )
35:
                  if ( δ l ( t ) > 0 ) & & ( δ r ( t ) > 0 then
36:
                       p o p n e w ( i , 1 ) = 1
37:
                       p o p n e w ( i , 2 ) = 1
38:
                       p o p n e w ( i , 3 ) = 1
39:
                       p o p n e w ( i , 4 ) = 1
40:
                  end if
41:
                  if ( δ l ( t ) = 0 ) & & ( δ r ( t ) = = 0 then
42:
                       p o p n e w ( i , 1 ) = 1
43:
                       p o p n e w ( i , 2 ) = 1
44:
                       p o p n e w ( i , 3 ) = 0
45:
                       p o p n e w ( i , 4 ) = 0
46:
                  end if
47:
                  if ( δ l ( t ) = = 0 ) & & ( δ r ( t ) = 0 then
48:
                       p o p n e w ( i , 1 ) = 0
49:
                       p o p n e w ( i , 2 ) = 0
50:
                       p o p n e w ( i , 3 ) = 1
51:
                       p o p n e w ( i , 4 ) = 1
52:
                  end if
53:
              end if
54:
        else
55:
        end if
56:
    end for
57:
end for
58:
if ( ϕ ( t ) = 0 ) then
59:
     p o p n e w ( i , 2 ) = 0
60:
     p o p n e w ( i , 4 ) = 0
61:
end if
62:
end if
63: 
else
64: 
F ( i ) = F ( i - 1 )
65: 
end if
66: 
end for
67: 
Generate new population.
68: 
Select crossover pair a , b
69: 
if P c > r a n d then
70: 
     c r o s s o v e r ( a , b )
71: 
end if
72: 
 
73: 
if P m > r a n d then
74: 
     m u t a t e ( a , b )
75: 
end if
76: 
popnew(popsize,N)
77: 
end for
Figure 8 illustrates the energy consumption of HVAC in case of CPCT and iPCT. Using CPCT, HVAC turns on when indoor temperature falls below the threshold temperature ( t 0 t 14 ) , ( t 15 t 24 ) and turns off when temperature level is maintained in the room ( t 14 t 15 ) . Turning on HVAC without taking into consideration the human occupancy may increase the energy consumption leading to high electricity cost. To enhance the appliance utility, the proposed algorithm considers all these factors (temperature and occupancy) and maintains the desired room temperature. It is clear from Figure 8 that when there is no occupant in the room ( t 1 t 2 ) and ( t 3 t 4 ) (red dotted line), EMC sends turn off signal to the iPCT. For simplicity, only occupants presence has been shown in Figure 8a based on which HVAC turns on or off. From ( t 5 t 7 ) and ( t 15 t 19 ) , there is again no occupant in the room and iPCT turns off the HVAC according to (Section 3.3.1). In case of CPCT, HVAC is turned on during time slots ( t 5 t 7 ) and ( t 8 t 9 ) on the basis of temperature difference only (Figure 8). Although, there is no occupant found in these time slots which is an important reason of uneven energy wastage. During time slot ( t 13 t 14 ) , both CPCT and iPCT turn off HVAC because there is no occupant in the room and temperature is within desired limit. From above results, it is clear that iPCT is more efficient in handling appliance working as compared to CPCT. Figure 9 shows the resultant electricity cost of HVAC.
In case of refrigerator, energy consumption depends on outside temperature variations and number of times the door is opened. The number of times the door opens in a single time slot is considered uniformly distributed random variable within the range of [0,4]. Each time when door is opened at 90 for 12 s, additional energy of 12.4 W/h/day is consumed. It is clear that the door opening rate is directly proportional to the total duration required for user satisfaction. The iPCT turns on the refrigerator compressor only when the inside temperature exceeds 5 C . Otherwise, compressor remains off to reduce the electricity cost.
The daily energy consumption of refrigerator is shown in Figure 10a. From ( t 1 t 4 ) , refrigerator’s door is opened with a constant rate (2 times) based on which energy consumption is calculated. From ( t 4 t 5 ) , ( t 6 t 7 ) , ( t 8 t 11 ) , ( t 12 t 19 ) and ( t 22 t 23 ) , refrigerator’s door is closed as shown via red dotted lines (Figure 10a). However, energy is still consumed because the compressor needs energy to keep inside temperature within desired limit (Figure 10b). However, the energy consumed in case of iPCT is less as compared to CPCT. Due to proper tuning of β and γ variables (Section 3.3), total energy consumption and electricity cost of refrigerator are comparatively less in case of iPCT. Using iPCT, total energy consumption of refrigerator is reduced from 40.6864 kWh to 34.53 kWh which is 15.12 % reduction. The daily electricity cost of refrigerator is reduced from 476 $ to 392 $, which is approximately 18 % reduction. These results verify that under same conditions, the proposed algorithm efficiently reduces the daily electricity cost and maintains the internal temperature of refrigerator within desired range. The parameters and temperature set points used to model the optimization problem of a refrigerator are given in Table 5.
In order to visualize the impact of short time slot on energy management system and its stability, the proposed algorithms of HVAC and refrigerator are tested for t = 30 min time window. This section explains the energy consumption and electricity cost of HVAC and refrigerator in relation to three number of parameters: (i) total number of door open attempts; (ii) temperature variations; (iii) t = 30 min time slot. Considering CPCT, HVAC turns on based on temperature variations. While in case of iPCT, HVAC turns on based on temperature variations and total number of persons in the room. It is clear from Figure 11 that in case of iPCT, HVAC frequently turns on and off based on total number of persons present in the room. In Figure 12, total energy consumption and electricity cost of refrigerator is shown which is based upon total number of door open attempts (Section 3.3.1 (Refrigerator)). It is clear that during time slots t 8 t 11 ( t 19 t 21 ) , refrigerator’s door is closed and resultant energy consumption is zero and vice verse. The total electricity cost savings of HVAC and refrigerator are 52% and 63.47%, respectively.
Discussion: Figure 11 and Figure 12 show that the proposed algorithms have the capability to manage the loads even if time window is less than 1 h. Although, the energy management system works efficiently however there might be some complexities when using the small time window: (i) processing time can be increased; (ii) system complexities may increase because it is comparatively more complex to handle short time windows; (iii) it is very difficult for utilities to design real time DR programs based on small time slots. The reason behind this is the large amount of communication data exchanged between utilities and consumers. This is the main reason that most utilities are heavily relying on time of use (TOU) and day ahead pricing (DAP) schemes. Most importantly, the system with short time slot is efficient because ua appliances can be turned off based on human occupancy.
On the other hand, ua appliances are scheduled on the basis of occupancy data. EMC turns on fans and lights if any person is present in the room. If δ = 0, it means that person is not present in the room and the associated appliance is off and vice versa. This mechanism reduces unnecessary energy consumption of ua appliances and thus efficiently utilizes the energy. From Figure 13, it is clear that energy consumption of ua appliances is almost half when occupancy and light sensors are not used. The energy consumption is reduced from 4.86 kWh to 2.43 kWh in a single day which is almost 50% saving. The daily electricity cost of ua appliances is shown in Figure 14 and the working of HVAC, refrigerator and ua appliances is explained in Figure 15.
The daily energy consumption and electricity cost of tc appliances (HVAC and refrigerator) and ua appliances (fans and lights) are shown in Figure 16. In case of ua, tc appliances, the daily electricity cost is reduced by 49.01% and 45.67%, respectively. This is due to the fact that before turning ua, tc appliances on, EMC checks the presence of person(s) in the room as described in (Section 3.3.1 and Section 3.3.2). In traditional scheduling schemes, the working of HVAC is controlled on the basis of temperature difference only [22]. Furthermore, the electricity cost reduction of refrigerator is approximately 18% which shows that minimization of the opening duration of refrigerator’s door leads to significant energy saving. It is also shown that our algorithm makes the CPCT more intelligent and operates at optimal cost while considering the HVAC constraints.
Figure 17 illustrates the energy consumption of el and iel and r appliances. It is clear that the proposed algorithm efficiently schedules the appliances according to electricity prices and user preferences. The EMC schedules maximum appliances in low price hours ( h 1 t 8 ) and ( h 20 t 24 ) , however it is also illustrated that some of the appliances are still running in critical time slots (i.e., t 8 t 12 ). There are two main reasons behind this operation; (1) due to user comfort, because users do not want to compromise on their comfort; (2) due to total l t i constraint. One of the possible drawbacks of scheduling more appliances in low price hours is the possibility of high peaks on gird. In this situation, the proposed algorithm should be capable enough in handling high peak problem. So, we significantly avoid this problem by imposing knapsack capacity limit constraint Equation (9b). In general, the consumers are not the only stake holders in DSM programs, both utility and consumer can get equal benefits. This reduction in peak load demand decreases the PAR which improves the stability and the utilization factor of the grid.
In Figure 18, the hourly electricity cost of el, iel and r appliances is shown. It is clear from the figure that from time slot ( t 8 t 12 ) there are high peak hours. The proposed algorithm efficiently shifts the controllable appliances in time slots ( t 13 t 24 ) to reduce the electricity cost (due to constraints 8a-8e and 9a-9e). The r appliances are still operated on diesel power generator (Section 3.1, their fuel cost is given in Table 7). This is because that the generation cost of microgrid is still less than the cost of utility. Therefore, it is feasible to operate r appliances on generator to minimize the electricity cost and user frustration. The total electricity cost is high due to more energy consumed by iel appliances in these time slots. Another major reason is uninterruptible nature of these appliances. On the other hand, el appliances are interruptable and can be scheduled throughout the day (Section 3.3.3, Figure 19). Therefore, EMC schedules these appliances in low electricity time slots (i.e., ( t 0 t 8 ) , t 15 t 24 ). Regarding PAR, it is reduced by 22.77% using power capacity limit Equation (9b) which increases the efficiency and stability of grid. The peak load demand without the proposed algorithm is 16.5 kW, whereas in case of proposed algorithm the peak load demand reduced to 14.5 kW. This reduction in peak load demand reduces the total generation cost of peak power plants. Furthermore, the reduction in peak load demand and PAR reduces the line losses and improves the efficiency of grid. The steps involved in the controlling of el and iel appliances are shown in algorithm 2.
In Figure 20a, individual energy consumption patterns of el appliances which can be interrupted during their working cycles is shown. The el appliances have an interruptible nature and we can turn on/off where needed to reduce the electricity cost and PAR. When interrupted, these appliances wait for the next time slot where the electricity price is low. This may increase the waiting time of appliances which ultimately disturb user comfort (Section 3.2) due to comfort and cost tradeoff. Therefore, considering this tradeoff in mind, we design the algorithm which schedules the el appliances in such a way that their total average delay is not greater than 3 time slots (e.g., maximum waiting time flexibility is considered 3 h in our case). However, users have the flexibility to set the maximum waiting time according to their own desire. For example, washing machine and dishwasher can wait because these appliances are not directly related to user comfort (Section 3.2). To avoid the inconvenience, iel appliances are considered un-interruptible with high priority. These appliances remain on until the completion of complete cycles once turned on. The waiting time of these types of appliances is not more than 3 h. It is clear from Figure 20b that iel appliance is turned on at low electricity price hours. However, once turned on can not be interrupted during their duty cycle. Moreover, Figure 20b shows that the maximum delay of these appliances is equal to 3 h (high priority). Figure 19 shows the working mechanism of r, el and iel appliances.
Algorithm 2 Pseudo code of the proposed algorithm for el and iel appliance
1:
Required Unscheduled pattern, t i us , population size, max. generations, N.
2:
Initialize random population which represents the patterns of appliances.
3:
for t=1:tn do
4:
P d =0
5:
    for i=1:popsize do
6:
Evaluate fitness function
7:
F= f i t n e s s
8:
        if ( F ( i ) < F ( i - 1 ) ) & & ( E T ( t ) < ϑ ( t ) ) then
9:
             F ( i ) = F ( i )
10:
           if i e i ( t - 1 ) = = 1 then
11:
                t i s = t
12:
                D i = t i u-sch - t i sch
13:
               if ( D i 3 ) & & ( τ t l i ) then
14:
                    i e ( t ) = 1
15:
               end if
16:
           end if
17:
           if e i ( t ) = = 1 then
18:
                t i s = t
19:
                D i = t i u-sch - t i sch
20:
               if ( D i 3 ) & & ( τ t l i ) then
21:
                    e ( t ) = 1
22:
               end if
23:
           end if
24:
        else
25:
            F ( i ) = F ( i - 1 )
26:
        end if
27:
    end for
28:
AppPattern(1,:)=popnew(1,i)
29:
    if A p p P a t t e r n i = = 1 then
30:
         t l i = t l i - 1
31:
    end if
32:
Pd= E b T ( t )
33:
Solve minimization problem (1). Generate new population. Select crossover pair a , b
34:
    if P c > r a n d then
35:
         c r o s s o v e r ( a , b )
36:
    end if
37:
 
38:
    if P m > r a n d then
39:
         m u t a t e ( a , b )
40:
    end if
41:
popnew(popsize,N)
42:
end for
The average appliance waiting time of r, el and iel appliances is shown in Figure 21. r appliances have zero waiting times because these appliances are served by local generation. Whereas, el appliances have average waiting time of 6 h. From Figure 20, it is seen that in case of dishwasher the delay exceeds 3 h.
Figure 22 shows user comfort in case of el, iel and r appliances. It is clear from the figure that frustration level of r appliances is not shown because these appliances are turned on as per user demand. Moreover, r appliances do not take part in DSM program and are not considered in optimization problem. Figure 22 shows that the user comfort level is less in case of iel appliances because the average waiting time of these appliances is less as compared to el appliances. The user comfort is 54% in case of iel appliances and 45% in case of el appliances. As discussed earlier that there is a tradeoff between user comfort and electricity cost reduction. If the users are interested in electricity cost reduction, then they have to compromise on comfort, otherwise, extra electricity cost must be paid. For instance, water pump is high power consumption device and its electricity cost depends on time of use. If these types of appliances are operated in non consecutive low pricing time slots, their energy consumption cost can be reduced. The proposed algorithm properly adjusts the working of iel appliances with minimum delay to maximize both comfort and electricity cost saving.
Remarks: in Table 8, we compare the performance of the proposed scheme with existing ones alongwith achievements and tradeoffs. From this table, it can be concluded that all the techniques are efficient in terms of cost reduction and load management. However, these techniques fail to manage the household load alongwith cost and energy consumption reductions. This is due to the inconsideration of user presence and thermal constrains which significantly minimize the tradeoff between user comfort and cost reduction. Moreover, user activities have direct impact on the energy consumption reduction. So, the proposed scheme gives best optimal results in terms of cost, energy consumption, and user discomfort reductions.

6. Conclusion and Future Work

In this work, we proposed algorithms for DSM based on GA to balance the residential load in a microgrid while maximizing user comfort and electricity cost savings. The proposed algorithms are flexible enough to achieve user comfort and reduce PAR as well. Furthermore, five types of appliances (tc, ua, el, iel and r) are taken into consideration and mathematical models are proposed by considering thermal and comfort constraints. Based on extensive simulations, it is shown that the proposed algorithms efficiently manage the energy consumption by scheduling home appliances. The proposed algorithm reduced the electricity cost and PAR up to 22.63% and 22.77%, respectively.
In future, we are interested in load and solar energy forecasting in any particular region based on which the energy management algorithm will be proposed to fulfill energy demand during high peak hours [36].

Acknowledgments

The authors would like to extend their sincere appreciation to the Deanship of Scientific Research at King Saud University for funding this Research group No. RG-037-1435.

Author Contributions

Muhammad Babar Rasheed, Muhammad Awais, and Zafar Iqbal did and wrote simulations. Zahoor Ali Khan, Umar Qasim, and Nabil Alrajeh classified the appliances and proposed the time slots. They performed mathematical formulations as well. Nadeem Javaid supervised overall work flow, set and refined the manuscript. Muhammad Babar Rasheed and Qaisar Javaid revised the manuscript according to the reviewers’ comments.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Deploying a smarter grid through cable solutions and services, 2010. Available online: http://www.nexans.com/Corporate/2010/WHITE_PAPER_SMART_GRIDS_2010.pdf (accessed on 31 January 2016).
  2. Yan, Y.; Qian, Y.; Sharif, H.; Tipper, D. A survey on smart grid communication infrastructures: Motivations, requirements and challenges. IEEE Commun. Surv. Tutor. 2013, 15, 5–20. [Google Scholar] [CrossRef] [Green Version]
  3. Ma, R.; Chen, H.H.; Huang, Y.R.; Meng, W. Smart grid communication: Its challenges and opportunities. IEEE Trans. Smart Grid 2013, 4, 36–46. [Google Scholar] [CrossRef]
  4. Ye, F.; Qian, Y.; Hu, R. Energy efficient self-sustaining wireless neighborhood area network design for smart grid. IEEE Trans. Smart Grid 2015, 6, 220–229. [Google Scholar] [CrossRef]
  5. Zhou, J.; Hu, R.; Qian, Y. Scalable distributed communication architectures to support advanced metering infrastructure in smart grid. IEEE Trans. Parallel Distrib. Syst. 2012, 23, 1632–1642. [Google Scholar] [CrossRef]
  6. Ipakchi, A.; Albuyeh, F. Grid of the future. IEEE Power Energy 2009, 7, 52–62. [Google Scholar] [CrossRef]
  7. Nguyen, H.K.; Song, J.B.; Han, Z. Distributed demand side management with energy storage in smart grid. IEEE Trans. Parallel Distrib. Syst. 2015, 26, 3346–3357. [Google Scholar] [CrossRef]
  8. Samadi, P.; Mohsenian-Rad, A.; Schober, R.; Wong, V.W.S.; Jatskevich, J. Optimal real-time pricing algorithm based on utility maximization for smart grid. In Proceedings of the 1st IEEE International Conference on Smart Grid Communications, Gaithersburg, MD, USA, 2010; pp. 415–420.
  9. Mahmood, D.; Javaid, N.; Alrajeh, N.; Khan, Z.A.; Qasim, U.; Ahmed, I.; Ilahi, M. Realistic scheduling mechanism for smart homes. Energies 2016, 9, 202. [Google Scholar] [CrossRef]
  10. Kantarci, M.E.; Mouftah, H.T. Wireless sensor networks for cost-efficient residential energy management in the smart grid. IEEE Trans. Smart Grid 2011, 2, 314–325. [Google Scholar] [CrossRef]
  11. Zhu, Z.; Tang, J.; Lambotharan, S.; Chin, W.H.; Fan, Z. An integer linear programming based optimization for home demand-side management in smart grid. In Proceedings of the IEEE PES Innovative Smart Grid Technologies, Washington, DC, USA, 16–20 January 2012; pp. 1–5.
  12. Yuan, W.; Vincent, K.N.L.; Tsang, K.H.; Ping, Q.L.; Limin, M. Optimal energy scheduling for residential smart grid with centralized renewable energy source. IEEE Syst. J. 2014, 8, 562–576. [Google Scholar] [CrossRef]
  13. Agnetis, A.; de Pascale, G.; Detti, P.; Vicino, A. Load scheduling for household energy consumption optimization. IEEE Trans. Smart Grid 2013, 4, 2364–2373. [Google Scholar] [CrossRef]
  14. Yi, P.Z.; Dong, X.H.; Iwayemi, A.; Zhou, C.; Li, S.F. Real-time opportunistic scheduling for residential demand response. IEEE Trans. Smart Grid 2013, 4, 227–234. [Google Scholar] [CrossRef]
  15. Rasheed, M.B.; Javaid, N.; Ahmad, A.; Khan, Z.A.; Qasim, U.; Alrajeh, N. An efficient power scheduling scheme for residential load management in smart homes. Appl. Sci. 2015, 5, 1134–1163. [Google Scholar] [CrossRef]
  16. Faria, P.; Soares, J.; Vale, Z.; Morais, H.; Sousa, T. Modified particle swarm optimization applied to integrated demand response and DG resources scheduling. IEEE Trans. Smart Grid 2013, 4, 606–616. [Google Scholar] [CrossRef]
  17. Logenthiran, T.; Srinivasan, D.; Shun, T.Z. Demand side management in smart grid using heuristic optimization. IEEE Trans. Smart Grid 2012, 3, 1244–1252. [Google Scholar] [CrossRef]
  18. Chen, Z.; Wu, L.; Fu, Y. Real-time price-based demand response management for residential appliances via stochastic optimization and robust optimization. IEEE Trans. Smart Grid 2012, 3, 1822–1831. [Google Scholar] [CrossRef]
  19. Huang, S.; Xiao, J.; Pekny, J. F.; Reklaitis, G.V.; Liu, A.L. Quantifying system-level benefits from distributed solar and energy storage. J. Energy Eng. 2011, 138, 33–42. [Google Scholar] [CrossRef]
  20. Gatsis, N.; Giannakis, G.B. Residential load control: Distributed scheduling and convergence with lost AMI messages. IEEE Trans. Smart Grid 2012, 3, 770–786. [Google Scholar] [CrossRef]
  21. Yaagoubi, N.; Mouftah, H.T. User-aware game theoretic approach for demand management. IEEE Trans. Smart Grid 2015, 6, 716–725. [Google Scholar] [CrossRef]
  22. Nguyen, D.T.; Le, L.B. Joint optimization of electric vehicle and home energy scheduling considering user comfort preference. IEEE Trans. Smart Grid 2014, 5, 188–199. [Google Scholar] [CrossRef]
  23. Nguyen, H.T.; Nguyen, D.; Le, L.B. Home energy management with generic thermal dynamics and user temperature preference. In Proceedings of the IEEE International Conference on Smart Grid Communications, Vancouver, BC, Canada, 21–24 October 2013; pp. 552–557.
  24. Nguyen, D.T.; Le, L.B. Joint optimization of electric vehicle and home energy scheduling considering user comfort preference. IEEE Trans. Smart Grid 2014, 5, 188–199. [Google Scholar] [CrossRef]
  25. Wang, L.; Wang, Z.; Yang, R. Intelligent multiagent control system for energy and comfort management in smart and sustainable buildings. IEEE Trans. Smart Grid 2012, 3, 605–617. [Google Scholar] [CrossRef]
  26. Blerim, Q.; Mouftah, H.T. Observe, learn and adapt (OLA)—-An algorithm for energy management in smart grid homes using wireless sensor and artificial intelligence. IEEE Trans. Smart Grid 2012, 3, 2262–2272. [Google Scholar]
  27. Microgrids. Available online: https://building-microgrid.lbl.gov/about-microgrids (accessed on 31 January 2016).
  28. Saadat, H. Power System Analysis; WCB/McGraw-Hill: Boston, MA, USA, 1999. [Google Scholar]
  29. Lin, Y.H.; Tsai, M.S. An advanced home energy management system facilitated by nonintrusive load monitoring with automated multiobjective power scheduling. IEEE Trans. Smart Grid 2015, 6, 1839–1851. [Google Scholar] [CrossRef]
  30. Sumathi, S.; Paneerselvam, S. Computational Intelligence Paradigms: Theory and Applications Using MATLAB; CRC Press: Boca Raton, FL, USA, 2010. [Google Scholar]
  31. D6T thermal sensor, high sensitivity enables detection of stationary human presence, 2012. Available online: http://www.digikey.com/en/product-highlight/o/omron/d6t-thermal-sensor (accessed on 22 June 2016).
  32. Maharjan, I.K. Demand Side Management: Load Management, Load Profiling, Load Shifting, Residential and Industrial Consumer, Energy Audit, Reliability, Urban, Semi-Urban and Rural Setting; LAP (Lambert Acad. Publ.): Saar-Brucken, Germany, 2010. [Google Scholar]
  33. How Much Power Do Your Appliances Use? Available online: http://www.wholesalesolar.com/solar-information/how-to-save-energy/power-table (accessed on 31 December 2015).
  34. Reduce your electricity bills, 2014. Available online: http://www.dawn.com/news/1055880 (accessed on 12 February 2016).
  35. Saidur, R.; Masjuki, H.H.; Mahlia, T.M.I.; Nasrudin, A.R. Factors affecting refrigerator-freezers energy consumption. ASEAN J. Sci. Technol. Dev. 2002, 19, 57–68. [Google Scholar]
  36. Ahmad, A.; Javaid, N.; Alrajeh, N.; Khan, Z.A.; Qasim, U.; Khan, A. A Modified Feature Selection and Artificial Neural Network-Based Day-Ahead Load Forecasting Model for a Smart Grid. Appl. Sci. 2015, 5, 1756–1772. [Google Scholar] [CrossRef]
Figure 1. Conceptual diagram of t c and u a appliances.
Figure 1. Conceptual diagram of t c and u a appliances.
Energies 09 00542 g001
Figure 2. System model of e l , i e l and r appliances. EMC: energy management controller.
Figure 2. System model of e l , i e l and r appliances. EMC: energy management controller.
Energies 09 00542 g002
Figure 3. Main steps of genetic algorithm (GA).
Figure 3. Main steps of genetic algorithm (GA).
Energies 09 00542 g003
Figure 4. Appliance waiting time.
Figure 4. Appliance waiting time.
Energies 09 00542 g004
Figure 5. Comparison of processing time and fitness of GA w.r.t; (i) total no. of appliances; (ii) population size: (a) processing time of GA; and (b) fitness of GA.
Figure 5. Comparison of processing time and fitness of GA w.r.t; (i) total no. of appliances; (ii) population size: (a) processing time of GA; and (b) fitness of GA.
Energies 09 00542 g005
Figure 6. Analysis of processing time of GA w.r.t total number of time slots (for single appliance only).
Figure 6. Analysis of processing time of GA w.r.t total number of time slots (for single appliance only).
Energies 09 00542 g006
Figure 7. Real time price (RTP) pricing signal obtained from [32].
Figure 7. Real time price (RTP) pricing signal obtained from [32].
Energies 09 00542 g007
Figure 8. Energy consumption of HVAC w.r.t variation in room temperature with number of occupants in the room, (on—if person is present in the room, off—if person is not present in the room).
Figure 8. Energy consumption of HVAC w.r.t variation in room temperature with number of occupants in the room, (on—if person is present in the room, off—if person is not present in the room).
Energies 09 00542 g008
Figure 9. Energy consumption cost of HVAC.
Figure 9. Energy consumption cost of HVAC.
Energies 09 00542 g009
Figure 10. Comparison of energy consumption and electricity cost of refrigerator in unscheduled and unscheduled cases, (door open—total number of door open attempts): (a) energy consumption of refrigerator; and (b) daily electricity cost of refrigerator.
Figure 10. Comparison of energy consumption and electricity cost of refrigerator in unscheduled and unscheduled cases, (door open—total number of door open attempts): (a) energy consumption of refrigerator; and (b) daily electricity cost of refrigerator.
Energies 09 00542 g010
Figure 11. Total energy consumption and electricity cost of HVAC w.r.t total number of occupants (t = 30 min time duration).
Figure 11. Total energy consumption and electricity cost of HVAC w.r.t total number of occupants (t = 30 min time duration).
Energies 09 00542 g011
Figure 12. Total energy consumption and electricity cost of refrigerator w.r.t number of door opens (t = 30 min time duration).
Figure 12. Total energy consumption and electricity cost of refrigerator w.r.t number of door opens (t = 30 min time duration).
Energies 09 00542 g012
Figure 13. Energy consumption of u a appliances.
Figure 13. Energy consumption of u a appliances.
Energies 09 00542 g013
Figure 14. Daily electricity cost of u a appliances.
Figure 14. Daily electricity cost of u a appliances.
Energies 09 00542 g014
Figure 15. Energy management algorithms of (a) HVAC; (b) refrigerator and (c) ua appliances.
Figure 15. Energy management algorithms of (a) HVAC; (b) refrigerator and (c) ua appliances.
Energies 09 00542 g015
Figure 16. Comparison of total energy consumption and electricity cost of u a and t c appliances in unscheduled and scheduled cases: (a) energy consumption of u a and t c appliances; and (b) electricity cost of u a and t c appliances.
Figure 16. Comparison of total energy consumption and electricity cost of u a and t c appliances in unscheduled and scheduled cases: (a) energy consumption of u a and t c appliances; and (b) electricity cost of u a and t c appliances.
Energies 09 00542 g016
Figure 17. Daily energy consumption of r, e l and i e l appliances.
Figure 17. Daily energy consumption of r, e l and i e l appliances.
Energies 09 00542 g017
Figure 18. Hourly electricity cost of r, e l and i e l appliances.
Figure 18. Hourly electricity cost of r, e l and i e l appliances.
Energies 09 00542 g018
Figure 19. Energy management algorithm of r, el and iel appliances.
Figure 19. Energy management algorithm of r, el and iel appliances.
Energies 09 00542 g019
Figure 20. Appliance energy consumption and operating time slots in unscheduled and unscheduled cases: (a) energy consumption and optimal operating hours of e l appliances; and (b) energy consumption and optimal operating hours of i e l appliances.
Figure 20. Appliance energy consumption and operating time slots in unscheduled and unscheduled cases: (a) energy consumption and optimal operating hours of e l appliances; and (b) energy consumption and optimal operating hours of i e l appliances.
Energies 09 00542 g020
Figure 21. Average waiting time of r, e l and i e l appliances.
Figure 21. Average waiting time of r, e l and i e l appliances.
Energies 09 00542 g021
Figure 22. User comfort in case of e l and i e l appliances.
Figure 22. User comfort in case of e l and i e l appliances.
Energies 09 00542 g022
Table 1. Nomenclature. HVAC: heating ventilation and air conditioning.
Table 1. Nomenclature. HVAC: heating ventilation and air conditioning.
SymbolDescriptionSymbolDescription
t c Thermostatically controlled appliances t n Total time interval
u a User aware appliances F ( . ) Fitness function
e l Elastic appliancesςElectricity cost
i e l Inelastic appliances φ Appliance on/off status
rRegular appliances t min , t max Minimum and maximum time limits
nTotal number of appliances α Total number of occupants
ι i Cost due to losses e s Standby energy consumption of refrigerator
C t Total electricity cost e c Energy consumption of compressor
b i Total fuel cost e i do Energy consumption increment with door open
uTotal number of generators e t i n Energy consumption increment with temperature
c i Generator startup cost t e r max Maximum room temperature
P i Power produced by generator D m Maximum delay
P max Maximum power β Total number of times the door is open
P min Minimum power γ Change in outdoor temperature
E r Total energy consumption of r appliances t e ref Internal temperature of refrigerator
E t c Total energy consumption of t c appliances t e ref max Refrigerator’s maximum internal temperature
E e l Total energy consumption of e l appliances t e ref min Refrigerator’s minimum internal temperature
E i e l Total energy consumption of i e l appliances e f Energy consumption of a fan
E u a Total energy consumption of u a appliances e l Energy consumption of a light
E h Total energy consumption of HVAC t e in Indoor temperature
D a Average delay t e ot outdoor temperature
t sch Appliance scheduled start time δ l Occupancy sensor at left side of room
p m Maximum electricity peaks δ r Occupancy sensor at right side of room
ΦStatus of light flag [0,1] t u-sch Appliance unscheduled start time
λ Average user frustration t l i Length of operation time
θ Power capacity limit e h Energy consumption of HVAC with occupants
p a Average electricity peaks e h Energy consumption of HVAC without occupants
t e r min Minimum room temperature τ Appliance scheduling horizon
Table 2. Control Parameters of GA.
Table 2. Control Parameters of GA.
ParameterSymbolValue
Chromosome lengthN4
Maximum generation g m a x 500
Population size p s i z e 200
Crossover ratePc0.9
Mutation ratePm0.1
Table 3. Appliances energy consumption and operating time [33].
Table 3. Appliances energy consumption and operating time [33].
Type of ApplianceAppliance t l i (h)Power Rating (kWh)
t c Refrigerator, HVAC1.24, 1.10
u a Fans, Lights0.10, 0.47
e l Washing machine, Dishwasher5, 73.4, 1.50
i e l Water pump, Oven83.5, 1.5
rComputer, TV80.1, 0.3
Table 4. HVAC parameters [34].
Table 4. HVAC parameters [34].
12345
ApplianceTemperature range ( C)Desired temp. ( C) E * (kWh) E HVAC (kWh) α
HVAC20–26230.01753.50–4
Table 5. Refrigerator parameters [33,35].
Table 5. Refrigerator parameters [33,35].
123456
ApplianceTemperature Range ( C) e s (kWh) e c (kWh) e i do (kWh) e t in (kWh) β , γ
Refrigerator1–50.520.01240.1410–4, 0–5
Table 6. Parameters of u a appliances [34].
Table 6. Parameters of u a appliances [34].
123
Appliance Type e f (W) e l (W) δ l , δ r , Φ
u a 10028[0,1]
Table 7. Generator output to serve r appliances.
Table 7. Generator output to serve r appliances.
Time (h)aibiciPmin (kW)Pmax (kW)PdCost ($)
1–20.0010.00772105.57.07
3–40.0010.007721037.03
50.0010.00772105.57.07
6–70.0010.007721037.03
8–240.0010.00772105.57.07
Table 8. Performance comparison of the proposed scheme with existing schemes, P P : person presence; AC: appliance categorization; PS: pricing scheme; ER : energy reduction; CR: cost reduction; DSM: demand side management; SG: smart grid; ILP: integer linear programming; HALM: home area load management; GA: genetic algorithm; PCT: programmable communication thermostat; iPCT: intelligent programmable communication thermostat; DR: demand response.
Table 8. Performance comparison of the proposed scheme with existing schemes, P P : person presence; AC: appliance categorization; PS: pricing scheme; ER : energy reduction; CR: cost reduction; DSM: demand side management; SG: smart grid; ILP: integer linear programming; HALM: home area load management; GA: genetic algorithm; PCT: programmable communication thermostat; iPCT: intelligent programmable communication thermostat; DR: demand response.
TechniqueDomainAchievementsLimitationsPPERACCR
Game theory [7]Appliance scheduling with energy storageMinimize electricity cost, keep user privacy high, storage optimizationUser comfort is not considered, focus is towards cost reduction, environmental conditions are not considered
BPSO [2]Appliance scheduling for DSMMinimize electricity cost, user comfort, improved appliance utilityTradeoff between appliance utility and user comfort
Distributed algorithm [12]Energy management in SGReduce tradeoff between exploiting renewable energy sources and cost due to its volatility, energy scheduling decisionUser comfort is not considered
Game theory [21]Energy management in SGReduce tradeoff between exploiting renewable energy sources and cost due to its volatility, energy scheduling decisionUser comfort is is neglected
ILP [11]HALMSchedule peak load and optimal powerUser comfort is not modeled
Proposed-GA, PCT, iPCTHome appliance scheduling with dynamic DRMinimize electricity cost, appliance avg. waiting time, user frustration, fuel cost of diesel generator, energy consumptionTradeoff between comfort and energy consumption

Share and Cite

MDPI and ACS Style

Rasheed, M.B.; Javaid, N.; Awais, M.; Khan, Z.A.; Qasim, U.; Alrajeh, N.; Iqbal, Z.; Javaid, Q. Real Time Information Based Energy Management Using Customer Preferences and Dynamic Pricing in Smart Homes. Energies 2016, 9, 542. https://doi.org/10.3390/en9070542

AMA Style

Rasheed MB, Javaid N, Awais M, Khan ZA, Qasim U, Alrajeh N, Iqbal Z, Javaid Q. Real Time Information Based Energy Management Using Customer Preferences and Dynamic Pricing in Smart Homes. Energies. 2016; 9(7):542. https://doi.org/10.3390/en9070542

Chicago/Turabian Style

Rasheed, Muhammad Babar, Nadeem Javaid, Muhammad Awais, Zahoor Ali Khan, Umar Qasim, Nabil Alrajeh, Zafar Iqbal, and Qaisar Javaid. 2016. "Real Time Information Based Energy Management Using Customer Preferences and Dynamic Pricing in Smart Homes" Energies 9, no. 7: 542. https://doi.org/10.3390/en9070542

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop