Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Fuel Cell (fuelCell)

A fuel cell stack whose voltage falls with current along its polarisation curve.

fuelCell

Component reference · 繁體中文

Group: Sources · Kind: {"kind":"fuelCell"}

When to use it

Use it for fuel cell vehicles, backup power and hybrid systems with a battery or supercapacitor. For a fixed voltage, use DC Voltage Source.

Pins

Pin Domain Meaning
p electrical Positive terminal (cathode)
n electrical Negative terminal (anode)

Common parameters

  • ns: Cells in series in the stack (Default: 35)
  • e0: Open-circuit voltage of one cell before losses (Default: 1.1909)
  • r: Resistance of one cell (Default: 2.05m)
  • il: Limiting current, where the voltage collapses (Default: 75.9)
  • cdl: Double-layer capacitance of one cell (Default: optional (off))

Parameters

Key Unit Default Typical range Description
ns — 35 Cells in series in the stack
e0 V 1.1909 Open-circuit voltage of one cell before losses
a V 66.2m Tafel slope of the activation loss of one cell
i0 A 16.7m Exchange current of the activation loss
iCross A 60.7m Current lost inside the stack through the membrane
r Ω 2.05m Resistance of one cell
b V 16m Slope of the concentration loss of one cell
il A 75.9 Limiting current, where the voltage collapses
cdl F optional (off) Double-layer capacitance of one cell

Parameter descriptions are in English in both languages.

Use for: Fuel cell vehicles · Backup power · Hybrids with a battery or supercapacitor

Not for: Storage that can take current back → battery

Formulas

Formula Equation Source
Cell voltage v = E0 − x·r − a·ln(1 + x/i0) + b·ln(1 − x/il) Correa, Jatskevich, Lopes & Arnaud, IEEE Trans. Energy Convers. 19(2) (2004), pp. 433-441, polarisation curve
Activation loss (Tafel) v_act = a·ln(1 + x/i0) Bard & Faulkner, Electrochemical Methods, 2nd ed. (2001), ch. 3 (Tafel equation)
Concentration loss v_conc = −b·ln(1 − x/il) Correa, Jatskevich, Lopes & Arnaud, IEEE Trans. Energy Convers. 19(2) (2004), pp. 433-441, concentration loss
Stack power P = ns·v·i Hayt, Kemmerly & Durbin, Engineering Circuit Analysis, 8th ed. (2012), ch. 2 (power)

Quick check

Inputs:

  • ns: Cells in series = 35 —, ns
  • e0: Open-circuit voltage per cell = 1.1909 V, e0
  • a: Tafel slope per cell = 66.2m V, a
  • i0: Exchange current = 16.7m A, i0
  • iCross: Crossover current = 60.7m A, iCross
  • r: Resistance per cell = 2.05m Ω, r
  • b: Concentration slope per cell = 16m V, b
  • il: Limiting current = 75.9 A, il
  • i: Load current = 20 A

Outputs:

  • x: Current through the losses = i + iCross A
  • vohm: Ohmic loss per cell = x*r V
  • vact: Activation loss per cell = a*ln(1 + x/i0) V
  • vconc: Concentration loss per cell = -b*ln(1 - x/il) V
  • vstack: Stack voltage = ns*(e0 - vohm - vact - vconc) V
  • pst: Stack power = vstack*i W

Model logic

  • Each cell gives e0 less an ohmic, an activation and a concentration loss, all driven by the load current plus iCross.
  • The concentration loss grows without bound as the current nears il, so the stack cannot deliver more than il.
  • With cdl set, the double-layer capacitance cdl / ns sits across the activation and concentration losses and slows the step.
  • The activation and concentration losses are diodes solved by Newton's method; temperature, pressure and flow are fixed.

Model

Each of the ns cells gives e0 less three losses, all driven by the load current i plus the crossover current iCross: the ohmic loss (i + iCross) * r, the activation loss a * ln(1 + (i + iCross) / i0) and the concentration loss -b * ln(1 - (i + iCross) / il), which grows without bound as the current nears the limiting current il. This is the electrochemical model of Correa et al. (2004) with stack currents in amperes and the membrane resistance taken at zero current. With cdl set, the double-layer capacitance cdl / ns sits across the activation and concentration losses, so after a load step the voltage first drops by the ohmic loss only and then settles onto the curve. The activation and concentration losses are diodes solved by Newton's method. The current of the part named like the fuel cell is the current out of p. Temperature, gas pressure, fuel flow and humidity are fixed at the values the parameters were worked out for.

Common mistakes

  • The stack cannot deliver more than il. A load that asks for more pulls the voltage down to zero instead, so check the current against il.
  • Without cdl the voltage follows a load step at once. The default has no cdl because no data sheet gives one; set a few farads per cell to see the slow part of the step.
  • r, a and b are per cell while i0, iCross and il are currents for the whole stack. Scale the currents with the active area when you change the cell size.

Datasheet and sources

Fit e0, a, i0, r, b and il to the polarisation curve of the data sheet (cell voltage against current density, times the active area for the currents). The defaults are the Ballard Mark V cell of Correa et al. (2004), Table I (343 K, 1 atm, 50.6 cm²), 35 cells; see the parameter table for how each value follows from it.

Example

Open the example with the command file.openExample and the name demo:fuelCell.


Generated by cargo xtask reference from the usage texts and parameter specs. Do not edit by hand.