Next Article in Journal
MEASegNet: 3D U-Net with Multiple Efficient Attention for Segmentation of Brain Tumor Images
Previous Article in Journal
TQAgent: Enhancing Table-Based Question Answering with Knowledge Graphs and Tree-Structured Reasoning
Previous Article in Special Issue
Risk Assessment Method of Solar Smart Grid Network Security Based on TimesNet Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Hybrid Energy Solutions for Enhancing Rural Power Reliability in the Spanish Municipality of Aras de los Olmos

by
Pooriya Motevakel
*,
Carlos Roldán-Blay
,
Carlos Roldán-Porta
,
Guillermo Escrivá-Escrivá
and
Daniel Dasí-Crespo
Institute for Energy Engineering, Universitat Politècnica de València, Camino de Vera, s/n, 46022 Valencia, Spain
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(7), 3790; https://doi.org/10.3390/app15073790
Submission received: 5 March 2025 / Revised: 21 March 2025 / Accepted: 27 March 2025 / Published: 30 March 2025
(This article belongs to the Special Issue Advanced Smart Grid Technologies, Applications and Challenges)

Abstract

:

Featured Application

The methodologies and results presented in this study can serve as a blueprint for rural municipalities, cooperative energy planners, or agricultural communities seeking to enhance microgrid reliability and reduce costs. By leveraging locally available biomass (e.g., livestock waste) and optimal solar photovoltaic capacity, stakeholders can tailor hybrid energy systems to local resource conditions, lower greenhouse gas emissions, and foster community-level economic development. Additionally, regulatory bodies and policymakers can use these insights to formulate supportive policies—such as feed-in tariffs or biogas incentives—that accelerate the adoption of clean, resilient hybrid solutions in other semi-remote or grid-constrained settings.

Abstract

As global energy demand increases, ensuring a reliable electricity supply in rural or semi-remote areas remains a significant challenge. Hybrid energy systems, which integrate renewables, generators, storage, and grid connections, offer a promising solution for addressing energy reliability issues. In this context, the rural community of Aras de los Olmos, Spain, serves as the focal point because of its frequent power outages despite being connected to the main grid. This study investigates innovative solutions tailored to the community’s unique needs. It highlights critical challenges in achieving reliable energy access and bridges the gap between existing limitations and sustainable, future-oriented energy systems. This is achieved by analyzing the current energy setup and evaluating potential alternatives. Two scenarios were evaluated: one optimizing the existing configuration for economic efficiency while retaining the grid as the primary energy source, and another introducing a biomass generator to enhance reliability by partially replacing the grid. Detailed technical, financial, and environmental assessments were performed using HOMER. These assessments identified an optimal configuration. This optimal configuration improves reliability, enhances stability, reduces disruptions, and meets growing energy demands cost-effectively. As will be indicated, the first scenario can reduce total costs to approximately USD 90,000 compared to the existing setup, whereas the second scenario can lower grid dependence by approximately 70%. In addition, introducing renewable energy sources, such as solar and biomass, significantly reduces greenhouse gas emissions and reliance on fossil fuels. Additionally, these solutions create local job opportunities, promote community engagement, support energy independence, and align with broader sustainability goals.

1. Introduction

Global energy demand is rising due to population growth, urbanization, and technological progress [1,2]. This rise creates significant sustainability and economic development challenges, affecting how policymakers, industries, and local communities handle the delicate balance between energy supply and affordability [3]. In response, many are turning to cleaner technologies and supportive policies. Renewable energy systems (RESs) are beneficial because they protect the environment and strengthen local economies, particularly in rural areas where power shortages often occur during peak demand [4]. Investing in these systems can address the world’s increasing energy needs while promoting a healthier planet and more resilient economies. One promising solution is using hybrid energy systems (HESs), which combine renewable sources to boost reliability and efficiency [5].
Wind and solar stand out among the various HES options due to their availability and falling costs [6,7]. They have gained considerable attention for improving grid stability and meeting long-term sustainability goals. However, wind and solar power depend on changing weather, making them less reliable [8,9]. To ensure a stable power supply, energy storage systems (ESSs), such as batteries, pumped hydro, and backup systems like generators, must be integrated [10,11]. These components help mitigate fluctuations and maintain reliable service during low wind or sunlight. They also underscore the crucial role of HESs in modern energy planning [12].
HES are now being introduced even where main grid connections exist [13,14,15]. Combining the grid’s reliability with the low operating costs of renewables, these hybrid setups can reduce dependence on traditional power sources and lower energy expenses. They also cut greenhouse gas emissions, promote energy independence, and build resilience against price changes or grid disturbances. As a result, using HESs has become a practical way to achieve both economic efficiency and sustainable energy use, ensuring that growing energy demands are met without harming the environment or communities [16,17].
One example of such challenges can be seen in Aras de los Olmos, Valencia, Spain, where frequent power outages and disruptions occur despite an existing grid connection [18]. This indicates that being linked to the main grid does not always guarantee reliable electricity, particularly in areas with aging infrastructure or specific local constraints. Additional measures are required to ensure a stable and high-quality power supply. These measures include backup systems, on-site renewable generation, and advanced energy management. By integrating these strategies, communities like Aras de los Olmos can significantly reduce power outages. Additionally, they can strengthen their energy resilience. This will ultimately improve the overall quality of service for residents and businesses.
The region’s focus on livestock production generates a large amount of animal waste, making it an excellent source of feedstock for biogas generator (BG) systems [19]. By converting this waste into a renewable energy resource, BG technology lowers greenhouse gas emissions, reduces pollution, and creates a steady power supply. However, it is essential to recognize that biogas production can produce methane emissions if leakage occurs, significantly contributing to greenhouse gas effects due to methane’s high global warming potential. Thus, effective control measures and careful system design are essential.
Biogas energy production systems can work independently or connect to the main grid, boosting energy reliability and sustainability. Turning a local byproduct into a helpful resource supports a circular economy and lessens dependence on traditional fuels. As a result, BG stands out as an appealing, cost-effective, and environmentally friendly option for areas like Aras de los Olmos [20].
This study focuses on optimizing HESs to fulfill the unique requirements of Aras de los Olmos, which are cost reduction and increased reliability. To pursue these goals, two scenarios are explored: one emphasizes an economical setup using the grid as the main power source, while the other focuses on enhancing reliability by partially replacing grid power with a BG when needed. Comparing these configurations will show how blending grid and BG solutions can provide a stable supply at lower costs, offering a practical and efficient energy approach. All analyses were conducted using HOMER Pro 3.16.2 (Hybrid Optimization of Multiple Energy Resources) software developed by the U.S. National Renewable Energy Laboratory (NREL) [21].
HOMER is a widely recognized and extensively used software tool for designing and analyzing HESs. For example, ref. [22] used HOMER to create a cost-effective, eco-friendly HES, including photovoltaic (PV) panels, wind turbines (WTs), and battery energy storage (BES) for an isolated island. It reduced greenhouse gas emissions, lowered energy costs, and enhanced reliability, with frequency stability analysis confirming its ability to handle fluctuating demand and supply. Similarly, ref. [23] integrated advanced storage technologies, such as supercapacitors and redox-flow batteries, into an off-grid solar wind system. This demonstrates that these technologies significantly enhance reliability, reduce energy losses, and minimize emissions, ensuring a stable and efficient solution for off-grid applications.
The software has gained popularity among researchers and engineers worldwide for its ability to simulate and compare configurations under realistic conditions. In [24], HOMER is used to assess the feasibility and cost-effectiveness of solar home systems under real-world environmental and financial conditions, identifying an optimal design that enhances reliability and reduces dependence on conventional energy sources. This underscores HOMER’s effectiveness in optimizing residential renewable solutions.
In addition to offering detailed insights into both technical and economic performance [25,26], HOMER’s user-friendly interface makes it accessible for those new to energy planning and seasoned professionals [27,28]. As a result, it has been employed in numerous projects—ranging from off-grid rural electrification [29,30] to grid-connected microgrids [31,32]—to identify cost-effective, reliable, and environmentally sustainable solutions [33,34].
Previous optimization studies have widely addressed RESs, employing various optimization algorithms to minimize operational costs and emissions and enhance system reliability [35,36,37,38]. For example, ref. [39] introduced a modified energy management strategy for PV/diesel hybrid systems, incorporating the Artificial Protozoa Optimizer to reduce diesel consumption. Their results demonstrated that optimizing renewable energy sources significantly reduces costs and enhances sustainability. Similarly, ref. [40] optimistically optimizes electric vehicle charging stations in radial power systems, integrating distributed generation and vehicle-to-grid technologies. Their study highlights how optimized integration can reduce costs, limit emissions, and improve grid reliability. Ref. [41] investigated sustainability issues in condition-based maintenance and residual life prediction in energy systems. Their study explores how integrating renewable energy sources with predictive maintenance strategies can reduce costs, improve reliability, and extend system lifespan. The research highlights that significant operational cost reductions and emission minimization can be achieved by optimizing maintenance schedules and using data-driven energy management. Despite numerous studies, limited attention has been given to hybrid system optimization tailored explicitly for rural areas with abundant livestock biomass resources, simultaneously addressing economic and environmental goals. Thus, this study bridges this gap by focusing on the optimal integration of biogas generators, solar PV, and battery storage, evaluating trade-offs between cost, emissions, and reliability, specifically in semi-remote rural settings.
Furthermore, its emissions analysis helps decision-makers choose solutions that align with environmental goals. As in [42], hydrogen integration in HESs significantly cuts carbon emissions compared to fossil-based setups. Similarly, HOMER’s simulations highlight hydrogen’s potential to reduce reliance on DG and other high-polluting fuels. Also, ref. [43] demonstrates how using solar and wind energy to power desalination plants can cut carbon dioxide emissions by up to 80%, highlighting the advantages of renewable-driven processes in addressing water scarcity without harming the climate. In both studies, HOMER’s optimization capabilities reveal practical, eco-friendly pathways for transitioning to cleaner energy solutions and emphasize the importance of supportive policies in facilitating large-scale adoption.
These features have established HOMER as a trusted tool, guiding policy and research decisions and paving the way for innovative, sustainable energy projects. In the context of the present study, addressing both economic constraints and reliability demands is crucial. This work aims to bridge the gap between current limitations and a forward-looking energy future by examining the existing power infrastructure and considering new, more sustainable options. HOMER’s ability to optimize multiple energy sources, model local conditions, and evaluate cost and performance trade-offs makes it especially well-suited for developing a feasible, efficient energy solution that aligns with the region’s needs.
Recent advances in RES optimization have emphasized the importance of robust control strategies and efficient system integration methods [44,45]. These methodologies provide valuable insights into improving the reliability and cost-effectiveness of hybrid systems similar to the proposed configuration. In this context, evaluating the control aspect of the system is particularly crucial, as effective control strategies directly influence operational efficiency, system stability, and the ability to adapt to varying demand and resource conditions. Therefore, a thorough analysis of control mechanisms is essential for the successful implementation and long-term performance of hybrid renewable systems.
Spain’s current energy policy landscape, particularly the Integrated National Energy and Climate Plan (PNIEC 2021–2030), strongly supports expanding renewable energy sources, energy efficiency, and energy sector decarbonization. Key regulatory developments, such as Real Decreto 244/2019 promoting self-consumption and decentralized renewable generation, have created favorable conditions for deploying RESs in rural and semi-remote regions. These policies incentivize renewable integration and provide economic mechanisms—such as feed-in tariffs and targeted subsidies—that enhance the financial viability and practical feasibility of hybrid solutions combining photovoltaic, biomass, and storage technologies. Thus, the development and optimization of HESs, as presented in this study, align closely with national energy goals and benefit from the existing supportive regulatory framework.
This study contributes to the existing literature in several important ways. Firstly, it addresses a critical gap by optimizing a hybrid renewable energy system tailored for semi-remote rural areas experiencing frequent power outages despite grid availability. Although hybrid microgrid configurations have been explored in various contexts, few studies investigate locally sourced livestock waste as a primary dispatchable fuel alongside PV systems to enhance reliability in practice. Secondly, the work explicitly integrates economic analysis, environmental sustainability considerations—including critical management of methane emissions—and reliability improvements into a comprehensive optimization framework, systematically evaluating their trade-offs rather than treating them separately. Thirdly, by critically examining the environmental sustainability of biomass integration, the study explicitly emphasizes the importance of effective methane emission management practices, a factor frequently overlooked in the existing literature. Finally, the structured and replicable methodology developed here can guide policymakers and rural communities globally, facilitating sustainable, site-specific energy planning and offering practical, scalable insights for rural energy transition.
This paper is organized as follows: Section 2 introduces the study site, highlighting its energy challenges and opportunities while proposing solutions that shape the methodology. It then defines the key input variables, such as meteorological data and load demand, reviews the HOMER components used in the analysis, and assesses the economic parameters relevant to addressing the problem. Section 3 offers a detailed evaluation of the simulation results, including comparative cost, reliability, and environmental performance studies. Section 4 then discusses the impact of changes, variable sensitivity, and method limitations. Finally, Section 5 concludes the paper with key findings and implications.

