{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/electrical.battery.aging.input.json",
  "title": "Linear Battery Aging — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "C0_Ah": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Beginning-of-life capacity in Ah."
    },
    "N_cycles": {
      "type": "number",
      "minimum": 0,
      "default": 0,
      "description": "Cycle count matching the calibration of k_cycle. Equivalent full cycles (EFC) recommended."
    },
    "years": {
      "type": "number",
      "minimum": 0,
      "default": 0,
      "description": "Calendar aging time in years (t)."
    },
    "k_cycle": {
      "type": "number",
      "minimum": 0,
      "default": 0.0002,
      "description": "Illustrative cycle fade coefficient (1/cycle). Prefer manufacturer data."
    },
    "k_cal": {
      "type": "number",
      "minimum": 0,
      "default": 0.02,
      "description": "Illustrative calendar fade coefficient (1/year). Prefer manufacturer data."
    }
  },
  "required": [
    "C0_Ah"
  ],
  "description": "Linear capacity fade from independent cycle and calendar aging. Default k_cycle=0.0002/cycle and k_cal=0.02/year are illustrative. (calculation_version 1.0.2)"
}
