You are on page 1of 6

Energy Management and Control for Islanded

Microgrid Using Multi-Agents


Frank Ibarra Hernndez, Carlos Alberto Canesin Ramon Zamora, Fransiska Martina, Anurag K
Power Electronics Laboratory - LEP Srivastava
So Paulo State University UNESP FE/IS Smart Grid Demonstration and Research Investigation Lab
Ilha Solteira - SP, Brazil Washington State University - WSU
Pullman - WA, USA

Abstract This paper presents a multi-agent system for real- to understand their interaction [3]. According to the U.S.
time operation of simulated microgrid using the Smart-Grid Department of Energy, a Microgrid is defined as an integrated
Test Bed at Washington State University. The multi-agent energy system consisting of interconnected loads and
system (MAS) was developed in JADE (Java Agent distributed energy resources which as integrated system can
DEvelopment Framework) which is a Foundation for Intelligent operate in parallel with the grid or in an intentional islanded
Physical Agents (FIPA) compliant open source multi-agent mode [4]. In islanded mode:
platform. The proposed operational strategy is mainly focused The unavailability of grid requires specific management
on using an appropriate energy management and control
of micro-sources and loads, since the micro-sources have
strategies to improve the operation of an islanded microgrid,
formed by photovoltaic (PV) solar energy, batteries and resistive
maximum capacity limits [5];
and rotating machines loads. The focus is on resource The microgrid is operated like an isolated island and
management and to avoid impact on loads from abrupt should meet the load-generation balance by adjusting load
variations or interruption that changes the operating conditions. and generation accordingly [6].
The management and control of the PV system is performed in The above description means that intelligent control of
JADE, while the microgrid model is simulated in RSCAD/RTDS
microgrid with distributed generation and energy storage is
(Real-Time Digital Simulator). Finally, the outcome of
important to keep the reliability, stability and security of
simulation studies demonstrated the feasibility of the proposed
multi-agent approach for real-time operation of a microgrid. system as required. One of the intelligent control, Multi-Agent
System (MAS) is defined as a collection of autonomous
Index Terms Distributed energy resources, Microgrid, Multi- computational entities (agents), which makes decisions based
agent system, Real-time digital simulator, Real-time operation, on goals within an environment that can be difficult to define
Photovoltaic power systems. analytically. Often MAS agents work with a limited system-
wide perspective and focus on localized task achievement.
Although each agents ability to affect the system environment
I. INTRODUCTION
is limited to the capabilities of their immediately controllable
With the electric power system development toward the system or component, agents can communicate information
smart grid to improve reliability, security and economic about their goal achievement to other independent agents
operation [1], the integration of Distributed Energy Resources inside the MAS. In this way, MAS development is a
(DERs) into the future Smart Distribution Network (SDN) has compromise between agents acting in self-interest way and in
challenging issues [2]: a cooperative manner [7]. In this paper, the interconnection
The Smart Distribution Network (SDN) requires periodic between MAS (in JADE) and electrical system (in RSCAD) is
and fast estimations of network security as well as real- in offline model. In this case, the outputs of JADE will be
time information from the network components. used as new set points for electrical system and vice versa
The interconnection of the DER units increases the until the best possible conditions are determined for the
complexity of Smart Distribution Management System operation of a specific microgrid, as is explained in detail in
(SDMS). section III. This offline approach is also commonly used in
other MAS application such as market operation [8].
These DER units may have a cooperative function to
improve the reliability and quality of the supplied electric Finally, considering that most of the power outages and
power. The DER units in the SDN have advantages in power disturbances take place in the distribution network, therefore,
quality and reliability improvement and economic benefits [2]. the first step towards the smart grid should start at the bottom
The effective integration of DER units in distribution of the chain, in the distribution system [9].
networks demands powerful simulation and test methods in
order to determine both system and component behavior, and
II. STATEMENT OF THE PROBLEM systems such as: faults, voltage fluctuations, power outages,
Smart grid (SG) represents a vision for the future power among others.
distribution systems, which integrates advanced sensing
III. MICROGRID ARCHITECTURE
technologies, control methodologies and communication
technologies into current electricity grid. Microgrid is an The microgrid architecture presented in this paper is based
innovative control and management architecture at distribution on the CERTS Microgrid Concept and IEEE standard
level, which makes SG implement techniques at distribution P1547.4, Guide for Design, Operation, and Integration of
level easier [9]. Since the past decade, the PV systems have Distributed Resource Island Systems with Electric Power
experienced tremendous growth in manufacturing scale and Systems. The CERTS microgrid has no master controller.
technology advancement, and is expected to continue growing Each source is connected in a peer-to-peer fashion with a
rapidly [11], [12], [13]. Many research works have been localized control scheme implemented for each component.
carried out on grid connected PV focusing on the development Each micro-source can seamlessly balance the loads when the
of various technologies and control strategies. PV system has microgrid islands using a power vs. frequency droop
two major problems: low conversion efficiency especially controller [16]. An islanded mode with excess generation will
under low irradiation and dependency of the electric power experience an increase in frequency which autonomously
generated by solar arrays on weather conditions [14]. It is very reduces the output of generation, moves storage to a charging
important to use the Real-Time system studies to find the best mode and smoothly supports the PV output as necessary [17].
operating conditions to ensure the reliability of the system,
considering the interactions between PV an microgrid in A. Microgrid based on CERTS Concept (Case Study)
islanded mode. On the other hand, the feasibility of the According to Fig. 2, our case study consists of three
microgrid islanding mode concept was laboratory tested in a photovoltaic systems (3 micro sources of 60 kW each) and a
prototype installed in the National Technical University of group of four radial feeders, in which three of them (Feeders
Athens (NTUA), which comprises a photovoltaic (PV) A, B, and C) contains sensitive loads [18]. These sensitive
generator, battery energy storage, loads, and a controlled loads require local generation. Each of the four bank loads can
interconnection to a low voltage grid [15]. According to Fig. be controlled from 0-90 kW. The micro sources control the
1, Multi Agent System in JADE and microgrid simulation in microgrid operation using only local voltage and current
RSCAD/RTDS can be used to coordinate the interactions of measurements. Feeder D does not have a sensitive load and
Distributed Energy Resources in islanded mode. Taking into therefore, no local generation is required for this feeder. When
account [2], [3], [4], [5], [6] and [14], this work is aimed to the microgrid is grid-connected, power from the local
improve the interactions among PV and islanded microgrid, generation can be directed to the non-sensitive loads of Feeder
without any other generating technology included. D [19]. The power conditioning system is shown in Fig. 3
[16].