2. Materials and Methods

The methodology developed in this study systematically addresses the unique challenges of the chosen site by describing its geographic conditions, defining the research problem, and outlining potential solutions that guide the analysis. It then characterizes the site’s key inputs, forming the basis for a thorough technical assessment of each proposed component and the economic equations governing the simulation. HOMER plays a central role in this process, using its optimization engine, comprehensive component libraries, and sensitivity analysis tools to model, compare, and verify the performance and economic feasibility of the proposed configurations. This integrated approach provides a robust foundation for subsequent analysis, ensuring thorough technical, financial, and environmental evaluation.

2.1. Site Description and Energy Challenges

The site under study in this research is Aras de los Olmos, a small, rural municipality in Serranos County of the Province of Valencia, within Spain’s Valencian Community. As illustrated in Figure 1, it lies in the northwestern part of the province, surrounded by a predominantly mountainous landscape. Covering roughly 76 square kilometers, the municipality has a close-knit population of around 350 to 400 residents.
This combination of rugged terrain, modest demographic size, and a typical Mediterranean climate makes Aras de los Olmos an intriguing case for studies on rural development and renewable energy integration. Local livestock activities generate animal waste that can serve as a valuable feedstock for biomass production, making this technology a logical option for enhancing energy resilience in the region alongside other potential renewable energy sources.
However, as Aras de los Olmos is located at the end of a power distribution line, it frequently experiences voltage drops, reduced power quality, and frequent outages, especially during peak demand periods or adverse weather conditions. These interruptions negatively affect residents, disrupt essential public services, and constrain economic activities, particularly in sectors reliant on continuous electricity, such as agriculture, small businesses, and tourism. Moreover, grid dependency increases the community’s vulnerability to external disruptions and fluctuating energy prices. Consequently, there is a clear need to identify reliable, economically viable, and locally sustainable energy solutions that mitigate these issues, enhance energy security, and support long-term economic and environmental goals.

2.2. Proposed Solutions and Scenarios

This study addresses the energy challenges faced by the rural community of Aras de los Olmos. It evaluates two distinct energy management scenarios through comprehensive technical, economic, and environmental assessments. The following scenarios are proposed considering the specific energy supply constraints and frequent power outages at the end of the power distribution line.
In the first scenario, as shown in Figure 2, the existing connection to the main grid is maintained while strategically integrating RESs to reduce reliance on grid electricity and operational costs.
In the second scenario, as shown in Figure 3, a BG fueled by locally sourced biomass resources is introduced to substantially reduce dependence on the main grid, thus enhancing system resilience and reliability in recurring outages.
The detailed description of the input data, technical modeling of components, and economic formulations used in these configurations are presented systematically in the following subsections.

2.3. Input Data

This section outlines the key input parameters that underpin the energy analysis and simulation framework. This approach combines comprehensive meteorological data with detailed load demand records. The meteorological datasets, obtained from NASA’s Prediction of Worldwide Energy Resource database as monthly averages, are interpolated within HOMER to produce hourly estimates for precise simulations. Meanwhile, the load demand data were gathered from local distribution meters throughout Aras de los Olmos, subsequently quality-controlled, and aggregated into hourly, daily, and monthly profiles to ensure a realistic representation of consumption behavior.
Additionally, specific inputs, including the biomass feedstock derived from regional livestock waste, are included to assess the biogas reactor’s performance and model its contribution to renewable energy generation. All datasets undergo careful preprocessing and synchronization to support reliable energy generation, storage, and system efficiency simulations. The following sections delve deeper into each input parameter and illustrate how these data collectively inform the system’s design and optimization.

2.3.1. Air Temperature

The temperature resource data provide ambient air temperatures, with an annual average of 12.85 °C. The highest temperatures are observed in the summer months, such as July (23.38 °C) and August (23.15 °C), while the lowest temperatures occur in the winter months, such as January (3.85 °C) and February (5.14 °C). This seasonal variation is crucial for understanding its impact on the performance of energy systems, particularly renewable energy technologies.

2.3.2. Solar Irradiance

The solar resource data used in this analysis provide global horizontal irradiance (GHI) along with the clearness index. The clearness index is the ratio of the measured solar radiation at the Earth’s surface to the extraterrestrial solar radiation under clear-sky conditions, indicating atmospheric clarity and cloud cover. The annual average radiation is 4.43 kWh/m2/day, indicating a good potential for solar energy utilization. The clearness index varies throughout the year, with higher values in summer when daily radiation peaks at approximately 7 kWh/m2/day. Conversely, lower values are observed during winter, with daily radiation dropping to as low as 2 kWh/m2/day. This variability reflects seasonal changes and highlights the importance of storage or complementary energy systems to ensure consistent energy availability.

2.3.3. Wind Speed

Accurate wind resource evaluation is crucial for determining the feasibility and performance of wind power systems in Aras de los Olmos. This study obtained wind data at a reference height of 50 m above ground level.
The baseline data indicate an annual average wind speed of around 5.56 m/s, with higher velocities recorded in winter months—6.67 m/s in January and 6.57 m/s in December—and lower speeds in summer, reaching 4.38 m/s in July and 4.29 m/s in August. This seasonal fluctuation underscores the potential need for complementary energy sources during low-wind periods.
However, it was subsequently adjusted within the HOMER to reflect local conditions, including the site altitude of 936 m above sea level and an anemometer height of 10 m.
The site sits at a relatively high altitude and experiences notable topographical influences. Consequently, this study applies a logarithmic wind speed profile, as shown in Equation (1). This approach more accurately captures the terrain’s characteristics and ensures reliable velocity estimates at the chosen anemometer height h , where wind speed v is extrapolated from a reference height h r e f [46].
v h = v h r e f × l n h / z 0 l n h r e f / z 0
where z 0 is the surface roughness length (set to 0.01 m in this case, indicating rough pasture-like terrain in the study site).
The corrected dataset more accurately represents on-site wind conditions. This accuracy is crucial for reliably estimating turbine performance, calculating capacity factors, and ensuring robust wind power integration into the region’s energy mix.

2.3.4. Load Demand

Detailed load characteristics are critical for designing an efficient and reliable HES tailored to the specific energy demands of the site. HOMER relies on random or synthetic load generation, using monthly average data to produce hourly values over an entire year, which can deviate from real consumption patterns.
However, in this study, hourly load data were directly measured on-site for the entire year, ensuring a more precise representation of demand and eliminating uncertainties introduced by randomly generated profiles.
The studied load profile represents the total electricity demand for the semi-remote community of Aras de los Olmos, Spain, including residential homes, small businesses, local public facilities, street lighting, and communal infrastructure. The load is entirely AC, with an average daily demand of 3516.1 kWh/day and an average power of 146.51 kW. The load factor is 0.32, calculated as the ratio of the average load to the peak load, indicating moderate variability. All data were obtained through direct measurements at main distribution points, ensuring accuracy and reliability.
During a typical day in January, as shown in Figure 4, the load begins at 213.516 kW at midnight, gradually decreases to its lowest values around midday, and then steadily rises again, reaching 232 kW late at night. This daily pattern highlights higher energy demand during the evening and nighttime compared to daytime.
The load exhibits seasonal variations, as shown in Figure 5, with the peak demand occurring in August, reflecting increased energy consumption during summer. Lower energy requirements are observed during the winter months. Variability in load distribution for each month is evident from the seasonal profile, indicating changing demand patterns throughout the year.
As is shown in Figure 6, the yearly heatmap illustrates the hourly and seasonal variability of the load. Peak loads, reaching up to 453.41 kW, are more prominent during summer evenings, especially in August, while lower loads dominate the winter months and daytime hours. The figure clearly illustrates daily and seasonal variability, providing evidential support for renewable energy and storage system sizing, optimization scenarios, and reliability analysis presented in this study.

2.3.5. Biomass

The biomass resource for this analysis is modeled with a steady monthly availability of 27.07 tons/day, derived from locally available livestock waste and agricultural residues in Aras de los Olmos. Estimates are based on actual agricultural production statistics and standardized residue generation factors, ensuring accuracy and practical relevance [20]. This biomass has an average cost of 38.65 USD/ton (covering base price, transportation, and handling), a lower heating value (LHV) of 28 MJ/kg, and a carbon content of 60%. Its gasification ratio is 0.70 kg/kg, reflecting efficient biomass conversion into biogas. Collectively, these parameters highlight the feasibility of harnessing local biomass for sustainable and cost-effective energy generation [20].

2.4. System Components

The microgrid comprises several key components, including PV panels, WT, a BG, BES, and a converter for managing energy flow between AC and DC buses, all operating in the presence of a main grid connection.

2.4.1. Photovoltaic (PV) Panel

HOMER determines the PV array’s real-time output using Equation (2), which accounts for the array’s rated capacity under Standard Test Conditions (STCs), the incident solar irradiation relative to STCs, a derating factor (e.g., for dust or wiring losses), and the influence of temperature on PV performance [47].
P P V = P r a t e d , S T C × f P V × G T G T , S T C × 1 + α t e m p × T c e l l T c e l l , S T C
where P P V is the actual PV power (kW), P r a t e d , S T C is the rated PV power at STC (kW), f P V is the PV derating factor, G T the GHI on the array (kW/m2), G T , S T C is the solar radiation at STC (1 kW/m2), α t e m p is the temperature power coefficient (%/°C), T c e l l is the actual PV cell temperature (°C), and T c e l l , S T C is the cell temperature under STC (25 °C).
Using these variables, HOMER simulates PV performance hour by hour. The software then iterates through different possible system configurations—adjusting PV capacity and other parameters—to find an optimal design. By factoring in real-time irradiance, temperature, and efficiency losses, HOMER provides a more accurate representation of the PV array’s performance over an entire year, enabling better sizing and economic decision-making.
The system modeled in this analysis is a generic flat plate PV system with a rated capacity of 1 kW. The panel operates with a temperature coefficient of −0.5%/°C and is designed for a typical operating temperature of 47 °C. Its efficiency is 13%, representing a standard commercially available PV module. The derating factor is 80%, accounting for potential losses such as dust, shading, and wiring inefficiencies. The ground reflectance is set to 20%, and the system uses a fixed configuration with no tracking. The panel slope is set to the default value of 39.92° based on the site location’s geographical condition, and the azimuth is aligned at 0° south for optimal solar exposure.

