Bod removed kg d
bod_removed_kg_d
BOD removed
Scores if within ±3% of the reference value.
Calculates activated sludge oxygen demand from BOD removal, nitrogen oxidation, sludge production, and denitrification credit. The template uses explicit stoichiometric factors for carbonaceous demand adjustment, nitrification oxygen demand, and denitrification oxygen recovery.
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.
7 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 tkn
influent_tkn_mg_l
Influent TKN concentration
Effluent tkn
effluent_tkn_mg_l
Effluent TKN concentration
Sludge production
sludge_production_kg_d
Biomass sludge production
Denitrified nitrogen
denitrified_nitrogen_mg_l
Nitrate-nitrogen denitrified for oxygen credit
5 outputs
bod_removed_kg_d
BOD removed
Scores if within ±3% of the reference value.
carbonaceous_oxygen_kg_d
Carbonaceous oxygen demand after sludge credit
Scores if within ±3% of the reference value.
nitrogenous_oxygen_kg_d
Nitrogenous oxygen demand
Scores if within ±3% of the reference value.
denitrification_credit_kg_d
Denitrification oxygen credit
Scores if within ±3% of the reference value.
total_oxygen_kg_d
Total oxygen demand
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 treatment process design.2 3## Problem4 5Calculate activated sludge oxygen demand for carbonaceous oxidation, nitrogen oxidation, and denitrification credit.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 TKN | {{ influent_tkn_mg_l }} | mg/L |15| Effluent TKN | {{ effluent_tkn_mg_l }} | mg/L |16| Sludge production | {{ sludge_production_kg_d }} | kg/d |17| Denitrified nitrogen | {{ denitrified_nitrogen_mg_l }} | mg/L |18 19{% if archetype_description is defined %}20### Process Context21 22{{ archetype_description }}23{% endif %}24 25{% if tool_available %}26## Available Tool27 28An oxygen demand calculation tool is available at `/workspace/{{ meta.name }}_calc.py`. Run it with:29 30```bash31python3 /workspace/{{ meta.name }}_calc.py --help32```33 34You may use this tool to verify your calculations or compute values directly.35{% endif %}36 37## Required38 39Calculate the following:40 411. BOD removed (kg/d)422. Carbonaceous oxygen demand after sludge credit (kg/d)433. Nitrogenous oxygen demand (kg/d)444. Denitrification oxygen credit (kg/d)455. Total oxygen demand (kg/d)46 47## Constraints48 49- No internet access is available. Work from engineering knowledge and the provided tool.50- Use BOD removed = flow x (influent BOD - effluent BOD) / 1000.51- Use carbonaceous oxygen = BOD removed - 1.42 x sludge production, not less than zero.52- Use nitrogen removed = flow x (influent TKN - effluent TKN) / 1000.53- Use nitrogenous oxygen = 4.57 x nitrogen removed.54- Use denitrification credit = 2.86 x denitrified nitrogen load.55- Use total oxygen = carbonaceous + nitrogenous - denitrification credit, not less than zero.56 57## Output Format58 59Show 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:60 61```json62{63 "bod_removed_kg_d": <numeric_value>,64 "carbonaceous_oxygen_kg_d": <numeric_value>,65 "nitrogenous_oxygen_kg_d": <numeric_value>,66 "denitrification_credit_kg_d": <numeric_value>,67 "total_oxygen_kg_d": <numeric_value>68}69```70 71Write your complete solution to `/workspace/output.md`.72 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_nutrient_removal
Municipal nutrient removal activated sludge plant
regional-wwtp-municipal-nutrient-removal-preview — hard difficulty, all inputs given.
Municipal nutrient removal activated sludge plant. regional-wwtp. Required outputs: bod_removed_kg_d, carbonaceous_oxygen_kg_d, nitrogenous_oxygen_kg_d, denitrification_credit_kg_d, total_oxygen_kg_d
Scenario context and visible inputs.
Executable tool: oxygen-requirements_calc.py
Inputs withheld at this difficulty.
Nothing. All inputs are supplied.
The scored JSON answer schema.
{
"bod_removed_kg_d": <number>,
"carbonaceous_oxygen_kg_d": <number>,
"nitrogenous_oxygen_kg_d": <number>,
"denitrification_credit_kg_d": <number>,
"total_oxygen_kg_d": <number>
}