Economic Feasibility of Green Hydrogen Production by Water Electrolysis Using Wind and Geothermal Energy Resources in Asal-Ghoubbet Rift (Republic of Djibouti): A Comparative Evaluation

: The Republic of Djibouti has untapped potential in terms of renewable energy resources, such as geothermal, wind, and solar energy. This study examines the economic feasibility of green hydrogen production by water electrolysis using wind and geothermal energy resources in the Asal–Ghoubbet Rift (AG Rift), Republic of Djibouti. It is the ﬁrst study in Africa that compares the cost per kg of green hydrogen produced by wind and geothermal energy from a single site. The unit cost of electricity produced by the wind turbine (0.042 $/kWh) is more competitive than that of a dry steam geothermal plant (0.086 $/kWh). The cost of producing hydrogen with a suitable electrolyzer powered by wind energy ranges from $0.672/kg H 2 to $1.063/kg H 2 , while that produced by the high-temperature electrolyzer (HTE) powered by geothermal energy ranges from $3.31/kg H 2 to $4.78/kg H 2 . Thus, the AG Rift area can produce electricity and green hydrogen at low-cost using wind energy compared to geothermal energy. The amount of carbon dioxide (CO 2 ) emissions reduced by using a “Yinhe GX113-2.5MW” wind turbine and a single ﬂash geothermal power plant instead of fuel-oil generators is 2061.6 tons CO 2 /MW/year and 2184.8 tons CO 2 /MW/year, respectively.


Introduction
The Republic of Djibouti is located in the Horn of Africa, at the intersection of the Red Sea and the Indian Ocean ( Figure 1). Djibouti benefits from a geostrategic position over the world's main shipping road, and it is the natural outlet for the landlocked countries in the region. On the other hand, the Republic of Djibouti is one of several African countries located on the East African Rift System (EARS) ( Figure 1). As in other rifting zones, the EARS activity corresponds to large seismic, tectonic, and volcanic activities [1]. This unique geodynamical environment puts the Republic of Djibouti in an excellent position to develop geothermal energy. Indeed, the Republic of Djibouti, one of the few countries with geothermal potential in Africa, is endowed with a substantial amount of this energy, which is found scattered along the Gulf of Tadjourah ridge and the western part of the country (Supplementary Figure S1) [2,3]. However, the most geologically active area in Djibouti is the Lake Asal area, and the AG Rift is one of two emergent oceanic ridges globally, the other being in Iceland [1]. Therefore, several studies have been carried out on the Republic of Djibouti geothermal areas to either select the most favorable geothermal prospects for exploration by deep drilling or estimate their geothermal potential [2][3][4][5][6][7][8].
In addition to electricity production, wind and geothermal energies can also generate green hydrogen via the water electrolysis process, which consists of splitting the water molecule under the effect of an electric current [18,19]. Despite the growth of the hydrogen market as a promising energy source, conventional routes for hydrogen production, i.e., from fossil fuels, have negative environmental impacts [20]. However, the power-to-gas concept, based on water electrolysis using electricity from renewable energy sources (wind, solar, geothermal), is the most environmentally friendly approach. Water electrolysis, a mature technique with relatively good efficiency [21,22], currently accounts for 4% of hydrogen production, but this is expected to expand significantly in the coming years, with a 22% market share projected for 2050 [23]. The Government of Djibouti has established an ambitious long-term development plan to improve energy access and energy security as a primary strategic focus by using alternative energy sources. Indeed, the Republic of Djibouti is endowed with strong potential in terms of renewable energy resources in addition to geothermal energy, such as wind and solar [9][10][11][12]. The plan aims at diversifying energy resources and focusing on renewable energy, which the country is endowed with, such as wind and solar and geothermal energy [9][10][11][12]. Furthermore, the Republic of Djibouti is among the fifteen African countries having the best wind resource potential [13], Wind energy is the world's fastest growing renewable energy technology [14,15]. For example, Zhang et al. [16] used two years of wind data measured at four heights above sea level to determine the wind potential of the southern coast of Pakistan. Soltani et al. [17] investigated the environmental, economic, and social impacts of geothermal energy systems. They provided a detailed review of barriers and highlighted options for increasing the global geothermal energy capacity and production needed to meet "net-zero" carbon emission goals [17].
In addition to electricity production, wind and geothermal energies can also generate green hydrogen via the water electrolysis process, which consists of splitting the water molecule under the effect of an electric current [18,19]. Despite the growth of the hydrogen market as a promising energy source, conventional routes for hydrogen production, i.e., from fossil fuels, have negative environmental impacts [20]. However, the power-to-gas concept, based on water electrolysis using electricity from renewable energy sources (wind, solar, geothermal), is the most environmentally friendly approach. Water electrolysis, a mature technique with relatively good efficiency [21,22], currently accounts for 4% of hydrogen production, but this is expected to expand significantly in the coming years, with a 22% market share projected for 2050 [23].
The primary consumers of hydrogen are the oil refining, metallurgy, chemical, and pharmaceutical industries. The growth of the above-mentioned industries leads to an increase in hydrogen demand. Numerous studies have investigated the integration of renewable energy for green hydrogen production. Ishaq and Dincer [24] performed a comparative assessment of renewable energy-based hydrogen production methods (i.e., Biomass, solar and geothermal). Hydrogen production using the biomass gasification technique offers higher energetic and exergetic efficiencies than the hydrogen production system using geothermal or solar energy [24]. Al-Sharafi et al. [25] investigated the potential of power generation and hydrogen production via solar and wind energy resources at different locations in Saudi Arabia. The optimization results showed that the minimum levelized cost of energy is 0.609 USD/kWh, and the cost of hydrogen production (COH) is 43.1 USD/kg. Mostafaeipour et al. [26] investigated the suitable areas in Afghanistan for harvesting wind energy for hydrogen production. On the other hand, few studies have been conducted on electricity and hydrogen production using wind energy in Africa countries [22,27]. Ayodele and Munda assessed the potential and cost-efficiency of green hydrogen production from South Africa's wind energy resources [22]. They reported a potential annual production of 6.51-226.82 metric tons of hydrogen and a minimum production cost of $1.4-39.55/kg, depending on the wind turbine model used. On the other hand, the geothermal-assisted hydrogen production cost based on water electrolysis can compete with other renewable energy resources such as wind power [28]. Indeed, Rahmouni et al. performed an environmental investigation on a geothermal-based hydrogen production process, where the cost of the produced hydrogen was estimated at about $8.24/kg H 2 [29]. Yilmaz et al. realized the thermoeconomic evaluation of hydrogen production by the binary geothermal power plant and estimated the cost at $2.366/kg H 2 [30]. In another study, Yilmaz et al. [31] performed a thermodynamic and economic analysis of a geothermal energy-assisted hydrogen production system using real-time artificial neural networks on a field programmable gate array. The overall exergy efficiency of the system, the unit cost of the produced hydrogen, and the simple payback period of the system were calculated as 7978 kW, 38.37%, 1.088 $/kg H 2 , and 4.074 years, respectively.
The main contribution of this study is to compare the economic feasibility of hydrogen production by water electrolysis from wind and geothermal energy resources for a given site in Africa. Indeed, to the best of our knowledge, no study of green hydrogen production using geothermal energy has been conducted so far in Africa. In this regard, this paper analyzes the cost of green hydrogen production from wind and geothermal energy in the Asal-Ghoubbet region, located in the southwestern part of the Republic of Djibouti, thus helping potential investors and developers of hydrogen production units in the Republic of Djibouti. In sum, the contributions of this work are: 1.
The analysis of the wind energy potential of the Ghoubbet region 2.
The selection of the most appropriate wind turbine and electrolyzer for electricity and hydrogen production in the study area 3.
The performance of thermodynamic analysis to select the appropriate geothermal energy production processes for the Rift AG region 4.
Estimating the cost per Kg of hydrogen produced by combining a geothermal power plant in the Rift AG with an appropriate electrolyzer 5.
Evaluating the CO 2 emission reduction of wind and geothermal energy in the study area.