2.4.2. Wind Turbine (WT)

When designing a WT system, HOMER uses local wind data, which are adjusted to the turbine’s hub height, as explained previously. It then applies to the manufacturer’s power curve. A generic equation sometimes used for illustrative purposes is shown in Equation (3) [48].
P W T = 0                                                         i f   v h u b < v c i n v h u b v c i n v r v c i n P R                               i f   v c i n v h u b v r                     P R                                                     i f   v r v h u b v c o u t   0                                                         i f   v h u b > v c o u t
where v c i n is the cut-in wind speed (m/s), v r is the rated wind speed (m/s), v c o u t is the cut-out wind speed (m/s), and P R , the rated turbine power (kW) is calculated using Equation (4).
P R = 1 2 ρ A W T v r 3 C p
where ρ is the air density (kg/m3), A W T is the blade swept area (m2), and C p is the power coefficient.
If HOMER accounts for varying air density (due to changes in temperature, pressure, or altitude), the turbine output may be adjusted accordingly. A basic relationship is presented in Equation (5).
ρ = p R s p e c i f i c T
where p is the air pressure (Pa), T is the air temperature (K), and R s p e c i f i c is the specific gas constant for air (≈287 J/(kg.K)).
Then, an approximate scaling formula might be Equation (6).
P W T , c o r r e c t e d = P W T × ρ ρ S T P
where ρ S T P is the reference air density under standard conditions (about 1.225 kg/m3).
The system considered in this analysis is a generic 10 kW WT, which makes it suitable for small-scale applications or as a complementary renewable energy source within a hybrid system with a hub height of 24 m. The turbine is connected to the AC bus, ensuring compatible grid-tied and hybrid configurations.
The turbine starts generating power at a cut-in speed of around 4 m/s, with output increasing steadily until reaching its rated capacity of 10 kW at approximately 10–12 m/s. Beyond this, the output stabilizes to protect the turbine, and it continues operating until the cut-out speed of 24 m/s, at which point it shuts down to avoid damage.

2.4.3. Biogas Generator (BG)

A BG converts methane-rich gas from organic materials like agricultural waste, animal manure, or sewage into electricity. This process relies on the anaerobic digestion of biomass to generate biogas, combusted in an engine or turbine. The biomass conversion efficiency and operational parameters (e.g., methane yield, carbon-to-nitrogen ratio, hydraulic retention time) are based on established methodologies described extensively in previous research [19,20,46]. By harnessing waste products as fuel, BG helps reduce greenhouse gas emissions and provides a renewable energy source for both on-grid and off-grid applications.
The electric power output P o u t of a BG can be approximated by Equation (7).
P o u t = η g e n × m ˙ f u e l × L H V B i o g a s
where η g e n is the electrical efficiency of the generator, m ˙ f u e l is the mass flow rate of biogas (kg/h), and L H V B i o g a s is the lower heating value of the biogas (kJ/kg).
Equation (7) states that the generator’s electric output is the product of the biogas energy input (flow rate × heating value) times the generator’s electrical efficiency.
Like DG or natural gas gensets, HOMER often uses a simplified two-parameter fuel curve to account for variations in generator efficiency at partial load, as shown in Equation (8).
V ˙ f u e l P o u t = A × P r a t e d + B × P o u t
where V ˙ f u e l P o u t is the volumetric flow of biogas at the current output (m3/h), P r a t e d is the rated (maximum) generator power (kW), P o u t is the actual electrical output (kW), A is the intercept coefficient or the no-load fuel consumption coefficient (m3/kW.h), and B is the slope or incremental fuel consumption coefficient (m3/kW.h).
In this model, A × P r a t e d represents the baseline fuel consumption when the generator runs but produces little or no power (idle losses). In contrast, B × P o u t captures the additional fuel needed as output increases.
Once HOMER calculates the required electrical output P o u t at each time step, it determines the fuel flow V ˙ f u e l using the two-parameter model. Then, it converts volumetric flow to mass flow (if needed) using biogas density. Finally, it checks consistency with the energy equation to ensure P o u t η g e n × m ˙ f u e l × L H V B i o g a s .
Using these formulas and iterative simulations, HOMER helps users optimize BG size and operation schedule within an overall energy system.
The BG used in this analysis is a generic genset with a reference capacity of 200 kW [19], designed to enhance system reliability and sustainability. It operates with a minimum load ratio of 40% and has a lifetime of 20,000 h, ensuring long-term durability.
Fuel consumption follows a linear curve, with an intercept coefficient of 0.1 kg/h per kW rated capacity and a slope of 2.0 kg/h per kW output.
The BG’s efficiency is minimal at lower loads (near-zero output) because the engine must overcome internal losses and baseline fuel consumption. As the generator’s electrical output rises, efficiency increases steadily, reflecting more effective fuel utilization under heavier loads. Near its rated capacity (around 200 kW), the generator reaches its peak efficiency—about 30–35%. This curve reflects the typical behavior of many engines, which achieve their highest efficiency when operating near their rated load.
Emission levels are minimal, with 2 g of carbon monoxide and 1.25 g of nitrogen oxides per kg of fuel. At the same time, no unburned hydrocarbons or particulate matter are produced, highlighting its environmentally friendly operation.
The generator operates on an optimized schedule. When solar irradiation is unavailable from 6 p.m. to 6 a.m., the generator must operate at its nominal capacity to meet critical energy demands. During the day’s remaining hours, the generator operates based on optimal planning and system conditions, ensuring efficient fuel use and minimal emissions. Also, maintenance on the generator is possible during this interval.
This dynamic operation complements other renewable sources, such as solar and wind, effectively utilizing resources and maintaining energy reliability.

2.4.4. Main Grid

The grid system in this analysis is configured with a simple rate structure aligned with the pricing schemes of Spanish retail electricity providers. The cost of purchasing electricity from the grid is set at 0.19 USD/kWh, while the sellback price for excess electricity exported to the grid is 0.062 USD/kWh. Net metering is applied, with net purchases calculated on an annual basis. This setup ensures compatibility with the HES, allowing the grid to act as both a backup source and an outlet for surplus energy, thereby enhancing the economic efficiency of the overall system.

2.4.5. Battery Energy Storage (BES)

In HOMER simulations, BES systems serve as an energy buffer, storing excess generation and supplying power when demand exceeds production. HOMER models each battery’s capacity, state of charge (SOC), charge/discharge efficiencies, and lifetime constraints, ensuring system dispatch decisions and economic calculations reflect real-world BES performance. This approach accurately assesses reliability, cost, and feasibility in a microgrid or HES.
HOMER tracks the SOC of BES on an hourly or sub-hourly basis. SOC is typically expressed as a fraction (0 to 1) or a percentage (0 to 100%), as defined in Equation (9).
0 S O C t 1
During each time step t (often 1 h), the BES can charge, discharge, or idle. SOC’s simplified one-hour step model can be written as shown in Equation (10).
S O C t + 1 = S O C t + η c P c h , t 1 η d P d c h , t E m a x
where S O C t and S O C t + 1 are the state of charges at the current and next time step (fraction 0–1), P c h , t is the charging power in the current step (kW), P d c h , t is the discharging power in the current step (kW), η c is the charging efficiency, η d is the discharging efficiency, and E m a x is the usable BES capacity (kWh).
HOMER enforces minimum and maximum SOC limits to prevent over-discharge or overcharge, as shown in Equation (11).
S O C m i n S O C t S O C m a x
Many BES specifications use depth of discharge (DOD) to limit how much capacity can be used regularly. If the BES’s minimum state of charge is S o C m i n then D O D m a x is defined as Equation (12).
D O D m a x = 1 S O C m i n
For example, if a BES must always retain at least 20% SOC, the maximum DOD is 80%. HOMER ensures the SOC of the BES never goes below S O C m i n .
The overall roundtrip efficiency is defined as shown in Equation (13), indicating the fraction of energy retained after a full charge-discharge cycle relative to what was put in.
η r t = η c × η d
HOMER may apply separate efficiencies for charging ( η c ) and discharging ( η d ) or use a single roundtrip efficiency parameter.
BES systems also have maximum charge and discharge power limits, which may depend on the BES’s rated current or nominal capacity. HOMER ensures Equation (14).
P c h , t P c h , m a x ,                     P d c h , t P d c h , m a x
These limits can be expressed via maximum charge and discharge currents as Equation (15), restricting how quickly the BES may be charged or discharged.
I c h , t I c h , m a x ,                     I d c h , t I d c h , m a x
Another way to specify these limits is by using maximum charge and discharge rates relative to BES capacity, often termed C-rate. For example, a 1 C rate means the BES can be fully charged or discharged in one hour, whereas a 0.5 C rate would take roughly two hours.
HOMER applies these constraints to prevent excessive current flows, safeguard BES lifetime, and ensure reliable operation within the modeled microgrid. However, in some models, these limits vary with the BES’s SOC or other parameters (temperature, health, etc.).
Besides the simple BES modeling, HOMER can use the Kinetic Battery Model (KiBaM). In the KiBaM, total BES capacity is split into available, A, and bound, B, portions, with a rate constant k dictating how quickly energy transfers from the bound to the available portion. The capacity ratio, c, determines the fraction of total capacity that starts in the available tank. A simplified form of KiBaM’s differential equations is presented in Equation (16).
d A d t = I t k A t c × C 0 ,           d B d t = k B t 1 c × C 0
where A t is the available capacity at time t , B t is the bond capacity at time t , C 0 = A t + B t is the nominal total capacity, k is the rate constant ( 1 / h r ), c is the capacity ratio (0 to 1), and I t is the BES current at time t (positive for discharge, negative for charge).
In a discrete-time implementation, HOMER numerically integrates these equations at each step. The result is that at high discharge rates, the available portion A t can deplete quickly, lowering effective capacity. As time passes, some energy from B flows into A , replenishing it (provided the load is not too high).
SOC in KiBaM is often interpreted as S O C = A + B C 0 after factoring out any inefficiencies or unusable reserves.
HOMER can estimate BES lifetime or replacement intervals by tracking both cycle life and calendar age. In some cases, it uses cycle-counting techniques that relate the DOD and total cycles to eventual failure, while others rely on a strictly time-based approach over a certain number of years. Another method is a hybrid strategy, which replaces the BES when it reaches a specific time limit, or a defined total energy throughput refers to the total amount of energy discharged over the BES’s lifetime. These considerations primarily affect cost calculations and system economics rather than the hour-by-hour state of charge equations.
By iterating across all time steps for an entire year (or multiple years, if needed), HOMER finds an optimal BES size and operating strategy under the specified load, generation profiles, and economic parameters.
The BES model, including its technical parameters and performance characteristics, is based on established methodologies described in the recent literature [47].
The BES utilized in this analysis is a generic 1 kWh lead-acid BES with a nominal voltage of 12 V, which leads to a maximum capacity of 83.4 Ah. The configuration includes a string size of 4 batteries, providing a total voltage of 48 V. It features a roundtrip efficiency of 80% and a capacity ratio of 0.403. The BES’s maximum charge and discharge currents are 16.7 A and 24.3 A, respectively, with a maximum charge rate of 1 A/Ah, implying the BES can be fully charged or discharged in about 1 h at the mentioned currents. It has a throughput of 800 kWh, ensuring consistent energy storage and discharge capabilities over its lifespan.
The initial state of charge or S O C 0 is set at 50%, with a minimum allowable state of charge of 20%. This BES plays a crucial role in stabilizing the HES by storing excess energy and supplying it during peak demand or grid outages.

