LIVEdataset aec-bench@releasetasks 552models 18last submission · built
mechanicalwith-tool

Cstr Volume

Calculates required CSTR volume for an isothermal constant-density first-order reaction. The template uses the CSTR design relationship tau = X/(k(1-X)) and V = Q tau, while reporting outlet concentration and outlet reaction rate.

with-tool: The model is given an executable Python calculator script.

How this task is generated

One template produces many comparable benchmark tasks while keeping the scoring contract fixed.

  1. 01

    Template

    The reusable contract shown on this page.

  2. 02

    Scenario

    An archetype and site context are sampled.

  3. 03

    Difficulty tier

    Inputs may be hidden at harder tiers.

  4. 04

    Task prompt

    The model responds with the declared outputs.

Parameters

Inputs the model receives, and the outputs it is scored on.

Inputs

4 inputs

Always given

Included directly in every task prompt.

4
  • Volumetric flow

    volumetric_flow_m3_h

    Volumetric feed flow rate

    0.1 – 5000 m3/h
  • Inlet concentration

    inlet_concentration_kmol_m3

    Inlet concentration of limiting reactant

    0.01 – 20 kmol/m3
  • Required conversion pct

    required_conversion_pct

    Required reactant conversion

    5 – 95 %
  • Rate constant h inv

    rate_constant_h_inv

    First-order reaction rate constant

    0.01 – 10 1/h

Scored outputs

4 outputs

Outlet concentration kmol m3

outlet_concentration_kmol_m3

Outlet concentration at required conversion

Scores if within ±3% of the reference value.

Outlet reaction rate kmol

outlet_reaction_rate_kmol_m3_h

First-order reaction rate at CSTR outlet

Scores if within ±3% of the reference value.

Space time h

space_time_h

Required reactor space time

Scores if within ±3% of the reference value.

Required volume m3

required_volume_m3

Required CSTR volume

Scores if within ±3% of the reference value.

Difficulty

Each template is sampled at three tiers. Harder tiers may hide inputs, forcing the model to infer them from the scenario description.

All inputs remain visible at every tier

For this template, difficulty scales through parameter and scenario ranges rather than hidden information.

easy:
All parameters given for a small process CSTR
medium:
All parameters given across small and large first-order CSTRs
hard:
All parameters given for larger stirred treatment reactor sizing

Task bundle

The exact instruction and parameter contract used to generate this task, pinned to the published library source.

/workspace

  • instruction.md
  • cstr-volume_calc.py

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 continuous stirred tank 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 CSTR 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. Outlet concentration at required conversion (kmol/m3)392. Reaction rate at the CSTR outlet (kmol/m3.h)403. Required space time (h)414. Required CSTR 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 outlet concentration = C0 x (1 - X).48- Use outlet first-order reaction rate = k x outlet concentration.49- Use first-order CSTR space time tau = X / (k x (1 - X)).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 "outlet_concentration_kmol_m3": <numeric_value>,59 "outlet_reaction_rate_kmol_m3_h": <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

Scenario archetypes

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_process_reactor

Small liquid-phase process CSTR

pilot-process-skidbatch-to-continuous-conversion
Parameter ranges
volumetric_flow_m3_h
1 – 50
inlet_concentration_kmol_m3
0.1 – 3
required_conversion_pct
30 – 80
rate_constant_h_inv
0.2 – 3

Large treatment reactor

large_treatment_reactor

Large first-order stirred treatment reactor

industrial-wastewater-reactorprocess-neutralisation-train
Parameter ranges
volumetric_flow_m3_h
50 – 2000
inlet_concentration_kmol_m3
0.02 – 1
required_conversion_pct
40 – 90
rate_constant_h_inv
0.05 – 1

Example task

industrial-wastewater-reactor-large-treatment-reactor-previewhard difficulty, all inputs given.

Large first-order stirred treatment reactor. industrial-wastewater-reactor. Required outputs: outlet_concentration_kmol_m3, outlet_reaction_rate_kmol_m3_h, space_time_h, required_volume_m3

The model sees

Scenario context and visible inputs.

volumetric_flow_m3_h
50 to 2000 m3/h
inlet_concentration_kmol_m3
0.02 to 1 kmol/m3
required_conversion_pct
40 to 90 %
rate_constant_h_inv
0.05 to 1 1/h

Executable tool: cstr-volume_calc.py

The model must infer

Inputs withheld at this difficulty.

Nothing. All inputs are supplied.

The model must produce

The scored JSON answer schema.

{
  "outlet_concentration_kmol_m3": <number>,
  "outlet_reaction_rate_kmol_m3_h": <number>,
  "space_time_h": <number>,
  "required_volume_m3": <number>
}
  • outlet_concentration_kmol_m3 · scored within ±3%
  • outlet_reaction_rate_kmol_m3_h · scored within ±3%
  • space_time_h · scored within ±3%
  • required_volume_m3 · scored within ±3%