Fuel Cell (Table-Based)
R2026bLibraries:
Simscape /
Battery /
Fuel Cell
Description
The Fuel Cell (Table-Based) block models a fuel cell stack, using a voltage-current (V-I) curve that maps the stack current to the single‑cell voltage. The block calculates the stack voltage as the product of the number of cells and the interpolated single‑cell voltage from the V–I curve.
You can also model first-order voltage dynamics and fuel consumption estimation for multiple fuel types, including hydrogen, syngas, ammonia, methane, and methanol.
Voltage Determination
The block obtains the single-cell voltage by interpolating the V-I table at the instantaneous stack current. The stack voltage is:
where:
Ncells is the number of cells in the stack and is equal to the value of the Number of cells in stack parameter.Vcell(I)is the single-cell voltage at the instantaneous stack current(I).
When you enable first-order voltage dynamics by setting the Overpotential
dynamics parameter to Time constant, the block
aggregates the activation and concentration overpotential transient as a single lumped time
constant. The stack voltage is then:
where τ is the time constant for the dynamics and is
equal to the value of the Time constant for dynamics parameter.
Reverse Current Protection
To prevent the current from flowing backward in the fuel cell stack, the block models an internal ideal diode. The diode switches from the on state to the off state when the current drops to zero. When the forward voltage becomes positive, the diode switches from the off state to the on state.
Fuel Consumption
The block computes the fuel consumption by using Faraday's law. By assuming 100% fuel utilization, the block computes the minimum fuel flow that is required to sustain the electrical output.
To specify the type of fuel that the block consumes, use the Fuel parameter. The fuel type determines the molar mass, electron count, and theoretical maximum voltage.
| Fuel | Theoretical Maximum Cell Voltage | Electrons Transferred per Molecule of Fuel |
|---|---|---|
| Hydrogen |
| 2 |
| Syngas |
| 2 |
| Methane |
| 8 |
| Ammonia |
| 3 |
| Methanol |
| 6 |
Heat Generation
The block reports the difference between the theoretical no-loss power and the actual electrical power output as heat:
where Vno-loss is the theoretical maximum cell voltage.
This heat represents aggregated activation, ohmic, and concentration losses.
Variables
To set the priority and initial target values for the block variables before simulation, use the Initial Targets section in the block dialog box or Property Inspector. For more information, see Set Priority and Initial Target for Block Variables.
Nominal values provide a way to specify the expected magnitude of a variable in a model. Using system scaling based on nominal values increases the simulation robustness. You can specify nominal values using different sources, including the Nominal Values section in the block dialog box or Property Inspector. For more information, see System Scaling by Nominal Values.
Ports
Conserving
Parameters
References
[1] Dicks, Andrew L., and David A. J. Rand. "Fuel Cell Systems Explained". 3rd ed. Hoboken, NJ: Wiley, 2018. https://doi.org/10.1002/9781118706992.
Extended Capabilities
Version History
Introduced in R2026b
See Also
Fuel Cell Equivalent Circuit | Fuel Cell (Simscape Electrical)