2.4.6. Converter

In HOMER, a converter facilitates the bidirectional energy flow by inverting DC power to AC or rectifying AC power to DC. Its performance is defined by efficiency and rated capacity, determining the maximum power it can handle while accounting for conversion losses. When acting as an inverter, the output power is given by Equation (17).
P A C = η i n v × P D C
where η i n v is the inverter efficiency. Conversely, in rectifier mode, the relationship is given by Equation (18).
P D C = η r e c × P A C
where η r e c is the rectifier efficiency. Rated capacity defines the maximum power the converter can process in either direction, ensuring compatibility and flexibility in energy management.
The system analyzed here includes a generic 1 kW inverter/rectifier with 95% efficiency for both modes. It operates in parallel with an AC generator and seamlessly integrates renewable energy sources, storage systems, and the grid, optimizing the overall performance of the hybrid system.

2.5. Economic Parameters

HOMER enables users to assess system feasibility by simulating multiple configurations while incorporating economic considerations. HOMER evaluates various financial criteria in this analysis, accounting for all associated costs and revenues. Additionally, it integrates key constraints such as grid tariffs, fuel price fluctuations, and financing options to ensure a comprehensive economic assessment.
The most crucial parameter in HOMER economic modeling is the real discount rate ( r ). It represents the actual cost of capital, adjusted for inflation, allowing for more accurate comparisons of future cash flows in today’s terms. The real discount rate is calculated using Equation (19).
r = i f 1 + f
where i is the nominal discount rate, representing the market interest rate, including the effects of inflation. It accounts for investment risks, borrowing costs, and expected returns. Meanwhile, f is the expected inflation rate, indicating the projected increase in price levels over time.
In this study, the nominal discount rate is 8.00%, while the expected inflation rate is 4.00%. Using Equation (19), the real discount rate is calculated as 3.85%, which adjusts for inflation and represents the true purchasing power of future costs and revenues. In financial analysis, a lower real discount rate enhances the attractiveness of long-term investments, as it preserves the value of future cash flows when accounting for inflation.
Another key economic parameter is the project lifetime ( N ), which defines the total years the system is expected to operate before decommissioning. It is essential in economic analysis, directly impacting cost calculations, financial viability, and long-term investment decisions. In this study, the project lifetime is set at 20 years.
When assessing the financial feasibility of an energy project, several key economic indicators are considered. One such metric is the net present cost (NPC), which represents the system’s total lifetime cost, discounted to present value. It accounts for all capital, operation and maintenance (O&M), replacement, and fuel costs while deducting any revenue or salvage value, as defined in Equation (20).
N P C = t = 0 N C t 1 + r t
where C t is the net cash flow (cost or revenue) in year t . A lower NPC indicates a more cost-effective system.
Another essential economic metric is the levelized cost of energy (LCOE), which represents the cost per unit of energy (1 kWh) produced over the system’s lifetime, as shown in Equation (21). It is widely used to compare different energy generation technologies in terms of cost-effectiveness.
L C O E = N P C E t o t a l
where E t o t a l is the total energy generated over the project lifetime (kWh or MWh). A lower LCOE means the system generates energy at a lower cost.
Similarly, the return on investment (ROI) quantifies a project’s profitability as a percentage of the initial investment, as defined in Equation (22).
R O I = N e t   p r o f i t I n i t i a l   i n v e s t m e n t × 100
where net profit is the difference between total revenue and total cost, and initial investment refers to the capital cost incurred at the start of the project. A higher ROI signifies a more profitable and financially viable investment.
Likewise, the internal rate of return (IRR) is the discount rate at which the net present value (NPV) equals zero, as shown in Equation (23). It indicates the project’s expected return rate and is a key measure of investment viability.
t = 0 N C t 1 + I R R t = 0
where C t is cash flow in year t . A higher IRR means the project is financially attractive. If IRR > discount rate, the project is considered profitable.
Finally, the payback period represents the time required to recover the initial investment through cumulative net cash flows, as defined in Equation (24). It is a crucial metric for assessing the risk and financial viability of the project.
P a y b a c k   P e r i o d = I n i t i a l   i n v e s t m e n t A n n u a l   n e t   s a v i n g s
where the initial investment represents the total upfront capital cost, and annual net savings are calculated as the annual revenue minus the annual O&M costs.
In this study, the currency for all economic calculations is the USD. These parameters establish the framework for assessing the financial viability and cost-effectiveness of the HES. All economic parameters and simulation components are detailed in Table 1.
The economic equations used in this study are taken directly from the HOMER user manual and follow established literature [21,46]. Likewise, the parameters in Table 1 are drawn from the generic examples provided by HOMER. These cost parameters reflect typical market conditions and current practices, ensuring consistency with the recognized standards and data sources outlined in the official HOMER documentation.
Specific modeling assumptions, constraints, and parameters were clearly defined within HOMER to ensure reproducibility and transparency. Economic inputs included a nominal discount rate of 8%, an inflation rate of 4%, and detailed component cost assumptions—covering capital, replacement, and operation and maintenance costs—as presented in Table 1.
Technically, PV panels were assumed to degrade in efficiency at 0.5% per year, wind turbine availability was set at 97%, and battery storage systems were operated within a state-of-charge range from 20% to 100%. The BG was modeled with a specified minimum loading ratio and an availability factor. Operational limitations such as caps on grid sales and purchases and minimum renewable energy fraction targets were explicitly incorporated. Furthermore, biomass availability was constrained based on seasonal patterns of agricultural residue generation. Reliability and performance were evaluated using predefined metrics, including capacity factors, minimum renewable penetration levels, and the maximum allowable fraction of unmet load, ensuring that all key performance indicators were thoroughly documented.

2.6. Design Process

The design process in HOMER follows a systematic approach to evaluate and optimize energy system configurations, as illustrated in Figure 7.
The process begins with data collection, where key inputs such as meteorological data, energy demand, and cost parameters are gathered to inform initial system designs. HOMER then simulates the system’s hourly operation over one year, analyzing its performance under realistic conditions. A feasibility check ensures the system meets reliability criteria; if not, adjustments are made, and alternative configurations are explored. Once a feasible system is identified, HOMER calculates economic indicators such as NPC, LCOE, and ROI, ranking the feasible configurations based on their economic and technical performance. Finally, an optional sensitivity analysis evaluates the impact of uncertainties in input parameters, ensuring a robust design. The process concludes with selecting the optimal system configuration and balancing cost, reliability, and sustainability.

3. Results

In this section, the results of both scenarios are presented, followed by an analysis of the findings to evaluate their implications and performance. The results obtained from the optimized hybrid scenarios demonstrate a significant impact on rural energy planning. Scenario I provides a cost-effective transition toward renewables, reducing operational costs without compromising reliability. Scenario II substantially enhances energy autonomy and resilience, significantly lowering dependency on grid power and reducing emissions. These outcomes indicate that integrating locally sourced biomass alongside PV offers considerable socio-economic and environmental benefits, improving energy security, stability, and local economic resilience. Thus, these scenarios provide actionable insights for policymakers and stakeholders seeking sustainable and reliable energy solutions for rural communities.
Before exploring the outcomes in greater depth, it is essential to understand how HOMER decides when each component (e.g., a generator or battery) should produce or store electricity. In HOMER, power dispatch refers to how the software decides when each component (such as a generator or battery) should produce or store electricity. Common strategies include Cycle Charging (CC) and Load Following (LF). In CC, the generator runs near its rated capacity whenever it is on, providing enough power for the load and charging the battery with surplus energy. This approach often leverages higher generator efficiency by operating it near optimum load points. Conversely, in LF, the generator meets immediate demand without intentionally overproducing to charge the battery. This can reduce unnecessary fuel consumption but may run the generator at less efficient partial loads if the system’s demand fluctuates. By comparing these dispatch strategies in HOMER, designers can evaluate trade-offs in fuel usage, operational costs, and overall system performance.

3.1. Scenario I: Economic Optimization

After analyzing various configurations using HOMER software, the most optimal configurations have been identified to achieve the most cost-effective operation under the existing conditions. These configurations are summarized in Table 2.
Table 2 demonstrates that integrating renewable energy technologies often yields greater economic efficiency than relying exclusively on the main grid. For example, Configuration No. 1 (the Proposed System), which includes 147 kW of PV, exhibits an NPC of USD 3.27 M—USD 90,000 lower than the Base Case (USD 3.36 M), which uses only the grid. Its LCOE of 0.182 USD/kWh also betters the 0.190 USD/kWh of the Base Case, underscoring the cost-effectiveness of introducing renewables. The Proposed System requires a higher initial investment (USD 396,148) than the Base Case (USD 0). However, it benefits from reduced annual O&M expenses of USD 208,764. This reduction results in annual savings of USD 35,078 compared to the Base Case. These savings reflect lower reliance on grid power and efficient deployment of on-site generation.
Although WTs appear in some configurations (e.g., No. 2 and No. 4), their geographical constraints yield only modest gains in renewable fraction (up to about 15.8%) compared to PV-dominated systems. Similarly, BES can further reduce grid dependency, yet they remain costly due to high upfront expenses and shorter lifespans. Even so, hybrid systems that combine PV, WTs, and/or limited BES often balance overall costs and raise renewable penetration to about 15–16%, lowering emissions relative to a 0% renewable scenario.
Regarding environmental impact, each increment in renewable fraction directly reduces the reliance on conventional power sources, suggesting lower greenhouse gas emissions than the fully grid-based alternative. This trade-off involves higher initial capital requirements for equipment like PV modules and BES systems, which is offset by long-term economic and environmental benefits in most configurations. Ultimately, the data confirm that partial renewable adoption—especially via PV—can achieve cost savings, improve sustainability, and lower annual operating costs while maintaining feasible overall economics.
Figure 8 shows the cumulative discounted cash flow over the 20-year project lifetime for the Base Case and the Proposed System. Although the Proposed System’s simple payback period is around 12 years, its discounted payback extends to 17.31 years—reflecting the time value of money and thus providing a more accurate measure of how quickly the initial costs are recovered. Despite this longer discounted payback, the Proposed System’s cash flow curve remains higher (i.e., less negative) than that of the Base Case towards the end of the timeline. By the end of the project, this translates into a net advantage of about USD 90,000 for the Proposed System.
Key economic indicators for the Proposed System emphasize its financial viability. With an IRR of 6.0%—exceeding the real discount rate of 3.85%—the project demonstrates profitability over its lifespan. The 4.2% ROI similarly reflects a net gain relative to the total investment, and although modest, it confirms the project’s economic feasibility.
As shown in Figure 9, the grid constitutes the largest share of Scenario I’s Proposed System costs—around 88%—primarily due to operational expenses. PV accounts for 11% of the total, reflecting a substantial yet smaller capital investment, and the converter makes up only 1%. Although PV has a relatively low-cost share, it significantly reduces reliance on the grid by offsetting considerable electricity purchases. PV generation over the system’s lifetime helps minimize operational costs. It also mitigates fuel price volatility. Thus, even an 11% cost contribution from PV can yield meaningful long-term savings. These savings become significant compared to complete dependence on grid power. Moreover, the ability of HOMER to optimize PV capacity based on the site’s GHI data and a detailed cost model ensures that PV investments are appropriately sized, contributing to the observed cost distribution and reinforcing PV’s role in reducing operational expenses.
Figure 10 shows that the grid provides most of the energy year-round for the Proposed System, accounting for 84.1% of the total energy supply directly consumed by the loads. In contrast, PV production contributes 15.9% of total generation, and only 1.6%—as expected from surplus generation—is sold back to the grid, with the rest used entirely to meet the load. This large grid share stems from varying solar availability, load fluctuations, and the system’s design to ensure reliable power during periods of low irradiance or peak demand. Meanwhile, limited surplus and possibly minimal incentives (e.g., net metering or feed-in tariffs) contribute to a small fraction of PV exports. This distribution highlights the grid’s critical role in maintaining stability and underscores the importance of balancing renewable integration with dependable conventional energy sources.

