Main Content

Fuel Cell Equivalent Circuit

Polymer-electrolyte-membrane fuel cell using electrical circuit elements and dynamic membrane water content

Since R2024b

  • Fuel Cell Equivalent Circuit block

Libraries:
Simscape / Battery / Cells

Description

The Fuel Cell Equivalent Circuit block models a polymer-electrolyte-membrane (PEM) fuel cell by using electrical circuit elements and a dynamic membrane water content model that determines the cell ohmic losses.

The Fuel Cell Equivalent Circuit block models these parts of a fuel cell:

Fuel Cell Potential

The block models ideal PEM fuel cell potential by approximating the losses using the Tafel equation:

E=EocAln(II0).

In this equation:

  • EOC is the nominal potential and is equal to the value of the Open-circuit voltage parameter.

  • A is the value of the Tafel slope parameter, in volts.

  • I0 is the value of the Nominal exchange current parameter, in Amperes.

  • I is the current drawn from the fuel cell, in Amperes.

Fuel Cell Dynamic Overpotential

The block models the dynamic overpotential contributions of the fuel cell:

1Rd(τdvddt+vd)=I.

In this equation:

  • τ is the value of the Overpotential time constant parameter, in seconds.

  • Rd is the value of the Activation and concentration equivalent resistance parameter, in ohms.

  • vd is the voltage drop that accounts for the fuel cell dynamics.

Fuel Cell Membrane

The block models the ohmic resistance dynamics of a fuel cell membrane by discretizing the membrane thickness into slices, from the anode to the cathode. The net molar flow of the water through each slice determines the local water content and, consequently, the local resistance to the proton flow. The block computes the total membrane ohmic resistance by summing all slice resistances.

This figure describes a control volume analysis of a thin element of a fuel cell membrane:

Control volume analysis of a thin element of a fuel cell membrane. On the left, W_in represents the molar flow rate, in mol/s, of the water molecules that flow into the membrane slice. On the right, W_out represents the molar flow rate, in mol/s of the water molecules that flow out of the slice control volume.

The block applies the law of conservation of mass to generate the governing equation of the water content inside the ith membrane slice,

αdλidt=WinWout,

where:

  • Win is the molar flow rate, in mol/s, of the water molecules that flow into the membrane slice.

  • Wout is the molar flow rate, in mol/s of the water molecules that flow out of the slice control volume.

  • λi is a nondimensional value that captures the local water concentration relative to the membrane material. The accumulated water is proportional to the net molar flow of the water through the membrane slice.

In this equation, α is a constant equal to

α=SδNρΜ,

where:

  • S is the value of the Active surface area parameter.

  • δ/N is the slice thickness. δ is the value of the Total membrane thickness parameter. N is the value of the Number of membrane discretizations parameter.

  • ρ is the value of the Dry density of material parameter.

  • Μ is the value of the Molecular mass of material parameter.

Diffusion and electro-osmotic drag are the two key mechanisms for water transportation through a fuel cell membrane. A hydrogen fuel cell generates water molecules at the cathode and, through a diffusion mechanism, the molecules of water diffuse over towards the anode side of the membrane. The electro-osmotic drag transfers the water molecules from the anode side to the cathode side of the membrane. While the diffusion mechanisms can be bidirectional between the anode and the cathode, the electro-osmotic drag causes the molecules of water to flow only from the anode to the cathode.

These equations describe the diffusion and electro-osmotic drag mechanisms:

Wdrag=κ1GIλWdiff=κ2Ddλdz

In these equations:

  • dz refers to a length into the membrane, measured from the anode or membrane interface.

  • represents the difference of water content across a membrane length of dz.

  • G is the electro-osmotic drag coefficient. To specify this value, set the Interface for electro-osmotic drag parameters parameter to:

    • Mask ParametersG is a constant and is equal to the value of the Electro-osmotic drag coefficient parameter.

    • Lookup table — The block calculates the value of G by using the value of the Drag table data (1-D) and Electro-osmotic drag coefficient breakpoints parameters. The values of the lookup table are based on the average membrane water content.

    • Literature Heuristic — The block controls G by using literature heuristic and the value of the Drag scale factor parameter.

  • D is the diffusion coefficient. To specify this value, set the Interface for diffusion parameters parameter to:

    • Mask ParametersD is a constant and is equal to the value of the Diffusion coefficient parameter.

    • Lookup table — The block calculates the value of D by using the value of the Diffusion coefficient table data (1-D) and Diffusion coefficient breakpoints parameters. The values of the lookup table are based on the temperature.

    • Literature Heuristic — The block controls D by using an empirical function derived from experiments.

  • κ1=122F, where F is the Faraday constant in S*A/mol.

  • κ2=SρΜδN.

The block considers the full membrane thickness as a series of linked slices with the appropriate and respective boundary conditions. At the ith slice, the block considers the water molar inflow and outflow as contributions from the two water transport mechanisms. The block assumes that these two mechanisms independently contribute to the water molar mass flow:

Win=Wdrag,in+Wdiff,inWout=Wdrag,out+Wdiff,out

For a generic membrane slice i of δ/N thickness, the block assumes that:

  • The molecules of water that enter the i slice due to electro-osmotic drag are equal to the molecules of water that leave the i-1 slice due to electro-osmotic drag.

  • The molecules of water that exit the i slice due to electro-osmotic drag are equal to:

    Wdrag,out,i=κ1GIλiWdrag,in,i=Wdrag,out,i1

  • The molecules of water that enter and exit the i slice due to diffusion are equal to:

    Wdiff,out,i=κ2Dλiλi+1δNWdiff,in,i=κ2Dλi1λiδN

  • The current I is constant for all membrane slices. The proton flow is strictly in plane and is equal in each slice.

