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

Srt Calculation

Calculates solids retention time for an activated sludge process from aeration basin solids inventory and daily solids losses through waste activated sludge and effluent TSS. The template reports system solids, wasted solids, effluent solids loss, total loss, and SRT.

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

6 inputs

Always given

Included directly in every task prompt.

6
  • Aeration volume

    aeration_volume_m3

    Aeration tank volume

    10 – 200000 m3
  • Mlss concentration

    mlss_concentration_mg_l

    Mixed liquor suspended solids concentration

    500 – 8000 mg/L
  • Was flow

    was_flow_m3_d

    Waste activated sludge flow rate

    1 – 50000 m3/d
  • Was tss

    was_tss_mg_l

    Waste activated sludge TSS concentration

    1000 – 20000 mg/L
  • Effluent tss

    effluent_tss_mg_l

    Effluent TSS concentration

    0 – 100 mg/L
  • Effluent flow

    effluent_flow_m3_d

    Effluent flow rate

    1 – 1000000 m3/d

Scored outputs

5 outputs

Solids in system kg

solids_in_system_kg

Mass of solids in aeration system

Scores if within ±3% of the reference value.

Solids wasted kg d

solids_wasted_kg_d

Mass of solids wasted per day

Scores if within ±3% of the reference value.

Effluent solids loss kg d

effluent_solids_loss_kg_d

Mass of solids lost in effluent per day

Scores if within ±3% of the reference value.

Total solids loss kg d

total_solids_loss_kg_d

Total daily solids loss

Scores if within ±3% of the reference value.

Srt days

srt_days

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 package activated sludge plant
medium:
All parameters given across package and municipal activated sludge systems
hard:
All parameters given for municipal activated sludge SRT checks

Task bundle

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

/workspace

  • instruction.md
  • srt-calculation_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 calculations.2 3## Problem4 5Calculate solids retention time for an activated sludge process.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Aeration volume | {{ aeration_volume_m3 }} | m3 |12| MLSS concentration | {{ mlss_concentration_mg_l }} | mg/L |13| WAS flow rate | {{ was_flow_m3_d }} | m3/d |14| WAS TSS concentration | {{ was_tss_mg_l }} | mg/L |15| Effluent TSS concentration | {{ effluent_tss_mg_l }} | mg/L |16| Effluent flow rate | {{ effluent_flow_m3_d }} | m3/d |17 18{% if archetype_description is defined %}19### Process Context20 21{{ archetype_description }}22{% endif %}23 24{% if tool_available %}25## Available Tool26 27An SRT calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:28 29```bash30python3 /workspace/{{ meta.name }}_calc.py --help31```32 33You may use this tool to verify your calculations or compute values directly.34{% endif %}35 36## Required37 38Calculate the following:39 401. Mass of solids in the aeration system (kg)412. Mass of solids wasted per day (kg/d)423. Mass of solids lost in effluent per day (kg/d)434. Total daily solids loss (kg/d)445. Solids retention time (days)45 46## Constraints47 48- No internet access is available. Work from engineering knowledge and the provided tool.49- Use solids inventory = aeration volume x MLSS / 1000.50- Use solids wasted = WAS flow x WAS TSS / 1000.51- Use effluent solids loss = effluent flow x effluent TSS / 1000.52- Use total solids loss = solids wasted + effluent solids loss.53- Use SRT = solids inventory / total solids loss.54 55## Output Format56 57Show 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:58 59```json60{61 "solids_in_system_kg": <numeric_value>,62 "solids_wasted_kg_d": <numeric_value>,63 "effluent_solids_loss_kg_d": <numeric_value>,64 "total_solids_loss_kg_d": <numeric_value>,65 "srt_days": <numeric_value>66}67```68 69Write your complete solution to `/workspace/output.md`.70

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.

Package activated sludge

package_activated_sludge

Package activated sludge plant

remote-community-wwtpindustrial-package-wwtp
Parameter ranges
aeration_volume_m3
100 – 2000
mlss_concentration_mg_l
2500 – 5000
was_flow_m3_d
5 – 300
was_tss_mg_l
6000 – 15000
effluent_tss_mg_l
5 – 30
effluent_flow_m3_d
100 – 5000

Municipal activated sludge

municipal_activated_sludge

Municipal activated sludge process

regional-wwtpurban-nutrient-removal-plant
Parameter ranges
aeration_volume_m3
2000 – 100000
mlss_concentration_mg_l
2000 – 4500
was_flow_m3_d
100 – 10000
was_tss_mg_l
5000 – 12000
effluent_tss_mg_l
3 – 20
effluent_flow_m3_d
5000 – 500000

Example task

regional-wwtp-municipal-activated-sludge-previewhard difficulty, all inputs given.

Municipal activated sludge process. regional-wwtp. Required outputs: solids_in_system_kg, solids_wasted_kg_d, effluent_solids_loss_kg_d, total_solids_loss_kg_d, srt_days

The model sees

Scenario context and visible inputs.

aeration_volume_m3
2000 to 100000 m3
mlss_concentration_mg_l
2000 to 4500 mg/L
was_flow_m3_d
100 to 10000 m3/d
was_tss_mg_l
5000 to 12000 mg/L
effluent_tss_mg_l
3 to 20 mg/L
effluent_flow_m3_d
5000 to 500000 m3/d

Executable tool: srt-calculation_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.

{
  "solids_in_system_kg": <number>,
  "solids_wasted_kg_d": <number>,
  "effluent_solids_loss_kg_d": <number>,
  "total_solids_loss_kg_d": <number>,
  "srt_days": <number>
}
  • solids_in_system_kg · scored within ±3%
  • solids_wasted_kg_d · scored within ±3%
  • effluent_solids_loss_kg_d · scored within ±3%
  • total_solids_loss_kg_d · scored within ±3%
  • srt_days · scored within ±3%