Skip to Content
EnergiesEnergies
  • Article
  • Open Access

5 September 2012

16 Pages

An Intelligent Multiagent System for Autonomous Microgrid Operation

,
and
1
Department of Electrical Engineering, University of Incheon, 12-1 Sondo-dong, Yeonsu-gu, Incheon 406-840, Korea
2
Department of Information Media, University of Suwon, 2-2 San, Wau-ri, Bongdam-eup, Hwaseong-si, Gyeonggi-do 445-743, Korea
3
Graduate School of Information Science, Tohoku University, 2-1-1 Katahira, Aoba-ku, Sendai 980-8577, Japan
*
Author to whom correspondence should be addressed.
This article belongs to the Special Issue Electrical Power and Energy Systems

Abstract

A microgrid is an eco-friendly power system because renewable sources such as solar and wind power are used as the main power sources. For this reason, much research, development, and demonstration projects have recently taken place in many countries. Operation is one of the important research topics for microgrids. For efficient and economical microgrid operation, a human operator is required as in other power systems, but it is difficult because there are some restrictions related to operation costs and privacy issues. To overcome the restriction, autonomous operation for microgrids is required. Recently, an intelligent agent system for autonomous microgrid operation has been studied as a potential solution. This paper proposes a multiagent system for autonomous microgrid operation. To build the multiagent system, the functionalities of agents, interactions among agents, and an effective agent protocol have been designed. The proposed system has been implemented by using an ADIPS/DASH framework as an agent platform. The intelligent multiagent system for microgrid operation based on the proposed scheme is tested to show the functionality and feasibility on a distributed environment through the Internet.

1. Introduction

Microgrid operation is an especially important research topic. An important function of microgrid operation is to maintain a constant frequency, such as 50 Hz or 60 Hz, as a critical requirement. It relates to the balance between power supply and power demand. A microgrid is operated in two modes: the grid-connected mode and the islanded mode. In the grid-connected mode, a microgrid can trade power with the upstream power grid to solve the power imbalance. On the other hand, when the power imbalance occurs in the islanded mode, the decrease of total output of distributed generators (DGs), or load-shedding, which is intentional load reduction, can be used to solve the power imbalance. In this paper, we focus on the grid-connected mode.
For efficient and economical microgrid operation, a human operator is required as in existing power systems. However, there are some restrictions relating to operation costs and privacy issues, because distributed devices or systems in the microgrid are too small-scale for hiring human operators, and microgrids can be located at residential homes. In order to address the restrictions, autonomous operation for microgrids is required.
In order to implement autonomous systems or functions, intelligent agent technologies can be a good solution. An intelligent agent (abbreviated as an agent) can sense external environmental changes, effectively make decisions based on designed purposes against the changes, and act autonomously according to the decision. A multiagent system is an autonomous system or society composed of multiple agents. In the multiagent system, agents can communicate using an agent communication language (ACL) and share knowledge for their cooperation [1,2,3]. For these reasons, interests in multiagent systems for microgrid applications as a potential solution have been growing.
In this paper, a multiagent system is modeled and designed for autonomous microgrid operation in the grid-connected mode. The proposed multiagent system for autonomous microgrid operation is tested to show its feasibility and functionality.
The composition of this paper is as follows: related work is described in Section 2. Section 3 describes the concept of microgrid operation and adopted operation rules. Section 4 explains the configuration of the proposed multiagent system, interactions among agents, decision-making strategies for agents, and implementation. Section 5 shows the results of the feasibility and functionality test of the proposed multiagent system in a distributed environment. Finally, we summarize the outcomes in Section 6.

3. Microgrid Operation

3.1. Microgrid

A microgrid is a small-scale power system composed of DGs such as solar power, wind power, or combined heat power (CHP) systems, distributed storage systems (DSs) such as a battery system or a flywheel system, and loads such as residential buildings, commercial buildings, public offices, or industrial compounds. A microgrid is connected to a utility grid (or an upstream power grid) though the point of common coupling (PCC).
Microgrid operation is assumed in this paper as follows. A microgrid is operated in two steps: planning and implementation, like in conventional power systems as shown in Figure 1. The Microgrid Operation and Control Center (MGOCC) establishes an operation plan for the next interval and implements the established operation plan during the next interval. The interval period depends on applied operation rules [18,19,20].
Figure 1. Procedure of microgrid operation [18].
According to the characteristics of competition in power markets, two kinds of power market environments for microgrid can be considered. One is a power market related to a power grid. The other is a power market for the inner-microgrid (abbreviated as the inner-market). In this paper, we consider both power market environments, but we focus more on the latter environment because it is closely related to microgrid operation. In the former environment, the power imbalance is solved briefly by power trading with an upstream power grid.

