Electricity generation, primarily relying on coal, gas, and oil, is a major contributor to global warming. These carbon-based fuels emit greenhouse gases into the atmosphere [
1,
2]. Renewable energy technologies offer a sustainable energy supply option that can significantly reduce fossil fuel use in electricity generation [
2,
3,
4]. Interest in hybrid renewable energy systems (HRES), particularly photovoltaic (PV) and wind energy, has intensified in recent years in pursuit of a reliable and sustainable electricity supply, driven by growing energy demand due to urbanisation and industrialisation. The deployment of HRES is continuously growing [
5,
6]. These technologies offer off-grid electrification solutions, especially in remote areas and villages [
7]. HRES are used for a variety of goals, including ensuring energy security, diversifying economies and energy sources, meeting rising energy demand, and promoting social and environmental welfare [
8]. The selection and sizing of HRES components are designed to be cost-effective while meeting the environmental and geographical requirements [
9]. When selecting the optimal configuration of an HRES, it is essential to consider multiple criteria, including economic, technical, and environmental performance [
5]. The Hybrid Optimisation Model for Electric Renewable (HOMER) 1.1 software is widely used for designing and selecting cost-effective HRES because it efficiently performs optimisation and sensitivity analyses when assessing alternative system configurations [
10,
11]. HOMER is a cost-optimisation software; as a result, the optimal system is selected based on economic performance, with the configuration achieving the lowest LCOE or NPC chosen as the optimal system. While the LCOE and NPC are important economic indicators, the software does not account for the system’s environmental or thermodynamic aspects. Some systems, while having lower LCOE, may have higher Renewable Fractions (RF) and emissions, especially since HRES systems are often coupled with fossil fuel systems for stability [
5]. In optimisation, metaheuristic algorithms have gained significant interest [
12,
13]. They are more popular for solving optimisation problems due to their simplicity and robust results, and are used across diverse fields such as engineering, business, transportation, and social sciences [
14]. Metaheuristics are optimisation techniques that solve difficult problems by mimicking natural processes and iteratively refining candidate solutions [
15]. Many of these algorithms are inspired by nature, including well-known methods like Genetic Algorithm (GA), Particle Swarm Optimisation (PSO), and Ant Colony Optimisation (ACO). However, not all evolutionary algorithms are purely nature-inspired; for example, Differential Evolution (DE) shares terminology with genetic algorithms but is generally not considered to be derived from nature [
16]. While HOMER determines the best system configurations, running HOMER simulations multiple times during metaheuristic optimisation can be resource-intensive because each candidate solution requires a full hourly energy balance simulation. This computational load becomes particularly substantial when numerous algorithms and repeated optimisation runs are necessary.
To overcome this limitation, the study presents a surrogate-assisted optimisation framework using HOMER Grid-based techno-economic data. A validated local surrogate model replaces multiple HOMER simulations, allowing various classical metaheuristic algorithms to explore the same design space with consistent optimisation conditions. The proposed framework provides a consistent basis for comparing the algorithms by assessing their convergence behaviour, optimisation performance, computational efficiency, robustness, and statistical significance. This ensures that the benchmarking process is both fair and reproducible. This study compares six well-known classical metaheuristic algorithms to identify the most effective approach for optimising a grid-connected PV battery renewable energy system. The algorithms are evaluated using a composite fitness function that simultaneously reduces the LCOE, NPC, and electricity purchased from the grid while maximising the renewable energy use. Friedman ranking and Holm-adjusted Wilcoxon tests are used to provide objective evidence of each algorithm’s performance, establishing a solid baseline for future comparisons with new and hybrid optimisation methods.
1.1. Related Work
Metaheuristic algorithms provide effective search mechanisms; however, their population-based nature requires many objective evaluations, which become problematic when each evaluation requires a detailed simulation of an energy system over a long operating horizon. Zhang et al. [
17] acknowledged that HRES design requires lifecycle simulation, which can be computationally costly.
Surrogate-assisted models have emerged as an attractive solution for addressing this issue. Surrogate models replace repeated simulations by training machine learning models on previously evaluated solutions, which are then used to approximate the objective function. In existing literature on surrogate-assisted evolutionary optimisation algorithms, the surrogate directly replaces expensive objective evaluations by approximating an aggregated single objective and/or classifying candidate solutions according to dominance relationships. This allows the algorithm to perform several inexpensive evaluations while reserving computationally costly simulations for selected validation.
Many studies have applied this concept, especially in energy systems problems. Srithapon et al. [
18] developed a surrogate-assisted multi-objective framework for a distribution network comprising PV, a battery energy storage system, and electric vehicles. The surrogate used deep learning techniques to avoid repeated deterministic load flow calculations, while multi-objective DE performed the optimisation. The surrogate model adopted in this study reduced computational burden while retaining overall effective optimisation performance. Another author, Kaewdornhan et al. [
19], used a deep neural network (DNN) surrogate model to develop a framework for multiple microgrid energy management. The surrogate model in their study reduced the computational cost of repeated power flow calculations. The studies by Srithapon et al. [
18] and Kaewdornhan et al. [
19] demonstrated the applicability of surrogate-assisted optimisation in renewable energy systems and more broadly to power system problems where high evaluation costs are prohibitive.
Zhang et al. [
17] developed a surrogate-assisted multimodal multi-objective evolutionary algorithm (SaMMEA) for HRES using a Gaussian process (GP) surrogate model. This approach was motivated by the computational cost of long-term simulations and included model updating during evolutionary search. This study reported that the surrogate uncertainty tends to influence the search direction, which further demonstrates the importance of maintaining an accurate surrogate model for the optimal optimisation of the performance of metaheuristic optimisation algorithms. In recent years, surrogate-assisted optimisation has been extended to experimental and real-time energy management environments. Islam et al. [
20] integrated surrogate-assisted optimisation with power-hardware-in-the-loop and smart grid systems, using physical replay to ensure that generated surrogate solutions remained physically feasible. Their study recorded a substantial reduction in the number of true value evaluations while maintaining stable optimisation behaviour. The study highlighted an important consideration in surrogate-assisted optimisation problems by demonstrating the balance between computational efficiency and the physical validity of surrogate predictions.
Several machine learning models have been used as surrogates. These include, but are not limited to, Gaussian Processes, radial basis functions (RBF), neural networks, random forests, and other regression approaches. Zhang et al. recognised machine learning models such as polynomial regression, RBF, neural networks, and GP as well-established surrogate approaches; however, they selected GP because of its high prediction accuracy and its ability to quantify prediction uncertainty, which is useful for guiding evolutionary searches. Other studies have argued that surrogate model performance is problem-dependent. Zhang et al. [
21], for example, investigated surrogate-assisted DE for wave energy converter optimisation and compared neural network models with GP and RBF models. Their framework used surrogate predictions to reduce the computational cost of hydrodynamic calculations and employed model selection procedures to guide the optimisation process. Khoshgoftar Manesh et al. [
22] further emphasised the importance of selecting the correct surrogate. The authors systematically compared linear regression, ridge regression, random forest, and gradient boosting for modelling six performance indicators of a steam thermal power plant. Gradient boosting provided the strongest predictive performance, with a reported coefficient of determination (R
2) of 0.9912, and was subsequently integrated with the Non-dominated Sorting Genetic Algorithm third generation (NSGA-III), Multi-Objective Multi-Verse Optimiser (MOMVO), and Multi-Objective Grasshopper Optimisation Algorithm (MOGOA) for multi-objective optimisation. The resulting nonlinear economic and environmental responses showed that gradient boosting outperformed random forest, while all linear models lacked the representational capacity for more complex relationships. These findings indicate that surrogate selection should be based on the characteristics of the optimisation problem rather than assuming that one modelling technique is universally optimal. In a low-dimensional PV battery sizing problem, a local non-parametric model can provide an attractive alternative to more computationally intensive global models, particularly when the available simulation dataset is relatively small, and candidate solutions are expected to remain within the observed design domain.
1.2. Research Gap and Positioning of the Present Study
The reviewed articles reveal three key observations. First, HRES sizing optimisation problems are nonlinear and often involve multiple conflicting and/or competing techno-economic objectives. This makes metaheuristic optimisation algorithms highly attractive for solving nonlinear problems. Furthermore, the reviewed literature highlights the high computational cost of repeated simulations, which further strengthens the case for adopting surrogate-assisted models to reduce computational cost. Lastly, the performance of metaheuristic optimisation algorithms and surrogate models depends on the problem being solved; hence, algorithmic superiority cannot be inferred from isolated comparisons. A key gap exists in the literature, especially as regards the controlled benchmarking of classical algorithms for the surrogate-assisted techno-economic sizing of grid-connected PV battery energy systems. Most studies introduce improved algorithms, including hybrid algorithms with surrogate-assisted models, to demonstrate performance against a limited set of competitors. Furthermore, many existing surrogate-assisted studies address multi-objective Pareto-front generation, whereas the relative performance of classical PSO, GA, DE, GWO, WOA, and SFSA on a common techno-economic PV battery optimisation landscape has not been systematically established. Zhang et al. [
1] specifically note that much of the HRES literature focuses on obtaining well-distributed Pareto fronts, with comparatively less attention paid to decision-space diversity and computational considerations. The present study addresses this gap by establishing a controlled benchmark in which six classical metaheuristic algorithms, including PSO, GA, DE, GWO, WOA, and SFSA, optimise the same surrogate-derived techno-economic landscape for a grid-connected PV battery system. The framework uses HOMER Grid simulation outputs as the underlying data source and a distance-weighted k-nearest neighbour surrogate to avoid repeatedly executing the computationally expensive simulation during optimisation. The six algorithms use identical population sizes, iteration limits, independent repetitions, design variables, and evaluation criteria, so performance differences can be attributed primarily to the algorithms’ search characteristics rather than unequal computational resources. The study further evaluates convergence, final fitness, runtime, robustness, nearest-observed validation, and non-parametric statistical differences. The methodological framework is consistent with the manuscript’s stated objective of establishing a reproducible classical benchmark for subsequent comparison with newer and hybrid optimisation approaches.
Table 1 summarises the positioning of the proposed work and existing work in the literature.