DOI QR코드

DOI QR Code

Stochastic Gradient Descent Optimization Model for Demand Response in a Connected Microgrid

  • 투고 : 2021.08.08
  • 심사 : 2022.01.06
  • 발행 : 2022.01.31

초록

Smart power grid is a user friendly system that transforms the traditional electric grid to the one that operates in a co-operative and reliable manner. Demand Response (DR) is one of the important components of the smart grid. The DR programs enable the end user participation by which they can communicate with the electricity service provider and shape their daily energy consumption patterns and reduce their consumption costs. The increasing demands of electricity owing to growing population stresses the need for optimal usage of electricity and also to look out alternative and cheap renewable sources of electricity. The solar and wind energy are the promising sources of alternative energy at present because of renewable nature and low cost implementation. The proposed work models a smart home with renewable energy units. The random nature of the renewable sources like wind and solar energy brings an uncertainty to the model developed. A stochastic dual descent optimization method is used to bring optimality to the developed model. The proposed work is validated using the simulation results. From the results it is concluded that proposed work brings a balanced usage of the grid power and the renewable energy units. The work also optimizes the daily consumption pattern thereby reducing the consumption cost for the end users of electricity.

키워드

1. Introduction

The increase in energy consumption across the globe and environmental impact created by traditional power generation sources insists the need to move towards alternative renewable sources of energy. Smart grid enables a way for integration of green energy in to the traditional power grid. A micro grid is a small independent grid system which has a control capability and act as a major source of power supply of small residential units [1]. In grid connected mode of micro grid operation it attempts to purchase from or sell back the excess power to the macro grid. The power from main grid will be completely cut off in off grid mode. When the main utility grid is located at a larger distance the micro grid operates completely independent in an isolated mode.

There are numerous research works done on standalone micro grid operation. The isolated self-sufficient grid micro grid (where demand is less than the power generated at residential unit) with an active solar and wind energy generation units and a passive storage batteries has been discussed [2]. Since this is practically infeasible because of the intermittent nature of renewable energy sources and increase in load demand this work is not suited for applications which produces a preplanned constant load demand profile. The ever increasing demand for electricity with the growing population paved a way to research on alternative renewable energy sources (RESs) because of their environmental friendly nature and zero depletion rate. Smart power systems attempt to integrate the RESs in to the traditional power system to make it reliable and efficient. Micro grid has maximum efficiency in a grid connected mode where it can utilize the energy from the grid when needed and sell back the excess energy towards the grid. The method of shifting the demand to different time periods to achieve smooth energy demand is common approach in smart grid. The load shifting is achieved by formulating a demand response (DR) optimization problem which can be a linear programming (LP), dynamic programming (DP) or multi variable objective functions [3-5]. These formulations suffer from a disadvantage of inability to program the dynamic energy consumption patterns and there is a difficulty in incorporating different sets of home appliances. A different approach using stochastic and heuristic optimization techniques to minimize the consumption cost has also been discussed [6-11] in which the authors attempt to overcome the disadvantages of existing micro grid optimization approaches.

Besides incorporating various demand response approaches for energy savings, smart grid also gives an option to combine in home energy storage and energy generation units for saving grid energy. Since RESs are a better alternative to depleting energy sources, it is a major research area in smart grid and there are numerous research proposals which focus on integration of RESs in to smart grid in a cost efficient manner. The process of integrating RESs in to traditional power grid system induces many challenges at both ends. The dynamicity of climatic conditions causes an intermittent nature in RESs electricity generation and this variable nature causes voltage fluctuations in the power grid side. To overcome the variable nature of RESs, storage of generated energy and scheduling the in home demand can be a best option which is discussed in the literature [12-14].

The technical challenges in integrating the renewable sources in to traditional electric grid has been investigated in [15] which attempts to achieve the following objectives: (i) guaranteed utility grid reliability, (ii) usage cost minimization for consumers. The variable nature of RESs is a problem in achieving the smooth integration. There are several research works which discuss a variety of algorithms for achieving an efficient integration. An IREMS (intelligent residential energy management system) is proposed to optimally schedule shiftable loads and size RESs in [16]. The work uses genetic algorithm (GA) for optimization. Even though the work achieves cost savings, it does not provide any model to motivate consumers to sell the excess renewable power and achieve other related benefits. The research in [17] discussed some methods to smooth out the fluctuating nature of RESs. The first method is to use battery energy storage system (BESS) which makes RE smoother one. The other scheme is to incorporate coordination among RE generating customers. The results prove the energy efficient integration of RESs and minimize cost of energy sharing within the grid.

The work in [18] discusses methods to handle power quality problems created due to integration of RESs in to traditional power grid system. The work in [18] can be divided in to twofold: (i) analyzing the power quality problems due to integration RESs such as solar panel and wind turbine, and (ii) discusses various approaches to handle these challenges such as FACTS and VSM. Even then the work does not take in to consideration the appliances working schedule and a communication between various RESs. The energy management and load scheduling for a residential unit with the integration of RESs has been discussed in [19] in which stochastic optimization method is used to handle the intermittent nature of renewable energy source. Appliance scheduling to a desirable time slot along with battery storage is achieved by a real time scheduling algorithm. The efficiency of the proposed approach is determined by simulation studies. However, the appliance classification and co-operation between different RE consumers are not considered. Heuristic optimization model for home energy management system with RESs has been discussed in [20]. The optimization problem is formulated in the type of multiple knapsack problem. The optimization approach is effective in consumer cost savings, reduction of PAR and maintaining the user convenience. By reducing the PAR the proposed method increase the grid stability. However, the following issues are not addressed by the authors: (i) frequency of interruption of RESs, and (ii) smoothening of the demand curve. A price incentive based load scheduling method for residential units is proposed in [21]. The method adopts pricing scheme based on time of use (TOU) and the load scheduling is achieved using particle swarm optimization. This work optimally uses the RESs in order to increase the bill savings for consumers. The system does not model the user satisfaction and also does not address the issues in integration of renewable energy sources. The study of efficient integration of renewable energy sources specially PV panels has been discussed by the authors in [22-23]. These works concentrate on minimizing energy losses in large scale distribution systems during PV integration. They also give a frame work for determining an efficient PV module for integration using different machine learning and soft computing methods. However the authors does not address anything about load forecasting and appliance scheduling. A real time case study with novel integration of variable renewable energy units is studied by authors in [24]. The research put forth a production cost model for achieving DR in real test bed. The method is efficient since the authors have modelled a real time constraints for the DR optimization problem. The results are presented with reference to real time scenario. However an explicit modelling of DR optimization problem is missing in the work.

