{
  "node": {
    "id": "block:select",
    "type": "Block",
    "label": "Select",
    "properties": {
      "id": "select",
      "kind": "studio",
      "name": "Select",
      "summary": "Passes the first value while the control is at least 0.5 and the second otherwise; both values carry the output quantity.",
      "behavior": "Passes the first value while the control is at least 0.5 and the second otherwise; both values carry the output quantity.",
      "documentationSlug": "signal-block-select",
      "referenceOnly": true,
      "ports": [
        {
          "name": "Control (0 or 1)",
          "direction": "input",
          "unit": "—",
          "description": "Number; Scalar; real. Received from a connected producer."
        },
        {
          "name": "When true",
          "direction": "input",
          "unit": "—",
          "description": "Number; Scalar; real. Received from a connected producer."
        },
        {
          "name": "When false",
          "direction": "input",
          "unit": "—",
          "description": "Number; Scalar; real. Received from a connected producer."
        },
        {
          "name": "Output",
          "direction": "output",
          "unit": "—",
          "description": "Number; Scalar; real. Produced for connected consumers."
        }
      ],
      "parameters": [],
      "equations": [],
      "example": {
        "title": "Use this authoring component",
        "text": "Choose this component in the Studio library and configure its declared interface. This reference describes the authoring contract; it does not claim a standalone numerical validation or a measured result.",
        "url": "https://design.lemonergy.com/cosim",
        "label": "Open Studio"
      },
      "limits": [
        "The symbolic diagram describes the component and its declared interface. It is not a solved circuit or simulated output.",
        "Configured parameters and model connections determine the result. Check the complete model before interpreting its outputs."
      ],
      "evidence": [
        "docs/glossary/studio-help-catalog.json"
      ],
      "caseIds": [],
      "sourceRepository": "battery-design",
      "sourceRevision": "e248d21a9902225f1075624f23e7628b54cdb7cc",
      "reviewed": "2026-10-30",
      "type": "select",
      "implementationId": "select",
      "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-select/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/signal-block-select/",
      "sourceFile": "studio-help-catalog.json",
      "studioHelp": {
        "type": "select",
        "namespace": "signal",
        "slug": "signal-block-select",
        "canonicalSlug": "signal-block-select",
        "existing": false,
        "dynamic": false,
        "scene": {
          "title": "Select",
          "label": "Select",
          "summary": "Passes the first value while the control is at least 0.5 and the second otherwise; both values carry the output quantity.",
          "details": [
            "Block type: select.",
            "3 declared inputs and 1 declared output in this model.",
            "Arrows show the direction of signal data. They are not conserving electrical, thermal or mechanical connections."
          ],
          "operation": {
            "kind": "control",
            "symbol": "condition → branch",
            "label": "Selection and control",
            "caption": "Passes the first value while the control is at least 0.5 and the second otherwise; both values carry the output quantity."
          },
          "inputs": [
            {
              "id": "in0",
              "label": "Control (0 or 1)",
              "quantity": "dimensionless",
              "unit": "—",
              "unitDeclared": true,
              "fields": [],
              "quantityLabel": "Number",
              "shapeLabel": "Scalar",
              "elementLabel": "real"
            },
            {
              "id": "in1",
              "label": "When true",
              "quantity": "dimensionless",
              "unit": "—",
              "unitDeclared": true,
              "fields": [],
              "quantityLabel": "Number",
              "shapeLabel": "Scalar",
              "elementLabel": "real"
            },
            {
              "id": "in2",
              "label": "When false",
              "quantity": "dimensionless",
              "unit": "—",
              "unitDeclared": true,
              "fields": [],
              "quantityLabel": "Number",
              "shapeLabel": "Scalar",
              "elementLabel": "real"
            }
          ],
          "outputs": [
            {
              "id": "out0",
              "label": "Output",
              "quantity": "dimensionless",
              "unit": "—",
              "unitDeclared": true,
              "fields": [],
              "quantityLabel": "Number",
              "shapeLabel": "Scalar",
              "elementLabel": "real"
            }
          ],
          "parameters": [],
          "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-select/",
          "related": [
            {
              "label": "Compare",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-compare/"
            },
            {
              "label": "Boolean latch",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-boolean-latch/"
            },
            {
              "label": "Pi controller",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-pi-controller/"
            }
          ],
          "selected": null,
          "connections": []
        }
      }
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/term:feedback-feedforward-control/block:select",
      "type": "usesBlock",
      "source": "term:feedback-feedforward-control",
      "target": "block:select",
      "properties": {
        "sourceFile": "studio-help-catalog.json",
        "scope": "Declared interface quantity or semantic operation; not a numerical validation claim"
      }
    }
  ],
  "outgoing": [],
  "neighbors": [
    {
      "id": "term:feedback-feedforward-control",
      "type": "Term",
      "label": "Feedback and feedforward control",
      "properties": {
        "id": "feedback-feedforward-control",
        "name": "Feedback and feedforward control",
        "aka": [
          "closed-loop control",
          "open-loop control",
          "feedback control",
          "feedforward control"
        ],
        "section": "topic-data",
        "definition": "Two ways of deciding a control input. Feedback measures the result and corrects an error after it appears; feedforward acts in advance on a known disturbance or setpoint, using a model. A battery cooling loop may feed forward the heat expected from the requested current and use feedback on cell temperature to trim the remaining error.",
        "related": [
          "pid-controller",
          "plant-model",
          "model-predictive-control",
          "thermal-management",
          "heat-generation"
        ],
        "url": "https://lemonergy.com/learn/glossary/feedback-feedforward-control/",
        "mentions": []
      }
    }
  ]
}