By solving the dynamic systems for λi, the block determines the conductivity σ, in S/m, by evaluating this equation for each slice:

σ=(0.005139λ0.00326)e1268(1303.151T),

where T is the temperature, in Kelvin. You can convert each slice conductivity into slice resistance. The total membrane resistance is equal to the sum of the resistance of each slice.

Boundary Conditions

The fuel cell membrane model considers the water content dynamics for a discrete slice of the membrane. The block must also consider the environment at the outer edges of the membrane. To establish the boundary conditions of the entire membrane, the block assumes that:

  • At the anode side, the water molar inflow is due to diffusion only.

  • At the cathode side, the water molar outflow is due to both the electro-osmotic drag and diffusion.

To set the boundary conditions of the membrane, set the Interface for lambda boundary conditions parameter to one of these options:

  • Mask Parameters — Specify the values of the boundary conditions directly by using the Anode water content and Cathode water content parameters.

  • Physical Signal Inputs — Control the boundary conditions externally using the Anode water content and Cathode water content input ports.

Examples

Ports

Input

expand all

Physical signal input port associated with the water content in the anode.

Dependencies

To enable this port, in the Membrane settings, set Interface for lambda boundary conditions to Physical Signal Inputs.

Physical signal input port associated with the water content in the cathode.

Dependencies

To enable this port, in the Membrane settings, set Interface for lambda boundary conditions to Physical Signal Inputs.

Physical signal input port associated with the cell temperature.

Dependencies

To enable this port, in the Thermal settings, set Interface for temperature to Physical Signal Inputs.

Conserving

expand all

Electrical conserving port associated with the positive terminal of the fuel cell.

Electrical conserving port associated with the negative terminal of the fuel cell.

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

Main

Total surface area of the active cell.

Open-Circuit Voltage

Open-circuit voltage. The block uses this value to calculate the potential of an ideal PEM fuel cell.

Operating range of the terminal voltage.

Overpotential

Tafel slope. The block uses this value to calculate the potential of an ideal PEM fuel cell.

Nominal exchange current. The block uses this value to calculate the potential of an ideal PEM fuel cell.

Activation and concentration equivalent resistance. The block uses this value to model the dynamic overpotential contributions of the fuel cell.

Overpotential time constant. The block uses this value to model the dynamic overpotential contributions of the fuel cell.

Membrane

Total thickness of the membrane.

Dry density of the membrane material.

Molecular mass of the membrane material.

Number of membrane discretizations. The value of this parameter specifies the number of slices you divide the membrane into.

Specify the lambda boundary conditions as mask parameters or physical signal inputs.

Water content in the anode.

Dependencies

To enable this parameter, set Interface for lambda boundary conditions to Mask Parameters.

Water content in the cathode.

Dependencies

To enable this parameter, set Interface for lambda boundary conditions to Mask Parameters.

Initial value of lambda of each slice.

Specify the lambda boundary conditions as mask parameters, lookup tables, or with literature heuristic.

Diffusion coefficient.

Dependencies

To enable this parameter, set Interface for diffusion parameters to Mask Parameters.

Lookup table data for diffusion coefficient. The value of this parameter must be a vector of at least two positive scalars. The number of elements of this vector must be equal to the number of elements of the Diffusion coefficient breakpoints parameter value.

Dependencies

To enable this parameter, set Interface for diffusion parameters to Lookup table.

Breakpoints for the lookup table data of the diffusion coefficient. The value of this parameter must be a vector of at least two strictly ascending nonnegative scalars. The number of elements of this vector must be equal to the number of elements of the Diffusion coefficient table data (1-D) parameter value.

Dependencies

To enable this parameter, set Interface for diffusion parameters to Lookup table.

Specify the lambda boundary conditions as mask parameters, lookup tables, or with literature heuristic.

Electro-osmotic drag coefficient.

Dependencies

To enable this parameter, set Interface for electro-osmotic parameters to Mask Parameters.

Lookup table data for drag. The value of this parameter must be a vector of at least two nonnegative scalars. The number of elements of this vector must be equal to the number of elements of the Electro-osmotic drag coefficient breakpoints parameter value.

Dependencies

To enable this parameter, set Interface for electro-osmotic parameters to Lookup table.

Breakpoints for the lookup table data of drag coefficients. The value of this parameter must be a vector of at least two strictly ascending scalars. The number of elements of this vector must be equal to the number of elements of the Drag table data (1-D) parameter value.

Dependencies

To enable this parameter, set Interface for electro-osmotic parameters to Lookup table.

Drag scale factor. The value scales the heuristic equation that the block uses to model the electro-osmotic drag depending on water content.

Dependencies

To enable this parameter, set Interface for electro-osmotic parameters to Literature Heuristic.

Thermal

Specify the cell temperature as mask parameters or physical signal inputs.

Temperature of the fuel cell.

Dependencies

To enable this parameter, set Interface for temperature to Mask Parameters.

References

[1] Zhou, Daming, Fei Gao, Elena Breaz, Alexandre Ravey, Abdellatif Miraoui, and Ke Zhang. "Dynamic Phenomena Coupling Analysis and Modeling of Proton Exchange Membrane Fuel Cells." IEEE Transactions on Energy Conversion 31, no. 4 (December 2016): 1399–1412. https://doi.org/10.1109/TEC.2016.2587162.

[2] Wu, Hao, Peter Berg, and Xianguo Li. "Non-Isothermal Transient Modeling of Water Transport in PEM Fuel Cells." Journal of Power Sources 165, no. 1 (2007): 232–43. https://doi.org/10.1016/j.jpowsour.2006.11.061.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2024b

See Also

| (Simscape Electrical)