Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Electric Power Components and Systems

ISSN: (Print) (Online) Journal homepage: https://www.tandfonline.com/loi/uemp20

An Intelligent Multi Agent based Approach for


Autonomous Energy Management in a Microgrid

Sujil Areekkara, Rajesh Kumar & Ramesh C Bansal

To cite this article: Sujil Areekkara, Rajesh Kumar & Ramesh C Bansal (2021) An Intelligent
Multi Agent based Approach for Autonomous Energy Management in a Microgrid, Electric Power
Components and Systems, 49:1-2, 18-31, DOI: 10.1080/15325008.2021.1937390

To link to this article: https://doi.org/10.1080/15325008.2021.1937390

Published online: 30 Jun 2021.

Submit your article to this journal

Article views: 52

View related articles

View Crossmark data

Full Terms & Conditions of access and use can be found at


https://www.tandfonline.com/action/journalInformation?journalCode=uemp20
Electric Power Components and Systems, 49(1-2): 18–31, 2021
# 2021 Taylor & Francis Group, LLC
ISSN: 1532-5008 print / 1532-5016 online
DOI: 10.1080/15325008.2021.1937390

An Intelligent Multi Agent based Approach for


Autonomous Energy Management in a Microgrid
Sujil Areekkara,1 Rajesh Kumar ,2 and Ramesh C Bansal3,4
1
Department of Electrical Engineering, Rajarambapu Institute of Technology, Rajaramnagar, Maharashtra, India
2
Department of Electrical Engineering, Malaviya National Institute of Technology, Jaipur, Rajasthan, India
3
Department of Electrical Engineering, University of Sharjah, Sharjah, United Arab Emirates
4
Department of Electrical, Electronic and Computer Engineering, University of Pretoria, Pretoria, South Africa

CONTENTS
Abstract—The integration of highly intermittent and unpredictable
1. Introduction distributed energy resources increases the complexities in the energy
management system (EMS). Therefore, the conventional control used
2. Multi Agent System (MAS)
in microgrid EMS is no more effective and requires alternative
3. Microgrid Modeling control strategies that can cope up with the new dynamics in the
4. Simulation Results and Analysis system. Adopted from computer science, a distributed artificial
5. Conclusion intelligence technique called multi agent system (MAS) can serve
this purpose well due to its inherent autonomous nature, scalability,
References flexibility, and adaptability. Consequently, in this paper, a new multi
agent based architecture for microgrid energy management system
has been proposed. The proposed model considers different
forecasting agents and a real time correction agent for microgrid
energy management. The performance of proposed MAS based
microgrid EMS modeled in a new platform called Stateflow has
been evaluated by developing different scenarios considering
resource fluctuations and load variations. The simulation results
demonstrate the effectiveness of the proposed architecture in
outperforming the conventional microgrid energy management
system and the effective usage of each component of the microgrid.

1. INTRODUCTION
A microgrid (MG) consists of a cluster of loads and dis-
tributed generators serving as a single controllable entity
that can be operated autonomously or in association with
the main grid for providing power to its local area [1]. The
addition of new renewable energy resources increases the
complexity and changes the dynamics of the system due to
highly intermittent and unpredictable nature of distributed
energy resources (DERs). Consequently, the control strat-
egies for energy management that have been used in earlier
decades need to be replenished with modern control para-
Keywords: microgrid, energy management system, multi agent system,
digms and control techniques for the smooth operation of
distributed energy resource, unit commitment the system [2–4]. The main functions of the energy man-
Received 2 December 2019; accepted 30 April 2021 agement system (EMS) in a microgrid are to ensure the
Address correspondence to Sujil Areekkara, Department of Electrical
Engineering, Rajarambapu Institute of Technology, Rajaramnagar,
power balance in the system, provide reliability, flexibility,
Maharashtra, India. E-mail: sujilavijayan@gmail.com and power quality to the system [5].

18
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 19

NOMENCLATURE
DSM Demand Side Management PV Photovoltaic
DG Diesel Generator PRER Portable Renewable Energy Resource
DER Distributed Energy Resources RES Renewable Energy Source
EMS Energy Management System SOC State of Charge
LF Load Forecasting UC Unit Commitment
MG Microgrid
MAS Multi Agent System