3.2. Operational Rules

We assume the following operation rules based on conventional operation rules for power grids:
  • From the upstream power grid, the MGOCC receives a price for selling power to the power grid (PS) and a price for buying power from the power grid (PB) at the beginning of an interval. PB is higher than PS like general market places.
  • The MGOCC announces the prices to participants in the microgrid.
  • DGs bid their supply amounts and prices to the MGOCC.
  • Loads inform their load amounts to the MGOCC.
  • DSs can select one among three actions: no action, charge, and discharge. In the case of charge, DSs inform load amounts to the MGOCC. In the case of discharge, DSs bid supply amounts and prices to the MGOCC.
  • All bidding prices should be less than or equal to PB.
  • The MGOCC selects final suppliers considering total power demand. The final suppliers are selected by the descending order of bidding prices.
  • Final suppliers should supply agreed amounts during the next interval.
  • In the case of supply shortage, the microgrid should buy power from the upstream power grid at PB.
  • In the case of supply surplus, suppliers not selected as final suppliers or final suppliers having additional supply power can sell their power to the power grid directly at PS.
Figure 2 shows the above-mentioned operation rules. From the operation rules based on the power market environment, the electricity price of a microgrid is decided between PS and PB. This point gives an advantage to suppliers and consumers of the microgrid because suppliers can supply their power at a price greater than or equal to PS and consumers can use power at a price less than or equal to PB. In the case of DSs, they should forecast the power balance of the microgrid for effective decision-making for the DSs between charge and discharge, but this is difficult in practice. For simplicity, it is considered that the MGOCC computes a power balance after gathering the information of power supply/power demand from DGs/loads, and then informs the DSs of the power balance.
Figure 2. Operation rules for microgrids.

4. Design and Implementation of the Multiagent System

4.1. Configuration of the Multiagent System

To construct a multiagent system for microgrid operation, the following agent set (Ag) is defined:
Ag = {AgMGOCC, AGL, AGDG, AGDS}
where AgMGOCC is the MGOCC agent; AGL is a set of load agents (AgL); AGDG is a set of DG agents (AgDG); and AGDS is a set of DS agents (AgDS). In the system, AgMGOCC interacts with all participants, i.e., AgDGs, AgDSs, and AgLs as a manager for microgrid operation.

4.2. Design of Interaction among Agents

A communication protocol for the multiagent system has been designed based on the Contract Net Protocol (CNP). The CNP is a high-level protocol for communication and control in a distributed system [21]. One salient feature of the CNP is a simple framework based on announcing a new task, bidding, and awarding a contract. The basic steps of the CNP are similar to contract steps in human society. It has been modified for effective applications in many areas [22,23,24]. In order to implement the proposed multiagent system, we employ a modified CNP (MCNP). Figure 3 shows the workflow based on the MCNP designed for microgrid operation. We define messages for interactions among agents, such as call for proposal (cfp), propose-load, refuse, propose-supply, reject-proposal, accept-proposal, and report. Table 1 shows the details of the messages. Three tasks are also defined such as T1 (a task between AgMGOCC and AgLs), T2 (a task between AgMGOCC and AgDGs), and T3 (a task between AgMGOCC and AgDSs). Additionally, there are four deadlines:
  • D1: deadline for submitting proposal of AgLs and AgDGs in interval i (T1 & T2).
  • D2: deadline for submitting proposal of AgDSs in interval i (T3).
  • D3: deadline for awarding contracts to final suppliers and consumers in interval i (T1 − T3).
  • D4: deadline for submitting the report in interval i + 2 (T1 − T3).
Table 1. Details of the defined messages.
Figure 3. Workflow for microgrid operation.

4.3. Design of Agents

In our system, there are four types of agents: AgMGOCC, AgDG, AgL, and AgDS. First of all, we define the functionalities of AgMGOCC as a managing agent of microgrid operation as follows:
  • Announcing a new task with trade prices with the power grid to AgDGs and AgLs.
  • Gathering information of supply and demand from AgDGs and AgLs.
  • Checking the power balance.
  • Announcing a new task to AgDSs with information of the power balance and the trade prices.
  • Selecting final suppliers by the descending order of bidding prices.
  • Announcing information of supply and demand to AgDGs as the final suppliers and AgLs.
  • Distributing operation results.
  • Receiving reports from the final suppliers.
