{
  "capability_id": "physics.thermo.composite_wall",
  "tool_id": "composite-wall",
  "engine": "composite-wall",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-17T02:45:35.820Z",
  "engine_build": "2026-09-17",
  "test_count": 14,
  "passed": 14,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 1,
      "passed": 1
    },
    "boundary": {
      "total": 8,
      "passed": 8
    },
    "property": {
      "total": 5,
      "passed": 5
    }
  },
  "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/composite-wall",
  "api": "https://www.calculatorx.com/api/v1/calc/composite-wall",
  "schema_input": "https://www.calculatorx.com/schemas/physics.thermo.composite_wall.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.thermo.composite_wall.output.json",
  "assumptions": [
    "Plane composite wall; 1-D; shared A; R_i = L_i/(k_i A)",
    "Optional films R = 1/(h A); series only; Q=ΔT/R",
    "Not Fourier/Newton Q pages",
    "Not lumped R-network, not heatsink θ, not steam, not cylindrical"
  ],
  "limitations": [
    "Plane wall; 1-D; shared A; SI K/W",
    "R_i = L_i/(k_i A); optional films 1/(h A); Q=ΔT/R when ΔT is given",
    "Not Fourier/Newton Q (see /calc/physics/heat-transfer)",
    "Not lumped R-network (see /calc/physics/thermal-resistance)",
    "Not heatsink θJC/θSA, not steam, not cylindrical"
  ],
  "boundary_conditions": [
    "fewer than two layers → MISSING_REQUIRED_INPUT",
    "k, L, A, or h ≤ 0 → VALUE_MUST_BE_POSITIVE",
    "layers[] with k1/L1, or k/L, or R1, or h → MIXED_INPUT_ENCODING",
    "heat-transfer, heatsink, radiation, steam, series, or cylindrical as mode → INVALID_MODE"
  ],
  "sources": [
    {
      "title": "Incropera, F.P. and DeWitt, D.P. Fundamentals of Heat and Mass Transfer",
      "section": "Composite walls",
      "supports": "Plane multilayer wall; R_i = L_i/(k_i A); film resistances 1/(h A); series 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:7832177001854ed16e851ba103e5917f90bfcec7dbc24861b6ecfe5911e008d3",
  "tests": [
    {
      "id": "golden-cw",
      "ok": true,
      "kind": "golden",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2
      },
      "expect": {
        "R": 0.45,
        "mode": "plane",
        "model": "composite_wall",
        "n": 2
      },
      "expectWarning": null,
      "actual": {
        "mode": "plane",
        "R": 0.45,
        "A": 2,
        "layers": [
          {
            "k": 1,
            "L": 0.5,
            "R": 0.25
          },
          {
            "k": 0.5,
            "L": 0.2,
            "R": 0.2
          }
        ],
        "n": 2,
        "model": "composite_wall"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-cw-q",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2,
        "dT": 10
      },
      "expect": {
        "R": 0.45,
        "Q": 22.22222222222222
      },
      "expectWarning": null,
      "actual": {
        "mode": "plane",
        "R": 0.45,
        "A": 2,
        "layers": [
          {
            "k": 1,
            "L": 0.5,
            "R": 0.25
          },
          {
            "k": 0.5,
            "L": 0.2,
            "R": 0.2
          }
        ],
        "n": 2,
        "model": "composite_wall",
        "dT": 10,
        "Q": 22.22222222222222
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-cw-films",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2,
        "h_in": 10,
        "h_out": 20
      },
      "expect": {
        "R": 0.525,
        "R_in": 0.05,
        "R_out": 0.025
      },
      "expectWarning": null,
      "actual": {
        "mode": "plane",
        "R": 0.525,
        "A": 2,
        "layers": [
          {
            "k": 1,
            "L": 0.5,
            "R": 0.25
          },
          {
            "k": 0.5,
            "L": 0.2,
            "R": 0.2
          }
        ],
        "n": 2,
        "model": "composite_wall",
        "h_in": 10,
        "R_in": 0.05,
        "h_out": 20,
        "R_out": 0.025
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-cw-layers",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "layers": [
          {
            "k": 1,
            "L": 0.5
          },
          {
            "k": 0.5,
            "L": 0.2
          }
        ],
        "A": 2
      },
      "expect": {
        "R": 0.45
      },
      "expectWarning": null,
      "actual": {
        "mode": "plane",
        "R": 0.45,
        "A": 2,
        "layers": [
          {
            "k": 1,
            "L": 0.5,
            "R": 0.25
          },
          {
            "k": 0.5,
            "L": 0.2,
            "R": 0.2
          }
        ],
        "n": 2,
        "model": "composite_wall"
      },
      "tol": 1e-12
    },
    {
      "id": "boundary-cw-one",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "A": 2
      },
      "expectError": "MISSING_REQUIRED_INPUT",
      "code": "MISSING_REQUIRED_INPUT",
      "error": "composite wall needs at least two layers (k, L). A single slab is thermal-resistance"
    },
    {
      "id": "boundary-cw-k0",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 0,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2
      },
      "expectError": "VALUE_MUST_BE_POSITIVE",
      "code": "VALUE_MUST_BE_POSITIVE",
      "error": "k1 must be greater than zero"
    },
    {
      "id": "boundary-cw-mixed-k",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2,
        "k": 1,
        "L": 0.5
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Use k1/L1 layer list. A single slab is thermal-resistance"
    },
    {
      "id": "boundary-cw-mixed-r",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2,
        "R1": 0.25,
        "R2": 0.2
      },
      "expectError": "MIXED_INPUT_ENCODING",
      "code": "MIXED_INPUT_ENCODING",
      "error": "Composite wall takes layer geometry (k, L), not R. Use thermal-resistance for series of R"
    },
    {
      "id": "boundary-cw-ht",
      "ok": true,
      "kind": "boundary",
      "inputs": {
        "mode": "heat-transfer",
        "k1": 1,
        "L1": 0.5,
        "k2": 0.5,
        "L2": 0.2,
        "A": 2
      },
      "expectError": "INVALID_MODE",
      "code": "INVALID_MODE",
      "error": "mode must be plane. Not heat-transfer, heatsink, radiation, steam, cylindrical, or a thermal-resistance series of R"
    },
    {
      "id": "property-cw-r",
      "ok": true,
      "kind": "property",
      "detail": "Σ L/(kA)=0.45",
      "expect": 0.45,
      "actual": 0.45
    },
    {
      "id": "property-cw-q",
      "ok": true,
      "kind": "property",
      "detail": "Q=ΔT/R",
      "expect": 22.22222222222222,
      "actual": 22.22222222222222
    },
    {
      "id": "property-cw-films",
      "ok": true,
      "kind": "property",
      "detail": "films 0.525",
      "expect": 0.525,
      "actual": 0.525
    },
    {
      "id": "property-cw-layers",
      "ok": true,
      "kind": "property",
      "detail": "layers[]",
      "expect": 0.45,
      "actual": 0.45
    },
    {
      "id": "property-cw-model",
      "ok": true,
      "kind": "property",
      "detail": "composite_wall",
      "expect": true,
      "actual": "composite_wall"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 14,
      "total": 14,
      "golden": 1,
      "boundary": 8,
      "property": 5
    },
    "contract_checks": {
      "passed": 4,
      "total": 4
    }
  },
  "evidence_core_generated_at": "2026-09-17T02:06:15.504Z",
  "rendered_at": "2026-09-17T02:45:35.820Z",
  "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": "5047588b25f9c00388cc4d53cd92168749c055d21833c428a8ae48d4a92143a4",
      "output_schema_sha256": "c6d08b24bee10c6ea8371bf251adccc275d7ba81b306c9a374d5a5a0de5f6666",
      "evidence_sha256": "c7966bd5fe00ad87ae08b18946c1da5c55aa5706f0415b8a0c099a1de41009a6",
      "evidence_core_sha256": "c7966bd5fe00ad87ae08b18946c1da5c55aa5706f0415b8a0c099a1de41009a6",
      "capability_sha256": "4d85d798a8edfe1c3eb86b7c5c4ccb5ae0ce7501ffddb0f35144ae1a60196172",
      "engine_sha256": "a3e8effccaf4677aec4d1da78c13b5dc595ff97e52b074d5de5ab5cb5a87b094",
      "mcp_contract_sha256": "a942c221699a25eb2b10fc462c0b321092558cb5ffda32cf521d31ee83e3fe87"
    },
    "contract_checks": {
      "total": 4,
      "passed": 4,
      "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"
        },
        {
          "id": "schema-rejects-incomplete-input",
          "status": "pass"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
