{
  "node": {
    "id": "block:native-initial-value",
    "type": "Block",
    "label": "Initial value override",
    "properties": {
      "id": "native-initial-value",
      "name": "Initial value override",
      "kind": "studio",
      "summary": "Publishes the configured value at the first sample only, then passes each current input through without a sample delay.",
      "behavior": "y[0] = configured initial value; y[k] = u[k] for k > 0.",
      "ports": [
        {
          "name": "in0",
          "direction": "input",
          "unit": "1",
          "description": "Input; real 3 array.",
          "shape": [
            3
          ],
          "elementType": "real"
        },
        {
          "name": "out0",
          "direction": "output",
          "unit": "1",
          "description": "Output; real 3 array.",
          "shape": [
            3
          ],
          "elementType": "real"
        }
      ],
      "parameters": [
        {
          "key": "sampleTimeS",
          "label": "Sample period",
          "unit": "s",
          "default": 0.1,
          "min": 0,
          "description": "Positive interval between sample instants. Values are held between samples."
        },
        {
          "key": "params[0]",
          "label": "Initial value 1",
          "unit": "1",
          "default": 0,
          "description": "Initial values in declared lane order, including real and imaginary lanes for complex signals."
        },
        {
          "key": "params[1]",
          "label": "Initial value 2",
          "unit": "1",
          "default": 0,
          "description": "Initial values in declared lane order, including real and imaginary lanes for complex signals."
        },
        {
          "key": "params[2]",
          "label": "Initial value 3",
          "unit": "1",
          "default": 0,
          "description": "Initial values in declared lane order, including real and imaginary lanes for complex signals."
        }
      ],
      "equations": [
        "y[0] = configured initial value; y[k] = u[k] for k > 0"
      ],
      "example": {
        "title": "Initial value override — worked example",
        "text": "Input = [2,4,6]. Output at 0 s = [0,0,0].",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-initial-value",
        "label": "Open Studio example",
        "inputs": [
          {
            "port": "in0",
            "label": "Input",
            "value": [
              2,
              4,
              6
            ],
            "unit": "1"
          }
        ],
        "checks": [
          {
            "port": "out0",
            "label": "Output",
            "atS": 0,
            "value": [
              0,
              0,
              0
            ],
            "unit": "1",
            "tolerance": 1e-09
          }
        ]
      },
      "limits": [
        "Initial values must match every declared output lane. The override occurs only at initialization."
      ],
      "references": [],
      "referenceNote": "This software operation is defined by its public contract and worked example; no external research result is claimed.",
      "caseIds": [
        "native-native-initial-value"
      ],
      "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-initial-value",
          "url": "https://lemonergy.com/learn/glossary/api/traces/native-initial-value.json?v=846cb05f7a4f",
          "title": "Initial value override recorded example",
          "exampleId": "block-native-initial-value",
          "source": "Executed synthetic Lemonergy Studio example",
          "recordedOn": "2026-10-28",
          "points": 11,
          "channels": 3,
          "omittedChannels": 0,
          "interpolation": "step",
          "solver": {
            "method": "dormand-prince-45",
            "reason": "no-continuous-states"
          }
        }
      ],
      "type": "native-initial-value",
      "implementationId": "native-initial-value",
      "url": "https://lemonergy.com/learn/glossary/blocks/native-initial-value/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/native-initial-value/",
      "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-initial-value"
        ]
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/native-native-initial-value/0",
      "type": "usesBlock",
      "source": "workflow:native-native-initial-value",
      "target": "block:native-initial-value",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "Initial value override",
        "type": "native-initial-value",
        "role": "y[0] = configured initial value; y[k] = u[k] for k > 0.",
        "settings": [
          "Use the block reference for settings and connections.",
          "Bundled example verified on the production release of 28 October 2026."
        ]
      }
    }
  ],
  "outgoing": [],
  "neighbors": [
    {
      "id": "workflow:native-native-initial-value",
      "type": "Workflow",
      "label": "Initial value override — worked example",
      "properties": {
        "id": "native-native-initial-value",
        "title": "Initial value override — worked example",
        "kind": "studio",
        "summary": "Publishes the configured value at the first sample only, then passes each current input through without a sample delay.",
        "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": "Input = [2,4,6]. Output at 0 s = [0,0,0].",
        "observe": "Inspect the output channels and checks on the block reference page.",
        "limits": "Initial values must match every declared output lane. The override occurs only at initialization.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-initial-value",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    }
  ]
}
