[Wastewater Simulator] ASM2d reactor

Select calculation method

Input data

Stream state

Temperature

Bulk Flow

Total flow

Composition

Dissolved oxygen
mg/L
Fermentable readily biodegradable substrate
mg/L
Fermentation products (acetate)
mg/L
Ammonium and ammonia nitrogen
mg/L
Nitrate and nitrite nitrogen
mg/L
Inorganic soluble phosphorus (orthophosphate)
mg/L
Soluble inert organics
mg/L
Alkalinity (as CaCO₃)
mg/L
Dinitrogen (from denitrification)
mg/L
Particulate inert organics
mg/L
Slowly biodegradable substrate
mg/L
Heterotrophic organisms
mg/L
Phosphorus-accumulating organisms
mg/L
Poly-phosphate (stored in PAOs)
mg/L
Poly-hydroxy-alkanoates (PAO cell-internal storage)
mg/L
Nitrifying (autotrophic) organisms
mg/L
Total suspended solids
mg/L
Metal hydroxides (for chemical P removal)
mg/L
Metal phosphate (precipitated)
mg/L

Reactor volume

Aeration mode

DO setpoint (aerobic)

Seed biomass (solver start)

Starting contents (transient)

Fast chemistry as instantaneous (advanced)

iN,SI (gN/gCOD)

iN,SF (gN/gCOD)

iN,XI (gN/gCOD)

iN,XS (gN/gCOD)

iN,BM (gN/gCOD)

iP,SI (gP/gCOD)

iP,SF (gP/gCOD)

iP,XI (gP/gCOD)

iP,XS (gP/gCOD)

iP,BM (gP/gCOD)

iTSS,XI (gTSS/gCOD)

iTSS,XS (gTSS/gCOD)

iTSS,BM (gTSS/gCOD)

fSI (gCOD/gCOD)

YH (gCOD/gCOD)

fXI (gCOD/gCOD)

YPAO (gCOD/gCOD)

YPO4 (gP/gCOD)

YPHA (gCOD/gP)

YA (gCOD/gN)

KH

etaNO3,hyd

etafe

KO2

KNO3

KX (gCOD/gCOD)

muH

qfe

bH

etaNO3,H

KF

Kfe

KA,H

KNH4,H

KP,H

KALK,H

qPHA

qPP

muPAO

etaNO3,PAO

bPAO

bPP

bPHA

KA,PAO

KPS

KP,PAO

KNH4,PAO

KALK,PAO

KPP (gP/gCOD)

KMAX (gP/gCOD)

KiPP (gP/gCOD)

KPHA (gCOD/gCOD)

muAUT

bAUT

KO2,AUT

KNH4,AUT

KP,AUT

KALK,AUT

kPRE

kRED

KALK,PRE

Output data

Stream state

Temperature

Bulk Flow

Total flow

Composition

Dissolved oxygen
mg/L
Fermentable readily biodegradable substrate
mg/L
Fermentation products (acetate)
mg/L
Ammonium and ammonia nitrogen
mg/L
Nitrate and nitrite nitrogen
mg/L
Inorganic soluble phosphorus (orthophosphate)
mg/L
Soluble inert organics
mg/L
Alkalinity (as CaCO₃)
mg/L
Dinitrogen (from denitrification)
mg/L
Particulate inert organics
mg/L
Slowly biodegradable substrate
mg/L
Heterotrophic organisms
mg/L
Phosphorus-accumulating organisms
mg/L
Poly-phosphate (stored in PAOs)
mg/L
Poly-hydroxy-alkanoates (PAO cell-internal storage)
mg/L
Nitrifying (autotrophic) organisms
mg/L
Total suspended solids
mg/L
Metal hydroxides (for chemical P removal)
mg/L
Metal phosphate (precipitated)
mg/L

Oxygen demand

Solids inventory

Hydraulic retention time

Description

Activated sludge in a completely mixed tank, on the ASM2d model: nitrification, denitrification, biological phosphorus removal and chemical P precipitation. Set the volume and pick anaerobic, anoxic or aerobic. The kinetic and stoichiometric parameters come with reviewed defaults and every one of them is exposed for calibration.

Chain three — anaerobic, anoxic, aerobic — with a clarifier and a return line and you have an A2O plant.

In a steady-state run it reports where the tank settles. In a transient run it holds an inventory: a load peak is diluted over a residence time, and the population grows or washes out on its own timescale. The run starts from the tank's own steady state, so a disturbance study measures the disturbance and not the startup.

Two calculation methods, and they ask opposite questions about oxygen. DO setpoint — you say what dissolved oxygen you are holding, and it reports the oxygen demand that implies. Aeration — you give it the air flow, the diffuser SOTE and the submergence, and it works out the dissolved oxygen you actually get, along with the kLa and the transfer rate. The alpha, beta and fouling factors are all there to be argued with.

The reactions are much faster than the tank they sit in, so a transient run needs a shorter time step than the retention time suggests. The block works out its own limit and tells you the number.