1. Introduction
The growth in energy demand, coupled with concerns about sustainability, has significantly boosted the integration of renewable sources into the electricity system. Among the most promising solutions are hybrid systems made up of solar photovoltaic generation, wind power, and battery storage [
1,
2]. These configurations, known as distributed generation systems, can operate autonomously or be connected to the main electricity grid, promoting greater efficiency and resilience in the supply of electricity. In order for these systems to be technically viable and economically attractive, they must be optimally sized. This means minimizing investment and operating costs, as well as greenhouse gas emissions (such as CO
2) while ensuring high levels of operational reliability. In addition, regulatory policies and charging mechanisms linked to interaction with the electricity grid, such as charging for exported energy, have become integrated components in the energy planning of hybrid systems. This reinforces the importance of broader, integrated, and multi-objective optimization approaches.
Various optimization methods have been used in the literature to achieve this balance, including heuristic algorithms such as PSO (Particle Swarm Optimization), GA (Genetic Algorithms), and MILP (Mixed Integer Linear Programming), as well as specialized computational tools such as HOMER and GAMS. A notable example is the study by Ismail et al. [
3], which proposes an optimization model based on genetic algorithms for designing hybrid systems composed of photovoltaic (PV) panels, microturbines (or diesel generators), and battery banks. The study’s aim is to minimize the cost of energy generated (COE), reduce polluting emissions, and ensure a continuous supply to small rural communities located in Palestine. In a similar vein, Yang et al. [
4] developed a GA-based optimization model for solar-wind-battery systems, using the annualized cost of the system (ACS) as the economic metric and the loss of load probability (LPSP) as the technical criterion. The actual application of the model to a telecommunications station demonstrated consistent performance throughout the year, with an LPSP of less than 2%, reinforcing the potential of this approach for remote areas. Complementing this panorama, Dufo-López and Bernal-Agustín [
5] proposed a multi-objective optimization framework for complex hybrid systems (PV, wind, diesel, hydrogen, and batteries), using the SPEA algorithm to simultaneously minimize total system cost (NPC),
emissions, and unserved load (UL). The model generates a set of Pareto solutions, offering the designer flexibility to choose between multiple technically feasible and environmentally sustainable alternatives.
Recently, Paulitschke et al. [
6] proposed an optimization model that simultaneously integrates component sizing and energy management control parameters in PV-battery-hydrogen hybrid systems. The study introduces an enhanced particle swarm algorithm (EPSO), capable of dealing with the complexity and non-linearity of the problem, including invalid regions in the search space. Another approach that has been gaining prominence in recent years is the use of artificial intelligence (AI) for dimensioning in hybrid systems. For example, in [
7], a new framework for optimal sizing of autonomous hybrid energy systems (photovoltaic, wind, and hydrogen) was proposed. This approach incorporates weather forecasts and a hybrid heuristic algorithm based on chaotic search, harmony search, and simulated annealing, aided by artificial neural networks for predicting solar radiation, ambient temperature, and wind speed. The study shows that combining weather forecasts via an artificial neural network (ANN) with a hybrid search algorithm significantly improves the sizing of hybrid off-grid systems. Along the same lines, Zhang et al. [
8] developed an optimization approach based on hybrid simulated annealing (HCHSA), combining harmonic and chaotic search techniques, for the optimal sizing of PV/wind hybrid systems with battery and hydrogen storage. The model considers four decision variables, areas of solar collectors and wind rotors, number of batteries and hydrogen tanks, with the aim of minimizing the life cycle cost (LCC) of the system. Applied to a remote region in Iran, the study evaluated six different hybrid system configurations. The results indicated that the solar/wind combination with batteries offers the best technical-economic performance, even outperforming systems with hydrogen storage.
In remote locations such as Sabah, Malaysia, electrification still depends mostly on isolated diesel generators, which are associated with high fuel costs and significant environmental impacts. The adoption of hybrid systems with photovoltaic panels and batteries has emerged as a promising alternative to increase supply reliability, reduce emissions, and lower the levelized cost of energy (LCOE). In [
9]’s study, specialized HOMER software was used to model and compare different generation scenarios, including pure diesel arrangements, PV/diesel/battery hybrid systems (in current and optimized configurations), and a 100% PV/battery-based system, with a focus on evaluating technical, economic and environmental performance. The optimized PV/diesel/battery hybrid system presents the best compromise between reliability, cost, and environmental impact. The 100% PV/battery scenario, although emission-free, is still economically unviable due to the high investment costs in PV and batteries. In addition, Sen and Bhattacharyya [
10] propose a comprehensive approach for sizing and evaluating hybrid off-grid systems in remote villages. Also using the HOMER software, the authors modeled different combinations of micro-hydropower, solar panels, wind turbines, and biodiesel generators, seeking to identify the most technically reliable and economically viable solution.
Complementing this perspective, Gu et al. [
11] propose a techno-economic evaluation model for PV/T solar concentrators applied to the building sector in Sweden, using Monte Carlo simulation techniques to incorporate uncertainties associated with technical and financial variables. The study analyzes the combined impacts of 11 critical parameters, such as solar radiation, interest and inflation rates, collector efficiency, and cost of capital, on metrics such as levelized cost of energy (LCOE), net present value (NPV), and payback. The reference configuration analyzed achieves an average LCOE of 1.27 SEK/kWh, a positive NPV of approximately 1,880 euros, and an estimated payback period of 10 years.
Based on the literature reviewed, there is a consolidated trend towards the use of genetic algorithms as an effective optimization method for sizing the components of hybrid systems, especially when it comes to selecting the most efficient configurations between components such as photovoltaic panels, wind turbines, storage systems, and auxiliary generators. Works such as those by Ismail et al. [
3], Yang et al. [
4] and Dufo-López and Bernal-Agustion [
5] demonstrate that the GA is capable of exploring complex and non-linear solution spaces, allowing optimal arrangements to be found that minimize indicators such as the levelized cost of energy (LCOE),
emissions and the probability of load shedding (LPSP). In addition, many of these studies consider the use of diesel generators as an integral part of hybrid solutions, not only because of their reliability but also to guarantee load service in critical scenarios, especially in isolated regions. However, arrangements that combine renewable sources with well-designed storage tend to significantly reduce the time of use and costs associated with fossil generators [
9,
10]. Another recurring aspect is the emphasis on maximizing net present value (NPV) as the main metric of economic attractiveness. Studies such as those by Gu et al. [
11] and Zhang et al. [
8] reinforce that considering discounted cash flows over the useful life of the system allows for a more realistic assessment of the viability of the project, especially when variables such as inflation, interest rates, operating costs, and climatic uncertainties are incorporated.
On the other hand, conventional wind systems connected to the grid, such as turbines with synchronous generators or double-fed generators controlled by converters, still present challenges such as high maintenance costs, degradation of power quality due to harmonics, and the complexity of power converters [
1,
12,
13]. In this scenario, the electromagnetic frequency regulator (EFR) has emerged as an innovative alternative, with the potential to mitigate harmonics and facilitate direct hybridization with auxiliary sources via the DC bus of your inverter [
1,
14,
15,
16]. The ERF’s architecture, based on an induction machine with a rotating armature, makes it possible to convert variable wind speeds into frequencies compatible with the electricity grid, promoting greater electromechanical robustness and integration with hybrid systems.
This paper proposes the sizing and technical-economic analysis of a hybrid renewable energy system (HRES) made up of photovoltaic panels, wind turbines, a diesel generator, and a battery bank (BB), to be applied to UFRN’s Macau Campus and connected to the electricity grid. Inspired by the approach of Delson et al. [
17], three improvements are made to the computational model: (i) adjustment of the temperature coefficients of the PV modules and incorporation of shading and degradation losses; (ii) parameterization of the turbine power curve considering aerodynamic corrections; and (iii) hourly simulation integrated with the evolution of the state of charge (SoC) of the batteries. A genetic algorithm is then used to simultaneously optimize the installed capacity of each component in order to maximize the net present value (NPV) over 20 years. Finally, we carry out a comparative study of the results obtained with the proposed method and with the sizing originally presented by Delson et al. [
17], highlighting gains in cash flow accuracy and economic viability.
This article is organized as follows:
Section 1 presents the introduction, including motivation, objectives, and a brief literature review;
Section 2 describes in detail the grid-connected hybrid system, its components (PV, wind turbine, EFR, and battery bank).
Section 3 establishes the mathematical model of the hybrid renewable energy system (HRES), detailing the generation equations and storage dynamics.
Section 4 presents the genetic algorithm for optimal sizing of HRES.
Section 5 defines the objective function based on net present value (NPV), with the formulation of cash flows and constraints.
Section 6 presents the simulation.
Section 7 presents the results obtained, economic indicators, and sensitivity analysis.
Section 8 compares the previous reference project under a consistent NPV calculation methodology.
Section 9 discusses the findings, limitations, and implications for implementation; and
Section 10 concludes with conclusions and recommendations for future work.