{
 "tool": "weir-orifice",
 "toolVersion": "1.1.0",
 "methods": [
  "weirs 1.2.0",
  "orifice 1.1.0"
 ],
 "commit": "ab22876",
 "date": "2026-11-04",
 "summary": "14 of 14 cases (18 values) within tolerance against Hydraulic Toolbox 5.5.3.0, Hand calculation of the published equation, FHWA HEC-22 4th ed. (2024).",
 "note": "Generated by _workspace/tools/hh_verification.mjs from the fixtures; commit = code verified.",
 "cases": [
  {
   "id": "TB-W1",
   "what": "Broad-crested weir, Q = C L H^1.5 (arithmetic check)",
   "reference": "Hydraulic Toolbox 5.5.3.0 (owner-run 2026-11-01)",
   "compared": 1,
   "maxDiff": "0.00 %",
   "pass": true
  },
  {
   "id": "TB-W3",
   "what": "90° V-notch weir, USBR equation",
   "reference": "Hydraulic Toolbox 5.5.3.0 (owner-run 2026-11-01)",
   "compared": 1,
   "maxDiff": "0.05 %",
   "pass": true
  },
  {
   "id": "ARITH-VILLEMONTE-RECT",
   "what": "Rectangular sharp-crested weir, free flow 10 cfs, H2/H 0.5",
   "reference": "Hand calculation of the published equation (published example)",
   "compared": 3,
   "maxDiff": "0.00 %",
   "pass": true
  },
  {
   "id": "ARITH-VILLEMONTE-RECT-0.9",
   "what": "Contracted rectangular weir, H2/H 0.9",
   "reference": "Hand calculation of the published equation (published example)",
   "compared": 2,
   "maxDiff": "0.00 %",
   "pass": true
  },
  {
   "id": "ARITH-VILLEMONTE-VNOTCH",
   "what": "V-notch weir, H2/H 0.5 (n 2.5)",
   "reference": "Hand calculation of the published equation (published example)",
   "compared": 2,
   "maxDiff": "0.00 %",
   "pass": true
  },
  {
   "id": "ARITH-VILLEMONTE-BROAD",
   "what": "Broad-crested weir with downstream water: refused, Villemonte is a sharp-crest relation",
   "reference": "Hand calculation of the published equation (published example)",
   "compared": 1,
   "maxDiff": "both refuse",
   "pass": true
  },
  {
   "id": "ARITH-VILLEMONTE-DROWNED",
   "what": "Downstream water at the upstream head: refused",
   "reference": "Hand calculation of the published equation (published example)",
   "compared": 1,
   "maxDiff": "both refuse",
   "pass": true
  },
  {
   "id": "HEC22-E10.9-row1",
   "what": "Vertical 1-in circular orifice, Cd 0.6, water 3.652 ft above the invert, 3 openings",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.25 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.9-row2",
   "what": "Vertical 1-in circular orifice, Cd 0.6, water 3.982 ft above the invert, 4 openings",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.75 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.9-row3",
   "what": "Vertical 1-in circular orifice, Cd 0.6, water 4.302 ft above the invert, 3 openings",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "1.58 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.10-0.7",
   "what": "Vertical 5.88-in circular orifice, Cd 0.6, water 0.7 ft above the invert",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.60 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.10-2.0",
   "what": "Vertical 5.88-in circular orifice, Cd 0.6, water 2 ft above the invert",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.13 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.10-3.3",
   "what": "Vertical 5.88-in circular orifice, Cd 0.6, water 3.3 ft above the invert",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.25 %",
   "pass": true
  },
  {
   "id": "HEC22-E10.10-6.6",
   "what": "Vertical 5.88-in circular orifice, Cd 0.6, water 6.6 ft above the invert",
   "reference": "FHWA HEC-22 4th ed. (2024) (published example)",
   "compared": 1,
   "maxDiff": "0.10 %",
   "pass": true
  }
 ]
}
