Next Article in Journal
A Novel Modular Radiation Hardening Approach Applied to a Synchronous Buck Converter
Next Article in Special Issue
Optimal Home Energy Demand Management Based Multi-Criteria Decision Making Methods
Previous Article in Journal
An Efficient Hardware Accelerator for the MUSIC Algorithm
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Two-Stage Energy Management of Multi-Smart Homes With Distributed Generation and Storage

1
Department of Electrical and Electronics Engineering, Karadeniz Technical University (KTU), 61080 Trabzon, Turkey
2
Department of Computer Engineering, Karadeniz Technical University (KTU), 61080 Trabzon, Turkey
*
Author to whom correspondence should be addressed.
Electronics 2019, 8(5), 512; https://doi.org/10.3390/electronics8050512
Submission received: 25 March 2019 / Revised: 4 May 2019 / Accepted: 5 May 2019 / Published: 8 May 2019
(This article belongs to the Special Issue New Technologies for Smart Distribution Grid)

Abstract

:
This study presents a new two-stage hybrid optimization algorithm for scheduling the power consumption of households that have distributed energy generation and storage. In the first stage, non-identical home energy management systems (HEMSs) are modeled. HEMS may contain distributed generation systems (DGS) such as PV and wind turbines, distributed storage systems (DSS) such as electric vehicle (EV), and batteries. HEMS organizes the controllable appliances considering user preferences, amount of energy generated/stored and electricity price. A group of optimum consumption schedules for each HEMS is calculated by a Genetic Algorithm (GA). In the second stage, a neighborhood energy management system (NEMS) is established based on Bayesian Game (BG). In this game, HEMSs are players and their pre-determined optimal schedules are their actions. NEMS regulates the total power fluctuations by allowing the energy transfer among households. In the proposed algorithm, HEMS decreases the electricity cost of the users, while NEMS flats the load curve of the neighborhood to prevent overloading of the distribution transformer. The proposed HEMS and NEMS models are implemented from scratch. A survey of 250 participants was conducted to determine user habits. The results of the survey and the proposed system were compared. In conclusion, the proposed hybrid energy management system saves power by up to 25% and decreases cost by 8.7% on average.

1. Introduction

1.1. Motivation and Background

With the advancement of technology, increase in consumer comfort level and widespread use of electric vehicles cause more electricity consuming products to be introduced into our daily lives. As electrical loads in the existing power grid increase, the demand and supply gaps widen. Increasing the electrical generation capacity alone does not reduce this gap due to power loss in inadequate transmission and distribution infrastructures. Smart grids which integrated with distributed production and storage systems, information technologies and advanced control algorithms, can overcome this problem [1]. Energy efficiency in smart grids is achieved by managing demand side, distributed generation and storage systems [2,3,4]. In this context, Demand Response (DR) programs have been encouraged to enable customers to utilize the existing energy more efficiently and reduce the cost. DR strategy provides adjusting the electricity usage pattern of users by interacting between the power supply company and customers [5]. To flatten demand fluctuations, the price-based DR is preferred and the incentive-based DR is opted to reduce peak demand and encourage consumers to lower their electricity bills [6,7,8].
Today, a noteworthy amount of the total energy generated is consumed in household appliances. It is possible to supply these demands by utilizing existing energy efficiently. In this context, HEMS has been developed to control household appliances, manage distributed production and storage systems, monitor energy usage, and reduce electricity costs [9]. In Figure 1, energy management system coordinates power and data transfer among smart homes in the neighborhood. HEMS receives information by communicating with devices and utilities and tries to mitigate electric consumption by scheduling the devices [10]. The scheduling problem of HEMS is solved by effective and intelligent algorithms [11,12]. EVs inject power to the grid during discharge, while drawing energy from the grid during charging. Thanks to their large capacity, they improve flexibility of power system [13,14,15]. The bidirectional feature of EV charger offers flexibility to HEMS to make more functional choices [16,17].
Surplus energy generated from renewable sources in smart homes is stored in batteries or sold to the power grid [5]. The dynamic pricing structure regulates exchanging energy between users and the power grid. Thus, the consumers may get profit by selling their surplus energy or by purchasing energy when needed. Other than the renewable energy sources, both heat and power needs can be met by using m-CHP in consumption places. M-CHP can be utilized alone or with hybrid enery storage systems [18]. However, in this study, m-CHP was not preferred because fossil-fueled resources were not expensive and environmentally friendly. Furthermore, when energy was supplied within the neighborhood, transmission and distribution losses reduce in the power grid. Observing the demands and supplies of each smart home, NEMS coordinates all assets in the distribution system from a center [19,20].

1.2. Related Works