Initially, most of the researchers in the field of micro- management scheme for multiple MG by a distributed opti-
grid EMS are concentrated on conventional EMS i.e. cen- mization approach. A daily risk-based optimal scheduling
tralized control schemes. In the centralized scheme, a of reconfigurable smart microgrids in the presence of wind
microgrid central controller is used to optimize the eco- turbines for microgrid operator profit maximization is pre-
nomic power dispatch for DERs and storage system [6]. sented in [14]. The authors in [15] developed a distributed
As the number of components in the microgrid increase, control architecture for AC microgrid with renewable gen-
the central controller faces certain concerns like the eration and storage. Energy management and scheduling in
requirements of large measurements and it also increases MG by incorporating portable renewable energy resources
the complexities in solving the optimization problem. (PRER) as an option for demand response have been pro-
Moreover, the chance of single point failure is another posed in [16]. By utilizing the mixed-integer linear pro-
major concern in the centralized scheme. This single point gramming, the optimal scheduling of renewable microgrid
failure in the system can cause complete system failure and in an isolated load area has been presented in [17]. By con-
which questions the reliability of the system [6]. Although sidering communication delays and slow switching topolo-
the design of a practical centralized MG controller can be gies, the authors in [18], presented a robust neighbor-based
achieved with expert systems and heuristic algorithms, it distributed control strategy for a DC microgrid. The pro-
does not guarantee the flexibility and scalability of the sys- posed control can synchronize the voltage of the DC MG
tem [7]. to a reference value and found to be capable of optimal
When compared to centralized management, the distrib- load sharing that minimizes DER generation cost. In [19],
uted control for the microgrid energy management system proposed a distributed control scheme for the effective util-
is less complicated and more vigorous [8]. The components ization of RES in a microgrid considering noisy disturb-
of distributed management are treated as a module having ance and limited bandwidth constraints. The authors also in
enough intelligence to provide the control calculations and [20], demonstrate the frequency restoration and accurate
actions. Also, the control modules in the distributed man- load power-sharing problem of ac MG with huge penetra-
agement help to fulfill the requirements of other modules tion of distributed generators under time-delay communica-
as well as reduce the communication and computation bur- tion in noisy environments. The authors in [21] introduced
den [9]. Multi Agent System (MAS) has the capabilities a MAS-based monitoring and control system for integrated
mentioned above to solve the extremely difficult problem homes/buildings and microgrid in the presence of different
by assigning subtasks within the system in a distributed RES and loads.
manner. So, it is anticipated that a MAS based framework All the aforementioned researchers conclude that the
can help a microgrid to perform robustly in the presence of MAS based EMS can provide better efficiency and can
extremely intermittent renewable distributed resources and also manage complex distributed generators effectively due
to meet dynamic load variations. Authors in [10] developed to the capability of MAS that can give several key advan-
distributed coordinated control strategies based on a multi tages to the system as reported in [22]. Also, the authors in
agent system for large power systems. [23] proposed a MAS based decentralized control for the
As evident from the review of recent literature, the energy management of a microgrid. In [24], the authors
power system researchers are concentrating toward the suggested that distributed coordination can be implemented
implementation of multi agent systems for microgrid by utilizing a MAS with the distributed energy system and
energy management. A detailed review of MAS applica- should be coupled with hardware to find the entire agent
tions in the electrical power systems can be found in [11, based solution for distributed energy resource management.
12]. In [13], the authors have presented an energy Also, the authors have suggested that more intelligent MG
20 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

competencies to provide continuous communication and


methods for adapting to dynamic environments.
An agent is a software program or computational entity,
holding the ability to accumulate the information from its
surroundings and perform accordingly without the help of
any human intervention [26]. A group of such several
agents working together to achieve a particular task beyond
the capabilities of a single agent is called Multi Agent
System (MAS). The inherent properties of MAS are scal-
FIGURE 1. Interaction of agents in stateflow with micro- ability, flexibility, autonomy and it can also reduce the
grid in simulink. complexity of a problem by breaking a complicated prob-
lem into small, simple sub-problems and solving them in a
operations can be achieved by incorporating load forecast-
distributed manner [27, 28]. The concept of a multi-agent
ing, Renewable Energy Source (RES) power production
system, different platforms used to implement MAS and
forecasting, resource scheduling and demand side manage-
different multi-agent architecture including centralized, dis-
ment (DSM) into the MG modeling in the future.
tributed, and hierarchical can be found in [11].
The main contributions of this article can be summar-
ized as follows.
 This article enables a control scheme that includes the
2.1. Agent Platform
output power characteristics of different distributed
energy resources and also presents a way for effective An agent platform is an environment where agents live,
usage of each component in the MG. identical to the universe for human beings. The key pur-
 Explored a new platform called Stateflow for modeling pose of an agent platform is to guarantee communication
and simulating multi agent system for microgrid that is reliable and deliver multiple communication proto-
energy management system. cols, languages, and communication media. Different
 The proposed model incorporates the forecasting and authors have used different platforms namely JADE,
estimation of renewable energy sources and loads as ZEUS, SWARM for implementing a multi agent system in
directed in [24] for the microgrid energy manage-
the power system domain. The platforms used by different
ment system.
authors in different areas of power systems have been sum-
The rest of the paper is organized as follows: Section 2
marized in [11].
details the basics of the multi agent system, proposes multi
In this paper, a new multi agent platform called
agent system and different agents deployed for microgrid
Stateflow is introduced to analyze the performance of multi
management. Section 3 explains microgrid modeling.
agent system based microgrid energy management.
Section 4 describes different scenarios simulated with
results and discussions before and after the implementation Stateflow is an environment that utilizes the concept of
of the proposed scheme along with performance evaluation state machines and flow charts for modeling and simulating
of the proposed scheme. Section 5 concludes the article. the decision logic and controls. The Stateflow enables to
model, how a system responds to particular conditions,
events, and external factors, etc. A state machine represents
2. MULTI AGENT SYSTEM (MAS) a system that is driven by some events, and which can
The essential ingredients of any distributed system are make the transition from one mode to another mode
autonomous components and coordination. Distributed sys- according to the changes in the environment. State
tems involving some heterogeneous entities have some lim- machines are the best known and classical method of mod-
itations like lack of adaptive behavior in runtime and the eling the behavior of any system [29]. State machine
costs involved in maintaining continuous communication allows designers to imagine the state of any system at a
for some applications, which have to operate in different particular point of time and also describe the behavior of
environments. This makes a distributed system with a num- the system based on that state. Moreover, this modeling
ber of ongoing interactions nearly infeasible [25]. These method is not limited to the software system [30].
limitations have inspired the development of approaches Mathematically, a finite state machine can be defined as
toward agent based distributed systems having the [31]:f ðQ, q0 , F, , dÞ, where - Finite inputs to the machine,
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 21

FIGURE 2. Proposed MAS architecture for microgrid EMS.

Q- Finite set of states, q0 2 Q - Initial states, F  Q - deployed in real-time monitoring layer. After receiving infor-
Final states, and d : Q   ! Q - Transition function. mation, the DG agents compare both and then give an intelli-
The agents and their behavior have been modeled using gent decision in a way that maintains the load requirement of
Stateflow by utilizing the concepts of state machines and the microgrid. The unit commitment agent in the system
flowchart, and the microgrid is modeled in MATLAB updates its state every hour, whereas the correction agent
Simulink in this paper. The integration of agents developed updates its values every 5 minutes. The detailed modeling of
in the Stateflow and microgrid model developed in the forecasting model used by PV and wind forecasting
Simulink in MATLAB environment and its interaction is agents are explained in [32, 33] and load forecasting agent is
shown in Figure 1. illustrated in [34].
 Forecasting and Estimation Layer: This layer is con-
