{
  "capability_id": "electrical.transformer_sizing",
  "tool_id": "transformer-sizing",
  "engine": "transformer-sizing",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-16T22:03:43.728Z",
  "engine_build": "2026-09-10",
  "test_count": 7,
  "passed": 7,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 3,
      "passed": 3
    },
    "boundary": {
      "total": 2,
      "passed": 2
    },
    "property": {
      "total": 2,
      "passed": 2
    }
  },
  "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/transformer-sizing",
  "api": "https://www.calculatorx.com/api/v1/calc/transformer-sizing",
  "schema_input": "https://www.calculatorx.com/schemas/electrical.transformer_sizing.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/electrical.transformer_sizing.output.json",
  "assumptions": [],
  "limitations": [
    "Ideal lossless single-phase"
  ],
  "boundary_conditions": [
    "<3 of Vp,Vs,Np,Ns → NEEDS_THREE_INPUTS",
    "V,I ≤0 as applicable → VALUE_MUST_BE_POSITIVE / NON_NEGATIVE"
  ],
  "sources": [
    {
      "title": "IEC 60076 — Power transformers (concepts)",
      "section": "Ideal transformer ratios",
      "supports": "Voltage/turns and VA basics",
      "kind": "standard"
    },
    {
      "title": "Chapman — Electric Machinery Fundamentals",
      "section": "Ideal transformer",
      "supports": "Vp/Vs = Np/Ns and VA conservation",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:126857d7f05e657625aca33f824937c61bf37030c81b62b305ca22659254e2fa",
  "tests": [
    {
      "id": "ratio",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "ratio",
        "Vp": 240,
        "Vs": 24,
        "Np": 100
      },
      "expect": {
        "Ns": 10,
        "turns_ratio": 10
      },
      "expectWarning": null,
      "actual": {
        "mode": "ratio",
        "Vp": 240,
        "Vs": 24,
        "Np": 100,
        "Ns": 10,
        "turns_ratio": 10
      },
      "tol": 1e-12
    },
    {
      "id": "va",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "va",
        "V": 240,
        "I": 10
      },
      "expect": {
        "S_VA": 2400,
        "S_kVA": 2.4
      },
      "expectWarning": null,
      "actual": {
        "mode": "va",
        "V": 240,
        "I": 10,
        "S_VA": 2400,
        "S_kVA": 2.4
      },
      "tol": 1e-12
    },
    {
      "id": "current",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "mode": "current",
        "Ip": 1,
        "Np": 100,
        "Ns": 10
      },
      "expect": {
        "Is": 10
      },
      "expectWarning": null,
      "actual": {
        "mode": "current",
        "Ip": 1,
        "Is": 10,
        "Np": 100,
        "Ns": 10,
        "Vp": null,
        "Vs": null,
        "current_ratio": 0.1
      },
      "tol": 1e-12
    },
    {
      "id": "needs3",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "ratio",
        "Vp": 240,
        "Vs": 24
      },
      "expectError": "NEEDS_THREE_INPUTS",
      "code": "NEEDS_THREE_INPUTS",
      "error": "Need any three of Vp,Vs,Np,Ns"
    },
    {
      "id": "boundary-xf-va",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "va",
        "V": 240,
        "I": 10
      },
      "expect": {
        "S_VA": 2400
      },
      "expectWarning": null,
      "actual": {
        "mode": "va",
        "V": 240,
        "I": 10,
        "S_VA": 2400,
        "S_kVA": 2.4
      },
      "tol": 1e-12
    },
    {
      "id": "property-ns",
      "ok": true,
      "kind": "property",
      "detail": "Ns=10",
      "expect": 10,
      "actual": 10
    },
    {
      "id": "property-va",
      "ok": true,
      "kind": "property",
      "detail": "2400 VA",
      "expect": 2400,
      "actual": 2400
    }
  ],
  "tier": "expert_verified",
  "verification": {
    "tests": {
      "passed": 7,
      "total": 7,
      "golden": 3,
      "boundary": 2,
      "property": 2
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-06T13:16:40.891Z",
  "rendered_at": "2026-09-16T22:03:43.728Z",
  "release_integrity": {
    "status": "verified",
    "scope": "workspace",
    "production_attestation_required": true,
    "calculation_version": "1.0.0",
    "artifacts": {
      "engine": "1.0.0",
      "page": "1.0.0",
      "capability": "1.0.0",
      "evidence": "1.0.0",
      "input_schema": "1.0.0",
      "output_schema": "1.0.0",
      "mcp_contract": "1.0.0"
    },
    "digests": {
      "input_schema_sha256": "7b1e7e421f474d00ad0349882e095fb62eb05d32d582469929f65b9d9d15fac6",
      "output_schema_sha256": "17155b5d5cfc2ffeb6a4c78e8f9384d8648aecfde0599eacd6b33d684b65f7ee",
      "evidence_sha256": "ed48c1f0e33b6f8f9c1ac055e991a152d68b97650ccf88ba13f0ed23c4777f7a",
      "evidence_core_sha256": "ed48c1f0e33b6f8f9c1ac055e991a152d68b97650ccf88ba13f0ed23c4777f7a",
      "capability_sha256": "db61dd9f086a669e61331e796ca0758d25d764ac4212a7d9980b6a1ec0ab6b25",
      "engine_sha256": "c8d4ccdbfeaf61d7b024d4e1babb0c2ba3b324c1b37bd0cb456a526d8d2b1bd1",
      "mcp_contract_sha256": "863098b311a7b17dc4b229a6302b90b3545b175f716e5d84772c7be8e9716b86"
    },
    "contract_checks": {
      "total": 3,
      "passed": 3,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        },
        {
          "id": "schema-valid-input-executes",
          "status": "pass"
        },
        {
          "id": "engine-success-output-validates-schema",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
