Skip to content

aerationcontrolinit

Initialization file for all states and parameters related to the aeration control system aerationcontrol.py in reactor 3 to 5.

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

CARB1_MAX

CARB1_MAX = 5

Maximum possible external carbon flow rate to reactor 1 [m³ ⋅ d⁻¹].

CARB2_MAX

CARB2_MAX = 5

Maximum possible external carbon flow rate to reactor 2 [m³ ⋅ d⁻¹].

CARB3_MAX

CARB3_MAX = 5

Maximum possible external carbon flow rate to reactor 3 [m³ ⋅ d⁻¹].

CARB4_MAX

CARB4_MAX = 5

Maximum possible external carbon flow rate to reactor 4 [m³ ⋅ d⁻¹].

CARB5_MAX

CARB5_MAX = 5

Maximum possible external carbon flow rate to reactor 5 [m³ ⋅ d⁻¹].

QINTR_MAX

QINTR_MAX = 5 * QIN0

Maximum pump capacity for internal recirculation rate Q_int [m³ ⋅ d⁻¹].

QW_MAX

QW_MAX = 0.1 * QIN0

Maximum pump capacity for waste sludge flow rate Q_w [m³ ⋅ d⁻¹].

QR_MAX

QR_MAX = 2 * QIN0

Maximum pump capacity for return sludge flow rate Q_r [m³ ⋅ d⁻¹].

QSTORAGE_MAX

QSTORAGE_MAX = 1500

Maximum pump capacity for outlet flow rate of the storage tank Q_st,out [m³ ⋅ d⁻¹].

QWT

QWT = 1 / 60 / 24 * 10

Time delay for artificial Q_w actuator (acts as first-order filter) [d].

KLA3GAIN

KLA3GAIN = 1.0

Amplification constant for control signal to reactor 3 [-].

T90_KLA3

T90_KLA3 = 4

Response time t_r for KLa actuator 3 [min].

T_KLA3

T_KLA3 = T90_KLA3 / 60 * 24 / 3.89

Integral part time constant τ for KLa actuator 3 [d].

T90_SO4

T90_SO4 = 1

Response time t_r for oxygen sensor 4 [min].

MIN_SO4

MIN_SO4 = 0

Lower measuring limit of the oxygen sensor 4 [g(O₂) ⋅ m⁻³].

MAX_SO4

MAX_SO4 = 10

"Upper measuring limit of the oxygen sensor 4 [g(O₂) ⋅ m⁻³].

T_SO4

T_SO4 = T90_SO4 / 60 * 24 / 3.89

Integral part time constant τ of transfer function for sensor 4 [d].

STD_SO4

STD_SO4 = 0.025

Standard deviation for adding measurement noise for sensor 4 [-].

KLA4_INIT

KLA4_INIT = 201.3015557168598

Initial value for PI controller 4 [d⁻¹].

KLA4_MIN

KLA4_MIN = 0

Lower limit of the adjustable KLa value for PI controller 4 [d⁻¹].

KLA4_MAX

KLA4_MAX = 360

Upper limit of the adjustable KLa value for PI controller 4 [d⁻¹].

KSO4

KSO4 = 25

Amplification constant for PI controller 4 [-].

TISO4

TISO4 = 0.002

Integral part time constant τ for PI controller 4 [d].

TTSO4

TTSO4 = 0.001

Integral part time constant τ of 'antiwindup' for PI controller 4 [d].

TDSO4

TDSO4 = 0

Differential part time constant τ for PI controller 4 [d].

SO4INTSTATE

SO4INTSTATE = -321.7493546935257

Initial integration value for saturated oxygen concentration of PI controller 4 [g(O₂) ⋅ m⁻³].

SO4AWSTATE

SO4AWSTATE = 379.05091041032915

Initial integration value for 'antiwindup' saturated oxygen concentration of PI controller 4
[g(O₂) ⋅ m⁻³].

SO4REF

SO4REF = 2

Set point for oxygen concentration controller 4 [g(O₂) ⋅ m⁻³].

KLA4OFFSET

KLA4OFFSET = 120

Reasonable offset value for PI controller 4 around S_O^ref [d⁻¹].

KLA4_LIM

KLA4_LIM = 201.3015557168598

KLa value after adjusting to upper and lower limit for PI controller 4 [d⁻¹].

KLA4_CALC

KLA4_CALC = 201.3015557168598

KLa value calculated from PI control [d⁻¹].

USEANTIWINDUPSO4

USEANTIWINDUPSO4 = True

Boolean value to use 'antiwindup' for PI controller 4.

T90_KLA4

T90_KLA4 = 4

Response time t_r for KLa actuator 4 [min].

T_KLA4

T_KLA4 = T90_KLA4 / 60 * 24 / 3.89

Integral part time constant τ for KLa actuator 4 [d].

KLA5GAIN

KLA5GAIN = 0.5

Amplification constant for control signal to reactor 5 [-].

T90_KLA5

T90_KLA5 = 4

Response time t_r for KLa actuator 5 [min].

T_KLA5

T_KLA5 = T90_KLA5 / 60 * 24 / 3.89

Integral part time constant τ for KLa actuator 5 [d].