{
  "node": {
    "id": "block:native-repeating-sequence",
    "type": "Block",
    "label": "Repeating sequence",
    "properties": {
      "id": "native-repeating-sequence",
      "name": "Repeating sequence",
      "kind": "studio",
      "summary": "Repeats a tabulated profile with exact simulation boundaries at every authored knot and wrap.",
      "behavior": "profile time = t modulo repeat period. Linear: y(t) = (1−f)yₖ + f yₖ₊₁; hold: y(t) = yₖ.",
      "ports": [
        {
          "name": "out0",
          "direction": "output",
          "unit": "1",
          "description": "Signal; real scalar.",
          "shape": [],
          "elementType": "real"
        }
      ],
      "parameters": [
        {
          "key": "params[0]",
          "label": "Interpolation (0 linear, 1 hold)",
          "unit": "1",
          "default": 0,
          "description": "Configured value for Interpolation (0 linear, 1 hold)."
        },
        {
          "key": "params[1]",
          "label": "Repeat period",
          "unit": "s",
          "default": 1,
          "description": "Configured value for Repeat period."
        },
        {
          "key": "times",
          "label": "Time knots",
          "unit": "s",
          "default": [
            0,
            0.5,
            1
          ],
          "description": "Strictly increasing nonnegative times."
        },
        {
          "key": "values",
          "label": "Signal samples",
          "unit": "selected output quantity",
          "default": [
            0,
            2,
            0
          ],
          "description": "One complete scalar or shaped signal per time row."
        }
      ],
      "equations": [
        "profile time = t modulo repeat period",
        "Linear: y(t) = (1−f)yₖ + f yₖ₊₁; hold: y(t) = yₖ"
      ],
      "example": {
        "title": "Repeating sequence — worked example",
        "text": "Use the configured source parameters. Signal at 0 s = 0.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-repeating-sequence",
        "label": "Open Studio example",
        "inputs": [],
        "checks": [
          {
            "port": "out0",
            "label": "Signal",
            "atS": 0,
            "value": 0,
            "unit": "1",
            "tolerance": 1e-08
          }
        ]
      },
      "limits": [
        "The first knot must be at zero and the last no later than the positive repeat period. Repeating events are bounded to 100000 per source per run."
      ],
      "references": [
        "nist-dlmf-interpolation"
      ],
      "caseIds": [
        "native-native-repeating-sequence"
      ],
      "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-repeating-sequence",
          "url": "https://lemonergy.com/learn/glossary/api/traces/native-repeating-sequence.json?v=7113a5714b31",
          "title": "Repeating sequence recorded example",
          "exampleId": "block-native-repeating-sequence",
          "source": "Executed synthetic Lemonergy Studio example",
          "recordedOn": "2026-10-28",
          "points": 3,
          "channels": 1,
          "omittedChannels": 0,
          "interpolation": "linear",
          "solver": {
            "method": "dormand-prince-45",
            "reason": "no-continuous-states"
          }
        }
      ],
      "type": "native-repeating-sequence",
      "implementationId": "native-repeating-sequence",
      "url": "https://lemonergy.com/learn/glossary/blocks/native-repeating-sequence/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/native-repeating-sequence/",
      "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-repeating-sequence"
        ]
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/native-native-repeating-sequence/0",
      "type": "usesBlock",
      "source": "workflow:native-native-repeating-sequence",
      "target": "block:native-repeating-sequence",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "Repeating sequence",
        "type": "native-repeating-sequence",
        "role": "profile time = t modulo repeat period. Linear: y(t) = (1−f)yₖ + f yₖ₊₁; hold: y(t) = yₖ.",
        "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-repeating-sequence/reference:nist-dlmf-interpolation",
      "type": "cites",
      "source": "block:native-repeating-sequence",
      "target": "reference:nist-dlmf-interpolation",
      "properties": {
        "sourceFile": "block-library.json",
        "scope": "Scientific or mathematical background; implementation scope is stated by the block contract"
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:native-native-repeating-sequence",
      "type": "Workflow",
      "label": "Repeating sequence — worked example",
      "properties": {
        "id": "native-native-repeating-sequence",
        "title": "Repeating sequence — worked example",
        "kind": "studio",
        "summary": "Repeats a tabulated profile with exact simulation boundaries at every authored knot and wrap.",
        "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": "Use the configured source parameters. Signal at 0 s = 0.",
        "observe": "Inspect the output channels and checks on the block reference page.",
        "limits": "The first knot must be at zero and the last no later than the positive repeat period. Repeating events are bounded to 100000 per source per run.",
        "url": "https://design.lemonergy.com/cosim.html?example=block-native-repeating-sequence",
        "label": "Open Studio example",
        "evidence": [
          "docs/glossary/native-block-verification.json"
        ]
      }
    },
    {
      "id": "reference:nist-dlmf-interpolation",
      "type": "Reference",
      "label": "NIST Digital Library of Mathematical Functions, §3.3 Interpolation",
      "properties": {
        "title": "NIST Digital Library of Mathematical Functions, §3.3 Interpolation",
        "publisher": "National Institute of Standards and Technology",
        "url": "https://dlmf.nist.gov/3.3",
        "type": "Mathematical reference",
        "scope": "Interpolation formulas, including linear interpolation equation 3.3.14.",
        "accessed": "2026-10-27"
      }
    }
  ]
}