Although HEMS studies started in the 1990s, it has been a popular topic since 2010. A large number of HEMS models has been proposed. Tsui and Chan [21] improved a versatile convex programmatic DR strategy for the optimal operation of appliances with a variable price signal. Pradhan et al. [22] developed an effective DR strategy for end user energy management considering user comfort level and dynamic pricing signals. Lee et al. [23] and Yang et al. [24] suggested a comprehensive price-based DR strategy to optimally regulate supply and demand via centralized or decentralized models. This DR focuses to determine the ideal schedule of generation, storage and consumption appliances. Hemmati and Saboori [25] proposed a HEMS model that includes the most appropriate solar, wind and battery systems to address energy fluctuations. Patel and Khosla [26] presented a model that reduces the electricity bills of users in DR programs by mitigating electricity energy usage in peak periods and shifting the peak load time to an off-peak time. Kuzlu et al. [27] explained a HEMS strategy that limits the peak power DR for smart homes including both electrical devices and EVs. Wu et al. [14] proposed a price-based DR strategy that reduces energy costs and shaves the peak demands by incorporating the EV charger in G2V, V2G and V2H modes. A real-time game algorithm was proposed to minimize customer’s electricity cost by alleviating peak demand [28]. Researchers also benefited from distributed generation and storage to transfer energy from one time span to another period, to schedule appliances. This allows to mitigate the peak-demand and to flatten the load curve as well. Hilshey et al. [29] presented a smart charging algorithm to reduce overloading of a transformer by analyzing distribution transformers during EV charging. Guo et al. [30] proposed a decentralized Lyapunov-based cost minimization method to coordinate the activities of smart homes in a neighborhood, to minimize electricity cost and to satisfy the transformer capacity limits. Erdinc et al. [31] tried to prevent the overloading of the distribution transformer by evaluating both the pricing and the peak power limiting DR. Gong et al. [32] studied innovative solutions for the practical utilization of the distribution system and the charging effects of EV on the distribution transformer.
Cabras et al. [33] presented a smart HEMS that allows automatic control the devices in smart homes whitin the same neighborhood. In order to save energy in the proposed model, not only the distribution systems but also renewable resources have been evaluated in the device’s task plan. Celik et al. [34] proposed an energy management algorithm based on incentive and price. In this algorithm, RES and ESS for households in a small-scale neighborhoods are considered. The aim of the proposed coordination method is to reduce the electricity costs of households by increasing the usage of renewable energy in the neighborhood and enabling electricity trade among smart homes. Nizami et al. [35] introduced an integrated approach to the HEMS for a residential area that reduces the demand peaks in the neighborhood and electricity bill of participating users. Joo and Choi [36] proposed a two-level-distributed HEMS algorithm. In the first stage, appliances are planned by taking into account the comfort level of consumers. In the second, for optimizing the electricity cost of a neighborhood, the energy trade between ESS and neighboring households is regulated.
There are many optimization approaches in order to manage HEMS and NEMS. One of them is Mixed-integer nonlinear programming. It schedules variable residential loads and renewable energy sources, optimizes energy consumption and minimizes the cost in buildings Erdinc et al. [31]. The game theory method was introduced by Mohsenian-Rad et al. [37] to specify an appropriate consumption schedule for users in a neighborhood. The PSO technique is utilized to extract optimum runtime for devices, taking into account user preferences, weather conditions and device priorities Wang et al. [38]. Ahmed et al. [39], introduced a new binary backtracking search algorithm based on real-time appliance scheduling. It helps to limit the user’s peak demand and to achieve energy savings according to the end user’s comfort constraints and priority.

1.3. Contributions

This paper presents innovative solutions for a single household as well as all homes in a neighborhood. In this study, both the energy cost of a household and the total power consumption in a neighborhood are equally important. With a decentralized energy consumption scheduling algorithm for each household, a certain number of optimizations is applied so that the household’s total cost becomes minimal. NEMS apply these optimization results in each household to a Bayesian game and which optimization result should be used for each household. In summary, our paper makes the following contributions:
  • The proposed model has two-stage hybrid energy management system.
  • The proposed approach aims to reduce the cost of energy in terms of households. Also, it supports the distribution system by shaving the total demand peak in all periods in the neighborhood.
  • A new indicator index has been suggested to reduce total demand peaks in the neighborhood by coordinating all assets.
  • While HEMS uses the GA optimization method to schedule apliances optimally, NEMS coordinates smart houses in the neighborhood by establishing a Bayesian Game.

1.4. Organization

The rest of the paper is organized as follows: the system model is presented in Section 2. The developed algorithms are expressed in Section 3. Section 4 presents tests and simulation results. Finally, the conclusions are discussed in Section 5.

2. System Model

2.1. Distributed Generation Systems (DGS)

Most of the energy generated from central power plants is generated from fossil fuels such as oil, coal and natural gas. Conventional energy resources are limited, expensive and when they are consumed, carbon emissions occur. In addition, transmission and distribution losses occur when the energy generated in these plants is transferred to consumers. To increase the use of renewable resources for the reasons mentioned above, governments offer incentives to energy producers and consumers. In this context, producers set up solar and wind farms to sell energy, while consumers build solar panels and wind turbines on the roofs of their homes to supply some or all of their energy needs.
The total energy generated from household resources is given in (1).
P h , t p r o = P h , t P V + P h , t w i n d , h , t
The energy generated from household resources is consumed momentarily or the surplus energy is stored to use when it is needed in standalone systems. The usage, storage and sales equality of the energy produced in the household are given in (2). On the other hand, in grid-connected systems, it is given in (3) that excessive energy is sold to the power grid or to other housesholds.
P h , t p r o = P h , t p r o , u t i + P h , t p r o , s , h , b a t , t
P h , t s = P h , t s , g r i d + P h , t s , n e i , h , t

2.2. Distributed Storage Systems (DSS)

ESS and EVs are used for energy storage in households. In periods of low electricity prices, energy generated from DGS or purchased from the grid is stored in the ESS. Then, stored energy is utilized instead of buying electricity when it is expensive. EVs are generally charged at times when the electricity price is cheap and demand is low. If the electricity price is expensive and the demand is high during the periods when EVs are at smart homes, the energy stored in their battery is transferred to households. The operational constraints of the DSS components are described in detail in (4)–(6) below.
P h , t b a t , u t i + P h , t b a t , s = P h , t b a t , d · η d h b a t , h , f o r b a t = 1 : t , b a t = 2 : t T h d , T h a
P h , t b a t , c r c h b a t · v h , t b a t , h , f o r b a t = 1 : t , b a t = 2 : t T h a , T h d
P h , t b a t , d r d h b a t . ( 1 v h , t b a t ) , h , b a t = 2 : t T h a , T h d
Although the battery groups are charged from the grid or the DGS, it is particularly desirable that ESS be charged from DGS. Since no energy will be generated from PV during periods when an EV is at home, it is inevitable that an EV is charged from the wind turbine or the grid.
The energy stored by the battery groups before charging and discharging must be known. Because the maximum and minimum capacity values that show the safe working area of each battery are defined, they are allowed to work between these values. The stored energy in the battery is expressed by Equations (7)–(10).
S O C h , t b a t = S O C h b a t , i n i , h , b a t = 1 : t , b a t = 2 : t = T h a
S O C h b a t , m i n S O C h , t b a t S O C h b a t , m a x , h , b a t = 2 : t T h a , T h d
S O C h , t b a t = S O C h b a t , i n i + η c h b a t · P h , t b a t , c · d t η d h b a t · P h , t b a t , d · d t h , b a t = 2 : t T h a , T h d
S O C h , t b a t = S O C h b a t , m a x , h , b a t = 2 : t = T h d
Energy storage is expensive. For this reason, the battery capacity should be chosen in the best way in HEMS. Instead of buying a high-capacity battery, HEMS can provide optimum performance with a battery of normal capacity.