sidered as the top layer in the proposed scheme. The
2.2. Proposed MAS forecasting and estimation layer consists of seven
A three layer multi agent architecture namely Forecasting and types of agents (2  wind Agents, 2  PV Agents,
Estimation Layer, Control and Action Layer, and Real Time Load Forecasting (LF) Agent, Unit Commitment (UC)
Monitoring Layer is proposed for the microgrid energy man- Agent and a State of Charge (SOC) Agent). The input
agement as illustrated in Figure 2. The different agents with to this layer is historical data PV, historical data of
particular responsibilities have been deployed in three layers wind, historical load values, and current estimated
in the proposed architecture for energy management in MG. SOC information.
 Control and Action Layer: This layer is viewed as
In the proposed scheme, the unit commitment agent receives
the middle layer in the proposed agent architecture. In
the forecasted power availability of RES, forecasted load and
this layer, diesel generator and battery agents are
State of Charge (SOC) information from the forecasting and
deployed, and the input to this layer is the information
estimation agents. After having received the information from from the bottom layer and the top layer.
the respective agents, it takes unit commitment decisions and  Real Time Monitoring Layer: This layer is consid-
sends control signals to the diesel generator agents and bat- ered as the bottom layer in the proposed scheme where
tery agents. Each diesel generator agents in the system also the correction agent is deployed. The inputs to this
collect the information from correction agents that are layer are real time information from the microgrid.
22 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

Component Rating system, the unit commitment agent receives the forecasted
output power of PV farm from PV agents, the forecasted
Diesel Generator 1 2.5 MW power output of the wind farm from wind agents and
Diesel Generator 2 1000 kW upcoming load demand information from LF agent and the
Diesel Generator 3 500 kW
Diesel Generator 4 500 kW
current state of charge of the battery from SOC agent.
Wind Farm 1 250 kW After receiving the required information from the wind
Wind Farm 2 250 kW agent, PV agent, LF agent, and SOC agent respectively,
PV Farm 1 500 kW the unit commitment agent takes decisions to activate the
PV Farm 2 500 kW diesel generators to fulfill the load demand of the micro-
Battery 10800 Ah
grid. The decision carried out by the unit commitment
Residential Load 1.14 MW
Commercial Load 0.2 MW agent is transferred to each DG agents. The UC agent pro-
vides unit commitment decision in every one hour span for
TABLE 1. Model parameters.
24 hours. The decision-making process of the unit commit-
ment agent is represented as in Eq.(1) and Eq.(2). where
Preq is the required power to fulfill the load in the micro-
The function of each agents in the system are grid after the complete utilization of renewable distributed
as follows: energy resources. PPVA1 , PPVA2 , PWA1 and PWA2 respect-
ively represent the forecasted output power of the PV
and wind received from the forecasting and estimation
2.2.1. PV Agent. PV Agent forecasts the PV active power
layer. The PDG1max , PDG2max , PDG3max and PDG4max are the
output of the current hour from the historical data and
maximum power generation capacity of the diesel gener-
other heterogeneous factors and gives information to the
ators can be found in Table 1. The DG1on , DG2on , DG3on
unit commitment agent for further decision making.
and DG4on represent the respective diesel generator
which should be activated to fulfill the load requirement
2.2.2. Wind Agent. Wind agent gives the forecasted infor- of the microgrid.
mation of wind active power output of the present hour to
the unit commitment agent. Preq ¼ PLFA  ðPPVA1 þ PPVA2 þ PWA1 þ PWA2 Þ (1)

8
>
> Preq < 0 ; FullfillLoad þ ChargeBattery
>
>
>
> Preq > 0 ; DG1on
<
UCD ¼ Preq  PDG1max > 0 ; DG1on þ DG2on (2)
>
>
>
> Preq  PDG1max  PDG2max > 0 ; DG1on þ DG2on þ DG3on
>
>
:
Preq  PDG1max  PDG2max  PDG3max > 0 ; DG1on þ DG2on þ DG3on þ DG4on

2.2.3. LF Agent. The LF agent is modeled to give the 2.2.6. Correction Agent. The requirement of correction
information of the load forecast for the current hour to the agent in the system is mainly because taking into account
unit commitment agent. that the control period is one hour for the unit commitment
decision from the unit commitment agent and that the fore-
2.2.4. Soc Agent. The SOC agent will give the current state cast of the renewable energy sources used (photovoltaic
of charge (SOC) of the battery to the unit commitment and wind farms) and residential loads are usually very
agent. The battery SOC is calculated as in [35]. inaccurate due to their high volatility. How the power bal-
ance can be assured in the microgrid? Let us consider, for
2.2.5. Unit Commitment Agent. The function of the unit example, the sudden lack of energy in the microgrid within
commitment agent is to provide the diesel generators dis- the control period, when the diesel generators are not acti-
patch strategy in the proposed MG EMS. In the proposed vated (the forecast did not indicate the necessity to activate
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 23

FIGURE 3. Agent communication diagram.

any diesel generator) and the batteries become quickly dis- 3


