Binary Grey Wolf Optimization Algorithm-Based Load Scheduling Using a Multi-Agent System in a Grid-Tied Solar Microgrid
Abstract
1. Introduction
- A unified cost-based multi-objective function is formulated to combine energy cost, load priority, delay cost, and incentive values—each expressed in the same unit (INR). This approach eliminates the need for normalization or arbitrary weighting, thereby simplifying interpretation and enhancing mathematical clarity. Furthermore, using real monetary values for priority and delay penalties directly reflects user-centric preferences in cost terms. The optimization is implemented using BGWOA.
- Using scenario-based validation with distributed energy resource (DER) integration, the system is tested across three practical scenarios, including configurations with and without solar PV and BESS. The microgrid model is implemented using Simulink (MATLAB R2021b), and MAS implementation is developed using Simulink Stateflow to create the validation environment.
2. Problem Formulation
2.1. Load Modeling
starting time slot at which the execution of the load starts. | |
finishing time slot at which the execution of the load ends. | |
baseline starting time, prefered time slot at which the execution of the load starts. | |
baseline finishing time, prefered time slot at which the execution of the load ends. | |
total number of time slots used by the load to complete its execution. | |
power rating of the load in kW. | |
priority factor used to prioritize the execution of the load. Unit in rupees. | |
delay coefficient associated with the load that is used to represent the inconvenience associated with shifting the operation of said load. Unit in rupees. |
2.2. Optimization Problem
2.2.1. Objective Function
is the time slot, . | |
is the load, . | |
is the total number of loads, which is 6. | |
is the power source (utility grid and solar PV/BESS). | |
is the total electricity cost. | |
is the cost of electricity for the time slot t from source. | |
is the rated power of in kW. | |
is the variable indicating the ON/OFF status of at time slot t. |
is the priority factor of . Load priority is quantified in terms of rupees to reflect its relative importance in cost-based scheduling. |
denotes the delay penalty for , measured in monetary units (rupees). | |
is the total delay (the number of time slots) that the was shifted during | |
optimal scheduling. |
is the total number of time slots used by the to complete its execution. |
2.2.2. Constraints
3. Modeling of the Proposed System
3.1. MAS of the Proposed System
System Architecture of the Proposed MAS System
3.2. Microgrid Model for the Proposed System
3.2.1. Solar Photovoltaic System
3.2.2. Battery Energy Storage System (BESS)
3.2.3. Loads
3.3. Microgrid Test Environment
3.4. Binary Grey Wolf Optimization (BGWO)
Algorithm1: Binary Grey Wolf Optimization Algorithm |
|
4. Results and Discussion
4.1. Binary Grey Wolf Optimization Algorithm (BGWOA) vs. Mixed Integer Linear Programming (MILP)
4.2. Analysis of the Objective Function
4.3. Analysis Using Different Simulation Scenarios
- Optimizing the energy consumption cost using grid power.
- Optimizing the energy consumption cost utilizing solar PV power and grid power.
- Optimizing the energy consumption cost utilizing solar PV power/BESS and grid power.
4.3.1. Optimizing the Energy Consumption Cost Using Grid Power
- the load parameters;
- the ToD tariff from Kerala State Electricity Board (KSEB).
- Peak time zone;
- Normal time zone;
- Off-peak time zone.
4.3.2. Optimizing the Energy Consumption Cost Utilizing Solar PV Power and Grid Power
4.3.3. Energy Consumption Cost Utilizing Solar PV Power/BESS and Grid Power
5. Limitations and Future Work
- schedule controllable appliances during off-peak hours or during PV-surplus generation windows;
- react to price signals and user preferences;
- enable local control with fail-safe fallback to user-preferred baseline schedules in case of agent failure or communication breakdown;
- reduce operational costs for consumers and alleviate peak demand stress on the utility side, promoting grid stability.
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Abbreviations
MAS | Multi-agent system |
DSM | Demand-side management |
BGWOA | Binary grey wolf optimization algorithm |
ToD | Time-of-day |
SDG | Sustainable development goals |
PV | Photovoltaic |
BESS | Batery energy storage system |
RER | Renewable energy resource |
DER | Distributed energy resource |
DR | Demand response |
MILP | Mixed-integer linear programming |
PSO | Particle swarm optimization |
GA | Genetic algorithm |
ToU | Time-of-use |
CPP | Critical peak pricing |
RTP | Real-time pricing |
KSEB | Kerala State Electricity Board |
GWO | Grey wolf optimization |
MMG | Multi-microgrid |
References
- Tamasiga, P.; Chetty, K.; Chattopadhyay, D.; Robinson, D.; Kenny, P. Empowering Communities Beyond Wires: Renewable Energy Microgrids and the Impacts on Energy Poverty and Socio-Economic Outcomes. Energy Rep. 2024, 12, 4475–4488. [Google Scholar] [CrossRef]
- Bhattacharyya, S.C. Energy access programs and sustainable development: A critical review and analysis. Energy Sustain. Dev. 2012, 16, 260–271. [Google Scholar] [CrossRef]
- UN-Habitat. World Cities Report 2020: The Value of Sustainable Urbanization; United Nations Human Settlements Programme: Nairobi, Kenya, 2020. [Google Scholar]
- Butt, O.M.; Zulqarnain, M.; Butt, T.M. Recent advancement in smart grid technology: Future prospects in the electrical power network. Ain Shams Eng. J. 2021, 12, 687–695. [Google Scholar] [CrossRef]
- Alotaibi, I.; Abido, M.A.; Khalid, M.; Savkin, A.V. A comprehensive review of recent advances in smart grids: A sustainable future with renewable energy resources. Energies 2020, 13, 6269. [Google Scholar] [CrossRef]
- Shaukat, N.; Islam, M.R.; Rahman, M.M.; Khan, B.; Ullah, B.; Ali, S.M.; Fekih, A. Decentralized, democratized, and decarbonized future electric power distribution grids: A survey on the paradigm shift from the conventional power system to microgrid structures. IEEE Access 2023, 11, 60957–60987. [Google Scholar] [CrossRef]
- Amin, S.M.; Wollenberg, B.F. Toward a smart grid: Power delivery for the 21st century. IEEE Power Energy Mag. 2005, 3, 34–41. [Google Scholar] [CrossRef]
- Rahbar, K.; Xu, J.; Zhang, R. Real-time energy storage management for renewable integration in microgrid: An off-line optimization approach. IEEE Trans. Smart Grid 2015, 6, 124–134. [Google Scholar] [CrossRef]
- Zafar, R.; Mahmood, A.; Razzaq, S.; Ali, W.; Naeem, U.; Shehzad, K. Prosumer based energy management and sharing in smart grid. Renew. Sustain. Energy Rev. 2018, 82, 1675–1684. [Google Scholar] [CrossRef]
- Kotilainen, K. Energy prosumers’ role in the sustainable energy system. In Affordable and Clean Energy; Springer International Publishing: Cham, Switzerland, 2019; pp. 1–14. [Google Scholar]
- Jabir, H.J.; Teh, J.; Ishak, D.; Abunima, H. Impacts of demand-side management on electrical power systems: A review. Energies 2018, 11, 1050. [Google Scholar] [CrossRef]
- Zeng, P.; Xu, J.; Zhu, M. Demand response strategy based on the multi-agent system and multiple-load participation. Sustainability 2024, 16, 902. [Google Scholar] [CrossRef]
- Palensky, P.; Dietrich, D. Demand side management: Demand response, intelligent energy systems, and smart loads. IEEE Trans. Ind. Inform. 2011, 7, 381–388. [Google Scholar] [CrossRef]
- Strbac, G. Demand side management: Benefits and challenges. Energy Policy 2008, 36, 4419–4426. [Google Scholar] [CrossRef]
- Haider, H.T.; See, O.H.; Elmenreich, W. A review of residential demand response of smart grid. Renew. Sustain. Energy Rev. 2016, 59, 166–178. [Google Scholar] [CrossRef]
- Bradac, Z.; Kaczmarczyk, V.; Fiedler, P. Optimal scheduling of domestic appliances via MILP. Energies 2014, 8, 217–232. [Google Scholar] [CrossRef]
- Logenthiran, T.; Srinivasan, D.; Shun, T.Z. Multi-agent system for demand side management in smart grid. In Proceedings of the 2011 IEEE Ninth International Conference on Power Electronics and Drive Systems (PEDS), Singapore, 5–8 December 2011; pp. 938–943. [Google Scholar]
- Remani, T.; Jasmin, E.A.; Imthias Ahamed, T.P. Residential load scheduling with renewable generation in the smart grid: A reinforcement learning approach. IEEE Syst. J. 2018, 13, 3283–3294. [Google Scholar] [CrossRef]
- Remani, T.; Jasmin, E.A.; Imthias Ahamed, T.P. Load scheduling with maximum demand using binary particle swarm optimization. In Proceedings of the 2015 International Conference on Technological Advancements in Power and Energy (TAP Energy), Kollam, India, 10–12 December 2015; pp. 1–5. [Google Scholar] [CrossRef]
- Kamboj, V.K.; Bath, S.K.; Dhillon, J.S. Solution of non-convex economic load dispatch problem using Grey Wolf Optimizer. Neural Comput. Appl. 2016, 27, 1301–1316. [Google Scholar] [CrossRef]
- Gupta, S.; Deep, K. An efficient grey wolf optimizer with opposition-based learning and chaotic local search for integer and mixed-integer optimization problems. Arab. J. Sci. Eng. 2019, 44, 7277–7296. [Google Scholar] [CrossRef]
- Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
- Ayub, S.; Ayob, S.M.; Tan, C.W.; Arif, S.M.; Taimoor, M.; Aziz, L.; Bukar, A.L.; Al-Tashi, Q.; Ayop, R. Multi-Criteria Energy Management with Preference Induced Load Scheduling Using Grey Wolf Optimizer. Sustainability 2023, 15, 957. [Google Scholar] [CrossRef]
- Khan, A.R.; Mahmood, A.; Safdar, A.; Khan, Z.A.; Khan, N. Load forecasting, dynamic pricing and DSM in smart grid: A review. Renew. Sustain. Energy Rev. 2016, 54, 1311–1322. [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]
- Pipattanasomporn, M.; Feroze, H.; Rahman, S. Multi-agent systems in a distributed smart grid: Design and implementation. In Proceedings of the 2009 IEEE/PES Power Systems Conference and Exposition (PSCE), Seattle, WA, USA, 15–18 March 2009; pp. 1–8. [Google Scholar] [CrossRef]
- Kerala State Electricity Board Limited. Tariff at a Glance. 3 November 2023. Available online: https://www.kseb.in/updates (accessed on 15 June 2025).
- Ahamed, T.P.I.; Maqbool, S.D.; Malik, N.H. A reinforcement learning approach to demand response. In Proceedings of the Centenary Conference of Electrical Engineering, Bangalore, India, 15–17 December 2011; pp. 168–172. [Google Scholar]
- Javadi, M.S.; Askarzadeh, A.; Siano, P.; Mohammadi-Ivatloo, B. Self-scheduling model for home energy management systems considering the end-users discomfort index within price-based demand response programs. Sustain. Cities Soc. 2021, 68, 102792. [Google Scholar] [CrossRef]
- Rezaee Jordehi, A. Enhanced leader particle swarm optimisation (ELPSO): A new algorithm for optimal scheduling of home appliances in demand response programs. Artif. Intell. Rev. 2020, 53, 2043–2073. [Google Scholar] [CrossRef]
- Setlhaolo, D.; Xia, X.; Zhang, J. Optimal scheduling of household appliances for demand response. Electr. Power Syst. Res. 2014, 116, 24–28. [Google Scholar] [CrossRef]
- Bahlke, F.; Liu, Y.; Pesavento, M. Stochastic load scheduling for risk-limiting economic dispatch in smart microgrids. In Proceedings of the 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Shanghai, China, 20–25 March 2016; pp. 3121–3125. [Google Scholar] [CrossRef]
- Collins, M.E.; Silversides, R.W.; Green, T.C. Multi-agent system control and coordination of an electrical network. In Proceedings of the Universities Power Engineering Conference (UPEC), London, UK, 4–7 September 2012; pp. 1–5. [Google Scholar]
- Anjali, M.; Jasmin, E.A. Control of grid-tied solar battery system with irradiance-based MPPT. In Proceedings of the International Conference on Intelligent Solutions for Smart Grids and Smart Cities, Singapore, 21–23 September 2022; Springer Nature: Singapore, 2022; pp. 1–9. [Google Scholar]
- Subudhi, B.; Pradhan, R. A comparative study on maximum power point tracking techniques for photovoltaic power systems. IEEE Trans. Sustain. Energy 2013, 4, 89–98. [Google Scholar] [CrossRef]
- De Brito, M.A.G.; Sampaio, L.P.; de Azevedo e Melo, G.; Canesin, C.A. Evaluation of the main MPPT techniques for photovoltaic applications. IEEE Trans. Ind. Electron. 2013, 60, 1156–1167. [Google Scholar] [CrossRef]
- Kabir, M.N.; Mishra, Y.; Ledwich, G.; Dong, Z.Y.; Wong, K.P. Coordinated control of grid-connected photovoltaic reactive power and battery energy storage systems to improve the voltage profile of a residential distribution feeder. IEEE Trans. Ind. Inform. 2014, 10, 967–977. [Google Scholar] [CrossRef]
- Omran, W.A.; Kazerani, M.; Salama, M.M.A. Investigation of methods for reduction of power fluctuations generated from large grid-connected photovoltaic systems. IEEE Trans. Energy Convers. 2011, 26, 318–327. [Google Scholar] [CrossRef]
- Ponnaluri, S.; Khan, M.S.A.; Kumar, B.R. Comparison of single and two stage topologies for interface of BESS or fuel cell system using the ABB standard power electronics building blocks. In Proceedings of the 2005 European Conference on Power Electronics and Applications, Dresden, Germany, 11–14 September 2005; pp. 1–10. [Google Scholar]
- Mbungu, N.T.; Abu-Mahfouz, A.M.; Hancke, G.P.; Isaac, S.J. A dynamic energy management system using smart metering. Appl. Energy 2020, 280, 115990. [Google Scholar] [CrossRef]
- Wang, C.; Xiong, R.; Zhang, Y.; Zhao, H.; Cao, J. Prioritized Sum-Tree Experience Replay TD3 DRL-Based Online Energy Management of a Residential Microgrid. Appl. Energy 2024, 368, 123471. [Google Scholar] [CrossRef]
- Wang, C.; Wang, M.; Wang, A.; Zhang, X.; Zhang, J.; Ma, H.; Yang, N.; Zhao, Z.; Lai, C.S.; Lai, L.L. Multiagent Deep Reinforcement Learning-Based Cooperative Optimal Operation with Strong Scalability for Residential Microgrid Clusters. Energy 2025, 314, 134165. [Google Scholar] [CrossRef]
- Wang, C.; Liu, Y.; Zhang, Y.; Xi, L.; Yang, N.; Zhao, Z.; Lai, C.S.; Lai, L.L. Strategy for Optimizing the Bidirectional Time-of-Use Electricity Price in Multi-Microgrids Coupled with Multilevel Games. Energy 2025, 323, 135731. [Google Scholar] [CrossRef]
- Alrashed, S. Key performance indicators for Smart Campus and Microgrid. Sustain. Cities Soc. 2020, 60, 102264. [Google Scholar] [CrossRef]
Load Parameters | Load 1 | Load 2 | Load 3 | Load 4 | Load 5 | Load 6 |
---|---|---|---|---|---|---|
6 | 8 | 12 | 18 | 10 | 6 | |
9 | 15 | 20 | 22 | 18 | 10 | |
6 | 8 | 12 | 18 | 10 | 6 | |
7 | 11 | 17 | 22 | 13 | 7 | |
2 | 4 | 6 | 5 | 4 | 2 | |
3 | 2 | 2 | 3 | 2 | 2 | |
2 | 1 | 2 | 1 | 2 | 2 | |
5 | 10 | 5 | 10 | 5 | 5 |
Parameters | Values |
---|---|
Maximum Power at 1000 W/m2 | 12 kW |
30.1 V | |
7.67 A | |
240 V | |
50 A | |
Parallel strings | 7 |
Series connected modules per string | 8 |
Battery voltage | 380 V |
Battery capacity | 500 Ah |
DC link voltage | 720 V |
Parameters | Values | Parameters | Values |
---|---|---|---|
Boost converter | Bidirectional converter | ||
C boost | 223 µF | Cbk, Cbst | 60 µF, 223 µF |
L boost | 3.5 mH | Lbk, Lbst | 3.5 mH, 3.5 mH |
10 kHz | 10 kHz | ||
DC link | LCL | ||
Cdc | 3.5 mH | L lcl1, L lcl2 | 1.75 mH |
Three phase supply | 415 V, 50 Hz | Clcl, Rdamp | 24 µF, 50 |
Load Parameters | Load 1 | Load 2 | Load 3 | Load 4 | Load 5 | Load 6 |
---|---|---|---|---|---|---|
9 | 8 | 11 | 10 | 20 | 6 | |
17 | 15 | 19 | 24 | 24 | 18 | |
9 | 8 | 11 | 10 | 20 | 6 | |
11 | 11 | 15 | 16 | 21 | 13 | |
3 | 4 | 5 | 7 | 2 | 8 | |
5 | 3 | 7 | 5 | 5 | 5 | |
2 | 1 | 2 | 1 | 2 | 2 | |
5 | 10 | 5 | 10 | 5 | 5 |
Parameters Considered | Mixed Integer Linear Programming Algorithm | Binary Grey Wolf Optimization Algorithm | |||
---|---|---|---|---|---|
Maximum demand limit () | 10 | 20 | 10 | 20 | |
Optimal fitness value | 495 | 495 | 495 | 495 | |
Optimal time slots of each load | Load 1 | 8–9 | 8–9 | 8–9 | 8–9 |
Load 2 | 12–15 | 12–15 | 11–14 | 11–14 | |
Load 3 | 12–17 | 12–17 | 12–17 | 12–17 | |
Load 4 | 18–22 | 18–22 | 18–22 | 18–22 | |
Load 5 | 14–17 | 14–17 | 10–13 | 10–13 | |
Load 6 | 9–10 | 9–10 | 9–10 | 9–10 |
Parameters Considered | Mixed Integer Linear Programming Algorithm | Binary Grey Wolf Optimization Algorithm | |||
---|---|---|---|---|---|
Maximum demand limit () | 10 | 20 | 10 | 20 | |
Optimal fitness value | 1303 | 1303 | 1313 | 1313 | |
Optimal time slots of each load | Load 1 | 15–17 | 15–17 | 9–11 | 9–11 |
Load 2 | 12–15 | 12–15 | 9–12 | 9–12 | |
Load 3 | 13–17 | 13–17 | 12–16 | 12–16 | |
Load 4 | 13–17, 23–24 | 13–17, 23–24 | 10–16 | 10–16 | |
Load 5 | 23–24 | 23–24 | 23–24 | 23–24 | |
Load 6 | 10–17 | 10–17 | 9–16 | 9–16 |
Parameters Considered | Average Hourly Consumption | Average Hourly Production |
---|---|---|
Parameters in Table 1 | 2.208 kWh | 3.875 kWh |
Parameters in Table 4 | 6.125 kWh | 3.875 kWh |
Load Parameters | Possible Time Slots | Baseline Time Slots | Optimal Time Slots (Equal Priority) | Specific Priority | Optimal Time Slots (Specific Priority) |
---|---|---|---|---|---|
Load 1 | 9–17 | 9–11 | 9–11 | 2 | 10–12 |
Load 2 | 8–15 | 8–11 | 10–13 | 1 | 8–11 |
Load 3 | 11–19 | 11–15 | 12–16 | 2 | 13–17 |
Load 4 | 10–24 | 10–16 | 10–16 | 1 | 10–16 |
Load 5 | 20–24 | 20–21 | 23–24 | 2 | 23–24 |
Load 6 | 6–18 | 6–13 | 8–15 | 2 | 10–17 |
Load Parameters | Possible Time Slots | Baseline Time Slots | Delay Coefficent | Optimal Time Slots |
---|---|---|---|---|
Load 1 | 9–17 | 9–11 | 5 | 9–11 |
Load 2 | 8–15 | 8–11 | 10 | 8–11 |
Load 3 | 11–19 | 11–15 | 5 | 12–16 |
Load 4 | 10–24 | 10–16 | 10 | 10–16 |
Load 5 | 20–24 | 20–21 | 5 | 23–24 |
Load 6 | 6–18 | 6–13 | 5 | 7–14 |
Load Parameters | Possible Time Slots | Baseline Time Slots | Optimal Time Slots |
---|---|---|---|
Load 1 | 9–17 | 9–11 | 9–11 |
Load 2 | 8–15 | 8–11 | 8–11 |
Load 3 | 11–19 | 11–15 | 12–16 |
Load 4 | 10–24 | 10–16 | 10–16 |
Load 5 | 20–24 | 20–21 | 23–24 |
Load 6 | 6–18 | 6–13 | 9–16 |
Tariff | Baseline Schedule | Optimal Schedule | Cost Difference |
---|---|---|---|
Grid | 1057 | 882 | 175 |
Grid PV | 925 | 851 | 74 |
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Vasu, S.; Kumar, P.R.; Jasmin, E.A. Binary Grey Wolf Optimization Algorithm-Based Load Scheduling Using a Multi-Agent System in a Grid-Tied Solar Microgrid. Energies 2025, 18, 4423. https://doi.org/10.3390/en18164423
Vasu S, Kumar PR, Jasmin EA. Binary Grey Wolf Optimization Algorithm-Based Load Scheduling Using a Multi-Agent System in a Grid-Tied Solar Microgrid. Energies. 2025; 18(16):4423. https://doi.org/10.3390/en18164423
Chicago/Turabian StyleVasu, Sujo, P Ramesh Kumar, and E A Jasmin. 2025. "Binary Grey Wolf Optimization Algorithm-Based Load Scheduling Using a Multi-Agent System in a Grid-Tied Solar Microgrid" Energies 18, no. 16: 4423. https://doi.org/10.3390/en18164423
APA StyleVasu, S., Kumar, P. R., & Jasmin, E. A. (2025). Binary Grey Wolf Optimization Algorithm-Based Load Scheduling Using a Multi-Agent System in a Grid-Tied Solar Microgrid. Energies, 18(16), 4423. https://doi.org/10.3390/en18164423