A Comprehensive Benchmarking of Evolutionary, Swarm-Intelligence, and Surrogate-Assisted Optimization for Residual Demand Forecasting in South African Microgrids †
Abstract
1. Introduction
2. Literature Review
2.1. Machine Learning in Energy Forecasting
2.2. Hyperparameter Optimization Paradigms
2.3. Data-Centric Optimization Gaps
3. Methodology
4. Assessment Metrics and Forecasting Results
4.1. Performance Evaluation Metrics
4.2. Comprehensive Performance Benchmarking
4.3. Multi-Horizon Forecasting Analysis
4.4. Residual Error Characterization
5. Case Study: Input Data and Setting
5.1. Input Data
5.2. Experimental Configuration
5.3. Validation Protocol
6. In-Depth Discussion of Findings
6.1. Engineering Significance and Operational Implications
The Accuracy–Efficiency Trade-Off as a Deployment Decision Variable
7. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| RDF | Residual Demand Forecasting |
| HEBO | Heteroscedastic Evolutionary Bayesian Optimization |
| GP-BO | Gaussian Process Bayesian Optimization |
| PSO | Particle Swarm Optimization |
| CQALA | Chaotic Quasi-Reverse Artificial Lemming Algorithm |
| AEIO | Age of Exploration-Inspired Optimizer |
References
- Strbac, G.; Papadaskalopoulos, D.; Chrysanthopoulos, N.; Estanqueiro, A.; Algarvio, H.; Lopes, F.; de Vries, L.; Morales-Espana, G.; Sijm, J.; Hernandez-Serna, R.; et al. Decarbonization of Electricity Systems in Europe: Market Design Challenges. IEEE Power Energy Mag. 2021, 19, 53–63. [Google Scholar] [CrossRef]
- Kim, J.E. Sustainable energy transition in developing countries: The role of energy aid donors. Clim. Policy 2019, 19, 1–16. [Google Scholar] [CrossRef]
- Baker, L.; Newell, P.; Phillips, J. The Political Economy of Energy Transitions: The Case of South Africa. New Political Econ. 2014, 19, 791–818. [Google Scholar] [CrossRef]
- Sousa, T.; Soares, T.; Pinson, P.; Moret, F.; Baroche, T.; Sorin, E. Peer-to-peer and community-based markets: A comprehensive review. Renew. Sustain. Energy Rev. 2019, 104, 367–378. [Google Scholar] [CrossRef]
- Hong, T. Energy Forecasting: Past, Present, and Future. Foresight Int. J. Appl. Forecast. 2014, 32, 43–48. [Google Scholar]
- Shahzad, S.; Abbasi, M.A.; Ali, H.; Iqbal, M.; Munir, R.; Kilic, H. Possibilities, Challenges, and Future Opportunities of Microgrids: A Review. Sustainability 2023, 15, 6366. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Association for Computing Machinery, San Francisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Yang, L.; Shami, A. On hyperparameter optimization of machine learning algorithms: Theory and practice. Neurocomputing 2020, 415, 295–316. [Google Scholar] [CrossRef]
- Razak, T.R.; Ismail, M.H.; Darus, M.Y.; Jarimi, H.; Su, Y. Artificial Intelligence in Renewable Energy: A Systematic Review of Trends in Solar, Wind, and Smart Grid Applications. Res. Rev. Sustain. 2025, 1, 1–22. [Google Scholar] [CrossRef]
- Cowen-Rivers, A.I.; Lyu, W.; Tutunov, R.; Wang, Z.; Grosnit, A.; Griffiths, R.R.; Maraval, A.M.; Jianye, H.; Wang, J.; Peters, J.; et al. HEBO: An Empirical Study of Assumptions in Bayesian Optimisation. J. Artif. Intell. Res. 2022, 74, 1269–1349. [Google Scholar] [CrossRef]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
- Shahriari, B.; Swersky, K.; Wang, Z.; Adams, R.P.; de Freitas, N. Taking the Human Out of the Loop: A Review of Bayesian Optimization. Proc. IEEE 2016, 104, 148–175. [Google Scholar] [CrossRef]
- Hyndman, R.J.; Athanasopoulos, G. Forecasting: Principles and Practice; OTexts: Melbourne, Australia, 2018. [Google Scholar]
- Dudek, G. Pattern-based local linear regression models for short-term load forecasting. Electr. Power Syst. Res. 2016, 130, 139–147. [Google Scholar] [CrossRef]
- Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.-Y. Lightgbm: A highly efficient gradient boosting decision tree. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; Volume 30, pp. 3149–3157. [Google Scholar]
- Jalalifar, R.; Delavar, M.R.; Ghaderi, S.F. SAC-ConvLSTM: A novel spatio-temporal deep learning-based approach for a short term power load forecasting. Expert Syst. Appl. 2024, 237, 121487. [Google Scholar] [CrossRef]
- Yang, J. Deep learning methods for smart grid data analysis. In Proceedings of the 2024 4th International Conference on Smart Grid and Energy Internet (SGEI), Shenyang, China, 13–15 December 2024; pp. 717–720. [Google Scholar] [CrossRef]
- Adib, A.; Nduka, O.S. Hyperparameter Optimization Techniques for Enhanced Machine Learning Energy Forecasting: A Comparative Analysis. In Proceedings of the 2025 13th International Conference on Smart Grid (icSmartGrid), Glasgow, UK, 27–29 May 2025; pp. 220–224. [Google Scholar] [CrossRef]
- Bischl, B.; Binder, M.; Lang, M.; Pielok, T.; Richter, J.; Coors, S.; Thomas, J.; Ullmann, T.; Becker, M.; Boulesteix, A.; et al. Hyperparameter optimization: Foundations, algorithms, best practices, and open challenges. Wiley Interdiscip. Rev. Data Min. Knowl. Discov. 2023, 13, e1484. [Google Scholar] [CrossRef]
- Chou, J.S.; Nguyen, H.M. Advancing energy predictive models in smart and sustainable buildings through the age of exploration-inspired optimization of machine and deep learning. Build. Environ. 2026, 290, 114113. [Google Scholar] [CrossRef]
- Chen, S.; Wan, H.; Peng, B.; Quan, R.; Chang, Y.; Derigent, W. Accurate multi-step wind and solar power forecasting based on multi-scale convolutional Kolmogorov-Arnold network and improved Lemming-optimized attention fusion. Eng. Appl. Artif. Intell. 2026, 163, 112832. [Google Scholar] [CrossRef]
- Snoek, J.; Larochelle, H.; Adams, R.P. Practical bayesian optimization of machine learning algorithms. Adv. Neural Inf. Process. Syst. 2012, 25, 2960–2968. [Google Scholar]
- Sadheesh Kumar, S.J. Next-Gen Solar Forecasting: PSO-Optimized Bayesian LSTM for Enhanced Accuracy. J. Oper. Autom. Power Eng. 2025. [Google Scholar] [CrossRef]
- Ejiyi, C.J.; Cai, D.; Thomas, D.; Obiora, S.; Osei-Mensah, E.; Acen, C.; Eze, F.O.; Sam, F.; Zhang, Q.; Bamisile, O.O. Comprehensive review of artificial intelligence applications in renewable energy systems: Current implementations and emerging trends. J. Big Data 2025, 12, 169. [Google Scholar] [CrossRef]
- Zha, D.; Bhat, Z.P.; Lai, K.-H.; Yang, F.; Hu, X. Data-centric AI: Perspectives and Challenges. In 2023 SIAM International Conference on Data Mining (SDM); Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2023; pp. 945–948. [Google Scholar] [CrossRef]
- Wolpert, D.H.; Macready, W.G. No free lunch theorems for optimization. IEEE Trans. Evol. Comput. 1997, 1, 67–82. [Google Scholar] [CrossRef]
- Murtiningsih, D.A.; Sari, B.W.; Fajri, I.N. Comparison of Light Gradient Boosting Machine, eXtreme Gradient Boosting, and CatBoost with Balancing and Hyperparameter Tuning for Hypertension Risk Prediction on Clinical Dataset. J. Appl. Inform. Comput. 2025, 9, 2753–2763. [Google Scholar] [CrossRef]
- Hidayaturrohman, Q.A.; Hanada, E. A Comparative Analysis of Hyper-Parameter Optimization Methods for Predicting Heart Failure Outcomes. Appl. Sci. 2025, 15, 3393. [Google Scholar] [CrossRef]
- Hyperlocalized Energy Sharing Market Size & Trends Estimation. Available online: https://www.htfmarketintelligence.com/report/global-hyperlocalized-energy-sharing-market (accessed on 14 February 2026).
- Yang, Q.; Liu, Y.; Chen, T.; Tong, Y. Federated Machine Learning: Concept and Applications. ACM Trans. Intell. Syst. Technol. 2019, 10, 1–19. [Google Scholar] [CrossRef]
- Yang, Q.; Lin, Y.; Kuang, S.; Wang, D. A novel short-term load forecasting approach for data-poor areas based on K-MIFS-XGBoost and transfer-learning. Electr. Power Syst. Res. 2024, 229, 110151. [Google Scholar] [CrossRef]
- Barredo Arrieta, A.; Díaz-Rodríguez, N.; Del Ser, J.; Bennetot, A.; Tabik, S.; Barbado, A.; Garcia, S.; Gil-Lopez, S.; Molina, D.; Benjamins, R.; et al. Explainable Artificial Intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Inf. Fusion 2020, 58, 82–115. [Google Scholar] [CrossRef]