3.2. Scenario II: Economic Optimization

Next, the results of the second scenario, which involves the implementation of a BG, are presented in Table 3. This approach leverages the availability of livestock waste in the region to enhance energy production. BG offers economic benefits and aims to increase the microgrid’s independence from the main grid. By reducing reliance on the grid, this configuration addresses frequent outages and power interruptions, thereby improving reliability and ensuring a more stable energy supply.
Like Scenario I, integrating renewable energy equipment in Scenario II improves system performance. It reduces long-term costs, with PV panels dominating WTs and BES systems. A noteworthy example is Configuration No. 1 (the Proposed System), which combines 144 kW of PV, a 200 kW BG unit, and the main grid. This setup achieves an NPC of USD 4.93 M, slightly lower than the USD 5.01 M of the Base Case (Configuration No. 5). The Base Case relies on no PV, no WT, and a 200 kW BG alongside the main grid. Although the Proposed System’s initial capital cost is higher (USD 988,787 vs. USD 600,000), it significantly cuts O&M expenses—286,188 USD/year instead of 320,444 USD/year—and yields a lower LCOE of 0.274 USD/kWh compared to 0.283 USD/kWh in the Base Case. Despite the greater upfront investment, these savings highlight the economic advantages of adopting PV.
Regarding renewable energy fraction, the Proposed System (Configuration No. 1) achieves 71.1%, substantially higher than the 57.5% in the Base Case. Other configurations, like No. 4, push the renewable fraction up to 78.5%, albeit with a slightly higher NPC of USD 5.01 M—reflecting a trade-off between maximizing renewables and minimizing costs. As with Scenario I, WTs and BES systems play secondary roles due to geographical limitations and higher capital costs. Nonetheless, each increment in renewable penetration contributes to a lower environmental impact by reducing reliance on conventional energy, underscoring the potential for hybrid systems to balance economic viability with sustainability goals.
Figure 11 illustrates the cumulative discounted cash flow over 20 years for the Base Case and the Proposed System. Both systems exhibit a steady decline in cash flow due to operating and maintenance costs; however, the Proposed System consistently performs better, showing less negative cash flow throughout the period. This demonstrates the long-term economic advantage of integrating renewable energy technologies. The gap between the two systems widens over time, highlighting the cost-saving benefits of the Proposed System in reducing reliance on the grid and optimizing operational expenses. By year 20, the cumulative savings of the Proposed System over the Base Case become substantial, emphasizing its financial feasibility and sustainability. The system has a discounted payback period of 17.44 years, meaning the initial capital investment is recovered within this timeframe, leaving more than two years of net financial benefit over the system’s 20-year lifetime.
Key economic metrics for the Proposed System demonstrate its robust financial viability. The 6.0% IRR represents the rate of return over the system’s lifetime—a modest but acceptable value for renewable energy projects. The ROI is 4.2%, reflecting the net benefit of the project relative to its total investment, which, while modest, confirms its economic feasibility. These metrics highlight the system’s long-term economic viability, like Scenario I.
As shown in Figure 12, in Scenario II, the BG dominates the total project cost, accounting for 72.6%, reflecting its significant role in the system. The grid contributes 19.6%, a notable reduction from Scenario I, while PV maintains a smaller yet consistent share of 7.0%. The converter represents 0.7% of the total, underscoring its minimal contribution. This cost distribution highlights the system’s reliance on BG as the primary energy source, complemented by the grid and PV to ensure reliability and renewable integration. Moreover, HOMER’s capacity optimization for the BG—considering fuel costs, operational constraints, and site-specific conditions—drives its dominant cost share, while targeted PV usage helps offset grid dependence and mitigate long-term operational expenses.
Figure 13 illustrates the cumulative cash flow of the project, categorized by equipment, over the analysis period for better economic insight. As observed, BG consistently accounts for the largest share of costs across all years, reflecting its dominant role in the system’s financial structure. Following BG, grid electricity purchases represent the second most significant expense, highlighting the system’s reliance on external power sources. Other components, including PV and the converter, contribute comparatively smaller portions only during the initial investment phase and occasional replacement years.
If the discounted cash flow based on the cost type is analyzed as presented in Figure 14, it becomes evident that the project initially incurs a high capital investment. Over the operational years, O&M costs for the BG remain significant due to its relatively high operating hours, alongside grid electricity expenses, which also contribute notably. Additionally, fuel costs for biomass consumption in BG become increasingly visible throughout the project’s lifetime. Furthermore, the chart shows that the BG system requires replacement four times during the analysis period, marking key investment points. The converter was also replaced once, but its cost was relatively minor compared to other expenditures.
Figure 15 illustrates the distribution of energy supply and consumption for Scenario II. The inner ring shows BG supplying 734.8 MWh (55.8%), PV providing 205.2 MWh (15.6%), and the grid contributing 376.9 MWh (28.6%). The outer ring further breaks down how this energy is utilized: BG primarily supplies the load (734.3 MWh, 55.8%), with only a negligible export of 0.5 MWh to the grid. PV energy is mainly consumed on-site (185.4 MWh, 14.1%), while 19.8 MWh (1.5%) is sold back to the grid. By contrast, grid electricity is used for local demand (376.9 MWh, 28.6%) without exports.
This breakdown reveals the dominance of BG in meeting the system’s energy needs, ensuring reliability and continuous operation. At the same time, PV exhibits significant self-consumption, limiting the surplus sold to the grid. The grid plays an essential complementary role, covering nearly one-third of the total energy supply and balancing the system’s demand—mainly during insufficient BG or PV output.
The annual analysis of Scenario II highlights a consistent and strategic energy management approach that leverages local biomass and solar resources. The biomass input remains relatively steady—up to 400 kg/h—ensuring uninterrupted BG generation. Over the analyzed period, 2225 tons of feedstock were consumed, averaging 6.09 tons/day or about 0.254 tons/h, maintaining reliable biogas production throughout the year. BG generation typically decreases at midday when solar generation is at its peak, while BG output increases (up to 200 kW) during morning, evening, and nighttime. This approach ensures continuous power availability without unnecessary excess generation during peak solar periods. Meanwhile, PV generation reaches its maximum output (up to 125 kW) at midday, especially in summer, effectively meeting daytime loads.
Excess PV generation usually occurs around midday in summer, allowing surplus electricity (up to 60 kW) to be sold back to the grid and generating marginal revenue. However, during nighttime and periods of low renewable availability, the system relies on purchased grid power, reaching up to 250 kW and indicating dependence on external sources under less favorable conditions. This coordinated operational strategy balances biogas and PV contributions alongside grid interactions, ensuring year-round cost-effectiveness, system reliability, and operational stability.
Figure 16 shows the power distribution of the Proposed System on August 15th in Scenario II, highlighting the contributions of BG, PV, and grid energy to meet the load demand. BG provides a consistent supply throughout the night, covering a substantial portion of the demand. PV output peaks during midday, reflecting the availability of sunlight, and it drops to zero at night. The grid supplements the system during high demand or low renewable generation periods, ensuring reliability. Occasionally, surplus energy, primarily from PV during midday, is sold back to the grid, although this did not occur on this day. This dynamic balance demonstrates the system’s ability to integrate renewable energy while maintaining reliability and economic efficiency.
Table 4 highlights the environmental benefits of the Proposed System by showcasing significant reductions in key emissions compared to the Base System. The most notable improvements are observed in sulfur dioxide and nitrogen oxides, major contributors to acid rain, smog formation, and respiratory illnesses. These reductions indicate a cleaner combustion process and a shift toward more efficient energy utilization. Additionally, the substantial decrease in carbon dioxide emissions demonstrates a lower reliance on fossil fuels, reinforcing the system’s contribution to mitigating climate change and reducing its carbon footprint.
While carbon monoxide levels remain nearly unchanged, the reductions in other pollutants highlight the Proposed System’s effectiveness in minimizing harmful environmental impacts. Beyond ecological benefits, these improvements enhance air quality, support regulatory compliance, and may lead to economic advantages such as reduced carbon taxation and improved public health outcomes. The system’s ability to lower emissions while maintaining energy efficiency underscores its role in fostering a more sustainable and cost-effective energy solution. It should be noted that achieving substantial greenhouse gas emission reductions through biogas utilization depends strongly on minimizing methane leakage and ensuring efficient combustion processes.

4. Discussion

