Multi-Agent System-Based Real-Time Implementation of Advanced Energy Management in Hybrid Microgrids
Abstract
1. Introduction
- Design and physical implementation of a real-time, low-voltage hybrid dual microgrid system on a campus rooftop and laboratory, comprising two interconnected microgrids each with solar PV, wind generation, and battery energy storage.
- Development of a JADE-based multi-agent architecture—encompassing Generation Agents (SA, WA), Battery Agent (BA), Load Agent (LA), Grid Agent (GA), and Control Agent (CA)—for fully decentralized, autonomous energy management with FIPA-compliant ACL inter-agent communication.
- Comprehensive real-time performance evaluation across four distinct operating scenarios (single MG off-grid, single MG on-grid, dual MG off-grid, and dual MG on-grid) using 24 h measured operational data.
- Structured quantitative comparison against a conventional JavaScript-based centralized EMS, demonstrating equivalent dispatch accuracy alongside superior scalability, fault tolerance, and modularity of the proposed MAS framework.
2. Hybrid Microgrid System
3. Modelling of Microgrid Components
4. Multi-Agent System Using JADE
4.1. Agent Decision-Making and Internal Logic
4.2. Agent Communication Protocol
5. Objective Function and System Constraints
5.1. Objective Function
5.2. System Constraints
5.2.1. Power Balance Constraint
5.2.2. Storage Capacity Constraint
5.2.3. Battery Power Limits
6. Multi-Agent Systems-Based Autonomous Energy Management of Microgrid
6.1. Single Hybrid Microgrid (Grid-Connected/Off-Grid)
6.2. Two Hybrid Microgrid Systems
7. Realtime Implementation of Hybrid Microgrid
Load Characteristics of Microgrids
8. Real-Time Simulation Results and Discussion
8.1. Single Off-Grid Hybrid Microgrid System
8.2. Single On-Grid Hybrid Microgrid System
8.3. Two Off-Grid Hybrid Microgrid Systems
8.4. Two On-Grid Hybrid Microgrid Systems
9. Comparative Analysis
10. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| BES | Battery Energy Storage |
| MG | Microgrid |
| JADE | Java Agent DEvelopment framework |
| RES | Renewable energy sources |
| ESS | Energy storage systems |
| LFA | Levy Flight Algorithm |
| PSO | Particle Swarm optimization |
| GA | Genetic Algorithms |
| MPC | Model predictive control |
| MAS | Multi-Agent Systems |
| FIPA | Foundation for Intelligent Physical Agents |
| ACL | Agent Communication Language |
| SOC | state of charge |
| LA | Load Agent |
| CA | Control Agent |
| GA | Grid Agent |
| SA | Solar Agent |
| WA | Wind Agent |
| BA | Battery Agent |
References
- Bharatee, A.; Ray, P.K.; Ghosh, A. A Power Management Scheme for Grid-connected PV Integrated with Hybrid Energy Storage System. J. Mod. Power Syst. Clean Energy 2022, 10, 954–963. [Google Scholar] [CrossRef]
- Thirugnanam, K.; El Moursi, M.S.; Khadkikar, V.; Zeineldin, H.H.; Al Hosani, M. Energy Management Strategy of a Reconfigurable Grid-Tied Hybrid AC/DC Microgrid for Commercial Building Applications. IEEE Trans. Smart Grid 2022, 13, 1720–1738. [Google Scholar] [CrossRef]
- Patel, S.; Ghosh, A.; Ray, P.K.; Gurugubelli, V. Effective Power Management Strategy and Control of a Hybrid Microgrid with Hybrid Energy Storage Systems. IEEE Trans. Ind. Appl. 2023, 59, 7341–7355. [Google Scholar] [CrossRef]
- Modu, B.; Abdullah, M.P.; Alkassem, A.; Hamza, M.F. Optimal rule-based energy management and sizing of a grid-connected renewable energy microgrid with hybrid storage using Levy Flight Algorithm. Energy Nexus 2024, 16, 100333. [Google Scholar] [CrossRef]
- Manojkumar, R.; Reddy, C.K.; Yuvaraj, T.; Bajaj, M.; Blazek, V. Optimized rule-based energy management for AC/DC hybrid microgrids using price-based demand response. In e-Prime-Advances in Electrical Engineering, Electronics and Energy; Elsevier: Amsterdam, The Netherlands, 2025; Volume 14, p. 101132. [Google Scholar]
- Pajares, A.; Vivas, F.J.; Blasco, X.; Herrero, J.M.; Segura, F.; Andújar, J.M. A novel energy management system based on move-blocking based predictive control for use in microgrid control. Energy Convers. Manag. 2025, 345, 120400. [Google Scholar] [CrossRef]
- Osama, A.; Allam, D.; Zobaa, A.F.; Eteiba, M.B. Energy Management Solution for Islanding Based on a Dynamic Neuro-Fuzzy-Optical Microscope Algorithm. IEEE Access 2025, 13, 162256–162272. [Google Scholar] [CrossRef]
- Luo, X.; Shang, K.; Li, X.; Guan, X. Hybrid Energy Management of Ship Microgrids Based on a Novel Adaptive Accelerated Gravitational Search Algorithm. IEEE Trans. Transp. Electrif. 2025, 11, 11816–11828. [Google Scholar] [CrossRef]
- Dai, S. Optimal energy management of multi-energy multi-microgrid networks using mountain gazelle optimizer for cost and emission reduction. Energy 2025, 329, 136640. [Google Scholar] [CrossRef]
- Yoldas, Y.; Onen, A.; Alawasa, K.; El Haffar, A.; Ahshan, R.; Islam, M.R.; Muyeen, S.M.; Noorfatima, N.; Jung, J. A Framework-Based Multi-Agent Coordination for Enhanced Microgrid Energy Management at the Secondary Control Layer. IEEE Trans. Appl. Supercond. 2024, 34, 5403005. [Google Scholar] [CrossRef]
- Bhattar, C.L.; Chaudhari, M.A. Decentralized Agent Based Real-Time Energy Management Framework for Hybrid Low-Voltage Multi microgrid System. IEEE Syst. J. 2025, 19, 1109–1120. [Google Scholar] [CrossRef]
- Tieng, H.; Ou, T.C.; Tsai, T.H.; Li, Y.Y.; Hung, M.H.; Cheng, F.T. I4. 2-GiM: A novel green intelligent manufacturing framework for net zero. IEEE Trans. Autom. Sci. Eng. 2023, 22, 18030–18050. [Google Scholar] [CrossRef]
- Anvari-Moghaddam, A.; Rahimi-Kian, A.; Mirian, M.S.; Guerrero, J.M. A multi-agent-based energy management solution for integrated buildings and microgrid system. Appl. Energy 2017, 203, 41–56. [Google Scholar] [CrossRef]
- Zohaib, A.; Akram, F.; Khalid, S.; Nawaz, H.; Rehman, M.U. Hybrid deep learning-based load forecasting and AI-driven energy management for grid-connected multi-microgrids. Comput. Electr. Eng. 2026, 131, 110915. [Google Scholar] [CrossRef]
- Mohan, A.; Thirumala, K.; Prakash, J.J.; Ilango, G.S. Energy management of grid-interconnected multi-microgrids based on adjustable power and greenhouse gas credits. Renew. Energy 2026, 256, 124180. [Google Scholar] [CrossRef]
- Singh, I.; Pavithra, S.; Rajesh, K. Resilient solar microgrid management using multi-agent reinforcement learning and quantum-based action selection. Results Eng. 2025, 28, 107633. [Google Scholar] [CrossRef]
- Raju, L.; Milton, R.S.; Mahadevan, S. Application of Multi Agent Systems in Automation of Distributed Energy Management in Micro-grid using MACSimJX. In Intelligent Automation & Soft Computing; Taylor & Francis: Abingdon, UK, 2017. [Google Scholar]
- Sami, B.S. Intelligent Energy Management for Off-Grid Renewable Hybrid System Using Multi-Agent Approach. IEEE Access 2020, 8, 8681–8696. [Google Scholar] [CrossRef]
- Manbachi, M.; Ordonez, M. Intelligent Agent-Based Energy Management System for Islanded AC–DC Microgrids. IEEE Trans. Ind. Inform. 2020, 16, 4603–4614. [Google Scholar] [CrossRef]
- Alluraiah, N.C.; Vijayapriya, P. Optimization, design, and feasibility analysis of a grid-integrated hybrid AC/DC microgrid system for rural electrification. IEEE Access 2023, 11, 67013–67029. [Google Scholar] [CrossRef]
- Kumar, P.H.; Alluraiah, N.C.; Sunil, K.P.; Mishra, S.; Nagraja, K.G. Techno-Economic Analysis and Optimization of an Off-Grid Hybrid Systems for Sustainable Energy Solutions. In Power Energy and Secure Smart Technologies; CRC Press: Boca Raton, FL, USA, 2025; pp. 162–172. [Google Scholar]
- Raja, R.; Kumar, K.S.; Marimuthu, T.; Prasad, P.V. Optimal power utilization in hybrid microgrid systems with IoT-based battery-sustained energy management using RSA-PFGAN approach. J. Energy Storage 2025, 105, 114632. [Google Scholar] [CrossRef]
- Ou, T.C.; Hong, C.M. Dynamic operation and control of microgrid hybrid power systems. Energy 2014, 66, 314–323. [Google Scholar] [CrossRef]
- Ou, T.C.; Tieng, H.; Tsai, T.H.; Li, Y.Y.; Hung, M.H.; Cheng, F.T. Design of green power clouds for intelligent virtual power plants. IEEE Trans. Autom. Sci. Eng. 2024, 22, 18051–18062. [Google Scholar] [CrossRef]
- Hong, C.M.; Ou, T.C.; Lu, K.H. Development of intelligent MPPT (maximum power point tracking) control for a grid-connected hybrid power generation system. Energy 2013, 50, 270–279. [Google Scholar] [CrossRef]
- Oshnoei, S.; Aghamohammadi, M.R.; Oshnoei, S.; Sahoo, S.; Fathollahi, A.; Khooban, M.H. A novel virtual inertia control strategy for frequency regulation of islanded microgrid using two-layer multiple model predictive control. Appl. Energy 2023, 343, 121233. [Google Scholar] [CrossRef]
- Samadi, E.; Badri, A.; Ebrahimpour, R. Decentralized multi-agent based energy management of microgrid using reinforcement learning. Int. J. Electr. Power Energy Syst. 2020, 122, 106211. [Google Scholar] [CrossRef]
- Raju, L.; Vishal, E.; Vimalan, K.M. Energy Management System Using Multi Agent Systems with IoT and Machine Learning. In Proceedings of the International Conference on Circuit Power and Computing Technologies (ICCPCT), Kollam, India, 10–11 August 2023. [Google Scholar]
- Yildirim, B.; Razmi, P.; Fathollahi, A.; Gheisarnejad, M.; Khooban, M.H. Neuromorphic deep learning frequency regulation in stand-alone microgrids. Appl. Soft Comput. 2023, 144, 110418. [Google Scholar] [CrossRef]
- Oshnoei, S.; Fathollahi, A.; Oshnoei, A.; Khooban, M.H. Microgrid frequency regulation based on a fractional order cascade controller. Fractal Fract. 2023, 7, 343. [Google Scholar] [CrossRef]
- Nunna, H.K.; Doolla, S. Energy Management in Microgrids Using Demand Response and Distributed Storage—A Multi agent Approach. IEEE Trans. Power Deliv. 2013, 28, 939–947. [Google Scholar] [CrossRef]
- Areekkara, S.; Kumar, R.; Bansal, R.C. An Intelligent Multi Agent based Approach for Autonomous Energy Management in a Microgrid. Electr. Power Compon. Syst. 2021, 49, 18–31. [Google Scholar] [CrossRef]
- Ndeke, C.B.; Adonis, M.; Almaktoof, A. Energy management strategy for a hybrid micro grid system using renewable energy. Discov. Energy 2024, 4, 1. [Google Scholar] [CrossRef]
- Han, Y.; Zhang, K.; Li, H.; Coelho, E.A.A.; Guerrero, J.M. MAS-based distributed coordinated control and optimization in microgrid and microgrid clusters: A comprehensive overview. IEEE Trans. Power Electron. 2018, 33, 6488–6508. [Google Scholar] [CrossRef]
- Yu, H.; Zhang, Q.; Zeng, Y.; Liu, Y.; Zhao, Y.; Liu, S. A novel layered coordinated control scheme for energy storage system in isolated DC microgrid based on multi-agent system. J. Energy Storage 2023, 72, 108564. [Google Scholar] [CrossRef]
- Hamidi, M.; Raihani, A.; Bouattane, O. Sustainable Intelligent Energy Management System for Microgrid Using Multi-Agent Systems: A Case Study. Sustainability 2023, 15, 12546. [Google Scholar] [CrossRef]
- JADE Tool Kit. Available online: https://jade.tilab.com/ (accessed on 3 January 2024).
- The Foundation for Intelligent Physical Agent (FIPA). Available online: https://en.wikipedia.org/wiki/Foundation_for_Intelligent_Physical_Agents (accessed on 8 January 2024).
- IEC 62053; Electricity Metering Equipment—Particular Requirements—Part 21: Static Meters for AC Active Energy (Classes 0.5, 1 and 2). IEC: Geneva, Switzerland, 2021.




















