1. Introduction
In recent years, hydrogen energy has gradually become a new alternative for clean energy generation. The multiple applications of hydrogen as a means of energy storage in the energy sector, transport, industry, and various other applications have generated great interest in global economic development [
1], thus allowing a promising alternative to satisfy and maintain global energy needs with a sustainable tendency [
2,
3,
4,
5]. As a result, hydrogen generation has sparked great interest in some countries as a fuel of the future [
6,
7,
8]. However, ensuring green hydrogen production from a renewable energy perspective presents significant challenges. Renewable energy sources (RESs) are naturally variable, requiring energy storage systems (ESSs) to accommodate daily and seasonal changes. Currently, the search for methods and technological development in new energy storage systems is ongoing. One of the processes for generating green hydrogen is through the electrolysis of water using RESs. Recently, there has been significant research and development into this technology, and various methods have been developed to increase efficiency and reduce production costs [
9]. Therefore, this article analyzes and studies green hydrogen production in a micro-grid case study based on medium- and high-precision models for a feasible technological and economic analysis. Green hydrogen is generated through an electrolyzer, which is composed of a photovoltaic (PV) system as a renewable resource and an ESS to reduce energy consumption from the electrical grid.
Techno-economic analyses have been fundamental in determining the payback period of investments. However, more studies are currently needed to analyze the return on investment when using excess solar energy to charge energy vectors such as hydrogen. One solution is to produce hydrogen through the electrolysis—splitting with an electric current—of water and to use that hydrogen in a fuel cell (FC) to produce electricity during times of low power production or peak demand or to use the hydrogen in fuel cell vehicles. In addition, hydrogen is a non-toxic and clean energy carrier with a specific energy of 141.9 kJ/g, compared to 46.5 kJ/g of gasoline [
10,
11]. However, it is important to consider the high cost that its production could generate, so several optimization studies have been carried out. For example, one study has optimized a solar energy system to electrify Kousseri, Cameroon, comparing four algorithms for sizing systems in isolated grids [
12]. Similarly, ref. [
13] presents the design of a hybrid photovoltaic (PV)/wind turbine (WT)/FC system for three regions in Iran, using the whale optimization algorithm (WOA) to minimize the net present value of the hybrid system while meeting the probability of power generation losses. Furthermore, a study presents a hybrid renewable energy system for domestic and telecommunications loads across India, considering technical, economic, environmental, and social factors [
14]. Among the findings, Chennai emerges as the optimal location for domestic and telecommunications loads based on analyses of cost of energy (COE), total net present cost (TNPC), annualized cost of system (ACS), carbon emissions (CEs), and particulate matter (PM), compared to New Delhi and Mumbai.
On the other hand, ref. [
15] examines the feasibility of using wind and solar plants for hydrogen generation via electrolysis, focusing on component sizing and the location’s impact on the levelized cost of hydrogen. A notable aspect of the research is their finding that hydrogen shows a negative correlation with the amount of electrical production surplus. Similarly, a study analyzed the production of green hydrogen in Paraguay [
16]. This study obtained a total production potential of
tons/year, which favors the incorporation of the hydrogen economy in the automotive transportation and residential energy sectors. Proton exchange membrane water electrolyzer (PEMWE) technologies boast higher current densities (1–2 Acm
−2) than alkaline water electrolyzers (AWEs) and produce a higher purity of hydrogen up to 99.9999% [
17]. Barriers associated with those systems have been gathered and recapped to identify key solutions that could aid in their removal. Likewise, in a study, the results found that a 4.2% reduction in the amount of electrical energy needed for electrolysis showed that barriers to solar hydrogen generation are related to the industry of PV cells, atmospheric conditions affecting PV cells’ performance, and those related to solar-to-hydrogen (STH) production and storage [
18]. According to [
19], by connecting a solar module with the voltage at its maximum power point (Vmpp) to a high-efficiency PEM electrolyzer, the group was able to achieve a solar-to-hydrogen efficiency of 12.4%, compared to a past system that only reached 2–6%. This study utilized a 20-cell PEM electrolyzer stack and various PV modules with different output voltages and current levels.
In this context, the modeling of large-sized electrolyzers has also been studied for real-time simulation and the possibility of frequency support by electrolyzers [
20]. Also, electrolyzers have been found to support frequency stability more effectively than conventional generators, benefiting the power system’s stability. The development of a generic electrolyzer model has allowed simulations to analyze the impact of electrolyzers on power system stability, showing promising results. Field measurements and simulations have validated the model’s ability to replicate the behavior of real electrolyzers, highlighting their potential to support frequency and voltage stability in future power systems. In the same line, the reference [
21] explores the impact of the operational constraints and the control strategies on the effectiveness of hydrogen electrolyzers in providing frequency control services; the results show that hydrogen electrolyzers can effectively contribute to helping prevent widespread load shedding in power systems. Also, in the studies carried out by [
22,
23], the results present that proton exchange membrane hydrogen electrolyzer units are a suitable candidate for virtual inertia response, regulation, and contingency frequency control ancillary services, potentially replacing the need for battery installations in future power systems. Electrolyzers can regulate power off-take based on grid frequency. A techno-economic model optimizes revenue by considering power band and ancillary services. Operating the electrolyzer at optimal values maximizes revenue. Offering symmetric primary reserve is a valid option for revenue generation [
24].
On the other hand, high-fidelity mathematical models used to perform simulations in the fields of chemical engineering and fluid dynamics can take hours or even days to simulate due to the large amount of data and parameter tuning required in these models. To address these challenges, high-fidelity component-level models can be replaced with reduced-order models that balance accuracy in exchange for lower computational complexity. To create a static reduced-order modeling ROM, curve fitting, look-up tables, and neural networks can be used to create a suitable model [
25,
26]. This could directly influence the time required for the simulation process of the electrolyzer and the micro-grid system. Therefore, the point of interest is specifically to analyze the energy production and determine the amount of hydrogen that can be produced. Parameters must be taken into account for a technical–economic study.
Consequently, all these factors represent a gap in research for the generation of green hydrogen. Some studies present technical–economic analyses for different countries, which do not allow the approach to be generalized due to the economic power of each one. In addition, there are different conditions for renewable resource generation. This study focuses on a case study to offer alternatives in the regulatory framework and the development and implementation of state support measures for hydrogen energy projects in countries undergoing sustainable development. Many studies in the literature have focused on hydrogen production solely with surplus renewable energy. However, the proposed system allows the generation of green hydrogen continuously throughout the year with minimal consumption from the electrical grid on days of low PV production. Furthermore, the management model achieves an adequate handling of the ESS, which allows for a daily energy balance in an autonomous manner. It also includes data and technical parameters of the equipment used during its experimentation, which brings its effectiveness closer to simulation models for small- and large-scale technical–economic studies. Based on these green hydrogen initiatives, the contributions of this article are as follows:
A PV energy management and storage model for the uninterrupted production of green hydrogen through self-consumption is proposed.
The replacement of the high-fidelity model of the electrolyzer with reduced-order modeling is studied based on real experimentation.
A comparative study is carried out between the energy consumption of methane reforming to generate hydrogen versus the proposal developed with renewable energies.
A technical–economic analysis is performed for the estimation of local hydrogen production versus the energy cost in kWh/kg.
Data from experimental tests are used in a real-time simulation environment and micro-grid laboratory tests.
The remainder of this paper is organized as follows:
Section 2 presents the details of the modeling of the system components,
Section 3 presents the experimental phase with electrolytes, and
Section 4 presents the case study, including simulation results and discussion. Finally,
Section 5 concludes the study.
3. Experimental Phase with Electrolytes
During the experimental phase for obtaining hydrogen fuel by electrolysis of water, the research was based on the results of a preliminary study [
37]. Initially, solutions were prepared with sodium hydroxide (NaOH) at a 1% concentration, sulfuric acid (H
2SO
4) at a 37% concentration, and sodium bicarbonate (NaHCO
3) at a 1% concentration. It is worth noting that the electrochemical analysis was carried out in the Laboratory of the Faculty of Chemical Sciences. The results are summarized in
Table 1, which presents the outcomes of the experimentation with sulfuric acid for electrodes both with a size of 50 cm
2.
According to
Figure 6a for an electrode area of 50 cm
2 and
Figure 6b for an electrode area of 100 cm
2, it can be confirmed that at the moment hydrogen is generated, its weight is approximately double that of oxygen, as demonstrated by the graphs. Furthermore, as the distance between electrodes decreases from 39 cm to 1 cm, hydrogen production increases. In
Figure 6a, there is a peak of 606 cubic centimeters (c.c.) at a concentration of 26.92%. Meanwhile, for
Figure 6b, the maximum limit reaches 1217 c.c. at a concentration of 24.21%.
Based on the study of the ELS500 Hydrogen Generator electrolyzer of the Micro-Grid of the University of Cuenca, to prepare a 1% potassium hydroxide (KOH) solution in 4 L of water, we dissolved 40 g of KOH. This is based on the following Equation (
29):
For a 1% concentration, the mass of KOH should be 1% of the solution volume in milliliters (4000 mL), resulting in 40 g of KOH required to achieve the desired concentration in 4 L of water.
Finally, in
Figure 7, the three electrolytes under experimentation, NaHCO
3, NaOH, and H
2SO
4, are synthesized. The experimental results indicate that the best electrolyte is sulfuric acid, with a 1 cm electrode spacing, an electrode area of 100 cm
2 each, and a hydrogen production of 1217 cc. The lowest quality electrolyte was sodium bicarbonate (NaHCO
3). From the practices, it was determined that hydrogen production is also proportional to the electrode area; for example, with NaOH, an electrode area of 50 cm
2 produces 298 cc, while an area of 100 cm
2 produces 596 cc of hydrogen.
5. Conclusions
This experimental study demonstrated the impact of different electrolytes on hydrogen production efficiency, focusing particularly on sulfuric acid (H2SO4) at 37% concentration. Electrochemical testing, conducted in the Laboratory of the Faculty of Chemical Sciences, provided a comparative analysis using electrodes of 50 cm2 and 100 cm2, showing that sulfuric acid significantly enhances current density, thus optimizing hydrogen generation. The results indicate that higher electrode surface areas yield increased hydrogen output.
The production of green hydrogen based on a micro-grid with PV system support and ESS batteries allows for improving sustainability with minimum consumption from the electric grid. This article presents a technical–economic study based on a simulation model approach.
During the electrolyzer’s operation, real-time simulation is necessary to de-risk overall technology development as we move closer to system deployment. In this paper, the fidelity of a hydrogen production model is analyzed under different parameterizations in the input variables.
Energy management for green hydrogen production in a micro-grid was presented as a case study. In this case, the electrolyzer’s use has been optimized for 16 operating hours per day. Consequently, the micro-grid’s 15 kW PV system, together with the ESS batteries, has covered the electrolyzer’s annual demand (13,766.4 kWh/year). Despite having high PV generation, energy is required from the electrical grid for two months with low energy demand.
The current simulation fidelity proposal for hydrogen yields a value of 64 kWh/kg of hydrogen. Comparing this with the values reported by IRENA in 2023, which range from 46 to 66 kWh/kg, it is evident that our results fall within this established range.
In this case study conducted in the city of Cuenca, Ecuador, the subsidized electricity cost is approximately 9.20 cUSD/kWh. However, if the actual cost of electricity, which is 16.2 cUSD/kWh, were considered, the cost of producing one kilogram of hydrogen would increase significantly, from 5.76 USD/kg to 10.36 USD/kg.
Finally, using the methane reforming method for hydrogen production, 924 kWh is required to obtain 0.287 kg of hydrogen per day. In contrast, using the PV, ESS, and grid strategy, only 64 kWh is needed, which in Ecuador would represent a cost of USD 10.36/kg in our proposal, compared to USD 134/kg for the traditional method.