{
  "capability_id": "physics.fluid.broad_crested_weir",
  "tool_id": "broad-crested-weir",
  "engine": "broad-crested-weir",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T03:31:40.488Z",
  "engine_build": "2026-09-18",
  "test_count": 5,
  "passed": 5,
  "failed": 0,
  "tests_summary": {
    "golden": {
      "total": 0,
      "passed": 0
    },
    "boundary": {
      "total": 0,
      "passed": 0
    },
    "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/broad-crested-weir",
  "api": "https://www.calculatorx.com/api/v1/calc/broad-crested-weir",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.broad_crested_weir.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.broad_crested_weir.output.json",
  "assumptions": [
    "Rectangular broad-crested weir: Q = C_d (2/3)^{3/2} b √g H^{3/2}; default C_d=0.85; modular free nappe; C_d is an input in (0, 1]",
    "H is upstream head above the crest, not energy head; optional L_c envelope H/L_c∈[0.08,0.50]; optional P with H/P≤1.5",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not Manning n, not Q=Av, not orifice C_d A √(2gH), not Francis 3.33 L H^{3/2}"
  ],
  "limitations": [
    "Rectangular broad-crested weir: Q = C_d (2/3)^{3/2} b √g H^{3/2}; default C_d=0.85; modular free nappe; C_d is an input in (0, 1]",
    "H is upstream head above the crest, not energy head; optional L_c envelope H/L_c∈[0.08,0.50]; optional P with H/P≤1.5",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not Manning n, not Q=Av, not orifice C_d A √(2gH), not Francis 3.33 L H^{3/2}"
  ],
  "boundary_conditions": [
    "missing b, H, or Q when required → MISSING_REQUIRED_INPUT",
    "H and Q together, thin-plate L, Manning n/R/S, orifice A/d/D/Δp, Q=Av v, yc/q/Fr, drowned h2 → MIXED_INPUT_ENCODING",
    "C_d > 1, H/L_c outside [0.08,0.50] when L_c is given, or H/P > 1.5 when P is given → VALUE_OUT_OF_RANGE",
    "mode=rectangular|triangular|thin-plate or unknown mode → MIXED_INPUT_ENCODING or INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 3846 — Hydrometry — Open channel flow measurement using rectangular broad-crested weirs",
      "section": "Modular rectangular broad-crested weir",
      "url": "https://www.iso.org/standard/9383.html",
      "supports": "Q = C_d (2/3)^{3/2} b √g H^{3/2}; modular H/L_c range",
      "kind": "standard"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; H and b are lengths",
      "kind": "standard"
    },
    {
      "title": "Bos, M.G. Discharge Measurement Structures",
      "section": "Broad-crested weirs",
      "supports": "Critical-flow rectangular broad-crested discharge; C_d of order 0.85",
      "kind": "reference"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:9aad5dea7891b39d746ec6bae33355dab9c570c24489cf17fc13761f28a860dc",
  "tests": [
    {
      "id": "property-bcw-q",
      "ok": true,
      "kind": "property",
      "detail": "Q=Cd (2/3)^{3/2} b √g H^{3/2}",
      "expect": 0.12959473811906158,
      "actual": 0.12959473811906158
    },
    {
      "id": "property-bcw-cd",
      "ok": true,
      "kind": "property",
      "detail": "default Cd=0.85",
      "expect": 0.85,
      "actual": 0.85
    },
    {
      "id": "property-bcw-not-thin",
      "ok": true,
      "kind": "property",
      "detail": "Q≠thin-plate",
      "expect": 0.163727171653876,
      "actual": 0.12959473811906158
    },
    {
      "id": "property-bcw-roundtrip-H",
      "ok": true,
      "kind": "property",
      "detail": "H invert",
      "expect": 0.2,
      "actual": 0.20000000000000007
    },
    {
      "id": "property-bcw-model",
      "ok": true,
      "kind": "property",
      "detail": "broad_crested_critical",
      "expect": true,
      "actual": "broad_crested_critical"
    }
  ],
  "tier": "engine_tested",
  "verification": {
    "tests": {
      "passed": 5,
      "total": 5,
      "golden": 0,
      "boundary": 0,
      "property": 5
    },
    "contract_checks": {
      "passed": 1,
      "total": 1
    }
  },
  "evidence_core_generated_at": "2026-09-18T02:00:19.838Z",
  "rendered_at": "2026-09-18T03:31:40.488Z",
  "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": "8114fe63a6ba2075facd0231cc59ee9e5b797d81d79eff60b4804621686b6ecc",
      "output_schema_sha256": "2c7e90576ffe0e85baef653acac9f58cc63d8d6fe08a7657f7fc6a5e2deba89e",
      "evidence_sha256": "94db055d1f05ff958a69731e0b8c106df064c8924e0d8c66bad1e9145f0aab83",
      "evidence_core_sha256": "94db055d1f05ff958a69731e0b8c106df064c8924e0d8c66bad1e9145f0aab83",
      "capability_sha256": "06202c9eb4c2d9c272a75e1193f7ca9cf44a603a07d1f8a7d3838cead7b7f29d",
      "engine_sha256": "508f56605e377c007570b9a5409949c9a9bcfe63675202647cfa02343c5ab8fa",
      "mcp_contract_sha256": "0a8134e5ddebb7539b7325e6f2585459d045c25de5501ee99502a98417a10b18"
    },
    "contract_checks": {
      "total": 1,
      "passed": 1,
      "failed": 0,
      "items": [
        {
          "id": "release-artifacts-aligned",
          "status": "pass",
          "detail": "1.0.0"
        }
      ]
    },
    "report": "https://www.calculatorx.com/.well-known/calculatorx-release-integrity.json"
  }
}
