Next Article in Journal
Comparative Analysis of Dedicated and Randomized Storage Policies in Warehouse Efficiency Optimization
Previous Article in Journal
Offshore Wind Turbine Key Components’ Life Cycle Cost Analysis (LCCA): Specification Options in Western Australia
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimizing Hybrid Renewable Energy Systems for Isolated Applications: A Modified Smell Agent Approach

1
LEA Laboratory, Department of Electrical Engineering, University of Badji Mokhtar, Sidi Amar, Annaba 23000, Algeria
2
Department of Electrical Engineering, ENSTI, Annaba 23003, Algeria
3
Department of Electrical and Electronics Engineering, University of Jos, Jos 930001, Nigeria
4
Department of Electrical Engineering, University of Biskra, Biskra 07000, Algeria
*
Authors to whom correspondence should be addressed.
Eng 2025, 6(6), 120; https://doi.org/10.3390/eng6060120
Submission received: 21 April 2025 / Revised: 22 May 2025 / Accepted: 26 May 2025 / Published: 1 June 2025

Abstract

:
This paper presents the optimal sizing of a hybrid renewable energy system (HRES) for an isolated residential building using modified smell agent optimization (mSAO). The paper introduces a time-dependent approach that adapts the selection of the original SAO control parameters as the algorithm progresses through the optimization hyperspace. This modification addresses issues of poor convergence and suboptimal search in the original algorithm. Both the modified and standard algorithms were employed to design an HRES system comprising photovoltaic panels, wind turbines, fuel cells, batteries, and hydrogen storage, all connected via a DC-bus microgrid. The components were integrated with the microgrid using DC-DC power converters and supplied a designated load through a DC-AC inverter. Multiple operational scenarios and multi-objective criteria, including techno-economic metrics such as levelized cost of energy (LCOE) and loss of power supply probability (LPSP), were evaluated. Comparative analysis demonstrated that mSAO outperforms the standard SAO and the honey badger algorithm (HBA) used for the purpose of comparison only. Our simulation results highlighted that the PV–wind turbine–battery system achieved the best economic performance. In this case, the mSAO reduced the LPSP by approximately 38.89% and 87.50% over SAO and the HBA, respectively. Similarly, the mSAO also recorded LCOE performance superiority of 4.05% and 28.44% over SAO and the HBA, respectively. These results underscore the superiority of the mSAO in solving optimization problems.

1. Introduction

Renewable energy sources have been utilized to decrease reliance on fossil fuels and reduce greenhouse gas emissions [1]. However, to address the intermittency issues of renewable sources, such as solar and wind, hybrid renewable energy systems (HRESs) have been introduced as a solution. These systems not only meet electricity demand but also lower greenhouse gas emissions, providing an efficient, sustainable, and eco-friendly approach. This contributes significantly to the development of smart grid environments. Various configurations are integrated to develop a hybrid renewable energy system, either in grid-connected or stand-alone mode, using multiple energy sources to meet energy demand. The system utilizes multiple storage devices to balance energy fluctuations, storing excess energy in the short term with batteries and supercapacitors and in the long term with hydrogen tanks [2].
The optimal design of stand-alone hybrid renewable energy systems requires effective capacity planning and sizing to minimize investment costs and maximize the efficient use of hybrid energy resources. This design process must account for the coordination between energy sources, storage systems, and load demand patterns. To address sizing challenges in these systems, optimization techniques have been explored in the literature, involving mathematical modeling of components and the use of hourly weather data for the chosen location [3]. Additionally, these models focus on specific objective functions. In Ref. [4], the authors applied the PSO algorithm and an Artificial Neural Network to estimate PV panel parameters, with simulation results demonstrating a 3.5% improvement in convergence speed.
Recent research has focused on the application of meta-heuristic algorithms for renewable energy system sizing. Several optimization techniques have been explored, including the smell agent optimization (SAO) algorithm, a novel meta-heuristic inspired by the human sense of smell, which operates in three distinct modes, sniffing, trailing, and random mode, as described in Ref. [5]. The authors proposed an enhanced SAO algorithm for sizing hybrid renewable energy systems using photovoltaic panels, wind turbines, and batteries. This approach optimized the system for the lowest annual cost and minimized the loss of power supply probability (LPSP), with improvements of 79% and 53.4%, respectively. The research in Ref. [6] presents an approach to optimizing hybrid renewable energy systems by integrating various generation and storage technologies under a multi-objective framework. Through the assessment of seven optimization algorithms across different operational scenarios, the research identifies an effective strategy for balancing cost, reliability, and power management in isolated microgrids. A method for optimally sizing hybrid renewable energy systems for remote areas, specifically Lavan Island, considering both cost and the intermittent nature of these sources, is developed in Ref. [7]. The study introduces a novel mathematical approach incorporating PV, wind, hydrogen, battery, and fuel cell systems, aiming for off-grid electricity while offering scalability. By employing fuzzy logic and advanced optimization algorithms like the SFLA, GOA, and HBA, the research demonstrates a superior method for achieving a cost-effective and reliable energy supply. The study in Ref. [8] introduces two new optimization algorithms, QOBL-SAO and LFQOBL-SAO, and evaluates their effectiveness against standard SAO. The algorithms were tested on benchmark functions and real-world engineering problems, specifically optimizing hybrid PV/wind/battery systems for a Nigerian healthcare center. Results from simulations indicate that the new variants outperform SAO in minimizing the cost and improving the convergence of hybrid energy system optimization, with LFQOBL-SAO demonstrating superior accuracy. The research in Ref. [9] also addresses the growing need to integrate renewable energy sources with traditional fossil fuel power generation due to rising costs and environmental concerns. It introduces a new hybrid optimization method for the generation scheduling problem, specifically considering wind, solar, and electric vehicle integration alongside thermal units. The proposed heuristic approach effectively handles various operational constraints and is tested on a 10-unit thermal system with increasing renewable and EV penetration. The study in Ref. [10] introduces a novel Nested Identical Control (NIC) method for load frequency control in multi-area microgrids, utilizing two new enhanced versions of the Chameleon Swarm Algorithm (CSA): QCSA and QLCSA. These CSA variants incorporate quasi-oppositional-based learning and Levy flight to improve exploration and avoid local optima, demonstrating superior performance against standard CSA and other algorithms on benchmark functions. The NIC strategy, with controller parameters mirrored across areas, aims for rapid stabilization of frequency fluctuations under uncertainties, and simulations on a two-area microgrid validate the effectiveness of the proposed approach. Similarly, in Ref. [11], the authors analyzed and compared the energy performance of different configurations, testing fuel cells (FCs), electrolyzers, and hydrogen tanks as backup storage systems alongside photovoltaic (PV) panels and wind turbines (WTs). The optimization results indicated that the PV/WT/FC configuration was the most cost-effective, achieving the lowest Total Annual Cost (TAC). In Ref. [12], Shuang Wang et al. demonstrated that while the original SAO algorithm is reliable for solving numerical problems, they improved the algorithm by incorporating the jellyfish swarm’s active–passive mechanism and a novel random operator. This modified SAO (mSAO) improved solution quality by 10–20% over the basic SAO when applied to constraint benchmarks and engineering problems.
Several algorithms have been developed to solve complex problems, including discrete, constraint, dynamic, and non-differentiable issues, as highlighted by Mariye Jahannoosh et al. in Ref. [13]. The hybrid Grey Wolf Optimizer-Sine Cosine Algorithm (HGWOSCA) was compared with the SCA, GWO, and Particle Swarm Optimization (PSO) methods for designing various combinations of hybrid systems under varying reliability constraints. The results demonstrated that the PV/WT/FC combination was the most cost-effective and reliable, particularly in terms of the lowest levelized supply cost of energy (LSCS) and the highest Load Instantaneous Power (LIPmax) for meeting the demand of remote communities. Additionally, the same system was analyzed using the Jaya algorithm and compared with the Genetic Algorithm, Backtracking Search Algorithm, and PSO. The simulation results, as shown in Ref. [14], revealed that the PV-FC system was the most cost-effective method, outperforming the PV-WT-FC and WT-FC combinations when the maximum loss of power supply probability (LPSP) was set at 0% and 2%. Recent studies have also led to the development of novel hybrid algorithms, such as the smell agent optimizer (SAO) combined with symbiosis organism search (SOS), as described in Ref. [15], for optimal control of microgrid operations. The findings suggest that the SASOS algorithm is a promising solution for engineering optimization and improving the control systems of autonomous microgrids. The study in Ref. [16] analyzes hybrid renewable energy systems (HRESs) with solar PV panels, diesel, and batteries for reliable off-grid power. It highlights their techno-economic advantages over single sources, especially in areas with solar potential and grid issues. The integration of solar and diesel proves consistently effective across different regions, offering key insights for energy policy. The study in Ref. [17] explores powering remote Mexican homes using autonomous hybrid renewable energy and photovoltaic systems, utilizing HOMER Pro 3.16.1 software for a year-long analysis. The optimal configuration identified a solar system with a converter and a diesel/battery backup as the most viable and reliable option, achieving over 80% renewable energy. Muhammad et al. in Ref. [18] present an off-grid hybrid renewable energy system for electrifying a remote area in Abuja, Nigeria. The optimization problem was addressed using the Optimal Foraging Algorithm (OFA), and the results were compared with those from the Genetic Algorithm (GA) and Particle Swarm Optimization (PSO). Additionally, in Ref. [19], the authors propose a Power Management and Control (PMC) system for energy optimization in sustainable environments. This system combines GA and PSO to balance energy consumption and the Occupant Comfort Index (OCI). The PMC system outperformed existing models by achieving an ideal OCI of 1 while using less energy. It was validated through simulations using actuators to control the indoor environment, demonstrating its effectiveness in reducing energy consumption while maintaining or enhancing comfort. Yan Cao et al. in Ref. [20] introduced a new model of the Elephant Herding Optimization (BEHO) Algorithm to solve multi-objective optimization problems. The algorithm was validated through various benchmark functions and algorithms for a proposed hybrid system based on PV, wind, fuel cell, and battery technologies. Recently, global attention has focused on optimizing energy management strategies for hybrid renewable energy systems, requiring careful coordination of design state, geophysical conditions, load demand, and parametric constraints. Effective implementation ensures project longevity and cost-efficiency and promotes sustainable development. Studies [19,21,22,23,24,25] highlight the technical and economic evaluation of excess electricity management beyond optimal storage capacity for off-grid renewable systems.
The main contributions of this paper are highlighted as follows:
  • The paper presents a modified version of the smell agent optimization (SAO) algorithm, which uses a time-dependent approach to adapt the control parameters dynamically as the algorithm progresses. This modification improves convergence and search efficiency, addressing the limitations of the original SAO algorithm.
  • The paper applies the modified and standard SAO algorithms to design a hybrid renewable energy system (HRES) for an isolated residential building in Annaba, Algeria. The system includes photovoltaic panels, wind turbines, fuel cells, batteries, and hydrogen storage, all integrated with a DC bus microgrid.
  • The paper compares the modified SAO against the standard SAO, and both SAO variants are validated against the honey badger algorithm (HBA).
  • Through simulations, the paper demonstrates that modified SAO (mSAO) significantly outperforms both the standard SAO and HBA in economic performance. It achieves a substantially lower loss of power supply and levelized cost of energy compared to the results obtained with the standard SAO and HBA.
