{
  "capability_id": "electrical.kwh_to_kw",
  "tool_id": "kwh-to-kw",
  "engine": "kwh-to-kw",
  "calculation_version": "1.2.1",
  "generated_at": "2026-09-24T09:22:02.325Z",
  "engine_build": "2026-09-24",
  "test_count": 12,
  "passed": 12,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 12,
      "passed": 12
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "property": {
      "total": 0,
      "passed": 0
    }
  },
  "engine_tested": true,
  "expert_reviewed": false,
  "internally_reviewed": false,
  "review_kind": null,
  "source_checked": true,
  "reviewed_by": null,
  "reviewer_role": null,
  "last_reviewed": null,
  "expert_review": {
    "status": "optional_not_performed",
    "reviewer": null,
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "note": "Domain expert review is optional under CVP (CVP-EXP-01). Absence does not block CVP Verified. See Review policy for supplemental domain assurance."
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/kwh-to-kw",
  "api": "https://www.calculatorx.com/api/v1/calc/kwh-to-kw",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.kwh_to_kw.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.kwh_to_kw.output.json",
  "assumptions": [
    "Power is the average over the stated period",
    "Time is expressed in hours"
  ],
  "limitations": [
    "Average power over the interval — not instantaneous peak",
    "Time must be in hours"
  ],
  "boundary_conditions": [
    "kWh→kW (quotient): time t = 0 → 0 kW — soft",
    "Zero energy → 0 kW",
    "kW→kWh (product): zero power or time → 0 kWh",
    "Result is average power over the interval, not instantaneous peak"
  ],
  "sources": [
    {
      "title": "Energy–power identity",
      "section": "E = P × t with coherent units (kWh, kW, h)",
      "supports": "kW = kWh / h; kWh = kW × h",
      "kind": "definition"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Watt, joule, and watt-hour relationships",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "1 kWh = 3.6 MJ; power as energy per time",
      "kind": "reference"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Active power (IEV 131-11-42)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-42",
      "supports": "P is active power; unit watt (W); kW is 10³ scale",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-42"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Watt hour (IEV 131-11-58)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-58",
      "supports": "1 Wh ≔ 3600 J; kWh is the common multiple. P(kW) = E(kWh)/t(h) at constant power",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-58"
    },
    {
      "title": "BIPM SI Brochure (9th edition, version 4.01)",
      "section": "Watt, joule, and hour",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "P = E/t; 1 kWh = 3.6 MJ",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:3b1f9a97a4bef7f3e3ad1a5777c672b019cda4e25024e652548b3f332ad8c5fe",
  "tests": [
    {
      "id": "48-24",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 48,
        "b": 24
      },
      "expect": 2,
      "expectWarning": null,
      "actual": 2,
      "tol": 0.001
    },
    {
      "id": "100-10",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 10
      },
      "expect": 10,
      "expectWarning": null,
      "actual": 10,
      "tol": 0.001
    },
    {
      "id": "100-1",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 100,
        "b": 1
      },
      "expect": 100,
      "expectWarning": null,
      "actual": 100,
      "tol": 0.001
    },
    {
      "id": "kw-to-kwh",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 1.5,
        "b": 5
      },
      "expect": 7.5,
      "expectWarning": null,
      "actual": 7.5,
      "tol": 0.001,
      "engine": "product"
    },
    {
      "id": "1-5",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 1,
        "b": 5
      },
      "expect": 0.2,
      "expectWarning": null,
      "actual": 0.2,
      "tol": 0.001
    },
    {
      "id": "2kw-24h-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 2,
        "b": 24
      },
      "expect": 48,
      "expectWarning": null,
      "actual": 48,
      "tol": 0.001,
      "engine": "product"
    },
    {
      "id": "linear-2x-E",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 96,
        "b": 24
      },
      "expect": 4,
      "expectWarning": null,
      "actual": 4,
      "tol": 0.001
    },
    {
      "id": "inverse-half-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 48,
        "b": 12
      },
      "expect": 4,
      "expectWarning": null,
      "actual": 4,
      "tol": 0.001
    },
    {
      "id": "soft-zero-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 48,
        "b": 0
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-E",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 24
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-P-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 24
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "product"
    },
    {
      "id": "soft-zero-t-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 2,
        "b": 0
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "product"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 12,
      "total": 12,
      "golden": 12,
      "boundary": 0,
      "property": 0
    },
    "contract_checks": {
      "passed": 6,
      "total": 6
    }
  },
  "evidence_core_generated_at": "2026-09-24T09:04:14.075Z",
  "rendered_at": "2026-09-24T09:22:02.325Z",
  "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": "15e94bdaeb369eb16884b7f23b5426fcda9615d3442831a89762b371f15a39ea",
      "output_schema_sha256": "36d2af1e3c274cf69da1c84268972a401f587d80e51258da41112048624e1531",
      "evidence_sha256": "42faefdb53d8470924a07f773d23e6423939c80a5a88d8c9c8fe0265a4f43030",
      "evidence_core_sha256": "42faefdb53d8470924a07f773d23e6423939c80a5a88d8c9c8fe0265a4f43030",
      "capability_sha256": "3ee15b82c7de7efab9297511dfd05405f1e1661ad44168cdaee0bb37b5c1af12",
      "engine_sha256": "9c01357c59289b486db75219c319b48412c2e4bcd3a700b0d2dd8145ce528650",
      "mcp_contract_sha256": "3388e75b4bce470e6e95ce0cdeacdac3b6f0b946a1d6a37f4513ed07a8328719"
    },
    "contract_checks": {
      "total": 6,
      "passed": 6,
      "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": "rest-success-payload-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