Pwind1 ¼  kVwind1 k  kIwind1 k  cos ð/Vwind1  /Iwind1 Þ
charged. How MAS-EMS can react to this situation when 2
it observes the state of the microgrid only once an hour?, (7)
this situation can be avoided in simulation by introducing 3
Pwind2 ¼  kVwind2 k  kIwind2 k  cos ð/Vwind2  /Iwind2 Þ
the correction agent that updates the status of the real 2
microgrid in every 5 minutes. It is also assumed that the (8)
battery can supply power to satisfy the load during this 5- 3
PLoad ¼  kVLoad k  kILoad k  cos ð/VLoad  /ILoad Þ
minute interval when some sudden requirement of power 2
appears during this interval. (9)
The function of the correction agent in the proposed
3
scheme is to help DG agents to alter the UC decision from PCload ¼  kVCload k  kICload k  cos ð/VCload  /ICload Þ
2
the forecasting and estimation layer. The correction agent
(10)
in the system provides the correction information in every
five minutes to DG agents when and where required. The The necessary diesel generators that should be activated
correction agent estimate the current power availability of to provide the power balance in the system has been calcu-
PV farm 1, PV farm 2, wind farm 1, wind farm 2, residen- lated using Eq.(11).

8
>
> 0; DPreq  0
>
> PDG1 ; DPreq > 0
<
PDG ¼ PDG1 þ PDG2 ; DPreq  PDG1ðmaxÞ > 0 (11)
>
>
>
> P DG1 þ P DG2 þ P DG3 ; DP req  PDG1ðmaxÞ  PDG2ðmaxÞ > 0
:
PDG1 þ PDG2 þ PDG3 þ PDG4 ; DPreq  PDG1ðmaxÞ  PDG2ðmaxÞ  PDG3ðmaxÞ > 0

tial load demand and commercial load demand (Ppv1 , Ppv2 , where, PDG1ðmaxÞ , PDG2ðmaxÞ , PDG3ðmaxÞ , PDG4ðmaxÞ are the
Pwind1 , Pwind2 , PLoad , PCload ) respectively as in Eq.(5-10) and maximum power capacities of diesel generator 1, diesel
then determines the required power DPreq to be produced generator 2, diesel generator 3 and diesel generator 4
to fulfill the power balance in system as in Eq.(3). respectively as represented in Table 1.
The total renewable energy power is calculated as shown
in Eq. (4).
2.2.7. DG Agents. The DG agents in the system receive the
DPreq ¼ PLoad þ PCload  PRes (3) UC decision from the UC agent for the next hour and the
PRes ¼ Ppv1 þ Ppv2 þ Pwind1 þ Pwind2 (4) status of the generator to be activated to fulfill the power
3 requirement of the microgrid in every 5 minutes. After
Ppv1 ¼  kVpv1 k  kIpv1 k  cos ð/Vpv1  /Ipv1 Þ (5)
2 receiving both the information from the unit commitment
3 agent and correction agent, the DG agents recognize if
Ppv2 ¼  kVpv2 k  kIpv2 k  cos ð/Vpv2  /Ipv2 Þ (6)
2 there is any necessity to alter the decision from the unit
24 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

FIGURE 4. Proposed microgrid MAS-EMS model.

commitment agent. The DG agents send the control signals


to diesel generators (either UC decision or modified UC
decisions accordingly).

2.2.8. Battery Agent. The energy storage system for the


developed microgrid is modeled in such a way that it can
store energy during excess power production from renew-
able sources and is also able to supply to meet load
requirements of the microgrid during a power shortage. FIGURE 5. Irradiance, wind speed and loads used
Also, the battery control in the proposed model is con- for simulation.
strained in such a way that the battery will charge only
when there is excess power production from the distributed 24 hours’ simulation scenario, the operation will become
renewable energy resources, not from the diesel generators. more complicated and time consuming for both, continuous
The battery agent function is to take charging and dis- and discrete modes of simulation. The proposed islanded
charging actions accordingly after receiving the decisions microgrid considers four diesel generators, two wind farms,
from the unit commitment agent to fulfill the load require- two photovoltaic arrays, energy storage, and loads. The
ment of the microgrid. Figure 3 displays the communica- diesel generator used in the microgrid provides base power.
tion of different agents during the simulation. Where, The more detailed modeling of the microgrid can be found
PVA1, PVA2, WA1, WA2, LFA, SOCA, UCA, DGA1, in [23]. Table 1 shows the parameters used in the simula-
DGA2, DGA3, DGA2, BA and CA respectively represent tion of the microgrid.
PV 1 agent, PV 2 agent, wind 1 agent, wind 2 agent, LF
agent, SOC agent, unit commitment agent, DG1 agent,
DG2 agent, DG3 agent, DG4 agent, battery agent and cor- 4. SIMULATION RESULTS AND ANALYSIS
rection agent. The simulation of the model shown in Figure 4 was carried
out for 24 hours without the MAS and with the MAS. The
simulation is carried out for only 24 hours due to the limi-
3. MICROGRID MODELING
tation of data availability. While considering the case study
Figure 4 shows the schematic diagram of the proposed without the MAS, it has been considered that all the four
energy management system for a smart microgrid. The diesel generators are activated and provide power to the
microgrid in the proposed model has been developed in microgrid along with the distributed energy resources. On
Matlab Simulink with phasor-mode simulation. The motiv- the other hand, the case study with MAS considered the
ation for using the phasor-mode simulation is efficiency proposed MAS will activate only required diesel generators
and attaining the timely running of the model. For perform- to satisfy the power balance in the system by ensuring the
ing microgrid energy management by considering a complete utilization of distributed energy resources. The
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 25

FIGURE 7. Battery SOC in S1.

the cube of the wind velocity, it trails the pattern of wind