Site Description
The Republic of Djibouti is located in the Horn of Africa, bounded by Eritrea to the north, Ethiopia to the west and southwest, and Somalia to the southeast ( Figure 1). The Köppen-Geiger climate classification of the area ranges from "hot desert" to "semi-arid" with a low precipitation regime and annual mean rainfall of 150 mm (climate type codes BWh and BSh, respectively) [32,33]. Two seasons predominate: a cool season (winter) from October to April with a monthly mean temperature of 20-30˝C and a hot season (summer) from May to September with a monthly mean temperature of 30-45˝C. In summer, an equatorial westerly wind zone dominates, and the mean temperature increases to between 30 and 45˝C with a high rate of evapotranspiration amounting to 2000 mm per year [7,8]. As shown in Figure 1, the AG Rift is located in an area that extends from the Arta region to the Tadjourah region. The Asal-Ghoubbet region, a land barrier of 12 km long and 10 km wide, of volcano-tectonic type, is a very recent active rift fewer than one million years old [34]. It encompasses the Asal Lake and the Ghoubbet al Kharab Gulf.

Wind Data Source
The present study uses wind data measured at meteorological stations installed by the Djibouti Centre for Research and Studies (CERD in French) at Ghoubbet (Latitude 11.5382˝; Longitude 42.4119˝, Figure 1). The wind speed data were collected and measured at three heights (i.e., 20 m, 40 m and 60 m) for a 10-min time interval throughout 2014-2015. The wind speeds are recorded using NRG#40C anemometers with an accuracy of 0.1 m/s in the range 1-96 m/s [35]. All data were checked thoroughly to identify any values that are outside the range of the sensors. The wind directions are recorded using an NRG 200P wind vane. A barometric pressure sensor (BP200) and temperature sensor (NRG 100S) were enclosed in a circular six-plate radiation shield to ensure accurate measurements and mounted on the tower. Further details regarding the tower, the instruments, and the support structure can be found on the website of NRG systems [35].

Methodology
The feasibility of green hydrogen production from wind and geothermal energy in the Republic of Djibouti was assessed using the following approach ( Figure 2): (1) assessment of the wind and geothermal energy in the study area, (2) selection of the most suitable wind turbine and geothermal power plant, (3) assessment of the levelized cost of electricity ($/kWh) produced from wind and geothermal energy, (4) selection of the most appropriate electrolyzer, (5) evaluation of the levelized cost of hydrogen ($/kg), (6) evaluation of the CO 2 savings for wind and geothermal energy, (7) comparison of the levelized cost of hydrogen produced by an electrolyzer powered by wind and geothermal energy. The proposed research framework is based on the flowchart given in Figure 2.

