Open access peer-reviewed chapter

Energy Management in Microgrids: A Combination of Game Theory and Big Data‐Based Wind Power Forecasting

Written By

Zhenyu Zhou, Fei Xiong, Chen Xu and Runhai Jiao

Submitted: October 26th, 2016 Reviewed: April 4th, 2017 Published: August 16th, 2017

DOI: 10.5772/intechopen.68980

Chapter metrics overview

1,369 Chapter Downloads

View Full Metrics


Energy internet provides an open framework for integrating every piece of equipment involved in energy generation, transmission, transformation, distribution, and consumption with novel information and communication technologies. In this chapter, the authors adopt a combination of game theory and big data to address the coordinated management of renewable and traditional energy, which is a typical issue on energy interconnections. The authors formulate the energy management problem as a three‐stage Stackelberg game and employ the backward induction method to derive the closed‐form expressions of the optimal strategies. Next, we study the big data‐based power generation forecasting techniques and introduce a scheme of the wind power forecasting, which can assist the microgrid to make strategies. Simulation results show that more accurate prediction results of wind power are conducive to better energy management.


  • energy internet
  • Stackelberg game
  • microgrid energy management
  • wind power forecasting

1. Introduction

Energy internet has been identified as a key enabler of the third industrial revolution [1], which represents a new paradigm shift for both energy industry and consumers. In this new paradigm, the energy provisioning and demand sides are connected more closely and promptly than ever before by implementing distributed and flexible energy production and consumption while hiding the diversity of underlaying technologies through standardized interfaces [2, 3]. In addition, energy consumers with colocated distributed energy sources and distributed energy storage devices within limited areas, such as school, office building, industrial park, and residence community, etc., can form a local energy internet, that is, the microgrid, which provides a promising way of relieving the stress caused by the increasing energy demands and penetrations of renewable energy sources.

Microgrid is, in essence, a flexible and efficient network for interconnecting distributed renewable energy sources, load, and intermediate storage units at consumer premise [4]. It can be treated by the grid as a controllable load or generator and can operate in either islanded or grid‐connected mode [5]. However, due to the intermittent and fluctuating characteristics of renewable energy sources and limited generation capacity, the large penetration of uncontrolled and uncoordinated renewable generators into the microgrid especially distribution network will cause a high level of volatility and system disturbances. For instance, the uncertainties brought by renewable energy sources will lead to significant mismatch between generation and load, which results in numerous critical problems such as power imbalance, voltage instability, interarea oscillations, and frequency fluctuations [6]. Hence, novel energy management methodologies are required to harness the full potential of the microgrid to reduce the energy supply‐demand imbalance by making the full use of widespread renewable energy resources.

We study a distributed energy management problem in order to efficiently use renewable energy, with the aim of maximizing the individual objective function of each market player while guaranteeing the reliable system operation and satisfying users’ electricity demands. Due to the uncertainty and uncontrollability of renewable generation, the authors utilize the big data‐based renewable power forecasting techniques to obtain the short‐term prediction value [7]. Then, the authors focus on solving the distributed microgrid energy management problem by employing noncooperative game theory [8], which provides an effective mathematical tool for analyzing optimization problems with multiple conflicting objective functions. The major contributions are summarized as follows:

  • We adopt a combination of game‐theoretical and data‐centric approaches to address the microgrid energy management problem in energy internet. To address the uncertainties brought by wind turbine, the authors propose a deep learning‐based short‐term wind power forecasting algorithm by combining stacked autoencoders (SAE), the back‐propagation algorithm, and the genetic algorithm. The authors employ SAE with three hidden layers in the pre‐training process to extract the characteristics from the training sequence and the back‐propagation algorithm to calculate the weights of the overall neural network in the fine‐tuning process. Then, the authors adopt a genetic algorithm to optimize the neuron number of hidden layers and the learning rate of autoencoders.

  • We provide thorough introduction and summary of the related works and the state‐of‐the‐art progress in the research direction of energy management in microgrids. The authors have categorized the existing literature based on research motivations and application scenarios. The authors provide in‐depth analysis and discussion on the contributions of the surveyed works, common assumptions, application scenarios, advantages, disadvantages, and possible future directions. The extensive review of available works sheds new insights to the underexplored open issues of energy management design in microgrids.

  • We model the energy management problem as a three‐stage Stackelberg game to capture the dynamic interactions and interconnections among electricity users, the microgrid, the utility company, and the energy storage company. In the first stage, both the utility company and the energy storage company issue real‐time electricity prices to the microgrid. In the second stage, the microgrid adjusts its electricity price offered to electricity users and the amounts of electricity procured from the utility and the energy storage companies. In the third stage, electricity users adjust their electricity demands based on the price offered by the microgrid. The objective function of each game player is well designed based on multiobjective optimization approaches, and practical constraints such as active power generation limits, power balance, electricity demands, etc., have been taken into consideration.

  • Based on the short‐term wind power prediction, we employ the backward induction method to analyze the proposed three‐stage Stackelberg game and derive the closed‐form analytical expressions for optimal energy management solutions. In the simulation, the authors compare the optimal payoff of the microgrid with different prediction errors of wind power forecasting. Numerical results show that accurate prediction results of wind power are conducive to better energy management.

