{
  "node": {
    "id": "block:passive-supervision-interface",
    "type": "Block",
    "label": "Passive cell supervision interface",
    "properties": {
      "id": "passive-supervision-interface",
      "name": "Passive cell supervision interface",
      "kind": "studio",
      "summary": "Commanded cell current sink and terminal measurements; an abstract simulated interface, no hardware I/O driver.",
      "behavior": "Commanded cell current sink and terminal measurements; an abstract simulated interface, no hardware I/O driver. The terminal current participates directly in Kirchhoff current balance and changes the connected battery state. Measurements are solved with the physical network.",
      "ports": [
        {
          "name": "p",
          "direction": "terminal",
          "unit": "V / A",
          "description": "Electrical conserving connection. Across variables are shared at a node; through flows balance."
        },
        {
          "name": "n",
          "direction": "terminal",
          "unit": "V / A",
          "description": "Electrical conserving connection. Across variables are shared at a node; through flows balance."
        },
        {
          "name": "discharge",
          "direction": "input",
          "unit": "A",
          "description": "Optional typed command; otherwise the configured default is used. For balancing, currentN addresses the corresponding circuit."
        },
        {
          "name": "voltage",
          "direction": "output",
          "unit": "V",
          "description": "Observed voltage."
        },
        {
          "name": "current",
          "direction": "output",
          "unit": "A",
          "description": "Observed current."
        },
        {
          "name": "power",
          "direction": "output",
          "unit": "W",
          "description": "Observed power."
        }
      ],
      "parameters": [
        {
          "key": "dischargeCurrentA",
          "label": "Default discharge current",
          "unit": "A",
          "default": 0,
          "min": 0,
          "max": 1000000,
          "description": "Default discharge current. Numerical bounds are model-validation limits, not physical operating ratings."
        }
      ],
      "equations": [
        "I = max(0, dischargeRequest)",
        "P = terminalVoltage*I"
      ],
      "example": {
        "title": "Passive cell supervision interface worked example",
        "text": "The bundled model draws 0.2 A from a 4 V cell with 0.1 Ω resistance. Terminal voltage is 3.98 V and interface power is 0.796 W. For its 1 Ah cell, SOC decreases by 0.2/3600 after one second.",
        "url": "https://design.lemonergy.com/cosim.html?example=physical-passive-supervision-interface",
        "label": "Open Studio example",
        "checks": [
          {
            "port": "current",
            "label": "Interface current",
            "atS": 1,
            "value": 0.2,
            "unit": "A",
            "tolerance": 1e-06
          },
          {
            "port": "voltage",
            "label": "Terminal voltage",
            "atS": 1,
            "value": 3.98,
            "unit": "V",
            "tolerance": 1e-06
          },
          {
            "port": "power",
            "label": "Interface power",
            "atS": 1,
            "value": 0.796,
            "unit": "W",
            "tolerance": 1e-06
          }
        ],
        "inputs": [
          {
            "port": "discharge",
            "label": "Discharge command",
            "value": 0.2,
            "unit": "A"
          }
        ]
      },
      "limits": [
        "This is a simulated electrical interface without a target-hardware driver. SOC and temperature pass-throughs, diagnostic mode flags and hardware-specific communication are outside this interface."
      ],
      "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": [
        "ti-bms"
      ],
      "evidence": [
        "docs/glossary/native-block-verification.json"
      ],
      "sourceRepository": "Lemonergy Studio public contract",
      "sourceRevision": "verification-2026-10-27",
      "caseIds": [
        "native-passive-supervision-interface"
      ],
      "type": "passive-supervision-interface",
      "implementationId": "passive-supervision-interface",
      "url": "https://lemonergy.com/learn/glossary/blocks/passive-supervision-interface/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/passive-supervision-interface/",
      "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=physical-passive-supervision-interface"
        ]
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/native-passive-supervision-interface/0",
      "type": "usesBlock",
      "source": "workflow:native-passive-supervision-interface",
      "target": "block:passive-supervision-interface",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "Passive cell supervision interface",
        "type": "passive-supervision-interface",
        "role": "Commanded cell current sink and terminal measurements; an abstract simulated interface, no hardware I/O driver. The terminal current participates directly in Kirchhoff current balance and changes the connected battery state. Measurements are solved with the physical network.",
        "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:passive-supervision-interface/reference:ti-bms",
      "type": "cites",
      "source": "block:passive-supervision-interface",
      "target": "reference:ti-bms",
      "properties": {
        "sourceFile": "block-library.json",
        "scope": "Scientific or mathematical background; implementation scope is stated by the block contract"
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:native-passive-supervision-interface",
      "type": "Workflow",
      "label": "Passive cell supervision interface worked example",
      "properties": {
        "id": "native-passive-supervision-interface",
        "title": "Passive cell supervision interface worked example",
        "kind": "studio",
        "summary": "Commanded cell current sink and terminal measurements; an abstract simulated interface, no hardware I/O driver.",
        "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": "The bundled model draws 0.2 A from a 4 V cell with 0.1 Ω resistance. Terminal voltage is 3.98 V and interface power is 0.796 W. For its 1 Ah cell, SOC decreases by 0.2/3600 after one second.",
        "observe": "Inspect the outputs and numerical checks on the block reference page.",
        "limits": "This is a simulated electrical interface without a target-hardware driver. SOC and temperature pass-throughs, diagnostic mode flags and hardware-specific communication are outside this interface.",
        "url": "https://design.lemonergy.com/cosim.html?example=physical-passive-supervision-interface",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    },
    {
      "id": "reference:ti-bms",
      "type": "Reference",
      "label": "Getting Started with the BQ76925",
      "properties": {
        "title": "Getting Started with the BQ76925",
        "publisher": "Texas Instruments",
        "url": "https://www.ti.com/lit/an/slua619b/slua619b.pdf",
        "type": "Application report",
        "scope": "A concrete BMS analog front-end example: cell voltage, current, temperature measurement and MCU integration.",
        "year": 2019,
        "accessed": "2026-10-27"
      }
    }
  ]
}
