Pressure head
pressure_head_m
Suction pressure head
Scores if within ±3% of the reference value.
Calculates NPSH available from suction vessel absolute pressure, liquid level relative to the pump, suction pipe losses, fluid vapor pressure, and density. The template converts pressure terms to metres of fluid head and compares NPSHa with explicit NPSH required to report cavitation margin.
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.
Suction vessel pressure
suction_vessel_pressure_kpa_abs
Absolute pressure at the suction vessel free surface
Liquid level above pump
liquid_level_above_pump_m
Static liquid level above the pump centreline
Suction pipe losses
suction_pipe_losses_kpa
Suction-side friction and minor losses
Vapor pressure
vapor_pressure_kpa_abs
Fluid vapor pressure at operating temperature
Fluid density
fluid_density_kg_m3
Fluid density
Npsh required
npsh_required_m
Pump manufacturer's NPSH required
6 outputs
pressure_head_m
Suction pressure head
Scores if within ±3% of the reference value.
vapor_pressure_head_m
Vapor pressure head
Scores if within ±3% of the reference value.
loss_head_m
Suction loss head
Scores if within ±3% of the reference value.
npsh_available_m
Net Positive Suction Head Available
Scores if within ±3% of the reference value.
cavitation_margin_m
NPSHa minus NPSH required
Scores if within ±3% of the reference value.
margin_ratio
NPSHa divided by NPSH required
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.
For this template, difficulty scales through parameter and scenario ranges rather than hidden information.
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 mechanical engineer specializing in pump hydraulics.2 3## Problem4 5Calculate Net Positive Suction Head Available at a pump inlet and compare it with the pump NPSH required.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Suction vessel pressure | {{ suction_vessel_pressure_kpa_abs }} | kPa abs |12| Liquid level above pump centreline | {{ liquid_level_above_pump_m }} | m |13| Suction pipe losses | {{ suction_pipe_losses_kpa }} | kPa |14| Fluid vapor pressure | {{ vapor_pressure_kpa_abs }} | kPa abs |15| Fluid density | {{ fluid_density_kg_m3 }} | kg/m3 |16| NPSH required | {{ npsh_required_m }} | m |17 18{% if archetype_description is defined %}19### Pump Suction Context20 21{{ archetype_description }}22{% endif %}23 24{% if tool_available %}25## Available Tool26 27An NPSH calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:28 29```bash30python3 /workspace/{{ meta.name }}_calc.py --help31```32 33You may use this tool to verify your calculations or compute values directly.34{% endif %}35 36## Required37 38Calculate the following:39 401. Suction pressure head (m)412. Vapor pressure head (m)423. Suction loss head (m)434. NPSH available (m)445. Cavitation margin (m)456. Margin ratio NPSHa/NPSHr46 47## Constraints48 49- No internet access is available. Work from engineering knowledge and the provided tool.50- Use g = 9.81 m/s2.51- Convert pressure in kPa to head in metres of fluid using head = pressure x 1000 / (density x g).52- Use NPSHa = pressure head + static level - vapor pressure head - loss head.53- Use cavitation margin = NPSHa - NPSH required.54- Use margin ratio = NPSHa / NPSH required.55 56## Output Format57 58Show your step-by-step working in Markdown. At the end of your solution, include a JSON block with your final answers in exactly this format:59 60```json61{62 "pressure_head_m": <numeric_value>,63 "vapor_pressure_head_m": <numeric_value>,64 "loss_head_m": <numeric_value>,65 "npsh_available_m": <numeric_value>,66 "cavitation_margin_m": <numeric_value>,67 "margin_ratio": <numeric_value>68}69```70 71Write your complete solution to `/workspace/output.md`.72 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.
flooded_water_suction
Flooded suction water pump with atmospheric vented tank
hot_process_liquid
Hot process liquid suction with elevated vapor pressure
pressurised_suction_vessel
Pump drawing from a pressurised suction vessel
industrial-process-skid-hot-process-liquid-preview — hard difficulty, all inputs given.
Hot process liquid suction with elevated vapor pressure. industrial-process-skid. Required outputs: pressure_head_m, vapor_pressure_head_m, loss_head_m, npsh_available_m, cavitation_margin_m, margin_ratio
Scenario context and visible inputs.
Executable tool: npsh-available_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"pressure_head_m": <number>,
"vapor_pressure_head_m": <number>,
"loss_head_m": <number>,
"npsh_available_m": <number>,
"cavitation_margin_m": <number>,
"margin_ratio": <number>
}