{
  "capability_id": "electrical.battery_runtime",
  "tool_id": "battery-runtime",
  "engine": "battery-runtime",
  "calculation_version": "1.2.1",
  "generated_at": "2026-11-10T05:18:41.712Z",
  "engine_build": "2026-09-12",
  "test_count": 25,
  "passed": 25,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "passed": 5,
      "total": 5
    },
    "boundary": {
      "passed": 10,
      "total": 10
    },
    "property": {
      "passed": 10,
      "total": 10
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": true,
  "review_kind": "internal",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-08-12",
  "expert_review": {
    "status": "not_applicable",
    "reviewer": null,
    "note": "Internal domain review completed; not a named external expert review.",
    "kind": "internal"
  },
  "internal_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-08-12",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "internal"
  },
  "page": "https://www.calculatorx.com/calc/electric/battery-runtime",
  "api": "https://www.calculatorx.com/api/v1/calc/battery-runtime",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.battery_runtime.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.battery_runtime.output.json",
  "assumptions": [
    "Constant load; ideal flat voltage until capacity is exhausted.",
    "DoD and η are independent planning knobs, not chemistry models.",
    "Amps mode I_A is battery-side discharge current; η does not enter t_h.",
    "When u_* are set, first-order GUM sensitivity with independent inputs (no ρ on this page)."
  ],
  "limitations": [
    "Constant-load idealization only — not Peukert, temperature, or BMS cutoffs",
    "Not a substitute for manufacturer runtime curves or pack design",
    "Amps mode = battery-side discharge current; η does not enter runtime",
    "capacity_Ah XOR capacity_mAh; both → INVALID_INPUT",
    "Missing capacity → MISSING_REQUIRED_INPUT; P_W/I_A ≤ 0 → LOAD_MUST_BE_POSITIVE",
    "dod/eta outside (0,1] → FRACTION_OUT_OF_RANGE",
    "mode=watts requires P_W; mode=amps requires I_A",
    "Optional u_* use GUM sensitivity only (no MC/ρ/νeff UI); empty u_* preserves nominal-only result",
    "Response inputs[] is mode-canonical (capacity_Ah only; amps omits eta)",
    "Basic frozen at calculation_version 1.2.1 — Agent schema requires u_* when uncertainty_k/confidence is set; do not stack Peukert/temperature/duty-cycle into this capability"
  ],
  "boundary_conditions": [
    "Missing capacity → MISSING_REQUIRED_INPUT",
    "Both capacity_Ah and capacity_mAh → INVALID_INPUT",
    "V ≤ 0 → VOLTAGE_MUST_BE_POSITIVE",
    "P_W/I_A ≤ 0 → LOAD_MUST_BE_POSITIVE",
    "dod/eta outside (0,1] → FRACTION_OUT_OF_RANGE",
    "Unknown mode → INVALID_MODE",
    "uncertainty_k without any u_* → INVALID_INPUT",
    "uncertainty_k and confidence together → INVALID_INPUT"
  ],
  "sources": [
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Electric battery capacity and related quantities",
      "supports": "Ah capacity and Wh energy relationship E ≈ Q·V for nominal estimates",
      "kind": "standard"
    },
    {
      "title": "IEC 61960 series (portable secondary lithium)",
      "section": "Capacity / performance concepts for portable Li cells and batteries",
      "supports": "Nameplate capacity language for portable secondary lithium; not a lead-acid Peukert model",
      "kind": "standard"
    },
    {
      "title": "Victron Energy — Battery capacity and Peukert exponent",
      "section": "Battery monitor documentation (BMV)",
      "url": "https://www.victronenergy.com/media/pg/BMV-700H/en/battery-capacity-and-peukert-exponent.html",
      "supports": "Why usable Ah falls with discharge rate; Peukert as reason simple Ah×V estimates differ from field runtime",
      "kind": "reference"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Coherent derived units for energy and time",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "Wh and hour as energy/time units in estimates",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:3b0e76941fc911bb9e5160ec017c84886abbc569b41622121932a6d930cc0583",
  "tier": "internally_reviewed",
  "verification": {
    "tests": {
      "passed": 25,
      "total": 25,
      "golden": 5,
      "boundary": 10,
      "property": 10
    },
    "contract_checks": {
      "passed": 8,
      "total": 8
    }
  },
  "evidence_core_generated_at": "2026-09-12T08:31:40.839Z",
  "rendered_at": "2026-11-10T05:18:41.712Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.2.1",
    "artifacts": {
      "engine": "1.2.1",
      "page": "1.2.1",
      "capability": "1.2.1",
      "evidence": "1.2.1",
      "input_schema": "1.2.1",
      "output_schema": "1.2.1",
      "mcp_contract": "1.2.1"
    },
    "digests": {
      "input_schema_sha256": "5673a4cc4dd654ce3bdd613dc2174cd5d5591604a43e73681c464862ffec5733",
      "output_schema_sha256": "86500ba515b67ff0044fb2eb13ae1eee5034f456be67655a1d650620b5010ee0",
      "evidence_sha256": "3f35f6d44c54e1bfeb063ebf4a97c36b436800eac848c602b59a469a58ff9e5e",
      "evidence_core_sha256": "3f35f6d44c54e1bfeb063ebf4a97c36b436800eac848c602b59a469a58ff9e5e",
      "capability_sha256": "215d4f020e167e56fb6c098a1203553bb3ec70c60c608b08ee42db1bf2b1f556",
      "engine_sha256": "c6ebd8436f08b413e1ac6317b2d48550f2e6639a90dff254244e3aa562158b8d",
      "mcp_contract_sha256": "eb3e39ad4a95ed263415b4932f185d5edfe00a2403267b7c5ed5f718d1ff6da3"
    },
    "contract_checks": {
      "total": 8,
      "passed": 8,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.2.1"
        },
        {
          "id": "schema-output-required-declared",
          "status": "pass"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        },
        {
          "id": "schema-coverage-requires-u",
          "status": "pass"
        },
        {
          "id": "schema-rejects-boundary-unc-k-without-u",
          "status": "pass"
        },
        {
          "id": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  },
  "tests": [],
  "disclosure": {
    "policy": "calculatorx-public-evidence-v1",
    "full_validation": "private",
    "representation": "summary"
  }
}
