Open access peer-reviewed chapter

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

By Zhenyu Zhou, Fei Xiong, Chen Xu and Runhai Jiao

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

DOI: 10.5772/intechopen.68980

Downloaded: 764


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 Kusers, 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,gdenotes the quantity of electricity bought from the utility company by the microgrid; pgis the unit electricity price of the utility company; and ag,bg,cg,αg,βgare the cost parameters of Cg(εgLm,g)and Ig(εgLm,g). Assuming that ρgdenotes the power loss percentage during power transmission, which is related to voltage, efficiencies of transformers, and resistance of the transmission line. Hence, εgLm,gis 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,sdenotes the quantity of electricity bought from the storage company by the microgrid; psis the unit electricity price of the storage company; ηcand ηdare the charging and discharging efficiencies of storage equipment, respectively; and csdenotes the unit cost of operation and maintenance. The meaning of εsis the same as εgintroduced 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,gdenotes 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,mdenotes 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,mis the quantity of electricity bought by the kth user and pmis 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,βmare the cost parameters of Cm(L^r+Δ)and Im(L^r+Δ). L^r+Δdenotes the prediction result of wind power while L^ris the real wind power and Δis the prediction error. Fdenotes 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,mand dk,mare similar to Xm,gand 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 pgand psto 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,gand Lm,sbased on the prediction result of the wind power and the unit prices pg, ps. On the other hand, it announces electricity price pmto 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


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

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


where Lk,bis 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,m1denotes the optimal electricity procurement quantities; L^k,m2denotes 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,m1and 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^m3denote the scenarios that where the optimal solutions line on the boundaries of the inequality constraints. L^m,g2, L^m,s2, and p^m2denote the interior solutions. When Lm,g=0or Lm,g=Lg,maxεgand Lm,s=0or Lm,s=Ls,maxεs, there is no price competition between the utility and storage companies. Thus, the analysis of the corresponding pgand psis omitted here. Considering the price competition game between the utility company and the storage company, pmcan be viewed as a function of pgand psbased 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,gas a function of pg, we have




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




Since Ugis a convex function of pgbased on Eq. (22), the authors can obtain p^gby solving the convex function that


In the same way, p^scan be obtained similarly as above since p^shas 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θ1to transform xto a low or a high‐dimensional code h1and adopt decoder function gθ1to reconstruct the original data as x^. We can obtain the values of parameters θj={wj,bj,wjT,dj}, j{1,2,,J}(Jdenotes the number of layers in SAE) through back propagation, where wjand wjTare weight matrices of the encoder and the decoder, bjand djare 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 h2to 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 h1and h2are combined as the input layers. Hence, the authors can stack more auto encoders by removing the last layer h1and 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, h2and 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, b4between 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 xas the individuals of population in genetic algorithm and obtain a multidimensional vector P(d,t), where there are dindividuals 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 Dand 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<Tdo
6:   for dDdo
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,bis increased from 10 to 100 kW with a step of10, and the corresponding p^g, p^s, and p^mare obtained by the proposed algorithm. The simulation results demonstrate that p^g, p^s, and p^mincrease monotonically as Lk,bincreases, which is reasonable since the electricity generation cost also increase dramatically as Lk,bincreases. p^s>p^gis 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^gand 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 Δ>0and Δ<0, respectively. Here, Δ>0represents 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, Δ<0represents 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 kWhave 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=40kW, 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 Δ<0compared to Δ>0. The reason is that the electricity prices of the utility and the energy storage companies are higher when Δ<0compared 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.

© 2017 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Zhenyu Zhou, Fei Xiong, Chen Xu and Runhai Jiao (August 16th 2017). Energy Management in Microgrids: A Combination of Game Theory and Big Data‐Based Wind Power Forecasting, Development and Integration of Microgrids, Wen-Ping Cao and Jin Yang, IntechOpen, DOI: 10.5772/intechopen.68980. Available from:

chapter statistics

764total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Operation of Plug-In Electric Vehicles for Voltage Balancing in Unbalanced Microgrids

By Guido Carpinelli, Fabio Mottola, Daniela Proto and Angela Russo

Related Book

First chapter

Wind Power Development and Landscape – Social Participation, Opportunities and Challenges

By Karin Hammarlund, Marina Frolova and Anna Brånhult

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us