The structure of this chapter is organized as follows. In Section 2, we give a brief review of related works on energy management and prediction technologies. The system model of energy management and problem formulation are provided in Section 3. Section 4 introduces the proposed game‐theoretical and data‐centric energy management algorithm. The simulation results and analyses are presented in Section 5. Finally, Section 6 gives the conclusion.


2. Related works

The aim of this chapter is to solve the distributed microgrid energy management problem by exploring both game theory and big data analysis in energy internet. The comprehensive summary of the classifications of distributed microgrid energy management is shown in Table 1. Some literature studies propose mathematical tools to deal with uncertainties of renewable energy in energy management problems. Two main methods that have been widely applied to handle day‐to‐day uncertainties of renewable energy are stochastic optimization and robust optimization [9]. On the one hand, stochastic optimization provides an effective framework to optimize statistical objective functions while the uncertain numerical data are assumed to follow a proverbial probability distribution. In Ref. [10], a multistage framework is presented to minimize the cost of the total energy management system based on stochastic optimization. The authors developed a stochastic dynamic programming method for optimizing the multidimensional energy management problem in Ref. [11]. A stochastic optimization‐based real‐time energy management approach was adopted to minimize the operational cost of the total energy system in Ref. [12]. However, considering the complex operation details and various practical constraints in practical applications, the precise estimation of the probability distributions of uncertain data can be a tremendous challenge. Hence, the impact of data uncertainties on the optimality performance may not be sufficiently captured in the stochastic optimization‐based energy management approaches.

Application scenariosSolution methodsOptimization goalsLiterature
Renewable energy generationStochastic optimizationHandling date uncertainties of renewable energy[1012]
Robust optimization[1417]
Wind power forecastingLinear methodsIncreasing the accuracy of prediction model[19, 20]
Nonlinear methods[2427]
Microgrid managementOrdinary decision theoryOptimizing energy‐scheduling strategies[2830]
Noncooperative games[3336]
Cooperative games[3740]

Table 1.

A comprehensive summary of distributed microgrid energy management.

On the other hand, robust optimization, which considers the worst‐case operation scenarios, only requires appropriate information and enable a distribution‐free model of data uncertainties [13]. Hence, robust energy management can mitigate the negative effect of uncertainty on the optimality performance and thus overcome the aforementioned limitations of stochastic optimization. In Ref. [14], a novel pricing strategy was presented to enable robustness against the uncertainty of power input. The authors proposed a robust energy‐scheduling approach for solving the uncertainty brought by electric vehicles in Ref. [15]. Robust energy management methods were proposed to optimize the energy‐dispatching problem while the worst‐case scenarios of renewable energy integration have been considered [16, 17]. However, due to the fact that the worst‐case scenarios of all uncertain factors are assumed to provide the highest protection against uncertainties, the optimality performance is also severely degraded as the price paid for robustness.

With the development of advanced information and communication technologies, the big data‐based forecasting approach can learn from these massive amounts of real‐world data, and thus adapt conventional energy management design to this new data‐centric paradigm by utilizing the historical knowledge. Taking wind power forecasting as an example, the data‐centric approaches mine the relationship between historical data and knowledge to build the prediction model through various approaches, such as persistence methods, linear methods, and nonlinear methods. The persistence method is one of the classic methods for wind power forecasting and is usually utilized as a benchmark method while short‐term wind speeds are assumed highly correlated [18]. Linear methods have been shown to outperform most persistence methods in short‐term forecasting as they can capture the time relevance and probability distribution of wind speed data [19, 20]. Nonlinear methods such as artificial neural networks (ANNs) [21], support vector machines (SVM) [22, 23], etc., are demonstrated to outperform linear methods in nonlinear models. ANN, which is a simplified model of human brain neural processing, has the advantage of fast self‐learning capability, easy implementation, and high prediction accuracy [24]. SVM is a machine‐learning model of ANNs to analyze data which is used for classification and regression analysis [25]. To efficiently handle the complex, unlabeled and high‐dimensional time series data, deep learning has been proposed in Ref. [26]. As an essential deep learning architecture, SAE plays a fundamental role in unsupervised learning and the objective function can be solved efficiently via fast back propagation [27].

There already exists some work about energy management design in microgrid. In Ref. [28], a double‐layer control model, which consists of a dispatch layer to offer the output power of each unit and a schedule layer to provide the operation optimization, is proposed for microgrid energy management. The authors presented a fair energy‐scheduling strategy in Ref. [29] to maximize the total system benefit while providing higher energy utilization priorities to users with larger contributions. In Ref. [30], the authors took demand side management and generation scheduling into consideration for ensuring the real‐time operation of energy management system. However, the previous studies mainly focus on the total benefit in the energy management system, and ignore the interactions and interconnections among multiple market players, including utility companies, storage companies, microgrids, customers, and so on.