The research in [25] studies the demand response by using various heuristic and hybrid approaches like genetic algorithm, grey wolf optimizers etc. The authors have taken a single home scenario with two renewable energy generation units and one battery storage unit. A RTP scheme has been used with varying prices for every time slot. The authors have achieved an optimal PAR and cost reduction. However the user convenience has not been modelled and traditional disadvantages of heuristic algorithms like increased computational complexity remains the same. Hence for same scenario we attempt to study the possible mathematical models which has reduced complexity.

A detailed survey on possible mathematical models for demand response paradigms has been presented in [26]. The authors discusses a variety of mathematical optimizations methods for different scenarios of demand response which are listed as follows: i) Convex optimization for utility maximization problems, ii) Game theory models for enabling a healthy interaction between service provider and consumers, iii) Dynamic programming which gives an option for multistage optimization, iv) Stochastic programming by which uncertain scenarios can be modelled. Out of the above models listed dynamic programming suffers from a disadvantage of high memory utilization. The convex optimization methods imposes strict constraints on structure of optimization problem (functions must be strictly convex). Game theory can be used to model an economic behavior of group of consumers and individual consumer level modelling cannot be done efficiently. Since our proposed work aims to efficiently model the individual consumer demand response with an integrated RESs we choose stochastic programming as a best option for our DR model. So the proposed work uses a stochastic dual descent algorithm to study the DR of a connected micro grid.

Because of the intermittent nature of renewable sources and to introduce more flexibility in the demand the proposed approach uses stochastic optimization method. The proposed algorithm optimizes the consumption cost for residential users and their peak to average (PAR) ratio while providing an option for integrating RESs from the residential unit to the grid. The proposed system uses a flexible real time pricing (RTP) for calculating the consumer’s usage cost. The major contributions of the proposed work can be listed as follows:

• We use grid-connected micro grid and a residential unit with different sets of home appliances and two different types of renewable energy sources.

• A mathematical model for a micro grid has been derived.

• Stochastic online algorithm has been developed for consumption scheduling

• The simulations have been done to validate the results.

2. A mathematical model for proposed system

A mathematical formulation of a smart home integrated with renewable energy sources is modeled in this section. We take a single home scenario connected to a service provider and the user is equipped with smart meter which has ability to control and schedule the user loads. The intended time of working is divided into T equal length time slots, where 𝑇 ≜|𝑡| and t is the set of all time slots and it is 24 hours of the day. For any user A denote the set of appliances where 𝑎 ∈ 𝐴 and ‘a’ is any appliance in home. For all given set of appliances 𝑎 ∈ 𝐴, their energy consumption needs are defined as a vector 𝑋𝑎 ≜(𝑥1𝑎, …………. 𝑥T𝑎 ). In the defined energy consumption vector 𝑥t𝑎 gives the energy consumption of specified appliances a in the specified time slot t. An optimum and feasible selection of this scheduling vector is done by proposed scheduling algorithm

The feasible set of energy consumption scheduling is defined by some constraints in a residential unit. The constraints include desired operational slots, energy required for each appliance and so on. In our proposed work we define two constraints for scheduling which include desired start and end time of operation of appliance and the maximum and minimum energy required for operation. For each appliance let be the desired starting time and be the ending time of appliance operation. Thus for proper operation of appliance 𝑎 ∈ 𝐴 let 𝛼𝑎 ∈ 𝑡 be the desired starting time and 𝛽𝑎 ∈ 𝑡 be the ending time of appliance operation. Thus for proper operation of appliance we have 

\(\sum_{\alpha_{a}}^{\beta_{a}} x_{a}^{t}=E_{a}\)  (1)

and 

𝑥t𝑎 = 0, ∀ t ∈ T \ Ta   (2)

where 𝐸𝑎 is the energy needs of any appliance a and 𝑇𝑎 ≜ {𝛼𝑎 , ………… 𝛽𝑎 } } and we always have 𝛼𝑎 ≤ 𝛽𝑎. For each appliance 𝑎 ∈ 𝐴 , minimum and maximum power levels are defined as 𝛾𝑎min and 𝛾𝑎max respectively. Therefore we have

𝛾𝑎min ≤ xat≤ 𝛾𝑎max   (3)

Hence the feasible set of power consumption for any user is given as follows

\(X=\left\{\begin{array}{cr} x \mid \sum_{t=\alpha_{a}}^{\beta_{a}} x_{a}^{t}=E_{a}, & x_{a}^{t}=0, \forall t \in T \backslash T_{a} \\ \gamma_{a}^{\min } \leq x_{a}^{t} \leq \gamma_{a}^{\max }, \forall t \in T_{a}, \forall a \in A \end{array}\right\}\)  (4)

where 𝑋 = 𝑋1 × … … .× 𝑋𝑇 is the feasible set of consumption of a user for all time slots.

2. 1 Energy Cost Model

