Bod removed kg d
bod_removed_kg_d
BOD removed
Scores if within ±3% of the reference value.
Estimates activated sludge production from BOD removal, observed biological yield, solids decay, primary TSS capture, and VSS-to-TSS conversion. The template reports BOD removed, observed yield, biomass VSS production, primary solids, and total sludge production.
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.
9 inputs
Included directly in every task prompt.
Flow rate
flow_rate_m3_d
Process flow rate
Influent bod
influent_bod_mg_l
Influent BOD concentration
Effluent bod
effluent_bod_mg_l
Effluent BOD concentration
Influent tss
influent_tss_mg_l
Influent TSS concentration
Primary tss removal pct
primary_tss_removal_pct
Primary treatment TSS removal
Yield coefficient
yield_coefficient
Biomass yield coefficient
Decay coefficient d inv
decay_coefficient_d_inv
Endogenous decay coefficient
Srt days
srt_days
Solids retention time
Vss to tss ratio
vss_to_tss_ratio
Biomass VSS to TSS ratio
5 outputs
bod_removed_kg_d
BOD removed
Scores if within ±3% of the reference value.
observed_yield_vss_per_bod
Observed biomass yield
Scores if within ±3% of the reference value.
biomass_production_kg_vss_d
Biomass production as VSS
Scores if within ±3% of the reference value.
primary_solids_kg_tss_d
Primary solids captured
Scores if within ±3% of the reference value.
total_sludge_kg_tss_d
Total sludge production as TSS
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 wastewater solids handling.2 3## Problem4 5Estimate activated sludge production from BOD removal, observed biomass yield, decay, and primary solids capture.6 7## Given8 9| Parameter | Value | Unit |10|-----------|-------|------|11| Flow rate | {{ flow_rate_m3_d }} | m3/d |12| Influent BOD | {{ influent_bod_mg_l }} | mg/L |13| Effluent BOD | {{ effluent_bod_mg_l }} | mg/L |14| Influent TSS | {{ influent_tss_mg_l }} | mg/L |15| Primary TSS removal | {{ primary_tss_removal_pct }} | % |16| Yield coefficient | {{ yield_coefficient }} | - |17| Decay coefficient | {{ decay_coefficient_d_inv }} | 1/d |18| SRT | {{ srt_days }} | d |19| VSS to TSS ratio | {{ vss_to_tss_ratio }} | - |20 21{% if archetype_description is defined %}22### Process Context23 24{{ archetype_description }}25{% endif %}26 27{% if tool_available %}28## Available Tool29 30A sludge production calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:31 32```bash33python3 /workspace/{{ meta.name }}_calc.py --help34```35 36You may use this tool to verify your calculations or compute values directly.37{% endif %}38 39## Required40 41Calculate the following:42 431. BOD removed (kg/d)442. Observed biomass yield (kg VSS/kg BOD removed)453. Biomass production as VSS (kg/d)464. Primary solids captured as TSS (kg/d)475. Total sludge production as TSS (kg/d)48 49## Constraints50 51- No internet access is available. Work from engineering knowledge and the provided tool.52- Use BOD removed = flow x (influent BOD - effluent BOD) / 1000.53- Use observed yield = yield coefficient / (1 + decay coefficient x SRT).54- Use biomass VSS production = observed yield x BOD removed.55- Use biomass TSS production = biomass VSS production / VSS to TSS ratio.56- Use primary solids = flow x influent TSS x primary removal percent / 100000.57- Use total sludge production = biomass TSS production + primary solids.58 59## Output Format60 61Show 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:62 63```json64{65 "bod_removed_kg_d": <numeric_value>,66 "observed_yield_vss_per_bod": <numeric_value>,67 "biomass_production_kg_vss_d": <numeric_value>,68 "primary_solids_kg_tss_d": <numeric_value>,69 "total_sludge_kg_tss_d": <numeric_value>70}71```72 73Write your complete solution to `/workspace/output.md`.74 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_plant
Package activated sludge plant
municipal_plant
Municipal activated sludge plant
regional-wwtp-municipal-plant-preview — hard difficulty, all inputs given.
Municipal activated sludge plant. regional-wwtp. Required outputs: bod_removed_kg_d, observed_yield_vss_per_bod, biomass_production_kg_vss_d, primary_solids_kg_tss_d, total_sludge_kg_tss_d
Scenario context and visible inputs.
Executable tool: sludge-production_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"bod_removed_kg_d": <number>,
"observed_yield_vss_per_bod": <number>,
"biomass_production_kg_vss_d": <number>,
"primary_solids_kg_tss_d": <number>,
"total_sludge_kg_tss_d": <number>
}