Skip to content

primclarinit_bsm2

Initialization file for all states and parameters related to the primary clarifier.

All parameters and specifications are based on BSM1 model. This file will be executed when running bsm2_cl.py, bsm2_ol.py or bsm2_olem.py.

VOL_P

VOL_P = 900

Volume of the primary clarifier [m³].

F_CORR

F_CORR = 0.65

Efficiency correction factor [-].

F_X

F_X = 0.85

COD_part/COD_tot ratio [-].

T_M

T_M = 0.125

Smoothing time constant for m² calculation [d].

F_PS

F_PS = 0.007

Ratio of primary sludge flow rate to the influent flow [-].

S_I_P

S_I_P = 28.067

Soluble inert organic matter [g(COD) ⋅ m⁻³].

S_S_P

S_S_P = 59.0473

Readily biodegradable substrate [g(COD) ⋅ m⁻³].

X_I_P

X_I_P = 94.3557

Particulate inert organic matter [g(COD) ⋅ m⁻³].

X_S_P

X_S_P = 356.8434

Slowly biodegradable substrate [g(COD) ⋅ m⁻³].

X_BH_P

X_BH_P = 50.8946

Active heterotrophic biomass [g(COD) ⋅ m⁻³].

X_BA_P

X_BA_P = 0.0946

Active autotrophic biomass [g(COD) ⋅ m⁻³].

X_P_P

X_P_P = 0.6531

Particulate products arising from biomass decay [g(COD) ⋅ m⁻³].

S_O_P

S_O_P = 0.0175

Dissolved oxygen [g(O₂) ⋅ m⁻³].

S_NO_P

S_NO_P = 0.1174

Nitrate and nitrite [g(N) ⋅ m⁻³].

S_NH_P

S_NH_P = 34.9215

Ammonium plus ammonia nitrogen [g(N) ⋅ m⁻³].

S_ND_P

S_ND_P = 5.5457

Soluble biodegradable organic nitrogen [g(N) ⋅ m⁻³].

X_ND_P

X_ND_P = 15.8132

Particulate biodegradable organic nitrogen [g(N) ⋅ m⁻³].

S_ALK_P

S_ALK_P = 7.6965

Alkalinity [mol(HCO₃⁻) ⋅ m⁻³].

TSS_P

TSS_P = 377.1311

Total suspended solids [g(TSS) ⋅ m⁻³].

Q_P

Q_P = 21086.0

Flow rate [m³ ⋅ d⁻¹].

T_P

T_P = 14.8581

Temperature [°C].

S_D1_P

S_D1_P = 0

Dummy state 1 [-].

S_D2_P

S_D2_P = 0

Dummy state 2 [-].

S_D3_P

S_D3_P = 0

Dummy state 3 [-].

X_D4_P

X_D4_P = 0

Dummy state 4 [-].

X_D5_P

X_D5_P = 0

Dummy state 5 [-].

YINIT1

YINIT1 = array([S_I_P, S_S_P, X_I_P, X_S_P, X_BH_P, X_BA_P, X_P_P, S_O_P, S_NO_P, S_NH_P, S_ND_P, X_ND_P, S_ALK_P, TSS_P, Q_P, T_P, S_D1_P, S_D2_P, S_D3_P, X_D4_P, X_D5_P])

Initial values for the primary clarifier.

XVECTOR_P

XVECTOR_P = array([0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1], dtype=bool)

Vector with settleability of the 21 components of ASM1. Compare with f_sx,i in Otterpohl/Freund.

PAR_P

PAR_P = array([F_CORR, F_X, T_M, F_PS])

Parameters for the primary clarifier.