speed represented in Figure 5(b). The load demand of the
system in scenario 1 is represented in Figure 5(c).
Figure 7 shows the state of charge of the battery during
scenario 1. In Figure 7, the battery agent is performing the
FIGURE 6. Power output of PV and wind farm in S1. battery control action as explained in Section 3.2.8 to sup-
ply the load when there is a shortage of power in the
solar irradiation profile and wind speed used for the simu- microgrid system. The battery is not charged throughout
lation study are shown in Figure 5(a) and (b) respectively the simulation because the battery controller is constrained
[36]. The irradiation profile follows a typical pattern with so the battery will charge whenever there is an excess
the maximum irradiation occurring during the middle of power produced by renewable distributed energy resources.
the day. The wind speed varies with several peaks and The output power produced by diesel generators to meet
troughs significantly throughout the day. Since the simula- the load demand of the microgrid in the absence and pres-
tion is based on the data collected from the Tioman island ence of the proposed MAS based energy management sys-
resort, the load follows a distinct profile due to tourist tem separately is shown in Figure 8(a) and (b)
activities. The load demand of the island at the beginning respectively. The channels 1-4 in Figure 8 show the power
of the day is minimum, and it gradually increases and produced by all the diesel generators (PDG1-PDG4)
meets the peak by evening and drops at night as shown in respectively. In Figure 8(b) it can be seen that the diesel
Figure 5(c). The load profile data used for the simulation is generator 1 is active for 24 hours and diesel generator 2 is
extracted from [23]. Also, Figure 5(d) shows the commer- active only during the period 18:00-20:00 hours. The diesel
cial load profile used in the simulation case study. For ana- generator 3 and diesel generator 4 are not active through-
lyzing the performance of the proposed multi agent system out the simulation. This proves the proposed system can
for energy management, three different scenarios have help to use each component of microgrid effectively. On
been created with some events that generally occur in the the other hand in Figure 8(a), in the absence of the pro-
system. The power output of only single PV and wind posed scheme, all the diesel generators are active for the
farms are shown in each scenario because each PV farm complete duration of the scenario.
and wind farm are identical and produce the same power.
Also, the output power produced by all the diesel genera-
tors are shown for all the scenario to satisfy the load 4.2. Scenario 2
requirements of the microgrid after the complete utilization In scenario 2, a partial shading effect occurred in the PV
of RES. system at 10:30 hours for a duration of 30 minutes and the
condition at which the wind speed exceeds the maximal
wind speed between 21:00  23:00 hours of the simulation
4.1. Scenario 1 has been considered. This scenario is simulated to study
In scenario 1, the model has been simulated without any how the proposed system will react to the power output
disturbances in the system. This scenario is simulated to variations of distributed energy resources in the microgrid.
analyze the performance of the system during normal oper- Figure 9(a) shows the output power generated by PV
ating conditions. Figure 6(a) and (b) respectively show the farm in scenario 2. A sudden drop in PV output power,
output power generated from PV farm and wind farm in found at 10:30 hours, for a time span of 30 minutes in
scenario 1. It is clear from both waveforms that solar Figure 9(a) can be attributed to the effect of the partial
power follows the irradiance pattern represented in Figure shading considered in the study. The power output of wind
5(a), and since the wind power output is proportional to farm during scenario 2 can be found in Figure 9(b). In
26 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

FIGURE 8. Power output of diesel generator in S1.

duration. In Figure 10 the battery agent can be seen per-


forming the battery control action to supply the load when
there is a power shortage in the microgrid system. The bat-
tery is not charged throughout the simulation because of
the same reason as explained in scenario 1.
FIGURE 9. Power output of PV and wind farm in S1.
The output power produced by diesel generators to meet
the load demand of the microgrid in the presence and in
Figure 9(b), the wind power output trails the wind speed the absence of the proposed MAS based energy manage-
since it follows the cube of the wind velocity. However, in ment system separately is shown in Figure 11(a) and (b).
between 21:00-23:00 hours, the output wind power is zero The output powers of the four diesel generators (PDG1-
because the simulation considers that during this time, the PDG4) are shown by the channels 1-4 in Figure 11,
wind speed exceeds the maximum wind speed and the respectively. In Figure 11(b), it can be seen that the diesel
wind turbine is isolated from the microgrid and stays off- generator 1 is active for 24 hours and diesel generator 2 is
line until the wind speed returns to its nominal value. The active only during the 18:00-20:00 hours as in scenario 1.
load demand of the system used in scenario 2 was repre- In addition from 21:00 hours for some duration due to the
sented in Figure 5(c). Figure 10 shows the state of charge effect, the wind speed exceeds the maximum wind speed
of the battery in this scenario for the complete 24-hours as considered in scenario 2 the diesel generator 2 is remain
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 27

FIGURE 11. Power output of diesel generator in S2.

resources can manage the requirements of microgrid the die-


sel generator 2 is deactivated even during the absence of
wind farm. It supports the fact that the proposed system can
be able to detect the output power variations in the distributed
energy resources and manage the power balance in the sys-
tem by activating the necessary diesel generators if required.
Also, during 10:30 hours the diesel generator 2 is not acti-
vated because during that time the diesel generator 1 and all
other renewable energy resources can together provide power
to nullify the effect of partial shading effect and manage the
power balance in the system. Also, diesel generator 1 sud-
denly starts providing more power at 10:30 hours and
FIGURE 12. Power output of diesel generator in S3. 22:00 hours to compensate the reduction in power output of
the PV and wind farms at the same time due to partial shad-
ing effect and crossing of the maximum wind speed respect-
ively within its capacity. The diesel generator 3 and diesel
generator 4 are not active throughout the simulation, showing
that the proposed system can support the effective utilization
of diesel generator. On the other hand, in Figure 11(a), in the
absence of the proposed scheme, all the diesel generators are
FIGURE 13. Battery SOC in S3. active for the complete duration of the scenario.

activated by the proposed multi agent system to fulfill the 4.3. Scenario 3
requirement of microgrid during the same time. As soon as In scenario 3, to show the effect of commercial load in the
the diesel generator 1 and the other distributed energy system, an asynchronous machine having a power
28 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

FIGURE 14. Power output of diesel generator in S3.

