## 1 Introduction
Hydrogen production using the biomass gasification technique offers higher energetic and exergetic efficiencies than the hydrogen production system using geothermal or solar energy [24]. [PERSON] 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. [PERSON] 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]. [PERSON] and [PERSON] 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, [PERSON] 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]. [PERSON] et al. realized the thermocoemonic evaluation of hydrogen production by the binary geothermal power plant and estimated the cost at $2.366/kg H\({}_{2}\)[30]. In another study, [PERSON] 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.