Weibull Density Function
The Weibull distribution model is applied for describing and analyzing wind data. This function is used to predict the characteristics of prevailing wind profile precisely [36]. To use the Weibull probability distribution, it is necessary to calculate two parameters, the scale parameter (k) and the dimensionless shape factor (c). Indeed, the two parameter Weibull distribution f (v) of measured wind speed v (m/s) and the cumulative distribution of Weibull are defined by the following equation [37,38]: In the literature, several methods to estimate the scale and shape parameters of the Weibull distribution function are reported [39]. In this study, four methods available are selected to estimate the Weibull parameters, namely the maximum likelihood method, WAsP method, moment method, and empirical method of Jestus. These methods have been detailed in the Supplementary Material. Root mean square error, determination of coefficient, and mean bias error are computed to validate and compare the computed results.

Weibull Density Function
The Weibull distribution model is applied for describing and analyzing wind data. This function is used to predict the characteristics of prevailing wind profile precisely [36]. To use the Weibull probability distribution, it is necessary to calculate two parameters, the scale parameter (k) and the dimensionless shape factor (c). Indeed, the two parameter Weibull distribution f(v) of measured wind speed v (m/s) and the cumulative distribution of Weibull are defined by the following equation [37,38]: In the literature, several methods to estimate the scale and shape parameters of the Weibull distribution function are reported [39]. In this study, four methods available are selected to estimate the Weibull parameters, namely the maximum likelihood method, WAsP method, moment method, and empirical method of Jestus. These methods have been detailed in the Supplementary Material. Root mean square error, determination of coefficient, and mean bias error are computed to validate and compare the computed results.

Wind Shear Coefficient
Estimating the wind power generated by any wind turbine, the wind speed should be observed at the turbine hub height. However, in most cases, wind speeds are observed at a height different from the turbine hub height. In this case, the power-law

Wind Shear Coefficient
Estimating the wind power generated by any wind turbine, the wind speed should be observed at the turbine hub height. However, in most cases, wind speeds are observed at a height different from the turbine hub height. In this case, the power-law method is the most commonly used to adjust the wind speed to the turbine hub-height as follows [40]: where V 2 and V 1 are the wind velocities at heights Z 2 and Z 1 , respectively, and α is the wind shear coefficient or power exponent.

Wind Power Density
The wind power density (PD) is an indicator used to evaluate the available wind energy. The PD represents the flux of kinetic energy available in the wind per unit area, according to the wind speed V and air density ρ. It can be assessed using the following equation [41]: where v i is the measured wind speed for every 10 min period expressed in m/s and N is the total number of sample data for each year. ρ is the air density in kg/m 3 (ρ = 1.225 kg/m 3 at the sea level).

Annual Energy Production
The total amount of energy produced and the capacity factor of a turbine are essential indicators used to assess the performance and economic sustainability of wind turbines at a specific location. The wind turbine annual energy production (E out ) over a desired period can be calculated as follows [42]: Furthermore, the capacity factor (C f ), the ratio of energy produced annually from a wind turbine (E out ) and annual rated power (Er), can be defined as fellows [43]:

Geothermal Resources Assessment
The geothermal resources in the Asal-Ghoubbet area were evaluated using the volumetric method according to the United States Geological Survey (USGS) [44]. This method assesses the total geothermal energy in the fluids and the rock masses of the reservoir. Moreover, the volumetric method is combined with the Monte Carlo method to minimize parameter uncertainty. A brief description of the Monte Carlo simulation method parameters is presented in the Supplementary Material. The electrical potential of the geothermal reservoir can be evaluated using the following equation [45]: In this study, the single flash and dry steam systems are considered for geothermal power generation. The thermodynamic performance of these two systems is evaluated in terms of energy and exergy efficiency. The details of the thermodynamic evaluation are reported in the Supplementary Material. The electrolyzer uses the energy produced by the geothermal plant to produce hydrogen from water.

Hydrogen Production from Wind Energy
Hydrogen can be generated through water electrolysis by using renewable energy, such as wind and geothermal energy. The proposed system for converting wind and geothermal energy to produce hydrogen is shown in Figure 3. An AC/DC converter delivering the quantity of energy required by the electrolyzer for its operation under real conditions is also employed. The efficiency of the converter is assumed to be 90% [46]. There are several types of electrolyzer in the literature. In this study, the polymer electrolyte membrane electrolyzer (PEME), high temperature electrolyzer (HTE), and alkaline water electrolyzer (AWE) were used because of their good ability for integration with renewable energy systems. For PEME and AWE electrolyzers, the water temperature is between 60 and 90˝C [47], while for the high temperature electrolyzer (HTE), the water temperature can vary from 800 to 1000˝C [48].
Considering the amount of hydrogen that could be produced yearly by each electrolyzer, the annual wind turbine energy has a direct relationship with production and can be formulated with the following mathematical equation [46]: There are several types of electrolyzer in the literature. In this study, the polymer electrolyte membrane electrolyzer (PEME), high temperature electrolyzer (HTE), and alkaline water electrolyzer (AWE) were used because of their good ability for integration with renewable energy systems. For PEME and AWE electrolyzers, the water temperature is between 60 and 90 °C [47], while for the high temperature electrolyzer (HTE), the water temperature can vary from 800 to 1000 °C [48]. Considering the amount of hydrogen that could be produced yearly by each electrolyzer, the annual wind turbine energy has a direct relationship with production and can be formulated with the following mathematical equation [46]:

Hydrogen Production from Geothermal Energy
The thermodynamic evaluation of geothermal energy is a prerequisite for using this renewable energy in green hydrogen production. Therefore, both reversible and irreversible system operations were considered to evaluate the cost of hydrogen production. The maximum specific work that can be provided by a geothermal power plant, using a resource of a reference temperature in an environment whose temperature is is given by the following mathematical expression [49]: Indeed, the geofluid in the reservoir is assumed to be an incompressible liquid. The minimum work required in (kJ/kg) for the electrolyzer in ideal (Equation (10)) and nonideal (Equation (11)) operation can be expressed as follows [49]:

Hydrogen Production from Geothermal Energy
The thermodynamic evaluation of geothermal energy is a prerequisite for using this renewable energy in green hydrogen production. Therefore, both reversible and irreversible system operations were considered to evaluate the cost of hydrogen production. The maximum specific work that can be provided by a geothermal power plant, using a resource of a reference temperature T s in an environment whose temperature is T 0 is given by the following mathematical expression [49]: Indeed, the geofluid in the reservoir is assumed to be an incompressible liquid. The minimum work required in (kJ/kg) for the electrolyzer in ideal (Equation (10)) and nonideal (Equation (11)) operation can be expressed as follows [49]: The amount of hydrogen produced per unit of geofluid is defined as the ratio of the work output from the geothermal plant to that of the electrolyzer. For reversible operations, it can be evaluated with the following equation [49]:

Economic Assessment of Wind Energy
To estimate and compare the viability of electricity generation based on wind technology, the most widely used economic indicator is the levelized costs of energy (LCOE) [50]. It is defined as the total investment cost required for one unit of electricity produced during a period. Thus, in the case of wind power, the following mathematical expression can be used to evaluate the cost assessment [51]: C I = rated power (kw)ˆC Aspec ($/kW)ˆ(1 + variable capital cost as a fraction) (14)

Economic Evaluation of Geothermal Energy
The cost of geothermal electricity takes into account several factors, such as the cost of drilling and construction; annual operation and maintenance expenses; financial rates; the type of geothermal resource (steam or hot water); the productivity of the reservoir; the size and type of geothermal plant considered, etc. [52]. The levelized cost of electricity generated by geothermal energy can be calculated using the following formula [53,54]: However, in this study, the additional cost of capital investment for drilling and completion is taken into account and can be evaluated with the following equations [55,56]:

Hydrogen Cost from Wind and Geothermal Energy
In order to compare and evaluate the economic viability of hydrogen production powered by wind or geothermal energy, LCOH is used. The LCOH of green hydrogen produced from wind energy can be estimated using the following mathematical equations [46]: The economic evaluation of hydrogen production from geothermal energy can be calculated as follows [57]: M OM " 0.41H´0 .23 (25) I c " 0.5H´0 .025 (26) Two models of electrolyzer were considered for green hydrogen production from geothermal energy (i.e., PEME and HTE) and wind energy (i.e., PEME, AWE). The performance characteristics of the electrolyzers are given in Supplementary Table S1.

Energy and Exergy Analysis
Energy and exergy analyses are performed on the dry steam and single flash configuration systems (Figures 4 and 5), considering the operating conditions presented in Supplementary Tables S2 and S3. Further, an average geothermal reservoir temperature and mass flow rate of 306˝C and 40 kg/s respectively were used in the thermodynamic modelling [58,59] Two models of electrolyzer were considered for green hydrogen production geothermal energy (i.e., PEME and HTE) and wind energy (i.e., PEME, AWE). Th formance characteristics of the electrolyzers are given in Supplementary Table S1.

Energy and Exergy Analysis
Energy and exergy analyses are performed on the dry steam and single flas figuration systems (Figures 4 and 5), considering the operating conditions presen Supplementary Tables S2 and S3. Further, an average geothermal reservoir tempe and mass flow rate of 306 °C and 40 kg/s respectively were used in the thermody modelling [58,59].