Game theory has widely been applied in microgrid energy management to provide a distributed self‐organizing and self‐optimizing solution for optimization problems with conflicting objective functions in Ref. [31]. Games can be classified into two categories based on whether or not binding agreements among players can be enforced externally, that is, noncooperative and cooperative games [32]. Noncooperative games, which offer an analytical framework tailored for characterizing the interactions as well as decision‐making process among multiple game players, focus on predicting players’ individual strategies and analyzing the competitive decision‐making involving players to find the Nash equilibrium. The players will influence the decision‐making process despite their partially or even completely conflicting interests upon the result of a decision. In contrast, cooperative games offer mathematical tools to study the interactions of rational cooperative players, and the strategic outcome among those players as well as their utilities can be improved under a common agreement.

For noncooperative game‐based microgrid energy management, the authors proposed a multiuser Stackelberg game model for maximizing the benefit of each player in Ref. [33]. In Ref. [34], a new model of electricity market operation was adopted to optimize the objective function of each player. The authors provided a dynamic noncooperative repeated game model to optimize the energy‐trading amounts of users with distributed renewable generators [35]. In Ref. [36], a distributed real‐time game‐theoretical energy management scheme was employed to maximize the total social benefit while minimizing the cost of each player. For microgrid energy management schemes based on cooperative games, the authors proposed a cooperative demand response scheme for reducing the electricity bills of users in Ref. [37]. In Ref. [38], a cooperative energy‐trading approach was proposed for the downlink coordinated multipoint transmission powered by smart grids to reduce energy cost. The authors developed a cooperative distributed energy‐scheduling algorithm to optimize the energy dispatch problem while considering the integration of renewable generation and energy storage in Ref. [39]. In Ref. [40], the authors provided a multistage market model for minimizing the operational cost of the utility company while maximizing the total benefit of the market. Compared to cooperative games, the noncooperative games have the advantage of a lower communication overhead and do not require a common commitment among various market players. As one kind of noncooperative game models, the Stackelberg game can efficiently model the hierarchy among players, where the leaders have dominant market positions over followers, and can impose their own strategies upon the followers. Considering above two points, the authors propose the noncooperative game‐theoretical approach and model the microgrid energy management problem as a three‐stage Stackelberg game.

In summary, most of the previous studies have not provided a comprehensive framework for how to utilize the real‐world data to improve the energy management performance. The prior statistic knowledge of uncertain renewable power outputs was assumed to be perfectly known and its impact on the energy‐trading process among market players has not been fully analyzed. This motivates us to explore the integration of deep learning‐based wind power forecasting technique with Stackelberg game‐based energy management strategy, so as to make a further step to enable data‐centric energy management in future energy internet.


3. System model and problem formulation

3.1. System model

Figure 1 presents a structure of a typical microgrid energy management system with the utility company, the energy storage company, users, and various kinds of renewable energy sources. In this system, without loss of generality, the authors assume that there is a single conventional energy generation company, which is denoted as the utility company, and a renewable sources‐based energy storage company, which is denoted as the storage company. The energy storage company which operates independently from the utility company can store and absorb excess energy during nonpeak periods and deliver it back to the grid during the peak times. Furthermore, the authors assume that there is a single microgrid and there are K users, denoted as K={1,,k,,K}, in this model. The utility company and the storage company are regarded as energy suppliers to meet the electric power demand of the microgrid and ensure the stability of the power system. To implement efficient energy management, the microgrid should be in charge of energy dispatching and be responsible for meeting users’ electricity demands based on the forecasting of renewable energy generation. However, due to renewables’ uncontrollable fluctuations, variability, intermittent nature, and the capacity limitation of the microgrid, the microgrid may not be able to meet the electricity demand of users by itself and has to purchase electricity from the utility company and the storage company.

Figure 1.

System model of microgrid energy management.

3.2. Objective function

3.2.1. Objective function of the utility company

The definition of the utility company's objective function is rather flexible. Generally, the authors consider the cost function consisting of the electricity generation cost denoted as C(L) and the pollutant emission cost denoted as I(L) [41]. Each of them can be modeled as a quadratic function of the electricity demand L. Besides, line loss, which is mainly caused by resistance of the transmission lines, has been taken into consideration to ensure energy supply. Hence, the objective function of the utility company is formulated as




Rg(Lm,g,pg) denotes the electricity revenue; Cg(εgLm,g) and Ig(εgLm,g) are the cost functions of the power generation and the pollutant emission, respectively; Lm,g denotes the quantity of electricity bought from the utility company by the microgrid; pg is the unit electricity price of the utility company; and ag,bg,cg,αg,βg are the cost parameters of Cg(εgLm,g) and Ig(εgLm,g). Assuming that ρg denotes the power loss percentage during power transmission, which is related to voltage, efficiencies of transformers, and resistance of the transmission line. Hence, εgLm,g is the actually generated electricity to satisfy the microgrid demand Lm,g, where εg=1/(1ρg).

3.2.2. Objective function of the storage company

