Hydrogen Station Model Design Using Functional Mock-Up Units and Metaheuristics Optimization
간접 관련 수소연료전지 · (7) MEA(막전극접합체) (5) 연료전지용 수분제어장치(가습기)(6) PEM(고분자전해질막)
기본 정보
- 저자
- DOI
- 10.1007/s11837-025-07276-4
- 저널
- JOM
- 발행년도
- 2025
- 발행기관
- Springer Science+Business Media
- 피인용수
- 0
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1007/s11837-025-07276-4
- 토픽
- Hybrid Renewable Energy Systems
- OpenAlex ID
- W4409188312
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (7) MEA(막전극접합체)
- 부 분야
- (5) 연료전지용 수분제어장치(가습기), (6) PEM(고분자전해질막)
- R&D 측면
- 부품·응용 설계
- 확신도
- 0.80
- 근거 용어
- Proton Exchange Membrane (PEM), electrolyzer, hydrogen station, Matlab-Simulink, modeling
- 판단 근거
- 본 논문은 수소 충전소 시스템 전체를 모델링하고 최적화하는 연구이나, 그 핵심 구성 요소 중 하나로 PEM(고분자전해질막) 수전해 기술을 상세히 다루고 있습니다.
- R&D 활용 포인트
- PEMFC용 막(Membrane) 및 수전해용 전해질막의 시스템 통합 모델링 및 운전 시나리오 최적화 설계에 활용 가능합니다.
- 평가 입력
- 섹션 본문 65,741자 중 30,032자 발췌
초록
본문 67,212자
본문 펼치기
섹션 본문 170문단 · 63,987자
(제목 없음)
1Hydrogen-powered heavy-duty vehicles will transform the logistics landscape, but their extensive adoption presents substantial challenges.Matching hydrogen demand with supply, scaling up infrastructure, controlling carbon emissions targets, and integrating with renewable energy sources are significant obstacles to overcome.This paper addresses these challenges by modeling a hydrogen station for heavy-duty vehicle fleets using Matlab-Simulink software.The hydrogen station components proposed are individually modeled: (1) the electrolyzer model generates hydrogen and oxygen by electrolysis consuming water and electricity; (2) the hydrogen reformer model generates hydrogen and carbon dioxide through steam methane reforming or ethanol reforming; (3) the hydrogen storage tank; and (4) carbon capture and storage.These models were compiled into functional mock-up units (FMU) to facilitate further exploration.This paper incorporates metaheuristic optimization techniques to address the design complexities and enhance the performance of hydrogen stations under various operating conditions.Multiple optimization objectives have been considered, including reducing carbon emissions and reducing the total monetary cost.Furthermore, several critical constraints are integrated to ensure realistic scenarios.These constraints include the accumulated hydrogen production that meets daily demand and the limitations in resource consumption.Finally, the combination of the FMU approach with metaheuristics techniques demonstrates the potential for the optimal hydrogen infrastructure design.
INTRODUCTION
2Hydrogen has emerged as a pivotal energy vector in the quest for a low-carbon future.It serves as a clean and zero-carbon energy source, making it a crucial player in the transition towards sustainability.Hydrogen versatility, like electricity, can be harnessed for various applications, from powering vehicles to supporting industrial processes.Its versatility positions it as a promising ally in our global efforts to combat climate change. 1 Although hydrogen exists naturally on Earth, it is rarely presented in its pure form due to the difficulty of extraction and isolation processes.Consequently, most hydrogen is produced industrially through the reaction of hydrocarbons and/or water.The main categories of primary hydrogen production sources are summarized below 2 (Fig. 1).
3We focus on heavy-duty vehicle cases, which present larger engines, higher towing capacities, and require huge energy for longer distances than standard passenger vehicles.Also, managing heavyduty vehicle fleets involves certain considerations such as maintenance planning, refuel management, driver safety breaks, etc. 3 Hydrogen-powered vehicles present advantages over other electric Asier Gonzalez-Gonzalez and Jose Manuel Lopez-Guede have contributed equally to this work.
4(Received January 3, 2025; accepted February 11, 2025; published online April 4, 2025) batteries, including rapid refueling with minor downtime, and scalability perspective due to the diverse production methods.For these reasons, hydrogen is proposed as the main energy fuel for heavy-duty vehicles in the future sustainable and plausible scenario presented here.
Hydrogen Stations
5In Spain, a territorial hydrogen station infrastructure is under development.The number of hydrogen stations running in Spain is extremely low.According to official Spanish government data (source: https://geoportalgasolineras.es),there is only one official, publicly accessible hydrogen station in Spanish territory, located at (28°02¢55.4''N,14°21¢31.5¢¢W),at €9.9 per liter.Table I shows some private hydrogen station in Spanish territory.It is essential to note that the majority of these stations are currently experimental prototypes and are not yet particularly optimized for hydrogen-powered heavy-duty fleets.
6However, there are plans to expand the Spanish network in the future.Therefore, the Spanish Government, in the ''Hydrogen Roadmap: A Commitment to Renewable Hydrogen'' planning, promotes renewable hydrogen as a valuable energy vector in the hydrogen-intensive industry and heavy-duty transport vehicles (source: miteco.gob.es).
7To effectively integrate hydrogen fuel heavy-duty vehicles into markets, it is essential that there is a well-established hydrogen infrastructure in place.Nevertheless, constructing hydrogen stations can be costly, underscoring the importance of strategic placement to minimize the number of stations while still effectively meeting demand.Research on the strategies and methods used for locating hydrogen refueling stations, 4 as well as reviews of existing models employed to optimize their placement, 5 highlight the promising nature of this field and underscore the need for further investigation.Moreover, identifying and mitigating safety risks associated with hydrogen refueling station operations, such as hose ruptures or compressor leaks, is critical. 6Also, hydrogen incidents due to safety issues (leakage, diffusion, ignition, explosion, etc.) have been reviewed. 7Addressing these challenges will be essential to the widespread adoption of hydrogen-powered heavy-duty vehicles.
Objectives
8This paper explores the challenges and difficulties of hydrogen stations for heavy-duty vehicle fleets, commonly managed by large logistics operators.The investigation is conducted at a low technological readiness level due to the incipient environment of hydrogen technologies.To achieve this aim, various physical models, which potentially constitute a hydrogen station for these duties in the short future, have been analytically described.
9The comprehensive study of the hydrogen station by physical modeling presents two primary approaches.The first entails modeling the complete hydrogen station within a particular integrated development environment, for instance, MATLAB-Simulink, and performing the simulations using the specific solver.However, this method demands considerable ability from the users to design entire components.Also, this approach normally presents scale problems.Alternatively, the second approach, which has been selected in this paper, involves breaking down the hydrogen station into smaller subsystems (electrolyzer, reformer, hydrogen storage tank, etc.) and interlinking these subsystems.
10The hydrogen station model has been decomposed into smaller, modular components, which are individually analyzed, tested, and validated.These subsystems are then integrated into a comprehensive global model, enabling a holistic understanding of their interactions.The system development process involves a top-down approach, as depicted in Fig. 2, where individual models [hydrogen reformer, water electrolyzer, hydrogen storage tank, and carbon capture and storage (CCS)] are developed before being unified to form the complete hydrogen station model.
11Hydrogen production is classically labeled by colors based on the production method and environmental impact.The most representative hydrogen colors are gray, black, brown, blue, green, pink, and turquoise. 8However, this paper presents a hydrogen station which produces a hydrogen color mixture variability dependent on the production processes.The electrolyzer produces green and pink hydrogen based on the source of the electricity used in the water electrolysis process.Green hydrogen is produced by electricity generated from renewable energy sources.Pin hydrogen is produced by electricity generated from nuclear power plants.The reformer produces blue and gray hydrogen based on the carbon footprint.When greenhouse gas emissions are captured through carbon capture and storage (CCS) technology, the resulting hydrogen production is categorized as blue.Otherwise, it is classified as grey.The purpose of modelling different hydrogen production methods resides in adapting to the future scenario of hydrogen production.
12Additionally, a key contribution of this research is the proposal for widespread adoption of the functional mock-up interface (FMI) as a standardized framework for model exchange between disparate modelling environments.This initiative has the potential to boost interdisciplinary collaboration by sharing and integrating complex models across diverse disciplines.The analytical models developed in this research are exchanged from Matlab-Simulink to FMUs, enabling seamless integration with other modeling tools.Each subsystem was represented as an FMU, with well-defined input-output linkages and time frame limitations.Dependencies between subsystems, such as the flow of hydrogen from the reformer to the storage tank, were managed using a shared simulation environment to ensure that the data are consistent in real time.Additionally, our methodology enables efficient simulation executions using FMU models with the Python language, facilitating easier scalation and replication across different computational architectures and operative systems.
13Furthermore, the problem statement outlines the objective of optimizing hydrogen stations under various scenarios using metaheuristic optimization libraries in a detailed and practical manner.This description is provided analytically, with clear guidance on how to utilize the metaheuristic optimization library within Python.The formulation includes essential parts such as constraints, fitness functions, and variable codification to facilitate effective optimization.
14Metaheuristic techniques are chosen for their ability to efficiently explore large solution spaces and handle non-convex optimization problems, capabilities that surpass those of traditional methods.Unlike traditional methods, metaheuristics can effectively navigate complex, nonlinear relationships and avoid getting trapped in local optima, making them well-suited for optimizing hydrogen station operation.
15By combining metaheuristic techniques with FMU models, we leverage the strengths of both approaches.The FMU architecture enables parallel simulations within the Python ecosystem, further accelerating the exploration of the solution space and allowing for more comprehensive optimization.This synergy enables the efficient identification of optimal or near-optimal solutions, even in the presence of complex constraints and nonlinear relationships.
Structure
16Section ''Electrolyzer'' presents the water electrolyzer technologies, including a proposed dynamic model and its validation through simulation tests.In addition, Sect.''Hydrogen Storage System (HSS)'' briefly reviews HSS technologies, a dynamic model is also proposed, and finally it is validated using simulation tests.In Sect.''Hydrogen Reformer'', a hydrogen reformer, which produces hydrogen using natural gas or biogas or ethanol, is presented.Also, a hydrogen reformer dynamic model is presented.In Sect.''Carbon Capture and Storage (CCS)'', a brief CCS review is presented, and an analytical model is described.In Sect.''Scenarios'', the method to generate synthetic signals for scenario inputs is adequately addressed.Section ''Functional Mock-up Units (FMU)'' presents the technique for Matlab-Simulink model exchange to FMU, also, the method for FMU compilation into other operative systems and architectures, and the approach to run FMU simulations using Python.In Sect.''Metaheuristic Optimization'', the problem statement for metaheuristic optimization is defined to optimize the hydrogen station at design states.It includes the definition of the constraints, the fitness function and the codification of optimized variables.Finally, Sect.''Discussion'' and ''Conclusion'' reveal a brief discussion and the conclusions of this paper, respectively.
ELECTROLYZER Introduction
17An electrolyzer, in general terms, involves the decomposition of a compound into its constituent elements by using an electrical current.The specific and most common process is the water decomposition into hydrogen gas and oxygen gas.It is called water electrolysis.There are different technologies of water electrolyzers, the most common are: alkaline electrolyzer (ALK), proton exchange membrane (PEM), anion exchange membrane (AEM), and solid oxide electrolysis cell (SOEC).
Alkaline Water Electrolyzer (ALK)
18ALK technology is a mature process that it was first introduced by Troostwijk and Diemann in 1789. 9The electrochemical reactions occur at the anode and cathode.On the one hand, hydroxide ions are decomposed into oxygen, water, and electrons at the anode.On the other hand, water is decomposed into hydrogen and hydroxide ions at the cathode.The chemical reactions can be represented as: 10 Anode :
19where H 2 O is the water, H 2 is the hydrogen gas, O 2 is the oxygen, and e is the electrical energy.
20Habitually, the asbestos mesh has been used as a diaphragm to prevent the mixing of cathode and anode gases.However, due to the toxic nature of asbestos, there is a growing motivation to replace it with porous polymer composite materials. 8The electrolyte typically consists of a 20-30% concentration of potassium hydroxide (KOH) or sodium hydroxide (NaOH).The anode and cathode are usually composed of nickel-coated iron or nickelbased materials, featuring a mesh-like or porous structure to maximize their surface area.KOH is preferred over NaOH due to its higher ionic conductivity and lower solubility of carbon dioxide in the solution.The figure below shows a schematic of water electrolysis by alkaline technology (Fig. 3).
Proton Exchange Membrane (PEM)
21In contrast to traditional alkaline electrolyzers, proton exchange membrane (PEM) electrolyzers offer a significant improvement in terms of efficiency and hydrogen production.The key advantage of PEM technology lies in its ability to separate the anode and cathode reactions, thereby eliminating the mixing of gases that often occurs in conventional systems.
22In a PEM electrolyzer, the asbestos mesh traditionally used as a separator is replaced by a PEM.This innovative design not only enables the efficient transfer of protons but also effectively isolates the anode and cathode gases.As a result, hydrogen production is increased by boasting higher current densities, and the hydrogen purity is improved by efficient gas separation, compared to alkaline electrolyzers. 11The chemical reactions can be represented as:
23Figure 4 shows a schematic of water electrolysis by PEM technology.
Anion Exchange Membrane (AEM)
24The AEM technology shares similarities with the ALK, but it offers a distinct advantage by addressing the long-standing issue of high production costs associated with conventional hydrogen generation methods.Specifically, AEM technology leverages non-noble metal catalysts and titanium-free components to significantly reduce expenses. 12Notably, AEM replaces the traditional asbestos mesh with a more modern anion exchange membrane, and operates at lower electrolyte concentrations compared to ALK.The schematic illustration is similar to ALK.
Solid Oxide Electrolysis Cell (SOEC)
25Solid oxide electrolysis cells (SOECs) represent an innovative technology poised to revolutionize hydrogen production through efficient and sustainable means.By using solid oxide materials as electrolytes, SOECs can effectively split water into hydrogen and oxygen with high efficiency and minimal energy requirements.This innovative technology has the potential to play a pivotal role in the transition to a low-carbon economy, enabling widespread adoption of hydrogen as a clean energy carrier.However, it presents challenges associated with durability, cost, and scalability.Therefore, it is a technology in an ongoing research state.The chemical reactions can be represented as:
26Fig. 3. Schematic of ALK water electrolysis.
27Hydrogen Station Model Design Using Functional Mock-Up Units and Metaheuristics Optimization Figure 5 shows a schematic of water electrolysis by SOEC technology.
SUMMARY
28The electrolyzer technologies presented (ALK, PEM, AEM, and SOEC) have their advantages and disadvantages: ALK is mature but slow; PEM improves the production rate but has high operating costs; AEM combines efficiency with low cost but faces challenges with diaphragm conductivity; and SOEC optimizes efficiency and cost, but requires high-temperature-resistant electrodes. 5The technical characteristics of these electrolysis technologies are listed Table II.
Electrolyzer Modeling
29The dynamical model of a water electrolyzer has been modeled at an elevated level, without delving into the specific technology.The electrolyzer that was modeled in Matlab-Simulink and prepared to compile into FMU is shown in Fig. 6.
30The dynamic modeling approach for the water electrolyzer is proposed to operate at a high-level abstraction, without the intricacies of specific technologies (ALK, PEM, AEM, and SOEC).The electrolyzer was implemented using Matlab-Simulink and prepared for compilation into a FMU, as depicted in Fig. 6 by a screen capture of the modeling.
Inputs
31The following signals are inputs to the electrolyzer model, affecting its operation and output.Each input signal is listed and explained in detail below:
32Operating Regime Setpoint: A setpoint to run the electrolyzer in percentage units in the range [0, 100].An operating regime setpoint equal to 0% means the machine turns off, and an operating regime setpoint equal to 100% means produced at full capacity.CO 2 Emissions Per Electricity Consumption: The ratio of CO 2 released into the atmosphere due to the electrical energy generated from the energy mix.The units are kg of CO 2 /(kW h).CO 2 Saturation Flag: A constraint signal associated with the source of the electricity referred to as CO 2 emissions.It is a binary signal, where '1' means a constant to use electricity only if it is entirely produced from renewable sources, and '0' means no restriction.H 2 Saturation Flag: A constraint signal related to the state of the hydrogen storage system.It is a binary signal, '1' means a constraint to produce more hydrogen due to a full hydrogen storage tank, and '0' means no restriction.Electrical Energy Saturation Flag: A constraint signal referred to as accumulated electrical energy consumption.It is a binary signal, '1' The origin of the signals can be attributed to three primary sources: (1) direct consequences of user commands, which are executed in response to operator inputs; (2) external stimuli defined by the selected scenario, which simulates real-world conditions and provides a realistic testing environment; and (3) signals generated from other hydrogen station models.Table III summarizes the key characteristics of these input signals.
Outputs
33The following signals represent the outcomes and performance metrics produced by the electrolyzer model, providing its operation behavior.Each output signal is listed (Table IV) and explained in detail below:
34Hydrogen Mass Flow Rate: The quantity of kilograms of hydrogen generated by the electrolyzer per hour.CO 2 Emissions Mass Flow Rate: The number of kilograms of CO 2 emitted because of electrical energy production technology source of the electrical energy consumption.
Electrical Power Consumption:
35The electrical power that is required by electrolyzers in kilowatt units.Water Mass Flow Rate: The quantity of kilograms of water required by the electrolyzer per hour.Electrolyzer Operating: The response signal of the electrolyzer as the effect of the electrolyzer operating setpoint.The values are in percentage units, in the range [0, 100].
Internal Dynamic
36The internal behavior of the electrolyzer has been modeled by three serial blocks.The first block manages the external constraints: the renewable electrical energy source, the hydrogen storage tank levels, the maximum energy consumption, and the water excess consumption.In case any of these constraints is not satisfied, the output of the first block is set to zero.Otherwise, it is set to the electrolyzer operating regime setpoint signal.The limitations are listed below:
37Maximum CO 2 Emissions Capacity: If the maximum CO 2 emissions capacity is reached and the CO 2 emissions per electricity consumption is greater than zero, then the operating regime setpoint is set to zero.Hydrogen Storage System Full: If the hydrogen storage system does not require hydrogen (e.g., HSS is at full capacity), the operating regime setpoint is set to zero.
38Maximum Electrical Energy Consumption: If the maximum electrical energy consumption is reached, then the operating regime setpoint is set to zero.Maximum Water Consumption: If the maximum water consumption is reached, then the operating regime setpoint is set to zero.
39The second block models the electrolyzer dynamics behavior by a first-order differential equation.It can be transformed into the s-domain using the Laplace transform:
40where X0ðsÞ is the second block input in percentage units, YðsÞ is the second block output that represents the electrolyzer operating regime in percentage units, s is the time constant parameter in hours, and s is the complex frequency variable.The third block models the hydrogen generated, the power needed, and the water consumed as a function of the electrolyzer operating regime from the second block.This is achieved through linearization by defining certain working points in a table data structure.Table V shows the values used.
41Alternative electrolyzer modeling approaches exist, such as Matlab Simscape, 14 OpenModelica, 15 and computational fluid dynamics with Ansys Fluids. 16However, each of these methods has its drawbacks.Simscape, for instance, models the electrolyzer dynamic but is a commercial software that require additional Matlab toolboxes. 14The OpenModelica electrolyzer model is a highly complex approach, capable of reproducing the polarization curve of an electrolysis cell, the temperature change between inlet and outlet, the gas crossover, and the pressure loss. 15The computational fluid dynamics approach may be overkill for simulations where high precision is not a requirement, resulting in unnecessary computational resources and complexity.In contrast, the electrolyzer proposed here is remarkably easy to parametrize, powerful in capturing the dynamics of the system, and its complexity is sufficient for the hydrogen station design exploration.
Test Simulations
42For testing and validating the electrolyzer dynamic model, synthetic signals were generated to simulate a wide range of operating conditions, enabling assessment of the electrolyzer's response under various scenarios.The model was then verified through user-expert analysis of output simulation responses at these artificial input signals.This rigorous validation process ensures that the model accurately captures and replicates the electrolyzer's behavior in the real world.
43The synthetic input signals are generated at each simulation using a method that introduces aleatoric variability to produce diverse caustics.For the operating regime setpoint signal and the CO 2 emissions per electricity signal, the methodology employs this equation to generate the synthetic signals:
44where S is the vector of signal values, R is a vector of n uniform pseudorandom values in the range 0; 1 ½ , denotes the convolution operation that returns a new vector with the same size of R, k is O saturation flag) the strategy is to activate the event for 2 h at aleatory time.Fig. 7 shows the synthetic input signals.
45The following simulation parameters have been established to ensure the accuracy and efficiency of the electrolyzer model results.The initial start time for the simulation was set to 0 h.The stop time, at which the simulation will be terminated, was set to 168 h, which is equivalent to 7 days.The fixed-step size, the interval of time between each calculation step in the simulation, was set to 0.01 h.The solver type, the method used for solving differential equations in the simulation, was set to a fixed-step solver, due to this configuration being required to exchange into FMU models.The solver numerical method, the algorithm used by the solver, was set to a simple numerical integration method (ode1 Euler).
46The simulation output signals are shown in Fig. 8.
47The outcome simulations exhibit hydrogen mass flow production signals that follow the electrolyzer operating regime with a minor delay, resulting from a small parametrization of the time constant parameter.Furthermore, power consumption and water usage are reflected as a function of the operating regime and the table parametrization.The electrolyzer is shut down according to four external events: saturation of H 2 event due to storage capacity reaching full capacity; saturation CO 2 event related to emissions; and saturation of electricity and water consumption due to exceeding user-defined thresholds.
HYDROGEN STORAGE SYSTEM (HSS) Introduction
48The HSS is an essential part of the hydrogen station.It comprises the methods and processes used to store hydrogen in a physical form.Due to hydrogen gas presenting an extremely low energy density at atmospheric pressure compared to diesel or gasoline fuels, physical storage involves processes to increase the energy density, such as compression at high pressures, cryogenic storage at very low temperatures, or adsorption on materials.The development of efficient hydrogen storage systems is crucial for advancing hydrogen and fuel cell technologies, aiming to meet energy, safety, and performance requirements.
49Figure 9 illustrates the HSS process from hydrogen generation to consumption, providing a visual representation of its constituent subsystems. 17This schema serves as a framework for understanding the relationships between these subsystems.This diagram focuses on key systems, with other components such as purification systems and pressure control systems excluded due to being outside the scope of this paper.
Hydrogen Source
50The hydrogen gas generated from the production source is transported by a pipe to the hydrogen storage system, and is characterized by pressure and temperature.At the source point, the hydrogen density can be calculated using the ideal gas as:
51where p is hydrogen gas pressure at the inlet of the HSS in Pa units, T is the hydrogen gas temperature at the inlet of the HSS in K units, R is the universal gas constant, 8.31446261815324
52units, q H2 is the hydrogen gas density in kg m À3 units, and M H 2 is the diatomic hydrogen molar mass in kg per mol units.It is calculated by the hydrogen element molar mass multiplied by two due to the number of atoms as:
53It is assumed that the hydrogen gas is generated at standard temperature and pressure (STP) conditions.In the chemistry field, the STP is defined as the temperature at 20°C (which is equivalent to 293.15 K) and pressure of 1 atm (approximately 101.325Pa).
Compressor
54Hydrogen compression by the electrochemical process presents a favorable alternative owing to exceptional characteristics compared with classical compressors: motionless, noiseless, non-mechanical parts, and high performance. 18However, high-pressure water electrolysis presents technical challenges, including gas cross-permeability, membrane degradation, and hydrogen embrittlement. 19In contrast, a mechanical diaphragm compressor is a mature technology, which uses a flexible diaphragm to separate the hydrogen gas from the lubricating oil.The diaphragm isolates the hydrogen chamber and prevents undesired impurities from mixing with the hydrogen.The flexible diaphragm displacement, defined as stroke, drives hydrogen compression.The enclosed volume changes as a function of the compressor shaft angle, as illustrated in Fig. 10.Explicitly, it decreases during discharge and compression phases and increases during suction and expansion phases.
55Figure 11 shows the pressure versus volume of an oscillating diaphragm compressor. 20he hydrogen mass flow rate at outlet discharge is calculated as:
56where _ m is the mass flow rate at outlet discharge, g cv is the volumetric efficiency of the compressor, n s is the number of strokes per second, V c is the volume of the compressor chamber, and q in is the inlet hydrogen density of the compressor.
Cooler
57To efficiently compress hydrogen, a cooler is commonly connected to the compressor to maintain the temperature of compressed hydrogen below an acceptable threshold.The coefficient of performance (COP) of the cooler system evaluates its efficiency as:
58where Q is the heat removed from the hydrogen in joule units, and W is the compressor work in joule units.The amount of cooling is calculated as:
59where _ Q is the heat transfer in joule per second units, _ m is the mass flow rate of hydrogen in kg per second units, h out and h in are the specific enthalpy of hydrogen at the outlet of the compressor and the inlet of the compressor respectively.
Tank
60Hydrogen tanks serve as storage vessels for the compressed hydrogen gas.They are designed to withstand high pressures without hydrogen leaks during storage.The hydrogen inside the tank is modelled by thermodynamics using Redlich-Kwong equation as:
61where p is the pressure inside the tank in Pa units, R is the universal gas constant, 8.31446261815324 (J K À1 mol À1 ), T is the temperature in K units, V m is the molar volume in m 3 mol À1 units, a is a constant related of the attractive potential of molecules, and b is a constant that corrects for volume, m 3 .The a and b constants are calculated from hydrogen critical points of temperature and pressure as:
62where T c is the temperature at the hydrogen critical point (23.87 K), and P c is the pressure at the hydrogen critical point (1:293 Â 10 6 Pa).
Nozzle
63A crucial component of this HHS is the nozzle, which serves as the connection point between the hydrogen station and the heavy-duty vehicle's storage system.The nozzle enables the hydrogen refill process safely and efficiently.Nozzles operate at different pressures, the most common pressure levels are 250 bar (H25 stands at 25 MPa), 350 bar (H35 stands at 35 MPa), and 700 bar (H70 stands at 70 MPa).To accommodate these diverse requirements, hydrogen fueling nozzles often feature a data interface (KTL, NEC, ATEX) and an exchangeable nozzle receiver, ensuring seamless interaction with the heavy-duty vehicle's onboard system.
HSS Modeling
64The storage tanks are the part of the system that dynamically stores hydrogen from the electrolyzer and reformer, and supplies hydrogen as demanded from the heavy-duty fleets.The behavior of hydrogen storage tanks is partially shortened due to complex variations in pressure, temperature, and flow rates affecting the overall behavior of the system.The hydrogen storage tank modeled in Matlab-Simulink and prepared to compile into FMU is shown in Fig. 12.Also, the image shows the input and output name signals with the physical units.
65The following signals serve as inputs to the HHS model, influencing its operation and output.Each input signal is detailed below:
66Hydrogen Mass Flow Rate Produced: Represents the hydrogen stream generated by the electrolyzer and reformer fed into the HSS.Hydrogen Mass Flow Rate Consumed: The hydrogen supply stream from the HSS to the heavy-duty vehicle.
67The following signals represent the outcomes and performance metrics produced by the HHS, providing insight into its operational behavior.Each output signal is explained in detail below:
68Hydrogen Mass Stored: The total mass of hydrogen contained within the HHS.HHS Saturation Level: Indicates the state of the HHS system: '-1' indicates a drained hydrogen supply, '1' represents full capacity achieved, and '0' means normal operation.HHS Tank Pressure: The pressure inside the tank resulting from hydrogen compression.
69Alternative HSS modeling approaches exist, such as large-scale HSS using Matlab, 21 or for hydridebased storage technology with a finite element approach with COMSOL software (source: comsol.com). 22However, the proposed HSS balances the model complexity and the hydrogen station design exploration objectives.The internal dynamics are established by a mass balance, which is used to calculate the stored hydrogen mass.Also, the pressure is calculated by Redlich-Kwong equation.
HYDROGEN REFORMER Introduction
70A hydrogen reformer is a machine with interconnected processes to produce hydrogen gas from hydrocarbons.Hydrocarbon reforming is the leading method for producing hydrogen, and, among these processes, steam reforming of natural gas/ methane is the dominant approach used globally. 2he supply materials considered for this hydrogen reformer are natural gas, biogas, and bioethanol.
Steam Methane Reforming
71Steam methane reforming (SMR) is a process to produce hydrogen using methane (CH 4 ) as primary feedstock.SMR is the most widely used method for hydrogen production. 2 The methane is obtained from natural gas, or biogas.The process involves a mixture of methane with water at very high temperatures, typically between 700°C and 900°C:
72Then, the water-gas shift reaction is produced:
73and the direct steam reforming reaction is also included:
74This SMR process is characterized by the parameters in Table VI.The hydrogen produced, the electric power needed, the water consumed, and the methane needed are modeled as a function of hydrogen reformer operating works.In this first approach, natural gas and biogas are considered as 97% composed of methane.
Ethanol Reforming
75Ethanol reforming (ER) is a process to produce hydrogen using ethanol (C 2 H 5 OH). 23The ER process involves a steam reaction, expressed by: 24
76Followed by water-Gas shift expressed by: 24
77Selective oxidation of CO is expressed by: 24 The ER process is characterized by the parameters in Table VII.The hydrogen produced, the electric power needed, the water consumed, and the ethanol needed are modeled as a function of hydrogen reformer operating works.
Reformer Modeling
78The reformer dynamic is modeled by a first-order differential equation and a finite-state machine.The differential equation, transformed into the s-domain using the Laplace transform, models the reformer operating signal as:
79where XðsÞ is the reformer operating setpoint in percentage units, YðsÞ is the reformer operating in percentage units, and s is the reformer time constant parameter in hours.
80The states of the reformer finite-state machine are listed below.
State (Down State):
81The reformer machine is powered off, and there is no consumption and production.State (Initial Setup State): involves the first preparation and configuration from the down state.
82State (Setup Natural Gas): Specific preparations are needed to produce hydrogen with natural gas.State (Setup Biogas): Specific preparations are needed to produce hydrogen with biogas.State (Setup Ethanol): Specific preparations are needed to produce hydrogen with ethanol.State (Production of Natural Gas): Produces hydrogen using natural gas as a function of the operating regime.State (Production Biogas): Produces hydrogen using biogas as a function of the operating regime.State (Production Ethanol): Produces hydrogen using ethanol as a function of the operating regime.
State (Idle):
83The reformer machine is powered on, and is temporally halted, waiting for a new setup.
84The transition between the states depends on the reformer feedstock setpoint (RFS), which is encoded by an integer value in the range [0, 3].The description of each setpoint mode is listed: hydrogen reformer switches down (RFS = 0), produce H 2 with natural gas (RFS = 1), produce H 2 with biogas (RFS = 2), and produce H 2 with ethanol (RFS = 3).Table VIII shows the transition states and the times needed for transitions.The transition time is the For each machine state, the parameters in Table IX are defined.Specifically, there are a total of 63 distinct parameters, calculated by the combination of the number of states ( 9) and the parameters of the table (7).
85The output signals are modeled by multiplication of the reformer operating signal and the associated parameters.
86Fig. 13 shows an image of the reformer model implemented in Matlab-Simulink and prepared for compilation into FMU.This figure shows the input and output name signals with the physical units.
87There are alternative hydrogen reformer modeling approaches, such as surrogate models, 25 simplify higher-order models.The proposed hydrogen reformer in this section captures the dynamics of using different feedstocks (natural gas, biogas, and ethanol), as well as the consumption and production dynamic.It thus reflects adequate complexity for the purpose of hydrogen station design exploration.
CARBON CAPTURE AND STORAGE (CCS)
88To mitigate the atmospheric accumulation of greenhouse gases, various methods are adopted.Converting CO 2 into valuable products, that can be further utilized in a chemical process, is the primary option.Therefore, the CCS alternative is considered in the hydrogen station.CCS involves extraction and capture of CO 2 emissions from the reformer process, cleaning and purification process, compression to reduce its volume, transportation via pipelines, and secure storage. 26The SMR and ER processes produce CO 2 emissions that are intricately linked with water vapor, creating a complex and challenging feedstock for CCS. 27Also, the CCS technology deployment presents certain challenges: 28 (1) lack of integration with renewable energies; (2) an effective carbon pricing addressing by policy; (3) improving CCS technology by managing security risks, particularly during capture, transport, and storage phases; and (4) scale and widespread use of CCS.
89The CCS model, prepared to be compiled into FMU, is presented in Fig. 14, where the inputs and output signals are shown
90The CCS dynamic model includes a tank to store the CO 2 and a compressor to reduce the size.The CCS model parameters considered are: (1) the electric power needed in kilowatt units; (2) the maximum stored capacity in a kilogram of CO 2 ; and (3) the maximum mass flow rate of CO 2 capture in kilogram per hour.
91The input signals are the user command to handle the turn on/off the CCS, the source of CO 2 mass flow in kilograms of CO 2 per hour, and the CO 2 emissions due to electrical energy consumption in kilograms of CO 2 per kWh.
92The output signals of the CCS model include: the total electrical power required for CCS in kilowatts (kW), the tank storage capacity in kilograms (kg of CO 2 ), The saturation flag indicating when the tank is at full capacity is '1', '0' otherwise, the accumulated CO 2 emissions due to renewable electrical energy consumption in (kg of CO2), and the CO 2 overflow that count the CO 2 capture inefficiencies and excess that are unable to be captured or stored.
93Unlike other CCS modeling approaches that delve into deep chemical processes using computational fluid dynamics, the CSS method focuses on simplified dynamics, thereby achieving design exploration objectives.
SCENARIOS
94Feedstock availability, feedstock prices, carbon polity restrictions, and hydrogen demand define the hydrogen station scenario.Specifically, the scenario signals are electricity price, CO 2 emissions due to electricity, CO 2 emissions allowances, water price, natural gas price, and ethanol price.The source of the historical data series is provided below to accurately reflect real scenarios.
95Red Ele ´ctrica de Espan ˜a (REE) is the electricity supply operator in Spain and Portugal, which provides a service that retrieves valuable information from electrical data.These data include historic past series of electricity data, which allows third parties to access the REE backend data (source: ree.es).Focusing on this case in this paper, the CO 2 emissions due to non-renewable and the real-time market prices are the data requested by a Python script to automate data collection.This script breaks down requests into smaller time interval queries to handle large datasets efficiently and to avoid return bugs.The electricity price signal is stored in euros per kilowatt unit sampled at 1-h intervals, while the CO 2 emissions data are recorded in kilograms of CO 2 per kilowatt unit at 1-day intervals.The sample intervals are established by the frequency at which REE stores the data.
96The estimation of the hydrogen demand is based on the requirement of heavy-duty vehicles.This estimation is calculated in two steps.First is an approximation of the total energy needed to power heavy-duty vehicles based on their size, weight, speed, and distance travelled.These calculations also include the driving behaviors, the road features, and special characteristics of hydrogen refueling.Second, the total amount of hydrogen needed to meet the energy estimation is determined, considering the hydrogen efficiency and other wastefulness.
97The CO 2 emissions trading is based on declaring a fixed amount of European Union Allowances (EUA), which are credits used in the European Union Emissions Trading Scheme.These allowances entitle the holder to emit a certain amount of CO 2 .These allowances can be bought and sold at a quoted price in euros per tonne of CO 2 .In Spain, the Ministry for the Ecological Transition and the Demographic Challenge provides further trustworthy information on its website.The historic CO 2 EUA prices are collected from the SENDECO2 website (sendeco2.com)due to it has been an authorized EUA negotiator since 2005.This source contains historical data, covering every month since 2008.
98The price of water fluctuates depending on the region.For instance, in Spain, each autonomous community and municipality establishes a local price.It is common to show the price of water as a function of two concepts: a fixed fee (associated with the supply point, connection section, etc.), and another variable fee that is calculated per cubic meter of water consumed.For instance, the public company ''Canal de Isabel II'' provides, openly on its web (source: canaldeisabelsegunda.es), the water prices.
99In Spain, natural gas prices are partially regulated by the Spanish government through lastresort tariffs.These tariffs depend on the accumulated annual consumption, and each tariff specifies two concepts: the fixed term is the euros per client per month and the variable term is a function of natural gas consumption in euros per kilowatt-hour.The natural gas meters are measured in cubic meters at approximately the atmospheric pressure (102,200 Pa), and the tariffs are specified in kilowatt-hours.Therefore, using the higher heating value of the natural gas, 1 cubic meter of natural gas is approximately 11.70 kilowatt-hours (source: nortegas.es).
100In conclusion, the scenario signals are correctly addressed using Open Source INTelligence (OSINT).Utilizing historical datasets derived from these OSINT sources, the input signals are generated synthetically with an AutoRegressive (AR) statistical model.Specifically, AR p ð Þ is an autoregressive model of order p defined as:
101where u i is the i-th parameter of the AR p ð Þ model, Dt is the delta time, e t ð Þ is a random variable, and S t ð Þ is the signal at time t.
FUNCTIONAL MOCK-UP UNITS (FMU)
102To establish connections between these subsystems, all the models presented in this section use the FMI.The FMI is a standard for exchanging dynamic simulation models.This standard defines a container and an interface to exchange dynamic simulation models.FMI specifications are published under the CC-BY-SA 4.0 license, and its source code is offered under the 2-Clause BSD license.Since the first version (FMI 1.0) emerged as an outcome of a European-funded project in 2008-2011, the FMI has undergone significant enhancements.The second major version (FMI 2.0) was released in 2014.It was enhanced by introducing explicit phases/modes in the FMI API for initialization, enhancing robustness during co-simulation.FMI 3.0, which has extended the capabilities of its predecessors, was released in 2022. 29For further information, the best source of data is provided on the official website (source: fmi-standard.org).
103Several notable works explore the FMI framework.For instance, a comprehensive study integrated three simulation software tools: OpenFOAM, a high-fidelity computational fluid dynamics platform; OpenModelica; and Simulink, which enable system-level modeling. 30Another example shows the use of FMUs to encrypt dynamic systems for secure simulation purposes. 31Additionally, a neural network model to simulate a hydrogen engine combustion chamber is integrated into simulation software using an FMI interface, achieving a 9 4 acceleration in computing time. 32he FMI framework permits unified integrations of individual ed FMUs.An FMU is a dynamic model, stored in a file with the '.fmu' extension, that uses ZIP archive file format to pack in one file: XML files (defining the model structure), binaries (compiled model code), and potentially C code (for custom functionality).As an example, Fig. 15 illustrates the contents of the electrolyzer FMU file.
104The electrolyzer FMU file contents show that the model has been compiled with native support for 64bit computer architecture under both Windows and Linux operating systems.Although the inclusion of source files within the FMU package is optional, it facilitates compilation on alternative computational platforms and architectures.In a typical software development project, source files are usually stored in a directory named 'src', but FMU packages are stored in the folder named 'sources.'
Matlab-Simulink Model Exchange to FMU
105Matlab-Simulink is a powerful graphical modeling software widely used for simulating complex dynamic systems.A license of the ''Simulink Compiler'' toolbox permits FMU binary generation from Simulink models.However, the FMU model does not include the source code, so these FMU models are limited to execution on machines with the same operating system and the same computation architecture, for example, Microsoft Windows operating system and 64-bit architecture.Therefore, the ''Simulink Coder'' toolbox enables C and C++ source code generation from Simulink models, and permits the inclusion of the source codes into the FMU package for further compilation into other operating systems and architectures.
106Once the Matlab-Simulink software requirements are checked, to successfully export a Simulink model into an FMU package, it is crucial to structure the model in a specific manner.This involves correctly assigning input and output signals to ''Inport'' and ''Outport'' blocks, respectively.These essential blocks allow signal characterization, such as name, minimum value, maximum value, data type, etc.A concise approach, that presents the Matlab-Simulink model clearly, encapsulates all the dynamics blocks and parameters into a Subsystem.An example is presented in Fig. 16 where Inport blocks are on the left, the Subsystem is in the middle, and the Outport blocks are on the right.
107The parameters required by the model must be set by defining the parameter names, parameter data types, and a valid parameter value.Matlab-Simulink allows certain special values for parameters, such as infinite for real data types.Although the compilation process to FMU concludes satisfactorily using special values, the FMU model presents compilation errors at simulation.Therefore, we do not recommend assigning such special values.
108The simulation parameters of the solver are configured to set a fixed-step, which enables precise control over the integration method, reduces errors associated with variable time steps, and is required for FMU exchange.Also, Euler is the integration algorithm recommended for further compatibility.Then, with these settings in place, a single simulation is executed to validate and test the model behavior.Subsequently, the Simulink model is stored in a .mdlfile.
109Finally, upon successful validation, the Simulink model is exported into an FMU file, allowing for seamless integration and interoperability with other modeling and simulation tools.In the Matlab programming language, the ''ex-portToFMU'' function provides a straightforward method for converting Simulink models into FMUs.This function is supported by Matlab versions R2023b and later.This function requires the FMU Builder for the Simulink support package.The example below in Fig. 16 shows this command.
110In this example, the file ''Elec-trolizador_FMU.mdl'' is compiled into an FMU file.This FMU compilation file includes the binaries files for Windows and Linux, and the source code for further compilation in other architectures and operative systems.
Compiling FMU Models
111To simulate and compile the FMU models, the library ''FMPy'' was selected.This library is for the Python programming language under the Standard 2-clause BSD License, supported by Dassault Syste `mes.It presents compatibility with the latest versions of the FMI standard (FMI 1.0, 2.0, and 3.0).Additionally, it ensures seamless execution across various operating systems (Windows, Linux, and macOS), and offers a basic user-friendly graphical interface to interact with the FMU model.Furthermore, it permits the compilation of C code.
112For instance, if an electrolyzer FMU is generated using Windows and includes the source code inside, compilation for Linux can be achieved through the FMPy library.This process involves running a specific command in the Linux Terminal: ''fmpy compile Electrolizador_FMU.fmu''.
113The compiled potential of FMU allows simulations with various operating systems, including Windows, Linux, and macOS.Also, the cross-platform capability allows for seamless execution across different computational architectures, such as 32bit and 64-bit systems, enabling high portability.
Simulation FMU Models
114The FMPy library is capable of simulating FMUs.The steps are as follows.First the necessary information about the FMU file is retrieved, and must include the FMI version, the type of FMI supported (''Co-simulation'' and/or ''model exchange''), the parameter's name, description, and type.The signals name, description and type.The Python code below shows all this information.
115Second, values are assigned to the parameters.When the FMU model is compiled, the value parameters are set, but they can be changed using a Python dictionary.The dictionary is defined with the name of the parameter as keys, and the values of the parameters are assigned to each dictionary key.
116Third, the input signals are created by the numpy library (source: numpy.org).Fourth, the compiler, simulation time, and simulation step time are defined.Fifth, with all the previous information, the model simulation is executed.Finally, the simulation results are obtained in a numpy matrix.
Integration FMU Models
117Integrating multiple FMUs into a single simulation model is significantly streamlined by Matlab-Simulink capabilities.Although alternative tools are available (source: fmi-standard.org/tools),Matlab-Simulink offers an intuitive approach using the FMU Simulink block.
118One of the key benefits of using Matlab-Simulink is the ability to easily import existing FMU models.This can be achieved by selecting the corresponding archive with a '.fmu' extension, as illustrated in Fig. 17.Upon importing an FMU file, the FMU block exhibits the input and output buses of the FMU file.
119Another key advantage of Simulink is its ability to integrate multiple FMU blocks within a single Simulink model.The Simulink interface allows users to connect FMU blocks graphically, simplifying input and output signal mapping.Furthermore, the Simulink model outcome can be easily exported as a single FMU model.Fig. 18 illustrates a broader concept by combining diverse modeling tools, such as Modelica or ANSYS, to create a unified FMU for simulation.
Discussion of FMU Models
120FMI is an open-source and standardized format for communicating complex dynamic systems.FMU is the format of dynamic models stored following the FMI standard.The distribution of FMU models could be opened by including the source code (c and c++ files), or closed by only including the binaries.
121The widespread use of FMU models enables seamless interaction between different modeling environments.The advantages of each modeling software, such as Matlab-Simulink, Simcenter Amesim (source: plm.sw.siemens.com),Modelica (source: ansys.com),Ansys (source: ansys.com),are boosted by facilitating collaboration among modelers from different backgrounds and domains.Also, handling complex models by breaking down the entire system into smaller sub-models, making it easier to manage complexity and computational resources.Furthermore, executing parallel simulations is available by FMU models using, for example, the Python environment.Additionally, FMU models are efficient because they are compiled for each OS and computational architecture.Finally, we encourage the use of it.
METAHEURISTIC OPTIMIZATION
122Metaheuristic optimization is a high-level search strategy that pursuits complex problem spaces by exploring and exploiting promising candidate solutions.Metaheuristic algorithms draw inspiration from the natural world and social dynamics to guide the search process.An optimization problem, in the context of metaheuristic optimization, is defined as the minimization function denoted as:
123where X is an n-dimensional integer-valued vector of decision variables to be optimized, and f X ð Þ is the objective function to be minimized.This minimization function is subject to J inequality constraint functions:
G X
124where G is the J-dimensional inequality function vector.Also, the minimization function is subject to K equality constraint functions denoted as:
125where H is the K-dimensional equality function vector.Additionally, the minimization function is subject to n lower and upper bounds of the decision variables to be optimized, and is denoted as:
126where x L i is the lower bound of the i-th variable to be optimized, x i is the i-th variable to be optimized, and x U i is the lower upper of the i-th variable to be optimized.
Codification of Decision Variables
127The hydrogen station is controlled by three key signals, which are commanded by users, and users' decision-making is crucial in this process.The metaheuristics optimization algorithm searches for the best strategies to satisfy the scenery boundaries while minimizing the overall cost function.The optimization variables are: S 1 : Operating mode of the electrolyzer: the operating level of the electrolyzer ranges from 0% (off) to 100% (full operation).Intermediate values can be assigned.S 2 : Operating mode of the reformer: the operating level of the reformer ranges from 0% (off) to 100% (full operation).Intermediate values can be assigned.S 3 : Fuel type of the reformer: the type of fuel used by the reformer, which can be: 1, natural gas, 2, biogas, and 3 ethanol.
128The solution space is constrained within the defined range for each signal.For a y-day time horizon with a resolution of 1 h, and using the three signals, the initial vector length is determined as:
129where N is the number of search space variables without compression.To reduce the search space, signals S 2 and S 3 are encoded into a single signal using the function:
130Finally, the signals are codified into a vector of decision variables by concatenating them as:
131where S 1 , S 2 , and S 3 are the signals to be optimized.
Restrictions or Constraints
132The upper and lower bounds of the variable to be optimized are:
133When the hydrogen station simulation is complete, several user-defined constraints are calculated.The metaheuristic algorithm considers resource limitation constraints for the duration of the hydrogen station simulated period: (1) the maximum water consumption by the reformer and the electrolyzer, in m 3 ; (2) the maximum natural gas consumption by reformer, in kg; (3) the maximum ethanol consumption by the reformer in kg; (4) the maximum electrical power consumed simultaneously by the reformer, electrolyzer, HSS, and CCS, in kW; and (5) the maximum CO 2 emitted into the atmosphere by the reformer process and due to nonrenewable electricity, in kg.
Fitness Function
134The optimization problem is defined as the minimization of the total monetary cost.This expense is calculated through the summation of the product of each resource's partial cost and its corresponding consumption rate.The resources taken into consideration comprise electricity, water, carbon dioxide, natural gas, and ethanol.The environmental cost is included in the total momentary cost by the price of CO 2 emission allowance multiplied by the CO 2 emissions.Therefore, the monetary cost is:
Python Library Used
135The hydrogen station optimization statement is implemented in Python using the library PyMoo.This library is an open-source Python library with Apache License 2.0.It provides a variety of optimization algorithms: Genetic Algorithm, Differential Evolution, Biased Random Key Genetic Algorithm, Nelder Mead, Pattern Search, CMAES, Evolutionary Strategy, Stochastic Ranking Evolutionary Strategy, Improved Stochastic Ranking Evolutionary Strategy, NSGA-II, R-NSGA-II, NSGA-III, U-NSGA-III, R-NSGA-III, MOEAD, AGE-MOEA, C-TAEA, SMS-EMOA, and RVEA. 33he PyMoo library offers an easy-to-use python interface to implement the objective function, and constraints.PyMoo library exhibits high-performance due to it being optimized for performance, enabling fast computation times even for large-scale problems. 33
DISCUSSION
136The hydrogen supply chain network faces significant challenges, such as the excessive cost of production, insignificant territorial infrastructure for distribution, assuring safety concerns, resolving storage obstacles, best-matching production to demand, finest combination with uncertainty renewable energies surplus age, etc.To overcome these challenges, the hydrogen station models presented here will assist in exploring the alternatives at the design stage.These models recreate a promising low-carbon future scenario for logistics operators.
137The feedstock for the electrolyzer and reformer encompasses water, electricity, natural gas, biogas, and bioethanol.However, coal as input material is not contemplated due to €considerable CO 2 emissions at processing.Consequently, electrolysis, SMR, and ER are the three processes considered for hydrogen production.Also considered is the direct carbon footprint due to CO 2 produced from the reformer process.The CCS is capable of capturing the CO 2 formed from €reformer process.Additionally, the indirect carbon footprint from the technological mixture of electrical energy sources is reflected in the models.Consequently, the calculation of the total carbon footprint is included.However, the life cycle analysis has not yet been explored.
138The integration of metaheuristic optimization techniques at €design state explores €performance under diverse operating conditions.The consideration of multiple optimization objectives, reducing carbon emissions and minimizing the total monetary cost, are crucial in ensuring the sustainability and economic viability of hydrogen stations.
139Creating a synthetic scenario involves addressing the constraints of a specific location and external conditions.A critical constraint in this scenario is estimating the daily hydrogen demand of hydrogenpowered heavy-duty vehicles.Additionally, external limitations of the hydrogen station, such as feedstock consumption (e.g., natural gas or ethanol), must be defined.Furthermore, considering the CO 2 emissions from the electrical energy production source allows for the imposition of severe environmental constraints, such as achieving carbon neutrality.
140A strategic approach to enhance the optimization process is to compile the models into an FMU.This allows for further exploration of the design space using metaheuristic techniques.Moreover, the FMU-based approach facilitates the improvement of parameter tuning, which can be refined from the preliminary values defined in the tables.By iterating on the parameter tuning, the optimization framework can be fine-tuned to better capture the intricacies of the hydrogen station behavior, leading to a more precise hydrogen station design.
CONCLUSION
141The adoption of hydrogen for heavy-duty vehicles holds significant promise for transforming the logistics landscape.However, substantial challenges must be addressed to achieve widespread adoption.Therefore, this study shows a comprehensive approach to explore and optimize the hydrogen station at the design state using: Matlab-Simulink software for modeling and exchanging to FMU, which broke down the system into smaller subsystems for easier understanding.The FMI standard for compatibility between different modeling software and computational architectures.This research proposes the widespread adoption of FMI as a standardized framework for model exchange between disparate modeling environments, facilitating interdisciplinary collaboration and sharing complex models across diverse disciplines.The Python language for integration and scalability opportunities.The methodology enabled efficient simulation executions using FMU mod-els with the Python language, allowing for easier scalability and replication across different computational architectures and operative systems.Metaheuristic algorithms for optimization.A practical approach to optimizing hydrogen stations under various scenarios has been outlined, including the formulation of essential parts such as constraints, fitness functions, and variable codification.
142This study explores the hydrogen station design by decomposing it into smaller subsystems, the electrolyzer, reformer, HSS, and CCS.These models have been individually analyzed, tested and validated.Additionally, the projected solution shows scalability opportunities using FMU combined with metaheuristic optimization for enhancing hydrogen stations under diverse scenarios.The proposed problem statement focuses on optimizing the signals commanded by user operators.
143Python language serves as an agglutination tool.On the one hand, the Python library ''pymoo'' provides a huge collection of metaheuristic algorithms.On the other hand, the Python library ''FMPy'' provides the tools for simulation and compilation under different OSs and computational architectures.Also, the Python language allows synthetic signal generation by AR models.Furthermore, the AR parameters are turned by historical datasets obtained from OSINT sources.
Fig. 1 .
144Fig. 1.Primary sources of hydrogen production.
Fig. 2 .
145Fig. 2. Hydrogen reformer in Matlab-Simulink.
Fig. 4 .
146Fig. 4. Schematic of PEM water electrolysis.
Fig. 5 .
147Fig. 5. Schematic of SOEC water electrolysis.
Fig. 6 .
148Fig. 6.Electrolyzer model in Matlab-Simulink.
Fig. 7 .
149Fig. 7. Synthetic input signals for the electrolyzer.
Fig. 8 .
150Fig. 8. Electrolyzer simulation output signals (original artwork by authors).
Fig. 9 .
151Fig. 9. Schematic of an HHS system.
Fig. 10 .
152Fig. 10.The chamber volume as a motor rotational angle.
Fig. 11 .
153Fig. 11.Pressure as a function of volume with the working principle.
Fig. 12 .
154Fig. 12. HSS model in Matlab-Simulink.
Fig. 13 .
155Fig. 13.Hydrogen reformer in Matlab-Simulink.
Fig. 14 .
156Fig. 14.CCS modeled in Matlab-Simulink.
Fig. 15 .
157Fig. 15.Electrolyzer FMU file content.
Fig. 16 .
158Fig. 16.Matlab command for model exchange to FMU file.
Fig. 17
159Fig. 17.The procedure of importing an existing FMU using the FMU block of Matlab-Simulink.
160Fig. 17.The procedure of importing an existing FMU using the FMU block of Matlab-Simulink.
Fig. 18 .
161Fig. 18.FMU Matlab-Simulink block for FMU file import.
Table I .
162Private hydrogen stations in Spain
Table II .
163Parameters of electrolyzer technologies 8,13 Electrolysis technology
164R&DHydrogen Station Model Design Using Functional Mock-Up Units and Metaheuristics Optimization means a restriction to use additional electricity due to the electrical energy threshold defined by the operators being crossed, and '0' means no restriction.H 2 O Saturation Flag: A constraint signal referring to accumulated electrical energy consumption.It is a binary signal, '1' means a restriction to use additional electricity due to the electrical energy threshold defined by the operators being crossed, and '0' means no restriction.
Table III .
165The input signals of the electrolyzer
Table IV .
166The output signals of the electrolyzer
Table VI .
167Parameters of hydrogen reformer using methane
Table VII .
168Parameters of hydrogen reformer using ethanol
Table IX .
169Reformer parameters for each state
170where t is the time variable, dt is the simulation step, t ini is the time at the simulation kick-off, t end is the time at the simulation concludes, C EE is the price of electrical energy, in €/kWh, P E is the total electric power required by the hydrogen station at the time t, in kW, C H 2O is the price of water, in €/m 3 , Q H 2O is the total water flow rate required by the hydrogen station at the time t expressed in m 3 /h], C CO2 is the price of the CO 2 emission allowance at the time t, in €/CO 2 kg, Q CO2 is the total CO 2 emissions rate produced by the hydrogen station at the time t; in kg of CO 2 /h, C NG is the price of natural gas at the time t, Q NG is the total natural gas flow rate consumed by the hydrogen station at the time t, C EtOH is the price of natural gas at the time t, Q EtOH is the total natural gas flow rate consumed by the hydrogen station at the time t, and C T is the total monetary cost.
참고문헌 33건
- Water electrolysis: who first? Journal of Electroanalytical Chemistry · Elsevier BV · 1999 10.1016/s0022-0728(99)00364-2
- Low cost hydrogen production by anion exchange membrane electrolysis: A review Renewable and Sustainable Energy Reviews · Elsevier BV · 2017 10.1016/j.rser.2017.05.258
- Future cost and performance of water electrolysis: An expert elicitation study International Journal of Hydrogen Energy · Elsevier BV · 2017 10.1016/j.ijhydene.2017.10.045
- MATLAB Simscape Model of An Alkaline Electrolyser and Its Simulation with A Directly Coupled PV Module for Auckland Solar Irradiance Profile International Journal of Renewable Energy Research · Gazi University · 2018 10.20508/ijrer.v8i1.7266.g7329
- Hydrogen supply chain network design: An optimization-oriented review Renewable and Sustainable Energy Reviews · Elsevier BV · 2019 10.1016/j.rser.2018.12.060
- Hydrogen refueling station networks for heavy-duty vehicles in future power systems Transportation Research Part D Transport and Environment · Elsevier BV · 2020 10.1016/j.trd.2020.102358
- Alkaline Water Electrolysis Powered by Renewable Energy: A Review Processes · Multidisciplinary Digital Publishing Institute · 2020 10.3390/pr8020248
- Pymoo: Multi-Objective Optimization in Python IEEE Access · Institute of Electrical and Electronics Engineers · 2020 10.1109/access.2020.2990567
- Steam reforming of ethanol for hydrogen production: influence of catalyst composition (Ni/Al2O3, Ni/Al2O3–CeO2, Ni/Al2O3–ZnO) and process conditions Reaction Kinetics Mechanisms and Catalysis · Springer Science+Business Media · 2021 10.1007/s11144-021-01945-6
- A framework for assessing economics of blue hydrogen production from steam methane reforming using carbon capture storage & utilisation International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.04.104
- Review on hydrogen safety issues: Incident statistics, hydrogen diffusion, and detonation process International Journal of Hydrogen Energy · Elsevier BV · 2021 10.1016/j.ijhydene.2021.07.005
- The Functional Mock-up Interface 3.0 - New Features Enabling New Applications Linköping electronic conference proceedings · Linköping University Electronic Press · 2021 10.3384/ecp2118117
- Three-dimensional CFD simulation of proton exchange membrane water electrolyser: Performance assessment under different condition Applied Energy · Elsevier BV · 2021 10.1016/j.apenergy.2021.118016
- Electrochemical hydrogen compressor: Recent progress and challenges International Journal of Hydrogen Energy · Elsevier BV · 2022 10.1016/j.ijhydene.2022.04.134
- A critical and systematic review of sustainable hydrogen production from ethanol/bioethanol: Steam reforming, partial oxidation, and autothermal reforming Fuel · Elsevier BV · 2022 10.1016/j.fuel.2022.126526
- Carbon capture and storage (CCS): development path based on carbon neutrality and economic policy Carbon Neutrality · Springer Science+Business Media · 2022 10.1007/s43979-022-00039-z
- Experimentally Validated Modelling of an Oscillating Diaphragm Compressor for Chemisorption Energy Technology Applications Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16010489
- Hydrogen refueling station: Overview of the technological status and research enhancement Journal of Energy Storage · Elsevier BV · 2023 10.1016/j.est.2023.106758
- Distributed Simulation of Encrypted Dynamics via Functional Mockup Units 2022 IEEE/SICE International Symposium on System Integration (SII) · 2023 10.1109/sii55687.2023.10039150
- A Review of the Optimization Strategies and Methods Used to Locate Hydrogen Fuel Refueling Stations Energies · Multidisciplinary Digital Publishing Institute · 2023 10.3390/en16052171
- Review of technological progress in carbon dioxide capture, storage, and utilization Gas Science and Engineering · Elsevier BV · 2023 10.1016/j.jgsce.2023.205070
- Quantitative risk assessment of China's first liquid hydrogen refueling station Risk Analysis · Wiley · 2023 10.1111/risa.14207
- Overview of electrolyser and hydrogen production power supply from industrial perspective International Journal of Hydrogen Energy · Elsevier BV · 2023 10.1016/j.ijhydene.2023.10.325
- Fuel reforming processes for hydrogen production Fuel · Elsevier BV · 2023 10.1016/j.fuel.2023.130427
- Modeling of Large-Scale Hydrogen Storage System Considering Capacity Attenuation and Analysis of Its Efficiency Characteristics Energy Engineering · Taylor & Francis · 2023 10.32604/ee.2023.027593
- Investigating the Functional Mock-up Interface as a Coupling Framework for the multi-fidelity analysis of nuclear reactors Progress in Nuclear Energy · Elsevier BV · 2024 10.1016/j.pnucene.2023.105022
- Thermodynamic modeling and analysis of hydrogen storage systems in hydrogen refueling stations International Journal of Hydrogen Energy · Elsevier BV · 2024 10.1016/j.ijhydene.2024.01.099
- High-pressure proton exchange membrane water electrolysis: Current status and challenges in hydrogen production International Journal of Hydrogen Energy · Elsevier BV · 2024 10.1016/j.ijhydene.2024.04.188
- Dynamic Modelling and Surrogate-based Optimization of Auto-thermal Reforming for Enhanced Hydrogen Production Computer-aided chemical engineering/Computer aided chemical engineering · Elsevier BV · 2024 10.1016/b978-0-443-28824-1.50172-1
- Integration of Neural Networks in GT-Suite and Coupling with an RL-Agent for Automation of Control and Regulation Tasks for a commercial H2 engine Proceedings · Multidisciplinary Digital Publishing Institute · 2024 10.1007/978-3-658-44740-3_12
- Hydrogen storage systems performance and design parameters using response surface methods and sensitivity analysis Renewable and Sustainable Energy Reviews · Elsevier BV · 2024 10.1016/j.rser.2024.114628
- A comprehensive review of the state-of-the-art of proton exchange membrane water electrolysis Materials Science for Energy Technologies · Elsevier BV · 2024 10.1016/j.mset.2024.07.006
- An Extendible Multiphysics Model of a Single Water Electrolysis Cell ECS Meeting Abstracts · Institute of Physics · 2024 10.1149/ma2024-02453162mtgabs