Pressure drop bar
pressure_drop_bar
Actual pressure drop across the valve (bar)
Scores if within ±3% of the reference value.
Sizes control valves for incompressible liquid service by computing the required flow coefficient Cv from the ISA-75.01.01 equation Kv = Q * sqrt(SG / deltaP_eff), with Cv = 1.156 * Kv. Checks for choked (cavitating) flow using the liquid pressure recovery factor FL and critical pressure ratio factor FF, essential for process control and piping system design.
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.
7 inputs
Included directly in every task prompt.
Flow rate
flow_rate_m3_h
Volumetric flow rate through the valve
Upstream pressure
upstream_pressure_bar
Upstream pressure (P1) at valve inlet
Downstream pressure
downstream_pressure_bar
Downstream pressure (P2) at valve outlet
Sampled from the scenario and inferable from its description.
Fluid specific gravity
fluid_specific_gravity
Fluid specific gravity relative to water at 15°C
Derived from the archetype scenario. Hidden at hard difficulty.
Fluid vapor pressure
fluid_vapor_pressure_bar
Fluid vapor pressure at operating temperature
Derived from the archetype scenario. Hidden at hard difficulty.
Fluid critical pressure
fluid_critical_pressure_bar
Fluid thermodynamic critical pressure
Derived from the archetype scenario. Hidden at hard difficulty.
Fl recovery factor
fl_recovery_factor
Liquid pressure recovery factor FL of the valve
Derived from the archetype scenario. Hidden at hard difficulty.
4 outputs
pressure_drop_bar
Actual pressure drop across the valve (bar)
Scores if within ±3% of the reference value.
cv_required
Required valve flow coefficient Cv
Scores if within ±3% of the reference value.
choked_pressure_drop_bar
Choked (limiting) pressure drop (bar)
Scores if within ±3% of the reference value.
is_choked
Choked flow indicator (1.0 = choked, 0.0 = not choked)
Scores if within ±1% 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
Water service, moderate pressures, all parameters given, non-choked conditions
Fl recovery factor restricted to: {'min': 0.85, 'max': 0.95}
All inputs given
Any fluid type and pressure range, all parameters given
Some inputs hidden
Fluid properties and valve FL hidden, agent must infer from process context
Hidden inputs
Prompt replacement text
The process involves {{ archetype.description }} at a {{ archetype.site_context }} facility
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 instrumentation and controls engineer specializing in control valve sizing for process plants.2 3## Problem4 5Calculate the required flow coefficient (Cv) for a control valve in incompressible liquid service using the ISA-75.01.01 / IEC 60534-2-1 sizing method. Determine whether the flow is choked (cavitating).6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Volumetric flow rate (Q) | {{ flow_rate_m3_h }} | m³/h |12| Upstream pressure (P1) | {{ upstream_pressure_bar }} | bar |13| Downstream pressure (P2) | {{ downstream_pressure_bar }} | bar |14{% if fluid_specific_gravity is defined %}15| Fluid specific gravity (SG) | {{ fluid_specific_gravity }} | - |16{% endif %}17{% if fluid_vapor_pressure_bar is defined %}18| Fluid vapor pressure (Pv) | {{ fluid_vapor_pressure_bar }} | bar |19{% endif %}20{% if fluid_critical_pressure_bar is defined %}21| Fluid critical pressure (Pc) | {{ fluid_critical_pressure_bar }} | bar |22{% endif %}23{% if fl_recovery_factor is defined %}24| Liquid pressure recovery factor (FL) | {{ fl_recovery_factor }} | - |25{% endif %}26{% if archetype_description is defined %}27 28### Process Context29 30{{ archetype_description }}31{% endif %}32 33{% if tool_available %}34## Available Tool35 36A control valve sizing tool is available at `/workspace/cv-liquid-incompressible_calc.py`. Run it with:37 38```bash39python3 /workspace/cv-liquid-incompressible_calc.py --help40```41 42You may use this tool to verify your calculations or compute values directly.43{% endif %}44 45## Required46 47Calculate the following:48 491. Actual pressure drop across the valve (bar)502. Required valve flow coefficient Cv513. Choked (limiting) pressure drop (bar)524. Whether the flow is choked (1.0 = choked, 0.0 = not choked)53 54## Applicable Standards55 56- ISA-75.01.01 — Industrial-Process Control Valves, Flow capacity sizing equations57- IEC 60534-2-1 — Industrial-process control valves, Part 2-1: Flow capacity58 59## Constraints60 61- No internet access is available. Work from engineering knowledge and the provided tool.62- Use the ISA-75.01.01 sizing method for incompressible liquids without attached fittings (Fp = 1):63 - **Actual pressure drop:** deltaP = P1 - P264 - **Critical pressure ratio factor:** FF = 0.96 - 0.28 * sqrt(Pv / Pc)65 - **Choked pressure drop:** deltaP_choked = FL² × (P1 - FF × Pv)66 - **Effective pressure drop:** deltaP_eff = min(deltaP, deltaP_choked)67 - **Choked flow check:** if deltaP >= deltaP_choked, the flow is choked68 - **Metric flow coefficient:** Kv = Q × sqrt(SG / deltaP_eff), where Q in m³/h, deltaP_eff in bar69 - **US flow coefficient:** Cv = 1.156 × Kv70- All pressures are absolute (bar). Specific gravity is dimensionless relative to water at 15°C.71 72## Output Format73 74Show your step-by-step working in Markdown, including the choked flow check, effective pressure drop selection, and Cv calculation. At the end of your solution, include a JSON block with your final answers in exactly this format:75 76```json77{78 "pressure_drop_bar": <numeric_value>,79 "cv_required": <numeric_value>,80 "choked_pressure_drop_bar": <numeric_value>,81 "is_choked": <1.0_or_0.0>82}83```84 85Write your complete solution to `/workspace/output.md`.86 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.
water_utility
Water utility service — clean water, low pressure
petrochemical_light
Petrochemical light hydrocarbon liquid service
chemical_process
Chemical process — moderate-density process liquid
high_pressure_oil
High-pressure oil or heavy hydrocarbon service
refinery-distillation-unit-petrochemical-light-preview — hard difficulty, some inputs hidden.
Petrochemical light hydrocarbon liquid service. refinery-distillation-unit. Required outputs: pressure_drop_bar, cv_required, choked_pressure_drop_bar, is_choked
Scenario context and visible inputs.
Executable tool: cv-liquid-incompressible_calc.py
Inputs withheld at this difficulty.
Fluid specific gravity
fluid_specific_gravity
Fluid vapor pressure bar
fluid_vapor_pressure_bar
Fluid critical pressure bar
fluid_critical_pressure_bar
Fl recovery factor
fl_recovery_factor
Stand-in text in the prompt
The process involves {{ archetype.description }} at a {{ archetype.site_context }} facility
The scored JSON answer schema.
{
"pressure_drop_bar": <number>,
"cv_required": <number>,
"choked_pressure_drop_bar": <number>,
"is_choked": <number>
}