Fig. 1: Flowchart of the PV System Real-Time Simulation in


an Islanded Microgrid

According to Fig. 1, the interaction between the PV


management and control in JADE and the microgrid
simulation in RSCAD/RTDS is theoretically a continuous
cyclic process, until the best electrical conditions are met. The
MAS management and control in JADE is responsible to
provide initial electrical information (PV module Fig. 2: Microgrid based on CERTS Concept
specifications and load conditions) for RSCAD/RTDS
simulation.
Taking into account the above, this paper contributes to the
current state of the art in the fact that, using multi-agent
system, was found an electrically reliable approach to model
and simulate a real-time system formed only by photovoltaic
sources in an islanded microgrid, which serves as a basis for
studying electrical abnormalities in islanded photovoltaic
Fig. 3: Power conditioning system
Each micro-source has a number of PV modules model, communication between agents either on the same or
(connected in series and parallel), and according to [14], the different platforms, mobility, security, and other utilities [22].
considered photovoltaic module is a Shell SQ160PC module JADE (Java Agent DEvelopment framework) was selected for
with a capacity of 160W as given in the datasheet (Number of calculating the operation parameters of the microgrid which
cells: 72). The main specifications of each module are: aims for: a) optimal use of local distributed resources; b)
feeding of local loads; c) operation simplicity. JADE allows
Open Circuit Voltage Voc: 43.5 V the development of unique software agents that can perform a
Vmpp: 35 V myriad of tasks, control functions, and supports decentralized
Impp: 4.58 A control architectures. The JADE-based agent platform directly
Short Circuit Current Isc: 4.90 A supports plug-and-play connectivity, as agents come on/off-
Panel Efficiency: 12.1%. line asynchronously. Distributed multi-agent systems can be
Maximum System Voltage Vmax: 120 V difficult to develop because of tradeoffs between strict
Dimensions: 1622.0 814.0 40.0mm (32.0 63.9 definitions of autonomous behavior and the need for agents to
1.6 inch). interact [23]. According to Fig. 4, the Concept of Operations
Weight: 17.2Kg (37.9 lbs). for Simulated Scenario uses three kinds of agents: a) Producer
Agent, responsible for calculating each photovoltaic system
IV. MULTI-AGENT MODELING AND and communicate the value of the nominal battery capacity to
IMPLEMENTATION the Storage Agent (PVM1, PVM2 and PVM3); b) Storage
Agent, monitors the storage capacity of each photovoltaic
An agent is merely a software (or hardware) entity that is
system (Storage1, Storage2, and Storage3); c) Observer
situated in some environment and is able to react
Agent, monitors all the Simulated Scenario (Sniffer Agent).
autonomously in response to environmental changes, therefore
it is able to schedule action based on environmental
observations. The environment is simply everything external
to the agent. An agent can operate usefully in any environment
which supports the tasks the agent intends to perform. An
intelligent agent is an agent with a flexible autonomy, instead
of only autonomy. An intelligent agent has the following three
characteristics: reactivity (react to changes in its environment
in a timely fashion), pro-activeness (goal-directed behavior)
and social ability (ability to negotiate and interact in a
cooperative manner). MAS is a system containing two or more
autonomous entities that can detect and react to its
environment and communicate with each other to optimize its
local goal, and therefore systems global goal is obtained. The
role of implementing MAS is to break down a complicated
problem into several small simple problems, and each simple
problem will be handled by an agent. Agents have a certain
degree of autonomy to make decisions based on the
information it acquires from environment without a central
controller [20]. MAS development is a compromise between
agents acting in a self-interested way and in a cooperative Fig. 4: Concept of Operations for Simulated Scenario
manner. At each instant, the MAS agents must evaluate their
local situation, determine a local best solution to the problem The most important work is done by the Producer Agent,
dictated by the agents goals, and if necessary, communicate because, according to Fig. 5, it uses four PV Module
their intended action to the MAS, participate in MAS Specifications (Open Circuit Voltage [V], Voltage mpp of
prioritization, and adjust its action based on collective group Module [V], Current mpp of Module [A], Short Circuit
decision [7]. To implement a MAS, there are a number of Current of a Module [A]) and four Load Specifications (Total
open-source agent platforms available in the literature that aid Power of AC Resistive loads [W], Total Power of AC
developers to build a complex agent system in a simplified Rotating machines loads [W], Operating hours per day of
fashion. These open-source agent platforms include: Aglets Resistive loads [hours], Operating hours per day of Rotating
software development kit, Voyager, Zeus, JADE, Tracy, machines loads [hours]) for calculating each photovoltaic
SPRINGS and Skeleton Agent. [4]. system [24], that is to say, for calculating ten variables:
In this work, the MAS will be developed in JADE which is Average Consumption [Wh/Day], Total Number of Modules
a Foundation for Intelligent Physical Agents (FIPA) compliant (panels) per branch required, Total Number of branches in
open source multi-agent platform. Also, JADE is an agent Parallel Required, Total Number of Modules Required, Instant
software framework fully implemented in Java language. It Power of Load [W], Instant Power of Photovoltaic System
simplifies the application of the agent systems through a [W], Calculated Regulator Output Current [A], Calculated
middleware that comply with the FIPA specifications [21]. Inverter Power [W], Maximum Power that Can Receive the
JADE facilitates the development of multi-agent peer-to-peer Battery to be Charged [W] and Power Discharge Battery [W].
applications. It supports an asynchronous agent programming The foregoing calculations are performed taking into account
the following two assumptions: a) All simulations were done proposed operational strategy is mainly focused on using an
with the lowest solar irradiation, which occurs in December, appropriate energy management and control to improve the
with a value of: 3320 (Wh/m2/day) and b) The photovoltaic operation of an islanded microgrid. This Microgrid is formed
module NOT always works in the maximum power point only by photovoltaic (PV) solar systems, batteries and
tracking (MPPT). resistive and rotating machines loads. The cyclic procedure to
measure the interactions among three photovoltaic systems is
illustrated in Fig. 7.