2.3. Electrical Appliances

Electric appliances used at the household for daily needs of the consumers are called residential loads. These loads are: non-deferred and non-interruptible loads, deferrable and non-interruptible loads, deferrable and interruptible loads, and temperature-controlled loads. The operation of non-deferrable and non-interruptible loads cannot be shifted to another time and their operations cannot be interrupted until they have completed their task. The operation of deferrable and non-interruptible loads can be shifted over time, but after it has started operation, they have to complete their tasks with non-interruption. Deferred and interruptible loads can be started or stopped to operation when requested according to the consumer preference. Temperature controlled loads such as water heaters and air conditioners operate depending on ambient temperature and consumer comfort level. When, how long, and in which mode the devices are used depend on consumer preferences. The operating constraints of the device are expressed in (11)–(13).
P h , t m = p P h m , p · a h , t m , p
T h m , p = t a h , t m , p
T h m = t p a h , t m , p
The operation times of appliancec are defined in advance by the user. The power consumption of devices which have different operation phases or are controlled thermostatically vary throughout the run time. An appliance can operate in only one of its phases.

2.4. Objective Function

The purpose of this study is to develop an energy management strategy that diminish the total cost of electricity, flatten the load curve in a smart home and prevent overloading of the distribution transformer in the neighborhood of smart homes. To solve such a problem, a two-stage method is proposed. In the first stage, the operation times of the appliances in each smart home are scheduled by considering the electricity price, produced and stored energy, and consumer preferences. In the next stage, power consumption in all periods has been minimized, taking into account the possible electricity consumption schedules of smart homes. Both objective functions cover a period of one day, not an invoice period. The cost of electricity and power consumption are calculated according to the duration of use. Objective functions for smart homes and neighborhoods have been examined in detail.

2.4.1. Smart HEMS Strategy for Each Household

Smart homes consist of equipment such as a roof type solar panel, a roof type wind turbine, an EV and electrical appliances. The nominal power parameters of these equipments in each smart home can change according to consumer preferences. The day-ahead price signal is used for cost planning in the presented model. Of course, this is not the actual price of the next day, but it provides an indication about the expected prices. The day-ahead hourly-price signal for 24 h is received by smart homes with the smart-meter and is used by the optimization algotithm.
P h , t u t i = P h , t m + P h , t b a t , c
P h , t b + P h , t p r o + P h , t b a t , d = P h , t u t i + P h , t s
P h m e a n = 1 T t T P h , t u t i
F l a t = t P h , t u t i P h m e a n 2
C o s t = t ( P h , t b · d t · p r t b ) ( P h , t s · d t · p r t s )
In order to construct objective functions, the expression of the utilized and total power for a smart home h in unit period t are given in (14) and (15), respectively. The Formula (16) depicts the average power consumption for a smart home h. These constaints are auxiliary equations to simplify the flat objective Function (17). The Equation (18) is formed for cost optimization.

2.4.2. Smart NEMS Strategy for a Neighborhood

HEMS is responsible for making optimal control to minimize the energy cost of each smart home. Each HEMS presents a certain number of operation scheduling to consumer for this purpose. NEMS communicates with each HEMS to get their schedules and tries to minimize the power consumption of all smart homes at all t periods.
Time-varying day-ahead prices are sorted in descending order and the average of power consumptions is calculated at the same price periods. By starting from the average consumption of the greatest price period, the average of each price period is proportioned to the average of the next price period, and the sum of these ratios is defined as a new indicator. The power consumption difference between the price periods is reduced by minimizing defined indicator. In other words, the price transitions has softened to flatten the load curve of the smart home. NEMS are expressed in (19)–(21).
p r n p r n 1 p r 1
P p r n , θ i m e a n = t = 1 R t = p r n T P p r n , θ i , t u t i t = 1 x = 0 R t = p r n T x
i n d i ( θ i ) = P p r n , θ i m e a n P p r n 1 , θ i m e a n + P p r n 1 , θ i m e a n P p r n 2 , θ i m e a n + + P p r 2 , θ i m e a n P p r 1 , θ i m e a n

3. The Proposed Algorithms

3.1. Genetic Algorithm for HEMS

GA searches an optimal solution in the solution space for the objective function according to the defined constraints. In our project, we divided a day into 5 min intervals. Thus, each appliance is represented by 288 ( 24 × 12 ) bases. One individual is encoded m × 288 bases where m is the number of appliances in the home. The length of the chromosome is directly related to the number of appliances in the home. Once the population is created, the objective function is evaluated in terms of fitness. The fitness includes two objective functions that minimize the cost of the smart home and flatten the load curve. To derive a single objective function, balance coefficients are determined for cost and flatten functions. In (23), the fitness value is calculated by using the coefficients ( k 1 = 0.1 , k 2 = 2.7 ) keeping the cost function dominant.
F i t n e s s = t = 1 288 ( C o s t h , t · k 1 + F l a t h , t · k 2 )
We set the size of the population to 1000. For each generation, 10% of the indiviuals are selected based on the fitness function. In order to populate the next generation, we applied 0.5 % mutation and 5% crossover operations. Crossover refers to exchange controllable devices among the individuals. On the other hand, mutation helps to move the operation time of a single appliance in the selected cromosome. The GA method requires approximately 1 min to calculate a feasible solution. For each smart home, GA module computed five possible solutions. HEMS manages the devices in a smart home in a 24-hour period. The implemented genetic algorithm for the recommended HEMS models is given in Algorithm 1.
Algorithm 1 Genetic Algorithm for HEMS
  1:
procedure GA_HEMS()
  2:
g e n e r a t e ( P o p u l a t i o n 0 ) // initial population
  3:
e b e s t C O M P U T E ( 22 , P o p u l a t i o n 0 ) // Fitness function
  4:
