calculate_water_pressure_loss
Calculate water pressure loss in a pipe circuit accounting for friction and elevation. Input pipe length, diameter, flow rate, elevation change, and fittings to get equivalent length for pipe sizing or pump selection.
Instructions
Calculate water pressure loss in a pipe circuit including friction and elevation. Returns: {equiv_length_m}. See list_bundles for related 'plomberie' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipe_length_m | Yes | Pipe length in meters | |
| diameter_mm | Yes | Pipe internal diameter in millimeters | |
| flow_rate_lpm | Yes | Flow rate in liters per minute | |
| elevation_change_m | No | Elevation change in meters (positive = uphill, negative = downhill) | |
| fittings_count | No | Number of fittings and elbows (each adds ~0.5m equivalent length) |
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. |