Power System
the microgrid in presence and absence of proposed MAS
Scenario loss in % efficiency in % based energy management system separately is shown in
Figure 14(a) and Figure 14(b). In Figure 14(b) it can be
S1 3.6971 96.30 clearly seen that the diesel generator 1 is active during
S2 4.0512 95.95
the complete duration of the simulation. Whereas, in the
S3 3.7093 96.29
case of diesel generator 2 which is activated at
TABLE 2. Performance of proposed MG EMS in different 18:00 hours and deactivated after a greater duration than
scenario.
in the scenario 1 because of the commercial load intro-
duced in the scenario at 20 hours, which increases the
consumption of 0.2 MW was introduced in the system at total load requirement of the microgrid as compared to
20:00 hours of simulation using a circuit breaker as repre- scenario 1. So, here the proposed multi agent system iden-
sented in Figure 5(d). This scenario is created to analyze tifies the variation in load and acts accordingly to provide
the performance of microgrid with proposed multi agent the power balance in the system by activating the diesel
system based energy management system during the sud- generator 2. In this scenario, also the DG 3 and DG 4 are
den variation in load. Figure 12(a) and (b) displays the out- completely offline during the entire simulation, and DG2
put power generated from the PV farm and the output provides power only for some duration. This result indi-
power generated by the wind farm respectively in scenario cates that the proposed multi agent scheme can effectively
3. The load profile illustrated in Figure 5(c) (residential act to the load changes in the system and utilize the diesel
power demand) and Figure 5(d) (demand of commercial generator effectively.
loads) together have been considered in the simulation for
scenario 3. Figure 13 shows the state of charge of the bat-
tery during 24-hours simulation in scenario 3. 4.4. Microgrid Performance Evaluation
The battery control in this scenario also works as The microgrid efficiency is evaluated as expressed in Eq.
explained in scenario 1 and scenario 2. The output power (12) and the the percentage of power losses in the micro-
produced by diesel generators to meet the load demand of grid system is calculated using Eq.(13).
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 29

PLoad þ i  Pbat FUNDING


gmicrogrid ¼ (12)
PDER þ PDG þ j  Pbat
The authors gratefully acknowledge the support of the
Ministry of Electronics and Information Technology,
ðPDER þ PDG þ j  Pbat Þ  ðPLoad þ i  Pbat Þ
PLoss ð%Þ ¼ Government of India for funding this project sponsored by
PDER þ PDG þ j  Pbat
MoCIT and monitored by Media Lab Asia.
 100
(13)

i ¼ 1 and j ¼ 0 ; battery is chariging ðloadÞ ORCID
i, j ¼
i ¼ 0 and j ¼ 1 ; battery is dischariging ðsourceÞ
Rajesh Kumar http://orcid.org/0000-0002-6019-0702
(14)

Table 2 represents the performance of the proposed MG REFERENCES


multi agent energy management scheme in terms of per- [1] Y. Zoka, H. Sasaki, N. Yorino, K. Kawahara and C. Liu,
centage power loss and system efficiency in differ- “An interaction problem of distributed generators installed
ent scenarios. in a microgrid,” in Proceedings of the IEEE International
Conference on Electric Utility Deregulation, Restructring
and Power Technologies, vol. 2, pp. 795–799, 2004.
5. CONCLUSION [2] B. Kroposki, R. Lasseter, T. Ise, S. Morozumi, S.
Papathanassiou and N. Hatziargyriou, “Making microgrids
An intelligent multi agent system for microgrid energy work,” IEEE Power Energy Mag., vol. 6, no. 3, pp. 40–53,
management system was developed in this paper. Different 2008. DOI: 10.1109/MPE.2008.918718.
agents namely PV agents, wind agents, LF agent, SOC [3] S. A, R. Kumar and R. C. Bansal, “Multi agent based
agent, unit commitment agents, diesel generator agents, autonomous energy management system with self-healing
battery agent, and real time correction agent have been capabilities for a microgrid,” IEEE Trans. Ind. Inf., vol. 15,
no. 12, pp. 6280–6290, 2019. DOI: 10.1109/TII.2018.
developed and deployed in the simulation which repre-
2889692.
sented each component of the microgrid EMS. The micro- [4] A. Sujil and R. Kumar, “Multi agent based energy manage-
grid was simulated in MATLAB Simulink environment, ment system for smart microgrid,” in Recent Developments
and agent behavior was modeled in Simulink Stateflow. in Control, Automation & Power Engineering (RDCAPE).
The simulation was carried out by considering the fluctua- IEEE, 2017, pp. 125–130.
[5] T. Adefarati and R. C. Bansal, “Reliability, economic and
tions in renewable energy distributed generators and load
environmental analysis of a microgrid system in the presence
variations. The effectiveness of the proposed multi agent of renewable energy resources,” Appl. Energy, vol. 236, pp.
based energy management system was tested by comparing 1089–1114, 2019. DOI: 10.1016/j.apenergy.2018.12.050.
the power losses and microgrid system efficiency in differ- [6] J. Zhao, C. Wang, B. Zhao, F. Lin, Q. Zhou and Y. Wang,
ent scenarios. The simulation results indicate that the pro- “A review of active management for distribution networks:
Current status and future development trends,” Electr.
posed MAS based EMS has better performance as
Power Compon. Syst., vol. 42, no. 3-4, pp. 280–293, 2014.
compared to without the MAS in terms of power loss and DOI: 10.1080/15325008.2013.862325.
MG system efficiency. Also, the proposed EMS has the [7] K. Tan, P. So, Y. Chu and M. Chen, “Coordinated control and
capability to use the required diesel generators to satisfy energy management of distributed generation inverters in a
the load requirement of the microgrid after the complete microgrid,” IEEE Trans. Power Delivery, vol. 28, no. 2, pp.
704–713, 2013. DOI: 10.1109/TPWRD.2013.2242495.
utilization of DERs. In this study, the diesel generators are
[8] C.-S. Karavas, G. Kyriakarakos, K. G. Arvanitis and G.
allowed to operate up to the maximum capacity to fulfill Papadakis, “A multi-agent decentralized energy management
the load requirement of the microgrid. In the future, meth- system based on distributed intelligence for the design and
ods to find the optimum operating point for each diesel control of autonomous polygeneration microgrids,” Energy
generator to provide maximum environmental benefits can Conversion Manag., vol. 103, pp. 166–179, 2015. DOI: 10.
1016/j.enconman.2015.06.021.
be incorporated. Moreover, the proposed system can be
[9] Z. Jun, L. Junfeng, W. Jie and H. Ngan, “A multi-agent
used for any microgrid and large power system by add- solution to energy management in hybrid renewable energy
ition/deletion of agents with their responsibilities due to the generation system,” Renew. Energy, vol. 36, no. 5, pp.
scalability of the MAS. 1352–1363, 2011. DOI: 10.1016/j.renene.2010.11.032.
30 Electric Power Components and Systems, Vol. 49 (2021), No. 1-2