for i ← 1..g do
  5:
  while op < Operation do
  6:
   for randomness in P o p u l a t i o n i 1 do
  7:
    select x,y P o p u l a t i o n i 1
  8:
     P o p u l a t i o n i P o p u l a t i o n i + c r o s s o v e r ( x , y )
  9:
    select z P o p u l a t i o n i 1
10:
     P o p u l a t i o n i P o p u l a t i o n i + m u t a t i o n ( z )
11:
   e n e w C O M P U T E ( 22 , P o p u l a t i o n i )
12:
  if e n e w < e b e s t then
13:
    e b e s t e n e w
14:
return e b e s t

3.2. Bayesian Game Theory for NEMS

All smart homes in the neighborhood that participated in NEMS are players in the established Bayesian game.
There are h players (smart homes) and each player has five actions (optimal solutions) in the Bayesian game. T i encodes the set of actions of the i t h player 5 = | T i | . In (23), the belief functions of the players vary according to their actions.
p ( Θ i ) = 1 5
In order to calculate the gain function u i ( Θ i , Θ i ) for player i, the indicator values of each player and the average indicator values of all the players must be computed separately. In Equation (24);
i n d a v e ( θ i , θ i ) = j = 1 5 P p r n , θ j m e a n j = 1 5 P p r n 1 , θ j m e a n + j = 1 5 P p r n 1 , θ j m e a n j = 1 5 P p r n 2 , θ j m e a n + + j = 1 5 P p r 2 , θ j m e a n j = 1 5 P p r 1 , θ j m e a n
Since the submodel solutions aim to minimize the gain, the general (24) and special (20) target functions are added with a negative coefficient, as shown in Equation (25).
u i ( Θ i , Θ i ) = ( i n d i ( Θ i ) + i n d a v e ( Θ i , Θ i ) )
In order to reach the solution of a Bayesian game model, the Bayesian Nash equilibrium needs to be extracted. This equilibrium is provided by determining an optimal strategy s ( s 1 , s 2 , , s h ) by incorporating the gain function expressed in (26). The belief function p is the core of the bayesian game theory. After computing the belief functions, the equilibrium equations are reevaluated.
s i a r g m a x Θ i p ( Θ i | Θ i ) · u i ( Θ i , Θ i ) ) a r g m a x Θ i [ p ( Θ i | Θ i ) · p ( Θ i ) p ( Θ i ) ] · u i ( Θ i , Θ i ) )
The players do not communicate with each other and they prefer any strategy independently. The NEMS knows the actions of each smart home and its gains. Thus, NEMS updates the beliefs of the other players according to the possible actions of each player. The Bayesian game Algorithm 2 is developed and implemented for our NEMS model.
Algorithm 2 Bayesian Game for NEMS
  1:
procedure BG_NEMS()
  2:
for i ← 1..h do
  3:
  for j ← 1..n do
  4:
    P m e a n ( p r j , Θ i ) COMPUTE (20)
  5:
   i n d i ( Θ i ) COMPUTE (21)
  6:
for i ← 1..h do
  7:
   i n d a v e ( Θ i , Θ i ) COMPUTE (24)
  8:
   u ( Θ i , Θ i ) ( i n d a v e ( Θ i , Θ i ) + i n d i ( Θ i ) )
  9:
for i ← 1..h do
10:
   s i a r g m a x Θ i [ p ( Θ i | p ( Θ i ) × p ( Θ i ) ) / p ( Θ i ) × u ( Θ i , Θ i ) ]

4. Tests and Results

4.1. Input Data

In our Bayesian game, there are five players, h = 5 and the time interval is 5 min as mentioned earlier. According to the preferences of consumers, nominal power and operation period for appliances in all smart homes are given in Table 1. Since the operation periods of HVACs vary depending on the ambient temperature, their operation periods are not indicated. Every home may not contain all appliances and each device may not be utilized daily.
Washing machine and dishwasher characterized as controllable loads, and they have different stages. As expressed in Table 2 there are eight and four stages for the a washing machine and the dishwasher, respectively.
The installed powers of the roof type PV and wind turbine in smart homes are given in Table 3. Home-1,2,4 and 5 include PVs, Home-3 and 4 include wind turbine and only Home-3 includes both of these production systems.
The EV and ESS parameters of the houses are given in Table 4. Since residents have different EV types, the battery capacity and the charger characteristics vary. For a real scenario, the arrival and departure times of EVs were set arbitrarily. On the other hand, the ESS parameters are selected according to the installed power of the distributed generation.
Due to the utilization of the electricity price in the objective function directly, the price is one of the most important parameters for the optimization model. The day-ahead price has a dynamic structure determined daily by the energy market. We incorporated this parameter in both HEMS and NEMS optimization phases. In this study, buying and selling prices in all periods are considered equal. The price signal is shown in Figure 2.

4.2. Simulation Results

