Lemonergy · Studio block

Tabulated fuel-cell stack

Interpolated polarization table with explicit out-of-table diagnostic.

Implementation ID
battery-fuel-cell-table
Reviewed
2026-10-27

Behavior

Linearly interpolates a current-to-stack-voltage polarization table and reports power. An in-range output distinguishes interpolation from operation beyond the supplied current domain.

Interface

Tabulated fuel-cell stack interfaceInputs or arguments on the left, observed outputs on the right. Conserving terminals appear below the component. The tables give units and behavior.Tabulated fuel-cell stackStudio blockcurrentvoltagepowerinRange
Original Lemonergy interface view. Lines identify ports; they are not a completed simulation circuit.
Ports and observed outputs
NameDirectionUnitMeaning
currentinputAStack current; scalar.
voltageoutputVStack voltage; scalar.
poweroutputWStack power; scalar.
inRangeoutputtrue / falseCurrent in table range; scalar.

Parameters

Defaults are initial model values. Select values for your own model and operating conditions.

Configuration fields
ParameterUnitDefaultMeaning and limits
Polarization table [A, V]
voltageTable
See field order[[0, 5], [1, 4.8], [2, 4.4]]Polarization table [A, V]. Rows are ordered coordinate/value pairs; the first column must be strictly increasing.

Equations and rules

  • Pstack = Istack * Vtable(Istack)

Worked example

Tabulated fuel-cell stack worked example

Use the defaults below with Stack current = 1.5 A. At 0 s, Stack voltage is 4.6 V. Additional checks are listed below.

Open Studio example after release →
Numerical checks for the bundled synthetic example
OutputTime (s)Expected valueUnitAbsolute tolerance
Stack voltage
voltage
04.6V1e-08
Stack power
power
06.9W1e-08

Explore the recorded outputs

Tabulated fuel-cell stack recorded example

Tabulated fuel-cell stack / Stack voltage
Tabulated fuel-cell stack / Stack voltage against timeRecorded synthetic simulation values. Time in seconds; output in V.4.104.350.254.60.54.850.755.11VTime (s)
Tabulated fuel-cell stack / Stack voltage: 4.6 V at 0 s

2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.

Download the recorded samples (JSON) · Open this Studio example after release

Use in a workflow

Tabulated fuel-cell stack worked example

Interpolated polarization table with explicit out-of-table diagnostic.

  1. Tabulated fuel-cell stack: Linearly interpolates a current-to-stack-voltage polarization table and reports power. An in-range output distinguishes interpolation from operation beyond the supplied current domain.
    • Use the parameter values in the block reference.
    • Implementation tested locally; public release pending.
Open Studio example after release

Connected concepts

Limits and interpretation

  • This static table has no gas, thermal, pressure or electrochemical states. A measured polarization curve is required for a particular stack.
  • The example verifies numerical behavior for synthetic parameters. Cell characterization and validation for an intended use are separate tasks.

Scientific and mathematical references

These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.

  1. Fuel Cell Handbook, seventh edition

    U.S. Department of Energy / National Energy Technology Laboratory · 2004

    Technical reference · Thermodynamic potential, polarization losses, Faraday reactant balances and fuel-cell operating principles; chapters 2–3.

Implementation sources

This reference follows the public interface and locally verified numerical checks for an upcoming release.

Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27

  • docs/glossary/native-block-verification.json

This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)