Fig. 5: Flowchart of Calculation of a Photovoltaic System

The JADE runtime in turn executes within a Java Virtual


Machine [25]. The main reason for adopting JADE is because
JADE is an Operating System (OS) independent platform
which means that the coded algorithm can be implemented on
any computer as long as the Java Virtual Machine (JVM) is
installed [26]. For optimal operation of an islanded microgrid,
the system under the study consists of a MAS and electrical Fig. 7: Flowchart of the Real-Time Operation of a Microgrid
network of the microgrid. The electrical network of the
microgrid is modeled in RSCAD. Using the best operating conditions met after several cyclic
processes in the Fig. 7, the simulation of the electrical system
The Sniffer Diagram for the Multi-Agent Modeling and in RSCAD/RTDS could be performed with the results as
Implementation can be seen in Fig. 6. This tool is used for shown in Fig. 8. It is industrial load which changes fast as
documenting conversations between agents. Our work shows shown in the next figures (from Fig. 8 to Fig. 9).
that the Producer Agents (PVM1, PVM2 and PVM3) send one
specific message to the Storage Agents (Storage1, Storage2 Ppv3 Pmon3
and Storage3); this communication is the maximum power 0.12
that can receive the battery to be charged. We can also see that 0.1
the Agent Management System (AMS) agent that is 0.08
responsible for managing the operation of an Agent Platform
0.06
is in constant communication with the Sniffer agent, which is
responsible to monitor all the agents requirements of the 0.04

