Conference PaperPDF Available

An Efficient Energy Management in Microgrid: A Game Theoretic Approach

  • Edo State University Iyamho

Abstract and Figures

Presently, power systems have the capacities to accommodate different framework for incorporating economic dispatch, transmission, storage, and electricity consumption. This can provide an efficient energy management for controlling, coordinating, planning and operations. This paper focuses on coordinating the behaviors of a typical energy management of microgrid which is an issue on energy interconnections. A setup of microgrid, electricity users, storage and utility company is designed. Initially, optimal solution is formulated as a three stage Stackelberg game in which each player is allow to maximize its payoffs, while ensuring load stability and reliability. The method of backward induction is applied to examine the non cooperative game problem. We further proposed an efficient Jaya-based conditional restricted Boltzmann machine for microgrid power output forecasting which enable the microgrid make strategic decision. Simulation results validate the fact that accurate prediction of renewable energy can influence the choice of microgrid strategies.
Content may be subject to copyright.
An Efficient Energy Management in Microgrid: A
Game Theoretic Approach
Omaji Samuel1, Zahoor Ali Khan2,, Sohail Iqbal3and Nadeem Javaid1
1COMSATS University Islamabad, Islamabad 44000, Pakistan
2Computer Information Science, Higher Colleges of Technology, Fujairah, United Arab
3National University os Science and Technology, Islamabad 44000, Pakistan
Corresponding author:
Abstract—Presently, power systems have the capacities to
accommodate different framework for incorporating economic
dispatch, transmission, storage, and electricity consumption. This
can provide an efficient energy management for controlling,
coordinating, planning and operations. This paper focuses on
coordinating the behaviors of a typical energy management of
microgrid which is an issue on energy interconnections. A setup
of microgrid, electricity users, storage and utility company is
designed. Initially, optimal solution is formulated as a three stage
Stackelberg game in which each player is allow to maximize its
payoffs, while ensuring load stability and reliability. The method
of backward induction is applied to examine the non cooperative
game problem. We further proposed an efficient Jaya-based
conditional restricted Boltzmann machine for microgrid power
output forecasting which enable the microgrid make strategic
decision. Simulation results validate the fact that accurate pre-
diction of renewable energy can influence the choice of microgrid
Index Terms—Energy management, Stackelberg game, Load
Crises will continue to increase if environmental and world-
wide energy are not tackled with robust large scale energy
sources. These large scale energy resources are not solely
obtained from conventional power system but with microgrid
technology. Conventional power systems are described by
it centralized and unidirectional energy flow and generation
and is not adaptable for high-level distributed and diversified
renewable energy sources (RES) [1]. Microgrid on the other
hand, is in miniature of power system which consists of load
and distributed resources, and can function as stand-alone or
grid-connected mode [2]. Nowadays, several types of emerging
demand-side resources can be found in microgrid, including
thermostatic appliances and electric vehicles, which enhance
the operations of microgrid. The relevances of renewable
energy penetration on the distribution systems are multi fold:
firstly, the renewable energy used at the point of production
helps to support local energy demand, which enhances the
reliability and minimizes the pressure on power grid; secondly,
renewable energy ensures emission free environmental friend-
liness via utilizing renewable energy-fueled generators; finally,
microgrid supplies energy demand through local distributed
generators and also reduces the transmission power loses due
to long distances as well as procurement cost on transmission
lines and large scale transformers.
Presently, power industry is constantly witnessing high pen-
etration of renewable energy, which brings in mind the concept
of multi-microgrid to denote cluster of several microgrids
either by close electrical or spatial distance [2]. The objective
is to integrate large distributed energy resource penetration to
the power system. It also include high resilience and stability
through fast energy exchange which remove the monopoly of
energy distribution owned by state over sales of energy. Multi-
microgrid architecture like the conventional power system
operates based on time period of certain operation rules (i.e.,
planning and operation) [3], architecture of multi-microgrid
in terms of interface and layout based on cost are discussed
in [4]. In addition, architecture of multi-microgrid based on
system of systems is discussed in [5] to formulate bi-level
optimization problem which handled individual microgrid as
multiple stage robust optimization with uncertainty in RES.
Others includes hierarchical control strategies which involve
primary droop-control of power electronic device, secondary
control of active and real power; and finally, energy manage-
ment system formulated as economic dispatch (ED) problem
that minimizes economic profit.
ED deals with economic consideration of power system in
terms of generation units. Nowadays, several literature studies
the ED single and multi-objectives that solved optimal power
flow problem through meta-heuristic techniques [6], [7]. In
respect to multi-microgrid operations, numerous work focus on
two adoptable approaches that coordinate multi-microgrid ED
such as decentralized and centralized approach. The objective
of the later approach is to incorporate the entire entities into
the system as single entity with overall objectives. The cen-
tralize system organizes and coordinates the operations of all
distributed generators in respective of their distinct objectives.
Ref [8] proposes hybrid interactive communication optimiza-
tion solution to solve microgrids’ plug-in and plug-out opera-
tions. The hybrid consists of two layers; upper layer performs
distributed control between multi-microgrids with no central
control; whereas, lower layer performs centralized controlling
of individual microgrid. Optimal information exchange is
achieved via flexible communication links among microgrids.
Ref [9] proposes a model predictive control scheme for multi-
microgrids energy management via coordination of individual
microgrids operations in an economic way through balancing
system-wide demand and supply. Chebyshev inequality and
delta method are applied to handle uncertainties of demand
and supply into quadratic and nonlinear programs. Ref [10]
presents a comprehensive evaluation of disparate microgrids
by applying mixed integer linear programming for yearly
simulations. They analyze short term daily operational cost
by using receding horizon model predictive control algorithm.
The aim of this scheme is to optimize flow of different energy
generators; to coordinate each microgrids entities and energy
exchange with the rest entity. In order to minimize the com-
plexities and computational efficiency, decentralized economic
dispatch of multi-microgrids is implemented in [11]–[14] to
reduce the operating cost, network complexity, improve effi-
ciency of storage usage. However, there exists limitations with
the above proposed models. The centralized technique requires
complete communication for all entities within the network.
However, it may not be scalable for plug and play distributed
energy resources, i.e., electric vehicle. Decentralized technique
is concerns about the individual goals of each entity which
does not guarantee global optimum. Thus, the conflict of
interests between the centralized and decentralized techniques
may push microgrids away from coordination. The focus of
this paper is to propose a non cooperative game approach that
capture the dynamic interconnections among utility company,
storage company, multi-microgrids and electricity users.
Cooperative and non cooperative game formed the fun-
damental building blocks of game theory. Each game is
concerned about reaching a balanced status in which no
player can make further adjustment of their strategies denoted
as Nash equilibrium for the later and core status for the
former [2]. In cooperative game, global optimum is achieved
vai coalition optimization model. Afterward, cost allocation
model is setup for fair distribution of profit to each individual
player. Hence, we can conclude that cooperative game is best
suitable for coordinated operation of multi-microgrids which
resolves conflicting interest among stakeholders (i.e, global
and local). Several work in the field of power system such as
transmission cost allocation, revenue sharing use the coopera-
tive game [15]–[20]. The cooperative game theory via nucleoli
concept is applied in [21], Shapely value concept is examined
in [23]. Whereas, a survey on smart grids’ game theoretic
methods are discussed in [22]. However, fewer application
of cooperative game in multi-microgrid coordinated operation
has not gained full exploration, in this regard, the authors
in [2] propose a cooperative game for coordinating multiple
microgrid operations using the bender decomposition (BD).
However, BD has not been extended to multiple objectives
which also requires several iterations to converge. On the
other hand, payoff of individual player in non cooperative
game depends on getting the maximum independent payoff.
However, global welfare is ignored. In retrospect, non coop-
erative game have not gain much exploration in field of smart
grid. Bingtuan et al. [30] propose a non cooperative game
theoretic method that optimizes storage capacity and energy
consumption. In addition, the method has a single photovoltaic
(PV) array which allows each user to own a PV-storage system
and can trade with grid where there is surplus; however, there
is no coalition among users which may compromise, cause
conflict and resentment. More so, a fair energy sharing is
not considered. Zhou et al. [29] demonstrates that the inner
variation of energy with the microgrids’ outer energy exchange
can be formulated using non cooperative game. However, the
principle of proportional sharing proposed to assign energy
trading among seller and buyers lack physical and economical
justification since the intermittent behaviors of microgrids
may indicate that the proposed strategies to maximize the
payoff may not be technically satisfactory as it does not
considered the correlation between microgrids behavior and its
generation. Zhenyu et al. [1] propose three-stage Stackelberg
game for energy management with big data-based renewable
power prediction. However, the genetic algorithm proposed
for wind load forecast is inefficient due to the following
reasons: computation complexity may occur if the sample
size increases; selecting wrong crossover probability value
can make the population change slowly, thus, it may not be
effective to explore all possibilities; choosing high mutation
value may produce individual that is totally different from the
main population; and finally it may lead in slow convergence
since only the fitted candidates are selected. In Liu et al. [26],
net power profile of the energy sharing network is enhanced
via a stochastic programming where the uncertainty of prices
, prosumer load and PV energy are considered. In order to
illustrate the energy consumption behavior of prosumer via
internal prices a Stackelberg game is used. However, this work
only considered the commercial and industrial prosumer while
ignoring the residential PV prosumer which we belief to have
the highest participant. Chen et al. [27] present a Nash equilib-
rium concept for the non cooperative game in order to examine
the strategic behavior of distributed microgrid. They consider
the economic factors, stability and efficiency of microgrid,
voltage angle regulations and power flow constraints. However,
the framework does not consider the generators as the leader
in Stackelberg game, storage dynamic and also to derive the
optimal power policies for scheduling players.
This paper focuses on the efficient and effective energy
usage of the RES. Due to the distribution energy management
problem which has multiple conflicting objective functions.
This paper aim at maximizes each objective function of the
active market player while ensuring power balancing and
reliability and also satisfying the electricity users demand.
Although, uncertainties exist in the RES that is uncontrollable,
we apply forecasting technique to obtain the short-term pre-
dictive value via deep learning approach. The contributions of
this paper are summarized as below:
1) A suitable framework is proposed using the three stage
Stackelberg to formulate uncertainty of microgrid’s deci-
sion making problems. It capture the dynamic interaction
and interconnection among power components. The first
stage is made up storage, utility company which act
as leaders of the microgrid, announces their electricity
prices to the microgrid. In the second stage, microgrid
acts as the leader of the electricity users and follower of
storage and utility company, adjust it strategies, energy
demand based of the electricity prices from the first
stage and announces it electricity prices to the electricity
users. Finally, the electricity users act as the follower of
microgrid, adjust their consumption based on electricity
prices received from the microgrid.
2) We resolve the uncertainty of RES by adopting a condi-
tional restricted Boltzmann machine (CRBM) to handle
the huge amount and high dimensional nonlinear data
by extracting multiple levels of distinct data abstraction.
Jaya algorithm is applied for parameter fitting of the
CRBM and the prediction error minimization. For com-
parative analyzes, The proposed model is compare with
other models in literature [1].
The organization of this paper is as follows: In Section I, we
present the introduction of the domain as well as review of
the related works on game theoretic approaches to energy
management in microgrid. Section II presents the system
model of energy management and problem formulation as
well as the objective functions. The algorithm of the RES
power forecasting and the optimization algorithm are discussed
in Section III. Simulations and analyzes are presented in
Section IV. Finally, Section V provides the conclusion and
expected future work.
User 1 User 2 User N
Wind turbine
Geothermal Photovoltaic
Bought energy
from microgrid
Sold energy to
Bought energy
from utility
Sold energy to
Pm,1 Pm,2 PM,m
E1,N E2,N EN,N
E2,M PM,g
Electric vehicle
Buffered sharing
Direct sharing Storage company
Fig. 1: Proposed system model.
A. System model
Fig. 1 shows the architecture of the proposed energy man-
agement with electricity user, microgrid, storage company and
the utility. In this system, we assumed a single storage and
utility company; single microgrid with two generation sources,
i.e., wind and solar (photovoltaic) and Nnumber of electricity
users. To ensure stability of the system, microgrid requirement
are met by the utility and storage company. To get efficiency
of the proposed system model, microgrid is assigned to meet
the load demand of the electricity user. However, renewable
energy exhibits stochastic behavior for which microgrid may
not satisfy the load demand of electricity users at a certain
time and may need to procure more energy from the storage
B. Objective function
The storage and utility company are the leaders of the game,
broadcast their unit electricity prices to the microgrid. With a
fair electricity prices, the utility and storage company intend
to maximize their payoff. The optimization of the utility and
storage company is given as:
Maximiz e
PgUg(Em,g, Pg),(1)
Maximiz e
PsUs(Em,s, Ps),(2)
The utility objective function is expressed as quadratic func-
tion of electricity demand Edem which is made of electricity
cost, Cutl(Edem )and Epul(Edem )is the pollutant emission
cost. Taking into account the line loss. We defined the utility’s
objective function as:
Ug(Em,g, Pg) = Revg(Em,g, Pg)Cutl (gEm,g )
Epul(gEm,g ),(3)
Revg(Em,g , Pg) = Em,gPg,
Cutl(gEm,g ) = ag(gEm,g )2+bg(gEm,g )2+cg,
Epul(gEm,g ) = αg(gEm,g )2+βg(gEm,g ).
From Equation 3, first term represents the electricity revenue
and the second term and third term denote the power gener-
ation cost function and pollutant emission, respectively. Let
Em,g is microgrid’s quantity of electricity purchased from
utility, pgbe utility’s unit electricity prices. ag= 0.03, bg=
0.03, cg, αg= 0.08, βg= 0.08 be the cost parameters of
Cutl(gEm,g )and Epul (gEm,g),Ploss
gbe the transmission
power loss percentage (i.e., which is related to voltage , resis-
tance and efficiencies of transformer). Generated electricity
gEm,g is used to satisfy microgrids’ demand, Em,g and
C. Objective function of the storage company
The storage company objective function after considering
the power loss during charging and discharging is define as:
Us(Em,s, Ps) = Revs(Em,s , Ps)Cs(sEm,s),(5)
Revs(Em,s, Ps) = Em,s Ps,
Cs(Es, Ps) = cssEm,s
From Equation 5, the first term represents the revenue of
the storage company and the second term represents storage
company cost function. Let Em,s is the microgrids’ quantity of
electricity purchased from the storage company, Psis the stor-
age company unit electricity prices, ηc= 0.5, ηd= 0.5are the
efficiencies of charging and discharging. cs= 1.5represents
the unit cost maintenance and operation and s=1
D. objective function of microgrid
Tn the three-stage Stackelberg game, microgrid performs
double roles such as follower of utility and storage, and leader
of users. The microgrid broadcast the electricity price to users,
and define the amount of power that is needed from the
utility and storage company. Microgrid maximizes its payoff
by adjusting its electricity prices and the quantity of electricity
demand. We assumed a single microgrid with two distributed
generators ( wind and solar) as source of power output, we also
consider the satisfaction function based on utility and storage
company quality of service of electricity. The optimization of
the microgrid is given as:
Maximiz e
Em,g,Em,s ,PmUm(Em,g , Pm),(7)
s.t. C1 : 0 gEm,g Eg ,max,
C2:0sEm,s Es,max,
C3 : 0 PmPm,max,
C4 : Em,s +Em,g =max
En,m ˆ
Lwind,solar ,0,
C5 :
En,m ˆ
Lwind,solar >0.
Where Eg,max = 200kW, Es,max = 100kW, Pm,max =
50cents/kW h are the maximum amount of electricity utility
sold to microgrid, storage company and the maximum electric-
ity prices user can afford. If PN
n=1 En,m ˆ
0, then the microgrid is satisfied with it generated electricity.
The objective function of microgrid is defined as:
Um(Em,g, Pm) = Revm,g(Em,g ) + Revm,s (Em,s)
Cm,g(Em,g , Pg)Cm,s (Em,s, Ps)
+Revm(Ek,m, Pm)Cm(ˆ
Lsolar,∆) Epul(ˆ
Lwind,∆) + F||,
Revm,g (Em,g) = Xm,g Em,g dm,g
Revm,s(Em,s ) = Xm,sEm,s dm,s
Cm,g(Em,g , Pg) = Em,g Pg,
Cm,s(Em,s , Ps) = Em,sPs,
Revm(En,m, Pm) =
Lwind + ∆) = am(ˆ
Lwind + ∆)2
Lwind + ∆) + cm,
Lsolar,∆) = csolar(ˆ
Lsolar + ∆)
Lwind + ∆) = αm(ˆ
Lwind + ∆)2
Lwind + ∆).
Let Revm,g (Em,g)be the satisfaction value and
Cm,g(Em,g , Pg)be utility company electricity sold to
microgrid , satisfaction parameter, Xm,g = 5 of utility
company is assume since it is hard to model satisfaction
parameter accurately. dm,g = 0.21 be the predefined
satisfaction parameter of microgrid, Revm,s(Em,s )
and Cm,s(Em,s , Ps)are same as Revm,g (Em,g)and
Cm,g(Em,g , Pg)previously defined. Let Revm(En,m , Pm)
be the revenue obtained from electricity users, En,m
is the nth users amount of electricity and Pmbe the
unit electricity price of microgrid, Cm(ˆ
Lwind,∆) and
Lwind,∆) is the pollutant emission and wind power
generation cost function, with the constant parameters
am= 0.05, bm= 0.05, cm= 0.05, αm= 0.05, βg= 0.05.
Lsolar,∆) is the cost function of the solar power
output, csolar be the operation and maintenance cost,
Lsolar + ∆) be the solar power output. Let ˆ
Lwind + ∆ and
Lsolar + ∆ denote the wind and solar power prediction and
Lwind,solar = 285kW be the actual capacity of the microgrid
power output, is the prediction error such that F < 0, i.e.,
when prediction result is inaccurate, microgrid’s payoff will
decrease. Let F=50 be the penalty factor.
E. Objective function of electricity users
The objective function of the nth electricity user is defined
with consideration of the satisfaction parameters. The electric-
ity user act as the follower of the microgrid and the amount
of power purchase by the electricity users depend on the Pm
to get maximize payoff. The nth electricity users is define as:
Maximiz e
En,m Un(En,m, Pm)s.t. En,m En,b ,(11)
where En,b is the demand of nth electricity user and the
objective function is define as:
Un(En,m, Pm) = Revn,m (En,m)Cn,m (En,m, Pm),(12)
Revn,m(En,m ) = Xn,mEn,m dn,b
Cn,m(En,m , Pm) = En,mPm.
Let Revn,m(En,m )and Cn,m(En,m , Pm)be the satisfaction
value and payment that nth electricity user made from elec-
tricity bought from microgrid. Let Xn,m and dn,b be the
satisfaction parameter and predefined satisfaction parameter
of the microgrid
CRBM is the extension of the restricted Boltzmann ma-
chine, which is used to model time series and human ac-
tivities [28]. This paper addresses the parameter setting of
CRBM and train the network via an optimization algorithm.
Since wind and solar forecast is a time series problem, we
adopt the CRBM to handle the huge amount nonlinear data,
which is capable of extracting multiple levels of distinct data
abstraction. The concept of CRBM works where the higher
levels are derived from the lower level ones. In this section,
we describe CRBM based on mathematical details such as
energy function, probability reference and learning rules.
ξ(v, h, u;W) = vTWvh vTauTWuv v
uTWuhhhTb, (14)
where ξ(v, h, u;W)is the energy function with respect to
u,v,h and W,v= [v1, . . . , vn]collects all the real values
for the visible unit, and vnis the last visible neurons’ index.
u= [u1, . . . , un]is the real values for the history unit, and
h= [hi, . . . , hn]is the hidden unit with binary vectors.
Wvh R,Wvu Rand Wuh Rdenote the weight
matrix connecting layers. b, a Rdenote the biases for hidden
and visible neuron, respectively. Where Wvh is bidirectional;
while, Wuh and Wuv are non-bidirectional.
The stochastic or probability inference of CRBM is obtained
by deriving two conditional distributions. The first conditional
distribution is used for getting the probability of hidden layer
that is conditioned on the rest layers; i.e., p(h|v, u), while
the second is used to get the probability of the visible layer
conditioned on the rest layers, i.e., p(v|h, u). The inference is
carried out in parallel for individual unit type since there is
no connection between the neuron of the same layer [28].
p(h|u, v) = sig(uTWuh +vTWv h +b),(15)
p(v|h, u) = N(WuvTu+Wvh h+a, σ2),(16)
where for brevity, we choose σ= 1. The hidden layer
is activated by a sigmoid function that denotes the value
of probability. The term Ndenotes the Gaussian activation
function over the total input of individual visible layer, whose
value is used as the probability of visible layer.
In the learning rules step, parameters are adjusted by a
maximal likelihood function in which the gradients of energy
function with respect to the weight are being computed. Due
to the problem of deriving the gradient of the likelihood
function, a contrastive divergence is implemented to minimize
the Kullback-Leibler measure between the input data and the
forecast data. Update of various weights and biases is obtained
by finding the derivative of energy function with respect to
individual variables. The update is in two phases: using the
Gibbs sampling for each training, the hidden unit is updated
by initializing the visible unit with the training data, while
visible unit is updated using the values of hidden unit. The
equations for weights and biases are given in [28] and the
parameters of CRBM used in this paper are learning rate
(τ)=0.001, hidden layer=10; output layer=1, momentum=0.9
and weight decay=0.002; .
In this paper, the mean absolute percentage error (MAPE)
for the validation sample which is termed as the prediction
error .
M AP E =1
where y
ndenotes the nth actual microgrid power output, and
ynrepresents the nth microgrid forecast power output. The
total time Ncan represent the hourly, daily, weekly, seasonal
or yearly time trends. Therefore, the final minimal value of
M AP E after a series of iterations is used as the validation
error ().
A. Forecast error minimization
The MAPE is further minimized using the Jaya optimization
algorithm and objective function, mathematically it is written
NM AP E, τ ;n[1,2, . . . , N ],(18)
Jaya algorithm was developed by Rao in 2016 to solve the
constrained and non-constrained optimization problem [29].
Jaya algorithm is used as a tool for providing optimal solutions
in different domains like the microgrid [30], smart grid [31],
etc. We denote the optimization function as f(x)which is
require for minimization at any iteration r. Let var be the
number of decision variables (1,2, . . . , var)and the whole
candidate’s solution is represented as NS. Let f(x)good be the
candidates with a good solution and f(x)bad be the candidates
with a bad solution. The modified value is obtained using
equation (19).
j,l,t =Modj,l,t
+r[0](Modj,good,t − |M odj,l,t |)
r[1](Modj,bad,t − |Modj,l,t|),
where Modj,good,t is the value of variable lfor the good
candidate and Modj,bad,t is the value of variable lfor the bad
candidate; r[0] and r[1] are the two random numbers in range
of [0,1]. The term r[0](Modj,good,t −|M odj,l,t |)represents the
tendency of the solution to move close to the good solution;
whereas, the term r[1](Modj,bad,t − |Modj,l,t|)represents the
tendency of solution to avoid the bad solution. All accepted
function value at the each ris maintained, which serves
as input to subsequent iterations. The algorithm 1 illustrates
optimization process of the proposed Jaya-CRBM model. The
parameters of Jaya based optimization algorithm are popula-
tion size (POP)=30, number of decision variable=2, maximum
iteration (MaxGen)=1000, minimum population=0.1 and max-
imum population=0.9.
Algorithm 1 Proposed Jaya-CRBM
1: procedure JAYA ALGORITHM()Get the minimized
forecast error
2: Intialized algorithm parameter
3: set gen = 0;
4: Train power output using CRBM,
5: Evaluate fitness of trained dataset,
6: while gen < maxGen do MaxGen is maximum
7: for gPOP do POP is the maximum
8: Calculate and store good and
9: bad individual solution,
10: Trim solution using Equation 19,
11: Evaluate fitness of trim
12: If previous fitness better
than later,
13: Replace population with the best,
14: Repeat until maximum iteration
15: gen=get+1;
16: return
Pwind (kWh)
20 7
Time (h)
25 1
Fig. 2: Wind power output [32].
Psolar (kWh)
20 7
Time (h)
25 1
Fig. 3: Solar power output [32].
This section discusses the proposed game theoretic energy
management with solar and wind power forecasting via sim-
ulation. To evaluate the forecasting model, hourly real data
of wind turbine and solar power which were collected from
National renewable energy laboratory (NREL) national wind
technology center are shown in Fig. 2 and Fig. 3, respectively.
The power received from utility company is assumed to be
lower than that of the microgrid. Similarly, utility company
pollutant emission cost is assumed to be higher than that
of microgrid. In addition, we also assumed microgrid is
preferred to use stored energy, i.e., the satisfaction parameter
of microgrid is higher than the storage company and the basic
load demand of each electricity users is also assumed to be
the same.
10 20 30 40 50 60 70 80 90 100
Basic Electricity Demand of Users E
n,b * 1 hour (kWh)
Price (cents/kWh)
the utility company pg
the energy storage company ps
the microgrid pm
Fig. 4: Showing the optimal prices of utility company, storage
company and microgrid.
Fig. 4, demonstrates the optimal prices of storage, utility
and microgrid in respect to user demand. The simulation
results report that there is monotonic increase of price for
storage, utility company and microgrid as the user demands
increases. It is also seen from simulation results that the
electricity prices of storage company is higher than the utility
company, it due to microgrids’ desire to get clean energy from
the storage company. More so, higher prices are reported for
microgrid than the utility and storage company, respectively.
This is because the microgrid desires to maximize its payoff
by announcing higher electricity prices to the electricity users
and the storage company.
Fig. 5 shows the procurement cost between t the storage
company and utility. From the simulation results, the amount
of microgrids’ power purchased from utility and storage com-
pany remains stable as the users electricity demand increases.
This is due to microgrid desire to pay get less power from
storage company and utility company as electricity demands
of users increases.
Fig. 6 presents the microgrids’ optimal payoff versus the
prediction error obtained from the power output forecasting by
Jaya-CRBM. If the forecast error is nonnegative, it means that
the predicted amount of power output is more than the actual
amount of power output; thus, microgrid may like pays more
to get electricity from storage and utility. From the simulation
10 20 30 40 50 60 70 80 90 100
Basic Electricity Demand of Users E
k,b * 1 hour (kWh)
Electricity procurement Quantity (kWh)
the utility company Em,g
the energy storage company Em,s
Fig. 5: Showing the electricity procurement cost from storage
and utility company.
1 2 3 4 5 6 7 8 9 10
The Prediction Error
Payoff of the Microgrid
Fig. 6: Showing microgrids’ optimal payoff versus prediction
results, three different user load demand of 40, 60 and 80 kW
have been examined. the optimal payoff of microgrid decreases
monotonically due to the following reasons: the electricity
prices of microgrid is higher than both utility company and
storage company and microgrid is charged based on the power
output of the forecast wind and solar.
10 20 30 40 50 60 70 80 90 100
Basic Electricity Demand of Users E
k,b * 1 hour (kWh)
the utility company Ug
the energy storage company Us
the microgrid Um
Fig. 7: Showing the storage, utility company and microgrid
optimal payoffs.
Fig. 7 presents the optimal payoff of utility company, stor-
age company and microgrid versus the basic user electricity
demand. From the simulation results, the payoffs are shown
to monotonically increases as the electricity demand of users
increases. We also observed that the payoff of microgrid is
higher than both the payoffs of utility company and storage
company, respectively. Thus, microgrid may like buy from
storage company than from the utility, however, the payoff
of the storage company is higher than the utility company.
1 1.5 2 2.5 3 3.5 4 4.5 5 5.5
MAPE (%)
Genetic SAE
Fig. 8: Showing MAPE values for the three models versus
forecasting step.
Fig. 8 demonstrates the MAPE value of three algorithms,
i.e., the CRBM, back propagation (BP) and genetic stacked
encoder and decoder (Genetic SAE) versus the forecasting step
of the wind and solar energy. From the simulation results,
forecasting step increases along with MAPE values. Thus, an
inaccurate results will occur if the step continue to increases.
In addition, our proposed algorithms show better MAPE values
as compared to the other two algorithms.
This paper presents three-stage Stackelberg game for the
energy management which consists of the interconnections
between utility company, storage company, microgrid and
the electricity users. In order to provide efficient model for
microgrid operation, we perform power output forecast of
wind and solar which assists the microgrid to apply the energy
management strategies. We assume a single utility company,
storage company as leaders, whereas, microgrid leader of user
and follower of storage and utility company, while the users
as follower of microgrid to formulate three stage Stackelberg
game, where each player wishes to maximize its payoffs.
The closed form expression of the analysis via backward
induction for each stage and their respective optimal prices
are examined. Simulation is applied to validate the proposed
system that define the behavior of microgrid in respect to
the power output forecast error. In addition, a Jaya-CRBM
is applied to resolve the limitations of existing technique
in literature (Genetic SAE and BP), which demonstrates to
outperform the above mention technique. In our future work,
energy management regarding coordination between multi-
microgrid operations that is based on economic dispatch for
fuel cost minimization. This is achieve through scheduling of
generators which limits certain load demand at some specific
interval. The power loss of microgrids due to distance between
the multi-microgrid is also considered.
[1] Zhou, Zhenyu, Fei Xiong, Biyao Huang, Chen Xu, Runhai Jiao, Bin Liao,
Zhongdong Yin, and Jianqi Li. “Game-theoretical energy management for
energy Internet with big data-based renewable power forecasting.” IEEE
Access 5 (2017): 5731-5746.
[2] Du, Yan, Zhiwei Wang, Guangyi Liu, Xi Chen, Haoyu Yuan, Yanli Wei,
and Fangxing Li. “A cooperative game approach for coordinating multi-
microgrid operation within distribution systems.” Applied Energy 222
(2018): 383-395.
[3] Kim, Hak-Man, Yujin Lim, and Tetsuo Kinoshita. “An intelligent mul-
tiagent system for autonomous microgrid operation.” Energies 5, no. 9
(2012): 3347-3362.
[4] Bullich-Massagu, Eduard, Francisco Daz-Gonzlez, Mnica Arags-Pealba,
Francesc Girbau-Llistuella, Pol Olivella-Rosell, and Andreas Sumper.
”Microgrid clustering architectures.” Applied Energy 212 (2018): 340-
[5] Zhao, Bo, Xiangjin Wang, Da Lin, Madison Calvin, Julia Morgan, Ruwen
Qin, and Caisheng Wang. “Energy Management of Multiple-Microgrids
based on a System of Systems Architecture.” IEEE Transactions on Power
Systems (2018).
[6] Biswas, Partha P., P. N. Suganthan, R. Mallipeddi, and Gehan AJ
Amaratunga. “Optimal power flow solutions using differential evolution
algorithm integrated with effective constraint handling techniques.” En-
gineering Applications of Artificial Intelligence 68 (2018): 81-100.
[7] Biswas, Partha P., P. N. Suganthan, B. Y. Qu, and Gehan AJ Amaratunga.
“Multiobjective economic-environmental power dispatch with stochastic
wind-solar-small hydro power.” Energy 150 (2018): 1039-1057.
[8] Jie, Y. U., N. I. Ming, J. I. A. O. Yiping, and W. A. N. G. Xiaolong.
“Plug-in and plug-out dispatch optimization in microgrid clusters based
on flexible communication.” Journal of Modern Power Systems and Clean
Energy 5, no. 4 (2017): 663-670.
[9] Kou, Peng, Deliang Liang, and Lin Gao. “Distributed EMPC of multi-
ple microgrids for coordinated stochastic energy management.” Applied
energy 185 (2017): 939-952.
[10] Holjevac, Ninoslav, Tomislav Capuder, Ning Zhang, Igor Kuzle, and
Chongqing Kang. “Corrective receding horizon scheduling of flexible
distributed multi-energy microgrids.” Applied Energy 207 (2017): 176-
[11] Pei, Wei, Yan Du, Wei Deng, Kun Sheng, Hao Xiao, and Hui Qu.
“Optimal bidding strategy and intramarket mechanism of microgrid ag-
gregator in real-time balancing market.” IEEE Transactions on Industrial
Informatics 12, no. 2 (2016): 587-596.
[12] Nikmehr, Nima, Sajad Najafi-Ravadanegh, and Amin Khodaei. “Prob-
abilistic optimal scheduling of networked microgrids considering time-
based demand response programs under uncertainty.” Applied energy 198
(2017): 267-279.
[13] Wu, Jiang, and Xiaohong Guan. “Coordinated multi-microgrids optimal
control algorithm for smart distribution management system.” IEEE
Transactions on Smart Grid 4, no. 4 (2013): 2174-2181.
[14] Fathi, Mohammad, and Hassan Bevrani. “Statistical cooperative power
dispatching in interconnected microgrids.” IEEE Trans. Sustain. Energy
4, no. 3 (2013): 586-593.
[15] Tsukamoto, Yukitoki, and Isao Iyoda. “Allocation of fixed transmission
cost to wheeling transactions by cooperative game theory.” IEEE Trans-
actions on Power Systems 11, no. 2 (1996): 620-629.
[16] Zolezzi, Juan M., and Hugh Rudnick. “Transmission cost allocation by
cooperative games and coalition formation.” IEEE Transactions on power
systems 17, no. 4 (2002): 1008-1015.
[17] Rao, M. S. S., and S. A. Soman. “Marginal pricing of transmission
services using min-max fairness policy.” IEEE Transactions on Power
Systems 30, no. 2 (2015): 573-584.
[18] Street, Alexandre, Delberis A. Lima, Lucas Freire, and Javier Contreras.
“Sharing quotas of a renewable energy hedge pool: A cooperative game
theory approach.” In 2011 IEEE Trondheim PowerTech,IEEE, (2011):
[19] Khalid, Muhammad Usman, Nadeem Javaid, Muhammad Nadeem Iqbal,
Ali Abdur Rehman, Muhammad Umair Khalid, and Mian Ahmer Sarwar.
”Cooperative Energy Management Using Coalitional Game Theory for
Reducing Power Losses in Microgrids.” In Conference on Complex,
Intelligent, and Software Intensive Systems, Springer, Cham, (2018): 317-
[20] Lee, Woongsup, Lin Xiang, Robert Schober, and Vincent WS Wong.
“Direct electricity trading in smart grid: A coalitional game analysis.”
IEEE Journal on Selected Areas in Communications 32, no. 7 (2014):
[21] Nguyen, Tri-Dung, and Lyn Thomas. “Finding the nucleoli of large
cooperative games.” European Journal of Operational Research 248, no.
3 (2016): 1078-1092.
[22] Saad, Walid, Zhu Han, H. Vincent Poor, and Tamer Basar. “Game-
theoretic methods for the smart grid: An overview of microgrid systems,
demand-side management, and smart grid communications.” IEEE Signal
Processing Magazine 29, no. 5 (2012): 86-105.
[23] Kristiansen, Martin, Magnus Korps, and Harald G. Svendsen. “A generic
framework for power system flexibility analysis using cooperative game
theory.” Applied Energy 212 (2018): 223-232.
[24] Bingtuan, G. A. O., L. I. U. Xiaofeng, W. U. Cheng, and T. A. N. G. Yi.
“Game-theoretic energy management with storage capacity optimization
in the smart grids.” Journal of Modern Power Systems and Clean Energy
(2018): 1-12.
[25] Zhou, Wenhui, Jie Wu, Weifeng Zhong, Haochuan Zhang, Lei Shu, and
Rong Yu. “Optimal and Elastic Energy Trading for Green Microgrids: a
two-Layer Game Approach.” Mobile Networks and Applications (2018):
[26] Liu, Nian, Minyang Cheng, Xinghuo Yu, Jiangxia Zhong, and Jinyong
Lei. “Energy Sharing Provider for PV Prosumer Clusters: A Hybrid
Approach using Stochastic Programming and Stackelberg Game.” IEEE
Transactions on Industrial Electronics 65, no. 8 (2018): 6740-6750.
[27] Chen, Juntao, and Quanyan Zhu. “A game-theoretic framework for
resilient and distributed generation control of renewable energies in
microgrids.” IEEE Transactions on Smart Grid 8, no. 1 (2017): 285-295.
[28] Mocanu, Elena, Phuong H. Nguyen, Madeleine Gibescu, and Wil L.
Kling. “Deep learning for estimating building energy consumption.
Sustainable Energy, Grids and Networks 6 (2016): 91-99.
[29] Rao, R. “Jaya: A simple and new optimization algorithm for solving con-
strained and unconstrained optimization problems.” International Journal
of Industrial Engineering Computations 7, no. 1 (2016): 19-34.
[30] Samuel, Omaji, Nadeem Javaid, Mahmood Ashraf, Farruh Ishmanov,
Muhammad Khalil Afzal, and Zahoor Ali Khan. “Jaya based Optimization
Method with High Dispatchable Distributed Generation for Residential
Microgrid.” Energies 11, no. 6 (2018): 1-29.
[31] Samuel, Omaji, Nadeem Javaid, Sheeraz Aslam, and Muhammad Hassan
Rahim. “JAYA optimization based energy management controller.” In
Computing, Mathematics and Engineering Technologies (iCoMET), 2018
International Conference on, pp. 1-8. IEEE, 2018.
[32] National renewable energy laboratory (NREL), National wind tech-
nology center [Online] https :// bms/,
(accessed 28 August 2018).
... For example, all EVs are connected to aggregator 'i', which can take several possible actions in the game (G). The aggregator performs evaluations such that the total demand at time t is supplied within the time requested by EV users [26,27]. The aggregator checks monitors value to manage the load. ...
Full-text available
The number of Electric vehicle (EV) users is expected to increase in the future. The driving profile of EV users is unpredictable, necessitating the design of charging scheduling protocols for EV charging stations servicing multiple EVs. A large EV charging load affects the grid in terms of peak load demand. Electric vehicle charging stations with solar panels can help to reduce the grid impact of EV charging events. With reference to the increasing number of EVs, new technology needs to be developed for charging station and management to create a stable system for users, and electric utilities. The load of a total EV charge can affect the grid, degrading quality and system stability. In this paper, a charging station scheduling strategy is proposed based on the game theoretic approach. In the proposed strategy, with respect to the grid load demand minimization, charging stations have scheduled EV charging times to prevent sudden peak load on the grid the proposed game theory strategy is sudden peak load on the grid. The proposed game theory strategy is defined on the basis of priority so that both grid operators and EV users can maximize their profit by setting priorities for charging and discharging. This work provides a strategy for grid peak load minimization.
... Through this study, the cluster method applied to identify electrical power clustering for each region in the working area of PLN which has variable value consisting of job (V1), overall income (V2), house area (V3), number of rooms (V4), number of equipment electronic (V5) and the amount of usage power (V6), each of which can be grouped into clustering classification to efficiently in predicting the power requirements of each sub-district or region grouping [23]. Furthermore, these variables were included in the process of FCM classification in determining the amount of power in each region and the system to be built in predicting the total amount of power installed from each grouping region. ...
Full-text available
This paper presents a model for optimal energy management under the time-of-use (ToU) and critical peak price (CPP) market in a microgrid. The microgrid consists of intermittent dispatchable distributed generators, energy storage systems, and multi-home load demands. The optimal energy management problem is a challenging task due to the inherent stochastic behavior of the renewable energy resources. In the past, medium-sized distributed energy resource generation was injected into the main grid with no feasible control mechanism to prevent the waste of power generated by a distributed energy resource which has no control mechanism, especially when the grid power limit is altered. Thus, a Jaya-based optimization method is proposed to shift dispatchable distributed generators within the ToU and CPP scheduling horizon. The proposed model coordinates the power supply of the microgrid components, and trades with the main grid to reduce its fuel costs, production costs, and also maximize the monetary profit from sales revenue. The proposed method is implemented on two microgrid operations: the standalone and grid-connected modes. The simulation results are compared with other optimization methods: enhanced differential evolution (EDE) and strawberry algorithm (SBA). Finally, simulation results show that the Jaya-based optimization method minimizes the fuel cost by up to 38.13%, production cost by up to 93.89%, and yields a monetary benefit of up to 72.78% from sales revenue.
Full-text available
Economic-environmental power dispatch is one of the most popular bi-objective non-linear optimization problems in power system. Classical economic power dispatch problem is formulated with only thermal generators often ignoring security constraints of the network. But importance of reduction in emission is paramount from environmental sustainability perspective and hence penetration of more and more renewable sources into the electrical grid is encouraged. However, most common forms of renewable sources are intermittent and uncertain. This paper proposes multiobjective economic emission power dispatch problem formulation and solution incorporating stochastic wind, solar and small-hydro (run-of-river) power. Weibull, lognormal and Gumbel probability density functions are used to calculate available wind, solar and small-hydro power respectively. Some conventional generators of the standard IEEE 30-bus system are replaced with renewable power sources for study purpose. Network security constraints such as transmission line capacities and bus voltage limits are also taken into consideration alongwith constraints on generator capabilities and prohibited operating zones for the thermal units. Decomposition based multiobjective evolutionary algorithm and summation based multiobjective differential evolution algorithm are applied to the problem under study. An advanced constraint handling technique, superiority of feasible solutions, is integrated with both the multiobjective algorithms to comply with system constraints. The simulation results of both the algorithms are summarized, analyzed and compared in this study.
Full-text available
Energy trading mechanism for microgrids has an inherent two-layer architecture, in which the energy trading at the first layer is between a microgrid aggregator and consumers (e.g., households) within a microgrid, and the second layer is referred to as the wide area energy trading among multiple microgrids. This paper employs a two-layer game approach to achieve optimal and elastic energy trading for microgrids and improve utilization of green energy. First, a non-cooperative game is developed inside a microgrid, in which the relationship among household users is non-cooperative, and they adjust load schedules to optimize their utilities while trading energy with the microgrid aggregator. Second, a multileader-multifollower Stackelberg game is employed for the energy trading among microgrids. The role of a microgrid (as an energy buyer or seller) in the energy market is based on the result of the first game, and it can elastically adjust its energy trading strategy by charging or discharging the energy storage device. The existence and uniqueness of the equilibriums for the two games are proven. We also present algorithms that can reach the equilibriums where players achieve optimal utilities. Simulation results show that the proposed two-layer energy trading is able to significantly improve the utilization of microgrids’ green energy.
Conference Paper
Full-text available
In this paper, we presented JAYA algorithm which is a recently developed scheme that do not need any specific parameter to be adjusted except the known control parameters. To achieve the set of objectives like: electricity bill minimization, peak to average ratio (PAR) reduction, minimum user dissatisfaction , a proposed JAYA energy management controller (JAYA-EMC) for optimization is implemented. In increasing sustainability of smart grid, the simulation results of our proposed scheme is proven to be cost effective solution. In addition, the feasible region (FR) of appliances are calculated which show relationship between energy load, cost and delay.
Full-text available
With the development of smart grids, a renewable energy generation system has been introduced into a smart house. The generation system usually supplies a storage system with the capability to store the produced energy for satisfying a user’s future demand. In this paper, the main objective is to determine the best strategies of energy consumption and optimal storage capacities for residential users, which are both closely related to the energy cost of the users. Energy management with storage capacity optimization is studied by considering the cost of renewable energy generation, depreciation cost of storage and bidirectional energy trading. To minimize the cost to residential users, the non-cooperative game-theoretic method is employed to formulate the model that combines energy consumption and storage capacity optimization. The distributed algorithm is presented to understand the Nash equilibrium which can guarantee Pareto optimality in terms of minimizing the energy cost. Simulation results show that the proposed game approach can significantly benefit residential users. Furthermore, it also contributes to reducing the peak-to-average ratio (PAR) of overall energy demand.
Full-text available
According to the energy policy of encouraging local consumption of photovoltaic (PV) energy, the energy sharing among neighboring PV prosumers is proved to be a more effective way than the independent operation of each prosumer. In this paper, a Energy Storage (ES)-equipped Energy Sharing Provider (ESP) is proposed to facilitate the energy sharing of multiple PV prosumers. By using the ESP, the autonomous PV prosumers can be formed as an energy sharing network, and the energy sharing activities can be categorized as direct sharing and buffered sharing. First, with the assistance of the ES, a day-ahead scheduling model of ESP is built to increase the operation profit and improve the net power profile of the energy sharing network, which considers the uncertainty of PV energy, electricity prices and prosumers' load via stochastic programming. Moreover, to further increase the energy sharing, a real-time Demand Response (DR) model based on Stackelberg game is presented to coordinate the energy consumption behavior of prosumers by using internal prices. Finally, through a practical case study, the effectiveness of the method is verified in terms of improving the economic benefits and PV energy sharing.
Smart Grid (SG) has attained the great attention of the research community. SG integrates Distributed Energy Generators (DG) to produce electricity. Micro Grids (MG) exploit many Renewable Energy Sources (RES) such as wind turbine and solar panels. Due to intermittent nature of RES, the power output cannot be controlled and MGs often have a surplus or deficient energy to exchange with Utility Grid (UG). However, power line losses and energy sharing cost between UG and each MG are higher than among the MGs. In contrast, energy sharing among MGs is a promising solution to alleviate power line losses and minimize energy sharing cost. Authors proposed a cooperative model in which MGs make coalitions using coalitional game theory depending upon the distance among MGs. MGs exchange energy with other MGs as well as with UG in such a manner to optimize the objective function. Simulation results demonstrated that cooperative model alleviates power line losses by 42% and minimize energy sharing cost as compared to the non-cooperative model.
The rapid development of microgrid (MG) has made it ready to connect multiple MGs for providing regional power supply. The energy management of a multi-microgrid (MMG) system is the key to the reliable, economic operation of the interconnected power system. The MMG system is rich in distributed generation sources. The intermittence and volatility of renewable energy sources (RESs) such as wind and solar cannot be ignored in a large-scale hybrid power system. Therefore, the energy management of a MMG system is a complex problem that coordinates distributed generation units within individual MGs, the power exchange among MGs, and the power trading between the grid and MGs. System of systems (SoS) has been identified as an effective way of forming a MMG system and coordinating the participating MGs for energy management. This paper proposes a hierarchical decentralized SoS architecture for the energy management of a MMG system and, accordingly, formulates it as a bi-level optimization problem. Energy management at the level of individual MGs is modeled as a multiple-stage robust optimization to handle the issue of RES uncertainty. Energy management at the level of MMG system further addresses the problem of spatially unbalanced demand and generation in the area. The proposed MMG energy management is further verified through a case study.