There are two basic constraints which influences the decision of the scheduling algorithm. The constraints are as follows (i) The complete set of user appliances and their desired working periods are known at the beginning of every time slot. (ii) The scheduling approach finds a set of shiftable appliances and attempts to shift the operation of those appliances to different time slot so as to reduce consumption cost. The shift operation is done in response to varying electricity prices.

As we know the energy consumption scheduling vectors for each time slots x1 × … … .× x𝑇 and the energy consumption needs for each appliance in each time slot, the optimization problem for minimizing the peak to average ratio can be formulated as follows: 

\(\operatorname{minimize}_{x \in X} \frac{t \max _{t \in T}\left(\sum_{a \in A} x_{a}^{t}\right)}{\sum_{a \in A} E_{a}}\)    (5)

In the equation (5) the value of t and the ∑𝑎∈𝐴 𝐸𝑎 are fixed for a time slot and independent of scheduling vector x hence the equation (5) can be reduced as follows:

\(\operatorname{minimize}_{x \in X} \max _{t \in T}\left(\sum_{a \in A} x_{a}^{t}\right)\)  (6)

The optimization problem in equation (6) is minimization problem with maximization term hence to make it as a complete minimization problem an auxiliary variable Ӷ is introduced. Hence the problem in equation (6) can be reformulated as follows:\(\begin{aligned} &\underset{\Gamma, x \in X}{\operatorname{minimize}} \Gamma \\ &\text { subject to } \Gamma \geq \sum_{a \in A} \quad x_{a}^{t} \quad \forall t \in T \end{aligned}\)  (7)

The solution to minimization of peak to average ratio (PAR) indirectly benefits the customers with the cost minimization. In this approach we consider real time pricing (RTP) were the prices of electricity tend to change for all the time slots. By equation (4) we can formulate the energy consumption of all the appliances in a given time slot lt as:

\(l_{t}=\sum_{a \in A} x_{a}^{t}\)  (8)

A quadratic cost model is obtained with three different cost coefficients to reflect the increasing cost for every rime slot [27-28]. If a consumer consumes 𝑙𝑡 units of electricity in any given time period 𝑡 then the usage cost is denoted by 𝐶𝑡(𝑙𝑡). The quadratic cost equation is given as follows:

𝐶𝑡(𝑙𝑡) = 𝐶𝑡𝑙2𝑡 + 𝐶𝑡𝑙𝑡 + 𝐶𝑡3    (9)

In the above equation (9) 𝑐𝑐1 𝑡𝑡 , 𝑐𝑐2 𝑡𝑡 , 𝑐𝑐3 𝑡𝑡 represents the cost coefficients which vary for different time periods. These values are set by service provider based on their historic demand profiles. Hence the objective function to minimize consumption cost can be given as follows

\(\operatorname{minimize}_{x \in X} \sum_{t \in T} C_{t}\left(l_{t}\right)\)  (10)

From equation (8) the minimization problem in equation (10) can be reformulated as follows:

\(\underset{x \in X}{\operatorname{minimize}} \sum_{t \in T} C_{t}\left(\sum_{a \in A} x_{a}^{t}\right)\)   (11)

From the equation (8) the total energy consumption of a user 𝐸𝐸𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 can be defined as follows:

\(E_{\text {total }}=\sum_{t \in T} \sum_{a \in A} x_{a}^{t}\)  (12)

2. 2 Waiting Time Minimization

In the proposed scheme, the user convenience is considered as important as the minimization of consumption cost. In general the consumers need their demand to be satisfied as soon as possible. The consumers will express minimum interest for waiting. The level of user satisfaction can be described as an inverse of waiting time. Here we model the waiting of any appliance 𝑎 ∈ 𝐴 in any given slot using a waiting parameter 𝜌𝑡𝑎 . The waiting time can be calculated only if desired time of operation of any appliance ‘a’ is known. Hence at the beginning of every operating period when consumer submits their energy needs we also request the desired operating time periods [𝛼𝑎 , 𝛽𝑎] for all appliances. Now the waiting parameter can be modelled as follows:

𝜌𝑡𝑎 = 0, ∀ 𝑡 < 𝛼𝑎 amd t > 𝛽𝑎  (13)

and

𝜌𝑡𝑎  = (δa)t-𝛼𝑎 ∀ 𝛼 ∈ [𝛼𝑎, 𝛽𝑎]   (14)

bwhere 𝛿𝑎 ≥ 1 is a delay parameter. When the value of 𝛿𝑎 is maximum then there will be a prolonged waiting time for an appliance to complete its operation.

Now the objective of energy consumption scheduling optimization problem can be defined as the cost minimization problem with a minimum wait time for all appliances. Thus the optimization problem is defined as given below:

\( \begin{gathered} \underset{x \in X}{\operatorname{minimize}}\left(\omega \sum_{t \in T} C_{t}\left(\sum_{a \in A} x_{a}^{t}\right)\right)+\left((1-\omega) \sum_{t \in T} \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right. \\ l_{t} \leq \gamma_{\max }^{t} \end{gathered} subject to\)  (15)

A wait factor 𝜔 has been introduced to the objective function in equation (15) and 𝛾𝑡max is the maximum power need for a consumer at time slot t. The importance of the objective functions is determined by the wait factor and 0 ≤ 𝜔 ≤ 1.

2. 3 PV Generation

The residential unit is fitted with a solar panel since solar energy is less costly and abundantly available energy source compared to other forms of renewable energy sources like bio gas, bio mass etc.. Our planet earth has an exposure to maximum percentage of solar radiation. Although the radiation may vary across the globe India has a nominal insulation levels in the range of 150-300 W/m2. From the stated references [29-31] the power generated from the solar unit is defined as follows:\(E_{P V}=E_{N}+\left(\frac{G}{G_{\text {ref }}}\right) \times\left[1+K_{T}\left(T_{C}-T_{r e f}\right)\right]\)  (16)

The total energy generated by solar unit is given as 𝐸PV. The power generated by PV panel depends on many factors as constituted in equation (17). The solar irradiation at ideal conditions is given by 𝐺ref = 1000 𝑊/𝑚2. There is always in variation in irradiation and the radiation at given moment is described as by G (𝑊/𝑚2). The other factors includes 𝐾𝑇 the temperature coefficient ( 𝐾𝑇 = −3.7 × 10−3(1/0𝐶)) and the cell temperature𝑇𝑐. The present cell temperature can be calculated as in the equation (17).

\(T_{c}=T_{a m b}+(0.0256 \times G)\)   (17)

where the ambient PV cell temperature is given by Tamb. The ambient temperature varies anywhere between 160 C to 260C and maintaining an average of 20 0C.

2. 4 Wind Generation

In countries like India wind is an easily available source of renewable energy. The energy generated from the wind turbines can be given by the following equation (18) [32].

\(E_{\text {rated }}=0.5 A_{r s} \sigma V^{3} P_{\text {coff }}\)   (18)

where is Ars the blade area expressed in m2 , in kg/m2 is the air density, V in m/s is the average wind speed and the power coefficient is expressed as (maximum value is 0. 59). The generated power from wind turbine is directly proportional wind speed and is determined as in by equation (20) as in [33].

\(E_{w p}=\left\{\begin{array}{cr} 0, & v \leq v_{\text {cut-in }}, v \geq v_{\text {cut-out }} \\ \frac{\left(v-v_{\text {cut-in }}\right)}{\left(v_{\text {rated }}-v_{\text {cut-in }}\right)} E_{\text {rated }}, & v_{\text {cut-in }} \leq v \leq v_{\text {rated }} \\ E_{\text {rated }}, & v_{\text {rated }} \leq v \leq v_{\text {cut-out }} \end{array}\right.\)   (19)

where 𝑣rated, 𝑣cut-in, 𝑣cut-out are the wind speed rated, and cut-out and cut –in wind speed

2. 5 Formulation of Scheduling Objective Function

The reduced energy consumption cost with minimized waiting time is the basic objective of the proposed work. We considered a single residential unit and it is consuming electricity from the commercial electric utility grid and self-owned renewable energy units. Let Etgrid be the power available from the grid for any time slot t. From equation (8) lt is the total energy consumption of residential unit in any time slot t. EtPV, EtWP are the power from PV generation and wind turbines respectively for any time slot t. The total energy consumed by a home for any time slot is explained in equation (20)

\(l_{t}-\left(E_{P V}^{t}+E_{w p}^{t}\right)\) (20)

The optimization function must minimize the consumption cost with optimal waiting time for schedulable loads. Let Cpvt and Cwpt be the cost of PV generation and wind power at time t respectively. The objective function for cost minimization for a home with small renewable energy generation can be given as follows:

\(\begin{aligned} \operatorname{minimize}_{x \in X}\left(\left(\left(\omega \sum_{t \in T} C_{t}\right.\right.\right.&\left.\left(\sum_{a \in A} x_{a}^{t}\right)\right)+\\ (&\left.\left.(1-\omega) \sum_{t \in T} \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right)\right)-\\ &\left.\left(\sum_{t \in T}\left(\left(E_{P V}^{t} \times C_{t}^{P V}\right)+\left(E_{W P}^{t} \times C_{t}^{W P}\right)\right)\right)\right) \end{aligned}\)

Subject to

\(l_{t} \leq E_{\text {grid }}^{t}+E_{P V}^{t}+E_{W P}^{t}\)  (21)

In equation (21) to have a balance between the energy demand and supply the constraint is introduced. The proposed optimization problem is in deterministic in nature and it is solved using stochastic dual descent method.

2. 6 Stochastic Optimization with Dual Descent

Let X denote all the scheduled energy consumption vectors xta for all 𝑎∈𝐴, 𝑡∈𝑇. The minimization problem in equation (21), is associated with the dual variables 𝜆𝑡 then the lagrangian for the optimization problem can be written as

\(\begin{aligned} L(X, \lambda)=&\left(\left(\omega \sum_{t \in T} C_{t}\left(\sum_{a \in A} x_{a}^{t}\right)\right)+\right.\\ &\left.\left((1-\omega) \sum_{t \in T} \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right)\right)-\\ &\left.\left(\sum_{t \in T} \lambda_{t}\left(\left(E_{P V}^{t} \times C_{t}^{P V}\right)+\left(E_{W P}^{t} \times C_{t}^{W P}\right)\right)\right)\right) \end{aligned}\)   (22)

where 𝜆 collects the variables {𝜆𝑡𝑡∈𝑇}. The dual function can be written as

\(D(\lambda)=\min _{x \in X} L(X, \lambda)=\sum_{t=1}^{T} D^{t}(\lambda)\)   (23)

Where X collects the sets 𝑥𝑎𝑡 for all 𝑡 ∈ 𝑇 and 𝑎 ∈ 𝐴. Now

\(\begin{aligned} D^{t}(\lambda)=& \min _{x_{a}^{t} \in X_{a}^{t}}\left(\omega\left(\sum_{a \in A} \mu_{t \times} x_{a}^{t}\right)+\right.\\ &\left((1-\omega) \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right)-\\ & \lambda_{t}\left(\left(E_{P V}^{t} \times C_{t}^{P V}\right)+\quad\left(E_{W P}^{t} \times C_{t}^{W P}\right)\right) \end{aligned}\)   (24)

The final dual problem is formulated as follows:

\(D=\min _{\lambda>0} \sum_{t=1}^{T} D^{t}(\lambda)\)    (25)

The solutions for primal and dual optimal problems be denoted as xt*a and 𝜆 respectively. The traditional sub gradient algorithm has the following iterations, which starts at an arbitrary 𝜆𝑡 and for all 𝑡 ∈ 𝑇.

\(\begin{aligned} {\left[\hat{x}_{a}^{t}\right]_{t=1}^{T}:=\arg } &\left.\left.\max _{x_{a}^{t} \in X_{a}^{t}}\left[\sum_{t \in T} C_{t}\left(\sum_{a \in A} x_{a}^{t}\right)\right)\right)+\left((1-\omega) \sum_{t \in T} \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right)\right) \\ &\left.-\left[\lambda_{t}\left(\sum_{t \in T}\left(E_{P V}^{t} \times C_{t}^{P V}\right)+\left(E_{W P}^{t} \times C_{t}^{W P}\right)\right)\right]\right] \end{aligned}\)  (26)