[10] C.-X. Dou, D.-W. Hao, B. Jin, W.-Q. Wang and N. An, [23] M. R. B. Khan, R. Jidin and J. Pasupuleti, “Multi-agent
“Multi-agent-system-based decentralized coordinated control based distributed control architecture for microgrid energy
for large power systems,” Int. J. Elect. Power Energy Syst., management and optimization,” Energy Conversion Manag.,
vol. 58, pp. 130–139, 2014. DOI: 10.1016/j.ijepes.2014.01.012. vol. 112, pp. 288–307, 2016. DOI: 10.1016/j.enconman.
[11] A. Sujil, J. Verma and R. Kumar, “Multi agent system: 2016.01.011.
Concepts, platforms and applications in power systems,” [24] T. Logenthiran, D. Srinivasan and D. Wong, “Multi-agent
Artif. Intell. Rev., vol. 49, no. 2, pp. 153–182, 2018. DOI: coordination for DER in Microgrid, in: IEEE International
10.1007/s10462-016-9520-8. Conference on Sustainable Energy Technologies,” in
[12] S. D. McArthur, et al., “Multi-agent systems for power engin- ICSET, IEEE, 2008, pp. 77–82.
eering applications part i: Concepts, approaches, and technical [25] L. Raju, R. Milton and S. Mahadevan, “MAS based model-
challenges,” IEEE Trans. Power Syst., vol. 22, no. 4, pp. ing and implementation of dynamic energy management of
1743–1752, 2007. DOI: 10.1109/TPWRS.2007.908471.
smart microgrid using macsimjx,” Scientific World J., vol.
[13] T. Liu, X. Tan, B. Sun, Y. Wu and D. H. Tsang, “Energy
2016, pp. 1–14, 2016. DOI: 10.1155/2016/9858101.
management of cooperative microgrids: A distributed opti-
[26] A. Sujil, S. K. Agarwal and R. Kumar, “Centralized multi-
mization approach,” Int. J. Elect. Power Energy Syst., vol.
agent implementation for securing critical loads in PV based
96, pp. 335–346, 2018. DOI: 10.1016/j.ijepes.2017.10.021.
[14] M. Hemmati, B. Mohammadi-Ivatloo, S. Ghasemzadeh and microgrid,” J. Mod. Power Syst. Clean Energy, vol. 2, no.
E. Reihani, “Risk-based optimal scheduling of reconfigur- 1, pp. 77–86, 2014. DOI: 10.1007/s40565-014-0047-1.
able smart renewable energy based microgrids,” Int. J. [27] A. Sujil, S. Choudhary, J. Verma and R. Kumar, “Agent
Elect. Power Energy Syst., vol. 101, pp. 415–428, 2018. based intelligent fault detection, isolation and restoration in
DOI: 10.1016/j.ijepes.2018.04.005. smart power system,” in IEEE Students’ Conference on
[15] Y. Gao and Q. Ai, “Distributed cooperative optimal control Electrical, Electronics and Computer Science (SCEECS),
architecture for ac microgrid with renewable generation and IEEE, 2016, pp. 1–6.
storage,” Int. J. Elect. Power Energy Syst., vol. 96, pp. [28] A. Sujil, S. K. Agarwal, R. Kumar, Feasibility study of cen-
324–334, 2018. DOI: 10.1016/j.ijepes.2017.10.007. tralized multi-agent self-healing power system with super-
[16] V. S. Tabar, M. A. Jirdehi and R. Hemmati, “Energy man- conducting fault current limiter,” Technol. Econ. Smart
agement in microgrid based on the multi objective stochastic Grids Sustain. Energy, vol. 1, no. 1, pp. 1–12, 2016. DOI:
programming incorporating portable renewable energy 10.1007/s40866-015-0002-x.
resource as demand response option,” Energy, vol. 118, pp. [29] F. J. Sequeira, A. A. Mallya, S. Hebbar, A. Shetty and D.
827–839, 2017. DOI: 10.1016/j.energy.2016.10.113. Divakar, Design of 4 bit 4 pulse finite state machine serial
[17] H. Morais, P. Kadar, P. Faria, Z. A. Vale and H. Khodr, adder, in Third IEEE International Conference on Advances
“Optimal scheduling of a renewable micro-grid in an iso- in Electrical, Electronics, Information, Communication and
lated load area using mixed-integer linear programming,” Bio-Informatics (AEEICB), 2017., pp. 18, 20.
Renew. Energy, vol. 35, no. 1, pp. 151–156, 2010. DOI: 10. [30] D. R. Wright, Finite state machines. 2005. URL http://www4.
1016/j.renene.2009.02.031. ncsu.edu/drwrigh3/docs/courses/csc216/fsm-notes.pdf
[18] J. Lai, X. Lu, X. Yu, A. Monti and H. Zhou, “Distributed [31] S. Masina, K. Y. Lee and R. Garduno-Ramirez, “An archi-
voltage regulation for cyber-physical microgrids with cou- tecture of multi-agent system applied to fossil-fuel power
pling delays and slow switching topologies,” IEEE Trans. unit,” in IEEE Power Engineering Society General Meeting,
Syst. Man Cybern., Syst., vol. 50, no. 1, pp. 100–110, 2020.
IEEE, 2004, pp. 1982–1988.
DOI: 10.1109/TSMC.2019.2924612.
[32] J.-S. Jang, “ANFIS: Adaptive-network-based fuzzy inference
[19] J. Lai and X. Lu, “Nonlinear mean-square power sharing
system,” IEEE Trans. Syst., Man, Cybern., vol. 23, no. 3,
control for AC microgrids under distributed event
pp. 665–685, 1993. DOI: 10.1109/21.256541.
detection,” IEEE Trans. Ind. Inf., vol. 17, no. 1, pp.
[33] A. Sujil, R. Kumar and R. C. Bansal, “FCM clustering-
219–229, Jan. 2021. DOI: 10.1109/TII.2020.2969458.
ANFIS-based PV and wind generation forecasting agent for
[20] J. Lai, X. Lu and X. Yu, “Stochastic distributed frequency
and load sharing control for microgrids with communication energy management in a smart microgrid,” J. Eng., vol.
delays,” IEEE Syst. J., vol. 13, no. 4, pp. 4269–4280, 2019. 2019, no. 18, pp. 4852–4857, 2019. DOI: 10.1049/joe.2018.
DOI: 10.1109/JSYST.2019.2901711. 9323.
[21] A. Anvari-Moghaddam, A. Rahimi-Kian, M. S. Mirian and [34] C. Holmes and B. Mallick, “Bayesian regression with multi-
J. M. Guerrero, “A multi-agent based energy management variate linear splines,” J R. Statist. Soc. B, vol. 63, no. 1,
solution for integrated buildings and microgrid system,” pp. 3–17, 2001. DOI: 10.1111/1467-9868.00272.
Appl. Energy, vol. 203, pp. 41–56, 2017. DOI: 10.1016/j. [35] A. Sujil and R. Kumar, “Smart micro grid test system for
apenergy.2017.06.007. agent based energy management system,” IEEE Seventh
[22] C.-X. Dou, W.-Q. Wang, D.-W. Hao and X.-B. Li, “MAS- India International Conference on Power Electronics
based solution to energy management strategy of distributed (IICPE-2016), 2016.
generation system,” Int. J. Elect. Power Energy Syst., vol. [36] Wind, PV data, https://www.renewables.ninja, Accessed:
69, pp. 354–366, 2015. DOI: 10.1016/j.ijepes.2015.01.026. April 26, 2017.
Areekkara et al.: An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid 31