JADE platform. 0.02


Ppv4 Pmon4
0.12
0.1
0.08
0.06
0.04
0.02
Ppv5 Pmon5
0.12
0.1
0.08
0.06
0.04
0.02
0 0.03333 0.06667 0.1 0.13333 0.16667 0.2
Fig. 6: Sniffer Diagram for the Multi-Agent Modeling and Implementation

V. SIMULATION AND RESULTS Fig. 8: Power of each Micro-source (blue) [kW] and
Sensitive Load (black) [kW]
Using MAS in an islanded microgrid, with the help of a
Smart Grid Test Bed of Washington State University [1], the
SOCp3 S1) VP3
74.39 0.5
74.385 0.4
74.38

kV
%

0.3
74.375
74.37 0.2

74.365 0.1
SOCp4 S1) VP4
74.39 0.5
74.385

Battery Voltage (kV)


0.4
74.38

kV
%

0.3
74.375
74.37 0.2

74.365 0.1
SOCp5 S1) VP5
74.39 0.5
74.385
0.4
74.38
0.3

kV
%

74.375
74.37 0.2

74.365 0.1
0 0.03333 0.06667 0.1 0.13333 0.16667 0.2 0 0.03333 0.06667 0.1 0.13333 0.16667 0.2

(a) Battery State of Charge (SOC) (b) Battery Voltage

Idcp3
0.08
0.06
0.04
kA

0.02
0
-0.02
Idcp4
0.08
0.06
0.04
kA

0.02
0
-0.02
Idcp5
0.08
0.06
0.04
kA

0.02
0

-0.02
0 0.03333 0.06667 0.1 0.13333 0.16667 0.2

(c) Battery Current

Fig. 9: Battery Charging/Discharging Parameter

