{
  "capability_id": "physics.fluid.parshall_flume",
  "tool_id": "parshall-flume",
  "engine": "parshall-flume",
  "calculation_version": "1.0.0",
  "generated_at": "2026-09-18T03:31:40.489Z",
  "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/parshall-flume",
  "api": "https://www.calculatorx.com/api/v1/calc/parshall-flume",
  "schema_input": "https://www.calculatorx.com/schemas/physics.fluid.parshall_flume.input.json",
  "schema_output": "https://www.calculatorx.com/schemas/physics.fluid.parshall_flume.output.json",
  "assumptions": [
    "USBR 1–8 ft Parshall free flow: Q_cfs = 4 W_ft Ha_ft^n, n=1.522 W_ft^{0.026}; SI W, Ha, Q; n is reported, not an input",
    "Ha is the specified-gage upstream head, not weir crest head H; W∈[0.3048 m, 2.4384 m]; Ha∈[0.03048 m, 1.6764 m]; free nappe only",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not broad-crested (2/3)^{3/2} b √g H^{3/2}, not Manning n, not Q=Av, not orifice, not submerged Hb"
  ],
  "limitations": [
    "USBR 1–8 ft Parshall free flow: Q_cfs = 4 W_ft Ha_ft^n, n=1.522 W_ft^{0.026}; SI W, Ha, Q; n is reported, not an input",
    "Ha is the specified-gage upstream head, not weir crest head H; W∈[0.3048 m, 2.4384 m]; Ha∈[0.03048 m, 1.6764 m]; free nappe only",
    "Not thin-plate (2/3) C_d L √(2g) H^{3/2}, not broad-crested (2/3)^{3/2} b √g H^{3/2}, not Manning n, not Q=Av, not orifice, not submerged Hb"
  ],
  "boundary_conditions": [
    "missing W, Ha, or Q when required → MISSING_REQUIRED_INPUT",
    "Ha and Q together, weir H/L/b, Manning n/R/S, orifice A/d/D/Δp, Q=Av v, yc/q/Fr/g, Cd, Hb, W_ft, L_f → MIXED_INPUT_ENCODING",
    "W outside [0.3048, 2.4384] m or Ha outside [0.03048, 1.6764] m → VALUE_OUT_OF_RANGE",
    "mode=rectangular|thin-plate|broad-crested or unknown mode → MIXED_INPUT_ENCODING or INVALID_MODE"
  ],
  "sources": [
    {
      "title": "ISO 9826 — Measurement of liquid flow in open channels — Parshall and SANIIRI flumes",
      "section": "Parshall flume",
      "url": "https://www.iso.org/standard/17702.html",
      "supports": "Parshall geometry and free-flow rating; not a thin-plate or broad-crested weir",
      "kind": "standard"
    },
    {
      "title": "USBR Water Measurement Manual",
      "section": "Parshall flumes, 1–8 ft",
      "supports": "Q_cfs = 4 W_ft Ha_ft^n with n = 1.522 W_ft^{0.026}",
      "kind": "reference"
    },
    {
      "title": "ISO 80000-4 — Mechanics",
      "section": "Volume flow rate",
      "url": "https://www.iso.org/standard/31895.html",
      "supports": "Q is volume flow; W and Ha are lengths",
      "kind": "standard"
    }
  ],
  "methods": [],
  "fingerprint": "sha256:1981ec4a2f54540c0accb1f971c4b9c0bcbb3fd809e0b682dade8a8addf403cc",
  "tests": [
    {
      "id": "property-psf-q",
      "ok": true,
      "kind": "property",
      "detail": "1 ft / 1 ft Ha → 4 cfs",
      "expect": 0.113267386368,
      "actual": 0.113267386368
    },
    {
      "id": "property-psf-n",
      "ok": true,
      "kind": "property",
      "detail": "n=1.522 at W=1 ft",
      "expect": 1.522,
      "actual": 1.522
    },
    {
      "id": "property-psf-not-32",
      "ok": true,
      "kind": "property",
      "detail": "n≠3/2",
      "expect": 1.5,
      "actual": 1.522
    },
    {
      "id": "property-psf-roundtrip-Ha",
      "ok": true,
      "kind": "property",
      "detail": "Ha invert",
      "expect": 0.3048,
      "actual": 0.3048
    },
    {
      "id": "property-psf-model",
      "ok": true,
      "kind": "property",
      "detail": "parshall_usbr_free",
      "expect": true,
      "actual": "parshall_usbr_free"
    }
  ],
  "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:23:57.439Z",
  "rendered_at": "2026-09-18T03:31:40.489Z",
  "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": "a828b1179d383ead18e23c10c17e5fb871c2d097d4e8686c12785b172209715f",
      "output_schema_sha256": "f4a4778a5b961065b23de5d1bcb61a5be0e687b6156a0118297bb69599ffc475",
      "evidence_sha256": "90929a97ee17a2a93bdedd8beae29d7c4614ba29b2b4ee287de98a8120497203",
      "evidence_core_sha256": "90929a97ee17a2a93bdedd8beae29d7c4614ba29b2b4ee287de98a8120497203",
      "capability_sha256": "bee3812ca1ec8ef365c406723870e05e2e7f8baf36c0172b0401148922c0ebfe",
      "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"
  }
}
