Molar feed kmol h
molar_feed_kmol_h
Molar feed rate of limiting reactant
Scores if within ±3% of the reference value.
Calculates required plug flow reactor volume for an isothermal constant-density first-order reaction. The template uses tau = -ln(1-X)/k and V = Q tau, while also reporting molar feed and outlet concentration for deterministic reactor sizing checks.
with-tool: The model is given an executable Python calculator script.
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.
4 inputs
Included directly in every task prompt.
Volumetric flow
volumetric_flow_m3_h
Volumetric feed flow rate
Inlet concentration
inlet_concentration_kmol_m3
Inlet concentration of limiting reactant
Required conversion pct
required_conversion_pct
Required reactant conversion
Rate constant h inv
rate_constant_h_inv
First-order reaction rate constant
4 outputs
molar_feed_kmol_h
Molar feed rate of limiting reactant
Scores if within ±3% of the reference value.
outlet_concentration_kmol_m3
Outlet concentration at required conversion
Scores if within ±3% of the reference value.
space_time_h
Required reactor space time
Scores if within ±3% of the reference value.
required_volume_m3
Required plug flow reactor volume
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 process reactor sizing.2 3## Problem4 5Calculate required plug flow reactor volume for an isothermal constant-density first-order reaction.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Volumetric flow rate Q | {{ volumetric_flow_m3_h }} | m3/h |12| Inlet concentration C0 | {{ inlet_concentration_kmol_m3 }} | kmol/m3 |13| Required conversion X | {{ required_conversion_pct }} | % |14| First-order rate constant k | {{ rate_constant_h_inv }} | 1/h |15 16{% if archetype_description is defined %}17### Reactor Context18 19{{ archetype_description }}20{% endif %}21 22{% if tool_available %}23## Available Tool24 25A PFR sizing calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:26 27```bash28python3 /workspace/{{ meta.name }}_calc.py --help29```30 31You may use this tool to verify your calculations or compute values directly.32{% endif %}33 34## Required35 36Calculate the following:37 381. Molar feed rate of limiting reactant (kmol/h)392. Outlet concentration at required conversion (kmol/m3)403. Required space time (h)414. Required plug flow reactor volume (m3)42 43## Constraints44 45- No internet access is available. Work from engineering knowledge and the provided tool.46- Convert percent conversion to decimal conversion X.47- Use molar feed = Q x C0.48- Use outlet concentration = C0 x (1 - X).49- Use first-order PFR space time tau = -ln(1 - X) / k.50- Use required volume = Q x tau.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 "molar_feed_kmol_h": <numeric_value>,59 "outlet_concentration_kmol_m3": <numeric_value>,60 "space_time_h": <numeric_value>,61 "required_volume_m3": <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_process_reactor
Small liquid-phase process PFR
large_treatment_reactor
Large first-order treatment reactor
industrial-wastewater-reactor-large-treatment-reactor-preview — hard difficulty, all inputs given.
Large first-order treatment reactor. industrial-wastewater-reactor. Required outputs: molar_feed_kmol_h, outlet_concentration_kmol_m3, space_time_h, required_volume_m3
Scenario context and visible inputs.
Executable tool: pfr-volume_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"molar_feed_kmol_h": <number>,
"outlet_concentration_kmol_m3": <number>,
"space_time_h": <number>,
"required_volume_m3": <number>
}