Speed ratio
speed_ratio
Speed ratio N2/N1
Scores if within ±3% of the reference value.
Calculates the new flow rate, head, and power draw for the same pump operating at a different rotational speed. The template applies the standard pump affinity laws Q2 = Q1(N2/N1), H2 = H1(N2/N1)^2, and P2 = P1(N2/N1)^3 for deterministic variable-speed pump checks.
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.
5 inputs
Included directly in every task prompt.
Original speed
original_speed_rpm
Original pump rotational speed N1
New speed
new_speed_rpm
New pump rotational speed N2
Original flow
original_flow_l_s
Original pump flow rate Q1
Original head
original_head_m
Original pump total head H1
Original power
original_power_kw
Original pump power P1
4 outputs
speed_ratio
Speed ratio N2/N1
Scores if within ±3% of the reference value.
new_flow_l_s
New flow rate Q2
Scores if within ±3% of the reference value.
new_head_m
New total head H2
Scores if within ±3% of the reference value.
new_power_kw
New pump power P2
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 systems.2 3## Problem4 5Apply the pump affinity laws to estimate the same pump's performance at a new rotational speed.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Original speed N1 | {{ original_speed_rpm }} | rpm |12| New speed N2 | {{ new_speed_rpm }} | rpm |13| Original flow Q1 | {{ original_flow_l_s }} | L/s |14| Original head H1 | {{ original_head_m }} | m |15| Original power P1 | {{ original_power_kw }} | kW |16 17{% if archetype_description is defined %}18### Operating Context19 20{{ archetype_description }}21{% endif %}22 23{% if tool_available %}24## Available Tool25 26A pump affinity law calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:27 28```bash29python3 /workspace/{{ meta.name }}_calc.py --help30```31 32You may use this tool to verify your calculations or compute values directly.33{% endif %}34 35## Required36 37Calculate the following:38 391. Speed ratio N2/N1402. New flow rate Q2 (L/s)413. New total head H2 (m)424. New pump power P2 (kW)43 44## Constraints45 46- No internet access is available. Work from engineering knowledge and the provided tool.47- Assume the same pump geometry, the same fluid, dynamically similar operation, and no cavitation limitation.48- Use Q2 = Q1 x (N2/N1).49- Use H2 = H1 x (N2/N1)^2.50- Use P2 = P1 x (N2/N1)^3.51 52## Output Format53 54Show 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:55 56```json57{58 "speed_ratio": <numeric_value>,59 "new_flow_l_s": <numeric_value>,60 "new_head_m": <numeric_value>,61 "new_power_kw": <numeric_value>62}63```64 65Write your complete solution to `/workspace/output.md`.66 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.
small_booster_speed_reduction
Small booster pump slowed for low-demand operation
transfer_pump_speed_increase
Transfer pump checked for a moderate speed increase
large_station_trim
Large pump station trimmed to match a lower duty point
regional-water-transfer-transfer-pump-speed-increase-preview — hard difficulty, all inputs given.
Transfer pump checked for a moderate speed increase. regional-water-transfer. Required outputs: speed_ratio, new_flow_l_s, new_head_m, new_power_kw
Scenario context and visible inputs.
Executable tool: pump-affinity-laws_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"speed_ratio": <number>,
"new_flow_l_s": <number>,
"new_head_m": <number>,
"new_power_kw": <number>
}