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
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning 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 →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Stack voltagevoltage | 0 | 4.6 | V | 1e-08 |
Stack powerpower | 0 | 6.9 | W | 1e-08 |
Explore the recorded outputs
Tabulated fuel-cell stack recorded example
Tabulated fuel-cell stack / Stack voltage2 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
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.
- 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.
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.
- 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)