This study set out to identify and analyze HES configurations capable of enhancing reliability and economic feasibility in a rural community with existing grid constraints. Technical and economic outcomes were evaluated by integrating PV, a BG fueled by livestock waste, and BES alongside the main grid. A special focus was on leveraging local resources—particularly biomass—to reduce greenhouse gas emissions, promote rural development, and strengthen energy independence.
Two primary scenarios were investigated. Scenario I involved a minimal capital investment strategy featuring PV and the main grid. This configuration achieved an NPC of approximately USD 3.27 M, yielding about USD 90,000 in cost savings compared to the baseline setup. PV contributed 16% of the total energy supply, reducing operational expenses while relying on the grid for peak loads and backup. In contrast, Scenario II introduced a biogas generator fueled by livestock waste, PV, and grid connectivity. Although its overall costs rose by USD 1.66 M, the BG supplied 55.8% of the total energy demand, reducing grid dependence to 28.6%—a 55.5% drop relative to Scenario I—and cutting key emissions by roughly 30%.
These results can be explained by the specific design choices and resource characteristics in each scenario. PV requires no ongoing fuel costs once installed, providing electricity at relatively stable long-term prices. Even modest PV capacity offsets grid consumption and lowers operational expenses, particularly when site-specific solar irradiance data and HOMER’s optimization algorithms are used to size the system effectively. Meanwhile, the BG utilizes locally available livestock waste, offering a steady fuel source that does not depend on seasonal variation. BG significantly reduces emissions and improves resilience by displacing a portion of the grid supply—often generated by fossil fuels. Although this approach demands higher capital and infrastructure costs, it provides greater energy independence, fewer power disruptions, and better long-term sustainability.
Grid connectivity remains essential to both scenarios, ensuring reliable backup during peak demand or low solar output periods. In Scenario II, the share of grid-supplied electricity drops to 28.6%. However, the grid still allows for surplus export—albeit limited by modest extra generation and low incentives—and prevents supply shortfalls should the BG or PV fail to meet sudden spikes in demand. The balanced interplay of renewable inputs (PV and BG), supported by the grid, ensures a robust and flexible power system that adapts to seasonal variations and load fluctuations. Scenario I proves more cost-effective through solar self-consumption. In contrast, Scenario II offers improved reliability and significantly lower emissions, reflecting the inevitable trade-off between economic feasibility and energy security.
Compared to the existing literature, LCOE ranging from 0.18 to 0.28 USD/kWh aligns with reported values for PV–grid hybrids in rural areas. Studies on biomass-based microgrids confirm similar trends of improved dispatchability, reduced reliance on external energy markets, and notable emissions cuts [49,50]. The roughly 30% decline in carbon dioxide, sulfur dioxide, and nitrogen oxides aligns with research [51] showing a 25–40% drop when bioenergy displaces conventional fuel sources. While the overall NPC may vary due to factors like feedstock availability, policy incentives, and system scale, the overarching conclusion remains that hybrid renewable solutions consistently address cost, reliability, and environmental challenges, as demonstrated by multiple case studies.
It is important to note that the environmental impacts presented in this study consider only direct emissions from combustion processes. However, a comprehensive environmental evaluation of biomass utilization would require a full Life Cycle Assessment, including emissions associated with feedstock production, transport, conversion processes, and disposal or reuse of by-products. Although such a complete analysis was beyond this study’s scope, several previous studies [52,53,54] provide detailed assessments of the life cycle emissions of biomass-based energy systems. Future research should integrate comprehensive environmental assessment approaches to obtain a more accurate and holistic understanding of biomass energy’s ecological sustainability.
The practical implications of these findings are considerable. Local governments and policymakers could use these insights to introduce supportive policies—such as feed-in tariffs or biomass incentives—that encourage renewable energy adoption and reduce grid vulnerabilities. Embracing local biomass and PV can lower operational costs at the community level. It also creates new job opportunities in feedstock supply and system maintenance. Furthermore, this approach fosters greater energy autonomy. Dispatchable biomass power adds flexibility and backup capacity to rural grids, protecting agriculture-dependent areas from the effects of grid outages or fossil fuel price volatility. Moreover, the modeling approach using HOMER is readily transferable to other rural and semi-remote contexts, facilitating the design of tailored hybrid microgrids that harness local resources, address site-specific conditions, and enable more sustainable regional development.
In addition to socioeconomic benefits, this study underscores hybrid systems’ environmental and social advantages. Scenario II’s biogas component reduces reliance on fossil fuels, lowering greenhouse gas emissions and mitigating air pollutants like sulfur dioxide and nitrogen oxides. Livestock waste is efficiently reused rather than left unmanaged, reducing methane emissions and promoting a circular economy. It should be noted that the environmental benefits of biogas depend critically on preventing methane leakage and managing emissions effectively. Cleaner air quality can improve public health outcomes, reducing respiratory illnesses and healthcare costs. Furthermore, involving local stakeholders in planning and operation promotes a sense of ownership, enhancing social acceptance and making it easier to implement and expand similar projects. Hybrid systems encourage responsible environmental stewardship and long-term sustainability by redefining resource flows and adding value to agricultural byproducts.
Despite these encouraging results, several limitations must be considered. The study relies on simplified demand profiles and average resource data, which might overlook short-term load fluctuations or seasonal patterns. Technical assumptions regarding generator efficiency and battery degradation may not fully replicate real-world conditions. At the same time, external factors—such as fluctuating biomass prices, solar equipment costs, or policy shifts—can alter long-term economic viability. Moreover, the outcomes are site-specific: the availability of livestock waste, geographical conditions, and regulatory environments all influence feasibility. Expanding or replicating this design in other locations will require additional feasibility assessments tailored to each site’s unique constraints.
The economic outcomes presented in this study depend significantly on assumptions made for critical variables such as discount rates and system component costs. Variations in the discount rate can markedly influence NPC and LCOE, potentially altering conclusions regarding scenario preferences. Similarly, fluctuations in component costs—particularly for PV modules, biogas generators, battery storage systems, and biomass feedstock—can affect the system’s overall economic attractiveness. Given these sensitivities, caution is required when interpreting and generalizing results based on single-value analyses. Future studies should incorporate detailed sensitivity or uncertainty analyses, such as Monte Carlo simulations, to capture these variabilities comprehensively and provide more robust decision-making guidance.
Future improvements could include exploring advanced storage solutions, such as lithium–iron–phosphate or flow batteries, to enhance load leveling, system flexibility, and thermal storage for combined heat and power (CHP) applications. Demand-side management strategies like load shifting and energy efficiency upgrades could reduce overall consumption and align demand with periods of high renewable generation. Integrating wind or micro-hydro resources could diversify the power mix if geographically viable. High-resolution monitoring and AI-driven forecasting would allow real-time generator dispatch and battery scheduling optimization. On the modeling side, sensitivity analyses and hybrid approaches that combine HOMER with other specialized tools (e.g., life-cycle assessment) would yield a fuller understanding of technical, economic, and environmental trade-offs. Additionally, expanding to a community or regional scale could facilitate resource-sharing networks, achieving higher economies of scale and stimulating local investment.
It is important to note that the present analysis assumes fixed economic parameters, such as discount rates, component costs, and biomass feedstock prices. Given that variations in these parameters may significantly impact economic feasibility and decision-making outcomes, future research is strongly recommended to perform sensitivity analyses or uncertainty modeling (e.g., using Monte Carlo simulations) to better quantify and manage these uncertainties, thereby enhancing the robustness and practical applicability of hybrid renewable energy system evaluations.
Ultimately, this study achieves its initial objective by demonstrating how the proposed HES can address cost concerns, enhance reliability, and reduce emissions in rural or semi-remote areas. Scenario I reveals a cost-effective pathway through PV self-consumption, whereas Scenario II provides stronger energy independence and environmental gains. These outcomes confirm that tailoring system architectures to local resources and conditions effectively bridges the gap between existing infrastructure limits and sustainable energy requirements. Hybrid microgrids can be scaled into powerful tools for addressing global energy challenges, reducing fossil fuel dependence, and promoting equitable socio-economic development by incorporating improvements in storage, demand-side management, and policy frameworks.

5. Conclusions

This study demonstrates the critical role that HESs can play in rural communities by simultaneously enhancing reliability, economic performance, and environmental sustainability. Focusing on the semi-remote area of Aras de los Olmos in Spain—where frequent power outages persist despite grid connectivity—this work evaluates two scenarios using HOMER software to integrate renewable energy sources, biogas generation, and grid energy.
In Scenario I, the system optimization prioritized minimizing costs through solar PV (providing 16% of total electricity) and the main grid (84.1%). By strategically adding PV, the overall NPC was reduced by approximately USD 90,000 compared to the existing setup without compromising reliability. Although the grid still dominated the supply, the partial shift toward renewables lowered operational expenses and curbed fossil fuel consumption.
In Scenario II, a biogas generator fueled by locally sourced livestock waste was introduced to reduce grid dependency and boost energy autonomy. This approach yielded 55.8% of total electricity from BG, cutting grid reliance to 28.6%—a 55.5% drop relative to Scenario I. Despite incurring an additional USD 1.66 million in total costs, the scenario delivered enhanced reliability, fewer power outages, and significant social and environmental co-benefits.
Additionally, Scenario II achieved substantial emissions reductions compared to its base system, with major pollutants decreasing by about 30%, signifying cleaner combustion and reduced fossil fuel reliance. While carbon monoxide remained largely unchanged, these improvements boost air quality, support regulatory compliance, and may yield economic benefits such as lower carbon taxation and enhanced public health outcomes. Nevertheless, realizing these environmental benefits relies heavily on appropriate system management practices, as unmanaged methane emissions from biogas systems can negate emission reduction advantages.
Despite these promising results, future studies could improve HESs by addressing several aspects. Advanced energy storage technologies, such as lithium-ion or redox flow batteries, and regionally suitable pumped hydro storage systems could significantly enhance system flexibility and seasonal reliability. Furthermore, a detailed analysis of demand-side management strategies, real-time energy management systems, and consideration of input data uncertainties would strengthen the proposed solutions’ robustness and economic feasibility. Additionally, conducting a life-cycle assessment could provide deeper insights into the environmental sustainability of the proposed configurations.
These findings underscore the importance of tailored hybrid solutions—leveraging local resources such as solar irradiance and biomass—to bridge the gap between existing infrastructure limitations and a sustainable, secure energy future. Rural communities can balance upfront investments in renewables with long-term operational savings. This approach significantly mitigates reliance on conventional energy sources. Additionally, it stabilizes the power supply and supports broader economic and environmental objectives. Ultimately, this study highlights that hybrid systems, supported by careful optimization and future methodological enhancements, represent a viable and scalable approach to addressing energy challenges in rural and semi-remote regions.

Author Contributions

Conceptualization, C.R.-B.; data curation, C.R.-B., C.R.-P. and D.D.-C.; formal analysis, P.M.; funding acquisition, C.R.-P.; investigation, P.M.; methodology, P.M.; project administration, G.E.-E.; resources, G.E.-E. and D.D.-C.; software, P.M.; supervision, C.R.-P. and G.E.-E.; validation, C.R.-B., C.R.-P. and G.E.-E.; writing—original draft, P.M.; writing—review and editing, C.R.-B. and G.E.-E. All authors have read and agreed to the published version of the manuscript.

Funding

This project received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No. 101000470 (Natural and Synthetic Microbial Communities for Sustainable Production of Optimised Biogas—Micro4Biogas).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All mean values used in the study have been presented in the manuscript, but the complete recorded data are unavailable due to privacy restrictions.

Acknowledgments