In this study, a two-stage simulation was performed. The HEMSs are designed in the first phase. For each household, five possible outcomes were produced by GA. The possible solutions calculated separately for both the load curve (see Equation (16)) and the cost (see Equation (17)). These solutions are given in Table 5 clearly. When cost-based objective functions are examined, 1st program for home-1, 5th program for home-2, 2nd program for home-3, 3rd program for home-4, and 1st program for home-5 yields optimal energy consumption. On the other hand, when load curve flattening objective is considered, the programs 5, 4, 1, 4 and 4 provide optimal power consumption for homes-1,2,3,4 and 5 respectively.
In Table 5, two different objective functions for each optimization were merged to a single function by the Formula (21). According to the final objective function, GA has produced five schedules for each household and these plans are shown in Figure 3b–f.
The GA optimization results based on the combined objective function are seen in Figure 4. Optimal solutions according to these results have computed as 5th option for home-1, 3rd for home-2, 1st for home-3 and home-4, and 4th for home-5.
In order to compare the success of the developed model, a survey has been conducted by 250 participants. Each participant was asked to describe their habits regarding usage for devices. Appliances were scheculed in each houseshold based on the survey results. Then, our objective functions were applied to these outcomes. Table 6 depicts the average of objective function results for each smart home.
In the second stage of the proposed model, the Bayesian game was established to construct the NEMS where HEMSs are players in this game. Neighborhood indicators are target functions for NEMS. Indicator values have been calculated with Formula (20). As expressed in Table 7, the first column shows the indicator values based on the data in consumer survey. The other columns depict the indicators considering possible results generated by the GA.
When HEMSs are considered individually, optimal strategies become 5-3-1-1-4, respectively (see Figure 4). In the Bayesian game, the NEMS coordinates players (HEMSs) to minimize the fluctuation in total power. To do so, the NEMS allows power transfer among HEMSs as mentioned earlier. The NEMS performs a selection process using the gain function given by (25). The optimum selection results in the neighborhood are given in Table 8. Considering the overall gain, the strategies of the five players should be in the order of 1-3-2-3-4, respectively.
In Table 9, indicator values and costs calculated in the survey and Bayesian game were compared. Considering the average of indicators, it was found that the Bayesian game provided 25% efficiency on power. In terms of cost, it is proved that our model presents 8.7% more economical benefit.
The net power state of the neighborhood after optimum selection was shown in Figure 5. Due to the maximum energy generated from the PV from 10:00 a.m. to 1:00 p.m., many demands during these hours were supplied and ESSs were charged. The energy generated from PVs in home-1 and home-2 was sold to the grid. In addition, net power has been reduced by transferring excess energy from EVs to homes during peak demands. Although home-4 has not got any EV, it was saturated with transferring energy from EVs in the other homes. The power was sold to the grid at peak hours (7:20–7:50 p.m.). Besides, EVs are charged between 01:00 and 06:00 a.m. when the price is low.

5. Conclusions

In this study, a new two-stage hybrid energy management system was proposed and designed from scratch. In the first stage, a HEMS structure consisting of DGS, DSS, uncontrollable and controllable devices, was modeled using a GA. The goal of the HEMS was to minimize the total cost according to a dynamic pricing signal. In the second stage, a Bayesian game was established and a NEMS model was constructed that includes all HEMSs. The aim of the NEMS was to minimize total load fluctuation in the neighborhood by allowing power transfer among HEMSs. Then, these models were tested individually using realistic scenarios. The simulation results were thoroughly discussed. In conclusion, the proposed hybrid energy management system proved to be 25% efficient in terms of power and 8.7% efficient in terms of cost.

Author Contributions

Conceive and structure of the concept of this paper, E.I.T.; Resources, E.I.T. and I.S.; Supervision, H.I.O.; Writing-original draft, E.I.T.; Writing-review and editing, E.I.T. and I.S.

Acknowledgments

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclature

Parameters
η c h b a t Charging efficiency of battery n of smart home h
η d h b a t Discharging efficiency of battery n of smart home h
P h , t m , p h Power rate of appliance m of smart home h in period t (kW)
P h , t m Power of appliance m at smart home h in period t (kW)
P h m , p h Power rate at phase p h of appliance m of smart home h(kW)
r c h b a t Charging rate of battery n of smart home h (kW)
r d h b a t Discharging rate of battery n of smart home h (kW)
s * Optimal strategy vector in Bayesian Game
s i * Optimal strategy of player i in Bayesian Game
S O C h b a t , i n i Initial state-of-energy of battery b a t at smart home h (kWh)
S O C h b a t , m a x Maximum allowed state-of-energy of battery b a t at smart home h (kWh)
S O C h b a t , m i n Minimum allowed state-of-energy of battery b a t at smart home h (kWh)
T h a Arrival time of EV to smart home h
T h d Departure time of EV from smart home h
T h m , p h Duraion of phase p h of controllable appliance m of smart home h (5 min)
T h m Duraion of controllable appliance m of smart home h (5 min)
k 1 Cost function coefficient
k 2 Flat function coefficient
p r t b Buy price in period t
p r t s Sale price in period t
Sets
( Θ i ) Action in Bayesian Game
iPlayer index in Bayesian Game
mIndex (set) of controllable appliances
v h , t b a t Charge status of battery b a t of smart home h in period t
p h Phase of controllable appliance index
pBelief function in Bayesian Game
tTime period index
Variables
a h , t m , p h Operation stage p h of appliance m of smart home h in period t. a = 1 : a p p l i a n c e O N ; a = 0 : a p p l i a n c e O F F ;
b a t Energy storage index, n = 1 DSS, n = 2 EV
i n d a v e ( Θ i , Θ i ) Average indicator if the player i selects an action ( Θ i ) and other players choose any of their actions ( Θ i ) in Bayesian Game
i n d i ( Θ i ) Indicator index if the player i selects an action ( Θ i ) in Bayesian Game
P h , t b a t , b u y Power drawn from grid from battery b a t at smart home h in period t (kW)
P h , t b a t , d Discharging power of battery b a t of smart home h in period t (kW)
P h , t b a t , s a l e Power injected to grid from battery b a t at smart home h in period t (kW)
P h , t b a t , u t i Power utilized from battery b a t at smart home h in period t (kW)
P h , t b Power bought to neighborhooh in smart home h in period t (kW)
P h , t p r o , s Sold power which produced from DGS n at smart home h in period t (kW)
P h , t p r o , u t i Utilized partion of produced power from DGS n at smart home h in period t (kW)
P h , t p r o Total power produced from DGS n at smart home h in period t (kW)
P h , t P V Power genereted from PV in smart home h in period t (kW)
P h , t s , g r i d Power sold to grid in smart home h in period t (kW)
P h , t s , n e i Power sold to neighborhooh in smart home h in period t (kW)
P h , t s Power sold in smart home h in period t (kW)
P h , t u t i Power utilized in smart home h in period t (kW)
P h , t w i n d Power genereted fromWind in smart home h in period t (kW)
P h b a t , c Charging power of battery b a t of smart home h in period t (kW)
P h m e a n Power average in smart home h (kW)
P p r n , Θ i m e a n Power average at price p r n in action Θ i of player i (kW)
P p r n , Θ i m e a n Power average at price p r n in action Θ i of player i in Bayesian Game (kW)
P p r n , Θ j m e a n Power average at price p r n if player i select action Θ i and other players select any action Θ i in Bayesian Game (kW)
S O C h , t b a t State-of-energy of battery b a t at smart home h in period t (kWh)
T m Operation period of appliance m
u i ( Θ i , Θ i ) Gain function for player i in Bayesian Game
d t Tme interval