Wind Resource Analysis
We analyzed measured wind data collected at the Ghoubbet site. Temporal wind speed data were recorded for two years with 10-min intervals and preprocessed by converting them into hourly and monthly mean wind speeds at 80 m. A statistical analysis of the wind data was first performed, which predicted the energy output of a typical wind energy conversion. The wind potential characterization is based on the Weibull statistical distribution. Average wind speeds and wind characteristics are inferred from the temporal distribution of the study site. Four Weibull methods (i.e., moment method

Wind Resource Analysis
We analyzed measured wind data collected at the Ghoubbet site. Temporal wind speed data were recorded for two years with 10-min intervals and preprocessed by converting them into hourly and monthly mean wind speeds at 80 m. A statistical analysis of the wind data was first performed, which predicted the energy output of a typical wind energy conversion. The wind potential characterization is based on the Weibull statistical distribution. Average wind speeds and wind characteristics are inferred from the temporal distribution of the study site. Four Weibull methods (i.e., moment method (MM), empirical methods of Jestus (EMJ), WAsP, and maximum likelihood method (MLM)) were used to predict the existing wind potential at the height of 80 m. The Weibull distribution and cumulative density function at the AG Rift are shown in Figure 6a Analysis of the distribution diagram reveals that the moment method (MM), empirical method of Jestus (EMJ), and maximum likelihood method (MLM) have the best accuracy in terms of the Weibull distribution compared to the WAsP Method (WM), which underestimates the wind distribution (Figure 6a). This difference is also noticed in the cumulative density function (Figure 6b), where the three methods are homogeneous compared to the WM values. Statistical tests of R 2 , RMSE, and MAE were also performed to strengthen this evaluation in respect of the quantitative approach. In our case, the values of the Weibull shape parameter (k) range from 2.65 to 2.96 at Asal-Ghoubbet at the height 80 m (Table 1). In our case, the Weibull shape parameter (k) values range from 2.65 to 2.96 at Asal-Ghoubbet at the height of 80 m ( Table 1). The Weibull scale pa- Analysis of the distribution diagram reveals that the moment method (MM), empirical method of Jestus (EMJ), and maximum likelihood method (MLM) have the best accuracy in terms of the Weibull distribution compared to the WAsP Method (WM), which underestimates the wind distribution (Figure 6a). This difference is also noticed in the cumulative density function (Figure 6b), where the three methods are homogeneous compared to the WM values. Statistical tests of R 2 , RMSE, and MAE were also performed to strengthen this evaluation in respect of the quantitative approach. In our case, the values of the Weibull shape parameter (k) range from 2.65 to 2.96 at Asal-Ghoubbet at the height 80 m (Table 1). In our case, the Weibull shape parameter (k) values range from 2.65 to 2.96 at Asal-Ghoubbet at the height of 80 m ( Table 1). The Weibull scale parameter (c) varies between 11.19 m/s and 11.25 m/s (Table 1). Indeed, the most accurate method is used to estimate the capacity factor of the Ghoubbet wind speed regime. The performance of the Weibull methods in Table 1 reveals that the moment method has the highest value of coefficient of determination (R 2 ) and the lowest value of mean square error (RMSE) and mean absolute error (MAE). On this basis, the moment method is the most appropriate for estimating the Weibull parameter in Asal-Ghoubbet. The EMJ method presents satisfactory results to fit the wind speed observations at a level of 80 m at Asal-Ghoubbet (Table 1). On the other hand, the average wind speeds predicted by the four methods are about 10 m/s, indicating that the match to the measured data is very high (Supplementary Table S2). The wind speed data at the height of 80 m were extrapolated from the wind data measured at the height of 60 m using the lowest power coefficient. The average annual power density is estimated to be about 904.45 W/m 2 for an altitude of 80 m at the Ghoubbet location.
According to the power density classification established as [11]:  Table S4).

Performance of Wind Turbine
Supplementary Table S5 shows the characteristics of the different wind turbine models considered in our study, ranging in capacity from 1 to 5 MW [60]. This allows for the selection of the most suitable turbine for the wind regime at the given site.
The performance of the wind turbine is evaluated in terms of capacity factors. Indeed, a turbine with a capacity factor (C f ) below the limit of 0.25 cannot be used for wind power generation. While a C f value higher than 0.5 ensures a significant conversion of wind energy into electricity [61]. Therefore, the most suitable turbine has the highest possible C f value. The annual energy production (E out ) and the C f at 80 m hub height are reported in Supplementary Table S5. The annual wind energy production for the 42 wind turbines varies from 1677. 45 MWh/year to 30,335. 40 MWh/year, which depends on the wind turbine technology.

Cost Analysis for Wind Energy Generation
The economic evaluation is based on the selected wind turbine "Yinhe GX113-2.5MW" of 80 m height that best matches the wind regime for the Ghoubbet area. This turbine showed the most interesting capacity factor (0.8496) and annual electricity production (Table S5). Table 2 shows the economical parameters of a "Yinhe GX113-2.5MW" turbine with a capacity of 2.5 MW. The initial investment for such a turbine is estimated to be about $4,000,000 (i.e., an average specific cost of $1600 USD/kW is assumed). Installation costs, the cost of logistical transport of the equipment to the site, and other variable costs are estimated at 30% of the initial investment. The annual operation and maintenance cost (CO&M) is 25% [11]. The present value cost (PVC) of power generation from the "Yinhe GX113-2.5MW" turbine over 20 years is therefore estimated to be about US$15,640,958.47. The annual energy produced by the "Yinhe GX113-2.5MW" turbine is about 18,606. 64 MWh/year. The cost of wind energy produced by the selected turbine in the Ghoubbet area is estimated at 0.042 USD per KWh ( Table 2). The annual economic analysis of wind power generation is provided in Supplementary Table S6.

Hydrogen Production from Wind Energy
Wind energy can be easily coupled with an electrolyzer to produce green hydrogen from water splitting processes. Both the alkaline water electrolyzer (AWE) and the polymer membrane exchange electrolyzer (PEME) are commercially available in different sizes. Supplementary Table S1 shows three size classes (i.e., small, medium, and large) of these two types of electrolyzers. Furthermore, a converter with 90% efficiency was considered for the present study. The most suitable production capacity observed for the PEME electrolyzer is the medium sized one with a production of about 310.1 tons H 2 /year (Supplementary Table S7). Regarding the AWE electrolyzers, the large size was the most suitable with a production capacity of about 398.7 tons H 2 /year (Supplementary Table S7).
The total investment cost is related to the amount of hydrogen produced, which varies according to the available energy. The energy produced by the "Yinhe GX113-2.5MW" wind turbine could run three AWE l or 14 PEME m electrolyzers. The capital costs for the three AWE l and 14 PEME m electrolyzers are estimated to be $4,629,860 and $3,463,096, respectively (Table 3).