This work has been developed with the help of the Universitat Politècnica de València. Additionally, the work was possible because this project received funding from the European Union’s Horizon 2020 research and innovation program under grant agreement No. 101000470 (Natural and Synthetic Microbial Communities for Sustainable Production of Optimised Biogas—Micro4Biogas).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Feng, Y.; Xu, R. Advancing Global Sustainability: The Role of the Sharing Economy, Environmental Patents, and Energy Efficiency in the Group of Seven’s Path to Sustainable Development. Sustainability 2025, 17, 322. [Google Scholar] [CrossRef]
  2. Escrivá-Escrivá, G.; Roldán-Blay, C.; Álvarez-Bel, C. Electrical Consumption Forecast Using Actual Data of Building End-Use Decomposition. Energy Build. 2014, 82, 73–81. [Google Scholar] [CrossRef]
  3. Karpavicius, T.; Balezentis, T.; Streimikiene, D. Energy Security Indicators for Sustainable Energy Development: Application to Electricity Sector in the Context of State Economic Decisions. Sustain. Dev. 2024, 33, 1381–1400. [Google Scholar] [CrossRef]
  4. Kamal, M.M.; Mohammad, A.; Ashraf, I.; Fernandez, E. Rural Electrification Using Renewable Energy Resources and Its Environmental Impact Assessment. Environ. Sci. Pollut. Res. 2022, 29, 86562–86579. [Google Scholar] [CrossRef]
  5. Tripathi, S.; Shrivastava, A.; Jana, K.C. An Efficient Energy Management System for a Micro-Grid System Considering the Volatility of Hybrid Renewable Energy. Int. J. Hydrogen Energy 2025, 101, 673–691. [Google Scholar] [CrossRef]
  6. Rahman, M.; Thorburn, S. Renewable Energy Resource Risk Quantification and Mitigation Assessment for Mining Micro-Grid. In Proceedings of the Second SIMS EUROSIM Conference on Modelling and Simulation, SIMS EUROSIM 2024, Oulu, Finland, 10–12 September 2024. [Google Scholar] [CrossRef]
  7. Raza Sial, N.; Sajawal Akhtar, M.; Islam, M.; Abdul Qyyum, M.; Al-Abri, R.; Al-Hatrooshi, A.; Al Muhtaseb, H.; Abdul, M. Techno-Economic Analysis and Life Cycle Assessment of Green Hydrogen Production: A Case Study of Sur Industrial City in Oman. 2024. Available online: https://ssrn.com/abstract=5076268 (accessed on 23 February 2025).
  8. Haeuslein, D.; Schmidt-Vollus, R.; Popp, M.; Schaefer, M. Dynamic Modeling, Design and Simulation of a Thermal Pumped Piston Storage within a Renewable Energy Distribution System. J. Energy Storage 2024, 100, 113348. [Google Scholar] [CrossRef]
  9. Bhutta, M.S.; Li, Y.; Abubakar, M.; Almasoudi, F.M.; Alatawi, K.S.S.; Altimania, M.R.; Al-Barashi, M. Optimizing Solar Power Efficiency in Smart Grids Using Hybrid Machine Learning Models for Accurate Energy Generation Prediction. Sci. Rep. 2024, 14, 17101. [Google Scholar] [CrossRef]
  10. Simão, M.; Ramos, H.M. Hybrid Pumped Hydro Storage Energy Solutions towards Wind and PV Integration: Improvement on Flexibility, Reliability and Energy Costs. Water 2020, 12, 2457. [Google Scholar] [CrossRef]
  11. Coban, H.H.; Rehman, A.; Mousa, M. Load Frequency Control of Microgrid System by Battery and Pumped-Hydro Energy Storage. Water 2022, 14, 1818. [Google Scholar] [CrossRef]
  12. Liu, J.; Chen, X.; Cao, S.; Yang, H. Overview on Hybrid Solar Photovoltaic-Electrical Energy Storage Technologies for Power Supply to Buildings. Energy Conversion and Management; Elsevier Ltd.: Amsterdam, The Netherlands, 2019; pp. 103–121. [Google Scholar] [CrossRef]
  13. Roldán-Blay, C.; Miranda, V.; Carvalho, L.; Roldán-Porta, C. Optimal Generation Scheduling with Dynamic Profiles for the Sustainable Development of Electricity Grids. Sustainability 2019, 11, 7111. [Google Scholar] [CrossRef]
  14. Chinaris, P.P.; Psarros, G.N.; Papathanassiou, S.A. Hybridization of Wind Farms with Co-Located PV and Storage Installations. Renew. Energy 2025, 240, 122057. [Google Scholar] [CrossRef]
  15. Horrillo-Quintero, P.; García-Triviño, P.; Ugalde-Loo, C.E.; Hosseini, E.; García-Vázquez, C.A.; Tostado, M.; Jurado, F.; Fernández-Ramírez, L.M. Efficient Energy Dispatch in Multi-Energy Microgrids with a Hybrid Control Approach for Energy Management System. Energy 2025, 317, 134599. [Google Scholar] [CrossRef]
  16. Maggu, P.; Singh, S.; Sinha, A.; Biamba, C.N.; Iwendi, C.; Hashmi, A. Sustainable and Optimized Power Solution Using Hybrid Energy System. Energy Explor. Exploit. 2024, 43, 526–563. [Google Scholar] [CrossRef]
  17. Roldán-Porta, C.; Roldán-Blay, C.; Dasí-Crespo, D.; Escrivá-Escrivá, G. Optimising a Biogas and Photovoltaic Hybrid System for Sustainable Power Supply in Rural Areas. Appl. Sci. 2023, 13, 2155. [Google Scholar] [CrossRef]
  18. Escrivá-Escrivá, G.; Dasí-Crespo, D.; Segarra-Balaguer, M.; Quiles-Cucarella, E.; Roldán-Blay, C.; Roldán-Porta, C. Development of the Energy Hub GEDERlab at Universitat Politècnica de València for Encouraging the Integration of Renewable Energy Resources. In Proceedings of the 22nd International Conference on Renewable Energies and Power Quality (ICREPQ’24), Bilbao, Spain, 26–28 June 2024. [Google Scholar]
  19. Dasí-Crespo, D.; Roldán-Blay, C.; Escrivá-Escrivá, G.; Roldán-Porta, C. Integration of Renewable Resources into the Electricity Energy Matrix. Practical Case Applied to a Small Rural Municipality. Renew. Energy Power Qual. J. 2023, 21, 121–126. [Google Scholar] [CrossRef]
  20. Motevakel, P.; Roldán-Blay, C.; Roldán-Porta, C.; Escrivá-Escrivá, G.; Dasí-Crespo, D. Strategic Resource Planning for Sustainable Biogas Integration in Hybrid Renewable Energy Systems. Appl. Sci. 2025, 15, 642. [Google Scholar] [CrossRef]
  21. Lambert, T.; Gilman, P.; Lilienthal, P. Micropower System Modeling with Homer. Integr. Altern. Sources Energy 2005, 1, 379–385. [Google Scholar]
  22. Nugraha, C.F.; Subekti, L.; Muthahhari, A.A.; Prasetyo, B.E.; Budi, R.F.S. A Sustainable Hybrid Off-Grid System Design for Isolated Island Considering Techno-Economic and Frequency Stability Analysis. J. Appl. Eng. Technol. Sci. 2024, 6, 444–464. [Google Scholar] [CrossRef]
  23. Md Abdur, R.; Hossain Fida, A.; Abdur Rahim, M.; Mazed Ahmed, M.; Professor, A. Integrating Supercapacitors and Redox-Flow Batteries for Enhanced Energy Storage in Off-Grid Solar/Wind Hybrid Systems. In Proceedings of the International Conference on Mechanical, Industrial and Materials Engineering 2024 (ICMIME2024), Rajshahi, Bangladesh, 11–13 December 2024; Volume 2024. Available online: https://www.researchgate.net/publication/387494678 (accessed on 23 February 2025).
  24. Kamaludin, S.M.; Jenal, M. Design and Economic Evaluation of Solar Home System for a Residential. Evol. Electr. Electron. Eng. 2024, 5, 149–156. [Google Scholar]
  25. Alhazmi, Y. Techno-Economic Design Analysis of Electric Vehicle Charging Stations Powered by Photovoltaic Technology on the Highways of Saudi Arabia. Energies 2025, 18, 315. [Google Scholar] [CrossRef]
  26. Alyahya, S.; Zaky, A.A.; Yousif, B.; Dawoud, S.M. Optimal Planning and Decision-Making for Hybrid Microgrids: Integrating Diverse Renewable Sources with Battery Systems. Research Square. 13 January 2025. Available online: https://www.researchsquare.com/article/rs-5790784/v1 (accessed on 5 March 2025). [CrossRef]
  27. Höffner, D.; Glombik, S. Energy System Planning and Analysis Software—A Comprehensive Meta-Review with Special Attention to Urban Energy Systems and District Heating. Energy 2024, 307, 132542. [Google Scholar] [CrossRef]
  28. Saxena, V.; Kumar, N.; Manna, S.; Rajput, S.K.; Agarwal, K.L.; Diwania, S.; Gupta, V. Modelling, Solution and Application of Optimization Techniques in HRES: From Conventional to Artificial Intelligence. Appl. Energy 2025, 380, 125047. [Google Scholar] [CrossRef]
  29. Kumar, P.H.; Alluraiah, N.C.; Gopi, P.; Bajaj, M.; Kumar, S.; Kalyan, C.N.S.; Blazek, V. Techno-Economic Optimization and Sensitivity Analysis of off-Grid Hybrid Renewable Energy Systems: A Case Study for Sustainable Energy Solutions in Rural India. Results Eng. 2025, 25, 103674. [Google Scholar] [CrossRef]
  30. Zegueur, A.; Sebbagh, T.; Metatela, A. Optimizing a Sustainable Power System with Green Hydrogen Energy Storage for Telecommunication Station Loads. Sol. Energy Sustain. Dev. J. 2024, 14, 1–19. [Google Scholar] [CrossRef]
  31. Rajbongshi, R.; Rajkumari, A. Optimization and Economic Analysis of Hybrid Renewable Energy System. Energy 2025, 317, 134689. [Google Scholar] [CrossRef]
  32. Kaushal, J.; Chowdhury, S.P.D. Hydrogen-Powered Fuel Cell Integration in Low Voltage Microgrid Systems: Performance Evaluation and Power Quality Analysis. Int. J. Ambient. Energy 2025, 46, 2446524. [Google Scholar] [CrossRef]
  33. Rong, Q.; Shami, H.O.; Ali, A.B.M.; Alshamrani, A.; Agarwal, D.; Ahmed, M.; Rajab, H.; Mabrouk, A.; Kolsi, L.; Ben Said, L.; et al. Environmental, Financial, and Technological Viability of Based on a Grid/PV/Battery/Wind/Electrolyzer/Biogas Hybrid Configuration for Producing Energy and Hydrogen. Int. J. Hydrogen Energy 2025, 103, 836–850. [Google Scholar] [CrossRef]
  34. Okorie, M.E.; Valombola, E.E.; Inambao, F.L. Review on The Techno-Economics of Decentralized Hydrogen Production Using Alternative Renewable Energy Sources. Tuijin Jishu J. Propuls. Technol. 2024, 45, 1001–4055. [Google Scholar]
  35. Yang, L.; Wu, L.; Li, G. Enhanced Energy Management in Smart Microgrids Using Hybrid Optimization and Demand Response Strategies. Int. J. Electr. Power Energy Syst. 2025, 164, 110421. [Google Scholar] [CrossRef]
  36. Aeggegn, D.B.; Nyakoe, G.N.; Wekesa, C. An Energy Management System for Multi-Microgrid System Considering Uncertainties Using Multi-Objective Multi-Verse Optimization. Energy Rep. 2025, 13, 286–302. [Google Scholar] [CrossRef]
  37. Alamir, N.; Kamel, S.; Abdelkader, S.M. Stochastic Multi-Layer Optimization for Cooperative Multi-Microgrid Systems with Hydrogen Storage and Demand Response. Int. J. Hydrogen Energy 2025, 100, 688–703. [Google Scholar] [CrossRef]
  38. Elomari, Y.; Mateu, C.; Marín-Genescà, M.; Boer, D. A Multi-Objective Approach for Optimizing Technical, Environmental, and Economic Impact of Energy Communities: A Case Study of a Residential Community in Tarragona. In Proceedings of the 37th International Conference on Efficiency, Cost, Optimization, Simulation and Environmental Impact of Energy Systems, ECOS 2024, Rhodes, Greece, 30 June–5 July 2024; Volume 2, pp. 1411–1421. [Google Scholar] [CrossRef]
  39. Mohamed, R.G.; Hassan, A.A.; Abdel Aleem, S.H.E. A Modified Energy Management Strategy for PV/Diesel Hybrid System to Reduce Diesel Consumption Based on Artificial Protozoa Optimizer. Sci. Rep. 2025, 15, 4440. [Google Scholar] [CrossRef]
  40. Soliman, I.A.; Tulsky, V.; Abd el-Ghany, H.A.; ELGebaly, A.E. Holistic Optimization of Electric Vehicle Charging Stations in Radial Power Systems with V2G Afnd DG Integration Considering Fault Repairing Periods. Appl. Energy 2025, 385, 125504. [Google Scholar] [CrossRef]
  41. Sidhu, S.S.; Sidhu, G.S. Sustainability Issues in Condition-Based Maintenance and Residual Life Prediction. In Condition-Based Maintenance and Residual Life Prediction; Wiley: Hoboken, NJ, USA, 2025; pp. 171–190. [Google Scholar] [CrossRef]
  42. Silva De Oliveira, D.; Costa, A.L.; Velasquez, C.E.; Gonçalves, M.L.S. Integrating Hydrogen into the Energy Matrix: A Strategic Analysis for Sustainable Planning in Minas Gerais. In Proceedings of the Semana Nacional de Engenharia Nuclear e da Energia e Ciências das Radiações-VII SENCIR, Belo Horizonte, Brazil, 12–14 November 2024. [Google Scholar]
  43. Elsayed, I.; Kanaan, H.; Mehanna, M. Feasibility and Optimal Sizing Analysis of Hybrid PV/Wind Powered Seawater Desalination System: A Case Study of Four Ports, Egypt. Heliyon 2024, 10, e40313. [Google Scholar] [CrossRef]
  44. Hu, Z.; Su, R.; Veerasamy, V.; Huang, L.; Ma, R. Resilient Frequency Regulation for Microgrids under Phasor Measurement Unit Faults and Communication Intermittency. IEEE Trans. Industr. Inform. 2024, 21, 1941–1949. [Google Scholar] [CrossRef]
  45. Li, X.; Hu, C.; Luo, S.; Lu, H.; Piao, Z.; Jing, L. Distributed Hybrid-Triggered Observer-Based Secondary Control of Multi-Bus DC Microgrids over Directed Networks. IEEE Trans. Circuits Syst. I Regul. Pap. 2025, 1–14. [Google Scholar] [CrossRef]
  46. HOMER Energy LLC. HOMER Pro User Manual; Version 3.15; HOMER Energy LLC: Boulder, CO, USA, 2024; Available online: https://homerenergy.com/products/pro/docs/3.15/index.html (accessed on 19 March 2025).
  47. Wamalwa, F.; Ishimwe, A. Optimal Energy Management in a Grid-Tied Solar PV-Battery Microgrid for a Public Building under Demand Response. Energy Rep. 2024, 12, 3718–3731. [Google Scholar] [CrossRef]
  48. Sichilalu, S.; Wamalwa, F.; Akinlabi, E.T. Optimal Control of Wind-Hydrokinetic Pumpback Hydropower Plant Constrained with Ecological Water Flows. Renew. Energy 2019, 138, 54–69. [Google Scholar] [CrossRef]
  49. Malik, P.; Awasthi, M.; Sinha, S. Biomass-Based Gaseous Fuel for Hybrid Renewable Energy Systems: An Overview and Future Research Opportunities. Int. J. Energy Res. 2021, 45, 3464–3494. [Google Scholar] [CrossRef]
  50. Tostado-Véliz, M.; Escámez, A.; Aguado, R.; Sánchez-Lozano, D.; Jurado, F.; Vera, D. Optimal Sizing of Hybrid PV–Diesel–Biomass Gasification Plants for Electrification of off-Grid Communities: An Efficient Approach Based on Benders’ Decomposition. J. Clean. Prod. 2024, 458, 142360. [Google Scholar] [CrossRef]
  51. Tikka, A.; Hartikainen, A.; Sippula, O.; Kilpeläinen, A. Displacement Factors for Aerosol Emissions From Alternative Forest Biomass Use. GCB Bioenergy 2024, 16, e70008. [Google Scholar] [CrossRef]
  52. Jeswani, H.K.; Gujba, H.; Azapagic, A. Assessing Options for Electricity Generation from Biomass on a Life Cycle Basis: Environmental and Economic Evaluation. Waste Biomass Valorization 2011, 2, 33–42. [Google Scholar] [CrossRef]
  53. Mann, M.K.; Spath, P.L. Life Cycle Assessment of a Biomass Gasification Combined-Cycle System; Life Cycle Assessment; NREL: Golden, CO, USA, 1997. [Google Scholar]
  54. Zang, G.; Zhang, J.; Jia, J.; Lora, E.S.; Ratner, A. Life Cycle Assessment of Power-Generation Systems Based on Biomass Integrated Gasification Combined Cycles. Renew. Energy 2020, 149, 336–346. [Google Scholar] [CrossRef]
