Optimal Modeling and Feasibility Analysis of Grid-Interfaced Solar PV/Wind/Pumped Hydro Energy Storage Based Hybrid System

: Access to inexpensive, clean energy is a key factor in a country’s ability to grow sustainably The production of electricity using fossil fuels contributes signiﬁcantly to global warming and is becoming less and less proﬁtable nowadays. This work therefore proposes to study the different possible scenarios for the replacement of light fuel oil (LFO) thermal power plants connected to the electrical network in northern Cameroon by renewable energy plants. Several scenarios such as the combination of solar photovoltaic (PV) with a pumped hydro storage system (PHSS), Wind and PHSS and PV-Wind-PHSS have been studied. The selected scenarios are evaluated based on two factors such as the system’s total cost (TC) and the loss of load probability (LOLP). To achieve the results, metaheuristics such the non-dominated sorting whale optimization algorithm (NSWOA) and non-dominated sorting genetic algorithm-II (NSGA-II) have been applied under MATLAB software. The optimal sizing of the components was done using hourly meteorological data and the hourly power generated by the thermal power plants connected to the electrical grid. Both algorithms provided satisfactory results. However, the total cost in the PV-PHSS, Wind-PHSS, and PV-Wind-PHSS scenarios with NSWOA is, respectively, 1%, 6%, and 0.2% lower than with NSGA-II. According to NSWOA results, the total cost for the PV-Wind-PHSS scenario at LOLP 0% is 4.6% and 17% less than the Wind-PHS and PV-PHSS scenarios, respectively. The proﬁtability study of all three scenarios showed that the project is proﬁtable regardless of the scenario considered.


Introduction
Fossil fuel use within the energy sector has compelled human cultures to reconsider their way of life in order to lessen the quantity of greenhouse gases released into the atmosphere.The power and heat generation sectors account for 46% of the increase in greenhouse gas emissions in the environment in 2021 [1].With the unprecedented increase in the price of fossil fuels such as gas and diesel, most countries in the world are planning and accelerating the transition from fossil fuels to cleaner and more environmentally friendly renewable energy sources.In turn, fossil fuels are becoming increasingly scarce and depleted.Some studies have predicted the total depletion of fossil energy sources to take place within a few decades [2].In this context, alternative sources of green energy such as solar and wind power are set to take a larger share in the energy mix of the world's countries.Additionally, the technologies used in the design of the various components of solar and wind systems are increasingly mature [3,4] and affordable [5].However, due to the intermittency of these two energy sources related to weather conditions, their use as a replacement for conventional energy sources poses some challenges.Indeed, the production of energy from intermittent energy sources can cause a mismatch between demand and production.Similarly, renewable energy sources sometimes cause stability problems when connected to power grids.To overcome these problems, energy storage systems are associated with variable renewable energy production systems.The storage systems ensure the continuity of the energy supply to the different consumers even in case of a sudden variation of the renewable energy production systems.Among the existing types of energy storage systems, the most widely used is pumped hydro storage systems [6,7] since they have long life spans and a minimal cost of energy as compared to battery and thermal energy storage systems [8,9].The total installed PHS capacity reached 127 GW and represented more than 99% of the total installed storage capacity worldwide [10].The maturity, energy cost and especially the lifetime of PHS are their fundamental advantages compared to other types of storage.Nevertheless, the installation of large-scale PHS systems requires favorable topographical conditions [11] and the availability of water resources [12].
The integration of storage systems in renewable energy conversion systems has a considerable impact on the total cost of the projects and on the cost of energy conversion.The issue of having an optimal size begins to emerge.In the literature, several optimization strategies are utilized to optimally size hybrid renewable energy systems, for instance, through the use of software such as HOMER and meta-heuristic algorithms.The optimal sizing of renewable energy systems is frequently carried out using meta-heuristics based on economic criteria such as life cycle cost (LCC) [13], cost of energy (COE) [14,15], net present cost (NPC) [16,17], and technical reliability criteria such as loss of load probability (LOLP) [18,19], loss of load expected (LOLE) [20], and loss of power supply probability (LPSP) [21,22].A number of research studies have investigated the appropriate size of grid-connected renewable energy systems using meta-heuristic algorithms in accordance with economic and technical criteria.Thus, in [23], the author proposed three algorithms; the whale optimization algorithm (WOA), particle swarm optimization (PSO), and fire fly were used to minimize the cost of energy (COE) and the probability of a power supply disruption.The COE of the pumped-hydro storage hybrid system was determined to be lower (0.215 $/kWh) than that of the battery storage hybrid system (0.254 $/kWh), which was derived using WOA at the same load demand.A study employing the modified crow search algorithm (CSA) to reduce fuel usage in a PV/diesel/PHS stand-alone system was published in [24].The results obtained with the modified CSA were compared with the results obtained using a genetic algorithm (GA) and PSO.It was found that the results obtained using modified CSA are better than those obtained using GA and PSO.The optimal sizing of a hybrid solar PV, biogas and PHS system isolated from the electrical grid can be done with the help of metaheuristics such as water cycle algorithm (WCA), Moth flame optimization (MFO) and GA following the total net present cost (TNPC) and loss of load probability (LLP) criteria was completed in [25].The WCA algorithm performed better than the others did.The robust light field semantic segmentation network incorporating contextual and geometric data was introduced by the authors in one work [26].In another study [27], authors presented an improved adaptive unscented Kalman filter (AUKF)-based power scheduling optimization approach for wind-hydrogen integrated energy systems.The simultaneous diagnosis approach for power switch and current sensor problems in grid-connected three-level neutral point clamped (NPC) inverters was presented by the authors in [28].For a parallel inverter system, the authors of [29] introduced a unique droop control mechanism to maximize photovoltaic power output.A comprehensive technical, economic, and environmental framework for assessing the rooftop solar potential of ancient residential structures was described by the authors in [30].In [31], the metaheuristics WOA, WCA, grey wolf optimizer (GWO) and Salp Swarm Algorithm (SSA) were used for the optimal sizing of a grid-connected PV-Wind-PHS hybrid system with the aim to minimize the cost of energy (COE).The WOA algorithm gave the best energy cost under a welldefined loss of power supply probability.
In [32], the MOGWO algorithm was used for the optimal sizing of a hybrid storage system consisting of PHS (long-term storage) and a battery (short-term storage) integrated with the PV and wind renewable energy system.This study revealed that the hybrid storage system offered better results in terms of energy cost compared to PHS and battery used alone.The multi-objective particle swarm optimization (MOPSO) algorithm was used in [33] for the optimal sizing of a PV-Wind-PHS hybrid system with the objective of minimizing the levelized cost of energy (LCOE) and LPSP.The optimal size of a PV-Wind-PHS hybrid system was carried out on HOMER in [34] using the life cycle cost criteria and the loss of load probability (LOLP), and the authors did not handle the constraints.To solve multi objective functions (two or three objective functions) such as financial and reliability parameters, financial and carbon emissions parameters, reliability and carbon emissions parameters, and financial reliability and carbon emissions parameters, they can be simultaneously evaluated easily by using NSWOA and NSGA-II, since those metaheuristic optimization techniques are more popular, simple to execute, more stable, and faster to converge.The multi-objective NSGA-II [35,36] model has been previously used, which includes two or three objective functions that must be minimized or maximized.NSGA-II successfully converges to a Pareto front, and its programming calculates the best hybrid renewable energy cost of electricity and efficiency for each wind power generation [37,38].It is possible to use a multi-criteria decision-making technique.The best variables for hybrid renewable energy modeling are successfully obtained from the optimal cost and efficiency solutions [39].In this paper, NSGA-II is used as a comparison for the main methods, i.e., NSWOA.Because NSWOA had not previously been applied to the optimal size of renewable energy sources in the situation of multiple objective functions, we adopted this metaheuristic optimization technique for solving multiple objective functions of renewable energy generation.
In Cameroon, electrical energy comes mainly from hydroelectric plants.However, thermal power plants continue to be used for electricity generation despite their economic and environmental disadvantages.The migration from these polluting energy sources to renewable energy sources is crucial and therefore deserves to be addressed.The country has a huge potential in renewable energy resources.Indeed, the average sunshine is 4.9 kWh/m 2 /day in the southern part of the country and 5.8 kWh/m 2 /day in the northern part [40].The concentration of solar irradiation in the northern part of the country is as shown in Figure 1 and can be found in [41].
Moreover, the international agency of renewable energies evaluates the wind energy potential to be nearly 979 TWh/year [42].These two sources, if properly exploited, could constitute credible alternatives to the thermal power plants connected to Cameroon's electrical grid.This work focuses on the replacement of thermal power plants in northern Cameroon by PV and wind systems.To have a reliable system, a PHS energy storage system is also dimensioned and connected to the electrical grid.The choice of this type of storage is explained by the presence of a site with the required topographical characteristics close to Lake Lagdo and the electrical grid in northern Cameroon.
Two optimization algorithms, NSWOA and NSGA-II, were used to solve the biobjective optimization problem whose objective is the minimization of both the total cost of the different components of the renewable energy sources (RES) and the LOLP.These two algorithms have already proved their worth in solving complex optimization problems [43][44][45][46].The results obtained from the two algorithms were compared in order to select the best one.Different study analyses have been developed and evaluated to obtain the best possible scenario between the PV-PHS system, Wind-PHS system and PV-Wind-PHS system for the replacement of thermal power plants.Moreover, the international agency of renewable energies evaluates the wind energy potential to be nearly 979 TWh/year [42].These two sources, if properly exploited, could constitute credible alternatives to the thermal power plants connected to Cameroon's electrical grid.This work focuses on the replacement of thermal power plants in northern Cameroon by PV and wind systems.To have a reliable system, a PHS energy storage system is also dimensioned and connected to the electrical grid.The choice of this type of storage is explained by the presence of a site with the required topographical characteristics close to Lake Lagdo and the electrical grid in northern Cameroon.
Two optimization algorithms, NSWOA and NSGA-II, were used to solve the bi-objective optimization problem whose objective is the minimization of both the total cost of the different components of the renewable energy sources (RES) and the LOLP.These two algorithms have already proved their worth in solving complex optimization problems [43][44][45][46].The results obtained from the two algorithms were compared in order to select After thoughtfully examining the research works stated above, it was found that the following issues were not addressed by the current approaches and are therefore addressed in this paper:

•
The PV-wind-PHS system is optimally estimated within the limit of the assigned choice of the arbitrary size of the individual system under the upper and lower limit inequality constraints, with a minimum system total cost and zero loss of load probability within the limit of the transmission system capacity.

•
The total renewable energy resource power plant carrying capacity limits are determined to achieve the lowest total system cost in various scenarios.

•
The adopted NSWOA technique, which was used for the optimal sizing of PV-wind-PHS systems and compared to NSGA-II, has shortcomings that can be addressed in different configurations.
The purpose of this study was to investigate replacing diesel thermal power plants connected to northern Cameroon's interconnected electrical network with a PV-wind-PHS renewable plant in order to reduce the country's reliance on fossil fuels, contribute to environmental preservation, and minimize the country's huge fuel costs.Metaheuristic optimization approaches such as NSWOA and NSGA-II were used to optimally size the proposed system while minimizing the TC and LOLP objective functions.
The main contribution of this work is stated as follows: • A multi-objective optimization function was carried out to analyze both the profitability and the reliability of a grid-connected RES system for replacing thermal power plants.

•
To develop a numerical model that describes the parallel operation of an interconnected energy framework made up of solar PV, WT, and a pumped-storage system that is integrated with the electric utility.

•
Proposing a practical method based on the MATLAB software and utilizing the NSWOA and NSGA-II algorithms to efficiently and intelligently reduce the system's size to replacing thermal power plant.

•
Investigating and evaluating different configurations, such as a solar PV/WT/PHSS energy storage system, solar PV/PHSS energy storage system and WT/PHSS energy storage system, in an interconnected mode of operation.

•
Implementing a detailed comparative analysis, combined with a sensitivity assessment of the economic and reliability indicators for the different HRES configurations.

•
Underlining the potential and need for an integrated renewable energy approach in the southern Cameroon transmission network, as well as the economic feasibility and environmental advantages of the proposed solar PV/WT/PHSS energy storage system.
The following is how the remaining portions of the paper are organized: Section 2 introduces the study area, which is followed by a discussion of resource assessment in Section 3, a proposed schematic diagram and mathematical modeling of each RES to obtain accurate and realistic expressions of the solar PV, wind, and pumped hydro storage systems is discussed in Section 4, proposed system operation strategies are discussed in Section 5, evaluation of design parameters occurs in Section 6, formulation of the optimization problem are expressed in Section 7, results and discussion are in Section 8, and conclusions and discussion are expressed in Section 9.

Presentation of the Study Area
The interconnected grid in northern Cameroon provides electrical power to the population of three regions representing the entire northern part of the country.The main source of energy production on this network is the Lagdo hydroelectric dam built between 1977 and 1982 [47].Due to the rapid growth of the population in this part of Cameroon as well as climate warming, this hydroelectric power station is no longer able to meet all of the demand on the electrical network.Climate change is anticipated to diminish hydroenergy generation by 20% during the worst seasons [48].Thus, for a total basic capacity of 72 MW, the power plant nowadays only operates at about 40 MW.In 2019, the annual energy production of the Lagdo hydroelectric dam represented approximately 5% of the total energy consumed in Cameroon, or about 350.315 GWh [49].Diesel thermal power plants have been installed to compensate for the reduced power supplied by the Lagdo hydroelectric dam in Garoua and Maroua.The Djamboutou thermal power plant on the outskirts of Garoua has a total capacity of 20 MW and the one in Maroua has a total capacity of 10 MW.The peak power generation on the grid is about 62 MW and the minimum power generation is 47 MW as shown in Figure 2. hydroelectric dam in Garoua and Maroua.The Djamboutou thermal power plant on the outskirts of Garoua has a total capacity of 20 MW and the one in Maroua has a total capacity of 10 MW.The peak power generation on the grid is about 62 MW and the minimum power generation is 47 MW as shown in Figure 2.