\(\lambda_{t+1}=\lambda_{t}+\epsilon \sum_{t=1}^{T}\left(\hat{x}_{a}^{t}-x_{a}^{t}\right)\)   (27)

where 𝜖 > 0 is the step size parameter or learning parameter. From the above set of equations we can derive iterates for dual descent algorithm as follows:

\(\begin{gathered} \hat{x}_{a}^{t}=\arg \max _{x_{a}^{t} \in X_{a}^{t}}\left(\omega\left(\sum_{a \in A} \mu_{t \times} x_{a}^{t}\right)+(1-\omega) \sum_{a \in A}\left(\delta_{a}\right)^{t-\alpha_{a}}\right)- \\ \left(\lambda_{t-1}\left(\left(E_{P V}^{t} \times C_{t}^{P V}\right)+\left(E_{W P}^{t} \times C_{t}^{W P}\right)\right)\right) \end{gathered}\)  (28)

\(\lambda_{t}=\lambda_{t-1}-\epsilon\left[\hat{x}_{a}^{t}-x_{a}^{t}\right]\)   (29)

\(\lambda_{0}=\lambda_{T}\)   (30)

The important characteristic feature of the online consumption scheduling algorithm is that its dual variable 𝜆d gets incremental update over a total a total of T time slots. The incremental update rule allows us to calculate the stochastic sub gradient of 𝐷𝑡(𝜆) using the realizations of {𝑥ta , 𝐶𝑡} at any given time slot t. Since the primal iterates ^xta are readily available at each time slot, it is used in the scheduling as in dual descent method. The complete algorithm for online energy consumption scheduling is given as Algorithm 1

Algorithm 1: Online Usage Energy Consumption Scheduling

1: Initialize 𝜆0 for all 𝑥𝑡𝑎 ∈ 𝑥𝑡𝑎,

2: for 𝑡 = 1 to 𝑇

3: Input 𝑥𝑡𝑎 , 𝐶𝑡, 𝐸𝑡PV ,CPVt , 𝐸𝑡WP , CWPt

4: Calculate ^xta from equation(28) and load scheduling is done accordingly.

5: Update dual variables 𝜆𝑡 using equation (29)

6: end

7: t:=t+1.

3. Results and Discussions

The proposed approach has been validated using Matlab simulations. The toolboxes of Matlab gives a flexible environment for mathematical modelling and simulation [34]. We need a set of appliances their desirable operating periods their energy needs and price of electricity for every time block to proceed with the simulation. Table 1. lists the set of appliances selected for simulation.

Table 1. Appliance profile of residential unit

E1KOBZ_2022_v16n1_97_t0001.png 이미지

We attempt to depict a typical moderate Indian household for simulation. Hence we follow the guidelines presented by Indian service provider [35] for selecting appliances and their needs for the purpose of simulation. The appliances listed in Table I are identical to our previous research [36]. We assumed that the customer has minimum of 10 appliances. There are three categories of consumer appliances as listed as follows : i) Non-shiftable loads, these are appliances whose demand must be satisfied immediately. ii) Shiftable loads, these are appliances whose demands can be scheduled to low price slots. There is a waiting time for demand satisfaction but which can be compromised by reduction in consumer cost. iii) Must run loads, these are appliances which must be in a ready to run condition at any time. To satisfy these appliances there is always a guaranteed minimum power flow from the grid to the residential unit at all times. As discussed in Section II at the beginning of every time period the energy consumption scheduling vector of all the appliances are known. The coefficients of quadratic cost function are determined as follows: ct2 = ct3 =0. ∀t ∈ T and ct1 = 1.5 rupees at peak time (8:00am to 12:00 pm and 6:00pm to 12:00pm) and ct= 1.0 rupees during the night and the day after(12:00pm to 8:00am and 12:00 pm to 6:00pm𝑡𝑡 )[37].

The smart home management system in the residential unit has the ability to schedule and update the appliance loads for every time slot. The consumer has two options for energy consumption one from the utility grid and other from the owned renewable units. In the proposed model we have two readily available cost efficient renewable sources wind and solar power. The capacity of the installed RESs at home is listed in Table 2.

Table 2. Power rating of renewable energy units

E1KOBZ_2022_v16n1_97_t0002.png 이미지

3. 1 Installed Wind and Solar Energy Statistics

The Fig. 1. gives the energy generation scenario of installed wind turbines. As it is said already the wind speed has a direct effect on wind energy generation when the speed of the wind is maximum in the range of 15m/s at time slots 11-20 there is a maximum power generation up to 3.5 kWh with the peak attained at time slot 12. The minimum power generated is 0.5 kW and it is recorded at two different intervals one is at 1-6 and other is at 21-24.

E1KOBZ_2022_v16n1_97_f0001.png 이미지

Fig. 1. Power generation from wind turbine

E1KOBZ_2022_v16n1_97_f0002.png 이미지

Fig. 2. Power generation from PV panel

