Verified calculation capability
Thin-plate weir discharge. Rectangular Q=(2/3) C_d L √(2g) H^{3/2}. Triangular Q=(8/15) C_d √(2g) tan(θ/2) H^{5/2}. Not Manning, not Q=Av, not Darcy, not an orifice, not Francis contractions. · Physics · Fluid
Capability ID physics.fluid.weir · version 1.0.0
Rectangular
Q = (2/3) C_d L √(2g) H^{3/2}Q = (8/15) C_d √(2g) tan(θ/2) H^{5/2}Solve modes: rectangular · triangular
Canonical symbols for this capability. Agent schemas remain the contract.
| Symbol | Quantity | Unit | Role |
|---|---|---|---|
H | Upstream head above the crest in m. Give H or Q, not both. | — | input / output |
Q | Discharge in m³/s. Give H or Q, not both. | — | input / output |
L | Crest length in m. Required for rectangular. | — | input / output |
theta_deg | V-notch angle in degrees. Default 90. Alternative: theta_rad. Do not send both. | — | input / output |
theta_rad | V-notch angle in radians. Alternative: theta_deg. Do not send both. | — | input |
Cd | Discharge coefficient. Default 0.62 rectangular, 0.58 triangular. Francis 3.33 is out of scope. | — | input / output |
g | Gravity in m/s². Default 9.80665. | — | input / output |
model | — | — | output |
Declared scope for this capability. Do not use it outside this domain.
Assumptions
Not supported
One numerical check. The calculator page holds worked steps and FAQ.
L=1 H=0.2 → Q=(2/3)(0.62)(1)√(2g) H^{3/2}
Review-policy: engine tested — automated tests, sources, version lock, and evidence published. Supplemental to CVP; not Domain Expert Review. See CVP and Review policy.
Human page, REST, and MCP share the same engine and calculation_version.
Build verified hashes workspace artifacts only. After deploy, attest:production GETs canonical URLs twice — the public/cached view an Agent actually hits, and origin — including every /capabilities/{id} HTML page. Public Capability HTML version must match catalog before production attestation passes. Live Trust rows above fetch /.well-known/calculatorx-production-attestation.json
and the output schema const. Build hashes: release integrity. That proves currently published page / engine / schema / evidence / MCP agree — not that a historical version is independently immutable. Reference Calculation Standard — Production surface contract 3/3.
Human-readable sources plus CVP reference evidence classes.
Sources
Inspect this capability via same-origin MCP, then call execute_calculation.
curl -sS -X POST 'https://www.calculatorx.com/mcp' \
-H 'Content-Type: application/json' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/call' \
-H 'Mcp-Name: inspect_capability' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"inspect_capability","arguments":{"capability_id":"physics.fluid.weir"}}}'
Inspect the trust tier and required assurance level before execution. Pin calculation_version (1.0.0) when reproducibility matters. Full protocol notes: MCP docs.