{
  "capability_id": "electrical.volts_to_kw",
  "tool_id": "volts-to-kw",
  "engine": "volts-kw",
  "calculation_version": "1.3.1",
  "generated_at": "2026-09-16T22:03:43.708Z",
  "engine_build": "2026-09-10",
  "test_count": 12,
  "passed": 12,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 7,
      "passed": 7
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "property": {
      "total": 1,
      "passed": 1
    }
  },
  "engine_tested": true,
  "expert_reviewed": true,
  "internally_reviewed": false,
  "review_kind": "expert",
  "source_checked": true,
  "reviewed_by": "CalculatorX electrical review",
  "reviewer_role": "electrical-engineer",
  "last_reviewed": "2026-08-08",
  "expert_review": {
    "status": "approved",
    "reviewer": {
      "name": "CalculatorX electrical review",
      "role": "electrical-engineer"
    },
    "reviewed_at": "2026-08-08",
    "scope": [
      "formula",
      "input semantics",
      "assumptions",
      "limitations",
      "sources",
      "tests"
    ],
    "kind": "expert"
  },
  "internal_review": {
    "status": "not_applicable",
    "reviewer": null
  },
  "page": "https://www.calculatorx.com/calc/electric/volts-to-kw",
  "api": "https://www.calculatorx.com/api/v1/calc/volts-to-kw",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.volts_to_kw.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.volts_to_kw.output.json",
  "assumptions": [
    "Balanced three-phase when √3 mode is selected",
    "Voltage is RMS for AC",
    "PF = 1 for DC / resistive"
  ],
  "limitations": [
    "PF ∈ (0,1] hard — FRACTION_OUT_OF_RANGE",
    "V>0 on forward; I>0 on reverse"
  ],
  "boundary_conditions": [
    "power_factor must be in (0, 1] — PF≤0 → FRACTION_OUT_OF_RANGE (engine volts-kw)",
    "Voltage must be > 0 on Volts→kW — VOLTAGE_MUST_BE_POSITIVE",
    "Current must be > 0 on kW→Volts — VALUE_MUST_BE_POSITIVE",
    "Zero current on forward yields 0 kW — soft boundary"
  ],
  "sources": [
    {
      "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). Under sinusoidal conditions P = Re S.",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-42"
    },
    {
      "title": "IEC 60050 — International Electrotechnical Vocabulary",
      "section": "Power factor (IEV 131-11-46)",
      "url": "https://www.electropedia.org/iev/iev.nsf/display?openform&ievref=131-11-46",
      "supports": "λ = |P| / S; AC real-power formulas multiply V·I (and √3 for 3φ L-L) by λ",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-46"
    },
    {
      "title": "IEEE Std 1459-2025",
      "section": "Real power from voltage, current, and power factor",
      "url": "https://standards.ieee.org/ieee/1459/7578/",
      "supports": "1φ P = PF·V·I/1000; 3φ L-L P = √3·PF·V·I/1000; DC P = V·I/1000",
      "kind": "standard",
      "accessed": "2026-09-05",
      "publisher": "IEEE",
      "published": "2025-05-16",
      "errata_checked": true
    },
    {
      "title": "BIPM SI Brochure (9th edition, version 4.01)",
      "section": "SI units for ampere, volt, and watt",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "supports": "DC P = V·I; kW = 1000 W unit scaling",
      "kind": "reference",
      "accessed": "2026-09-05",
      "published": "2026-06",
      "doi": "https://doi.org/10.59161/AUEZ1291"
    },
    {
      "title": "NIST Guide to the SI (SP 811)",
      "section": "Volt, ampere, and watt",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "SI unit relationships in power calculations",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:46d20f463d78f11ad829119706429c19f5fb104b29bbe184c7c42f8ba0487675",
  "tests": [
    {
      "id": "240V-10A",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "v-kw",
        "a": 240,
        "b": 10,
        "phase": "single",
        "pf": 1
      },
      "expect": 2.4,
      "expectWarning": null,
      "actual": 2.4,
      "tol": 0.001
    },
    {
      "id": "120V-12A",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "v-kw",
        "a": 120,
        "b": 12,
        "phase": "single",
        "pf": 1
      },
      "expect": 1.44,
      "expectWarning": null,
      "actual": 1.44,
      "tol": 0.001
    },
    {
      "id": "400V-20A-3phi",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "v-kw",
        "a": 400,
        "b": 20,
        "phase": "three",
        "pf": 0.9
      },
      "expect": 12.471,
      "expectWarning": null,
      "actual": 12.470765814495916,
      "tol": 0.01
    },
    {
      "id": "kw-to-v",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "kw-v",
        "a": 2.4,
        "b": 10,
        "phase": "single",
        "pf": 1
      },
      "expect": 240,
      "expectWarning": null,
      "actual": 240,
      "tol": 0.1
    },
    {
      "id": "soft-zero-I",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "v-kw",
        "a": 230,
        "b": 0,
        "phase": "single",
        "pf": 1
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "pf-zero",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "v-kw",
        "a": 230,
        "b": 10,
        "phase": "single",
        "pf": 0
      },
      "expectError": "FRACTION_OUT_OF_RANGE",
      "code": "FRACTION_OUT_OF_RANGE",
      "error": "pf must be in (0, 1]"
    },
    {
      "id": "zero-volts",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "v-kw",
        "a": 0,
        "b": 10,
        "phase": "single",
        "pf": 1
      },
      "expectError": "VOLTAGE_MUST_BE_POSITIVE",
      "code": "VOLTAGE_MUST_BE_POSITIVE",
      "error": "V must be greater than zero"
    },
    {
      "id": "kw-v-zero-I",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "kw-v",
        "a": 2.4,
        "b": 0,
        "phase": "single",
        "pf": 1
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "I must be greater than zero"
    },
    {
      "id": "roundtrip",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "kw-v",
        "a": 12.471,
        "b": 20,
        "phase": "three",
        "pf": 0.9
      },
      "expect": 400,
      "expectWarning": null,
      "actual": 400.00751150354574,
      "tol": 0.5
    },
    {
      "id": "half-pf",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "v-kw",
        "a": 400,
        "b": 20,
        "phase": "three",
        "pf": 0.45
      },
      "expect": 6.236,
      "expectWarning": null,
      "actual": 6.235382907247958,
      "tol": 0.01
    },
    {
      "id": "bad-phase",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "v-kw",
        "a": 230,
        "b": 10,
        "phase": "two",
        "pf": 1
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "phase must be \"single\" or \"three\""
    },
    {
      "id": "property-volts-kw",
      "ok": true,
      "kind": "property",
      "detail": "2.4",
      "expect": 2.4,
      "actual": 2.4
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 12,
      "total": 12,
      "golden": 7,
      "boundary": 4,
      "property": 1
    },
    "contract_checks": {
      "passed": 2,
      "total": 2
    }
  },
  "evidence_core_generated_at": "2026-09-05T02:35:39.217Z",
  "rendered_at": "2026-09-16T22:03:43.708Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.3.1",
    "artifacts": {
      "engine": "1.3.1",
      "page": "1.3.1",
      "capability": "1.3.1",
      "evidence": "1.3.1",
      "input_schema": "1.3.1",
      "output_schema": "1.3.1",
      "mcp_contract": "1.3.1"
    },
    "digests": {
      "input_schema_sha256": "44ca986561a6fb76f5701ef94ea3a32828c0dd2994593dc11f8b16c874e7ceb0",
      "output_schema_sha256": "2c8d5f92df8897df800d37d497e7cfe8676f093915530fa415205777ca40c2a3",
      "evidence_sha256": "152ef91553fa0cfd72e856c6a92a57f3eb3390fc5e2e89d77d2c0701d59ebc94",
      "evidence_core_sha256": "152ef91553fa0cfd72e856c6a92a57f3eb3390fc5e2e89d77d2c0701d59ebc94",
      "capability_sha256": "c52778ee0d225a2ff373bcb2372b537268602a39752b5330d447ea98ab828ad7",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 2,
      "passed": 2,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.3.1"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
