calculate_pipe_flow_rate
Calculate water flow rate through a pipe based on diameter, length, pressure, and material. Uses the Hazen-Williams formula for accurate sizing in plumbing and irrigation systems.
Instructions
Calculate water flow rate through a pipe using the Hazen-Williams formula. Returns: {C_coefficient}. See list_bundles for related 'plomberie' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diameter_mm | Yes | Pipe internal diameter in millimeters | |
| pressure_bar | No | Available water pressure in bar (default 3 bar) | |
| length_m | Yes | Pipe length in meters | |
| material | Yes | Pipe material (affects Hazen-Williams C coefficient) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |