model hydrogen electrolyzers with simulink and simscape
a hydrogen electrolyzer is an electrochemical device that consumes electrical power to split water into hydrogen and oxygen. hydrogen electrolyzers are used for hydrogen production and are considered as part of a green energy production–storage distribution system when combined with a , a hydrogen tank, and fuel cell systems such as .
the three main types of hydrogen electrolyzers—alkaline, polymer electrolyte membrane (pem), and solid oxide—focus on differences in electrolyte materials. a pem hydrogen electrolyzer decomposes water using a semipermeable membrane that allows proton transport and blocks the electron flow. because of this characteristic, this kind of hydrogen electrolyzer is also known as a proton exchange membrane electrolyzer.
as shown below, water enters the electrolyzer at the anode. when direct current (dc) electricity is applied between two electrodes, negatively charged oxygen in the water molecule gives up its electrons and results in protons, electrons, and oxygen at the anode. the protons pass through the membrane toward the cathode, where the protons combine with electrons and produce hydrogen.
pem electrolyzers are valued because of their greater energy efficiency, wider operating temperature, and easier maintenance relative to other kinds of hydrogen electrolyzers.
creating software models of hydrogen electrolyzers enables you to simulate different levels of fidelity of the hydrogen production. simscape electrical™ and simscape fluids™ help you create hydrogen electrolyzer models so that you can:
- assess the electrothermal performance of the electrolyzer stack using a hydrogen electrolyzer model that describes the detailed electrochemical reaction
- design, simulate, and optimize the performance of a hydrogen production system using a hydrogen electrolyzer model with functional details for component and balance-of-plant sizing
- develop and fine-tune an electrolyzer control system using a hydrogen electrolyzer model suitable for hardware-in-the-loop testing
- perform technoeconomic studies of hydrogen production systems using renewable energy sources and hydrogen electrolyzer models
simscape™ and simscape electrical provide model libraries for simulating hydrogen electrolyzers. you can use these models to analyze the hydrogen electrolyzer as an electric load within a larger electrical system. with simulink®, you can use electrolyzer models to support the development of electrolyzer system controls, such as closed-loop controls and supervisory logic design. using embedded coder® and hdl coder™, it is easy to automatically generate readable, efficient c/c or hdl code for the controller, validate the control design using hardware-in-the-loop testing, and deploy the code to or fpga/soc targets.
to build a model of a hydrogen electrolyzer, you can start with the . this model provides the amount of hydrogen produced and water consumed based on the electrical energy provided and the water temperature. the hydrogen electrolyzer model represents a stack of series-connected individual electrolyzer cells with customizable configurations such as the number of cells, water purging logic, transport area, distance between electrodes, and the number of electrode pairs. additional options for parametrization include electrolysis efficiency, efficiency temperature, electrical resistivity, and ph value assumptions.
with simscape electrical and simscape fluids, you can customize a . this includes the electrolyzer stack and balance-of-plant components such as heat exchangers, dehumidifiers, pressure regulators, water and oxygen recirculation paths, and water management. this first principles–based hydrogen electrolyzer model with detailed electrochemistry, networks, and networks enables you to develop a pem electrolyzer at both the component and system levels. this level of model detail lets you:
- simulate hydrogen electrolyzer behaviors with different component specifications and under different operating conditions
- design controls for thermal, pressure, and water management
- monitor and manage key operational metrics, such as electrolyzer stack temperature, voltage, electric power consumption, water consumption, and hydrogen production level
a hydrogen electrolyzer model, as part of an electrical system, provides a framework for performing trade studies to economize electrolyzer stack efficiency, hydrogen production, and water consumption. a hydrogen electrolyzer model with electrochemical reactions, water and hydrogen handling, and thermal management systems, can be combined with a renewable energy source (such as a solar array or a wind farm) and an energy storage system to model a green hydrogen production system such as a .
running simulations with a system model enables you to evaluate the operational characteristics of producing green hydrogen over an extended period by consuming power from the renewable energy source alone, or from a combination of the renewable energy source and the energy storage system.
examples and how to
examples
videos
book
software reference
see also: fuel cell model, , hydrogen fuel cells reduce co2 emissions