The paper is organized as follows: First, the introduction is provided. Section 2 presents the mathematical descriptions of all components in the DC multisource system, along with the problem formulation, including the objective function and constraints. In Section 3, the optimization approaches are defined. Section 4 discusses the energy management system of the proposed framework, utilizing the SAO, mSAO, and HBA optimization techniques. The simulation results and corresponding discussion are covered in Section 5. Finally, conclusions and future research directions are suggested in Section 6.

2. Configuration of the System Under Study

This study focuses on a residential application using a multi-source hybrid renewable energy system (MHRES) connected to a DC bus to supply an AC dynamic load based on daily load data, with a maximum power of 4.9 kW. The primary goal is to enhance the system’s resilience by ensuring continuous power delivery to meet demand [26,27]. The system includes photovoltaic (PV) panels and a wind turbine to supply the load, along with a storage system consisting of batteries and a hydrogen storage tank. The parameters related to the components are presented in Table A1, Appendix A. The proposed system is shown in Figure 1, while the data used for modeling are shown in Figure 2.
As illustrated in Figure 2, Figure 2a displays the 24 h load profile of a residential building in Anaba, Algeria. This profile exhibits a fluctuating energy demand throughout the day, with periods of low consumption during the early morning hours (approximately 0–6 h), followed by increasing demand in the morning, a significant peak around midday (approximately 12–14 h reaching nearly 5 kW), and subsequent fluctuations with a generally decreasing trend toward the late evening.
Figure 2b presents the corresponding 24 h profiles for solar radiation and wind speed in Annaba. The blue line, plotted against the left y-axis, shows the solar radiation (in W/m2). It indicates a typical daytime solar irradiance pattern, starting at zero during the night, gradually increasing after sunrise, reaching a peak intensity around midday, and then decreasing back to zero as the sun sets. The orange line, plotted against the right y-axis, depicts the wind speed (in m/s). This profile shows more variability throughout the day, with periods of relatively low wind speeds and instances of higher wind speeds occurring at different times within the 24 h. These solar and wind profiles capture the availability of the required natural resources for the design of the hybrid system.

2.1. System Modeling

The model examined in this study is a hybrid system comprising a solar system, a fuel cell, and a wind turbine integrated with an electrolyzer and cell stacks (wind/solar/fuel cell) for prolonged energy utilization with stored energy for specific durations. During operation, excess electrical energy generated by the photovoltaic (PV) panels and wind turbine is utilized to charge the battery when the SOC of the battery is less than SOC min or to produce hydrogen via electrolysis. Subsequently, the produced hydrogen is stored in hydrogen reservoir tanks, which are then utilized to generate electricity by providing fuel cell stacks with hydrogen.
The mathematical models of all components included in the proposed hybrid system are briefly presented as follows:
A.
PV model
The electrical power generated from series-connected several PV cells is expressed as follows (1):
p P V ( t ) = I ( t ) × A × η P V
where I(t) is the solar radiation, A denotes the PV area, p P V is the power produced by each PV cell, and ηPV is the efficiency of the PV system and the converter system with N P V number of PV panels, the total produced power is as follows (2):
P P V ( t ) = N P V × p P V ( t )
B.
Wind turbine model
The power of the wind turbine at a specific wind speed v can be formulated as (3) [27,28]:
P W T ( t ) = 0 v ( t ) v c u t i n P r v ( t ) v c u t i n v r v c u t i n v c u t i n < v ( t ) < v r P r v r < v ( t ) < v c u t i n
where v is the wind speed, Pr is the rated power of the WT, and vcut-in, vcut-out, and vr are the cut-in, cut-out, and rated speed of the WT, respectively. If the number of WTs is N W T , the overall produced power is as follows (4):
P W T ( t ) = N W T × p W T ( t )
where P W T ( t ) is the total power produced by the wind turbines.
C.
Energy Storage
To maintain a continuous balance between energy sources and load, the Energy Storage System (ESS) can provide a regulating reserve. In our work, battery banks with fully integrated electrolyzers, fuel cells, and hydrogen tank systems are complemented to meet the required load.
The power balance P B ( t ) is calculated as the difference between the total power generated ( P r e n ( t ) ) by both the PV P P V ( t ) and wind P W T ( t ) and the power load P L o a d ( t ) . This value indicates whether there is a surplus or deficit of energy relative to the demand (5).
P B ( t ) = P r e n ( t ) P L o a d ( t ) P r e n ( t ) = P P V ( t ) + P W T ( t )
C.1 Battery storage
This potentially leads to a positive P B ( t ) (excess energy) and the P B ( t ) could be negative, indicating an energy deficit. The charging and discharging schedule of the battery is expressed in Equations (6)–(9) in References [5,29].
  • Charging mode, when there is excess energy, i.e., P r e n ( t ) > P L o a d ( t )