The authors considered the power loss inefficiency during the battery charging and discharging processes, as well as line loss, and the objective function of the storage company is formulated as




Rg(Lm,s,ps) denotes the electricity revenue; Cs(εsLm,s) is the cost function of energy storage; Lm,s denotes the quantity of electricity bought from the storage company by the microgrid; ps is the unit electricity price of the storage company; ηc and ηd are the charging and discharging efficiencies of storage equipment, respectively; and cs denotes the unit cost of operation and maintenance. The meaning of εs is the same as εg introduced above.

3.2.3. Objective function of the microgrid

The authors focus on renewable energy which is the main source of the microgrid and consider the satisfaction function based on quality of service of the electricity provided by the utility and storage companies [42]. Hence, the objective function of the microgrid is formulated as




Rm,g(Lm,g) denotes the satisfaction value; Cm,g(Lm,g,pg) denotes the payment of the microgrid for electricity bought from the utility company; and Xm,g denotes the satisfaction parameter for the utility company. As the satisfaction parameters depend on various factors, such as electricity demands, electricity prices, preferences in different energy sources, weather conditions, etc., it is hard to model the satisfaction parameters accurately. Thus, the authors assume that these parameters are predefined. Analogously, dc,m denotes predefined satisfaction parameters of the microgrid for the utility company. The definitions of Rm,s(Lm,s) and Cm,s(Lm,s,ps) are similar to those of Rm,g(Lm,g) and Cm,g(Lm,g,pg) as introduced above; Rm(Lk,m,pm) denotes the electricity revenue acquired from users while Lk,m is the quantity of electricity bought by the kth user and pm is the unit electricity price of the microgrid; Cm(L^r+Δ) and Im(L^r+Δ) are the cost functions of wind power generation and wind power pollutant emission, respectively; am,bm,cm,αm,βm are the cost parameters of Cm(L^r+Δ) and Im(L^r+Δ). L^r+Δ denotes the prediction result of wind power while L^r is the real wind power and Δ is the prediction error. F denotes the penalty factor of the prediction error Δ that satisfies F<0. That is, the payoff of the microgrid will decrease when the result of wind power forecasting is not accurate, which reflects the restriction of the power purchase agreement in the market.

3.2.4. Objective function of users

In a similar way, the authors also take the satisfaction function into consideration. Hence, the objective function of the kth user is given by




Rk,m(Lk,m) denotes the satisfaction value and Ck,m(Lk,m,pm) denotes the payment that the kth user pays for electricity bought from the microgrid. The meanings of Xk,m and dk,m are similar to Xm,g and dm,g.

3.3. Problem formulation

The authors propose a three‐stage Stackelberg game, which consists of leaders and followers to describe the interconnection of each stage and model the energy management process. The three‐stage Stackelberg game is described in a distributed manner in Figure 2:

Figure 2.

The diagram of the three‐stage Stackelberg game.

  • Stage I: The utility and the storage companies, as leaders of the game, announce the unit electricity price pg and ps to the microgrid. By setting reasonable prices, the companies hope to maximize their own payoffs. Thus, the authors can describe the optimization problem for the utility and storage companies as


  • Stage II: The microgrid can be assumed as the follower of the utility and the storage companies as well as the leader of users. On the one hand, the microgrid determines electricity demand Lm,g and Lm,s based on the prediction result of the wind power and the unit prices pg, ps. On the other hand, it announces electricity price pm to users. The objective of the microgrid is also to maximize its payoff by adjusting Lm,g, Lm,s, and pm. We describe the optimization problem for the microgrid as

    maxLm,g,Lm,s,pmUm(Lm,g,Lm,s,pm),s.t.C1: 0εgLm,gLg,max,C2: 0εsLm,sLs,max,C3: 0pmpm,max,C4: Lm,s+Lm,g=k=1KLk,mL^rΔ>0,E11

    where Lg,max, Ls,max, and pm,max denote the capacity and pricing constraints.

  • Stage III: The kth user (k{1,2,…,K}), as the follower of the microgrid, determines electricity amount Lk,m purchased from the microgrid based on pm to maximize its payoff. We can describe the optimization problem for the kth user as

    s.t.C5: Lk,mLk,b,E13

where Lk,b is the basic electricity demand of the kth user.


4. Algorithms and analysis

In this section, we first propose a distributed energy management algorithm based on the three‐stage Stackelberg game. Then, the big data analysis‐based wind power forecasting algorithm is derived by combining SAE, the back‐propagation algorithm, and the genetic algorithm.

4.1. Distributed energy management algorithm

We propose a three‐stage Stackelberg game to describe the interconnections of each stage and use the backward induction to capture the interrelation of the decision‐making process in each stage.

4.1.1. Analysis of the third‐stage user game

The optimization objective of the kth user is defined in Eq. (12), which is a standard concave function. Hence, the authors can use the Karush‐Kuhn‐Tucker (KKT) conditions to solve the optimization problem. The optimal solution of the kth user is given by


