{
  "node": {
    "id": "block:current_from_c_rate",
    "type": "Block",
    "label": "current_from_c_rate",
    "properties": {
      "id": "current_from_c_rate",
      "name": "current_from_c_rate",
      "kind": "core",
      "summary": "Convert a nominal capacity and C-rate into a current magnitude.",
      "behavior": "Accepts finite scalar or broadcastable array inputs. Capacity must be positive and C-rate nonnegative; zero represents rest.",
      "ports": [
        {
          "name": "return",
          "direction": "output",
          "unit": "A",
          "description": "Scalar float or NumPy array following broadcasting."
        }
      ],
      "parameters": [
        {
          "key": "nominal_capacity_ah",
          "label": "nominal capacity ah",
          "unit": "Ah",
          "description": "Positive nominal capacity."
        },
        {
          "key": "c_rate",
          "label": "c rate",
          "unit": "1/h",
          "description": "Nonnegative rate magnitude."
        }
      ],
      "equations": [
        "I_A = Q_Ah * C_rate_h^-1"
      ],
      "example": {
        "title": "Convert C-rate into current",
        "text": "A 5 Ah cell at 0.5C corresponds to 2.5 A. At 2C it corresponds to 10 A.",
        "url": "https://lemonergy.com/learn/fundamentals/capacity-and-c-rate/",
        "label": "Open the worked lesson"
      },
      "limits": [
        "Current magnitudes do not establish safe charge rates."
      ],
      "evidence": [
        "src/battery_core/capacity.py"
      ],
      "caseIds": [
        "c-rate"
      ],
      "type": "current_from_c_rate",
      "implementationId": "current_from_c_rate",
      "url": "https://lemonergy.com/learn/glossary/blocks/current_from_c_rate/",
      "documentationUrl": "https://lemonergy.com/learn/glossary/blocks/current_from_c_rate/",
      "sourceFile": "block-library.json",
      "sourceRepository": "battery-core",
      "sourceRevision": "main",
      "reviewed": "2026-10-27"
    }
  },
  "incoming": [
    {
      "id": "edge:usesBlock/c-rate/0",
      "type": "usesBlock",
      "source": "workflow:c-rate",
      "target": "block:current_from_c_rate",
      "properties": {
        "sourceFile": "wiki-blocks.json",
        "position": 0,
        "name": "current_from_c_rate",
        "type": "current_from_c_rate",
        "role": "Core equation",
        "settings": [
          "Capacity (Ah)",
          "C-rate (1/h)"
        ]
      }
    }
  ],
  "neighbors": [
    {
      "id": "workflow:c-rate",
      "type": "Workflow",
      "label": "Convert C-rate into current",
      "properties": {
        "id": "c-rate",
        "title": "Convert C-rate into current",
        "kind": "core",
        "summary": "Lemonergy Core evaluates this relation.",
        "steps": [
          "Open the lesson and inspect the equation.",
          "Change one input while holding the others fixed."
        ],
        "example": "A 5 Ah cell at 0.5C corresponds to 2.5 A. At 2C it corresponds to 10 A.",
        "observe": "Compare the result with the equation and units.",
        "limits": "Current magnitudes do not establish safe charge rates.",
        "url": "https://lemonergy.com/learn/fundamentals/capacity-and-c-rate/",
        "label": "Open the worked lesson",
        "evidence": [
          "src/battery_core/capacity.py"
        ]
      }
    }
  ]
}
