Pressure head
pressure_head_m
Net pressure head contribution (P_atm - P_vap) / (rho * g) (m)
Scores if within ±3% of the reference value.
Calculates the Net Positive Suction Head Available (NPSHa) at a pump inlet from atmospheric pressure, vapour pressure, static suction head, and friction losses using the Hydraulics Institute formula NPSHa = (P_atm - P_vap)/(rho*g) + h_s - h_f. Determines the NPSH margin and margin ratio against the pump's required NPSHr to verify cavitation-free operation per ANSI/HI 9.6.1.
with-tool: The model is given an executable Python calculator script.
Standards
One template produces many comparable benchmark tasks while keeping the scoring contract fixed.
01
The reusable contract shown on this page.
02
An archetype and site context are sampled.
03
Inputs may be hidden at harder tiers.
04
The model responds with the declared outputs.
Inputs the model receives, and the outputs it is scored on.
6 inputs
Included directly in every task prompt.
Atmospheric pressure
atmospheric_pressure_kpa
Atmospheric pressure at the site elevation
Static suction head
static_suction_head_m
Static suction head (positive = pump below liquid surface, negative = pump above)
Friction loss
friction_loss_m
Total friction losses in the suction piping
Npsh required
npsh_required_m
NPSH required by the pump (from manufacturer data)
Sampled from the scenario and inferable from its description.
Vapour pressure
vapour_pressure_kpa
Vapour pressure of the fluid at pumping temperature
Derived from the archetype scenario. Hidden at hard difficulty.
Specific gravity
specific_gravity
Specific gravity of the fluid relative to water
Derived from the archetype scenario. Hidden at hard difficulty.
4 outputs
pressure_head_m
Net pressure head contribution (P_atm - P_vap) / (rho * g) (m)
Scores if within ±3% of the reference value.
npsh_available_m
Net Positive Suction Head Available NPSHa (m)
Scores if within ±3% of the reference value.
npsh_margin_m
NPSH margin: NPSHa - NPSHr (m)
Scores if within ±3% of the reference value.
npsh_margin_ratio
NPSH margin ratio: NPSHa / NPSHr (dimensionless)
Scores if within ±3% of the reference value.
Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.
All inputs given
All parameters given, flooded suction or elevated tank with comfortable NPSH margin
All inputs given
All parameters given, any suction arrangement including suction lift and high-temperature
Some inputs hidden
Vapour pressure and specific gravity hidden, agent must infer from fluid type and temperature
Hidden inputs
Prompt replacement text
The pump station is a {{ archetype.description }} ({{ archetype.site_context }})
The exact instruction and parameter contract used to generate this task, pinned to the published library source.
/workspace
Teal lines show Jinja input conditions, not task visibility policy. A line renders only when that input or tool is visible.
1You are a senior civil engineer specializing in water infrastructure and pump station design.2 3## Problem4 5Calculate the Net Positive Suction Head Available (NPSHa) for a pump station suction system. Determine the pressure head, NPSHa, NPSH margin, and margin ratio to assess whether the pump will operate without cavitation.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Atmospheric pressure (P_atm) | {{ atmospheric_pressure_kpa }} | kPa |12{%- if vapour_pressure_kpa is defined %}13| Vapour pressure (P_vap) | {{ vapour_pressure_kpa }} | kPa |14{%- endif %}15{%- if specific_gravity is defined %}16| Specific gravity (SG) | {{ specific_gravity }} | - |17{%- endif %}18| Static suction head (h_s) | {{ static_suction_head_m }} | m |19| Friction losses (h_f) | {{ friction_loss_m }} | m |20| NPSH required (NPSHr) | {{ npsh_required_m }} | m |21{% if archetype_description is defined %}22 23### Site Conditions24 25{{ archetype_description }}26{% endif %}27 28{% if tool_available %}29## Available Tool30 31A NPSH calculation tool is available at `/workspace/npsh-calculation_calc.py`. Run it with:32 33```bash34python3 /workspace/npsh-calculation_calc.py --help35```36 37You may use this tool to verify your calculations or compute values directly.38{% endif %}39 40## Required41 42Calculate the following:43 441. Net pressure head contribution (P_atm - P_vap) / (rho x g) in metres452. NPSHa -- Net Positive Suction Head Available (m)463. NPSH margin: NPSHa - NPSHr (m)474. NPSH margin ratio: NPSHa / NPSHr (dimensionless)48 49## Applicable Standards50 51- Hydraulics Institute -- pump NPSH definitions and methodology52- ANSI/HI 9.6.1 -- NPSH margin guideline (recommends margin ratio > 1.35)53 54## Constraints55 56- No internet access is available. Work from engineering knowledge and the provided tool.57- Use the following formulas:58 - Fluid density: rho = 998 x SG (kg/m^3)59 - Pressure head: h_p = (P_atm - P_vap) x 1000 / (rho x g) where pressures are in kPa, converted to Pa by multiplying by 100060 - NPSHa = h_p + h_s - h_f61 - NPSH margin = NPSHa - NPSHr62 - Margin ratio = NPSHa / NPSHr63- Physical constants: g = 9.81 m/s^2, rho_water = 998 kg/m^364- Static suction head h_s is positive when the pump is below the liquid surface (flooded suction) and negative when the pump is above the liquid surface (suction lift)65- If vapour pressure or specific gravity is not provided, estimate from the site description, fluid type, and temperature66 67## Output Format68 69Show your step-by-step working in Markdown, including the density calculation, pressure head calculation, NPSHa calculation, and margin assessment. At the end of your solution, include a JSON block with your final answers in exactly this format:70 71```json72{73 "pressure_head_m": <numeric_value>,74 "npsh_available_m": <numeric_value>,75 "npsh_margin_m": <numeric_value>,76 "npsh_margin_ratio": <numeric_value>77}78```79 80Write your complete solution to `/workspace/output.md`.81 Each generated task is drawn from one of these realistic scenario bands.
Site contexts ground each scenario in a real locale the model can use to infer hidden values.
wet_well_flooded
Wet well pump station with flooded suction (submersible or dry-pit pump below water level)
dry_well_suction_lift
Dry well pump station with suction lift (pump above liquid level, negative suction head)
elevated_tank_feed
Pump fed from elevated storage tank with generous static head and long suction pipe
high_temp_process
High-temperature industrial process pump handling warm fluid with elevated vapour pressure
brisbane-sewage-wet-well-wet-well-flooded-preview — hard difficulty, some inputs hidden.
Wet well pump station with flooded suction (submersible or dry-pit pump below water level). brisbane-sewage-wet-well. Required outputs: pressure_head_m, npsh_available_m, npsh_margin_m, npsh_margin_ratio
Scenario context and visible inputs.
Executable tool: npsh-calculation_calc.py
Inputs withheld at this difficulty.
Specific gravity
specific_gravity
Vapour pressure
vapour_pressure_kpa
Stand-in text in the prompt
The pump station is a {{ archetype.description }} ({{ archetype.site_context }})
The scored JSON answer schema.
{
"pressure_head_m": <number>,
"npsh_available_m": <number>,
"npsh_margin_m": <number>,
"npsh_margin_ratio": <number>
}