Figure 4 shows the pseudo codes to select final suppliers for AgMGOCC. Once AgMGOCC gathers information from AgDGs, AgLs, and AgDSs, it compares total amount of power supply (in the figure, we call it supply_sum) with total amount of load demanded (in the figure, we call it load_sum). There are three cases; when supply_sum is greater than load_sum, when supply_sum is less than load_sum, and when supply_sum is the same with load_sum. For the first case, AgMGOCC selects the final suppliers among suppliers by their bidding prices in lines 11–21 of the figure. For the second case, AgMGOCC buys the power from the power grid as much as supply shortage in lines 22–28. For the last case, AgMGOCC selects all suppliers as final suppliers in lines 29–34.
Figure 4. Pseudo codes for AgMGOCC.
Next, the functionalities of AgDG is defined as follows:
  • Proposing the amount of power supply and a bidding price to AgMGOCC.
  • Selling power to the upstream power grid directly in the case of a supplier who is not selected as a final supplier or who has additional power.
  • Sending a report to AgMGOCC after finishing the agreed contract.
The AgDG takes charge of a DG or a group of DGs located in the same place and uses a bid function (Fbid) and a trade function (Ftrade) for decision making on its bid to AgMGOCC and trading with a power grid, respectively:
F b i d    =     { 1 if  P cost ≤ P B 0 other
F t r a d e    =     { 1 if  P cost ≤ P S 0 other
where Pcost is the production cost of a DG.
The AgL takes charge of a consumption device or a group of consumption devices located in the same place. It is assumed that AgL has the ability to forecast the amount of load for the next interval. It has been designed to implement the following tasks:
  • Waiting for a new task from AgMGOCC at the beginning of an interval.
  • Informing AgMGOCC of the load amount.
Finally, AgDS has two roles: supplier and consumer. As a supplier, AgDS use Fbid in Equation (3) for bidding on an amount of supply. Its bidding price is updated by using the arithmetical mean considering the charged amount and the electricity charge. As a consumer, AgDS has been designed to charge its available amount fully, i.e. the difference between maximal capacity and the state of charge (SOC).

4.4. Implementation

In this paper, we implement the proposed multiagent system by using the Agent-based Architecture of Distributed Information Processing Systems (ADIPS)/Distributed Agent System based on Hybrid Architecture (DASH) framework as an agent platform [25,26,27]. The main features of the ADIPS/DASH framework are summarized as follows:
  • The ADIPS/DASH is a repository-based agent framework which consists of the distributed agent workplace (abbreviated as the workplace) and the agent repository (abbreviated as the repository).
  • An agent is designed and implemented to describe the agent’s behavior knowledge for solving a cooperative problem with the agent’s meta-knowledge for managing the agent in the repository.
  • The behavior knowledge is represented as a set of rules using the rule-type knowledge representation format (in contrast to the meta-knowledge, which is described using the frame-type knowledge representation format).
  • The ADIPS/DASH framework provides a wrapping mechanism to utilize external software modules such as Java programs as the procedural knowledge of the agent.
  • Agents can communicate with different types of agents such as FIPA-compliant JADE agents by using ACL messages of the DASH agent.

5. Test Results

5.1. Test Environment

In order to test the functionality and feasibility of the proposed multiagent system, the system is composed of AgMGOCC, three AgDGs, an AgDS, and two AgLs. Figure 5 shows a distributed environment based on four PCs for the test. Agents use the Internet for their communications. 24 intervals are considered. The following shows the information on DG1, DG2, DG3 and DS.
  • DG1 = production cost: 20 ¢/kWh, capacity: 5 kWh
  • DG2 = production cost: 40 ¢/kWh, capacity: 15 kWh
  • DG3 = production cost: 70 ¢/kWh, capacity: 20 kWh
  • DS = initial state of charge (SOC): 0 kWh, initial cost: 0 ¢/kWh, capacity: 5 kWh.
Figure 5. Distributed environment based on four PCs for test.
AgDGs and AgDS use their production costs as bidding prices for simplicity. Table 2 shows power trade prices with the power grid (PS and PB) and loads (L1 and L2) in 24 intervals. Figure 6 shows the assumed power trade prices in 24 intervals.
Figure 6. Power trading prices in 24 intervals.
Table 2. Power trade prices with the power grid and loads in 24 intervals.

5.2. Results

Figure 7 shows the load amounts of L1, L2, and DS as the result of multiagent-based microgrid operation, where DS plays the role of a consumer by its demand for charge in intervals 1, 13, and 23. Figure 8 shows the power supplied by DG1, DG2, DG3, and DS as the result of microgrid operation, where DS plays the role of a supplier by discharge action in intervals 7, 8, and 18. Figure 9 shows power trades with the power grid, where selling power to the grid is conducted by DG3.
Figure 7. Demand operated by the system.
Figure 8. Supply operated by the system.
Figure 9. Power trade operated by the system.

5.3. Evaluation

The experimental results shown in Figure 7, Figure 8 and Figure 9 are summarized in Table 3 and Table 4. Table 3 shows the power balance between power supply and power demand. By charging DS, the power supply of the DGs increases in intervals 1, 13, and 23. In addition, the discharge of DS plays a potential role in lowering the power price of the microgrid in intervals 7, 8, and 18. Table 4 shows the behavior of DG3 having the highest production cost among the DGs. Because of its highest production cost, the power amount selected from AgMGOCC using the merit order is different according to the power balance of each interval. In the case of supply surplus, the amount of power it supplies to the microgrid is decreased. However, DG3 can sell its extra power to the power grid whenever the selling price of the power market is higher than its production cost.
From the results, we can find that DG3, having the highest production cost, can be restricted to supply power to the microgrid, because DS has lower production cost. For example, in interval 7, DG3 saves its generation cost by reducing the power generation and sells its extra power to the power grid, but that is not guaranteed. The situation is caused by the merit order of AgMGOCC. This can be solved by giving higher priority than the DSs’ bidding prices in practical application. The problem deciding the priority can be considered as a design parameter of the proposed multiagent system.
Table 3. Power balance of microgrid in 24 intervals.
Table 4. Behavior of DG3 in 24 intervals.

6. Conclusions

In this paper, a multiagent system for microgrid operation has been proposed. We have defined the functionalities of agents in the microgrid and interactions among agents. For effective interactions among agents, the MCNP has been designed. We have implemented the proposed system using the ADIPS/DASH framework. The implemented system has been tested on a distributed environment using the Internet to evaluate the functionality and feasibility for microgrid operation.
In this paper, we considered scenarios that selling prices are always less than buying prices. However, in some other scenarios, the selling prices are not necessarily always less than buying prices. Thus, as a future work, we plan to consider the various scenarios to provide the flexible microgrid operation. In addition, we plan to integrate control functions of the microgrid in the proposed system into a hardware-in-the loop simulation (HILS) and in a small-scale microgrid pilot in order to consider the whole microgrid operation.

Acknowledgements

This work was supported by the Power Generation & Electricity Delivery of the Korea Institute of Energy Technology Evaluation and Planning (KETEP) grant funded by the Korea Government Ministry of Knowledge Economy (No. 20111020400220).

References

  1. Wooldridge, M. An Introduction to Multiagent Systems, 2nd ed.; John Wiley and Sons: Chichester, UK, 2008. [Google Scholar]
  2. Weiss, G. Multiagent Systems: A Modern Approach to Distributed Artificial Intelligence; The MIT Press: Cambridge, MA, USA, 1998. [Google Scholar]
  3. Kinoshita, T. Building Agent-Based Systems [in Japanese]; The Institute of Electronics, Information and Communication Engineers (IEICE): Tokyo, Japan, 2001. [Google Scholar]
  4. Xiao, Z.; Li, T.; Huang, M.; Shi, J.; Yang, J.; Yu, J.; Wu, W. Hierarchical MAS based control strategy for microgrid. Energies 2010, 2, 1622–1638. [Google Scholar] [CrossRef]
  5. Li, T.; Xiao, Z.; Huang, M.; Yu, J. Control system simulation on microgrid based on IP and Multi-Agent. In Proceedings of the 2010 International Conference on Information, Networking and Automation, Kunming, China, 18–19 October 2010; pp. 235–239.
  6. Shao, D.; Wei, Q.; Nie, T. A Multi-agent control strategy in microgrid islanded mode. In Proceedings of the 6th International Forum on Strategy Technology, Harbin, China, 22–24 August 2011; pp. 429–432.
  7. Cai, N.; Mitra, J. A decentralized control architecture for a microgrid with power electronic interfaces. In Proceedings of the 2010 North American Power Symposium, Arlington, TX, USA, 26–28 September 2010; pp. 1–8.
  8. Cai, N.; Xu, X.; Mitra, J. A hierarchical Multi-agent control scheme for a black start-capable microgrid. In Proceedings of the 2011 IEEE Power and Energy Society General Meeting, Detroit, MI, USA, 24–28 July 2011; pp. 1–7.
  9. Zheng, W.; Cai, J. A Mulit-Agent system for distributed energy resources control in microgrid. In In Proceedings of the 5th International Conference on Digital Object Identifier, Cape Town, South Africa, 23–27 May 2010; pp. 1–5.
  10. Colson, C.M.; Nehrir, M.H. Algorithms for distributed decision-making for Multi-Agent microgrid power management. In Proceedings of the 2011 IEEE Power and Energy Society General Meeting, Detroit, MI, USA, 24–28 July 2011; pp. 1–8.
  11. Zheng, G.; Li, N. Mulit-Agent based control system for multi-microgrids. In Proceedings of the 2010 International Conference on Computational Intelligence and Software Engineering, Wuhan, China, 10–12 December 2010; pp. 1–4.
  12. Dimeas, A.L.; Hatziargyriou, N.D. Mulit-Agent reinforcement learning for microgrids. In Proceedings of 2010 IEEE Power and Energy Society General Meeting, Minneapolis, MN, USA, 25–29 July 2010; pp. 1–8.
  13. Xu, Y.; Liu, W. Novel multiagent based load restoration algorithm for microgrids. IEEE Trans. Smart Grid 2011, 1, 152–161. [Google Scholar] [CrossRef]
  14. Li, P.; Song, B.; Wang, W.; Wang, T. Multi-Agent approach for service restoration of microgrid. In Proceedings of the 5th IEEE Conference on Industrial Electronics and Applications, Taichung, Taiwan, 15–17 June 2010; pp. 962–966.
  15. Gampa, K.; Randae, S.J.; Jain, P.; Balakrishnan, M.; Yemewar, S. Performance analysis of capacity discovery algorithm on hardware platform. In Proceedings of the 2010 North American Power Symposium, Arlington, TX, USA, 26–28 September 2010; pp. 1–7.
  16. Logenthiran, T.; Srinivasan, D.; Khambadkone, A.M.; Aung, H.N. Scalable Multi-Agent system (MAS) for operation of a microgrid in islanded mode. In Proceedings of the 2010 Joint International Conference on Power Electronics, Drives and Energy Systems (PEDES) & 2010 Power India, New Delhi, India, 20–23 December 2010; pp. 1–6.
  17. Meiqin, M.; Wei, D.; Chang, L. Multi-Agent based simulation for microgrid energy management. In Proceedings of the 8th International Conference on Power Electronics and ECCE Asia, Jeju, Korea, 30 May–3 June 2011; pp. 1–5.
  18. Kim, H.-M.; Kinoshita, T. A multiagent system for microgrid operation in the grid-interconnected mode. J. Electr. Eng. Technol. 2010, 2, 246–254. [Google Scholar] [CrossRef]
  19. Kim, H.-M.; Kinoshita, T.; Shin, M.-C. A multiagent system for autonomous operation of islanded microgrids based on a power market environment. Energies 2010, 3, 1972–1990. [Google Scholar] [CrossRef]
  20. Kim, H.-M.; Kinoshita, T.; Lim, Y. Talmudic approach to load-shedding of islanded microgrid operation based on multiagent system. J. Electr. Eng. Technol. 2011, 2, 284–292. [Google Scholar] [CrossRef]
  21. Smith, R.G. The contract net protocol: High-level communication and control in a distributed problem solver. IEEE Trans. Comput. 1980, 5, 1104–1113. [Google Scholar] [CrossRef]
  22. Lau, J.S.K.; Huang, G.Q.; Mak, K.L.; Liang, L. Agent-based modeling of supply chains for distributed scheduling. IEEE Trans. Syst. Man Cybern. 2006, 5, 847–861. [Google Scholar] [CrossRef]
  23. Li, J.-H. MAS-based negotiation mechanism for ship multi-project scheduling. In Proceedings of the 8th International Conference on Machine Learning and Cybernetics, Baoding, China, 12–15 July 2009; pp. 1–5.
  24. FIPA Contract Net Interaction Protocol Specification. Available online: http://www.fipa.org/specs/fipa00029/SC00029H.html (accessed on 30 August 2012).
  25. Kinoshita, T.; Sugawara, K. ADIPS framework for flexible distributed systems. Lect. Notes Comput. Sci. 1998, 1599, 18–32. [Google Scholar]
  26. Uchiya, T.; Maemura, T.; Li, X.; Kinoshita, T. Design and implementation of interactive design environment of agent system. Lect. Notes Comput. Sci. 2007, 4570, 1088–1097. [Google Scholar]
  27. IDEA/DASH Tutorial (Interactive Design Environment for Agent system). Available online: http://www.ka.riec.tohoku.ac.jp/idea/index.html (accessed on 30 August 2012).

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.