Abbreviations

HEMSHome Energy Management System
NEMSNeighborhood Energy Management System
BGBayesian Game
GAGenetic Algorithm
RESRenewable energy sources
DGSDistributed Generationd System
DSSDistributed Storage System
ESSEnergy Storage System
EVElectric Vehicle
DRDemand Response

References

  1. Fang, X.; Misra, S.; Xue, G.; Yang, D. Smart grid—The new and improved power grid: A survey. IEEE Commun. Surv. Tutor. 2012, 14, 944–980. [Google Scholar] [CrossRef]
  2. Palensky, P.; Dietrich, D. Demand side management: Demand response intelligent energy systems smart loads. IEEE Trans. Ind. Inform. 2012, 7, 381–388. [Google Scholar] [CrossRef]
  3. Alizadeh, M.; Li, X.; Wang, Z.; Scaglione, A.; Melton, R. Demand side management in the smart grid: Information processing for the power switch. IEEE Signal Process. Mag. 2012, 59, 55–67. [Google Scholar] [CrossRef]
  4. Esther, B.P.; Kumar, K.S. A survey on residential demand side management architecture approaches optimization models and methods. Renew. Sustain. Energy Rev. 2016, 59, 342–351. [Google Scholar] [CrossRef]
  5. Samad, T.; Koch, E.; Stluka, P. Automated Demand Response for Smart Buildings and Microgrids: The State of the Practice and Research Challenges. Proc. IEEE 2016, 104, 726–744. [Google Scholar] [CrossRef]
  6. Oh, E.; Kwon, Y.; Son, S.Y. A new method for cost-effective demand response strategy for apartment-type factory buildings. Energy Build. 2017, 151, 275–282. [Google Scholar] [CrossRef]
  7. Siano, P.; Sarno, D. Assessing the benefits of residential demand response in a real time distribution energy market. Appl. Energy 2016, 161, 533–551. [Google Scholar] [CrossRef]
  8. Li, S.; Zhang, D.; Roget, A.B.; O’Neill, Z. Integrating home energy simulation and dynamic electricity price for demand response study. IEEE Trans. Smart Grid 2014, 5, 779–788. [Google Scholar] [CrossRef]
  9. Marzband, M.; Alavi, H.; Ghazimirsaeid, S.S.; Uppal, H.; Fernando, T. Optimal energy management system based on stochastic approach for a home microgrid with integrated responsive load demand and energy storage. Sustain. Cities Soc. 2017, 28, 256–264. [Google Scholar] [CrossRef]
  10. Wang, K.; Hu, X.; Li, H.; Li, P.; Zeng, D.; Guo, S. A Survey on Energy Internet Communications for Sustainability. IEEE Trans. Sustain. Comput. 2017, 2, 231–254. [Google Scholar] [CrossRef]
  11. Graditi, G.; Silvestre, M.L.D.; Gallea, R.; Sanseverino, E.R. Heuristic-based shiftable loads optimal management in smart micro-grids. Sustain. Cities Soc. 2015, 11, 271–280. [Google Scholar] [CrossRef]
  12. Vivekananthan, C.; Mishra, Y.; Li, F. Real-time price-based home energy management scheduler. IEEE Trans. Power Syst. 2015, 4, 2149–2159. [Google Scholar] [CrossRef]
  13. Yu, R.; Zhong, W.; Xie, S.; Yuen, C.; Gjessing, S.; Zhang, Y. Balancing Power Demand Through EV Mobility in Vehicle-to-Grid Mobile Energy Networks. IEEE Trans. Ind. Inform. 2016, 12, 79–90. [Google Scholar] [CrossRef]
  14. Wu, X.; Hu, X.; Yin, X.; Moura, S.J. Stochastic Optimal Energy Management of Smart Home with PEV Energy Storage. IEEE Trans. Smart Grid 2018, 9, 2065–2075. [Google Scholar] [CrossRef]
  15. Tushar, M.H.K.; Assi, C.; Maier, M.; Uddin, M.F. Smart microgrids: Optimal joint scheduling for electric vehicles and home appliances. IEEE Trans. Smart Grid 2014, 5, 239–250. [Google Scholar] [CrossRef]
  16. Liu, C.; Chau, K.T.; Wu, D.; Gao, S. Opportunities and challenges of vehicle-to-home vehicle-to-vehicle and vehicle-to-grid technologies. Proc. IEEE 2013, 5, 2409–2427. [Google Scholar] [CrossRef]
  17. Li, C.; Luo, F.; Chen, Y.; Xu, Z.; An, Y.; Li, X. Smart home energy management with vehicle-to-home technology. In Proceedings of the 2017 13th IEEE International Conference on Control and Automation (ICCA), Ohrid, Macedonia, 3–6 July 2017; pp. 136–142. [Google Scholar]
  18. Li, J.; Wang, X.; Zhang, Z.; Le Blond, S.; Yang, Q.; Zhang, M.; Yuan, W. Analysis of a new design of the hybrid energy storage system used in the residential m-CHP systems. Appl. Energy 2017, 5, 169–179. [Google Scholar] [CrossRef]
  19. Celik, B.; Roche, R.; Bouquain, D.; Miraoui, A. Coordinated energy management using agents in neighborhood areas with RES and storage. In Proceedings of the 2016 IEEE International Energy Conference (ENERGYCON), Leuven, Belgium, 4–8 April 2016; pp. 1–6. [Google Scholar]
  20. Walker, S.; Labeodan, T.; Maassen, W.; Zeiler, W. A review study of the current research on energy hub for energy positive neighborhoods. Energy Procedia 2017, 122, 239–250. [Google Scholar] [CrossRef]
  21. Tsui, K.M.; Chan, S.C. Demand Response Optimization for Smart Home Scheduling Under Real-Time Pricing. IEEE Trans. Smart Grid 2012, 3, 1812–1821. [Google Scholar] [CrossRef]
  22. Pradhan, V.; Balijepalli, V.S.K.M.; Khaparde, S.A. An Effective Model for Demand Response Management Systems of Residential Electricity Consumers. IEEE Syst. J. 2016, 10, 434–445. [Google Scholar] [CrossRef]
  23. Lee, J.I.; Choi, C.; Park, W.; Han, J.; Lee, I. A study on the use cases of the smart grid home energy management system. In Proceedings of the ICTC 2011, Seoul, Korea, 28–30 September 2011; pp. 746–750. [Google Scholar]
  24. Yang, H.; Zhang, J.; Qiu, J.; Zhang, S.; Lai, M.; Dong, Z.Y. A practical pricing approach to smart grid demand response based on load classification. IEEE Trans. Smart Grid 2018, 19, 179–190. [Google Scholar] [CrossRef]
  25. Hemmati, R.; Saboori, H. Stochastic optimal battery storage sizing and scheduling in home energy management systems equipped with solar photovoltaic panels. Energy Build. 2017, 152, 290–300. [Google Scholar] [CrossRef]
  26. Patel, K.; Khosla, A. Home energy management systems in future Smart Grid networks: A systematic review. In Proceedings of the 1st International Conference on Next Generation Computing Technologies (NGCT), Dehradun, India, 4–5 September 2015; pp. 479–483. [Google Scholar]
  27. Kuzlu, M.; Pipattanasomporn, M.; Rahman, S.İ. Hardware demonstration of a home energy management system for demand response applications. IEEE Trans. Smart Grid 2012, 3, 1704–1711. [Google Scholar] [CrossRef]
  28. Tushar, M.H.K.; Assi, C.; Maier, M. Distributed real-time electricity allocation mechanism for large residential microgrid. IEEE Trans. Smart Grid 2015, 3, 1353–1363. [Google Scholar] [CrossRef]
  29. Hilshey, A.; Hines, P.; Rezai, P.; Dowds, J. Estimating the impact of electric vehicle smart charging on distribution transformer aging. IEEE Trans. Smart Grid 2013, 4, 905–913. [Google Scholar] [CrossRef]
  30. Guo, Y.; Pan, M.; Fang, Y.; Khargonekar, P.P. Decentralized Coordination of Energy Utilization for Residential Households in the Smart Grid. IEEE Trans. Smart Grid 2013, 4, 1341–1350. [Google Scholar] [CrossRef]
  31. Erdinc, O.; Paterakis, N.G.; Mendes, T.D.P.; Bakirtzis, A.G.; Catalão, J.P.S. Smart Household Operation Considering Bi-Directional EV and ESS Utilization by Real-Time Pricing-Based DR. IEEE Trans. Smart Grid 2015, 6, 1281–1291. [Google Scholar] [CrossRef]
  32. Gong, Q.; Midlam-Mohler, S.; Marano, V.; Rizzoni, G. Study of PEV Charging on Residential Distribution Transformer Life. IEEE Trans. Smart Grid 2012, 3, 404–412. [Google Scholar] [CrossRef]
  33. Cabras, M.; Pilloni, V.; Atzori, L. A novel Smart Home Energy Management system: Cooperative neighbourhood and adaptive renewable energy usage. In Proceedings of the 2015 IEEE International Conference on Communications (ICC), London, UK, 8–12 June 2015; pp. 716–721. [Google Scholar]
  34. Celik, B.; Roche, R.; Bouquain, D.; Miraoui, A. Decentralized Neighborhood Energy Management with Coordinated Smart Home Energy Sharing. IEEE Trans. Smart Grid 2018, 9, 6387–6397. [Google Scholar] [CrossRef]
  35. Nizami, M.S.H.; Hossain, N.J.; Mahmud, K.; Ravishankar, J. Energy Cost Optimization and DER Scheduling for Unified Energy Management System of Residential Neighborhood. In Proceedings of the 2018 IEEE International Conference on Environment and Electrical Engineering and 2018 IEEE Industrial and Commercial Power Systems Europe (EEEIC/I and CPS Europe), Palermo, Italy, 12–15 June 2018; pp. 1–6. [Google Scholar]
  36. Joo, I.; Choi, D. Distributed Optimization Framework for Energy Management of Multiple Smart Homes With Distributed Energy Resources. IEEE Access 2017, 5, 15551–15560. [Google Scholar] [CrossRef]
  37. Mohsenian-Rad, A.; Wong, V.W.S.; Jatskevich, J.; Schober, R. Optimal and autonomous incentive-based energy consumption scheduling algorithm for smart grid. In Proceedings of the ISGT, Gothenburg, Sweden, 19–21 January 2010; pp. 1–6. [Google Scholar]
  38. Wang, Z.; Yang, R.; Wang, L. Multi-agent control system with intelligent optimization for smart and energy-efficient buildings. In Proceedings of the IECON 2010—36th Annual Conference on IEEE Industrial Electronics Society, Glendale, AZ, USA, 7–10 November 2010; pp. 1144–1149. [Google Scholar]
  39. Ahmed, M.S.; Mohamed, A.; Khatib, T.; Shareef, H.; Homod, R.Z.; Ali, J.A. Real time optimal schedule controller for home energy management system using new binary backtracking search algorithm. Energy Build. 2017, 138, 215–227. [Google Scholar] [CrossRef]