Electrical Power Analysis
Four geothermal wells were drilled in the AG Rift in the late 1980s [58]. However, some parameters were not reported for these geothermal wells to use the USGS volumetric method to estimate the geothermal energy of the AG Rift system. Therefore, the missing parameters were supplemented with data from geothermal areas with similarities to the AG Rift (Supplementary Table S8). The result of the USGS volumetric method show that the geothermal potential of Asal-Goubbet could contain potential energy of about 67.18 MWe. Table 4 shows the result of the thermodynamic assessment of dry steam and a single flash cycle. Since the highest value of thermal, operating, and isentropic efficiencies is demonstrated by dry steam compared to single flash, the former system is therefore thermodynamically interesting compared to the performance of single flash (Table 4). Further, the thermodynamics calculation predicted 22.22 MW for dry steam and 4.9 MW for single flash, considering the geothermal reservoir's preliminary mass flow and temperature conditions in the study area.  Table S11). The electrical production cost of the dry steam and single flash geothermal power plant is estimated to be 8.66 $cents/KWh and 12.53 $cents/KWh, respectively (Supplementary Tables S9 and S10).

Hydrogen Production from Geothermal Energy
The economic analysis of two electrolyzers (i.e., PEME m and HTE) coupled with dry steam and a single flash geothermal plant is performed. The thermodynamic analysis results show that with a temperature of 306˝C in the AG Rift geothermal reservoir and a dead state temperature of 25˝C, the maximum specific work is estimated to be about 362.05 kJ/kg of geothermal water (Table 5).

Wind Energy
The analysis of the distribution diagram reveals that the moment method (MM), empirical method of Jestus (EMJ), and maximum likelihood method (MLM) have the best accuracy in terms of the Weibull distribution compared to the WAsP Method (WM), which underestimates the wind distribution (Figure 6a). This difference is also noticed in terms of the cumulative density function (Figure 6b), where the three methods are homogeneous compared to the WM values.
The performance of the Weibull methods in Table 1 reveals that the moment method has the highest value of the coefficient of determination (R 2 ) and the lowest value of mean square error (RMSE) and mean absolute error (MAE). On this basis, the moment method is the most appropriate for estimating the Weibull parameter in Asal-Ghoubbet. The EMJ method presents satisfactory results to fit the wind speed observations at a level of 80 m at Asal-Ghoubbet (Table 1). On the other hand, the average wind speeds predicted by the four methods are about 10 m/s, indicating that the match to the measured data is very high (Supplementary Table S4).
In addition, the wind potential of Ghoubbet reveals a promising site for the installation of a large-scale wind farm for electricity and hydrogen production. Moreover, the power densities predicted by the four Weibull fitting methods are estimated to be 921.3745 W/m 2 , 912.1199 W/m 2 , 919.1252 W/m 2 , and 878.3873 W/m 2 , respectively, for the MM, the MLM, the EMJ, and the WM. Nevertheless, the average monthly wind power density depends on the season. It can be observed that for the season June-September, the power density is at its lowest (192 to 194 W/m 2 ) for the year 2015 ( Figure 7a) and can reach a wind speed below 5 m/s in several hours (Figure 7b). The performances of 42 wind turbines were analyzed in terms of energy production and capacity factors to allow for the selection of the turbine that best matches the wind regime of the given site. The calculated C f of the 42 turbines ranges from 0.114 to 0.849 (Supplementary Table S5). The Yinhe GX113-2.5MW turbine with a height of 80 m was found to be the best turbine model with a C f of 84.9% for Asal-Ghoubbet (Supplementary Table S5). The annual energy produced by the "Yinhe GX113-2.5MW" turbine is about 18,606.64 MWh/year. According to the result, the capacity factor is high when the values of cut-in speed, rated speed, and cut-out speed are low. Therefore, the selected wind turbine was used to evaluate the economic feasibility of electricity generation and hydrogen production in the Asal-Ghoubbet area. The levelized cost of the electricity produced by this wind turbine in the Ghoubbet area is estimated at 0.042 USD per KWh ( Table 2). The annual economic analysis of wind power generation is provided in Supplementary Table S6. An annual analysis of environmental issues related to wind power performance, including a degradation rate, is presented in Supplementary Table S14.
In order to compare the cost hydrogen produced using wind energy, two electrolyzer models (PEME and AWE) with different sizes were analyzed. The cost of hydrogen production from wind turbines ranges between 0.680 $/kg H2 and 7.187 $/kg H2, depending on the electrolyzer models and capacities (Supplementary Table S7). Furthermore, between the two suitable electrolyzers selected in this study, the PEMEm has a more attractive cost than the AWEl (Table 3, and Supplementary Table S7). The cost of hydrogen production was estimated to be 1.063 $/kg and 0.68 $/kg for AWEl and PEMEm electrolyzers, respectively (Table 3). Since the cost of green hydrogen can vary from 1.4 to 7.9$/ kg according to Ayodele and Munda, 2019 [20], our results would indicate the competitiveness of wind-generated green hydrogen at Asal-Ghoubbet Rift. Therefore, the selected wind turbine was used to evaluate the economic feasibility of electricity generation and hydrogen production in the Asal-Ghoubbet area. The levelized cost of the electricity produced by this wind turbine in the Ghoubbet area is estimated at 0.042 USD per KWh ( Table 2). The annual economic analysis of wind power generation is provided in Supplementary Table S6. An annual analysis of environmental issues related to wind power performance, including a degradation rate, is presented in Supplementary Table S14.
In order to compare the cost hydrogen produced using wind energy, two electrolyzer models (PEME and AWE) with different sizes were analyzed. The cost of hydrogen production from wind turbines ranges between 0.680 $/kg H 2 and 7.187 $/kg H 2, depending on the electrolyzer models and capacities (Supplementary Table S7). Furthermore, between the two suitable electrolyzers selected in this study, the PEME m has a more attractive cost than the AWE l ( Table 3, and Supplementary Table S7). The cost of hydrogen production was estimated to be 1.063 $/kg and 0.68 $/kg for AWE l and PEME m electrolyzers, respectively (Table 3). Since the cost of green hydrogen can vary from 1.4 to 7.9 $/kg according to Ayodele and Munda, 2019 [20], our results would indicate the competitiveness of wind-generated green hydrogen at Asal-Ghoubbet Rift.

Geothermal Energy
The quantification of uncertainties in the probability distribution parameters can be dealt with quite well using the Monte Carlo simulation method (Figure 8, Supplementary  Figures S4-S10). Thus, the low, best, and high estimates of AG Rift megawatts can be represented by the probability of P90, P50, and P10, which correspond to 28.385 MWe, 57.729 MWe, and 103.868 MWe, respectively (Supplementary Table S11). This result implies a preliminary assessment of the energy potential of 8.73 MWe/km 2 for a maximum duration of 25 years. However, the prediction of the geothermal potential should be studied further with a more accurate assessment (Supplementary Table S11).

Geothermal Energy
The quantification of uncertainties in the probability distribution parameters can dealt with quite well using the Monte Carlo simulation method (Figure 8, Supplem tary Figures S4-S10). Thus, the low, best, and high estimates of AG Rift megawatts be represented by the probability of P90, P50, and P10, which correspond to 28. MWe, 57.729 MWe, and 103.868 MWe, respectively (Supplementary Table S11). This sult implies a preliminary assessment of the energy potential of 8.73 MWe/km 2 fo maximum duration of 25 years. However, the prediction of the geothermal poten should be studied further with a more accurate assessment (Supplementary Table S11 (a) (b) In order to assess the uncertainty of the volumetric parameters in the potential g thermal estimate of the Rift AG, it is useful to decipher the degree of influence of th parameters using the sensitivity analysis approach. Figure 8b shows the sensitivity the AG Rift electric potential estimation for to the main parameters over a range of va tion of ±50%. It can be noted that the degree of influence of these parameters on the g thermal potential is not the same. For example, when the area, thickness, recovery fac In order to assess the uncertainty of the volumetric parameters in the potential geothermal estimate of the Rift AG, it is useful to decipher the degree of influence of these parameters using the sensitivity analysis approach. Figure 8b shows the sensitivity of the AG Rift electric potential estimation for to the main parameters over a range of variation of 50%. It can be noted that the degree of influence of these parameters on the geothermal potential is not the same. For example, when the area, thickness, recovery factor, conversion efficiency, and specific heat capacity parameters of the AG Rift rock separately increase by 50%, the total geothermal energy estimate increases from 74.33 MWe to 111.49 MWe. However, the porosity parameter does not directly influence the AG Rift geothermal energy estimate, whether it increases or decreases by 50% (Figure 8b). Further, an overall sensitivity analysis was performed using a˘10/60% increase and decrease in the mean value of the key parameters (Supplementary Figure S11).
In the Monte Carlo simulation, the most significant and positive correlation (0.73) with the geothermal energy potential of the AG rift is found to be with the recovery factor parameter ( Figure S12). In other words, the higher the value of the recovery factor, the greater the geothermal potential of the AG Rift.
Thus, our result is very consistent with the LCOE proposed by Abdallah et al. [64]. Furthermore, assuming an average capacity of 2.5 MW per geothermal well at AG Rift, it should be noted that to maintain power generation at a constant level with a single flash plant, two additional 2.5 MW wells may be required for approximately eight years of service. While for a 22.22 MW dry steam plant, ten additional wells would have to be operational for three years of regular electricity production. Therefore, the total cost of 3-11 geothermal wells required to generate electricity for a single flash and a dry steam could be $38,893,581 and $142,609,797, respectively. It should also be noted that in our economic evaluation we have included the cost of drilling one well in the unit cost of electricity supplied by AG Rift's dry steam and single expansion plant (Supplementary  Tables S9 and S10).
Assuming a liquid inlet state of one atm and a saturated liquid, the reversible specific work provided by the PEME m electrolyzer shows that 324.97 kg of geothermal water is required to produce 1 kg of hydrogen, whereas under non-ideal operation this could be as much as 526.45 kg of AG rift geothermal water. Moreover, we found that 253.72 kg of geothermal water using the HTE electrolyzer could produce 1 kg of hydrogen in the reversible case and can reach 296.61 kg for the non-ideal operation. Furthermore, the annual hydrogen production capacity varies from 451.51 tons H 2 /year to 6453.78 tons H 2 /year ( Table 5). The annual O&M and yearly electrical cost for hydrogen production in different conditions (reversible and irreversible) are given in Supplementary Table S12.
The unit cost of hydrogen production ranges from $3.31/kg H 2 to $8.16/kg H 2 depending on the electrolyzer models/sizes (Table 5). Despite the high green hydrogen production capacity of the HTE electrolyzer relative to the PEME electrolyzer with the same energy input, it should be noted that the PEME is economically reliable, due to its 20-year life span [22,65]. At the same time, the operation life of the HTE electrolyzer is 10 years (Supplementary Table S1).

Overall Comparison
A comparative analysis is performed to evaluate the technical and economic aspects of hydrogen production with wind and geothermal energy ( Table 6). In this study, wind power would produce 124.04 tons/MW/yr, while dry steam and single flash geothermal plants would produce 91.92 and 91.96 tons/MW/yr, respectively (Table 6). In addition, the fossil oil barrels saved by dry steam and single flash geothermal power plants would be about 4811.216 bbl/MW/yr and 4809.354 bbl/MW/yr, respectively (Table 6). On the other hand, wind power could save 4540.02 bbl/MW/year. An annual analysis of environmental issues related to wind power performance, including a degradation rate, is presented in Supplementary Table S14. In the present study, the cost of wind-generated electricity is $0.042/kWh. However, the cost of geothermal power in the study area is higher (i.e., $0.086/kWh for dry steam and $0.125/kWh for single flash), probably due to the higher capital cost. This is likely because the study area has a high available wind potential relative to geothermal potential. In other words, the limited data available for geothermal energy in the study area show the difficulties of exploiting this renewable energy, especially due to the very high salinity of the geothermal fluid, which leads to the clogging of geothermal wells [58].  Table S15). This indicates a better exergo-environmental performance of the system concerning its unusable waste exergy output and exergy destruction [66]. Furthermore, the improvement in the previous index is estimated to be 1.18 for the dry steam geothermal power plant, while it is 0.45 for a single flash geothermal power plant. This indicates that the dry steam geothermal power plant is more beneficial for the environment (Supplementary Table S15).
The cost of hydrogen production depends on the amount of hydrogen that renewable energy sources can produce. In this study, it is clear that the use of wind energy results in the lowest cost of hydrogen production ($0.672/kg) compared to the use of geothermal energy. Indeed, the greater amount of hydrogen produced by wind energy compared to geothermal energy, in this case, would probably explain the low cost of hydrogen produced by wind energy. On the other hand, it has been observed for the study area that the investment cost of wind energy seems to be lower than that of geothermal energy. The cost of hydrogen production is estimated to be about $5.80/kg H 2 and $8.16/kg H 2 for dry steam and simple flash, respectively.
Hydrogen production via electrolysis using renewable energy resources provides a sustainable and environmentally friendly energy solution. The result obtained in the present study is promising and shows that by using renewable energies, such as wind and geothermal energy, it is technically and economically feasible to produce green hydrogen at a low cost at the Asal-Ghoubbet site. However, further research is needed to simulate other green hydrogen production scenarios and to study the interface with other renewable energy sectors.

Conclusions
The wind speed potential in the Asal-Ghoubbet rift zone was evaluated with the Weibull distribution. A comparison of 42 wind turbines in the power range of 1-5 MW was conducted to assess their performance in adapting to the wind speed regime of Ghoubbet at 80 m height, as well as for the evaluation of unit costs of electricity produced. The Yinhe GX113-2.5MW wind turbine was found to be the most efficient in terms of energy production (18,606.6 MWh/year) and to have the lowest unit electricity cost ($0.042/KWh) for this site. PEME m and AWE l electrolyzers could produce approximately 124.04 tons H 2 /MW/year and 159.48 tons H 2 /MW/year, respectively. The cost of producing hydrogen from a Yinhe GX113-2.5MW wind turbine was estimated to be $1.045/kg H 2 and $0.672/kg H 2 for the AWE l and PEME m electrolyzers, respectively. In this case, wind energy can reduce emissions by 2061.6 tons CO 2 /MW/year, assuming no degradation of wind capacity.
The potential of the Asal geothermal reservoir was evaluated using the USGS volumetric method at 67.18 MWe. A dry steam plant and a single flash power plant were selected for electricity production from a geothermal resource. Thermodynamic and thermo-economic analyses were carried out to compare the performance of these two geothermal plants in order to select the most appropriate for the Asal geothermal site. The cost of electricity from geothermal energy is evaluated at $0.1253/KWh and $0.0867/KWh for a single flash and dry steam geothermal power plant, respectively. The combination of a single flash power plant with HTE and PEME m electrolyzers resulted in a hydrogen production cost of $4.78/kg H 2 and $8.16/kg H 2 , respectively. However, with the combination of dry steam with HTE and PEME m electrolyzers, the hydrogen production cost is evaluated at approximately $3.46/kg H 2 and $5.80/kg H 2 , respectively. In addition, dry steam and single flash power plants can save 2183.9 tons CO 2 /MW/year and 2184.8 tons CO 2 /MW/year, respectively.
The overall results show that the Asal-Ghoubbet Rift area can produce energy and green hydrogen at a low cost using wind energy compared to geothermal energy.  Table S1. Different size of water electrolysis model (0.4 to 800 Nm 3 /h); Table S2. Important parameters for the major stages of a single flash Power Plant; Table S3. Important parameters for the major stages of a dry steam power plant; Table S4. Statistics summary of wind speed at level of 80 m of Ghoubbet; Table S5. Characteristics of the different wind turbine models considered in this study and the calculated Annual energy production and the capacity factor; Table S6. Cost prospect of the wind-powered hydrogen production system in Ghoubbet without and with degradation rate; Table S7. Electrolyzer performance analysis using wind energy; Table S8. Most probable values and distributions for the parameters of USGS volumetric method for Asal-Ghoubbet Rift; Table S9. Result of thermoeconomics analysis of dry steam Asal power plant; Table S10. Result of thermoeconomics analysis of single flash Asal power plant; Table S11. Result of Monte Carlo simulation for potential capacity of Asal Well; Table S12. Result of economic analyses of green hydrogen production supply with the geothermal energy; Table S13. Energy efficiency of the wind-powered hydrogen production system in Ghoubbet without and with degradation rate; Table S14. CO 2 and fuel oil avoided with Wind energy development; Table S15. Exergoenvironnment of dry steam and single flash power plant.