where L^k,m1 denotes the optimal electricity procurement quantities; L^k,m2 denotes the scenario where the optimal electricity procurement quantity lines on the boundary of the inequality constraint.

4.1.2. Analysis of the second‐stage microgrid game

In stage II, the authors assume user kK={1,,i,,K} purchases electricity Lk,m1 and user kK={1,,i,,K} purchases electricity Lk,m2. While K=KK, the authors can obtain


Based on KKT conditions, the optimal amount of electricity procured from the utility company is given by


In a similar way, based on KKT conditions, the optimal amount of electricity procured from the storage company is given by


The optimal price is given by


L^m,g1, L^m,g3, L^m,s1, L^m,s3, p^m1, and p^m3 denote the scenarios that where the optimal solutions line on the boundaries of the inequality constraints. L^m,g2, L^m,s2, and p^m2 denote the interior solutions. When Lm,g=0 or Lm,g=Lg,maxεg and Lm,s=0 or Lm,s=Ls,maxεs, there is no price competition between the utility and storage companies. Thus, the analysis of the corresponding pg and ps is omitted here. Considering the price competition game between the utility company and the storage company, pm can be viewed as a function of pg and ps based on Eq. (18), which is given by




4.2.3. Analysis of the first‐stage utility and storage company game

In this case, defining Lm,g as a function of pg, we have




Hence, Ug can be written as a quadratic function of pg, which is given by




Since Ug is a convex function of pg based on Eq. (22), the authors can obtain p^g by solving the convex function that


In the same way, p^s can be obtained similarly as above since p^s has the same solution structure with p^g. The detailed process is omitted here due to space limitations.

4.2. Algorithm of wind power forecasting

We propose a deep learning‐based short‐term wind power forecasting algorithm by combining SAE, the back‐propagation algorithm, and the genetic algorithm. It is noted that the proposed forecasting model can also be applied for other distributed renewable energy sources such as solar energy, hydroenergy, etc. The reason why the authors study the wind power forecasting in this chapter is mainly due to the illustration purpose and the availability of the wind big data. The core of the algorithm is to establish a forecasting model through training on the historical data. Exploiting the statistical relationship among the historical time series data can be divided into two processes: the pre‐training process and the fine‐tuning process. In the pre‐training process, three stacked AEs, which consist of one visible layer, one hidden layer, and one output layer form a neural network. In the fine‐tuning process, one more layer is added to the end of the neural network and back‐propagation algorithm is applied to obtain more appropriate initial weights of the whole network. Furthermore, for improving the forecasting accuracy, we adopt genetic algorithm to optimize the learning rate of each AE and the number of neurons of each layer.

4.2.1. Training process of the proposed genetic SAE forecasting model

As shown in Figure 3(a), SAE consists of one input layer x, the first hidden layer h1, and one output layer x^. We adopt encoder function fθ1 to transform x to a low or a high‐dimensional code h1 and adopt decoder function gθ1 to reconstruct the original data as x^. We can obtain the values of parameters θj={wj,bj,wjT,dj}, j{1,2,,J} (J denotes the number of layers in SAE) through back propagation, where wj and wjT are weight matrices of the encoder and the decoder, bj and dj are biases of the encoder and the decoder, respectively.

Figure 3.

The pre‐training and fine‐tuning process of genetic SAE.

We add a new hidden layer h2 to the whole network, new layer and the original layers are stacked into the existing AE in Figure 3(b). There is a new AE illustrated since h1 and h2 are combined as the input layers. Hence, the authors can stack more auto encoders by removing the last layer h1 and add one more layer. Considering computation complexity, three auto coders are stacked together in this section. The pre‐training process is shown as Figure 3(a) and (b), which consists of two hidden layers h1, h2 and trains the initial weights of the whole network.

In Figure 3(c), to form the whole genetic SAE neural network, we add an output layer and initialize the set of parameter w4, b4 between the last hidden layer and the output layer. The process which we adopt back‐propagation algorithm to train all the weights and biases of the whole network is called the fine‐tuning process. Hence, a deep network with three hidden layers can be trained to converge to a global minimum by the process we proposed.

4.2.2. Optimization of the proposed model

The learning rate of the network and the number of neurons in hidden layer are the key parameters which have a significant impact on the final prediction performance. Hence, we adopt the genetic algorithm to optimize the parameters of the SAE and the whole network for improving the performance of the models. We regard the historical time series data x as the individuals of population in genetic algorithm and obtain a multidimensional vector P(d,t), where there are d individuals in the population denoted as dD={1,,d,,D} and tT={1,,t,,T} is the number of evolution. We assume that the size of the population is D and the maximum of evolution is T. First, we set the initial population as P(0,0). Then, we calculate the objective value and the fitness value to select optimal individual for the next generation. After crossover and mutation, we can obtain optimal individual P(d,T). Algorithm 1 shows the optimization process of the proposed model. To make a fair comparison, we optimize the parameters of the BP algorithm and the SVM algorithm in the similar way. The mean absolute percentage error (MAPE) provides a statistical measure of prediction accuracy of a forecasting method, which is expressed in percentage. It measures how much forecasts can differ from the actual data, which is summed for every evaluation points and divided by the total number of points. Since MAPE has been widely adopted in wind power forecasting, the authors also adopt it to evaluate the accuracy of the prediction model.

