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

Nitrification Srt

Calculates required solids retention time for nitrification using temperature-corrected nitrifier growth with ammonia and dissolved oxygen limitation factors. The template reports growth factors, net growth rate, and the design SRT implied by a selected safety factor.

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

9 inputs

Always given

Included directly in every task prompt.

9
Show 9 inputs
  • Max specific growth d

    max_specific_growth_d

    Maximum specific nitrifier growth rate at 20 C

    0.1 – 2 1/d
  • Theta

    theta

    Temperature correction coefficient

    1.01 – 1.15
  • Wastewater temperature c

    wastewater_temperature_c

    Wastewater temperature

    5 – 35 deg C
  • Ammonia n

    ammonia_n_mg_l

    Ammonia nitrogen concentration

    0.1 – 80 mg/L
  • Half saturation n

    half_saturation_n_mg_l

    Ammonia half-saturation coefficient

    0.05 – 5 mg/L
  • Dissolved oxygen

    dissolved_oxygen_mg_l

    Dissolved oxygen concentration

    0.1 – 8 mg/L
  • Oxygen half saturation

    oxygen_half_saturation_mg_l

    Oxygen half-saturation coefficient

    0.05 – 2 mg/L
  • Decay rate d

    decay_rate_d

    Nitrifier decay rate

    0 – 0.2 1/d
  • Safety factor

    safety_factor

    SRT safety factor

    1 – 4

Scored outputs

5 outputs

Temperature corrected growth d

temperature_corrected_growth_d

Temperature-corrected maximum growth rate

Scores if within ±3% of the reference value.

Substrate factor

substrate_factor

Ammonia substrate limitation factor

Scores if within ±3% of the reference value.

Oxygen factor

oxygen_factor

Dissolved oxygen limitation factor

Scores if within ±3% of the reference value.

Net growth d

net_growth_d

Net nitrifier growth rate

Scores if within ±3% of the reference value.

Required srt days

required_srt_days

Required solids retention time

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 municipal plant
medium:
All parameters given across nitrification checks
hard:
All parameters given for cool-weather nitrification

Task bundle

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

/workspace

  • instruction.md
  • nitrification-srt_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 wastewater treatment process design.2 3## Task4 5Calculate the required solids retention time for nitrification in {{ site_context }}.6 7## Given8 9| Parameter | Value | Unit |10| --- | ---: | --- |11| Maximum specific nitrifier growth rate at 20 C | {{ max_specific_growth_d }} | 1/d |12| Temperature correction coefficient | {{ theta }} | - |13| Wastewater temperature | {{ wastewater_temperature_c }} | deg C |14| Ammonia nitrogen concentration | {{ ammonia_n_mg_l }} | mg/L |15| Ammonia half-saturation coefficient | {{ half_saturation_n_mg_l }} | mg/L |16| Dissolved oxygen concentration | {{ dissolved_oxygen_mg_l }} | mg/L |17| Oxygen half-saturation coefficient | {{ oxygen_half_saturation_mg_l }} | mg/L |18| Nitrifier decay rate | {{ decay_rate_d }} | 1/d |19| SRT safety factor | {{ safety_factor }} | - |20 21## Constraints22 23- No internet access is available.24- Use `mu_T = mu_20 * theta^(T - 20)`.25- Use `N / (K_N + N)` for the ammonia substrate factor.26- Use `DO / (K_DO + DO)` for the dissolved oxygen factor.27- Use `net growth = mu_T * substrate factor * oxygen factor - decay rate`.28- Use `required SRT = safety factor / net growth`.29 30{% if tool_available %}31## Available Tool32 33A calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:34 35```bash36python3 /workspace/{{ meta.name }}_calc.py --help37```38 39You may use this tool to verify your calculations or compute values directly.40{% endif %}41 42## Required43 44Calculate:45 46- Temperature-corrected maximum growth rate (`temperature_corrected_growth_d`)47- Ammonia substrate limitation factor (`substrate_factor`)48- Dissolved oxygen limitation factor (`oxygen_factor`)49- Net nitrifier growth rate (`net_growth_d`)50- Required solids retention time (`required_srt_days`)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 "temperature_corrected_growth_d": <numeric_value>,59 "substrate_factor": <numeric_value>,60 "oxygen_factor": <numeric_value>,61 "net_growth_d": <numeric_value>,62 "required_srt_days": <numeric_value>63}64```65 66Write your complete solution to `/workspace/output.md`.67

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.

Municipal plant

municipal_plant

Municipal wastewater nitrification SRT check

municipal-activated-sludgesecondary-treatment
Parameter ranges
max_specific_growth_d
0.6 – 1.2
theta
1.05 – 1.1
wastewater_temperature_c
12 – 25
ammonia_n_mg_l
2 – 40
half_saturation_n_mg_l
0.5 – 2
dissolved_oxygen_mg_l
1.5 – 4
oxygen_half_saturation_mg_l
0.3 – 1
decay_rate_d
0.03 – 0.1
safety_factor
1.2 – 2.5

Cool weather upgrade

cool_weather_upgrade

Cool-weather nitrification upgrade check

winter-nitrificationplant-upgrade
Parameter ranges
max_specific_growth_d
0.8 – 1.4
theta
1.06 – 1.12
wastewater_temperature_c
8 – 16
ammonia_n_mg_l
5 – 50
half_saturation_n_mg_l
0.5 – 1.5
dissolved_oxygen_mg_l
2 – 5
oxygen_half_saturation_mg_l
0.3 – 0.8
decay_rate_d
0.02 – 0.08
safety_factor
1.5 – 3

Example task

winter-nitrification-cool-weather-upgrade-previewhard difficulty, all inputs given.

Cool-weather nitrification upgrade check. winter-nitrification. Required outputs: temperature_corrected_growth_d, substrate_factor, oxygen_factor, net_growth_d, required_srt_days

The model sees

Scenario context and visible inputs.

max_specific_growth_d
0.8 to 1.4 1/d
theta
1.06 to 1.12
wastewater_temperature_c
8 to 16 deg C
ammonia_n_mg_l
5 to 50 mg/L
half_saturation_n_mg_l
0.5 to 1.5 mg/L
dissolved_oxygen_mg_l
2 to 5 mg/L
oxygen_half_saturation_mg_l
0.3 to 0.8 mg/L
decay_rate_d
0.02 to 0.08 1/d
safety_factor
1.5 to 3

Executable tool: nitrification-srt_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.

{
  "temperature_corrected_growth_d": <number>,
  "substrate_factor": <number>,
  "oxygen_factor": <number>,
  "net_growth_d": <number>,
  "required_srt_days": <number>
}
  • temperature_corrected_growth_d · scored within ±3%
  • substrate_factor · scored within ±3%
  • oxygen_factor · scored within ±3%
  • net_growth_d · scored within ±3%
  • required_srt_days · scored within ±3%