class ASM3 { kin_params = { // kinetic parameters (20 C for now) // Hydrolysis k_H: 3., // hydrolysis rate constant [g X_S g-1 X_H d-1] K_x: 1., // hydrolysis saturation constant [g X_S g-1 X_H] // Heterotrophs k_STO: 5., // storage rate constant [g S_S g-1 X_H d-1] nu_NO: 0.6, // Anoxic reduction factor [-] K_O: 0.2, // Saturation constant S_0 [g O2 m-3] K_NO: 0.5, // Saturation constant S_NO [g NO3-N m-3] K_S: 2., // Saturation constant S_s [g COD m-3] K_STO: 1., // Saturation constant X_STO [g X_STO g-1 X_H] mu_H: 2., K_NH: 0.01, K_HCO: 0.1, b_H_O2: 0.2, b_H_NO: 0.1, b_STO_O2: 0.2, b_STO_NO: 0.1, // Autotrophs mu_A: 1.0, K_A_NH: 1., K_A_O: 0.5, K_A_HCO: 0.5, b_A_O2: 0.15, b_A_NO: 0.05 } constructor() { } compute_rates(state) { const rates = new Array(12); rates[0] = this.parameters[] return rates; } }