Submitted:
07 August 2024
Posted:
09 August 2024
You are already at the latest version
Abstract

Keywords:
1. Introduction
1.1. Literature Review
2. Methodology of Building and Implementing GPC
- Minimizing excess power production: Optimize power generation to closely match load demand with the aim of minimizing overgeneration and consequently minimizing the power injection in the upstream network.
- Balancing cost and emissions: Achieve a balance between cost and carbon emissions to maximize the economic and environmental viability of the MG.
2.1. MG System Model
2.2. The Implementation of MPC
- The control vector consists of the variables that the MPC can manipulate to achieve the desired performance.
- The state vector includes variables that represent the current status of the system.
- The output vector consists of the variables that the MPC aims to regulate or track.
- For the PV panel and wind turbine, the power output and can be modelled as:
- Power losses in transmission and distribution lines can be expressed as:
- The SOC of the ESS and its charging/discharging efficiency can be modelled as:
- 1.Power Balance Constraint:
- 2.
- Generation Capacity Constraints:
- 3.
- Ramp Rate Constraints:
- 4.
- Emissions Constraint:
2.3. The Implementation of GA Algorithm
- Initialization: An initial population of candidate solutions, chromosomes in the form of control inputs.
- Selection: Parent chromosomes are selected and survive according to computed fitness values for each chromosome.
- Crossover: Parents chromosomes are combined to produce the offspring.
- Mutation: It introduces small random changes in chromosomes of offspring to provide an element of randomness and to retain diversity.
- Evaluation: Compute the fitness of offspring chromosomes.
- Replacement: Create a new population considering the best chromosomes of the current population and offsprings.
- Crossover: A single-point crossover operation can be defined as:
- Mutation: A mutation operation can be defined as:
2.4. The Implementation of GPC
- Prediction: Use system model to predict future states over the prediction horizon.
- Optimization: Apply GA to optimize the control inputs over the prediction horizon.
- Implementation: Implement the optimized control inputs in the MG system.
- Repetition: Execute repetition of the process at each of the control steps to adapt to the changing conditions.
- Excess Power Production: Measured as the total surplus power generated beyond the load demand, and the power to be stored in the ESS. This power will be injected into upstream grid.
- Power Generation Costs: Calculated as an estimate of the operational costs for DERs.
- Emissions: Quantified in terms of the total emissions produced by the MG.
2.5. Practical Implementation Steps of GPC
3. Results
3.1. The Case Study Description
3.2. Mutation–Random Selection
3.3. Mutation–Elitism
3.4. Crossover-Random Selection
3.5. Crossover-Elitism
4. Discussion
4.1. Performance Analysis
4.2. Methodological Insights
4.3. Limitations and Challenges
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- X. He, S. X. He, S. Cui, Y.-W. Wang, and J.-W. Xiao, “A Data-Driven MPC-Based Energy Optimization and Management Framework of an Energy Building,” in 2021 33rd Chinese Control and Decision Conference (CCDC), IEEE, 21, pp. 5139–5144. 20 May. [CrossRef]
- K. Qian, D. K. Qian, D. Liu, Y. Yan, Y. Xu, H. Wei, and J. Zhang, “Research on configuration optimization of integrated energy system considering equipment nonlinearity,” in 2023 IEEE 6th International Electrical and Energy Conference (CIEEC), IEEE, 23, pp. 3722–3726. 20 May. [CrossRef]
- S. Chapaloglou, E. F. S. Chapaloglou, E. F. Alves, V. Trovato, and E. Tedeschi, “Optimal Energy Management in Autonomous Power Systems With Probabilistic Security Constraints and Adaptive Frequency Control,” IEEE Transactions on Power Systems, vol. 39, no. 1, pp. 1543–1554, Jan. 2024. [CrossRef]
- I. Dincer, M. A. I. Dincer, M. A. Rosen, and P. Ahmadi, Optimization of Energy Systems. Wiley, 2017. [CrossRef]
- K. Ma, G. K. Ma, G. Hu, and C. J. Spanos, “Energy Management Considering Load Operations and Forecast Errors With Application to HVAC Systems,” IEEE Trans Smart Grid, vol. 9, no. 2, pp. 605–614, Mar. 2018. [CrossRef]
- F. Carreras and H. Kirchsteiger, “An Empirical Approach to Optimize non-linear Problems of Domestic Energy Management Systems,” CONECT. International Scientific Conference of Environmental and Climate Technologies, p. 54, 23. 20 May. [CrossRef]
- J. Müller, “Evolutionary optimization under uncertainty in energy management systems,” it - Information Technology, vol. 59, no. 1, pp. 23–29, Feb. 2017. [CrossRef]
- M. Sadees, A. M. Sadees, A. Raju, U. Mukherjee, and K. Vijayakumar, “Genetic Algorithm Based Energy Management in Microgrid,” 2022, pp. 445–455. [CrossRef]
- A.A. El-Fergany and M. A. El-Hameed, “Efficient frequency controllers for autonomous two-area hybrid microgrid system using social-spider optimiser,” IET Generation, Transmission & Distribution, vol. 11, no. 3, pp. 637–648, Feb. 2017. [CrossRef]
- S. V Sah, V. S. V Sah, V. Prakash, P. K. Pathak, and A. K. Yadav, “Fractional Order AGC Design for Power Systems via Artificial Gorilla Troops Optimizer,” in 2022 IEEE International Conference on Power Electronics, Drives and Energy Systems (PEDES), IEEE, Dec. 2022, pp. 1–6. [CrossRef]
- K. S. Joshal and N. Gupta, “Microgrids with Model Predictive Control: A Critical Review,” Energies (Basel), vol. 16, no. 13, p. 4851, Jun. 2023. [CrossRef]
- H. Li, C. H. Li, C. Zang, P. Zeng, H. Yu, and Z. Li, “A genetic algorithm-based hybrid optimization approach for microgrid energy management,” in 2015 IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), IEEE, Jun. 2015, pp. 1474–1478. [CrossRef]
- M. Ramesh, A. K. M. Ramesh, A. K. Yadav, and P. K. Pathak, “Artificial Gorilla Troops Optimizer for Frequency Regulation of Wind Contributed Microgrid System,” J Comput Nonlinear Dyn, vol. 18, no. 1, Jan. 2023. [CrossRef]
- W. Li, R. W. Li, R. Wang, T. Zhang, M. Ming, and H. Lei, “Multi-scenario microgrid optimization using an evolutionary multi-objective algorithm,” Swarm Evol Comput, vol. 50, p. 100570, Nov. 2019. [CrossRef]
- S. J. Nanda and G. Panda, “A survey on nature inspired metaheuristic algorithms for partitional clustering,” Swarm Evol Comput, vol. 16, pp. 1–18, Jun. 2014. [CrossRef]
- B.-Y. Qu and P. N. Suganthan, “Novel multimodal problems and differential evolution with ensemble of restricted tournament selection,” in IEEE Congress on Evolutionary Computation, IEEE, Jul. 2010, pp. 1–7. [CrossRef]
- E. F. Camacho and C. Bordons, Model Predictive control. London: Springer London, 2007. [CrossRef]
- L. Wang, Model Predictive Control System Design and Implementation Using MATLAB®. London: Springer London, 2009. [CrossRef]
- J. B. Rawlings and D. Q. Mayne, Model Predictive Control Theory and Design. Nob Hill Pub, Llc, 2009.
- S. J. Qin and T. A. Badgwell, “A survey of industrial model predictive control technology,” Control Eng Pract, vol. 11, no. 7, pp. 733–764, Jul. 2003. [CrossRef]
- M. H. Moradi, “Predictive control with constraints,” Int J Adapt Control Signal Process, vol. 17, no. 3, pp. 261–262, Apr. 2003. [CrossRef]
- A.Panday and H. O. Bansal, “Energy management strategy for hybrid electric vehicles using genetic algorithm,” Journal of Renewable and Sustainable Energy, vol. 8, no. 1, Jan. 2016. [CrossRef]
- G. Pannocchia, “Handbook of Model Predictive Control [Bookshelf],” IEEE Control Syst, vol. 40, no. 5, pp. 96–99, Oct. 2020. [CrossRef]
- R. Maouedj, A. R. Maouedj, A. Mammeri, M. D. Draou, and B. Benyoucef, “Performance Evaluation of Hybrid Photovoltaic-wind Power Systems,” Energy Procedia, vol. 50, pp. 797–807, 2014. [CrossRef]
- N. Ding, K. N. Ding, K. Prasad, and T. T. Lie, “Design of a hybrid energy management system using designed rule-based control strategy and genetic algorithm for the series-parallel plug-in hybrid electric vehicle,” Int J Energy Res, vol. 45, no. 2, pp. 1627–1644, Feb. 2021. [CrossRef]
- A. Alzahrani et al., “Multi-Objective Energy Optimization with Load and Distributed Energy Source Scheduling in the Smart Power Grid,” Sustainability, vol. 15, no. 13, p. 9970, Jun. 2023. [CrossRef]
- Z. Ren, X. Z. Ren, X. Qu, M. Wang, and C. Zou, “Multi-Objective Optimization for DC Microgrid Using Combination of NSGA-II Algorithm and Linear Search Method,” IEEE J Emerg Sel Top Circuits Syst, vol. 13, no. 3, pp. 789–796, Sep. 2023. [CrossRef]
- R. Elazab, A. T. R. Elazab, A. T. Abdelnaby, and A. A. Ali, “A comparative study of advanced evolutionary algorithms for optimizing microgrid performance under dynamic pricing conditions,” Sci Rep, vol. 14, no. 1, p. 4548, Feb. 2024. [CrossRef]
- C. Bordons, F. C. Bordons, F. Garcia-Torres, and M. A. Ridao, Model Predictive Control of Microgrids. Cham: Springer International Publishing, 2020. [CrossRef]
- O. Akbulut, M. O. Akbulut, M. Cavus, M. Cengiz, A. Allahham, D. Giaouris, and M. Forshaw, “Hybrid Intelligent Control System for Adaptive Microgrid Optimization: Integration of Rule-Based Control and Deep Learning Techniques,” Energies (Basel), vol. 17, no. 10, p. 2260, 24. 20 May. [CrossRef]
- M. Cavus, A. M. Cavus, A. Allahham, K. Adhikari, and D. Giaouris, “A hybrid method based on logic predictive controller for flexible hybrid microgrid with plug-and-play capabilities,” Appl Energy, vol. 359, p. 122752, Apr. 2024. [CrossRef]
- M. Cavus, Y. F. M. Cavus, Y. F. Ugurluoglu, H. Ayan, A. Allahham, K. Adhikari, and D. Giaouris, “Switched Auto-Regressive Neural Control (S-ANC) for Energy Management of Hybrid Microgrids,” Applied Sciences, vol. 13, no. 21, p. 11744, Oct. 2023. [CrossRef]
- T. Pamulapati, M. T. Pamulapati, M. Cavus, I. Odigwe, A. Allahham, S. Walker, and D. Giaouris, “A Review of Microgrid Energy Management Strategies from the Energy Trilemma Perspective,” Energies (Basel), vol. 16, no. 1, p. 289, Dec. 2022. [CrossRef]
- M. Cavus, A. M. Cavus, A. Allahham, K. Adhikari, M. Zangiabadia, and D. Giaouris, “Control of microgrids using an enhanced Model Predictive Controller,” in 11th International Conference on Power Electronics, Machines and Drives (PEMD 2022), Institution of Engineering and Technology, 2022, pp. 660–665. [CrossRef]
- G. Shankar and V. Mukherjee, “Load frequency control of an autonomous hybrid power system by quasi-oppositional harmony search algorithm,” International Journal of Electrical Power & Energy Systems, vol. 78, pp. 715–734, Jun. 2016. [CrossRef]
- A. Villalón, M. A. Villalón, M. Rivera, Y. Salgueiro, J. Muñoz, T. Dragičević, and F. Blaabjerg, “Predictive Control for Microgrid Applications: A Review Study,” Energies (Basel), vol. 13, no. 10, p. 2454, 20. 20 May. [CrossRef]
- P. P. Vergara, R. P. P. Vergara, R. Torquato, and L. C. P. da Silva, “Towards a real-time Energy Management System for a Microgrid using a multi-objective genetic algorithm,” in 2015 IEEE Power & Energy Society General Meeting, IEEE, Jul. 2015, pp. 1–5. [CrossRef]
- D. Q. Mayne, J. B. D. Q. Mayne, J. B. Rawlings, C. V. Rao, and P. O. M. Scokaert, “Constrained model predictive control: Stability and optimality,” Automatica, vol. 36, no. 6, pp. 789–814, Jun. 2000. [CrossRef]
- F. Garcia-Torres, A. F. Garcia-Torres, A. Zafra-Cabeza, C. Silva, S. Grieu, T. Darure, and A. Estanqueiro, “Model Predictive Control for Microgrid Functionalities: Review and Future Challenges,” Energies (Basel), vol. 14, no. 5, p. 1296, Feb. 2021. [CrossRef]
- P. Zhang, MPC for microgrids: Theory and practice (IEEE Press Series on Power and Energy Systems), 1st edition. Wiley-IEEE Press, 2024.
- L. S. N. D. and M. R., “Review on advanced control techniques for microgrids,” Energy Reports, vol. 10, pp. 3054–3072, Nov. 2023. [CrossRef]






