{
  "capability_id": "electrical.kwh_to_watts",
  "tool_id": "kwh-to-watts",
  "engine": "scale-quotient",
  "calculation_version": "1.2.1",
  "generated_at": "2026-09-16T22:03:43.707Z",
  "engine_build": "2026-09-15",
  "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-watts",
  "api": "https://www.calculatorx.com/api/v1/calc/kwh-to-watts",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.kwh_to_watts.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.kwh_to_watts.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",
    "Shares the scale-quotient helper with W→kVA; contracts are distinct (time vs PF)"
  ],
  "boundary_conditions": [
    "kWh→W (scale-quotient, factor 1000): time t = 0 → 0 W — soft",
    "Zero energy → 0 W",
    "W→kWh (scale-product, factor 0.001): zero power or time → 0 kWh",
    "Result is average power over the interval, not instantaneous peak",
    "Same relation as kWh↔kW scaled by 1000 (1 kW = 1000 W)"
  ],
  "sources": [
    {
      "title": "Energy–power identity",
      "section": "E = P × t; W = 1000 × kWh / h",
      "supports": "P(W) = 1000·E(kWh)/t; E = P·t/1000",
      "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; 1 kW = 1000 W scaling",
      "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)",
      "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 for billing / energy meters",
      "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 kW = 1000 W; 1 kWh = 3.6 MJ",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:2f1243deb47ae5d58324b74d1c5a729429371ccd16a27ccbd6e28b9b5b375e05",
  "tests": [
    {
      "id": "1kWh-1h",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 1,
        "b": 1,
        "factor": 1000
      },
      "expect": 1000,
      "expectWarning": null,
      "actual": 1000,
      "tol": 0.01
    },
    {
      "id": "3-6.5",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 3,
        "b": 6.5,
        "factor": 1000
      },
      "expect": 461.538,
      "expectWarning": null,
      "actual": 461.53846153846155,
      "tol": 0.01
    },
    {
      "id": "12-24",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 12,
        "b": 24,
        "factor": 1000
      },
      "expect": 500,
      "expectWarning": null,
      "actual": 500,
      "tol": 0.01
    },
    {
      "id": "w-to-kwh",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 1500,
        "b": 5,
        "factor": 0.001
      },
      "expect": 7.5,
      "expectWarning": null,
      "actual": 7.5,
      "tol": 0.001,
      "engine": "scale-product"
    },
    {
      "id": "10-5",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 10,
        "b": 5,
        "factor": 1000
      },
      "expect": 2000,
      "expectWarning": null,
      "actual": 2000,
      "tol": 0.01
    },
    {
      "id": "1000W-1h-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 1000,
        "b": 1,
        "factor": 0.001
      },
      "expect": 1,
      "expectWarning": null,
      "actual": 1,
      "tol": 0.001,
      "engine": "scale-product"
    },
    {
      "id": "linear-2x-E",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 6,
        "b": 6.5,
        "factor": 1000
      },
      "expect": 923.077,
      "expectWarning": null,
      "actual": 923.0769230769231,
      "tol": 0.01
    },
    {
      "id": "inverse-half-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 3,
        "b": 3.25,
        "factor": 1000
      },
      "expect": 923.077,
      "expectWarning": null,
      "actual": 923.0769230769231,
      "tol": 0.01
    },
    {
      "id": "soft-zero-t",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 3,
        "b": 0,
        "factor": 1000
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-E",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 6.5,
        "factor": 1000
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-P-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 0,
        "b": 6.5,
        "factor": 0.001
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "scale-product"
    },
    {
      "id": "soft-zero-t-reverse",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "a": 461.54,
        "b": 0,
        "factor": 0.001
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12,
      "engine": "scale-product"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 12,
      "total": 12,
      "golden": 12,
      "boundary": 0,
      "property": 0
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-15T06:31:46.555Z",
  "rendered_at": "2026-09-16T22:03:43.707Z",
  "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": "36e03de4cc6a5f64bdde21771eed9c9ef1588b32cd0bf841ea44730e408d23cb",
      "output_schema_sha256": "ebe8b63eb3d9e96be3160fd6e10cb21f9aca1d8ca48e6fefe6f1a2c5f3f91e75",
      "evidence_sha256": "6a45f0c2094ec282185d7821dd6801be9f5f3a71ec13901f180d9a5542b871d6",
      "evidence_core_sha256": "6a45f0c2094ec282185d7821dd6801be9f5f3a71ec13901f180d9a5542b871d6",
      "capability_sha256": "22d405a78301ed6490d3dccf18d41b6c408e4472d75b21b3e96ac7cd9e536159",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.2.1"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
