{
  "node": {
    "id": "block:battery-fuel-cell-table",
    "type": "Block",
    "label": "Tabulated fuel-cell stack",
    "properties": {
      "id": "battery-fuel-cell-table",
      "name": "Tabulated fuel-cell stack",
      "kind": "studio",
      "summary": "Interpolated polarization table with explicit out-of-table diagnostic.",
      "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.",
      "ports": [
        {
          "name": "current",
          "direction": "input",
          "unit": "A",
          "description": "Stack current; scalar.",
          "shape": [],
          "elementType": "real",
          "quantity": "current"
        },
        {
          "name": "voltage",
          "direction": "output",
          "unit": "V",
          "description": "Stack voltage; scalar.",
          "shape": [],
          "elementType": "real",
          "quantity": "voltage"
        },
        {
          "name": "power",
          "direction": "output",
          "unit": "W",
          "description": "Stack power; scalar.",
          "shape": [],
          "elementType": "real",
          "quantity": "power"
        },
        {
          "name": "inRange",
          "direction": "output",
          "unit": "true / false",
          "description": "Current in table range; scalar.",
          "shape": [],
          "elementType": "bool",
          "quantity": "dimensionless"
        }
      ],
      "parameters": [
        {
          "key": "voltageTable",
          "label": "Polarization table [A, V]",
          "unit": "See field order",
          "default": [
            [
              0,
              5
            ],
            [
              1,
              4.8
            ],
            [
              2,
              4.4
            ]
          ],
          "description": "Polarization table [A, V]. Rows are ordered coordinate/value pairs; the first column must be strictly increasing."
        }
      ],
      "equations": [
        "Pstack = Istack * Vtable(Istack)"
      ],
      "example": {
        "title": "Tabulated fuel-cell stack worked example",
        "text": "Use the defaults below with Stack current = 1.5 A. At 0 s, Stack voltage is 4.6 V. Additional checks are listed below.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-battery-fuel-cell-table",
        "label": "Open Studio example",
        "checks": [
          {
            "port": "voltage",
            "atS": 0,
            "value": 4.6,
            "tolerance": 1e-08,
            "label": "Stack voltage",
            "unit": "V"
          },
          {
            "port": "power",
            "atS": 0,
            "value": 6.9,
            "tolerance": 1e-08,
            "label": "Stack power",
            "unit": "W"
          }
        ],
        "inputs": [
          {
            "port": "current",
            "label": "Stack current",
            "value": 1.5,
            "unit": "A"
          }
        ]
      },
      "limits": [
        "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."
      ],
      "availability": {
        "status": "released",
        "label": "Available in Lemonergy Studio",
        "detail": "The bundled example is available in the production release verified on 28 October 2026. The parameters and examples here are synthetic teaching fixtures, not a characterized cell or a validated operating limit."
      },
      "references": [
        "netl-fuel-cell-handbook"
      ],
      "evidence": [
        "docs/glossary/native-block-verification.json"
      ],
      "sourceRepository": "Lemonergy Studio public contract",
      "sourceRevision": "verification-2026-10-27",
      "caseIds": [
        "native-battery-fuel-cell-table"
      ],
      "exampleTraces": [
        {
          "id": "battery-fuel-cell-table",
          "url": "https://lemonergy.com/learn/glossary/api/traces/battery-fuel-cell-table.json?v=c50e9910d149",
          "title": "Tabulated fuel-cell stack recorded example",
          "exampleId": "block-battery-fuel-cell-table",
          "source": "Executed synthetic Lemonergy Studio example",
          "recordedOn": "2026-10-28",
          "points": 2,
          "channels": 3,
          "omittedChannels": 0,
          "interpolation": "linear",
          "solver": {
            "method": "dormand-prince-45",
            "reason": "no-continuous-states"
          }
        }
      ],
      "type": "battery-fuel-cell-table",
      "implementationId": "battery-fuel-cell-table",
      "url": "https://lemonergy.com/learn/glossary/blocks/battery-fuel-cell-table/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/battery-fuel-cell-table/",
      "sourceFile": "block-library.json",
      "reviewed": "2026-10-27",
      "releaseEvidence": {
        "environment": "production",
        "status": "verified",
        "revision": "e76cadfc203e15eb41f3478d8b1044a5b851953d",
        "verifiedOn": "2026-10-28",
        "exampleUrls": [
          "https://design.lemonergy.com/cosim.html?example=block-battery-fuel-cell-table"
        ]
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/native-battery-fuel-cell-table/0",
      "type": "usesBlock",
      "source": "workflow:native-battery-fuel-cell-table",
      "target": "block:battery-fuel-cell-table",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "Tabulated fuel-cell stack",
        "type": "battery-fuel-cell-table",
        "role": "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.",
        "settings": [
          "Use the parameter values in the block reference.",
          "Bundled example verified on the production release of 28 October 2026."
        ]
      }
    }
  ],
  "outgoing": [
    {
      "id": "edge:cites/block:battery-fuel-cell-table/reference:netl-fuel-cell-handbook",
      "type": "cites",
      "source": "block:battery-fuel-cell-table",
      "target": "reference:netl-fuel-cell-handbook",
      "properties": {
        "sourceFile": "block-library.json",
        "scope": "Scientific or mathematical background; implementation scope is stated by the block contract"
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:native-battery-fuel-cell-table",
      "type": "Workflow",
      "label": "Tabulated fuel-cell stack worked example",
      "properties": {
        "id": "native-battery-fuel-cell-table",
        "title": "Tabulated fuel-cell stack worked example",
        "kind": "studio",
        "summary": "Interpolated polarization table with explicit out-of-table diagnostic.",
        "steps": [
          "Review the block inputs, units and model limits.",
          "Open the Studio example and run its bundled model.",
          "Compare the output channels with the numerical checks; change one input and run again."
        ],
        "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.",
        "observe": "Inspect the outputs and numerical checks on the block reference page.",
        "limits": "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.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-battery-fuel-cell-table",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    },
    {
      "id": "reference:netl-fuel-cell-handbook",
      "type": "Reference",
      "label": "Fuel Cell Handbook, seventh edition",
      "properties": {
        "title": "Fuel Cell Handbook, seventh edition",
        "publisher": "U.S. Department of Energy / National Energy Technology Laboratory",
        "year": 2004,
        "url": "https://netl.doe.gov/sites/default/files/netl-file/FCHandbook7.pdf",
        "type": "Technical handbook",
        "scope": "Thermodynamic potential, polarization losses, Faraday reactant balances and fuel-cell operating principles; chapters 2–3.",
        "accessed": "2026-10-27"
      }
    }
  ]
}