Figure 1. The geographic location of Aras de los Olmos.
Figure 1. The geographic location of Aras de los Olmos.
Applsci 15 03790 g001
Figure 2. System schematic of the first scenario.
Figure 2. System schematic of the first scenario.
Applsci 15 03790 g002
Figure 3. System schematic of the second scenario.
Figure 3. System schematic of the second scenario.
Applsci 15 03790 g003
Figure 4. Daily load profile on a typical day in January.
Figure 4. Daily load profile on a typical day in January.
Applsci 15 03790 g004
Figure 5. Monthly load profile.
Figure 5. Monthly load profile.
Applsci 15 03790 g005
Figure 6. Yearly load heatmap profile.
Figure 6. Yearly load heatmap profile.
Applsci 15 03790 g006
Figure 7. Design process in HOMER.
Figure 7. Design process in HOMER.
Applsci 15 03790 g007
Figure 8. Cash flow for the Proposed System and the Base Case in Scenario I.
Figure 8. Cash flow for the Proposed System and the Base Case in Scenario I.
Applsci 15 03790 g008
Figure 9. Cost summary of the Proposed System in Scenario I.
Figure 9. Cost summary of the Proposed System in Scenario I.
Applsci 15 03790 g009
Figure 10. Energy share of the Proposed System in Scenario I.
Figure 10. Energy share of the Proposed System in Scenario I.
Applsci 15 03790 g010
Figure 11. Cash flow for the Proposed System and the Base Case in Scenario II.
Figure 11. Cash flow for the Proposed System and the Base Case in Scenario II.
Applsci 15 03790 g011
Figure 12. Cost summary of the Proposed System in Scenario II.
Figure 12. Cost summary of the Proposed System in Scenario II.
Applsci 15 03790 g012
Figure 13. Discounted cash flow by component for the Proposed System in Scenario II.
Figure 13. Discounted cash flow by component for the Proposed System in Scenario II.
Applsci 15 03790 g013
Figure 14. Discounted cash flow by cost type for the Proposed System in Scenario II.
Figure 14. Discounted cash flow by cost type for the Proposed System in Scenario II.
Applsci 15 03790 g014
Figure 15. Energy share of the Proposed System in Scenario II.
Figure 15. Energy share of the Proposed System in Scenario II.
Applsci 15 03790 g015
Figure 16. The power distribution of the Proposed System on August 15th in Scenario II.
Figure 16. The power distribution of the Proposed System on August 15th in Scenario II.
Applsci 15 03790 g016
Table 1. Cost and technical features of the system components.
Table 1. Cost and technical features of the system components.
System ComponentPVWTBGBESConverter
Capital Cost (USD)250050,0003000300300
Replacement Cost (USD)250050,0001250300300
O&M Cost10 USD/yr500 USD/yr0.10 USD/op. hr10 USD/yr0 USD/yr
Considered SizeOptimizedOptimized200 kWOptimizedOptimized
Life Span25 years20 years20,000 h10 years15 years
Table 2. Scenario I: best results.
Table 2. Scenario I: best results.
No. ArchitectureCostSystem
PV (kW)WT (#)BES (#)Con. (kW)GridDispatchNPC (USD)LCOE (USD)O&M (USD/yr)Initial (USD)Ren. Frac (%)
1147- - 99.3Inf.CC3.27 M0.182208,764396,14815.1
21351 - 102Inf.CC32.8 M0.183207,743418,91215.7
3152-16102Inf.CC3.28 M0.182208,103415,74515.6
413714125Inf.LF3.29 M0.183207,670430,25415.8
5-- - -Inf.CC3.36 M0.190243,84200
Table 3. Scenario II best results.
Table 3. Scenario II best results.
No. ArchitectureCostSystem
PV (kW)WT (#)BES (#)Conv. (KW)GridBG (kW)DispatchNPC (USD)LCOE (USD)O&M (USD/yr)Initial (USD)Ren. Frac (%)Fuel (L/yr)
1144 - - 97Inf.200CC4.93 M0.274286,188988,78771.12225
2184 - 4115Inf.200LF4.94 M0.271279,1831.10 M73.82222
31551 - 96Inf.200CC4.95 M0.274281,6431.07 M72.82210
426214143Inf.200LF5.01 M0.264265,4501.35 M78.52205
5 - - - - Inf.200CC5.01 M0.283320,4440.6 M57.52233
Table 4. Annual emissions reduction in the Proposed System.
Table 4. Annual emissions reduction in the Proposed System.
QuantityBase SystemProposed SystemDecrease
kg/yr%
Carbon Dioxide350,237243,12730.6
Carbon Monoxide4.474.450.4
Sulfur Dioxide1497103331.0
Nitrogen Oxides73550830.9
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.

Share and Cite

MDPI and ACS Style

Motevakel, P.; Roldán-Blay, C.; Roldán-Porta, C.; Escrivá-Escrivá, G.; Dasí-Crespo, D. Hybrid Energy Solutions for Enhancing Rural Power Reliability in the Spanish Municipality of Aras de los Olmos. Appl. Sci. 2025, 15, 3790. https://doi.org/10.3390/app15073790

AMA Style

Motevakel P, Roldán-Blay C, Roldán-Porta C, Escrivá-Escrivá G, Dasí-Crespo D. Hybrid Energy Solutions for Enhancing Rural Power Reliability in the Spanish Municipality of Aras de los Olmos. Applied Sciences. 2025; 15(7):3790. https://doi.org/10.3390/app15073790

Chicago/Turabian Style

Motevakel, Pooriya, Carlos Roldán-Blay, Carlos Roldán-Porta, Guillermo Escrivá-Escrivá, and Daniel Dasí-Crespo. 2025. "Hybrid Energy Solutions for Enhancing Rural Power Reliability in the Spanish Municipality of Aras de los Olmos" Applied Sciences 15, no. 7: 3790. https://doi.org/10.3390/app15073790

APA Style

Motevakel, P., Roldán-Blay, C., Roldán-Porta, C., Escrivá-Escrivá, G., & Dasí-Crespo, D. (2025). Hybrid Energy Solutions for Enhancing Rural Power Reliability in the Spanish Municipality of Aras de los Olmos. Applied Sciences, 15(7), 3790. https://doi.org/10.3390/app15073790

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop