Governing formulas
Nitrate-polishing and carbon balance
NOx-N removal load = Average flow × max(NOx-N in − NOx-N target, 0) ÷ 1,000
Carbon-COD demand = NOx-N removal load × selected COD/N factor × (1 + carbon margin)
External COD deficit = max(Carbon-COD demand − available rbCOD, 0)
Product mass = External COD deficit ÷ entered product COD equivalent
Product volume = Product mass ÷ entered product density
Post-anoxic hydraulics and alkalinity
Peak-flow post-anoxic volume = Average flow × peak-flow factor × selected peak-flow HRT ÷ 24
Denitrification loading = NOx-N removal load ÷ post-anoxic volume
Alkalinity recovery = NOx-N removal load × 3.57 kg as CaCO₃/kg NOx-N
EPA guidance addresses the role of carbon in nitrogen removal, including dosage, kinetics, and carbon-source selection. The theoretical electron-donor demand is lower than many practical design doses, so the COD/N factor and safety margin remain deliberately editable.[1][2]
Scope and hand-off
This calculator is intended to follow the Nitrogen Removal Calculator when an external carbon deficit remains. It stores the current product demand and annual cost in this browser session for a future operating-cost hand-off; it does not modify any other calculator automatically.