Algorithm 1 The proposed genetic SAE Algorithm
1: Procedure: Genetic Algorithm
2: Begin
3: Initialize: P(0,0)
4: Set t=0
5: while t<T do
6:   for dD do
7:     The Pre‐training Process:
8:     Evaluate fitness of P(d,t): Calculate and store the best, worst, and average objective value for current individuals.
9:     Select operation to P(d,t): Select optimal individual for the next generation.
10:     The Fine‐turning Process:
11:     Crossover operation to P(d,t): Do crossover operation on the selected individuals and obtain better individuals.
12:     Mutation operation to P(d,t): Do mutation operation to P(d,t) based on a certain mutation probability.
13:   end for
14:   Update: t=t+1
15: end while


5. Simulation results

In order to evaluate the prediction accuracy of the proposed wind‐forecasting model, real data of wind turbines, which were collected form a local micorgrid in Hebei Province, China, are employed to perform the training and forecasting processes. By excluding unnecessary information, the 1‐year data samples of active power, which spans from September 2015 to October 2016, are utilized for simulations. The proposed game‐theoretical energy management algorithm with big data‐based wind power forecasting is implemented based on Matlab. Simulation results are performed for a scenario which consists of the utility company, the energy storage company, the microgrid, and the users. The simulation parameters are summarized in Table 2. Figure 4 shows the optimal electricity prices of the utility company, the energy storage company, and the microgrid, that is, p^g, p^s, and p^m, versus the basic electricity demands of users Lk,b. Lk,b is increased from 10 to 100 kW with a step of10, and the corresponding p^g, p^s, and p^m are obtained by the proposed algorithm. The simulation results demonstrate that p^g, p^s, and p^m increase monotonically as Lk,b increases, which is reasonable since the electricity generation cost also increase dramatically as Lk,b increases. p^s>p^g is due to the preference of the microgrid to use clean renewable energy stored by the energy storage company. In addition, we have p^m>p^g and p^m>p^s. Since only one microgrid has been considered in the second stage, the microgrid is always able to make more profits by announcing higher prices toward users than those of the utility and the energy storage companies.

Figure 4.

The optimal electricity prices of the utility company p^g, the energy storage company p^s, and the microgrid p^m versus the basic electricity demands of user Lk,b.

Power generation cost parameter of utility company ag0.03
Pollutant emission cost parameter of utility company αg0.08
The unit cost of operation and maintenance cs1.5
Charging efficiencies of storage equipment ηc0.5
Discharging efficiencies of storage equipment ηd0.5
Power generation cost parameter of microgrid am0.05
Pollutant emission cost parameter of microgrid αm0.05
Satisfaction parameter for utility company Xm,g5
Satisfaction parameter for utility company dm,g0.21
Satisfaction parameter for storage company Xm,s10
Satisfaction parameter for storage company dm,s0.21
Satisfaction parameter for microgrid Xc,m50
Satisfaction parameter for microgrid dm,s0.15
Capacity of utility company Lg,max200 kW
Capacity of storage company Lm,max100 kW
The highest price users can afford pm,max50 cents/kWh
The real wind power L^r20 kW
The penalty factor F−50

Table 2.

Simulation parameters.

Figures 5 and 6 show the optimal payoff of the microgrid Um(p^m,L^m,g,L^m,s) versus the prediction error of wind power forecasting Δ for the two scenarios Δ>0 and Δ<0, respectively. Here, Δ>0 represents that the actual wind power output is less than the predicted amount, and the microgrid has to procure more electricity from both the utility and the energy storage companies. In comparison, Δ<0 represents that the actual wind power output is more than the predicted amount, and the microgrid will not procure the specified amount of electricity from both the utility and the energy storage companies. Three cases where Lk,b=40, 60, and 80 kW have been considered. Both Figures 5 and 6 show that the optimal payoff of the microgrid decreases monotonically as |Δ| increases. For example, if Δ is increased from 0 to 10 kW or decreased from 0 to −10 kW, the optimal payoff will be decreased by 9.2 and 22.1% when Lk,b=40 kW, respectively. The reason is that the microgrid will be charged for the difference between the predicted and actual electricity procurement quantities, due to the restriction of power purchase agreement. It is also clear that the optimal payoff is degraded more severely when Δ<0 compared to Δ>0. The reason is that the electricity prices of the utility and the energy storage companies are higher when Δ<0 compared to the case of Δ>0.

Figure 5.

The optimal payoff of the microgrid Um versus the prediction error of wind power forecasting Δ>0.

Figure 6.

The optimal payoff of the microgrid Um versus the prediction error of wind power forecasting Δ<0.