Figure 1. Energy management system architecture.
Figure 1. Energy management system architecture.
Electronics 08 00512 g001
Figure 2. Day ahead electricity price signal.
Figure 2. Day ahead electricity price signal.
Electronics 08 00512 g002
Figure 3. Possible energy optimizations in smart homes.
Figure 3. Possible energy optimizations in smart homes.
Electronics 08 00512 g003
Figure 4. GA optimization results.
Figure 4. GA optimization results.
Electronics 08 00512 g004
Figure 5. The net power state of the neighborhood.
Figure 5. The net power state of the neighborhood.
Electronics 08 00512 g005
Table 1. Appliances operation parameters.
Table 1. Appliances operation parameters.
ApplianceHome-1Home-2Home-3Home-4Home-5
PowerPeriodPowerPeriodPowerPeriodPowerPeriodPowerPeriod
C.Dryer--3.60163.60143.00123.3016
HVAC1.20-1.60-1.50-1.50-1.60-
Refrigerator0.102880.082880.092880.102880.09288
D.Freezer0.062880.062880.052880.062880.04288
Oven2.00141.60121.50101.50101.6023
Microwave1.5040.7050.7220.6050.705
Toaster2.2022.2032.0032.40-2.004
Vacuum.C2.00122.00162.00141.50162.4019
Hair.Dryer2.2051.8092.3081.8062.307
Straightener0.2030.0560.047--0.045
W.Heater2.00161.80172.70162.40193.3019
TV0.16830.12850.16880.121170.16124
PC.Phone0.12740.16620.21620.15580.1589
Lighting0.16890.18940.15960.15760.2090
Iron2.40132.70122.80102.30132.8011
Other0.122880.152880.182880.182880.16288
Table 2. Washing machine and Diswasher operation parameters.
Table 2. Washing machine and Diswasher operation parameters.
HomesParameterWashing Machine StatusDishwasher Status
WatWasRinSquWatWasRinSquWatWasRinDry
Home-1Period (m)1.03.03.02.01.03.03.02.02.08.08.06.0
Power (kW)0.62.00.41.20.62.00.41.22.08.08.06.0
Home-2Period (m)1.04.03.02.01.04.03.02.02.08.06.06.0
Power (kW)0.81.83.02.00.81.83.02.00.61.60.81.8
Home-3Period (m)1.05.02.02.01.05.02.02.02.09.05.05.0
Power (kW)0.51.20.31.80.51.20.31.80.51.20.81.5
Home-4Period (m)1.05.02.02.01.05.02.02.02.09.04.04.0
Power (kW)0.82.00.42.40.82.00.42.40.51.20.81.5
Home-5Period (m)1.04.03.02.01.04.03.02.02.08.06.06.0
Power (kW)0.82.00.61.80.82.00.61.81.02.20.82.4
Table 3. Distributed genenation system parameters.
Table 3. Distributed genenation system parameters.
Home-1Home-2Home-3Home-4Home-5
PV (kW)1.001.20-0.501.50
Wind (kW)--0.600.20-
Table 4. Distributed storage system parameters.
Table 4. Distributed storage system parameters.
Bat.ParameterHome-1Home-2Home-3Home-4Home-5
ESSSoC.max1.000.801.001.001.00
SoC.ini (kWh)0.200.200.200.200.20
SoC.min (kWh)0.200.200.200.200.20
CE0.950.900.900.950.95
DE0.950.900.900.950.95
CR (kW)0.200.200.200.200.20
DR (kW)0.200.200.200.200.20
EVSoC.max16.0015.0020.00-18.00
SoC.ini (kWh)11.5010.2014.20-9.20
SoC.min (kWh)4.003.755.00-4.50
CE0.900.900.88-0.90
DE0.900.950.85-0.87
CR (kW)3.002.753.50-3.20
DR (kW)3.002.753.50-3.20
Ta (h)7:007:307:50-7:20
Td (h)17:3018:0018:20-18:30
Table 5. Possible optimization results.
Table 5. Possible optimization results.
Smart HomesOptimization-1Optimization-2Optimization-3Optimization-4Optimization-5
CostFlatCostFlatCostFlatCostFlatCostFlat
Home-185.5901.89486.4901.89486.7571.81886.2571.84086.5991.815
Home-2109.6911.830109.3661.801109.4821.785111.6161.762109.3341.817
Home-3125.3642.011125.1762.025125.9392.058125.6932.049125.4762.052
Home-4111.4981.703111.4401.738111.4231.717111.7981.697111.9481.704
Home-5250.4882.496252.6552.416253.4882.350253.4882.346251.7762.430
Table 6. Consumer survey results.
Table 6. Consumer survey results.
HomesCostFlatObjective
Home-194.5612.12715.200
Home-2125.0072.33618.808
Home-3138.4512.59020.839
Home-4124.6462.23018.487
Home-5268.3333.16735.385
Table 7. Survey and indicator results for the smart homes.
Table 7. Survey and indicator results for the smart homes.
HomesSurveyind-1ind-2ind-3ind-4ind-5
Home-18.5238.1788.0707.8147.8857.922
Home-27.9495.9995.8445.8316.0755.893
Home-38.0546.3546.3406.3956.3116.501
Home-410.8647.1307.1967.0217.1537.162
Home-57.1736.2666.1076.1416.0956.193
Table 8. The Bayesian game results in the neighborhood.
Table 8. The Bayesian game results in the neighborhood.
Home-1Home-1Home-1Home-1Home-1
S1IIIIIIIIIV
IS2IIIIIIV
IIIIS3IIIIV
IIIIIIS4IV
IIIIIIIIIS5
Table 9. Comparison of survey and Bayesian Game results.
Table 9. Comparison of survey and Bayesian Game results.
Home-1Home-2Home-3Home-4Home-5Average
Survey indicator8.5237.9498.05410.8647.1738.513
BG indicator8.1785.8316.3407.0216.0956.377
Efficiency ( % ) 4.04626.64721.24635.37215.03725.092
Total
Survey Cost (Cent)94.561124.568138.467124.646268.333750.536
BG Cost (Cent)85.59085.590125.176111.424253.488685.161
Efficiency ( % ) 9.48712.1119.59910.6085.5328.711

Share and Cite

MDPI and ACS Style

Tezde, E.I.; Okumus, H.I.; Savran, I. Two-Stage Energy Management of Multi-Smart Homes With Distributed Generation and Storage. Electronics 2019, 8, 512. https://doi.org/10.3390/electronics8050512

AMA Style

Tezde EI, Okumus HI, Savran I. Two-Stage Energy Management of Multi-Smart Homes With Distributed Generation and Storage. Electronics. 2019; 8(5):512. https://doi.org/10.3390/electronics8050512

Chicago/Turabian Style

Tezde, Efe Isa, Halil Ibrahim Okumus, and Ibrahim Savran. 2019. "Two-Stage Energy Management of Multi-Smart Homes With Distributed Generation and Storage" Electronics 8, no. 5: 512. https://doi.org/10.3390/electronics8050512

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