The solar energy statistics is depicted in the Fig. 2. The solar energy is expected only at day time slots because the solar energy generation has a direct relation with the temperature and solar radiation. So the possible time slots for energy generation is between 5-18 hours and thus contributing only 13 active hours of generation. In this duration we can expect a maximum generation at peak day time hours that is normally 4-5 hours. The generation pattern can be well understood from the Fig. 2. When the temperature drops below 20 0C the solar power generation will be ideally zero.

3. 2 House hold Energy Usage Statistics

The energy usage statistics of different appliances in each slot is discussed here. There is an arbitrary threshold determined for limiting maximum energy consumption. The determined thresholds are listed as follows with the availability to be 15 kW (i) the high peak is 12–14 kW (ii) the average is 5–8 kW (iii) the minimum to be 3–5 kW and (iv) ignorable is 1–2 kW. The energy consumption scenario can be discussed in three folds one is without scheduling, second is with scheduling load and the final to be scheduled with RESs as given in Fig. 3. The proposed system simulates a scenario of 66% percent energy usage from utility grid and the remained 34% can be consumed from owned RESs. The Fig. 3. indicates that during the peak cost period of 6-9 hours the maximum hourly load of 4. 88kW is attained in a unscheduled normal house hold scenario and during off peak hours of 13-16 a minimal load of 1.8kW is indicated. The peak to average ratio (PAR) is calculated as 1.7 for an unscheduled house hold.

The scheduled house hold energy consumption for a single home without RESs integration can also compared from Fig. 3. From the graph series it can be seen that loads are distributed and it is prevented from load attaining maximum during peak hours. After Scheduling the PAR reduces to1.45 (14% less). From the Fig. 3. we can also see the energy consumption profile of a residential unit from the grid after renewable energy integration. The graph series depicts that almost 34% of daily consumption from grid is satisfied by renewable energy units. The peak power demand is 3. 13 kWh during 4 hours which is an off peak hour. We can see that PAR has value of 1.3 (24 % less) which is less than scheduled energy consumption.

E1KOBZ_2022_v16n1_97_f0003.png 이미지

Fig. 3. Energy consumption from the grid.

3. 3 Consumption Cost Statistics

The cost reduction achieved by the proposed scheduling algorithms will be discussed here. As discussed in consumption scenario the associated cost has three different dimensions one is actual cost without scheduling, the second is scheduled cost and the third is scheduled cost with RESs integration as shown in Fig. 4.

The actual cost without scheduling is high at intervals 8-10 and is minimum at two different intervals 15-17 and 1-4. The daily energy consumption cost for an unscheduled load is around 290 rupees per day. The cost of scheduled load during time slots 6-9 and 19-21 is at its peak and at the intervals 2–3, 15–16 and 23–24 is low. The cost of daily consumption of scheduled load is around 270 rupees per day. The cost is further reduced by RESs, integration and its curve is very smooth, as shown in Fig. 4. Since the demand during peak hours is satisfied by RESs the cost is reduced by nearly 70% which is 83 rupees per day.

E1KOBZ_2022_v16n1_97_f0004.png 이미지

Fig. 4. Daily consumption cost

3. 4 Energy Consumption and Cost Statistics for N=3 consumers

E1KOBZ_2022_v16n1_97_f0005.png 이미지

Fig. 5. Energy consumption from the grid (N= 3 consumers)

In this section we attempt to study the efficiency of the proposed work for increased number of consumers. We have simulated a scenario for three consumers not necessarily with an identical set of appliances but near equal demands. The aggregated consumption profile of three consumers for a day is depicted in Fig. 5. From the figure we can see that PAR of unscheduled average load is 2.06 which drops to 1.45 (29.6 % less) with a scheduled load which is very close to single consumer scenario. This indicates that algorithm goes for a fair share scheduling even with increased number of consumers. The PAR of scheduled aggregated load with RESs integration further drops to 1.19 which is 42.2% less than the unscheduled load.

The average cost curve for three consumers for a month is shown in Fig. 6. It is clear from the figure that compared to the unscheduled curve the scheduled cost drops by about 6.8%. This is further reduced by 71.3% by integrating RESs.

E1KOBZ_2022_v16n1_97_f0006.png 이미지

Fig. 6. Monthly average consumption cost (N=3 consumers)

3. 5 Comparative analysis

In general there is an extensive amount research articles which discuss the use of soft computing algorithms for optimization of micro grids. The base for the proposed work is drawn from the literature [25] which studies the demand response in a connected micro grid using a group of soft computing algorithms. The idea of using mathematical algorithms for demand response modelling has been decided as a best alternative after analyzing the disadvantages of traditional soft computing algorithms like genetic algorithm, swarm optimization etc. The drawbacks of these algorithms can be discussed in two folds. First the increased number of iterations which is fixed as 50 for every schedule in [25] and the number of iterations tend to increase with increase in population size. In our model the number of iterations are dynamic and the iteration necessarily stops when the learning parameter approaches zero. The number iterations by simulation is 450 for the entire 24 hours duration by which we can conclude that there is approximately 18 iterations needed to determine schedule for every time slot which is much less when compared to fixed iteration numbers. Moreover in our proposed stochastic descent we go for a random sampling of the input to compute the sub gradient Dt(𝜆)by which we update the consumption schedule ^xta. By the simulation we have seen that computation cost of each iteration necessarily drops from O(n) to O(1) which is a constant.

Secondly the soft computing methodologies do not have explicit learning strategies which makes them to conclude at local optima rather than reaching the global optimum value in most of the cases which can be proved by numerical results. We compared the simulation results for our proposed model and the set of soft computing algorithms discussed in [25] for the same scenario. It can be seen that both the works achieve 66% of consumption from grid and 34% of consumption from integrated RESs. The maximum cost reduction achieved for daily consumption by using soft computing algorithms is 44% and which is nearly 70% for our proposed work. The literature does not explicitly quote any reduction in PAR only by scheduling and achieves a lowest PAR of nearly 1.3 by scheduling with RESs integration. The stochastic model in our approach achieves a PAR of 1.45 only with scheduling and PAR by scheduling with RESs is 1.3 which is same as the one using soft computing algorithms. From the above discussions we conclude the stochastic model achieves a better optimal schedule for demand response with minimum computational cost.

