{
  "capability_id": "electrical.watts_amps",
  "tool_id": "watts-to-amps",
  "engine": "watts-amps",
  "calculation_version": "1.4.1",
  "generated_at": "2026-09-16T22:03:43.699Z",
  "engine_build": "2026-09-10",
  "test_count": 24,
  "passed": 24,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 12,
      "passed": 12
    },
    "boundary": {
      "total": 4,
      "passed": 4
    },
    "property": {
      "total": 8,
      "passed": 8
    }
  },
  "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/watts-to-amps",
  "api": "https://www.calculatorx.com/api/v1/calc/watts-to-amps",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.watts_amps.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.watts_amps.output.json",
  "assumptions": [
    "Balanced three-phase when 3φ (L-L) is selected.",
    "Voltage and current are RMS for AC.",
    "DC forces PF = 1; AC uses total power factor λ on real power."
  ],
  "limitations": [
    "Not for unbalanced three-phase",
    "Not for line-to-neutral three-phase as a separate mode",
    "Not a substitute for breaker or conductor sizing"
  ],
  "boundary_conditions": [
    "Zero voltage yields 0 A (or 0 W in reverse) in the shared engine — soft boundary, not a hard error code",
    "AC power_factor ≤ 0 is treated as 1 in the shared engine; UI may clamp display differently",
    "Published API schema expects volts > 0 and power_factor in (0, 1]; legacy alias pf is accepted"
  ],
  "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 current I = P / (V·λ) (1φ) or I = P / (√3·V_L-L·λ) (3φ L-L)",
      "kind": "standard",
      "accessed": "2026-09-05",
      "clause": "IEV 131-11-46"
    },
    {
      "title": "IEEE Std 1459-2025",
      "section": "Real power under sinusoidal and nonsinusoidal conditions",
      "url": "https://standards.ieee.org/ieee/1459/7578/",
      "supports": "DC I = P/V; 1φ I = P/(V·PF); 3φ L-L I = P/(√3·V·PF)",
      "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 so I = P/V; W and A unit relationships",
      "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": "Watt and ampere as SI derived units",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "supports": "W as unit of power; A as unit of electric current",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:465de46099024f3f0720f1da017640210ce5a53c84a1b15ba9e7cd2c4b68f2d3",
  "tests": [
    {
      "id": "dc-1000W-120V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 1000,
        "volts": 120,
        "circuit": "dc"
      },
      "expect": 8.333,
      "expectWarning": null,
      "actual": 8.333333333333334,
      "tol": 0.01
    },
    {
      "id": "dc-2400W-240V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2400,
        "volts": 240,
        "circuit": "dc"
      },
      "expect": 10,
      "expectWarning": null,
      "actual": 10,
      "tol": 0.01
    },
    {
      "id": "1phi-2000W",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 110,
        "circuit": "single",
        "pf": 0.8
      },
      "expect": 22.727,
      "expectWarning": null,
      "actual": 22.727272727272727,
      "tol": 0.02
    },
    {
      "id": "3phi-10000W",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 10000,
        "volts": 400,
        "circuit": "three",
        "pf": 0.9
      },
      "expect": 16.04,
      "expectWarning": null,
      "actual": 16.037507477489605,
      "tol": 0.02
    },
    {
      "id": "dc-60W-12V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 60,
        "volts": 12,
        "circuit": "dc"
      },
      "expect": 5,
      "expectWarning": null,
      "actual": 5,
      "tol": 0.01
    },
    {
      "id": "dc-amps-to-watts",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "a-w",
        "powerOrCurrent": 12.5,
        "volts": 120,
        "circuit": "dc"
      },
      "expect": 1500,
      "expectWarning": null,
      "actual": 1500,
      "tol": 0.01
    },
    {
      "id": "1phi-2000W-230V",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 230,
        "circuit": "single",
        "pf": 0.8
      },
      "expect": 10.87,
      "expectWarning": null,
      "actual": 10.869565217391305,
      "tol": 0.02
    },
    {
      "id": "dc-linear-2x-power",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 120,
        "circuit": "dc"
      },
      "expect": 16.667,
      "expectWarning": null,
      "actual": 16.666666666666668,
      "tol": 0.01
    },
    {
      "id": "soft-zero-volts",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 1000,
        "volts": 0,
        "circuit": "dc"
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-zero-power",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 0,
        "volts": 120,
        "circuit": "dc"
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "soft-pf-zero-as-one",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 110,
        "circuit": "single",
        "pf": 0
      },
      "expect": 18.182,
      "expectWarning": null,
      "actual": 18.181818181818183,
      "tol": 0.02
    },
    {
      "id": "3phi-roundtrip-a-w",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "dir": "a-w",
        "powerOrCurrent": 16.04,
        "volts": 400,
        "circuit": "three",
        "pf": 0.9
      },
      "expect": 10000,
      "expectWarning": null,
      "actual": 10001.554183225724,
      "tol": 5
    },
    {
      "id": "boundary-pf-zero-as-one",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 110,
        "circuit": "single",
        "pf": 0
      },
      "expect": 18.181818181818183,
      "expectWarning": null,
      "actual": 18.181818181818183,
      "tol": 0.000001
    },
    {
      "id": "boundary-zero-volts-ac",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 2000,
        "volts": 0,
        "circuit": "single",
        "pf": 0.8
      },
      "expect": 0,
      "expectWarning": null,
      "actual": 0,
      "tol": 1e-12
    },
    {
      "id": "boundary-missing-volts",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 1000,
        "circuit": "dc"
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "volts is required"
    },
    {
      "id": "boundary-neg-volts",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "dir": "w-a",
        "powerOrCurrent": 1000,
        "volts": -120,
        "circuit": "dc"
      },
      "expectError": "VOLTAGE_MUST_BE_POSITIVE",
      "code": "VOLTAGE_MUST_BE_POSITIVE",
      "error": "volts must be ≥ 0"
    },
    {
      "id": "property-dc-w-a",
      "ok": true,
      "kind": "property",
      "detail": "DC: I = P/V",
      "expect": 10,
      "actual": 10
    },
    {
      "id": "property-dc-a-w",
      "ok": true,
      "kind": "property",
      "detail": "DC: P = I·V",
      "expect": 1200,
      "actual": 1200
    },
    {
      "id": "property-dc-roundtrip",
      "ok": true,
      "kind": "property",
      "detail": "DC W↔A round-trip",
      "expect": 1200,
      "actual": 1200
    },
    {
      "id": "property-1phi-pf",
      "ok": true,
      "kind": "property",
      "detail": "1φ: I = P/(V·λ)",
      "expect": 10.869565217391305,
      "actual": 10.869565217391305
    },
    {
      "id": "property-linear-power",
      "ok": true,
      "kind": "property",
      "detail": "I(2P)=2I(P) at fixed V",
      "expect": 20,
      "actual": 20
    },
    {
      "id": "property-3phi-pf",
      "ok": true,
      "kind": "property",
      "detail": "3φ: I = P/(√3·V·λ)",
      "expect": 16.037507477489605,
      "actual": 16.037507477489605
    },
    {
      "id": "property-3phi-roundtrip",
      "ok": true,
      "kind": "property",
      "detail": "3φ W↔A round-trip",
      "expect": 10000,
      "actual": 10000
    },
    {
      "id": "property-inverse-v",
      "ok": true,
      "kind": "property",
      "detail": "I(2V)=I/2 at fixed P",
      "expect": 5,
      "actual": 5
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 24,
      "total": 24,
      "golden": 12,
      "boundary": 4,
      "property": 8
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-10T22:48:17.762Z",
  "rendered_at": "2026-09-16T22:03:43.699Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.4.1",
    "artifacts": {
      "engine": "1.4.1",
      "page": "1.4.1",
      "capability": "1.4.1",
      "evidence": "1.4.1",
      "input_schema": "1.4.1",
      "output_schema": "1.4.1",
      "mcp_contract": "1.4.1"
    },
    "digests": {
      "input_schema_sha256": "c81941dfc9e2bdc8d5f422b5af389c2e47a9e6c6420d547e1f8ea49b4bff2cdb",
      "output_schema_sha256": "fbed785a3393b689760e84859b8c45ae7bdbc696a9f826b9c83e0684d3fd3958",
      "evidence_sha256": "05a0b74a99e2fa8ba3ddbe0bc26e6ef95a074ef0b64dac31436ed2220a3a5d6c",
      "evidence_core_sha256": "05a0b74a99e2fa8ba3ddbe0bc26e6ef95a074ef0b64dac31436ed2220a3a5d6c",
      "capability_sha256": "0aef38963e542a38115280667d41cb421ec7f1945030c11b23e65ddf05abc1eb",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.4.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"
  }
}
