{
  "node": {
    "id": "block:min-max",
    "type": "Block",
    "label": "Minimum / maximum",
    "properties": {
      "id": "min-max",
      "kind": "studio",
      "name": "Minimum / maximum",
      "summary": "The smaller (operation 0) or larger (operation 1) of two signals of the same quantity.",
      "behavior": "The smaller (operation 0) or larger (operation 1) of two signals of the same quantity.",
      "documentationSlug": "signal-block-min-max",
      "referenceOnly": true,
      "ports": [
        {
          "name": "Left",
          "direction": "input",
          "unit": "—",
          "description": "Number; Scalar; real. Received from a connected producer."
        },
        {
          "name": "Right",
          "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": [
        {
          "key": "operation",
          "label": "Operation (0 min, 1 max)",
          "unit": "",
          "default": "0",
          "description": "Declared authoring field: Operation (0 min, 1 max)."
        }
      ],
      "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": "min-max",
      "implementationId": "min-max",
      "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-min-max/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/signal-block-min-max/",
      "sourceFile": "studio-help-catalog.json",
      "studioHelp": {
        "type": "min-max",
        "namespace": "signal",
        "slug": "signal-block-min-max",
        "canonicalSlug": "signal-block-min-max",
        "existing": false,
        "dynamic": false,
        "scene": {
          "title": "Minimum / maximum",
          "label": "Minimum / maximum",
          "summary": "The smaller (operation 0) or larger (operation 1) of two signals of the same quantity.",
          "details": [
            "Block type: min-max.",
            "2 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": "math",
            "symbol": "input → operation → result",
            "label": "Minimum / maximum",
            "caption": "The smaller (operation 0) or larger (operation 1) of two signals of the same quantity."
          },
          "inputs": [
            {
              "id": "in0",
              "label": "Left",
              "quantity": "dimensionless",
              "unit": "—",
              "unitDeclared": true,
              "fields": [],
              "quantityLabel": "Number",
              "shapeLabel": "Scalar",
              "elementLabel": "real"
            },
            {
              "id": "in1",
              "label": "Right",
              "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": [
            {
              "id": "operation",
              "label": "Operation (0 min, 1 max)",
              "unit": "",
              "value": "0"
            }
          ],
          "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-min-max/",
          "related": [
            {
              "label": "Gain",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-gain/"
            },
            {
              "label": "Sum",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-sum/"
            },
            {
              "label": "Product",
              "url": "https://lemonergy.com/learn/glossary/blocks/signal-block-product/"
            }
          ],
          "selected": null,
          "connections": []
        }
      }
    }
  },
  "incoming": [],
  "outgoing": [],
  "neighbors": []
}