The simulation result in Fig. 8 shows that energy battery storage system. Fig. 9 (a) shows that the battery is
management and control is able to regulate the micro- discharging with various rate to accommodate this
sources to reach their maximum capacities. This figure also fluctuated load. Also, this SOC is clearly shown in Fig. 9
shows fluctuated loads, which is more than the PV (b) and (c). When the rate of discharging is high, the battery
capacities at certain times and less than PV capacities at the voltage decreases, while the current increases.
other times. This extra or shortage power is balanced by the
VI. CONCLUSIONS AND FUTURE WORK [8] ACE Research Area: Agent-Based Electricity Market Research
[Online]. Available: http://www2.econ.iastate.edu/tesfatsi/aelect.htm
This paper presents a multi-agent system for real time [9] H. Jiefeng, Z. Jianguo, and G. Platt, "Smart grid — The next
simulation of interactions between three photovoltaic generation electricity grid with power flow optimization and high
sources and power systems in an islanded microgrid, using power quality," in Electrical Machines and Systems (ICEMS), 2011
RTDS [26]. The multi-agent system was developed in International Conference on, 2011, pp. 1-6.
JADE [27], an open source IEEE FIPA compliant platform. [10] T. Logenthiran, D. Srinivasan, A. M. Khambadkone, and A. Htay Nwe,
The outcome of the simulation studies demonstrates the "Multiagent System for Real-Time Operation of a Microgrid in Real-
Time Digital Simulator," Smart Grid, IEEE Transactions on, vol. 3, pp.
effectiveness of the proposed control and technical 925-933, 2012.
calculation, and shows the possibility of autonomous built- [11] X. Niu, M. Wang, X. Zhu, C. Yu, G. Li, B. Cheng, et al., "Progress in
in operation of a microgrid with a multi-agent system. The research and mass production of large-scale thin film Si solar cells," in
simulation results show that the micro-sources, loads, and Photovoltaic Specialists Conference (PVSC), 2012 38th IEEE, 2012,
batteries are well coordinated, where exceeding power from pp. 001501-001506.
micro-sources is stored in batteries. These results have [12] S. R. Williams, T. R. Betts, R. Gottschalg, D. G. Infield, H. de Moor,
reflected the scenario in multi-agent system. N. van der Borg, et al., "Accuracy of Energy Prediction
Methodologies," in Photovoltaic Energy Conversion, Conference
This research is a preliminary work to show the Record of the 2006 IEEE 4th World Conference on, 2006, pp. 2206-
feasibility and utility of MAS applications in energy 2209.
management and control of islanded microgrid with high [13] M. Meinhardt and G. Cramer, "Past, present and future of grid
connected photovoltaic- and hybrid-power-systems," in Power
penetration of PV systems. In the future, authors will Engineering Society Summer Meeting, 2000. IEEE, 2000, pp. 1283-
extend this work to include the following aspects: different 1288 vol. 2.
scenarios of load-generation balance, electrical fault and [14] A. A. Salam, I. Adam, F. Z. Hamidon, and A. M. A. Haidar,
contingency analysis of microgrid, and online interfacing "Behaviour of grid connected photovoltaic systems," in Industrial
between MAS and RTDS in order to better realize the real- Electronics and Applications (ISIEA), 2011 IEEE Symposium on,
time operation of a microgrid. 2011, pp. 481-485.
[15] J. A. P. Lopes, C. L. Moreira, and A. G. Madureira, "Defining control
strategies for MicroGrids islanded operation," Power Systems, IEEE
ACKNOWLEDGMENT Transactions on, vol. 21, pp. 916-924, 2006.
The authors gratefully acknowledge the So Paulo [16] R. H. Lasseter, J. H. Eto, B. Schenkman, J. Stevens, H. Vollkommer,
Research Foundation FAPESP for financial support to carry D. Klapp, et al., "CERTS Microgrid Laboratory Test Bed," Power
out an internship at WSU to condut this research. Thanks to Delivery, IEEE Transactions on, vol. 26, pp. 325-332, 2011.
Fullbright fellowship and Washington State University also [17] R. H. Lasseter, "Smart Distribution: Coupled Microgrids," Proceedings
of the IEEE, vol. 99, pp. 1074-1082, 2011.
for supporting some of the work reported in this paper.
[18] D. K. Nichols, J. Stevens, R. H. Lasseter, J. H. Eto, and H. T.
Vollkommer, "Validation of the CERTS microgrid concept the
REFERENCES CEC/CERTS microgrid testbed," in Power Engineering Society
[1] S. S. Biswas, K. Jeong Hun, and A. K. Srivastava, "Development of a General Meeting, 2006. IEEE, 2006, p. 3 pp.
smart grid test bed and applications in PMU and PDC testing," in North [19] H. Nikkhajoei and R. H. Lasseter, "Distributed Generation Interface to
American Power Symposium (NAPS), 2012, 2012, pp. 1-6. the CERTS Microgrid," Power Delivery, IEEE Transactions on, vol.
[2] I. K. Song, W. W. Jung, J. Y. Kim, S. Y. Yun, J. H. Choi, and S. J. 24, pp. 1598-1608, 2009.
Ahn, "Operation Schemes of Smart Distribution Networks With [20] C. Niannian, X. Xufeng, and J. Mitra, "A hierarchical multi-agent
Distributed Energy Resources for Loss Reduction and Service control scheme for a black start-capable microgrid," in Power and
Restoration," Smart Grid, IEEE Transactions on, vol. PP, pp. 1-8, 2013. Energy Society General Meeting, 2011 IEEE, 2011, pp. 1-7.
[3] P. Crolla, A. J. Roscoe, A. Dysko, and G. M. Burt, "Methodology for [21] FIPA, the Foundation for Intelligent Physical Agents standards
testing loss of mains detection algorithms for microgrids and [Online]. Available: http://www.fipa.org
distributed generation using real-time power hardware-in-the-loop
[22] H. N. Aung, A. M. Khambadkone, D. Srinivasan, and T. Logenthiran,
based technique," in Power Electronics and ECCE Asia (ICPE &
"Agent-based intelligent control for real-time operation of a microgrid,"
ECCE), 2011 IEEE 8th International Conference on, 2011, pp. 833-
in Power Electronics, Drives and Energy Systems (PEDES) & 2010
838.
Power India, 2010 Joint International Conference on, 2010, pp. 1-6.
[4] M. Pipattanasomporn, H. Feroze, and S. Rahman, "Multi-agent systems
[23] C. M. Colson, M. H. Nehrir, and R. W. Gunderson, "Distributed multi-
in a distributed smart grid: Design and implementation," in Power
agent microgrids: a decentralized approach to resilient power system
Systems Conference and Exposition, 2009. PSCE '09. IEEE/PES, 2009,
self-healing," in Resilient Control Systems (ISRCS), 2011 4th
pp. 1-8.
International Symposium on, 2011, pp. 83-88.
[5] J. Mitra, C. Niannian, C. Mo-Yuen, S. Kamalasadan, L. Wenxin, Q.
[24] SunFields Europe, Handbook for autonomous photovoltaic systems
Wei, et al., "Intelligent methods for smart microgrids," in Power and
[Online]. Available: http://www.sfe-solar.com/
Energy Society General Meeting, 2011 IEEE, 2011, pp. 1-8.
[25] T. Logenthiran, D. Srinivasan, and D. Wong, "Multi-agent coordination
[6] J. Jin-Hong, K. Jong-Yul, K. Hak-Man, K. Seul-Ki, C. Changhee, K.
for DER in MicroGrid," in Sustainable Energy Technologies, 2008.
Jang-Mok, et al., "Development of Hardware In-the-Loop Simulation
ICSET 2008. IEEE International Conference on, 2008, pp. 77-82.
System for Testing Operation and Control Functions of Microgrid,"
Power Electronics, IEEE Transactions on, vol. 25, pp. 2919-2929, [26] F. Y. S. Eddy and H. B. Gooi, "Multi-agent system for optimization of
2010. microgrids," in Power Electronics and ECCE Asia (ICPE & ECCE),
2011 IEEE 8th International Conference on, 2011, pp. 2374-2381.
[7] C. M. Colson and M. H. Nehrir, "Comprehensive Real-Time Microgrid
Power Management and Control With Distributed Agents," Smart Grid, [27] JADE (Java Agent DEvelopment Framework) [Online]. Available:
IEEE Transactions on, vol. 4, pp. 617-627, 2013. http://jade.tilab.com/

You might also like