{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/ca/home-battery/schema.json",
  "title": "Home Battery Economics Calculator — Canada inputs",
  "description": "Value stored electricity after charging losses and the opportunity cost of the charging energy. CAD planning view; stated limitations apply.",
  "type": "object",
  "properties": {
    "capacity": {
      "title": "Nameplate battery capacity, kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 10,
      "minimum": 0.1,
      "maximum": 100000,
      "x-step": 0.01
    },
    "usablePercent": {
      "title": "Usable capacity",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 90,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "cycles": {
      "title": "Equivalent full cycles per year",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 250,
      "minimum": 0,
      "maximum": 730,
      "x-step": 1,
      "multipleOf": 1
    },
    "roundTripEfficiency": {
      "title": "AC round-trip efficiency",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 90,
      "minimum": 0,
      "maximum": 100,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "peakRate": {
      "title": "Avoided high-price electricity per kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.3,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "chargingRate": {
      "title": "Charging energy opportunity cost per kWh",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.1,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "projectCost": {
      "title": "Installed battery price",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 10000,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "incentive": {
      "title": "Confirmed incentive",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "maintenance": {
      "title": "Annual maintenance",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    },
    "years": {
      "title": "Planning horizon, years",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 25,
      "minimum": 1,
      "maximum": 50,
      "x-step": 1,
      "multipleOf": 1
    },
    "discountRate": {
      "title": "Annual discount rate",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 4,
      "minimum": 0,
      "maximum": 50,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "degradation": {
      "title": "Annual output degradation",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0.5,
      "minimum": 0,
      "maximum": 20,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "energyEscalation": {
      "title": "Annual energy-price escalation",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 2,
      "minimum": 0,
      "maximum": 25,
      "x-step": 0.1,
      "x-unit": "percent"
    },
    "replacementYear": {
      "title": "Replacement year (0 means none)",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 50,
      "x-step": 1,
      "multipleOf": 1
    },
    "replacementCost": {
      "title": "Replacement cost",
      "type": "number",
      "description": "Illustrative starting value; replace with your own evidence.",
      "default": 0,
      "minimum": 0,
      "maximum": 1000000000000,
      "x-step": 0.01,
      "x-prefix": "CAD",
      "x-unit": "currency"
    }
  },
  "required": [
    "capacity",
    "usablePercent",
    "cycles",
    "roundTripEfficiency",
    "peakRate",
    "chargingRate",
    "projectCost",
    "incentive",
    "maintenance",
    "years",
    "discountRate",
    "degradation",
    "energyEscalation",
    "replacementYear",
    "replacementCost"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "20.16.0",
    "calculatorUrl": "https://askcalculators.com/ca/home-battery/",
    "queryExample": "https://askcalculators.com/ca/home-battery/?capacity=10&usablePercent=90&cycles=250&roundTripEfficiency=90&peakRate=0.3&chargingRate=0.1&projectCost=10000&incentive=0&maintenance=0&years=25&discountRate=4&degradation=0.5&energyEscalation=2&replacementYear=0&replacementCost=0",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "arbitrage benefit = usable kWh × cycles × peak price − charged kWh × charging price.",
      "note": "Inputs are converted to canonical units before evaluating this stated formula."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/v20-ca-home-battery.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "20.16.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Catalog and regression checks are not a professional formula audit; consult release evidence.",
      "historicalMetadataDate": "",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "capital": {
        "title": "Net capital cost",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "annualSaving": {
        "title": "First-year net saving",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "payback": {
        "title": "Simple payback, years",
        "type": "number",
        "x-format": "number",
        "x-digits": 2,
        "x-primary": true
      },
      "npv": {
        "title": "Discounted net value",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      },
      "delivered": {
        "title": "First-year delivered electricity, kWh",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "charged": {
        "title": "First-year charging electricity, kWh",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "breakeven": {
        "title": "Cash-flow break-even year",
        "type": "number",
        "x-format": "number",
        "x-digits": 2
      },
      "cumulative": {
        "title": "Undiscounted lifetime net benefit",
        "type": "number",
        "x-format": "currency",
        "x-currency": "CAD",
        "x-digits": 2
      }
    }
  }
}