BIOGRAPHIES Access, IEEE ITeN, Swarm and Evolutionary


Computation, Elsevier, IET Renewable and Power
Sujil Areekkara received his Masters and PhD Systems
Generation, IET Power Electronics, International Journal of
from the Malaviya National Institute of Technology
Bio Inspired Computing, and Deputy Editor-in-Chief,
(MNIT), Jaipur, India in 2013 and 2019 respectively.
CAAI Transactions on Intelligence Technology, IET. Dr.
Currently, he has been working as an assistant
Kumar is Fellow of IET (UK), Fellow of IE (INDIA),
Professor at Department of Electrical Engineering,
Fellow of IETE, Life Member of CSI, Senior Member of
Rajaramnagar, Islampur, Sangli, Maharashtra, India. In
IEANG and Life Member of ISTE. His research interests
2014, he received POSOCO POWR SYSTEM AWARD
focus on intelligent systems, machine intelligence, power
(PPSA-2014) jointly organized by power Grid
management and robotics.
Corporation LTD and IIT-Delhi for Best M-tech thesis
all over India. He is a member of International
Ramesh C Bansal has more than 25 years of teach-
Association of Computer Science and Information
ing, research, academic leadership, and industrial
Technology, Singapore and has been associated with
experience. Currently, he is a Professor in EE
various scientific societies. As of 2021, Sujil has 5
Department, University of Sharjah (UAE). In previous
years of experience in teaching in the Electrical domain.
postings, he was Professor and Group head (Power) in
Dr Sujil has published more than 40 research papers in
EEC Department, University of Pretoria (South Africa)
Journals and Conferences of International and National
and worked with the University of Queensland
of repute and has supervised 4 M. Tech. thesis. His
(Australia); University of the South Pacific (Fiji);
research interests include power systems, smart grid
BITS Pilani (India); and Civil Construction Wing, All
applications, multi-agent systems, Artificial Intelligence
India Radio. Prof. Bansal has published over 325 jour-
and machine learning applications to a power system.
nal articles, conference papers, books, books chapters.
He has Google citations of 11000 and h-index 50. He
Rajesh Kumar has more than 20 years of teaching,
has supervised 25 PhD and 4 Post Docs. He is an
research and academic leadership experience. Currently, he
Editor/AE of IEEE Systems Journal, IET-RPG, Tech.
has been working as Professor with the Department of
Eco. Smart Grids, and Sust. Energy, and Electric
Electrical Engineering, MNIT, Jaipur. Dr. Kumar has pub-
Power Comp. and Systems. He is a Fellow, and CP
lished over 500 research articles, has supervised 20 Ph.D.
Engg IET-UK, Fellow Institution of Engineers (India).
and more than 30 M. Tech. thesis. He has 12 patents to his
His research interests include renewable energy, power
name and received 53 awards. He is on 12 Journal
systems, and smart grid.
Editorial Boards. He has been Associate Editor of IEEE

You might also like