| Optimizer | Best Scaling | MAPE (%) | RMSLE | Optimization Time |
|---|---|---|---|---|
| PSO | Standard | 0.469 | 0.00227 | 23.38 h |
| HEBO | Standard | 0.482 | 0.00231 | 20.63 h |
| GP-BO | Robust | 4.770 | 0.01768 | 0.32 h |
| Optimizer | Optimal Scaling | Performance Drop with Alternative |
|---|---|---|
| PSO | Standard | 41% higher MAPE with Robust |
| HEBO | Standard | 47% higher MAPE with Robust |
| GP-BO | Robust | 24% higher MAPE with Standard |
| Metric | PSO | HEBO | GP-BO |
|---|---|---|---|
| Time | 23.38 h | 20.63 h | 0.32 h |
| Evaluations | 372 | 372 | 60 |
| CPU Utilization | 56.3% | 56.1% | 5.6% |
| Model Size | 7.05 MB | 3.52 MB | - |
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
Nemakonde, P.; Nemangwele, F.; Ratshitanga, M.; Folly, K.A. A Comprehensive Benchmarking of Evolutionary, Swarm-Intelligence, and Surrogate-Assisted Optimization for Residual Demand Forecasting in South African Microgrids. Eng. Proc. 2026, 140, 17. https://doi.org/10.3390/engproc2026140017
Nemakonde P, Nemangwele F, Ratshitanga M, Folly KA. A Comprehensive Benchmarking of Evolutionary, Swarm-Intelligence, and Surrogate-Assisted Optimization for Residual Demand Forecasting in South African Microgrids. Engineering Proceedings. 2026; 140(1):17. https://doi.org/10.3390/engproc2026140017
Chicago/Turabian StyleNemakonde, Pfano, Fhulufhelo Nemangwele, Mukovhe Ratshitanga, and Komla Agbenyo Folly. 2026. "A Comprehensive Benchmarking of Evolutionary, Swarm-Intelligence, and Surrogate-Assisted Optimization for Residual Demand Forecasting in South African Microgrids" Engineering Proceedings 140, no. 1: 17. https://doi.org/10.3390/engproc2026140017
APA StyleNemakonde, P., Nemangwele, F., Ratshitanga, M., & Folly, K. A. (2026). A Comprehensive Benchmarking of Evolutionary, Swarm-Intelligence, and Surrogate-Assisted Optimization for Residual Demand Forecasting in South African Microgrids. Engineering Proceedings, 140(1), 17. https://doi.org/10.3390/engproc2026140017