4. Conclusion

The control and optimization of in home energy usage will help consumers to better understand their energy profile which will help them to minimize energy wastage also achieve some cost savings. A mathematical model for appliances scheduling has been formulated with two objective variables one is cost and another is waiting time for operation. The formulated optimization problem is a minimization problem. The proposed model also attempts to form a grid connected minimal micro grid environment by integrating two renewable sources in to the residential utility grid. This helps to reduce the direct consumption from utility grid and thus offering more grid stability at service provider side and cost reduction for consumers. An online stochastic gradient algorithm is used to solve the formulated optimization problem. A comparison between our proposed scheduling approach with RESs integration and without scheduling and RESs integration is presented and our proposed schemes optimizes the consumption profile and hence reducing the consumption cost and smoothens the peak load. The simulation studies validates the efficiency of the proposed algorithm. Scheduling the house hold appliance load with the integration of RESs minimizes the consumption cost by nearly 70% and the PAR is minimized by 23%respectively. In the proposed approach we have neglected the cost of renewable generation, in future a model incorporating the dynamic pricing of renewable power will be developed. We also plan to model and study the stability of grid in terms injecting excess renewable energy from residential units into the grid.

참고문헌

  1. H. Farhangi, "The path of the smart grid," IEEE Power and Energy Magazine, vol. 8, no. 1, pp. 18-28, January-February 2010. https://doi.org/10.1109/MPE.2009.934876
  2. Dizqah, A. M., Maheri, A., Busawon, K., Fritzson, P., "Standalone DC microgrids as complementarity dynamical systems: Modeling and applications," Control Eng. Pract, vol. 35, pp. 102-112, 2015. https://doi.org/10.1016/j.conengprac.2014.10.006
  3. K. M. Tsui and S. C. Chan, "Demand Response Optimization for Smart Home Scheduling Under Real-Time Pricing," IEEE Transactions on Smart Grid, vol. 3, no. 4, pp. 1812-1821, Dec. 2012. https://doi.org/10.1109/TSG.2012.2218835
  4. Oberdieck R., Pistikopoulos E. N, "Multi-objective optimization with convex quadratic cost functions: A multi-parametric programming approach," Comput. Chem. Eng., vol. 85, pp. 36-39, 2016. https://doi.org/10.1016/j.compchemeng.2015.10.011
  5. T. Hubert and S. Grijalva, "Realizing smart grid benefits requires energy optimization algorithms at residential level," in Proc. of ISGT 2011, pp. 1-8, 2011.
  6. L. Igualada, C. Corchero, M. Cruz-Zambrano and F.-J. Heredia, "Optimal Energy Management for a Residential Microgrid Including a Vehicle-to-Grid System," IEEE Transactions on Smart Grid, vol. 5, no. 4, pp. 2163-2172, July 2014. https://doi.org/10.1109/tsg.2014.2318836
  7. Graditi G, Ippolito M. G, Telaretti E, Zizzo G, "Technical and economical assessment of distributed electrochemical storages for load shifting applications: An Italian case study," Renew. Sustain. Energy Rev., vol. 57, pp. 515-523, 2016. https://doi.org/10.1016/j.rser.2015.12.195
  8. M. G. Ippolito, E. Telaretti, G. Zizzo and G. Graditi, "A new device for the control and the connection to the grid of combined RES-based generators and electric storage systems," in Proc. of 2013 International Conference on Clean Electrical Power (ICCEP), pp. 262-267, 2013.
  9. A. Molderink, V. Bakker, M. G. C. Bosman, J. L. Hurink and G. J. M. Smit, "Management and Control of Domestic Smart Grid Technology," IEEE Transactions on Smart Grid, vol. 1, no. 2, pp. 109-119, Sept. 2010.) https://doi.org/10.1109/TSG.2010.2055904
  10. Siano, P., Graditi, G., Atrigna, M. et al., "Designing and testing decision support and energy management systems for smart homes," J Ambient Intell Human Comput, vol. 4, pp. 651-661, 2013. https://doi.org/10.1007/s12652-013-0176-9
  11. M. Pipattanasomporn, M. Kuzlu and S. Rahman, "An Algorithm for Intelligent Home Energy Management and Demand Response Analysis," IEEE Transactions on Smart Grid, vol. 3, no. 4, pp. 2166-2173, Dec. 2012. https://doi.org/10.1109/TSG.2012.2201182
  12. Christian Roselund, and John Bernhardt, "Lessons learned along europes road to renewables," IEEE Spectrum, May 4, 2015.
  13. Xiaodong Liang, and Bagen Bagen, "Probabilistic planning and risk analysis for renewable power generation system," in Proc. of CIGRE Canada conference, cinnipeg, manitoba, August 31-September 2, 2015.
  14. Elaine K. Hart, Mark Z. Jacobson, "A Monte Carlo approach to generator portfolio planning and carbon emissions assessments of systems with large penetrations of variable renewables," Renewable Energy, Vol. 36, vol. 8, pp. 2278-2286, 2011. https://doi.org/10.1016/j.renene.2011.01.015
  15. Phuangpornpitak, N., and S. Tia, "Opportunities and challenges of integrating renewable energy in smart grid system," Energy Procedia, Vol. 34, pp. 282-290, 2013. https://doi.org/10.1016/j.egypro.2013.06.756
  16. S. L. Arun and M. P. Selvan, "Intelligent Residential Energy Management System for Dynamic Demand Response in Smart Buildings," IEEE Systems Journal, vol. 12, no. 2, pp. 1329-1340, June 2018. https://doi.org/10.1109/jsyst.2017.2647759
  17. S. Lakshminarayana, T. Q. S. Quek and H. V. Poor, "Cooperation and Storage Tradeoffs in Power Grids With Renewable Energy Resources," IEEE Journal on Selected Areas in Communications, vol. 32, no. 7, pp. 1386-1397, July 2014. https://doi.org/10.1109/JSAC.2014.2332093
  18. X. Liang, "Emerging Power Quality Challenges Due to Integration of Renewable Energy Sources," IEEE Transactions on Industry Applications, vol. 53, no. 2, pp. 855-866, March-April 2017. https://doi.org/10.1109/TIA.2016.2626253
  19. T. Li and M. Dong, "Real-Time Residential-Side Joint Energy Storage Management and Load Scheduling With Renewable Integration," IEEE Transactions on Smart Grid, vol. 9, no. 1, pp. 283-298, Jan. 2018. https://doi.org/10.1109/tsg.2016.2550500
  20. Rahim, Sahar, et al, "Exploiting heuristic algorithms to efficiently utilize energy management controllers with renewable energy sources," Energy and Buildings, Vol. 129, pp. 452-470, 2016. https://doi.org/10.1016/j.enbuild.2016.08.008
  21. Ullah, Ihsan, et al, "An incentive-based optimal energy consumption scheduling algorithm for residential users," Procedia Computer Science, Vol. 52, pp. 851-857, 2015.. https://doi.org/10.1016/j.procs.2015.05.142
  22. Mahmoud, K., Abdel-Nasser, M., Kashef, H., Puig, D., Lehtonen, M., "Machine Learning Based Method for Estimating Energy Losses in Large-Scale Unbalanced Distribution Systems with Photovoltaics," International Journal of Interactive Multimedia And Artificial Intelligence, vol. 6, no. 4, pp. 157-163, 2020. https://doi.org/10.9781/ijimai.2020.08.002
  23. Rezk, H., Arfaoui, J., Gomaa, M. R., "Optimal Parameter Estimation of Solar PV Panel Based on Hybrid Particle Swarm and Grey Wolf Optimization Algorithms," International Journal of Interactive Multimedia And Artificial Intelligence, vol. 6, no. 6, pp. 145-155, 2020. https://doi.org/10.9781/ijimai.2020.12.001
  24. Madeleine McPherson, Brady Stoll, "Demand response for variable renewable energy integration: A proposed approach and its impacts," Energy, Vol. 197, April 2020. https://doi.org/10.1016/j.energy.2020.117223
  25. Iqbal, Zafar, Nadeem Javaid, Saleem Iqbal, Sheraz Aslam, Zahoor A. Khan, Wadood Abdul, Ahmad Almogren, Atif Alamri, "A Domestic Microgrid with Optimized Home Energy Management System," Energies, vol. 11, no. 4, pp. 1002, 2018.) https://doi.org/10.3390/en11041002
  26. R. Deng, Z. Yang, M. Chow, J. Chen, "A Survey on Demand Response in Smart Grids: Mathematical Models and Approaches," IEEE Transactions on Industrial Informatics, vol. 11, no. 3, pp. 570-582, June 2015. https://doi.org/10.1109/TII.2015.2414719
  27. A. Wood and B. Wollenberg, Power Generation Operation and Control, Wiley-Interscience, 1996.
  28. A. Mohsenian-Rad and A. Leon-Garcia, "Optimal Residential Load Control With Price Prediction in Real-Time Electricity Pricing Environments," IEEE Transactions on Smart Grid, vol. 1, no. 2, pp. 120-133, Sept. 2010.. https://doi.org/10.1109/TSG.2010.2055903
  29. Lotfi S, Tarazouei F. L, Ghiamy M, "Optimal Design of a Hybrid Solar-Wind-Diesel Power System for Rural Electrification Using Imperialist Competitive Algorithm," Int. J. Renew. Energy Res., vol. 3, pp. 403-411, 2013.
  30. Ismail M. S, Moghavvemi M, Mahlia, T. M. I, "Design of a PV/diesel stand alone hybrid system for a remote community in Palestine," J. Asian Sci. Res., vol. 2, pp. 599, 2012.
  31. Daud A. K, Ismail M. S, "Design of isolated hybrid systems minimizing costs and pollutant emissions," Renew. Energy, vol. 44, pp. 215-224, 2012. https://doi.org/10.1016/j.renene.2012.01.011
  32. Fathima A. H, Palanisamy K, "Optimization in microgrids with hybrid energy systems-A review," Renew. Sustain. Energy Rev., vol. 45, pp. 431-446, 2015. https://doi.org/10.1016/j.rser.2015.01.059
  33. Sinha S, Chandel S. S, "Review of recent trends in optimization techniques for solar photovoltaic-wind based hybrid energy systems," Renew. Sustain. Energy Rev., vol. 50, pp. 755-769, 2015, https://doi.org/10.1016/j.rser.2015.05.040
  34. J. Lofberg, "YALMIP: a toolbox for modeling and optimization in MATLAB," in Proc. of 2004 IEEE International Conference on Robotics and Automation (IEEE Cat. No. 04CH37508), pp. 284-289, 2004.
  35. Chunekar, A., Varshney, S., Dixit, S., "Residential electricity consumption in India: what do we know?," 325 Prayas (Energy Group), Pune, India, 2016.
  36. Sivanantham, G., and Gopalakrishnan, S, "A Stackelberg game theoretical approach for demand response in smart grid," Pers Ubiquit Comput, vol. 24, no. 4 pp. 511-518, Aug 2020. https://doi.org/10.1007/s00779-019-01262-9
  37. Indian Energy Exchange, "Indian Power Market: Journey So Far and Way Forward," Indian Energy Exchange, 2014.