| Time (Hours) | Solar Irradiation (W/m2) | Wind Speed (m/s) | Load Demand (kW) |
|---|---|---|---|
| 01:00 | 0 | 12 | 50 |
| 02:00 | 0 | 11 | 45 |
| 03:00 | 0 | 10 | 43 |
| 04:00 | 0 | 9 | 35 |
| 05:00 | 50 | 8 | 30 |
| 06:00 | 100 | 6 | 40 |
| 07:00 | 200 | 5 | 54 |
| 08:00 | 400 | 14 | 60 |
| 09:00 | 600 | 12 | 74 |
| 10:00 | 800 | 10 | 80 |
| 11:00 | 1000 | 10 | 90 |
| 12:00 | 1100 | 7 | 105 |
| 13:00 | 1000 | 7 | 97 |
| 14:00 | 800 | 8 | 98 |
| 15:00 | 600 | 9 | 99 |
| 16:00 | 400 | 7 | 87 |
| 17:00 | 200 | 11 | 102 |
| 18:00 | 100 | 13 | 101 |
| 19:00 | 50 | 15 | 105 |
| 20:00 | 0 | 14 | 98 |
| 21:00 | 0 | 13 | 99 |
| 22:00 | 0 | 7 | 96 |
| 23:00 | 0 | 6 | 94 |
| 24:00 | 0 | 7 | 90 |
| Parameters | Values | Parameters | Values |
|---|---|---|---|
| ESS capacity | 150 kWh | Daytime price (7 AM - 7 PM) | $0.20 per kWh |
| PV panels | 100 kW | Nighttime price (7 PM - 7 AM) | $0.10 per kWh |
| WTs | 90 kW | 0.9 (90%) | |
| 0.95 | 0.15 (15%) | ||
| 0.90 | 0.5 (50%) | ||
| 0 kW | 0.5 ohms | ||
| 110 kW | 24 h | ||
| 1.0 | 5 h | ||
| 0.6 | mutation rate | 0.1 | |
| 0.4 | emission factor | 0.22499 kg CO2e per kWh | |
| 200 m² | -0.0045 (°C⁻¹) | ||
| 0.18 (18%) | 90 m² | ||
| 50 kW | 3 m/s | ||
| 25 m/s | 12 m/s |
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. |
© 2024 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/).