| Dimension | Existing Literature | This Work |
|---|---|---|
| Deployment level | Predominantly simulation-only (MATLAB, NS-2, Java simulation) | Physical campus hardware: rooftop solar PV, wind turbines, battery banks, energy metres |
| MG configuration | Mostly single-MG MAS frameworks | Dual interconnected hybrid MGs with autonomous inter-MG power exchange |
| Operating scenarios | Typically 1–2 scenarios per study | Four scenarios: single/dual × off-grid/on-grid |
| Baseline comparison | Rarely compared to centralized EMS on same real data | Direct comparison with centralized JavaScript EMS on identical 24 h data |
| JADE implementation | Often conceptual or simulation-level JADE use | Live JADE deployment with Sniffer-verified ACL message traces |
| S. No. | System Component | Technical Specifications | Mathematical Modelling |
|---|---|---|---|
| 1 | Wind Turbine | Rated power: 1.5 kW Air density: ρ | where is the power coefficient, is tip speed ratio, and is blade pitch angle |
| 2 | Solar PV Array | Peak power: 1 kW Open-circuit voltage: Short-circuit current: | Single-diode PV model |
| 3 | Inverter | Rated power: 1.5 kW Output voltage: 230 V AC Frequency: 50 Hz | where M is modulation index and |
| 4 | Battery Energy Storage | Nominal voltage: 24 V Capacity: 150 Ah | Charging/discharging dynamics |
| 5 | Load | Rated demand: 1.5 kW AC load | Steady-state load power model |
| S. No. | Agent Property | Conceptual Definition | System-Level Interpretation |
|---|---|---|---|
| 1 | Autonomy | The ability of an agent to operate independently without external intervention or centralized supervision | Enables decentralized decision-making and enhances system scalability and fault tolerance |
| 2 | Social Ability | Capability to communicate, cooperate, and negotiate with other agents using defined interaction protocols | Facilitates coordinated actions, conflict resolution, and collective optimization in multi-agent environments |
| 3 | Reactivity | Capacity to perceive environmental states and respond to changes in real time | Allows adaptive behaviour under dynamic operating conditions, such as load variation or resource uncertainty |
| 4 | Proactivity | Ability to initiate actions based on internal objectives rather than solely responding to stimuli | Supports predictive control, goal-driven planning, and long-term performance optimization |
| Agent | Decision Logic |
|---|---|
| Load Agent (LA) | Monitors real-time load demand from connected rooms. Initiates a power request cycle at each hourly interval by broadcasting a REQUEST message to the Control Agent (CA) specifying the current power requirement. |
| Solar Agent (SA) | Monitors solar PV power output from the installed panels. Responds to CA queries with a PROPOSE message indicating available PV power. Surplus power beyond load demand is flagged for battery charging. |
| Wind Agent (WA) | Monitors wind turbine generator output. Responds to CA queries with available wind power. Operates similarly to SA in terms of priority and surplus handling. |
| Battery Agent (BA) | Monitors battery SOC continuously. Applies SOC-threshold decision rules: charges when SOC < and surplus generation exists; discharges when SOC > and a power deficit is present. Communicates SOC status and charge/discharge capacity to the CA. |
| Grid Agent (GA) | Manages bidirectional power exchange with the utility grid. Imports power from the grid only when battery SOC reaches and all local resources are exhausted. Exports surplus power to the grid only when battery SOC reaches |
| Control Agent (CA) | Supervises the overall energy management cycle. Queries all agents, aggregates their reported states, and issues dispatch commands following the priority order: renewable generation → battery storage → inter-MG exchange → grid interaction. In the dual-MG configuration, the CA selects the battery with the higher SOC for discharge and the battery with the lower SOC for charging, implementing implicit cross-MG SOC balancing. |
| ACL Performative | Direction | Purpose |
|---|---|---|
| REQUEST | LA → CA | Load Agent notifies CA of current power demand |
| PROPOSE | SA/WA/BA/GA → CA | Generation/storage agents report available power |
| ACCEPT-PROPOSAL | CA → Agent | CA confirms power allocation to the agent |
| INFORM | Agent → CA | Agent reports updated state (SOC, output power) |
| CONFIRM | CA → LA | CA confirms that load demand has been satisfied |
| S. No | Agent Type | Functional Role | Microgrid-1 Agent | Microgrid-2 Agent | Interaction Scope |
|---|---|---|---|---|---|
| 1 | Load Agent (LA) | Estimates real-time load demand, initiates power requests, and coordinates with generation and storage agents via the Directory Facilitator | LA1 | LA2 | Intra-MG and Inter-MG |
| 2 | Solar Agent (SA) | Supplies photovoltaic power based on availability and responds to demand signals from the LA | SA1 | SA2 | Intra-MG |
| 3 | Wind Agent (WA) | Provides wind-generated power and updates stochastic availability to the LA | WA1 | WA2 | Intra-MG |
| 4 | Battery Agent (BA) | Monitors state of charge, manages charge/discharge decisions, and communicates storage constraints | BA1 | BA2 | Intra-MG |
| 5 | Grid Agent (GA) | Manages bidirectional power exchange between the microgrid and the utility grid | GA | GA | External Grid Interface |
| 6 | Control Agent (CA) | Supervises negotiation, arbitrates conflicts, and enforces coordinated power sharing between interconnected microgrids | CA | CA | Global/Supervisory |
| Location | Load Category | Quantity | Unit Rating (W) | Aggregate Load (W) |
|---|---|---|---|---|
| Room 309 | Ceiling Fan | 6 | 70 | 420 |
| Tube Light | 2 | 36 | 72 | |
| Room 310 | Ceiling Fan | 3 | 70 | 210 |
| Tube Light | 2 | 36 | 72 | |
| Room 311 | Ceiling Fan | 3 | 70 | 210 |
| Tube Light | 2 | 36 | 72 | |
| Corridor | Tube Light | 1 | 36 | 36 |
| Total Connected Load | 1092 W | |||
| Location | Load Category | Quantity | Unit Rating (W) | Aggregate Load (W) |
|---|---|---|---|---|
| Room 409 | Ceiling Fan | 6 | 70 | 420 |
| Tube Light | 2 | 36 | 72 | |
| Room 410 | Ceiling Fan | 6 | 70 | 420 |
| Tube Light | 2 | 36 | 72 | |
| Corridor | Tube Light | 1 | 36 | 36 |
| Total Connected Load | 1020 W | |||
| Location | Load Type | Load Class | Priority Index (α) | Quantity | Unit Rating (W) | Microgrid-1 Load (W) | Microgrid-2 Load (W) |
|---|---|---|---|---|---|---|---|
| Room 309 | Ceiling Fan | Critical | 0.90 | 6 | 70 | 420 | - |
| Tube Light | Critical | 0.95 | 2 | 36 | 72 | - | |
| Room 310 | Ceiling Fan | Critical | 0.85 | 3 | 70 | 210 | - |
| Tube Light | Critical | 0.90 | 2 | 36 | 72 | - | |
| Room 311 | Ceiling Fan | Critical | 0.85 | 3 | 70 | 210 | - |
| Tube Light | Critical | 0.90 | 2 | 36 | 72 | - | |
| Room 409 | Ceiling Fan | Critical | 0.90 | 6 | 70 | - | 420 |
| Tube Light | Critical | 0.95 | 2 | 36 | - | 72 | |
| Room 410 | Ceiling Fan | Critical | 0.90 | 6 | 70 | - | 420 |
| Tube Light | Critical | 0.95 | 2 | 36 | - | 72 | |
| Corridor | Tube Light | Non-Critical | 0.40 | 1 | 36 | 36 | 36 |
| Total Connected Load | 1092 W | 1020 W | |||||
| Time (h) | Load Demand (W) | Total Generation (W) | Solar (W) | Wind (W) | Power Balance* (W) | Battery SOC (%) | Battery Mode |
|---|---|---|---|---|---|---|---|
| 0 | 180 | 120 | 0 | 120 | −60 | 75.0000 | Discharge |
| 1 | 180 | 180 | 0 | 180 | 0 | 74.1071 | Discharge |
| 2 | 180 | 250 | 0 | 250 | +70 | 74.1071 | Charge |
| 3 | 180 | 160 | 0 | 160 | −20 | 75.0538 | Discharge |
| 4 | 180 | 90 | 0 | 90 | −90 | 74.7562 | Discharge |
| 5 | 180 | 60 | 0 | 60 | −120 | 73.4166 | Discharge |
| 6 | 180 | 120 | 50 | 70 | −60 | 71.6281 | Discharge |
| 7 | 300 | 380 | 260 | 120 | +80 | 70.7322 | Charge |
| 8 | 700 | 720 | 520 | 200 | +20 | 71.8128 | Charge |
| 9 | 900 | 910 | 670 | 240 | +10 | 72.0830 | Charge |
| 10 | 1200 | 1100 | 750 | 350 | −100 | 72.2182 | Discharge |
| 11 | 1150 | 1350 | 800 | 550 | +200 | 70.7260 | Charge |
| 12 | 1200 | 1240 | 830 | 410 | +40 | 73.4274 | Charge |
| 13 | 900 | 1170 | 860 | 310 | +270 | 73.9682 | Charge |
| 14 | 900 | 1100 | 880 | 220 | +200 | 77.6195 | Charge |
| 15 | 1200 | 1200 | 910 | 290 | 0 | 80.3275 | Charge |
| 16 | 1150 | 1230 | 880 | 350 | +80 | 80.3275 | Charge |
| 17 | 900 | 750 | 230 | 520 | −150 | 81.4116 | Discharge |
| 18 | 450 | 710 | 50 | 660 | +260 | 79.1919 | Charge |
| 19 | 400 | 420 | 0 | 420 | +20 | 82.7141 | Charge |
| 20 | 180 | 310 | 0 | 310 | +130 | 82.9853 | Charge |
| 21 | 180 | 200 | 0 | 200 | +20 | 84.7484 | Charge |
| 22 | 180 | 120 | 0 | 120 | −60 | 85.0197 | Discharge |
| 23 | 180 | 110 | 0 | 110 | −70 | 84.1343 | Discharge |
| Hour | Load Demand (W) | Wind Power (W) | Solar Power (W) | Battery Discharge (W) | Battery Charge (W) | Battery SOC (%) | Grid Import (W) | Grid Export (W) |
|---|---|---|---|---|---|---|---|---|
| 0 | 300 | 300 | 0 | 0 | 0 | 75.0 | 0 | 0 |
| 1 | 300 | 200 | 0 | 100 | 0 | 72.2 | 0 | 0 |
| 2 | 300 | 240 | 0 | 60 | 0 | 70.6 | 0 | 0 |
| 3 | 300 | 420 | 0 | 0 | 120 | 73.9 | 0 | 0 |
| 4 | 350 | 450 | 0 | 0 | 100 | 76.7 | 0 | 0 |
| 5 | 500 | 460 | 0 | 40 | 0 | 75.6 | 0 | 0 |
| 6 | 600 | 120 | 50 | 430 | 0 | 63.6 | 0 | 0 |
| 7 | 800 | 380 | 260 | 160 | 0 | 59.2 | 0 | 0 |
| 8 | 900 | 660 | 460 | 0 | 220 | 65.3 | 0 | 0 |
| 9 | 1000 | 750 | 610 | 0 | 360 | 75.3 | 0 | 0 |
| 10 | 1100 | 1000 | 700 | 0 | 529.2 | 90.0 | 0 | 70.8 |
| 11 | 1300 | 690 | 740 | 0 | 0 | 90.0 | 0 | 130 |
| 12 | 1400 | 430 | 730 | 240 | 0 | 83.3 | 0 | 0 |
| 13 | 1400 | 390 | 670 | 340 | 0 | 73.9 | 0 | 0 |
| 14 | 1300 | 230 | 550 | 520 | 0 | 59.4 | 0 | 0 |
| 15 | 1300 | 360 | 380 | 560 | 0 | 43.9 | 0 | 0 |
| 16 | 1250 | 490 | 170 | 590 | 0 | 27.5 | 0 | 0 |
| 17 | 1100 | 600 | 0 | 270 | 0 | 20.0 | 230 | 0 |
| 18 | 400 | 740 | 0 | 0 | 340 | 29.4 | 0 | 0 |
| 19 | 400 | 630 | 0 | 0 | 230 | 35.8 | 0 | 0 |
| 20 | 300 | 580 | 0 | 0 | 280 | 43.6 | 0 | 0 |
| 21 | 300 | 440 | 0 | 0 | 140 | 47.5 | 0 | 0 |
| 22 | 300 | 620 | 0 | 0 | 320 | 56.4 | 0 | 0 |
| 23 | 200 | 530 | 0 | 0 | 330 | 65.5 | 0 | 0 |
| Hour | Load at Grid 1 (W) | Solar PV (W) | Wind (W) | Power Balance (W) | BA1 SOC (%) | Load at Grid 2 (W) | Solar PV (W) | Wind (W) | Power Balance (W) | BA2 SOC (%) | Battery Action |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 300 | 0 | 110 | −190 | 85.0 | 250 | 0 | 80 | −170 | 80.0 | Discharge |
| 1 | 300 | 0 | 140 | −160 | 75.0 | 250 | 0 | 100 | −150 | 80.0 | Discharge |
| 2 | 300 | 0 | 100 | −200 | 75.0 | 260 | 0 | 110 | −150 | 71.39 | Discharge |
| 3 | 300 | 0 | 120 | −180 | 65.28 | 250 | 0 | 70 | −180 | 71.39 | Discharge |
| 4 | 270 | 0 | 90 | −180 | 65.28 | 250 | 0 | 80 | −170 | 61.39 | Discharge |
| 5 | 280 | 0 | 60 | −220 | 55.56 | 280 | 0 | 70 | −190 | 61.39 | Discharge |
| 6 | 280 | 95 | 150 | −35 | 55.56 | 300 | 90 | 100 | −110 | 50.0 | Discharge |
| 7 | 300 | 260 | 120 | +80 | 51.53 | 290 | 260 | 120 | +90 | 50.0 | Charge |
| 8 | 500 | 450 | 200 | +150 | 51.53 | 280 | 450 | 130 | +300 | 54.72 | Charge |
| 9 | 550 | 650 | 140 | +240 | 64.03 | 360 | 607 | 150 | +397 | 54.72 | Charge |
| 10 | 700 | 699 | 300 | +299 | 64.03 | 400 | 699 | 300 | +599 | 72.42 | Charge |
| 11 | 700 | 741 | 250 | +291 | 88.97 | 500 | 741 | 350 | +591 | 72.42 | Charge |
| 12 | 650 | 772 | 350 | +472 | 88.97 | 570 | 770 | 320 | +520 | 95.0 | Charge |
| 13 | 550 | 790 | 400 | +640 | 95.0 | 620 | 810 | 320 | +510 | 95.0 | Charge |
| 14 | 600 | 799 | 370 | +569 | 95.0 | 600 | 760 | 340 | +500 | 95.0 | Charge |
| 15 | 550 | 722 | 300 | +472 | 95.0 | 590 | 650 | 350 | +410 | 95.0 | Charge |
| 16 | 600 | 579 | 250 | +229 | 95.0 | 520 | 420 | 250 | +150 | 95.0 | Charge |
| 17 | 550 | 235 | 180 | +135 | 95.0 | 390 | 180 | 200 | −10 | 95.0 | Charge |
| 18 | 400 | 55 | 140 | −175 | 95.0 | 280 | 40 | 180 | −60 | 95.0 | Discharge |
| 19 | 300 | 0 | 130 | −170 | 88.47 | 270 | 0 | 170 | −100 | 95.0 | Discharge |
| 20 | 300 | 0 | 180 | −120 | 88.47 | 250 | 0 | 160 | −90 | 87.5 | Discharge |
| 21 | 280 | 0 | 140 | −140 | 82.64 | 250 | 0 | 140 | −110 | 87.5 | Discharge |
| 22 | 270 | 0 | 120 | −150 | 82.64 | 260 | 0 | 140 | −120 | 80.56 | Discharge |
| 23 | 280 | 0 | 130 | −150 | 75.14 | 250 | 0 | 120 | −130 | 80.56 | Discharge |
| Hour of the Day | Microgrid-I Power Credit/Debit | Microgrid-I Battery SOC | Microgrid-II Power Credit/Debit | Micro Grid-II Battery SOC | Battery Action | Overall Power Surplus/Deficit | Grid Action |
|---|---|---|---|---|---|---|---|
| 0 | −190 | 85 | −170 | 80 | discharge | - | - |
| 1 | −160 | 75 | −150 | 80 | discharge | - | - |
| 2 | −200 | 75 | −150 | 71.389 | discharge | - | - |
| 3 | −180 | 65.278 | −180 | 71.389 | discharge | - | - |
| 4 | −180 | 65.278 | −170 | 61.389 | discharge | - | - |
| 5 | −220 | 55.556 | −190 | 61.389 | discharge | - | - |
| 6 | −35 | 55.556 | −110 | 50 | discharge | - | - |
| 7 | 80 | 51.528 | 90 | 50 | charge | - | - |
| 8 | 150 | 51.528 | 300 | 54.722 | charge | - | - |
| 9 | 240 | 64.028 | 397 | 54.722 | charge | - | - |
| 10 | 299 | 64.028 | 599 | 72.416 | charge | - | - |
| 11 | 291 | 88.972 | 591 | 72.416 | charge | +69 | charge |
| 12 | 472 | 88.972 | 520 | 95 | charge | +775 | charge |
| 13 | 640 | 95 | 510 | 95 | charge | +1150 | charge |
| 14 | 569 | 95 | 500 | 95 | charge | +1069 | charge |
| 15 | 472 | 95 | 410 | 95 | charge | +882 | charge |
| 16 | 229 | 95 | 150 | 95 | charge | +379 | charge |
| 17 | 135 | 95 | −10 | 95 | charge | +125 | charge |
| 18 | −175 | 95 | −60 | 95 | discharge | - | - |
| 19 | −170 | 88.472 | −100 | 95 | discharge | - | - |
| 20 | −120 | 88.472 | −90 | 87.5 | discharge | - | - |
| 21 | −140 | 82.639 | −110 | 87.5 | discharge | - | - |
| 22 | −150 | 82.639 | −120 | 80.556 | discharge | - | - |
| 23 | −150 | 75.139 | −130 | 80.556 | discharge | - | - |
| Evaluation Criterion | JADE-Based MAS (Proposed) | Centralized JavaScript EMS (Baseline) |
|---|---|---|
| Power balance accuracy | Maintained at every hour; zero unmet load across all four scenarios | Equivalent dispatch for same input—correctness validated |
| Battery SOC constraint compliance | 100%—SOC bounded within [20%, 90%] in all scenarios | Compliant within programmed thresholds only |
| Renewable utilization (on-grid, 24 h) | ~107% avg (surplus exported at hrs 10–11) | Identical—no autonomous surplus routing |
| Grid import events | 1 event (hour 17, 230 W import) | Same—no autonomous grid prioritization |
| Inter-MG power exchange | Autonomous SOC-based negotiation between BA1 and BA2 | Not supported—single MG architecture |
| Fault tolerance | Agent failure does not collapse system (JADE AMS/DF recovery) | Single point of failure—centralized controller |
| Scalability | Agent plug-and-play via JADE DF—new MGs added without redesign | Requires full code re-architecture per additional MG |
| Platform independence | JADE runs on any JVM-compatible platform | Node.js/browser-dependent |
| Hr | Load (kW) | Solar (kW) | Wind (kW) | Renewable Share (%) | Battery SOC (%) | Battery Action (kW) | Grid Interaction (kW) |
|---|---|---|---|---|---|---|---|
| 0 | 300 | 0 | 300 | 100 | 75.0 | 0 | 0 |
| 1 | 300 | 0 | 200 | 67 | 72.2 | −100 | 0 |
| 2 | 300 | 0 | 240 | 80 | 70.6 | −60 | 0 |
| 3 | 300 | 0 | 420 | 140 | 73.9 | +120 | 0 |
| 4 | 350 | 0 | 450 | 129 | 76.7 | +100 | 0 |
| 5 | 500 | 0 | 460 | 92 | 75.6 | −40 | 0 |
| 6 | 600 | 50 | 120 | 28 | 63.6 | −430 | 0 |
| 7 | 800 | 260 | 380 | 80 | 59.2 | −160 | 0 |
| 8 | 900 | 460 | 660 | 124 | 65.3 | +220 | 0 |
| 9 | 1000 | 610 | 750 | 136 | 75.3 | +360 | 0 |
| 10 | 1100 | 700 | 1000 | 155 | 90.0 | +529.2 | +70.8 |
| 11 | 1300 | 740 | 690 | 110 | 90.0 | 0 | +130 |
| 12 | 1400 | 730 | 430 | 83 | 83.3 | −240 | 0 |
| 13 | 1400 | 670 | 390 | 75 | 73.9 | −340 | 0 |
| 14 | 1300 | 550 | 230 | 60 | 59.4 | −520 | 0 |
| 15 | 1300 | 380 | 360 | 57 | 43.9 | −560 | 0 |
| 16 | 1250 | 170 | 490 | 53 | 27.5 | −590 | 0 |
| 17 | 1100 | 0 | 600 | 55 | 20.0 | −270 | −230 |
| 18 | 400 | 0 | 740 | 185 | 29.4 | +340 | 0 |
| 19 | 400 | 0 | 630 | 158 | 35.8 | +230 | 0 |
| 20 | 300 | 0 | 580 | 193 | 43.6 | +280 | 0 |
| 21 | 300 | 0 | 440 | 147 | 47.5 | +140 | 0 |
| 22 | 300 | 0 | 620 | 207 | 56.4 | +320 | 0 |
| 23 | 200 | 0 | 530 | 265 | 65.5 | +330 | 0 |
| Time Block | Dominant Source | Battery Role | Grid Dependency | Operational Interpretation |
|---|---|---|---|---|
| 00–05 | Wind | Mild discharge/charge | None | Wind-driven autonomous operation |
| 06–08 | Battery | Heavy discharge | None | Morning load ramp support |
| 09–11 | Solar + Wind | Aggressive charging | Import at the SOC limit | Renewable surplus saturation |
| 12–16 | Battery | Deep discharge | None | Peak demand shaving |
| 17 | Wind + Grid | Discharge + export | Active | SOC floor protection |
| 18–23 | Wind | Progressive charging | None | Night-time recovery phase |
| Metric | Value | Interpretation |
|---|---|---|
| Maximum SOC | 90% | Upper safety bound respected |
| Minimum SOC | 20% | Battery degradation avoided |
| Peak Discharge | −590 kW (Hr 16) | Worst-case support during load peak |
| Peak Charge | +529.2 kW (Hr 10) | Renewable over-utilization |
| SOC Violations | None | Constraint-compliant optimization |
| Mode | Hours | Energy Role |
|---|---|---|
| Grid Import | 10–11 | Backup during SOC saturation |
| Grid Export | 17 | Excess wind export |
| Islanded Operation | 21 h | High resilience and autonomy |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Kudumula, P.K.R.; Balachennaiah, P. Multi-Agent System-Based Real-Time Implementation of Advanced Energy Management in Hybrid Microgrids. Information 2026, 17, 497. https://doi.org/10.3390/info17050497
Kudumula PKR, Balachennaiah P. Multi-Agent System-Based Real-Time Implementation of Advanced Energy Management in Hybrid Microgrids. Information. 2026; 17(5):497. https://doi.org/10.3390/info17050497
Chicago/Turabian StyleKudumula, Praveen Kumar Reddy, and P. Balachennaiah. 2026. "Multi-Agent System-Based Real-Time Implementation of Advanced Energy Management in Hybrid Microgrids" Information 17, no. 5: 497. https://doi.org/10.3390/info17050497
APA StyleKudumula, P. K. R., & Balachennaiah, P. (2026). Multi-Agent System-Based Real-Time Implementation of Advanced Energy Management in Hybrid Microgrids. Information, 17(5), 497. https://doi.org/10.3390/info17050497

