{
  "capability_id": "physics.thermo.thermal_resistance",
  "tool_id": "thermal-resistance",
  "engine": "thermal-resistance",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-17T02:45:35.819Z",
  "engine_build": "2026-09-17",
  "test_count": 16,
  "passed": 16,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 9,
      "passed": 9
    },
    "property": {
      "total": 6,
      "passed": 6
    }
  },
  "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/physics/thermal-resistance",
  "api": "https://www.calculatorx.com/api/v1/calc/thermal-resistance",
  "schema_input": "https://www.calculatorx.com/schemas/physics.thermo.thermal_resistance.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.thermo.thermal_resistance.output.json",
  "assumptions": [
    "Lumped thermal resistances; SI K/W",
    "Series R=ΣR_i; parallel 1/R=Σ1/R_i; Q=ΔT/R",
    "Not Fourier/Newton Q pages",
    "Not heatsink θ, not steam, not radiation"
  ],
  "limitations": [
    "Lumped R; SI K/W",
    "Series R=ΣR_i; parallel 1/R=Σ1/R_i; Q=ΔT/R when ΔT is given",
    "Not Fourier/Newton Q (see /calc/physics/heat-transfer)",
    "Not heatsink θJC/θSA, not steam, not radiation"
  ],
  "boundary_conditions": [
    "missing k, A, L, h, or a second R when required → MISSING_REQUIRED_INPUT",
    "k, A, L, h, or R ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "conduction with h, or convection with k/L, or resistances[] with R1… → MIXED_INPUT_ENCODING",
    "heat-transfer, heatsink, radiation, or steam as mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "Incropera, F.P. and DeWitt, D.P. Fundamentals of Heat and Mass Transfer",
      "section": "Thermal resistance networks",
      "supports": "R_cond = L/(k A); R_conv = 1/(h A); series and parallel combination; Q = ΔT/R",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-5 — Thermodynamics",
      "section": "Heat rate and temperature difference",
      "url": "https://www.iso.org/standard/30675.html",
      "supports": "Q is heat rate; R relates ΔT to Q",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:353b48c1caebcd92a7a2c40982070b8d95734bd596acab1ca0044191d8b42671",
  "tests": [
    {
      "id": "golden-rth",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "k": 1,
        "A": 2,
        "L": 0.5
      },
      "expect": {
        "R": 0.25,
        "mode": "conduction",
        "model": "thermal_resistance"
      },
      "expectWarning": null,
      "actual": {
        "mode": "conduction",
        "R": 0.25,
        "k": 1,
        "A": 2,
        "L": 0.5,
        "model": "thermal_resistance"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rth-q",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k": 1,
        "A": 2,
        "L": 0.5,
        "dT": 10
      },
      "expect": {
        "R": 0.25,
        "Q": 40
      },
      "expectWarning": null,
      "actual": {
        "mode": "conduction",
        "R": 0.25,
        "k": 1,
        "A": 2,
        "L": 0.5,
        "model": "thermal_resistance",
        "dT": 10,
        "Q": 40
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rth-conv",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "convection",
        "h": 10,
        "A": 2
      },
      "expect": {
        "R": 0.05,
        "mode": "convection"
      },
      "expectWarning": null,
      "actual": {
        "mode": "convection",
        "R": 0.05,
        "h": 10,
        "A": 2,
        "model": "thermal_resistance"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rth-series",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "series",
        "R1": 0.25,
        "R2": 0.05
      },
      "expect": {
        "R": 0.3,
        "n": 2
      },
      "expectWarning": null,
      "actual": {
        "mode": "series",
        "R": 0.3,
        "resistances": [
          0.25,
          0.05
        ],
        "n": 2,
        "model": "thermal_resistance"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rth-parallel",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "parallel",
        "resistances": [
          0.25,
          0.05
        ]
      },
      "expect": {
        "R": 0.041666666666666664
      },
      "expectWarning": null,
      "actual": {
        "mode": "parallel",
        "R": 0.041666666666666664,
        "resistances": [
          0.25,
          0.05
        ],
        "n": 2,
        "model": "thermal_resistance"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-rth-missing",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "A": 2,
        "L": 0.5
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "k is required"
    },
    {
      "id": "boundary-rth-k0",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k": 0,
        "A": 2,
        "L": 0.5
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "k must be greater than zero"
    },
    {
      "id": "boundary-rth-mixed",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k": 1,
        "A": 2,
        "L": 0.5,
        "h": 10
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Conduction does not take h. Use convection or series of R"
    },
    {
      "id": "boundary-rth-one",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "series",
        "R1": 0.25
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "series/parallel needs at least two resistances"
    },
    {
      "id": "boundary-rth-ht",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "heat-transfer",
        "k": 1,
        "A": 2,
        "L": 0.5
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be conduction|convection|series|parallel. Not heat-transfer, heatsink, radiation, or steam"
    },
    {
      "id": "property-rth-cond",
      "ok": true,
      "kind": "property",
      "detail": "L/(kA)=0.25",
      "expect": 0.25,
      "actual": 0.25
    },
    {
      "id": "property-rth-q",
      "ok": true,
      "kind": "property",
      "detail": "Q=ΔT/R",
      "expect": 40,
      "actual": 40
    },
    {
      "id": "property-rth-conv",
      "ok": true,
      "kind": "property",
      "detail": "1/(hA)=0.05",
      "expect": 0.05,
      "actual": 0.05
    },
    {
      "id": "property-rth-series",
      "ok": true,
      "kind": "property",
      "detail": "series 0.3",
      "expect": 0.3,
      "actual": 0.3
    },
    {
      "id": "property-rth-par",
      "ok": true,
      "kind": "property",
      "detail": "parallel 1/24",
      "expect": 0.041666666666666664,
      "actual": 0.041666666666666664
    },
    {
      "id": "property-rth-model",
      "ok": true,
      "kind": "property",
      "detail": "thermal_resistance",
      "expect": true,
      "actual": "thermal_resistance"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 16,
      "total": 16,
      "golden": 1,
      "boundary": 9,
      "property": 6
    },
    "contract_checks": {
      "passed": 3,
      "total": 3
    }
  },
  "evidence_core_generated_at": "2026-09-17T01:45:52.481Z",
  "rendered_at": "2026-09-17T02:45:35.819Z",
  "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": "c331e6933cc6a01f659c5664c757fb2628060083dde7c46f418b6ad0c73a1911",
      "output_schema_sha256": "2cc61d569661afa57c1e25d9fc267c2e3d71528b7b4e40c616d7bcd3ccb80cfe",
      "evidence_sha256": "232e1af9d904d69892347238f80acd0377c26480dbfd0ff3da10d03e0746f793",
      "evidence_core_sha256": "232e1af9d904d69892347238f80acd0377c26480dbfd0ff3da10d03e0746f793",
      "capability_sha256": "8082e1fa1239d616af01d053f22622100ce0f91976bbfdf0650a65524d6d4180",
      "engine_sha256": "a3e8effccaf4677aec4d1da78c13b5dc595ff97e52b074d5de5ab5cb5a87b094",
      "mcp_contract_sha256": "a942c221699a25eb2b10fc462c0b321092558cb5ffda32cf521d31ee83e3fe87"
    },
    "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"
  }
}