Solar Resource
The Cameroonian territory benefits from a rather important sunshine potential, especially in the northern part as shown in the Figure 1.The average annual radiation variation varies from 4-4.9 kWh/m 2 /day in the southern part to 5.8 kWh/m 2 /day in the northern part of the country [40].Concerning the northern part of the country, which is the subject of this study, the solar potential appears to be enormous.Figure 3, which presents the irradiation and average monthly temperature data for the period of one year obtained from [50], allows us to measure the solar potential in the Garoua area (Latitude 9°18′25.2′′N and Longitude 13°23′34.8′′E) where the Djamboutou thermal power plants are located.The city of Garoua is one of the major cities of northern Cameroon, with Maroua located further north.All this justifies the choice of this zone for the installation of a PV system connected on the northern integrated grid (NIG) since it is close to the installation site of the PHS system and to a big city.

Solar Resource
The Cameroonian territory benefits from a rather important sunshine potential, especially in the northern part as shown in the Figure 1.The average annual radiation variation varies from 4-4.9 kWh/m 2 /day in the southern part to 5.8 kWh/m 2 /day in the northern part of the country [40].Concerning the northern part of the country, which is the subject of this study, the solar potential appears to be enormous.Figure 3, which presents the irradiation and average monthly temperature data for the period of one year obtained from [50], allows us to measure the solar potential in the Garoua area (Latitude 9 • 18 25.2N and Longitude 13 • 23 34.8 E) where the Djamboutou thermal power plants are located.The city of Garoua is one of the major cities of northern Cameroon, with Maroua located further north.All this justifies the choice of this zone for the installation of a PV system connected on the northern integrated grid (NIG) since it is close to the installation site of the PHS system and to a big city.
hydroelectric dam in Garoua and Maroua.The Djamboutou thermal power plant on the outskirts of Garoua has a total capacity of 20 MW and the one in Maroua has a total capacity of 10 MW.The peak power generation on the grid is about 62 MW and the minimum power generation is 47 MW as shown in Figure 2.

Solar Resource
The Cameroonian territory benefits from a rather important sunshine potential, especially in the northern part as shown in the Figure 1.The average annual radiation variation varies from 4-4.9 kWh/m 2 /day in the southern part to 5.8 kWh/m 2 /day in the northern part of the country [40].Concerning the northern part of the country, which is the subject of this study, the solar potential appears to be enormous.Figure 3, which presents the irradiation and average monthly temperature data for the period of one year obtained from [50], allows us to measure the solar potential in the Garoua area (Latitude 9°18′25.2′′N and Longitude 13°23′34.8′′E) where the Djamboutou thermal power plants are located.The city of Garoua is one of the major cities of northern Cameroon, with Maroua located further north.All this justifies the choice of this zone for the installation of a PV system connected on the northern integrated grid (NIG) since it is close to the installation site of the PHS system and to a big city.