Figure 7 shows the MAPE value of three different algorithms including BP, SVM, and genetic SAE versus wind power forecasting step. The process of wind power forecasting based on historical data in current time is called step 1. By adding the prediction result to the historical data, the authors can obtain a new prediction result in next hour and the process is called step 2, and so on. A higher step means longer period of prediction, which presents lead to less precise predictions and high MAPE. From the simulation results, the authors found that MAPE increases as prediction step increases. Thus, we can come to the conclusion that the result becomes inaccurate as the step increases. Furthermore, the simulation results demonstrate the authors obtain a minimum prediction error by genetic SAE algorithm compared to the other two algorithms. More concretely, the predicted absolute error decreases by 7.3% compared with the SVM algorithm and 32.4% compared with the BP algorithm when step 5.

Figure 7.

MAPE of three different models with wind power forecasting step varies.


6. Conclusions

In this chapter, the authors proposed to utilize the big data‐based power generation forecasting techniques to obtain the short‐term wind power forecasting results that assist the microgrid to implement energy management strategies. Simulation results validated the proposed algorithm and demonstrated that the optimal payoff of the microgrid is decreased due to the prediction error. The proposed genetic SAE algorithm is demonstrated to provide the most accurate predictions, which is helpful for energy management. In future work, we will emphasize on cooperative energy management among multiple microgrids based on the predictions of renewable power and electricity consumption.


  1. 1. Rifkin J. The Third Industrial Revolution: How Lateral Power is Transforming Energy, The Economy, and The World. New York: Palgrave Macmillan Trade; 2011
  2. 2. Katz R, Culler D, Sanders S, Lutz K. An information‐centric energy infrastructure: The Berkeley view. Sustainable Computing: Informatics and Systems. 2011;1(1):7–22
  3. 3. Huang A, Crow M, Heydt G, Dale S. The future renewable electric energy delivery and management (FREEDM) system: The energy internet. Proceedings of the IEEE. 2011;99(1):133–148
  4. 4. Conti S, Nicolosi R, Rizzo S. Generalized systematic approach to assess distribution system reliability with renewable distributed generators and microgrids. IEEE Transactions on Power Delivery. 2012;27(1):261–270
  5. 5. Zhang Y, Asr N, Duan J, Chow M. Day‐ahead smart grid cooperative distributed energy scheduling with renewable and storage integration. IEEE Transactions on Sustainable Energy. 2016;7(4):1739–1748
  6. 6. Clement K, Haesen E, Driesen J. The impact of charging plug‐in hybrid electric vehicles on a residential distribution grid. IEEE Transactions on Power Systems. 2010;25(1):371–380.
  7. 7. Haupt S, Kosovic B. Variable generation power forecasting as a big data problem. IEEE Transactions on Sustainable Energy. 2017;8(2): 725–732
  8. 8. Tadelis S. Game Theory: An Introduction. Princeton, NJ: Princeton University Press; 2013
  9. 9. Wei W, Liu F, Mei S, Hou Y. Robust energy and reserve dispatch under variable renewable generation. IEEE Transactions on Smart Grid. 2015;6(1):369–380
  10. 10. Darivianakis G, Georghiou A, Smith R, Lygeros J. A stochastic optimization approach to cooperative building energy management via an energy hub. In: Proc. IEEE CDC’15; Osaka, Japan, 2015. pp. 6212–6215
  11. 11. Li L, Yan B, Yang C, Zhang Y, Chen Z, Jiang G. Application‐oriented stochastic energy management for plug‐in hybrid electric bus with AMT. IEEE Transactions on Vehicular Technology. 2016;65(6):4459–4470
  12. 12. Chen T, Wang X, Giannakis G. Cooling‐aware energy and workload management in data centers via stochastic optimization. IEEE Journal of Selected Topics in Signal Processing. 2016;10(2):402–415
  13. 13. Valencia F, Collado J, Saez D, Marin L. Robust energy management system for a microgrid based on a fuzzy prediction interval model. IEEE Transactions on Smart Grid. 2016;7(3):1486–1494
  14. 14. Chiu W, Sun H, Poor H. Energy imbalance management using a robust pricing scheme. IEEE Transactions on Smart Grid. 2013;4(2):896–904
  15. 15. Morales J, Cervantes I, Castillo U. On the design of robust energy management strategies for FCHEV. IEEE Transactions on Vehicular Technology. 2015;64(5):1716–1728
  16. 16. Zhang Y, Gatsis N, Giannakis G. Robust energy management for microgrids with high‐penetration renewables. IEEE Transactions on Sustainable Energy. 2013;4(4):944–953
  17. 17. Xiang Y, Liu J, Liu Y. Robust energy management of microgrid with uncertain renewable generation and load. IEEE Transactions on Smart Grid. 2016;7(2):1034–1043
  18. 18. Khalid M, Savkin A. A method for short‐term wind power prediction with multiple observation points. IEEE Transactions on Power Systems. 2012;27(2):579–586
  19. 19. Zhang J, Wang C. Application of ARMA model in ultra‐short term prediction of wind power. In: Proc. CSA’13; Wuhan China; 2013. pp. 361–364
  20. 20. Yunus K, Thiringer T, Chen P. ARIMA‐based frequency‐decomposed modeling of wind speed time series. IEEE Transactions on Power Systems. 2016;31(4):2546–2556
  21. 21. Kurian S, Krishnan S, Cheriyan E. Real time implementation of artificial neural networks‐based controller for battery storage supported wind electric generation. IET Generation, Transmission and Distribution. 2015;9(10):937–946
  22. 22. Gu B, Sheng V. A robust regularization path algorithm for v‐support vector classification. IEEE Transactions on Neural Networks and Learning Systems. 2017;28(5): 1241–1248
  23. 23. Gu B, Sheng V, Tay K, Romano W, Li S. Incremental support vector learning for ordinal regression. IEEE Transactions on Neural Networks and Learning Systems. 2015;26(7):2546–2556
  24. 24. Methaprayoon K, Yingvivatanapong C, Lee W, Liao J. An integration of ANN wind power estimation into unit commitment considering the forecasting uncertainty. IEEE Transactions on Industry Applications. 2007;43(6):1441–1448
  25. 25. Yang L, He M, Zhang J, Vittal V. Support‐vector‐machine‐enhanced Markov model for short‐term wind power forecast. IEEE Transactions on Sustainable Energy. 2015;6(3):791–799
  26. 26. Hosseini‐Asl E, Zurada J, Nasraoui O. Deep learning of part‐based representation of data using sparse autoencoders with nonnegativity constraints. IEEE Transactions on Neural Networks and Learning Systems. 2016;27(12):2486–2498
  27. 27. Thirukovalluru R, Dixit S, Sevakula R, Verma N, Salour A. Generating feature sets for fault diagnosis using denoising stacked auto‐encoder. In: Proc. IEEE ICPHM’16; Ottawa, Canada; 2016. pp. 1–7
  28. 28. Jiang Q, Xue M, Geng G. Energy management of microgrid in grid‐connected and stand‐alone modes. IEEE Transactions on Power Systems. 2013;28(3):3380–3389
  29. 29. Xie S, Zhong W, Xie K, Yu R, Zhang Y. Fair energy scheduling for vehicle‐to‐grid networks using adaptive dynamic programming. IEEE Transactions on Neural Networks and Learning Systems. 2016;27(8):1697–1707
  30. 30. 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 Transactions on Industrial Informatics. 2016;12(1):77–90
  31. 31. Saad W, Han Z, Poor H, Basar T. Game‐theoretic methods for the smart grid: An overview of microgrid systems, demand‐side management, and smart grid communications. IEEE Signal Processing Magazine. 2012;29(5):86–105
  32. 32. Maschler M, Solan E, Zamir S. Game Theory. Cambridge, UK: Cambridge University Press; 2013
  33. 33. Maharjan S, Zhu Q, Zhang Y, Gjessing S, Basar T. Dependable demand response management in the smart grid: A Stackelberg game approach. IEEE Transactions on Smart Grid. 2013;4(1):120–132
  34. 34. Khoussi S, Bilil H, Aniba G. Optimal time of use of renewable electricity pricing: Three‐player games model. In: Proc. IEEE SmartGridComm’15; Miami, FL; 2015. pp. 199–204
  35. 35. Mediwaththe C, Stephens E, Smith D, Mahanti A. A dynamic game for electricity load management in neighborhood area networks. IEEE Transactions on Smart Grid. 2016;7(3):1329–1336
  36. 36. Tushar M, Assi C, Maier M. Distributed real‐time electricity allocation mechanism for large residential microgrid. IEEE Transactions on Smart Grid. 2014;6(3):1353–1363
  37. 37. Ma K, Hu G, Spanos C. A cooperative demand response scheme using punishment mechanism and application to industrial refrigerated warehouses. IEEE Transactions on Industrial Informatics. 2015;11(6):1520–1531
  38. 38. Xu J, Zhang R. Cooperative energy trading in CoMP systems powered by smart grids. IEEE Transactions on Vehicular Technology. 2016;65(4):2142–2153
  39. 39. Zhang Y, Rahbari‐Asr N, Duan J, Chow M. Day‐ahead smart grid cooperative distributed energy scheduling with renewable and storage integration. IEEE Transactions on Sustainable Energy. 2016;7(4):1739–1748
  40. 40. Gkatzikis L, Koutsopoulos I, Salonidis T. The role of aggregators in smart grid demand response markets. IEEE Journal on Selected Areas in Communications. 2013;31(7):1247–1257
  41. 41. Mohsenian‐Rad A, Wong V, Jatskevich J, Schober R, Leon‐Garcia A. Autonomous demand‐side management based on game‐theoretic energy consumption scheduling for the future smart grid. IEEE Transactions on Smart Grid. 2010;1(3):320–331
  42. 42. Machowski J, Bialek J, Bumby D. Power System Dynamics: Stability and Control. New York: Wiley; 2008

Written By

Zhenyu Zhou, Fei Xiong, Chen Xu and Runhai Jiao

Submitted: October 26th, 2016 Reviewed: April 4th, 2017 Published: August 16th, 2017