P c h ( t ) = min P B ( t ) , 1 η c h b × E b a t max E b a t ( t 1 )
The energy stored in the batteries can be calculated as the expression (7):
E c h ( t ) = E b a t ( t 1 ) × 1 σ + P c h ( t ) × η c h b
where P B ( t ) is the battery power, E b a t max is the maximum energy capacity of the battery, E b a t is the present energy of the battery, σ is the dept of discharge, and η c h b is the charging efficiency of the battery.
  • Discharging mode, when there is an energy deficit, i.e., P r e n ( t ) < P L o a d ( t )
P d i s ( t ) = min | P B ( t ) | , η d i s b × ( E b a t ( t 1 ) E b a t min
The energy stored in the battery can be calculated using Equation (9):
E d i s ( t ) = E b a t ( t 1 ) × 1 σ 1 η d i s b × P d i s ( t )
The SoCb can be expressed in a discrete form in (10) [26]:
S o C b ( K + 1 ) = S o C b ( K ) P b K n b E b , u Δ t
where SoCb is the state charge of the battery and Pb is the battery power in (W), Ebat is the nominal energy capacity in (Wh) of each elemental battery unit, Nb is the number of batteries, E d i s is the discharging energy of the battery and η d i s b discharge efficiency.
C.2 Water Electrolyzer
When there is excess energy, hydrogen is produced. The power output delivered from the electrolyzer to the tank of the hydrogen is illustrated as follows (11) [29]
P e l ( t ) = η e l × P r e n e l ( t )
where Pel is the electrolyzer output power (kW), Pren_el is the electrolyzer input power (kW), and ηel is the efficiency of the electrolyzer assigned a constant value.
The amount of renewable energy available P r e n e l ( t ) is determined by the amount of excess energy and the amount of energy used to charge the batteries (12).
P r e n e l ( t ) = P B ( t ) P c h ( t )
Taking into account the rated power of the electrolyzer PEln and the charge level of the hydrogen tank, the following equation determines the actual amount of hydrogen produced P H 2 P ( t ) in Equation (13) [25,27]:
P H 2 P ( t ) = min E tan k m a x E tan k ( t 1 ) , min ( P r e n e l ( t ) , P E L n ) × η e l
where, E tan k m a x is the maximum energy capacity of the tank, P r e n e l is the replacement cost of the electrolyzer, η e l is the efficiency of the electrolyzer, P E L n is the power produced by the electrolyzer and P H 2 P is the hydrogen power.
C.3 Modeling H2 Tank
The electrical energy stored inside the tank E tan k ( t ) can be expressed as follows (14):
E tan k ( t ) = E tan k ( t 1 ) + P e l ( t ) P H 2 F C ( t ) η s t o r a g e
The amount of hydrogen stored in kilograms can be obtained from Equation (15) in [30]:
M t a n k ( t ) = E tan k ( t ) H H V H 2
where H H V H 2 is the hydrogen gas’s higher heating value, which is usually taken as 39.7 kWh / m 2 .
C.4 Fuel Cell model
Proton Exchange Membrane Fuel Cells (PEMFCs) are one of the most widely utilized fuel cell technologies. This type of fuel cell generates only electricity, water, and heat.
The energy output of fuel cells is directly related to the hydrogen consumed from the hydrogen tank and the efficiency of the fuel cell, as expressed in Equation (16) as, in Ref. [30].
P F C ( t ) = η F C × P H 2 F C ( t )
In addition, the produced thermal power of the FC P T H F C is achieved using Equations (17) and (18):
P T H F C = r T H F C × P F C
r T H F C = 0.6801 i f P L R 0.05 1.0785 × P L R 4 1.9739 × P L R 3 + 1.5005 × P L R 2   i f P L R < 0.05   0.2817 × P L R + 0.6838 i f o t h e r w i s e
D.
Inverter model
The inverter model is expressed in terms of the output power delivered to the load as follows in (19):
P i n v n P P V t + P d i s t + P F C t P i n v n = K × max P P V t + P d i s t + P F C ( t )

2.2. Problem Formulation

The meta-heuristic algorithms, standard SAO, and modified mSAO algorithms are applied to generate the optimal design and sizing of the proposed systems. The objective function describing the entire system and all of the relevant constraints are presented in this section.

2.2.1. Objective Function

The optimal design of the hybrid systems is proposed to minimize the levelized cost of energy (LCOE), the loss of power supply probability (LPSP), and excess energy (EE). The corresponding mathematical expression is given by Equations (20)–(22) in Ref. [24]:
min F = min ( λ L C O E + λ L P S P + λ E E )
The objective functions can be expressed in Equations (21)–(29)
L C O E = T A C E t o t a l
T A C = i = 1 N A M C + i = 1 N A C C + i = 1 N R E P C
where in Total Annual Cost (TAC), E t o t a l represents the total energy produced, N stands for the overall number of hours considered, ACC stands for the annualized capital cost, AMC stands for the annual maintenance, and REPC stands for the replacement cost. The AMC is calculated using Equation (23):
A M C = N P V × C m P V + N W T × C m W T + N E L × C m E L + C m F C + C m B a t
The ACC, on the other hand, is calculated using Equation (24):
A C C = C R F × N P V C P V + N W T C W T + C F C E L + N B a t C B a t + N Tan k C Tan k + N i n v C i n v
where N P V , N W T , N B a t , N Tan k , N i n v represent the number of PV panels, wind turbines, batteries, hydrogen tanks, and converters, respectively, while C P V , C W T , C F C E L ,   C B a t , C Tan k , C i n v denote the unit costs of the PV panels, wind turbines, fuel cells, electrolyzers, batteries, and converters, respectively. CRF is the Capital Recovery Factor is modeled as follows (25):
C R F = i ( 1 + i ) n ( 1 + i ) n 1
where i (5%) is the annual interest rate and n denotes the system’s lifetime (20 years).
The replacement cost (REPC) is calculated using Equations (26)–(27):
R E P C = C r e p × i ( 1 + i ) n r 1
R E P C = C R E P F C × i ( 1 + i ) 15 1 + C R E P E l z × i ( 1 + i ) 15 1 + C R E P B a t × i ( 1 + i ) 10 1 + C R E P C o n / i n v × i ( 1 + i ) 10 1
where nr is the lifetime of the replaced component.
The loss of power supply probability (LPSP) is a criterion used for evaluating the reliability of the proposed energy system. The equation below is used to calculate the value of the LPSP (28).
L P S P = 0 T P L o a d P W T t η i n v × P P V t + P F C t + P d i s t 0 T P L o a d
The following mathematical equation can be used to express the excess energy:
E E = 0 T P L o a d P P V P W T P c h ( t ) + P e l ( t ) P P V + P W T
where C R E P F C is the replacement cost of the fuel cell, C R E P E l z is the replacement cost of the electrolyzer, C R E P B a t is the replacement battery, and C R E P C o n v / I n v is the replacement of converter.

2.2.2. Different Constraints

The tri-objective function must be optimized considering system components minimum and maximum number N Lower ≤ Ni ≤ N Upper as decision variable constraints related to the optimal design and sizing of the HRES that should be satisfied:
N p v L N p v N p v U N w t L N p v N w t U N B a t L N B a t N B a t U N E L L N E L N E L U N F C L N F C N F C U N Tan k L N Tan k N Tan k U S o c ( t min ) S o c ( t ) S o c ( t max ) E tan k min E tan k E tan k max
where N p v L and N p v U are the lower and upper bounds for the number of PV panels, N w t L and N w t U are the lower and upper bounds for the number of wind turbines, N b a t L and N b a t U are the lower and upper bounds for the number of batteries, N E L L and N E L U are the lower and upper bounds for the number of electrolyzers, N F C L and N F C U are the lower and upper bounds for the number of fuel cells, and N Tan k L and N Tan k U are the lower and upper bounds for the number of hydrogen tanks.

3. Optimization Approaches for Microgrid Energy Management

The majority of new meta-heuristic algorithms focus on the foraging behaviors of the agents through a constant parameterization. The SAO is one such algorithm whose performance is significantly influenced by the choice of its control parameters, like the olfaction capacity and step size. In our study, we proposed a dynamic method for selecting these parameters and eventually proposed a modified SAO, called the mSAO. Both the mSAO and the original SAO were used to obtain optimal results for sizing the hybrid renewable energy system based on established reliability, technico-economical, and stability criteria.

3.1. Smell Agent Optimizer

Smell agent optimization (SAO) is a cutting-edge meta-heuristic algorithm inspired by the intelligent behaviors of agents trailing the source of a smell molecule. This modern optimization technique mimics the natural process of smell detection and tracking, whereby agents navigate through a complex search space to identify the optimal solution. The SAO combines swarm intelligence, machine learning, and dynamic optimization principles to efficiently explore and exploit the search space, ensuring a robust and adaptive search process. The parameters related to the SAO algorithm are given in Table A2 of Appendix A. Detailed theoretical information on the SAO algorithm can be found in References [15,28].
The SAO algorithm is defined by a set of equations in three main phases, which model the behavior of agents as they search for optimal solutions. The SAO begins by initializing a population of smell molecules, represented as candidate solutions:
n ( t ) = n 1 , 1 n 1 , d n 2 , 1 n 2 , d n N , 1 n N , d
where n ( t ) denotes the matrix of current solutions, and d is the number of control variables in the problem domain.
Each molecule’s position is based on upper and lower bounds:
n i , j ( t ) = r 1 × ( u b j l b j ) + l b j
where r 1 is a random number between 0 and 1, and ub and lb are the upper and lower bounds of the variable.
  • Sniffing Mode: Initial exploration of the search space.
Through Brownian motion with each molecule having a velocity given by
w ( t ) = w 1 , 1 w 1 , d w 2 , 1 w 2 , d w N , 1 w N , d
The molecules update their positions using:
n ( t + 1 ) = n ( t ) + w ( t + 1 )
where is updated by
w ( t + 1 ) = w ( t ) + r 2 × k T m
where w is the velocity of the molecules, k is Boltzmann’s constant (smell constant), T is the temperature of molecules, m is the mass of molecules, and r2 is a random value.
2.
Trailing Mode: Agents follow the best solution found.
Agents adjust their positions to move toward promising solutions. The new position is computed using
n ( t + 1 ) = n ( t ) + r D × o l f × ( n b e s t ( t ) n ( t ) ) r J × o l f × ( n w o r s t ( t ) n ( t ) )
where r D , r J , are random numbers between [0, 1], olf is the olfaction capacity, n b e s t ( t ) is the best solution found, and n w o r s t ( t ) is the worst solution.
3.
Random Mode: Random exploration to avoid local optimum.
If the algorithm fails to improve fitness using sniffing or trailing modes, the random mode is activated:
n ( t + 1 ) = n ( t ) + r K × s t e p
where step is an arbitrary constant step size and r K is a random number between [0, 1].

3.2. Modified Smell Agent Optimizer (mSAO)

The unique features of the SAO, such as dynamic sniffing, trailing, random phases, and agent communication, enable the algorithm to balance exploration and exploitation effectively, leading to improved convergence and solution quality. Despite these positive features of the algorithm, the performance of each phase of the algorithm is highly dependent on the proper choice of its control parameters. For example, in the sniffing phase of the algorithm, the evaporation of smell molecules is penalized by the temperature (T), mass (M), and Boltzmann’s constant (K). In the trailing phase, the ability of the agent to trail the smell molecule is penalized by the constant olfaction capacity of the agent (olf), whereas the random phase is penalized by a constant step size (S). Poor choices of these parameters may result in inadequate exploration and exploitation of the search space, leading to insufficient diversity in solutions and reduced chances of finding global optima. This could also result in scalability problems, as the algorithm may not scale well with increasing problem dimensions or agent populations, leading to decreased performance and efficiency. To address these challenges, this paper introduces a mathematical procedure to adapt the selection of the control parameters as the algorithm progresses through the hyperspace. For example, the olfaction capacity and the step movement of the agent are mathematically determined using Equations (31) and (32), respectively.
t = 1 T max f ( t ) = ( f L f H ) × ( ( T max t ) / t ) + f H
t = 1 T max s ( t ) = ( s L s H ) × ( ( T max t ) / t ) + s H
where f L and f H are the lowest and highest possible values of olfaction capacity, s L and s H are the lowest and highest possible steps an agent can take during a random search, T max and t are the maximum and current iterations, respectively.
The SAO modification in Equations (31) and (32) is implemented to linearly decrease with time. This means that, for the initial stages of the search process, large values are selected to enhance global exploration, and searching new areas is recommended, while, for the later stages, the parameter values are reduced for local exploration, fine-tuning the current search area effectively. The flowchart for the implementation of the modified SAO is shown in Figure 3.

4. Multisource Model Energy Management Strategy

In our study, the proposed energy management used for the integrated multisource-based PV and WT generators and using batteries, with green hydrogen for energy storage, was investigated. The primary objective is to ensure power balance and to minimize the operating costs of the system. Additionally, extending the life cycle is essential for system components, especially the fuel cell stack, by reducing the FC power dynamics and conserving hydrogen use. However, the battery is fully charged to manage excess energy when the hydrogen storage tank is filled, and the load demand is minimal. This approach ensures a consistent and reliable energy supply to meet demand. The proposed EMS optimization mechanisms are illustrated in Figure 4, following the definition of the system’s constraints and objective function.

5. Results and Discussion

This section presents the study of the simulation results of the proposed systems carried out on hourly weather and load demand data.

Optimization Technique Analysis

The results in Table 1 outline the sizing of renewable energy components obtained using the modified smell agent optimization (mSAO) algorithm compared to the original smell agent optimizer (SAO) and honey badger algorithm (HBA). The HBA is a meta-heuristic algorithm developed to mimic the intelligent foraging behavior of honey badgers [31]. The performance of the developed techniques was evaluated under three test scenarios. In the first scenario, all of the system components, including the two storage types (battery and hydrogen tank), are interconnected in the EMS. In the second scenario, the hydrogen is disconnected, leaving only the battery system as the energy storage device, while in the third scenario, the battery system is disconnected, leaving only the hydrogen tank as the storage system. The best, average, and standard deviation were calculated based on the results of the 50 executions. The modeling and simulation of the optimization problem were accomplished using the MATLAB R2023b program. All simulations were carried out on an HP computer system, with Windows 11 OS, 16 GB of RAM, and Intel CORE i7, 10th Gen.
The results for the optimal sizing with the EMS are summarized in Table 1.
It can be seen from Table 1 that the analysis reveals that the mSAO algorithm consistently outperforms SAO and the HBA across all configurations, as evidenced by the reduced number of components required and the associated decrease in the average total annual cost. The installed PV power is reduced with the mSAO in all configurations; this is mainly caused by the optimal distribution of power and the prediction capacity of the mSAO algorithm. However, wind turbines serve the same dimension in all configurations, except in the first scenario in which mSAO attained a lower sizing. The energy capacity of batteries is also reached with mSAO in scenario 1 but fixed in scenario 2.
Figure 5 illustrates the convergence of the three algorithms throughout 100 iterations, wherein the most optimal outcome is observed in the second configuration utilizing the battery, contrasting with the other two configurations. Moreover, the efficiency of the mSAO algorithm in attaining optimal solutions by iteration number 29 correlates with a total annual cost of 614,288.8 (USD), as demonstrated by its consistently superior performance over a total of 50 runs, as shown in Figure 6 and Figure 7.
The results of different scenarios show the response of the proposed method to variations in input parameters. From the results shown in Table 2, it can be observed that the mSAO reached the optimal objective function value in all cases, much better than the standard SAO and the HBA. The insignificant difference between the best and average values proved the convergence of the 50 implemented runs, demonstrating the stability and accuracy of the mSAO technique.
The analysis of the result shows the superior performance of the mSAO algorithm compared to the SAO algorithm across the key performance indicators. For the PV/WT/Battery/Hydrogen configuration, the average LCOE achieved by mSAO was slightly higher than that achieved by SAO but twice as low as that obtained with the HBA. The average LPSP with mSAO was significantly lower at 0.0144, compared to 0.020 for SAO and 0.027 for the HBA. This represents a substantial reduction of roughly 38.89% and 87.50% with respect to SAO and the HBA, respectively. The SAO, however, attained a better LPSP value of 35.58% over the HBA. The average excess energy was slightly higher for mSAO at 17.164 GWh compared to 16.418 kWh for SAO, an increase of about 4.6%, but lower in comparison with the HBA. For the PV/WT/Battery configuration, the average LCOE for mSAO was about 2.22% higher than that of SAO and 5.52% lower than the HBA. The average LPSP for mSAO was significantly lower, with 136.59% and 146.33% improvement over SAO and the HBA, respectively. The average excess energy for mSAO was marginal with mSAO −1.3% when compared with SAO, but lower by 11.53% when compared with the HBA. For the PV/WT/Hydrogen configuration, the average LCOE for mSAO was lower by 23.43% and 27.03% than that obtained with SAO and the HBA, respectively. Similarly, the average LPSP obtained with mSAO was 63.95% and 87.65% better than that obtained with SAO and the HBA, respectively. The average excess energy was slightly higher for mSAO at 17.322 kWh compared to 17.069 kWh for SAO and 19.619 kWh for the HBA, respectively. This constitutes an increase of 1.5% with respect to SAO and a decrease of 13.26% with respect to the HBA. These comparative studies across all configurations consistently highlight the significant improvements offered by the mSAO algorithm, more importantly, in the LCOE and the LPSP.
Figure 8 illustrates the performance comparison of the two optimization algorithms, SAO and mSAO, across 50 runs for the three renewable energy system configurations: PV/WT/Hydrogen/Battery, PV/WT/Hydrogen, and PV/WT/Battery.
The mSAO exhibits improved stability and reduced fluctuations in total annual cost across all system configurations, with particular advantages in the complex PV/WT/Hydrogen/Battery setup. This improvement can be attributed to mSAO design, which incrementally narrows the range of search parameters in later iterations. By focusing more precisely on promising regions in the solution space, mSAO minimizes the occurrence of cost spikes, especially under more intricate conditions involving multiple energy storage options like hydrogen. In simpler configurations (PV/WT/Battery), while all algorithms show comparable performance, mSAO still consistently achieves marginally lower costs when compared with SAO and the HBA. This suggests a distinct robustness that favors complex system optimization in which cost minimization and reliability are paramount.
Figure 9 compares the performance of the three renewable energy system configurations using three key metrics: loss of power supply probability (LPSP), levelized cost of energy (LCOE), and excess energy. In terms of reliability, the PV/WT/Hydrogen system shows the lowest LPSP, indicating that it is the most dependable configuration with the least chance of power supply failure. The PV/WT/Battery/Hydrogen system has a higher LPSP, but it achieves the lowest LCOE, making it the most cost-effective option over its lifetime. Meanwhile, both the PV/WT/Battery and PV/WT/Hydrogen systems show a higher LCOE, which suggests that they are less cost-efficient. When assessing energy efficiency, the PV/WT/Battery/Hydrogen system also excels by producing the least excess energy, indicating better energy utilization compared to the other two configurations. The PV/WT/Battery configuration, although simpler, produces the most excess energy, which suggests that it is less efficient and incurs higher energy wastage. Overall, the PV/WT/Battery/Hydrogen system offers the best balance between cost-effectiveness and energy utilization, though the PV/WT/Hydrogen system stands out for its superior reliability.
Figure 10, which shows the results across the three scenarios—PV/WT/Hydrogen/Battery, PV/WT/Battery, and PV/WT/Hydrogen—highlights the cost distribution among key components: wind turbines (wtCost), photovoltaic panels (pvCost), batteries (batCost), and hydrogen tanks (tankCost). The optimization results show that the PV/WT/Hydrogen/Battery system generally incurs the highest total annual cost due to the inclusion of both battery and hydrogen storage, with substantial contributions from batCost and tankCost. However, this system offers the best balance for reliability due to its diversified energy storage options, making it a strong contender for projects prioritizing energy security despite higher costs. The PV/WT/Battery system has lower overall costs, particularly due to reduced tankCost, but it may be less reliable in scenarios requiring large-scale energy storage, as it relies solely on batteries.
In the first scenario (Figure 10a), mSAO exhibits an efficient approach to cost distribution by achieving a lower battery cost (18.2%) compared to both SAO (28.8%) and the HBA (23.9%). This significant reduction in batCost by mSAO, even with strategic reallocations leading to higher hydrogen tank (42.6%), photovoltaic (19.0%), and wind turbine (27.3%) costs, underscores its ability to identify highly specialized and potentially more cost-effective combinations for energy storage. This indicates mSAO’s strong exploitation phase, allowing it to pinpoint a uniquely optimal sizing for batteries that contributes to overall system efficiency. While the HBA presents a more balanced distribution, mSAO’s capacity for such a substantial reduction in a major cost component highlights its superior ability to find innovative and highly optimized solutions, even if it means a different distribution across other components.
In the second configuration, in which battery storage is the sole energy storage mechanism (Figure 10b), mSAO demonstrates its robust approach to ensuring system reliability and performance. While mSAO exhibits the highest battery cost (44.7%) among the three algorithms, this is considered a strategic allocation to ensure the necessary investment in the sole storage component for robust system operation. In a scenario constrained to a single storage technology, mSAO’s optimization prioritizes the critical sizing required for system stability and performance, even if it results in a higher percentage share for the battery. Furthermore, mSAO achieves a lower wind turbine cost (35.4%) compared to SAO (49.0%) and the HBA (47.6%), showcasing its efficiency in optimizing other generation components. This indicates mSAO’s capacity to make decisive performance-driven allocations, ensuring the microgrid’s operational integrity. In this configuration, in which hydrogen storage is the primary storage mechanism (Figure 10c), mSAO consistently demonstrates its superior optimization capabilities. It achieves slightly lower tankCost (51.0%) and wtCost (32.7%) than SAO (52.1% and 34.1%, respectively). Crucially, mSAO yields the lowest photovoltaic cost (13.8%) in this scenario, outperforming both SAO (15.2%) and the HBA (12.6%). This consistent minimization of pvCost by mSAO, alongside its efficient management of tankCost and wtCost, highlights its comprehensive optimization capabilities.

6. Conclusions

In this paper, we have successfully demonstrated the efficacy of the modified smell agent optimization (mSAO) algorithm in optimizing the design and operation of a hybrid renewable energy system (HRES) for an isolated residential building. By introducing a time-dependent adaptation of control parameters, the mSAO significantly improved upon the limitations of the standard SAO algorithm, leading to enhanced convergence and search capabilities. Through simulations and comparative analysis, the mSAO consistently outperformed the standard SAO and HBA in terms of both economic and reliability metrics. The proposed HRES, optimized using mSAO, achieved a lower total annual cost (TAC) and levelized cost of energy (LCOE) compared to the standard SAO and the benchmarked HBA. Furthermore, the system configuration comprising photovoltaic (PV) panels, a wind turbine, and a battery storage system was identified as the most effective solution, capable of delivering optimal energy performance across various operational scenarios. The findings of this research highlight the potential of advanced optimization techniques like mSAO in enhancing the economic viability and operational efficiency of renewable energy systems. Though the mSAO outperformed the traditional SAO, the former, however, involves slightly longer computational time in the optimization process. Future work could focus on real-time control strategies and demand-side management techniques that enable more responsive and adaptive power distribution. This could include the application of machine learning algorithms to predict load demand and optimize energy storage management. Also, field validation of the proposed mSAO technique in real-world HRES installations would be invaluable in demonstrating its practical viability and scalability for larger, more complex systems.

Author Contributions

M.D.: Conceptualization, methodology, writing—original draft preparation, writing—editing, and formal analysis. A.T.S.: Conceptualization, supervision, resources, writing—review and editing, and formal analysis. M.H.: Review and supervision. M.B.: Review. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available from the corresponding author upon request.

Acknowledgments

The authors sincerely acknowledge the editor and reviewers for their useful contributions.

Conflicts of Interest

The authors declare no conflicts of interest.

Nomenclature and Abbreviation List

N p v L Lower limit of solar panels number σ Battery self-discharge rate
N p v U Upper limit of solar panels number η P v Efficiency of the solar panel
N W T Number of wind turbines η c h b Battery charging system efficiency
N w t L Lower limit number of the WT η d i s b Battery discharging efficiency
N w t U Upper limit number of the WT η E l Electrolyzer efficiency
P B Power balance η F C Fuel cell efficiency
P c h Energy consumed to charge the batteriesSOCState of charge of the battery
P d i s Energy supplied by the batteries to the loadSOC minState of charge minimal of battery
P F C Fuel cells’ power output power N B a t U Upper limit of battery capacity
P F C n Fuel cells’ rating power E Tan k Energy available at (t) in the tank
P H 2 Amount of hydrogen generated E Tan k t 1 Energy available in the tank at (t − 1)
P H 2 P Amount of hydrogen generated and stored E Tan k min Hydrogen minimum permissible energy
P H 2 F C Energy consumed by fuel cells to generate power E Tan k max Nominal capacity hydrogen tank
P i n v Inverter rating power N Tan k L Lower limit number of hydrogen tanks
E b a t Energy available at (t) in the batteries N Tan k U Upper limit number of hydrogen tanks
E b a t t 1 Energy available in the batteries at (t-1) N F C L Lower limit number of fuel cells
E b a t n Nominal capacity of the batteries N F C U Upper limit number of fuel cells
N E L L Lower limit number of electrolyzers
N E L U Upper limit number of electrolyzers
E b a t min Batteries’ minimum permissible energy
E b a t max Maximal capacity of the batteries
N B a t L Lower limit of battery capacity

Appendix A

Table A1. HRES component specifications and economic parameters.
Table A1. HRES component specifications and economic parameters.
Component SystemsParametersSpecifications
PVNominal PV power Pr-PV120 W
PV cost CPvUSD 216
Surface area A1.07 m2
PV efficiency ηPV12%
PV lifetime20 years
Wind TurbineNominal WT power Pr-Wt1 kW
Vcut-in3 m/s
Vcut-out20 m/s
Vr9 m/s
CWindUSD 1804
Maintenance cost CMntWindUSD 100
WT lifetime20 years
FCNominal FC power3 kW
FC efficiency (ηFC)50%
FC lifetime5 years
FC cost (CFC)USD 20,000
Replacement cost (CMnt-FC)USD 1400
BatteryEnergy capacity (Eb,u)1000 Wh
Maximum discharge power (b,max)1000 W
Maximum charge power (Pb,min)1000
Maximum SoCb0.9
Minimum SoCb0.24
Capital cost (CCb)USD 2000
Equivalent full cycles (Ncycles,b)471
Maintenance cost (Com,)5% CCb USD/year
ElectrolyzerNominal electrolyzer power3 kW
Electrolyzer efficiency (hEle)74%
Electrolyzer lifetime5 years
Electrolyzer cost (CEle)USD 20,000
Replacement cost (CMnt-Ele)USD 1400
H2TankReservoir tanks cost (CHT)USD 2000
Nominal capacity of THE hydrogen tank0.3 kW
ConverterPower converter3 kW
Inverter efficiency (η conv/inv)95%
Converter/inverter lifetime10 years
Converter/inverter costUSD 1583
Other parametersInterest rate of project i5%
Lifespan of the project n20 years
Table A2. SAO meta-heuristic algorithm-related parameters.
Table A2. SAO meta-heuristic algorithm-related parameters.
ParameterSymbolValue
Number of smell moleculesN50
Number of the decision variablesD4
TemperatureT3
MassM2.4
Boltzmann’s constantK1.38 × 10−23
Maximum iterationitr100

References

  1. De Vito, S.; Del Giudice, A.; Di Francia, G. Electric transmission and distribution network air pollution. Sensors 2024, 24, 587. [Google Scholar] [CrossRef] [PubMed]
  2. Sharaf, M.A.; Armghan, H.; Ali, N.; Yousef, A.; Abdalla, Y.S.; Boudabbous, A.R.; Mehdi, H.; Armghan, A. Hybrid control of the DC microgrid using deep neural networks and global terminal sliding mode control with the exponential reaching law. Sensors 2023, 23, 9342. [Google Scholar] [CrossRef]
  3. Thirunavukkarasu, G.S.; Seyedmahmoudian, M.; Jamei, E.; Horan, B.; Mekhilef, S.; Stojcevski, A. Role of optimization techniques in microgrid energy management systems—A review. Energy Strategy Rev. 2022, 43, 100899. [Google Scholar] [CrossRef]
  4. Lo, W.-L.; Chung, H.S.-H.; Hsung, R.T.-C.; Fu, H.; Shen, T.-W. PV panel model parameter estimation by using particle swarm optimization and artificial neural network. Sensors 2024, 24, 3006. [Google Scholar] [CrossRef] [PubMed]
  5. Biliyok, A.S.; Tijani, S.A. Improved smell agent optimization sizing technique algorithm for a grid-independent hybrid renewable energy system. In Renewable Energy-Recent Advances; IntechOpen: London, UK, 2022. [Google Scholar]
  6. Shaier, A.A.; Elymany, M.M.; Enany, M.A.; Elsonbaty, N.A. Multi-objective optimization and algorithmic evaluation for EMS in a HRES integrating PV, wind, and backup storage. Sci. Rep. 2025, 15, 1147. [Google Scholar] [CrossRef]
  7. Talebi, H.; Nikoukar, J.; Gandomkar, M. Optimal Sizing and Techno-economic Analysis of Combined Solar Wind Power System, Fuel Cell and Tidal Turbines Using Meta-heuristic Algorithms: A Case Study of Lavan Island. Int. J. Comput. Intell. Syst. 2025, 18, 15. [Google Scholar] [CrossRef]
  8. Mas’ud, A.A.; Salawudeen, A.T.; Umar, A.A.; Aziz, A.S.; Shaaban, Y.A.; Muhammad-Sukki, F.; Musa, U.A. Quasi oppositional smell agent optimization and its levy flight variant: A PV/Wind/battery system optimization application. Appl. Soft Comput. 2023, 147, 110813. [Google Scholar] [CrossRef]
  9. Bhadoria, A.; Marwaha, S. Optimal Generation Scheduling Considering Amalgamating Solar PV and Electric vehicle Power Generation Using Hybrid SMA-SOA Optimizer. In Proceedings of the 2022 IEEE Delhi Section Conference (DELCON), New Delhi, India, 11–13 February 2022; pp. 1–6. [Google Scholar] [CrossRef]
  10. Salawudeen, A.T.; Moritz, M.; Jahn, I.; Johnson, O.; Monti, A. Enhanced Chameleon Swarm Algorithms for Nested Identical Control of Load Frequency in Autonomous Microgrid. IEEE Access 2024, 12, 42544–42571. [Google Scholar] [CrossRef]
  11. Drici, M.; Houabes, M.; Salawudeen, A.T.; Bahri, M. Optimum design of an off-grid PV/WT/FC/battery based microgrid for sustainable and cost-effective energy optimization. Stud. Eng. Exact Sci. 2024, 5, e5438. [Google Scholar] [CrossRef]
  12. Wang, S.; Hussien, A.G.; Kumar, S.; AlShourbaji, I.; Hashim, F.A. A modified smell agent optimization for global optimization and industrial engineering design problems. J. Comput. Des. Eng. 2023, 10, 2147–2176. [Google Scholar] [CrossRef]
  13. Jahannoosh, M.; Nowdeh, S.A.; Naderipour, A.; Kamyab, H.; Davoudkhani, I.F.; Klemeš, J.J. New hybrid meta-heuristic algorithm for reliable and cost-effective designing of photovoltaic/wind/fuel cell energy system considering load interruption probability. J. Clean. Prod. 2021, 278, 123406. [Google Scholar] [CrossRef]
  14. Khan, A.; Javaid, N. Optimal sizing of a stand-alone photovoltaic, wind turbine and fuel cell systems. Comput. Electr. Eng. 2020, 85, 106682. [Google Scholar] [CrossRef]
  15. Mohammed, S.; Sha’aban, Y.A.; Umoh, I.J.; Salawudeen, A.T.; Shamsah, S.M.I. A hybrid smell agent symbiosis organism search algorithm for optimal control of microgrid operations. PLoS ONE 2023, 18, e0286695. [Google Scholar] [CrossRef]
  16. Thango, B.A.; Obokoh, L. Techno-Economic Analysis of Hybrid Renewable Energy Systems for Power Interruptions: A Systematic Review. Eng 2024, 5, 2108–2156. [Google Scholar] [CrossRef]
  17. Gómez, J.C.L.; Alquicira, J.A.; De León Aldaco, S.E.; Vargas, O.S.; Díaz, K.Y.G. Empowering Remote Living: Optimizing Hybrid Renewable Energy Systems in Mexico. Eng 2024, 5, 1382–1398. [Google Scholar] [CrossRef]
  18. Muhammad, M.; Usman, J.; Mustapha, I.; Bakura, M.; Salawudeen, A. An independent framework for off-grid hybrid renewable energy design using Optimal Foraging Algorithm (OFA). Arid Zone J. Eng. Technol. Environ. 2022, 18, 197–208. [Google Scholar]
  19. Ali, S.; Hayat, K.; Hussain, I.; Khan, A.; Kim, D. Optimization of Distributed Energy Resources Operation in Green Buildings Environment. Sensors 2024, 24, 4742. [Google Scholar] [CrossRef]
  20. Cao, Y.; Yao, H.; Wang, Z.; Jermsittiparsert, K.; Yousefi, N. Optimal designing and synthesis of a hybrid PV/fuel cell/wind system using meta-heuristics. Energy Rep. 2020, 6, 1353–1362. [Google Scholar] [CrossRef]
  21. Xing, X.; Jia, L. Energy management in microgrid and multi-microgrid. IET Renew. Power Gener. 2024, 18, 3480–3508. [Google Scholar] [CrossRef]
  22. Chalal, L.; Saadane, A.; Rachid, A. Unified environment for real time control of hybrid energy system using digital twin and IoT approach. Sensors 2023, 23, 5646. [Google Scholar] [CrossRef]
  23. Alhumade, H.; Rezk, H.; Louzazni, M.; Moujdin, I.A.; Al-Shahrani, S. Advanced energy management strategy of photovoltaic/PEMFC/lithium-ion batteries/supercapacitors hybrid renewable power system using white shark optimizer. Sensors 2023, 23, 1534. [Google Scholar] [CrossRef] [PubMed]
  24. Megaptche, C.A.M.; Kim, H.; Musau, P.M.; Waita, S.; Aduda, B. Techno-economic comparative analysis of two hybrid renewable energy systems for powering a simulated house, including a hydrogen vehicle load at jeju island. Energies 2023, 16, 7836. [Google Scholar] [CrossRef]
  25. Abdelwahab, S.A.M.; El-Rifaie, A.M.; Hegazy, H.Y.; Tolba, M.A.; Mohamed, W.I.; Mohamed, M. Optimal control and optimization of grid-connected PV and wind turbine hybrid systems using electric eel foraging optimization algorithms. Sensors 2024, 24, 2354. [Google Scholar] [CrossRef]
  26. Rullo, P.; Braccia, L.; Luppi, P.; Zumoffen, D.; Feroldi, D. Integration of sizing and energy management based on economic predictive control for standalone hybrid renewable energy systems. Renew. Energy 2019, 140, 436–451. [Google Scholar] [CrossRef]
  27. Maleki, A. Modeling and optimum design of an off-grid PV/WT/FC/diesel hybrid system considering different fuel prices. Int. J. Low-Carbon Technol. 2018, 13, 140–147. [Google Scholar] [CrossRef]
  28. Salawudeen, A.T.; Mu’azu, M.B.; Yusuf, A.; Adedokun, A.E. A Novel Smell Agent Optimization (SAO): An extensive CEC study and engineering application. Knowl.-Based Syst. 2021, 232, 107486. [Google Scholar] [CrossRef]
  29. Amoussou, I. The optimal design of a hybrid solar PV/wind/hydrogen/lithium battery for the replacement of a heavy fuel oil thermal power plant. Sustainability 2023, 15, 11510. [Google Scholar] [CrossRef]
  30. Douak, M.; Settou, N. Techno-economical optimization of pv/wind/fuel cell hybrid system in adrar region (algeria). Int. J. Sustain. Dev. Plan. 2021, 16, 175–180. [Google Scholar] [CrossRef]
  31. Hashim, F.A.; Houssein, E.H.; Hussain, K.; Mabrouk, M.S.; Al-Atabany, W. Honey Badger Algorithm: New metaheuristic algorithm for solving optimization problems. Math. Comput. Simul. 2022, 192, 84–110. [Google Scholar] [CrossRef]
Figure 1. Hybrid multisource components of the proposed system.
Figure 1. Hybrid multisource components of the proposed system.
Eng 06 00120 g001
Figure 2. Load profile and weather conditions.
Figure 2. Load profile and weather conditions.
Eng 06 00120 g002
Figure 3. Modified smell agent optimization flowchart.
Figure 3. Modified smell agent optimization flowchart.
Eng 06 00120 g003
Figure 4. Flowchart of the proposed hybrid energy management system.
Figure 4. Flowchart of the proposed hybrid energy management system.
Eng 06 00120 g004
Figure 5. Convergence (a) SAO on all configurations, (b) mSAO on all configurations, and (c) HBA on all configurations throughout 100 iterations.
Figure 5. Convergence (a) SAO on all configurations, (b) mSAO on all configurations, and (c) HBA on all configurations throughout 100 iterations.
Eng 06 00120 g005
Figure 6. The convergence of the objective function throughout 100 iterations for scenario 2.
Figure 6. The convergence of the objective function throughout 100 iterations for scenario 2.
Eng 06 00120 g006
Figure 7. All 50-run total annual cost convergence for the second scenario.
Figure 7. All 50-run total annual cost convergence for the second scenario.
Eng 06 00120 g007
Figure 8. End value of the objective function on the 50 individual runs using SAO, the HBA, and mSAO: (a) PV/WT/Hydrogen/Battery, (b) PV/WT/Battery, and (c) PV/WT/Hydrogen.
Figure 8. End value of the objective function on the 50 individual runs using SAO, the HBA, and mSAO: (a) PV/WT/Hydrogen/Battery, (b) PV/WT/Battery, and (c) PV/WT/Hydrogen.
Eng 06 00120 g008
Figure 9. Comparison curve for all configurations using the mSAO of the best (a) LPSP, (b) LCOE, and (c) excess energy.
Figure 9. Comparison curve for all configurations using the mSAO of the best (a) LPSP, (b) LCOE, and (c) excess energy.
Eng 06 00120 g009
Figure 10. Breakdown of the TAC obtained by SAO, the HBA, and mSAO for each HRES component.
Figure 10. Breakdown of the TAC obtained by SAO, the HBA, and mSAO for each HRES component.
Eng 06 00120 g010
Table 1. HRES components sizing results.
Table 1. HRES components sizing results.
Metrics Scenario 1 (All Components)Scenario 2 (No Hydrogen)Scenario 3 (No Battery)
SAOmSAOHBASAOmSAOHBASAOmSAOHBA
NPV85813562056
NWT323222222
NBat723222------
NTank322------222
NConv555444444
Total annual cost (USD)Best619,464.60619,464.60622,492.68613,685.57613,685.57614,275.39616,910.51616,910.51617,395.86
Avg622,376.43620,531.70622,734.79615,217.04614,288.80614,647.84618,031.01617,649.14617,743.82
Std3.568 × 10−31.914 × 10−36.51 × 10+021.558 × 10−31.111 × 10−34.083 × 10+021.446 × 10−31.212 × 10−34.46 × 10+02
Time (s) 2.884.262.792.962.851.922.972.852.38
Table 2. Results of the statistical study for the three proposed hybrid configurations using SAO and mSAO algorithms.
Table 2. Results of the statistical study for the three proposed hybrid configurations using SAO and mSAO algorithms.
ConfigurationIndexSAOmSAOHBA
PV/WT/Battery/HydrogenLCOEBest0.18460.48280.8740
Average0.67140.69860.8973
StD1.15 × 10−015.46 × 10−011.66 × 10−02
LPSPBest1.69 × 10−028.48 × 10−031.91 × 10−02
Average2.01 × 10−021.44 × 10−022.73 × 10−02
StD2.76 × 10−037.14 × 10−023.56 × 10−03
Excess
Energy
Best16.135815.34018.96401
Average16.417617.163926.4235
StD2.76 × 10+034.25 × 10−013.10 × 10+00
PV/WT/BatteryLCOEBest0.35100.35830.6669
Average0.68680.70210.7409
StD7.72 × 10−021.07 × 10−027.31 × 10−02
LPSPBest1.69 × 10−027.14 × 10−031.76 × 10−02
Average1.74 × 10−021.22 × 10−021.93 × 10−02
StD2.55 × 10−037.75 × 10−021.89 × 10−03
ExcessBest16.579417.140718.0397
Average17.078817.304219.2992
StD2.73 × 10−017.74 × 10−021.75 × 10+00
PV/WT/HydrogenLCOEBest0.39970.68660.7241
Average0.88570.71760.9115
StD7.13 × 10−029.87 × 10−034.78 × 10−02
LPSPBest1.68 × 10−025.68 × 10−031.81 × 10−02
Average17.37 × 10−021.05 × 10−021.97 × 10−02
StD2.56 × 10−037.14 × 10−022.43 × 10−03
Excess
Energy
Best14.12017.14118.729
Average17.06917.32219.619
StD6.33 × 10−015.68 × 10−021.99 × 10+00
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

Drici, M.; Houabes, M.; Salawudeen, A.T.; Bahri, M. Optimizing Hybrid Renewable Energy Systems for Isolated Applications: A Modified Smell Agent Approach. Eng 2025, 6, 120. https://doi.org/10.3390/eng6060120

AMA Style

Drici M, Houabes M, Salawudeen AT, Bahri M. Optimizing Hybrid Renewable Energy Systems for Isolated Applications: A Modified Smell Agent Approach. Eng. 2025; 6(6):120. https://doi.org/10.3390/eng6060120

Chicago/Turabian Style

Drici, Manal, Mourad Houabes, Ahmed Tijani Salawudeen, and Mebarek Bahri. 2025. "Optimizing Hybrid Renewable Energy Systems for Isolated Applications: A Modified Smell Agent Approach" Eng 6, no. 6: 120. https://doi.org/10.3390/eng6060120

APA Style

Drici, M., Houabes, M., Salawudeen, A. T., & Bahri, M. (2025). Optimizing Hybrid Renewable Energy Systems for Isolated Applications: A Modified Smell Agent Approach. Eng, 6(6), 120. https://doi.org/10.3390/eng6060120

Article Metrics

Back to TopTop