Wind Resource
The wind energy potential in the far north of Cameroon is not negligible, especially for large-scale applications.The city of Maroua, the second largest in the north, has the meteorological assets necessary for the installation of wind power plants as revealed in [51].Being one of the major urban centers of the region, the town of Maroua is an optimal location for the installation of a power plant because of its proximity to consumers.Figure 4 shows the monthly average wind speed at Maroua outskirts (Latitude 10

Wind Resource
The wind energy potential in the far north of Cameroon is not negligible, especially for large-scale applications.The city of Maroua, the second largest in the north, has the meteorological assets necessary for the installation of wind power plants as revealed in [51].Being one of the major urban centers of the region, the town of Maroua is an optimal location for the installation of a power plant because of its proximity to consumers.Figure 4 shows the monthly average wind speed at Maroua outskirts (Latitude 10°37′48′′ N and Longitude 14°21′7.2′′E) at a height of 10 m [52].

PHS Potential
The potential for large-scale installations of PHS systems is primarily dependent on the availability of water resources and space at a high enough altitude to have sufficient potential energy.According to a study [53], there is an exploitable region of roughly 6.8 hectares positioned at 260 m from the lake level that has the required features for the installation of a PHS system with a maximum capacity of 841 MWh around Lake Lagdo and near Garoua.Combining the maps depicting the global irradiation of the entire country of Cameroon [41] and the location of the PHS system using Google Maps [54]

PHS Potential
The potential for large-scale installations of PHS systems is primarily dependent on the availability of water resources and space at a high enough altitude to have sufficient potential energy.According to a study [53], there is an exploitable region of roughly 6.8 hectares positioned at 260 m from the lake level that has the required features for the installation of a PHS system with a maximum capacity of 841 MWh around Lake Lagdo and near Garoua.Combining the maps depicting the global irradiation of the entire country of Cameroon [41] and the location of the PHS system using Google Maps [54] yields Figure 5.

Proposed Schematic Diagram
The proposed system to replace the LFO thermal power plants in northern Cameroon consists of a solar photovoltaic power plant in the vicinity of Garoua and a wind power plant in the commune of Maroua.As both of these renewable energy sources are intermit-

Proposed Schematic Diagram
The proposed system to replace the LFO thermal power plants in northern Cameroon consists of a solar photovoltaic power plant in the vicinity of Garoua and a wind power plant in the commune of Maroua.As both of these renewable energy sources are intermittent, an energy storage system here the PHS system will be coupled to the power grid to make it more reliable and resilient.

Mathematical Modeling of RES
The knowledge of the mathematical and economic models of all the renewable e ergy production sources and the two storage systems are essential for the optimal dime sioning of each component.

Solar Photovoltaic Generation System
Solar cells convert sunlight into electrical energy.As shown in Equation (1) belo the power generation of a solar panel is dependent on its surface , the amount of rad tion it receives (), and its efficiency  , which has been used in multiple wor [23,55,56].As input, the model utilizes hourly solar radiation and temperature data.It given by:

Mathematical Modeling of RES
The knowledge of the mathematical and economic models of all the renewable energy production sources and the two storage systems are essential for the optimal dimensioning of each component.

Solar Photovoltaic Generation System
Solar cells convert sunlight into electrical energy.As shown in Equation (1) below, the power generation of a solar panel is dependent on its surface A, the amount of radiation it receives G(t), and its efficiency η pv , which has been used in multiple works [23,55,56].As input, the model utilizes hourly solar radiation and temperature data.It is given by: The efficiency η pv of solar panels is determined by reference efficiency η r , temperature constant β, performance degradation factor η pc , ambient temperature T a , and solar radiation.It is given by [23,55,56]: The inverters in this study are directly coupled to the solar panel pack.They are therefore unidirectional inverters in charge of converting the energy in DC form into AC energy.Equation ( 3) translates the necessary constraint on the total inverter capacity to be installed as a function of the total power installed for the PV system.The characteristics of the inverters used in this study are presented in Table 1.

Wind Power Generation System
The power produced by wind turbines depends on the kinetic energy of the wind.The expression for the output of the wind field is described by Equation (4) [46,57,58]: From the Equation (4), the output power of WT is zero below v ci and above v co , and the output power increases linearly with increasing wind speed between v ci , and v r and it generates the rated power between v r and v co .
Equation ( 5) [20,59], allows us to calculate the wind speed v at any hub height z from the wind speed v 0 at a given height z 0 and α.
where v is the wind speed at height z, v 0 the wind speed at the reference height z 0 , and α the Hellman exponent that is often considered equal to 1/7, but which will be calculated by Equation ( 6) [33] in this study.

Pumped Hydro Storage System
In this work, the PHS system operates in a very traditional manner.The flow of energy in the electrical network is constantly monitored.When there is excess energy in the electrical grid and the PHS system's upper water reservoir is not full, the PHS system goes into pumping mode for as long as there is excess energy and the upper reservoir is not full.When the two sources (photovoltaic and wind fields) are unable to meet all of the demand previously met by the thermal plants, the PHS system switches to power generation mode to supply the resulting energy deficit.The Lagdo hydroelectric dam serves as the North Cameroon power system's base load.a.
Energy Balance: The energy balance here is the difference between the energy production from the solar P PV and wind P WT fields and the energy demand met by the LFO thermal plants P DT . b.
PHSS Generating Mode: If E B (t) < 0, the demand is greater than the PV and wind systems' output.In this case, the energy must be supplied by the PHS system.The power delivered by the PHS depends on the amount of water available in the upper reservoir, power rating of the PHS system, and the energy demanded.If there is enough water in the upper reservoir, the energy requirements of the loads will be met.
Otherwise, the PHS system will do its best.The Equations ( 8) and ( 9) are inspired by the models utilized in the papers [23,31], and translate the operation of the PHS in generating mode.
Here, the density of water ρ and the gravitational constant g are assumed to be 1000 m 3 /kg and 9.81, respectively.H is the sum of the height of the water level in the upper reservoir and the elevation of the upper reservoir location above Lagdo Lake.It is calculated by Equation (10).
The height induced by the water level in the upper tank depends on the type of structure adopted for its construction.Equation (10) allows us to evaluate it for a specific type of construction structure.Considering the height h of the selected site in relation to the Lagdo Lake, which is 260 m, this additional height is neglected in this work.
The Equation ( 12) determines the power P PHS supplied by the PHS system to the loads [60].
c. PHSS Pumping Mode: If E B (t) > 0, there is excess energy in the power grid.If the upper reservoir is not full, the PHS switches to pumping mode until the upper reservoir is filled.The amount of water pumped is determined by the reservoir's water level, the amount of excess power available from the grid, and the power rating of the PHS system.
In pumping mode, the power consumed over time by the PHS system is calculated using Equation (15) [60].
d. Surplus Energy: Excess energy in the electrical grid only occurs when the PHS system is operating in pumping mode (E B (t) > 0).When the energy produced by the RES is greater than the demand, if the upper reservoir is not completely filled, the PHS system goes into pumping mode.If the available energy is greater than the consumption of the PHS system in pumping mode, then the difference between the available energy and the consumption of the PHS system represents surplus energy.
If the upper reservoir is filled, then the PHS stops operating in pumping mode, and all available energy becomes surplus energy on the grid.The Equation ( 16) expresses the surplus energy on the power grid. e.
Model of the Reservoirs: The volume V(t) of water in the upper reservoir at time t is a function of the volume of water pumped q ch (t), the volume of water used to generate electricity q dis (t), the volume V(t − 1) of water present in the reservoir at time t − 1, and the rate of evaporation and leakage over time γ.The following expression determines the amount of water available in the upper reservoir: The volume of water in the upper reservoir varies between the minimum and maximum water volumes set for the reservoir: The total amount of energy stored in the upper reservoir E C in kWh is calculated by the Equation ( 18) [61]: 4.1.5.Utility Grid The power transiting through the NIG transmission network is obtained by Equation ( 19).
P grid (t) = P LD (t) + N WT × P WT (t) + N PV × P PV × η inv + P PHS (t) (19) where P LD represents the power produced by the Lagdo dam, which is constant and represents the base load of this grid.The power flowing through the network is subject to the constraint expressed by Equation (20).
P max grid represents the maximum power that can be transmitted on the electrical grid.

Technical and Economical Specification of Components
The technical and economic parameters of the components used in this work are summarized in Table 1.The costs of the PV and wind systems are the costs published by the International Renewable Energy Agency (IRENA) in 2022 for the year 2021 [62].The costs associated to the construction of the PHS system are obtained from [63].

Proposed System Operation Strategies
The careful monitoring of the energy flow in the power grid is necessary for the projected renewable energy system to replace thermal power plants.Equation (7) provides an evaluation of the disparity between the amount of energy generated by wind and solar power plants and the demand.The PHS system enters water-pumping mode to fill the upper reservoir if the RES generation is more than the overall energy demand and the upper reservoir is not full.This process continues as long as the upper reservoir is not full and the RES output is greater than the demand.The quantity of energy used by the PHS system and the pace at which water is pumped are shown in Equations ( 13) and ( 14) respectively.The energy surplus is determined by the difference between the extra energy and the energy used.The PHS system, on the other hand, is activated in energy-generating mode and is responsible for delivering the missing energy in accordance with the quantity of water present in the upper reservoir when the demand is greater than the energy generated by the RES.The quantity of energy generated by the PHS system and the water flow rate necessary to create this energy are translated by Equations ( 8) and ( 9) respectively.As long as the top reservoir has more water than the specified minimum threshold, the PHS system generates energy to meet the energy requirement.Finally, if the RES and PHS systems fail to meet all the demand, the criterion measuring the reliability of the system evaluates, in this study, the probability in terms of time of the energy deficit.In this case, the overall operation and energy flow can be performed as shown on the flowchart in Figure 7. Calculate the volume of water pumped to the upper reservoir Q ch using Eq. ( 14)

Calculate the Surplus energy
Calculate the volume of water discharged from the upper reservoir Q dis using Eq. ( 9)

Reliability of the System
To measure the reliability of the new grid configuration by the substitution of LFO thermal power plants by PV and Wind systems, the criterion measuring the hourly energy deficit rate was implemented in this study.This criterion is the loss of load probability (LOLP).

LOLP
LOLP in this study is the probability that the electricity demand currently met by LFO thermal plants will exceed the generation capacity of PV and wind plants over a period of time.An LOLP analysis is done hourly over a one-year period.The LOLP is used to measure the reliability of the new generation system configuration in relation to the electricity demand.This is the main criterion that determines the size of the green energy systems to be installed.Its expression is transcribed by the Equation ( 21) [19] and Equation (22).
In this instance, N = 8760 is the simulation period, and F is the failure frequency of the response y when it is negative.

Economic Model
Several economic criteria were considered in this work.These are the TC of the project over its lifetime, the LCOE evaluated for each energy production system and the NPV for each scenario studied.

Reliability of the System
To measure the reliability of the new grid configuration by the substitution of LFO thermal power plants by PV and Wind systems, the criterion measuring the hourly energy deficit rate was implemented in this study.This criterion is the loss of load probability (LOLP).

LOLP
LOLP in this study is the probability that the electricity demand currently met by LFO thermal plants will exceed the generation capacity of PV and wind plants over a period of time.An LOLP analysis is done hourly over a one-year period.The LOLP is used to measure the reliability of the new generation system configuration in relation to the electricity demand.This is the main criterion that determines the size of the green energy systems to be installed.Its expression is transcribed by the Equation ( 21) [19] and Equation (22).
In this instance, N = 8760 is the simulation period, and F is the failure frequency of the response y when it is negative.

Economic Model
Several economic criteria were considered in this work.These are the TC of the project over its lifetime, the LCOE evaluated for each energy production system and the NPV for each scenario studied.

Total Cost
The total cost takes into account the initial capital cost, the operation and maintenance cost, the replacement cost of components and the salvage cost at the end of the project life [66,67].
The salvage cost has been neglected in this study.
The total cost over the study period of each source of renewable energy generation and energy storage was evaluated.
a. PV System: The total cost of the PV system considers the total cost of the PV system and the PV inverters.It includes the initial cost and the cost of operations and maintenance.Considering the duration of the project (20 years) considered in this study, no component replacement will be made.It is calculated by Equation ( 24): The life-value discount factor k depends on the rate of inflation f and the nominal interest rate d.It is provided by Equation ( 25) [68,69].
b. Wind System: The total cost over the lifetime of the wind power plant includes the initial installation cost and the cost of maintenance and operations.It is determined by Equation (27).
c. Storage System: The total cost of the PHS system includes not only its initial investment, but also its fixed and variable operating and maintenance expenses.It is computed using the Equation (28).

LCOE
The levelized cost of energy is used to calculate the lifetime cost of producing energy from a power plant.It is determined by [70,71]: where E t is the annual energy produced in each source.The TLCC represents the total life-cycle cost of the project, which includes capital, operating, and maintenance costs over the life of the project.This cost amounts to the total cost of the project over its lifetime.The LCOE will be evaluated for each energy generation source.

NPV
The criteria for measuring a project's cash flow were implemented to evaluate the profitability and payback time of the proposed new systems.The following equation expresses the NPV [72]:

Formulation of the Optimization Problem
This study's bi-objective optimization issue considers both the dependability and the cost of the development of renewable energy facilities.The overall cost function, which depicts the total cost of the PV, wind, and PHSS plants, and the LOLP function, which gauges the ability of renewable energy sources to meet demand, are the two objective functions that have been implemented.Equation (31) presents the expression translating the optimization issue.The quantity of solar panels, wind turbines, the maximum installed power of PHSS, and the sizes of the upper reservoir are the optimization factors used for this issue.There are limitations imposed on the optimization issue by Equation (32).Several scenarios have also been studied to solve this optimization problem.These are the scenarios where only the solar system and PHS are considered or the wind system and PHS are considered.This allows for a comparative analysis of the results in order to choose the best configuration.
7.1.Optimization Algorithm 7.1.1.Non-Dominated Sorting Whale Optimization Algorithm (NSWOA) The non-dominated sorting optimization technique has been combined with the whale optimization algorithm (WOA) to develop a hybrid algorithm inspired by nature [45].Solving multi-objective optimization issues with often conflicting objective functions, where minimizing one leads to maximization of the other, necessitates an optimal trade-off between the objective functions.The non-dominated sorting technique begins by sorting a set of Pareto-optimal solutions that can be termed ideal.The Pareto-optimal value is obtained from the Pareto-optimal solutions to distinguish between dominated and nondominated datasets [73].Sorting, as previously stated, is accomplished by bringing the best answers to the head of the queue through non-dominated sorting of their rank values.The generated non-dominated sorted solutions are then optimized using the WOA technique to get a better and more efficient outcome in less time.The whale optimization algorithm is divided into three phases.Humpback whales circle their target in the first stage, and then assault their prey using bubble-hunting methods in the second stage.Finally, the whales resume their search for prey in a random manner based on the position of other whales [74].NSWOA's step-by-step method is as follows [45,74]: Step 1: Initializing the system parameters, determining the number of iterations, and generating the initial population constitute the initial step.
Step 2: The relevance function is used in this step to assess the relevance of each search agent.
Step 3: The initially generated search agents are sorted based on their fitness value in this step.To sort the search agents, the non-dominated sorting technique is employed.The crowding distance and current population ranking are then computed.
Step 4: The positions of the search agents are iteratively updated to increase the pressure on the target.When in search of food, humpback whales, which represent the search agents, will select the optimal solution as their primary quarry.The following equations describe the whales' encircling behavior if → X * is considered the optimal location at the present time. → where → X represents the position vector, and t represents the number of iteration; → A, → D represent co-efficient vectors, which are updated to adjust the latest position of the prey around the search agent, as shown in the following equations: Here, → a decreases linearly from 2 to 0 as the iteration progresses, which makes → A vary in [−a, a] range, and → r is a random vector between [0, 1].
Step 5: Spiral positioning update of humpback whales is performed to replicate their helix-like motion.The search agent positions are updated using Equation (37).Step 6: The position of the whales can be updated in one of two ways: by decreasing or reducing the circling procedure, or by employing the spiral model.Therefore, the probability is denoted by p, a random number between 0 and 1.In this step, an if-then condition is executed to accomplish the goal.If random number p is less than 0.5 and A is less than 1, the search agent's position is updated using Equations ( 33) and (34).Alternatively, if p is less than 0.5 and A is greater than or equal to 1, a random search agent is selected and its position in the current population is denoted by → X r .Equation (38) determines the distance between a random search agent and its prey for that agent.In addition, the position of the search agent is updated using Equation (39).
Step 7: Equation ( 37) is used to update the search agent's position if the conditions in Step 6 are not met and p ≥ 0.5.
Step 8: This step evaluates the whale search agent's fitness function values, N f .
Step 9: The initial generation of fitness function values, O, is merged with the new WOA-optimized fitness values, N f , to create a solution vector of length O + N f .
Step 10: The new solution vector is non-dominated and sorted.Steps 4 through 10 are looped until the maximum number of iterations is reached.
Step 11: At the conclusion of the loop, the optimal solution is identified as the best available position of the search agent.

Non-Dominated Sorting Genetic Algorithm-II (NSGA-II)
This K. Deb [60], Ref. [62] proposed this NSGA-II algorithm.It includes a selection operator based on a crowding distance computation that estimates the population density for each individual.This algorithm is one of the most popular today because it employs an elitist approach that allows for the preservation of the best solutions discovered in previous generations, it employs a faster sorting procedure based on non-dominance, and it incorporates a different comparison operator based on the calculation of the "crowding" distance.The following describes how the NSGA-II algorithm works: at each cycle, a population of size N is formed from the parent population.The two populations are then blended to generate a 2N population.This gathering ensures elitism.To identify the different fronts, the population of size 2N is then sorted using a non-dominance criterion.The most talented people will be located on the first front or fronts.As long as the population does not exceed N, a new parent population is generated by adding the full fronts.If the number of people present is fewer than N, the crowding technique is used on the next front, which is not part of the new parent population.This operator's purpose is to insert the best people who are absent from the new parent population.This front's individuals are used to compute the crowding distance between two neighboring solutions.After identifying the individuals in the new parent population, the following processes are taken to establish a new child population: selection, crossover, and mutation.The process is repeated from generation to generation until a stopping requirement is met.Here is a detailed technique broken down into numerous phases.
Step 1: Combine the populations of parents Pt and children Qt all of size N and create Rt = Pt ∪ Qt and then apply a non-dominated sort on Rt and identify the different fronts: k = 1, . . ., etc.
Step 3: When all solutions in Fk cannot be included in Pt + 1, sort the crowding distances and include in Pt + 1 the most scattered N − |Pt + 1| solutions using the crowding distance in the Fk set.
Step 4: Create the child population Qt+1 from Pt + 1 using distance crowding-based tournament selection and genetic operators (selection, crossover and mutation).Increment the generation counter (t = t + 1) until reaching the stopping conditions.

Meteorological Data
The meteorological data used can be found at [75].The wind speed data are an hourly average over five successive years between 2016 and 2020.This allowed having data that are more reliable.With the formula stated in Equation (4), we determined the wind velocity at the height of 140 m.Figures 8 and 9 show the hourly irradiation and temperature, and wind velocity data.

Presentation of the Results
The results obtained for the three simulation scenarios for each algorithm are presented in Table 2 and Figures 10 and 11.The shape of the curves obtained for the results of the optimization problem is typical of problems where the minimization of one of the functions leads to the increase of the other.Independently of the algorithm and even of the scenarios, the decrease towards zero of the LOLP leads to a rather sharp increase of the total cost and vice versa.
The meteorological data used can be found at [75].The wind speed data are an hou average over five successive years between 2016 and 2020.This allowed having data t are more reliable.With the formula stated in Equation (4), we determined the wind vel ity at the height of 140 m.Figures 8 and 9 show the hourly irradiation and temperatu and wind velocity data.

Presentation of the Results
The results obtained for the three simulation scenarios for each algorithm are p sented in Table 2 and Figures 10 and 11.The shape of the curves obtained for the resu of the optimization problem is typical of problems where the minimization of one of t

Presentation of the Results
The results obtained for the three simulation scenarios for each algorithm sented in Table 2 and Figures 10 and 11.The shape of the curves obtained for th of the optimization problem is typical of problems where the minimization of on functions leads to the increase of the other.Independently of the algorithm and the scenarios, the decrease towards zero of the LOLP leads to a rather sharp inc the total cost and vice versa.All numerical values are recorded from the output of NSWOA and NSGA-II in three different seniors, as shown in Table 2. Some of the outputs, such as total cost (€) and reservoir volume m 3 , are approximated by their decimal numerical values.Some are close to their decimal values for two or three digits to make them more accurate, including energy storage capacity (MWh), levelized cost of energy (LCOE) (€/kWh) for wind, PV, and PHS, and output power (MW) for wind and PV.

Comparison of the Results of the Two Algorithms
The obtained results, presented in Figures 10 and 11 and Table 2, show the Pareto-front obtained for the various scenarios studied thanks to the optimization techniques of NSWOA and NSGA-II.The total costs, at an LOLP equal to zero, thanks to the use of NSWOA are 121,760,835€, 105,596,880€, and 100,749,018€, respectively, for the PV-PHS, Wind-PHS, and PV-Wind-PHSS scenarios.As for the results obtained using the NSGA-II algorithm, at an LOLP equal to zero, the total costs of all systems are 122,814,628€ for the PV-PHSS scenario, 112,470,873€ for the Wind-PHSs scenario, and 100,969,133€ for the PV-Wind-PHSS scenario.The comparative analysis of the results provided by the two algorithms shows that the NSWOA algorithm gave better results than the NSGA-II algorithm.Indeed, the result obtained for the PV-PHSS scenario with the NSWOA algorithm is, in terms of total project cost, 1% lower than the total cost obtained for the same scenario with the NSGA-II.It is the same for the Wind-PHSs scenario, where NSWOA presents a 6% lower total cost than the one obtained with NSGA-II.As for the PV-Wind-PHSS scenario, the difference between the total cost obtained with NSWOA and the total cost obtained with NSGA-II is about 0.2%.Therefore, in this study, whose primary objective is to substitute diesel thermal power plants with renewable energy sources at a lower cost with a zero deficit, the NSWOA algorithm has delivered the best results for this optimization problem.The rest of the study will focus only on the NSWOA results.
The comparative study of the results of the different scenarios obtained with the NSWOA algorithm shows that with an LOLP equal to zero, the total cost of the PV-Wind-PHSS scenario is respectively 4.6% and 17% lower than the Wind-PHSS and PV-PHSS scenarios.

Analysis of the Results
Table 2 shows that the LCOEs for PV and wind systems are the same regardless of the scenarios considered.The LCOE of the PV system is 0.0422 €/kWh in both the PV-PHSS and PV-Wind-PHSS scenarios.The same is true for the wind system's LCOE, which is 0.025 €/kWh in both Wind-PHSS and PV-Wind-PHSS scenarios.
The LCOE of the PHS storage system, on the other hand, varies significantly depending on the scenario considered.For the PV-PHSS, Wind-PHSS, and PV-Wind-PHSS scenarios, it is 0.0604 €/kWh, 0.3851 €/kWh, and 0.2309 €/kWh, respectively.This significant variation in storage system LCOE across the scenarios considered can be explained by the low demand on the storage system in scenarios with wind power.In contrast to solar radiation, which disappears at night, wind can blow at any time of day.In the PV-PHSS scenario, the installed capacity is 35 MW, the daily energy storage capacity is 403.82MWh/day, and the upper reservoir volume is 645,955.6 m 3 .
The PHS system is requested in the Wind-PHSS scenario only when the available wind is insufficient to allow the wind turbines to provide the energy required to meet the demand.The algorithm selected 21.2303 MW as the optimal capacity for the PHS system, 204.34 MWh/day as the daily energy storage capacity, and 326,863.5 m 3 as the upper reservoir volume.The average wind speed is at its lowest during the rainy season, which lasts from April to October, as illustrated in Figures 3 and 6.As a result, in this scenario, the PHS storage system is really needed during this season.
Similarly, the PHS demand is low in the PV-Wind-PHSS scenario due to the presence of the wind system.The installed capacity of PHSS is 22.146 MW, the daily energy storage capacity is 191.71MWh/day, and the upper reservoir has a capacity of 306,657.86 m 3 .
Based on the data presented above, the LCOE, which is the ratio of the total lifetime cost of the system to the amount of energy the system can deliver, is higher for the PHS system in the Wind-PHSS and PV-Wind-PHSS scenarios than in the PV-PHSS scenario.
Figure 12 depicts the share of total project cost for each renewable energy system (RES) in each scenario.The PV system accounts for 60% of the total project cost in the PV-PHSS scenario, while the PHS system accounts for the remaining 40%.The wind system alone accounts for 75% of the total project cost in the Wind-PHSS scenario, with the PHSS system accounting for the remaining 25%.The wind system alone accounts for 56% of the total project cost in the PV-Wind-PHSS scenario, the PV system accounts for 18% of the expenses, and the PHS system accounts for 26% of the total project cost.The RES absorbs the majority of the expenses in all scenarios.Figure 13 shows the results for an LOLP equal to zero of the PV, wind, and PH outputs and the power flow on the grid over a period of one year obtained with NSWO According to Figure 13, the PV field production in the PV-PHSS scenario ranges fro 0 to 59.71 MW for an annual energy production of 135,174.92MWh, of which 77,521 MWh is consumed by the PHS system to fill the upper water reservoir and 14,611.04MW is the surplus energy generated over a year.In this study scenario, the maximum pow that can flow through the northern interconnected grid is 99.71 MW.The PHS syste which has a capacity of 35 MW, consumes a large portion of this power.When the so Figure 13 shows the results for an LOLP equal to zero of the PV, wind, and PHS outputs and the power flow on the grid over a period of one year obtained with NSWOA.
According to Figure 13, the PV field production in the PV-PHSS scenario ranges from 0 to 59.71 MW for an annual energy production of 135,174.92MWh, of which 77,521.96MWh is consumed by the PHS system to fill the upper water reservoir and 14,611.04MWh is the surplus energy generated over a year.In this study scenario, the maximum power that can flow through the northern interconnected grid is 99.71 MW.The PHS system, which has a capacity of 35 MW, consumes a large portion of this power.When the solar array meets all demand, the energy produced by the PHS system ranges from 0 MW to 22 MW, representing the maximum load demand.The amount of water consumed per hour by the PHS system varies inextricably with the amount of energy produced by the PHS system.Thus, the minimum amount of water consumed is none, and the maximum amount of water consumed is 35,191.8m 3 , which corresponds to the amount of water required to produce 22 MWh at 260 m altitude.Similarly, the amount of water pumped to fill the upper reservoir varies in tandem with the amount of energy consumed by the PHS system.It fluctuates between 0 and 41,990.04m 3 , corresponding to the maximum capacity of the PHS of 35 MW.
In the Wind-PHSS scenario, the wind farm produces between 902.58 kW and 42.30MW for an annual energy output of 234,509.96MWh, of which 6671.60 MWh is consumed by the PHS system to fill the upper reservoir with water and 131,533.27MWh represents the surplus energy generated over a one-year period.When the hydroelectric dam is considered a base load and injects a constant power of 40 MW into the electrical grid, the maximum power that can flow on the northern interconnected grid in this study scenario is 82.3 MW.The PHS system uses a small portion of the energy generated by the wind system to fill the upper reservoir.In generation mode, the energy produced by the PHS system ranges from 0 MW when the wind field meets all demand to 21.04 MW when the wind field can only produce 996 kW.The amount of water consumed per hour by the PHS to generate power varies inextricably with the amount of energy produced by the PHS.Thus, the minimum amount of water consumed is none and the maximum amount of water consumed is 33,662.88m 3 , which corresponds to the amount of water required to Figure 14 shows the proportions of useful energy in relation to the objective of replacing the thermal generation units by RES and the excess energy in the different scenarios studied.The excess energy in the PV-PHSS scenario is quite small and represents about 11% of the total energy generated by the PV field.The vast majority of the energy generated (about 57%) is consumed by the PHS system to fill the upper tank; the rest is directly consumed by the loads.
In the Wind-PHSS scenario, the excess energy represents more than half of the energy produced by the wind field (about 56%).The energy consumed by the PHS system is very small and represents about 3% of the total energy generated by the wind system.The wind field's output varies between 640.13 kW and 30 MW in the PV-Wind-PHSS scenario, for an annual energy generation of 166319.12MWh.The solar photovoltaic farm's output ranges between 0 and 15.015 MW, for a total annual energy generation of 33,992.05MWh.The total output of both energy sources ranges between 640.13 kW and 45.015 MW, for a total annual energy output of 200,311.17MWh, of which 10,996.64 MWh is consumed by the PHS system to fill the upper water tank and 96253.36MWh represents the surplus energy generated over a year.The maximum power flowing through the northern interconnected grid in this study scenario is 84.655MW when the hydroelectric dam is considered a base load and provides 40 MW constantly into the grid.A small portion of the energy generated by the wind system is consumed by the PHS system to fill the upper reservoir.The energy produced by the PHS system varies from 0 MW when the wind and PV fields meet all the demand to 21.322 MW.The amount of water consumed per hour by the PHS system to produce energy follows exactly the same variation as the energy generated by the PHS system.Thus, the minimum amount of water consumed is 0 and the maximum is 34,107.48m 3 , corresponding to the amount of water needed to produce 21.322 MWh at 260 m altitude.Similarly, the amount of water pumped to fill the upper reservoir varies in lockstep with the amount of energy consumed by the PHS system while pumping.It varies between 0 and 26,569.08m 3 , corresponding to 22.146 MW.
Figure 14 shows the proportions of useful energy in relation to the objective of replacing the thermal generation units by RES and the excess energy in the different scenarios studied.The excess energy in the PV-PHSS scenario is quite small and represents about 11% of the total energy generated by the PV field.The vast majority of the energy generated (about 57%) is consumed by the PHS system to fill the upper tank; the rest is directly consumed by the loads.In the PV-Wind-PHSS scenario, the surplus energy represents 48% of the total energy generated by the PV and Wind fields.The energy consumed by the PHS system in pumping mode represents 6% of the total energy produced by the RES.The supply of energy to the different loads is done in a more deferred way in the PV-PHSS scenario and this explains in part, the very high solicitation of the storage system in this scenario.On the other hand, the energy consumption in the other two scenarios is much more direct between the generation systems and the loads.As shown in Figure 15, the share of the PHS system in the energy delivered to the loads varies considerably between the scenarios considered.In the PV-PHS scenario, about 58% of the energy supplied to the loads is provided by the PHS system.On the other hand, the share of the PHS system in the energy delivered to the loads is low and around 5% in the Wind-PHSS scenario.In the PV-Wind-PHSS scenario, the PHS system only contributes about 8% of the annual load demand.In all scenarios, the remaining energy is supplied by renewable energy sources.The project's cost-effectiveness study was done by considering all possible scenarios.At the level of each scenario, two major considerations have been made.The first was to evaluate the profitability of the whole project by considering the total energy demand for which the systems are designed.The second consideration was to see if eventually the surplus energy on the electrical network could be consumed by perhaps expanding the distribution network to new localities in northern Cameroon, and to observe the impact on the profitability of the system.The selling cost of the energy considered is 0.092 €/kWh.As shown in Figure 16, all three scenarios are profitable before the end of the 20 years of the project.However, the PV-Wind-PHSS scenario is quickly more profitable with a payback time of 14 years, while the Wind-PHSS scenario comes second with a payback time of 14 years, and finally the PV-PHSS scenario follows with a payback time of 19 years.In In the Wind-PHSS scenario, the excess energy represents more than half of the energy produced by the wind field (about 56%).The energy consumed by the PHS system is very small and represents about 3% of the total energy generated by the wind system.
In the PV-Wind-PHSS scenario, the surplus energy represents 48% of the total energy generated by the PV and Wind fields.The energy consumed by the PHS system in pumping mode represents 6% of the total energy produced by the RES.The supply of energy to the different loads is done in a more deferred way in the PV-PHSS scenario and this explains in part, the very high solicitation of the storage system in this scenario.On the other hand, the energy consumption in the other two scenarios is much more direct between the generation systems and the loads.
As shown in Figure 15, the share of the PHS system in the energy delivered to the loads varies considerably between the scenarios considered.In the PV-PHS scenario, about 58% of the energy supplied to the loads is provided by the PHS system.On the other hand, the share of the PHS system in the energy delivered to the loads is low and around 5% in the Wind-PHSS scenario.In the PV-Wind-PHSS scenario, the PHS system only contributes about 8% of the annual load demand.In all scenarios, the remaining energy is supplied by renewable energy sources.In the PV-Wind-PHSS scenario, the surplus energy represents 48% of the total energy generated by the PV and Wind fields.The energy consumed by the PHS system in pumping mode represents 6% of the total energy produced by the RES.The supply of energy to the different loads is done in a more deferred way in the PV-PHSS scenario and this explains in part, the very high solicitation of the storage system in this scenario.On the other hand, the energy consumption in the other two scenarios is much more direct between the generation systems and the loads.As shown in Figure 15, the share of the PHS system in the energy delivered to the loads varies considerably between the scenarios considered.In the PV-PHS scenario, about 58% of the energy supplied to the loads is provided by the PHS system.On the other hand, the share of the PHS system in the energy delivered to the loads is low and around 5% in the Wind-PHSS scenario.In the PV-Wind-PHSS scenario, the PHS system only contributes about 8% of the annual load demand.In all scenarios, the remaining energy is supplied by renewable energy sources.The project's cost-effectiveness study was done by considering all possible scenarios.At the level of each scenario, two major considerations have been made.The first was to evaluate the profitability of the whole project by considering the total energy demand for which the systems are designed.The second consideration was to see if eventually the surplus energy on the electrical network could be consumed by perhaps expanding the distribution network to new localities in northern Cameroon, and to observe the impact on the profitability of the system.The selling cost of the energy considered is 0.092 €/kWh.As shown in Figure 16, all three scenarios are profitable before the end of the 20 years of the project.However, the PV-Wind-PHSS scenario is quickly more profitable with a payback time of 14 years, while the Wind-PHSS scenario comes second with a payback time of 14 years, and finally the PV-PHSS scenario follows with a payback time of 19 years.In the case where excess energy is assumed to be sold in all scenarios, the payback time becomes shorter in the scenarios.In this case, the Wind-PHSS scenario becomes more profitable than the other two scenarios with a payback time of 5 years while the PV-Wind-PHSS scenario comes second and has a payback time of 6 years.Finally, the PV-PHSS scenario comes last with a payback time of 17 years.This change in trends between the different considerations can be explained by the higher energy surplus observed in the Wind-PHSS scenario.The consideration of the consumption of the excess energy by new loads remains hypothetical and is for comparison purposes only.

Figure 2 .
Figure 2. Total energy production on Northern Interconnected Grid, Cameroon.

Figure 2 .
Figure 2. Total energy production on Northern Interconnected Grid, Cameroon.

Figure 2 .
Figure 2. Total energy production on Northern Interconnected Grid, Cameroon.

Figure 3 .
Figure 3. Monthly solar radiation and average ambient temperature.

Figure 3 .
Figure 3. Monthly solar radiation and average ambient temperature.

Figure 4 .
Figure 4. Monthly average wind velocity at 10 m height.

Figure 4 .
Figure 4. Monthly average wind velocity at 10 m height.

Figure 5 .
Figure 5. Favorable location for installation of PHSS near Lagdo Lake.

Start
Obtain the PV module, Wind turbine, Inverter, Pump and turbine generator specifications Solar radiation, Temperature, wind speed, connected load power , units cost, energy exchange cost, and desired LPSP Calculate the Power of PPV, PWT, PPHSS and check

Figure 7 .
Figure 7.A Flowchart describing an operation of a proposed grid-connected solar PV/Wind/PHES system.

Figure 7 .
Figure 7.A Flowchart describing an operation of a proposed grid-connected solar PV/Wind/ PHES system.

→
X(t + 1) = → D .e bl .cos(2πl) + → X * (t)(37)where b defines the shape of the logarithmic spiral motion of the whales and is a constant value, l is a random number between [−1, 1], and →

Figure 8 .
Figure 8. Hourly solar radiation and ambient temperature.

Figure 8 .
Figure 8. Hourly solar radiation and ambient temperature.

Sustainability 2023 ,Figure 12 .
Figure 12.Share of each renewable energy system (RES) in the total project cost.

Figure 12 .
Figure 12.Share of each renewable energy system (RES) in the total project cost.

Figure 13 .
Figure 13.(a-c) NSWOA algorithm results for the optimal solutions.

Figure 14 .
Figure 14.Share of the total energy generated by the RES in terms of the demand, the consumption of the PHS system and the surplus of energy.

Figure 15 .
Figure 15.Role of storage in covering total energy demand for a 0% LOLP.

Figure 14 .
Figure 14.Share of the total energy generated by the RES in terms of the demand, the consumption of the PHS system and the surplus of energy.

Figure 14 .
Figure 14.Share of the total energy generated by the RES in terms of the demand, the consumption of the PHS system and the surplus of energy.

Figure 15 .
Figure 15.Role of storage in covering total energy demand for a 0% LOLP.The project's cost-effectiveness study was done by considering all possible scenarios.At the level of each scenario, two major considerations have been made.The first was to evaluate the profitability of the whole project by considering the total energy demand for

Figure 15 .
Figure 15.Role of storage in covering total energy demand for a 0% LOLP.

Sustainability 2023 ,
15,  x FOR PEER REVIEW 26 of 31 the case where excess energy is assumed to be sold in all scenarios, the payback time becomes shorter in the scenarios.In this case, the Wind-PHSS scenario becomes more profitable than the other two scenarios with a payback time of 5 years while the PV-Wind-PHSS scenario comes second and has a payback time of 6 years.Finally, the PV-PHSS scenario comes last with a payback time of 17 years.This change in trends between the different considerations can be explained by the higher energy surplus observed in the Wind-PHSS scenario.The consideration of the consumption of the excess energy by new loads remains hypothetical and is for comparison purposes only.

Figure 16 .
Figure 16.Net present values for all scenarios.
This work studied the different aspects of the substitution of thermal power plants connected to the interconnected grid of northern Cameroon by renewable energy plants.The optimization techniques used in this study for the optimal sizing of RES components are the NSWOA and NSGA-II algorithms.Different scenarios such as the PV-PHSS scenario, the Wind-PHSS scenario and the PV-Wind-PHSS scenario were studied in order to select the best one.The results obtained for the LOLP criterion equal to zero with the NSWOA algorithm gave, respectively, 121,760,835.144€,105,596,880.427€and 100,749,018.0955€for the PV-PHSS, Wind-PHSS and PV-Wind-PHSS scenarios.As for the NSGA-II algorithm, the results obtained for the total cost of the project for an LOLP equal to zero are 122,814,628.757€ for the PV-PHSS scenario, 112,470,873.797€for the Wind-PHSS scenario and 100,969,133.109€for the PV-Wind-PHSS scenario.The analysis of these results provided by the two algorithms revealed that the NSWOA algorithm provided better results than NSGA-II.The total cost in the PV-PHSS, Wind-PHSS, and PV-Wind-PHSS scenarios with NSWOA is, respectively, 1%, 6%, and 0.2% lower than in the NSGA-

Figure 16 .
Figure 16.Net present values for all scenarios.
This work studied the different aspects of the substitution of thermal power plants connected to the interconnected grid of northern Cameroon by renewable energy plants.The optimization techniques used in this study for the optimal sizing of RES components are the NSWOA and NSGA-II algorithms.Different scenarios such as the PV-PHSS scenario, the Wind-PHSS scenario and the PV-Wind-PHSS scenario were studied in order to select the best one.The results obtained for the LOLP criterion equal to zero with the NSWOA algorithm gave, respectively, 121,760,835.144€,105,596,880.427€and 100,749,018.0955€for the PV-PHSS, Wind-PHSS and PV-Wind-PHSS scenarios.As for the NSGA-II algorithm, the results obtained for the total cost of the project for an LOLP equal to zero are 122,814,628.757€ for the PV-PHSS scenario, 112,470,873.797€for the Wind-PHSS scenario • 37 48 N and Longitude 14 • 21 7.2 E) at a height of 10 m [52].

Table 1 .
Technical and economic parameters of the components.

Table 2 .
Results obtained from the simulation.

Table 2 .
Results obtained from the simulation.