LIVEdataset releasetasks 552models 18last submission · built
task library
built templatepipe-sizing-waterwith-tool

Pressure Loss Calculation

Calculates water pipe pressure loss using the Hazen-Williams equation for straight-pipe friction and a total K value for fittings and valves. The template reports pipe velocity, friction loss, fitting loss, and total pressure loss in kPa.

inputs

6 fields

context

2 archetypes

engine

with-tool

outputs

4 scored fields

contract fields

Parameter Map

6 inputs to 4 scored outputs

  • flow_rate_l_s

    float

    Water flow rate

    0.01 to 1000L/s
  • pipe_internal_diameter_mm

    float

    Internal pipe diameter

    10 to 1000mm
  • pipe_length_m

    float

    Pipe length

    0.1 to 5000m
  • hazen_williams_c

    float

    Hazen-Williams roughness coefficient

    40 to 160
  • total_fitting_k

    float

    Total fitting and valve K value

    0 to 100
  • fluid_density_kg_m3

    float

    Fluid density

    900 to 1200kg/m3
velocity_m_stol 0.03

Pipe flow velocity

friction_loss_kpatol 0.03

Straight-pipe friction pressure loss

fitting_loss_kpatol 0.03

Fitting and valve pressure loss

total_pressure_loss_kpatol 0.03

Total pipe pressure loss

visibility contract

Difficulty Ladder

all_giveneasy

All parameters given for a building water service

all fields visible
all_givenmedium

All parameters given across water pipe contexts

all fields visible
all_givenhard

All parameters given for a site water main

all fields visible

scenario bands

Archetype Atlas

building_water_service

2 contexts

Building water service pressure-loss check

flow_rate_l_s0.5 to 50
pipe_internal_diameter_mm25 to 150
pipe_length_m5 to 200
hazen_williams_c100 to 150

building-water-service / domestic-water-riser

site_water_main

2 contexts

Site water main pressure-loss check

flow_rate_l_s10 to 300
pipe_internal_diameter_mm100 to 600
pipe_length_m50 to 1500
hazen_williams_c100 to 150

site-water-main / campus-water-ring-main

rendered task

Generation Preview

site-water-main-site-water-main-preview

difficulty
hard
visibility
all_given
archetype
site_water_main
site context
site-water-main
instruction excerptpressure-loss-calculation_calc.py

visible fields

  • flow_rate_l_s10 to 300 L/s
  • pipe_internal_diameter_mm100 to 600 mm
  • pipe_length_m50 to 1500 m
  • hazen_williams_c100 to 150
  • total_fitting_k1 to 20
  • fluid_density_kg_m3990 to 1030 kg/m3

withheld schema

velocity_m_sfriction_loss_kpafitting_loss_kpatotal_pressure_loss_kpa
Site water main pressure-loss check. site-water-main. Required outputs: velocity_m_s, friction_loss_kpa, fitting_loss_kpa, total_pressure_loss_kpa