{
  "node": {
    "id": "block:native-bounded-integrator",
    "type": "Block",
    "label": "Bounded continuous integrator",
    "properties": {
      "id": "native-bounded-integrator",
      "name": "Bounded continuous integrator",
      "kind": "studio",
      "summary": "Integrates a rate while preventing further outward motion at configured bounds.",
      "behavior": "dx/dt = gain × input, except outward motion at an active bound; output = clamp(x). The worked example connects this operation to signals in Lemonergy Studio.",
      "ports": [
        {
          "name": "in0",
          "direction": "input",
          "unit": "1",
          "description": "Rate; real scalar.",
          "shape": [],
          "elementType": "real"
        },
        {
          "name": "out0",
          "direction": "output",
          "unit": "1",
          "description": "Integral; real scalar.",
          "shape": [],
          "elementType": "real"
        }
      ],
      "parameters": [
        {
          "key": "params[0]",
          "label": "Gain",
          "unit": "1",
          "default": 1,
          "description": "Configured finite numerical parameter."
        },
        {
          "key": "params[1]",
          "label": "Lower bound",
          "unit": "1",
          "default": -10,
          "description": "Configured finite numerical parameter."
        },
        {
          "key": "params[2]",
          "label": "Upper bound",
          "unit": "1",
          "default": 10,
          "description": "Configured finite numerical parameter."
        },
        {
          "key": "tables[0]",
          "label": "Initial state",
          "unit": "1",
          "default": [
            0
          ],
          "description": "Configured coefficients or initial values in column-major order."
        }
      ],
      "equations": [
        "dx/dt = gain × input, except outward motion at an active bound; output = clamp(x)"
      ],
      "example": {
        "title": "Bounded continuous integrator — worked example",
        "text": "Rate = 2. Integral at 1 s = 2.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-bounded-integrator",
        "label": "Open Studio example",
        "inputs": [
          {
            "port": "in0",
            "label": "Rate",
            "value": 2,
            "unit": "1"
          }
        ],
        "checks": [
          {
            "port": "out0",
            "label": "Integral",
            "atS": 1,
            "value": 2,
            "unit": "1",
            "tolerance": 2e-06
          }
        ]
      },
      "limits": [
        "Shapes and element types are explicit. Values must be finite; automatic reshaping and unit conversion are not performed."
      ],
      "references": [
        "astrom-murray-feedback"
      ],
      "caseIds": [
        "native-native-bounded-integrator"
      ],
      "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."
      },
      "evidence": [
        "docs/glossary/native-block-verification.json"
      ],
      "sourceRepository": "Lemonergy Studio public contract",
      "sourceRevision": "verification-2026-10-27",
      "exampleTraces": [
        {
          "id": "native-bounded-integrator",
          "url": "https://lemonergy.com/learn/glossary/api/traces/native-bounded-integrator.json?v=ea28ac7e36a0",
          "title": "Bounded continuous integrator recorded example",
          "exampleId": "block-native-bounded-integrator",
          "source": "Executed synthetic Lemonergy Studio example",
          "recordedOn": "2026-10-28",
          "points": 13,
          "channels": 1,
          "omittedChannels": 0,
          "interpolation": "linear",
          "solver": {
            "method": "dormand-prince-45",
            "reason": "non-stiff-time-scales"
          }
        }
      ],
      "type": "native-bounded-integrator",
      "implementationId": "native-bounded-integrator",
      "url": "https://lemonergy.com/learn/glossary/blocks/native-bounded-integrator/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/native-bounded-integrator/",
      "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-native-bounded-integrator"
        ]
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/native-native-bounded-integrator/0",
      "type": "usesBlock",
      "source": "workflow:native-native-bounded-integrator",
      "target": "block:native-bounded-integrator",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "Bounded continuous integrator",
        "type": "native-bounded-integrator",
        "role": "dx/dt = gain × input, except outward motion at an active bound; output = clamp(x). The worked example connects this operation to signals in Lemonergy Studio.",
        "settings": [
          "Use the block reference for settings and connections.",
          "Bundled example verified on the production release of 28 October 2026."
        ]
      }
    }
  ],
  "outgoing": [
    {
      "id": "edge:cites/block:native-bounded-integrator/reference:astrom-murray-feedback",
      "type": "cites",
      "source": "block:native-bounded-integrator",
      "target": "reference:astrom-murray-feedback",
      "properties": {
        "sourceFile": "block-library.json",
        "scope": "Scientific or mathematical background; implementation scope is stated by the block contract"
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:native-native-bounded-integrator",
      "type": "Workflow",
      "label": "Bounded continuous integrator — worked example",
      "properties": {
        "id": "native-native-bounded-integrator",
        "title": "Bounded continuous integrator — worked example",
        "kind": "studio",
        "summary": "Integrates a rate while preventing further outward motion at configured bounds.",
        "steps": [
          "Review the interface, units and model limits.",
          "Open the Studio example and run its bundled model.",
          "Compare outputs with the numerical checks; change one input and run again."
        ],
        "example": "Rate = 2. Integral at 1 s = 2.",
        "observe": "Inspect the output channels and checks on the block reference page.",
        "limits": "Shapes and element types are explicit. Values must be finite; automatic reshaping and unit conversion are not performed.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-bounded-integrator",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    },
    {
      "id": "reference:astrom-murray-feedback",
      "type": "Reference",
      "label": "Feedback Systems: An Introduction for Scientists and Engineers, second edition",
      "properties": {
        "title": "Feedback Systems: An Introduction for Scientists and Engineers, second edition",
        "publisher": "Princeton University Press; author-maintained FBSwiki",
        "url": "https://fbswiki.org/wiki/index.php/Feedback_Systems%3A_An_Introduction_for_Scientists_and_Engineers",
        "type": "Textbook",
        "scope": "State-space modeling, feedback and PID control. These mathematical foundations do not establish a particular software implementation.",
        "year": 2021,
        "authors": [
          "Karl J. Åström",
          "Richard M. Murray"
        ],
        "accessed": "2026-10-27"
      }
    }
  ]
}
