Abstract
This study aimed at providing a set of optimal kinetic and stoichiometric parameters of ASM1 representative of wastewater from a subtropical climate region in Brazil. ASM1 was applied on the STOAT program, and the model parameters were evaluated and optimized with sensitivity analysis and Response Surface Methodology (RSM) to reach minimum prediction errors of effluent TSS, COD, and NH3. Six sensitive parameters were identified: YH, YA, μA, KNH, bA, and kOA. Predictions of RSM regression models were strongly correlated to the STOAT predictions. YH mainly affected TSS and COD, and the other parameters affected NH3. ASM1 calibration with estimated optimal values of sensitive parameters resulted in approximately null prediction errors for modeling state variables. NH3 presented similar results in the ASM1 validation; meanwhile, TSS and COD presented high errors related to the increase in YH due to the RSM optimization. The optimal parameters, mainly YA, μA, KNH, bA, and kOA, constitute references for other studies on ASM1 modeling using wastewater data from a subtropical climate region. YH optimal value should be evaluated as well as the effect of sludge wastage methods and the simulation periods.
HIGHLIGHTS
A large-scale WWTP was modeled using standard monitoring data, ASM1, Version 3, and STOAT.
Sensitivity analysis and Response Surface Methodology improved ASM1 calibration.
Estimated optimal kinetic and stoichiometric parameters of ASM1 represented wastewater from a subtropical climate region in Brazil.
The high experimental range deserves attention in the optimization of the heterotrophic yield (YH) parameter.
Graphical Abstract
INTRODUCTION
The Sewage Treatment Operation and Analysis over Time (STOAT©) (WRC Plc 1994) consists of a free simulation program in which one can select the broadly known Activated Sludge Model N°1 (ASM1) (Henze et al. 1987) to model an activated sludge (AS) process. STOAT and ASM1 may be used with scarce data sets available from standard monitoring of large-scale Wastewater Treatment Plants (WWTP) for setting up a facility and modeling the performance of AS under steady-state conditions (Andraka et al. 2018).
The calibration is one of the most critical steps in the modeling procedure to provide reliable predictions accordingly with the specific conditions of AS process (Rieger et al. 2013). ASM1 modeling and calibration depend on wastewater composition fractionation and model parameters determination, respectively. Such fractionation and determination may need extra laboratory analysis, which is not commonly viable for some plants (Borzooei et al. 2019). In some cases, typical ratios of municipal wastewater may be used for fractionation (Henze & Comeau 2008, p. 36), and kinetic and stoichiometric ASM1 parameters calibration on trial and error procedure may be adopted. However, this calibration procedure is not appropriate due to the importance of prioritizing methods that guarantee as much information as possible to form a suitable parameter combination (Petersen et al. 2003).
Alternatively, some authors have proposed a systematic calibration approach to find optimal parameters for ASMs. The strategy comprises modeling in association with sensitivity analysis for parameter selection, and design of experiments and Response Surface Methodology (RSM) for parameter evaluation and optimization (Kim et al. 2009; Lim et al. 2012; Ahn et al. 2014).
Most studies on the evaluation and optimization of ASM1 parameters were developed in Europe, North America, and Asia (Hauduc et al. 2011). Furthermore, ASM1 presents default values of parameters for European wastewater characteristics (Ahn et al. 2014). Thus, applications in other regions are relevant due to the variation of model parameters correspondingly to wastewater composition through space and time (Von Sperling et al. 2020).
The geographic expansion may also contribute to evaluating ASM1 modeling using STOAT in other climate regions. That program is broadly used in the temperate climate of the United Kingdom and was validated in tropical climate conditions in India, where the microorganisms' growth rate is higher than the temperate climate conditions (Sarkar et al. 2010).
Particularly in Brazil, AS modeling is essential to improve wastewater treatment. The country presents 354 WWTPs with such treatment process (10% of the total) (ANA 2020), and more than half of the population lack wastewater treatment (Brasil 2019). Some authors have used ASM1 and STOAT to model a WWTP using monitoring data of domestic wastewater treatment from a subtropical climate region in Brazil (Pistorello 2018; Baptista 2020). However, to the best of our knowledge, no studies have performed an estimation of optimal ASM1 parameters associating the use of monitoring data of a large-scale WWTP within a subtropical climate region with sensitivity analysis and RSM.
Therefore, this study aimed at providing a set of optimal kinetic and stoichiometric parameters of ASM1 representative of wastewater from a subtropical climate region in Brazil. Thus, these optimal values may compose the references of ASM1 parameters and be effective on AS modeling using the STOAT program and monitoring data of large-scale WWTP in the same climate conditions.
METHODS
WWTP of study
The research was conducted on domestic wastewater generated from São João Navegantes WWTP in Porto Alegre, Brazil, located in a subtropical climate region (29°59′29″S; 51°11′43.5″W). The average raw-water flow is 0.44 m3/s, corresponding to 150 thousand inhabitants. The wastewater system comprises extended aeration activated sludge (Figure 1).
Data collection and reconciliation
The following wastewater characteristics were determined: flow, temperature, total suspended solids (TSS), chemical oxygen demand (COD), ammonia (NH3), and pH. Influent and effluent means of these variables were considered after treating missing and censored data, as well as outliers of the WWTP monitoring data set, as described in von Sperling et al. (2020). Annual means of those variables of 2018 and 2019 were used for ASM1 calibration and validation, respectively (Table 1).
. | Influent . | Effluent . | ||
---|---|---|---|---|
Variable/Year . | 2018 . | 2019 . | 2018 . | 2019 . |
TSS (mg/l) | 119 | 170 | 30 | 21 |
COD (mg/l) | 297 | 359 | 52 | 45 |
NH3 (mg/l) | 45.5 | 39.5 | 4.4 | 3.7 |
pH | 7.2 | 7.2 | 6.9 | 7 |
Temperature (°C) | 22.6 | 23.8 | 22.9 | 24.1 |
¼ Treated flow (m3/s) | – | – | 0.077 | 0.076 |
. | Influent . | Effluent . | ||
---|---|---|---|---|
Variable/Year . | 2018 . | 2019 . | 2018 . | 2019 . |
TSS (mg/l) | 119 | 170 | 30 | 21 |
COD (mg/l) | 297 | 359 | 52 | 45 |
NH3 (mg/l) | 45.5 | 39.5 | 4.4 | 3.7 |
pH | 7.2 | 7.2 | 6.9 | 7 |
Temperature (°C) | 22.6 | 23.8 | 22.9 | 24.1 |
¼ Treated flow (m3/s) | – | – | 0.077 | 0.076 |
Activated sludge modeling
The ASM1 and Version 3 models were used, respectively, for the aeration and secondary sedimentation tanks. Both models are available on the STOAT© simulation program and the guidelines of Rieger et al. (2013) and WRC PLC (1994) were considered for modeling conduction. Modeling was developed for one of the four parallels flows of the treatment plant. Information on tank sizes and operational data were provided by the WWTP (Table 2).
Aeration tank | |
Volume (m3) (V) | 2,070 |
Length (m) | 30 |
Width (m) | 15 |
Depth (m) | 4.6 |
MLSS (mg/l) (X) | 4,000 |
Secondary sedimentation tank | |
Surface area (m²) | 720 |
Depth (m) | 3.5 |
Depth of feed (m) | 1.75 |
AS | |
Return AS (RAS) flow (m3/s) | 0.15 |
Sludge wastage flow (m3/s) (QW) | 0.00153 |
Wastage pump run time (h) | 8 |
Wastage cycle time (h) | 24 |
MLSS set-point (mg/l) | 3,000 |
Sludge TSS (mg/l) (XR) | 10,000 |
SRT (d) | 20 |
Aeration tank | |
Volume (m3) (V) | 2,070 |
Length (m) | 30 |
Width (m) | 15 |
Depth (m) | 4.6 |
MLSS (mg/l) (X) | 4,000 |
Secondary sedimentation tank | |
Surface area (m²) | 720 |
Depth (m) | 3.5 |
Depth of feed (m) | 1.75 |
AS | |
Return AS (RAS) flow (m3/s) | 0.15 |
Sludge wastage flow (m3/s) (QW) | 0.00153 |
Wastage pump run time (h) | 8 |
Wastage cycle time (h) | 24 |
MLSS set-point (mg/l) | 3,000 |
Sludge TSS (mg/l) (XR) | 10,000 |
SRT (d) | 20 |
On Version 3, the wastage method selected was fixed-rate (0.00153 m3/s) over variable time (0–8 h) to maintain a specific Mixed-Liquor Suspended Solids (MLSS) set-point (3,000 mg/l). By assuming extended aeration correlation, sewage calibration data for the same model considered Stirred Sludge Volume Index (SSVI) (3.5 g/l) equal to 100 ml/g (average for fair sludge sedimentation) (von Sperling 1994).
The influent profile assumed on STOAT was the sinusoidal pattern. Thus, the following conditions were selected for most wastewater variables (Table 1): 0 h for phase, 30% for amplitude, and frequency equal to 0.261799 (representing daily fluctuations). Specifically for temperature, the frequency was 7.27E-4 (annual fluctuations), and amplitude was 0% for the same variable and pH. Typical ratios of municipal wastewater were applied at the fractionation of TSS, COD, and N contents (Table 3).
CODa . | Typical Ratio . | 2018 . | 2019 . |
---|---|---|---|
Soluble undegradable (SU) | 0.04*CODtotal | 11.9 | 14.4 |
Soluble biodegradable (SB) | 0.36*CODtotal | 106.9 | 129.2 |
Particulate biodegradable (XB) | 0.4*CODtotal | 118.8 | 143.6 |
Particulate undegradable (XU) | 0.2*CODtotal | 59.4 | 71.8 |
TSSa | |||
Volatile solids | 0.7*TSS | 83.3 | 119 |
Non-volatile solids | 0.3*TSS | 35.7 | 51 |
Nitrogen (N)b | |||
Total N (Ntotal)c | 1.61*NH3 | 73.24 | 63.51 |
Soluble organic N | 0.06* Ntotal+0.03*Ntotal | 6.59 | 5.72 |
Particulate organic N | 0.06* Ntotal+0.1*Ntotal | 11.72 | 10.16 |
CODa . | Typical Ratio . | 2018 . | 2019 . |
---|---|---|---|
Soluble undegradable (SU) | 0.04*CODtotal | 11.9 | 14.4 |
Soluble biodegradable (SB) | 0.36*CODtotal | 106.9 | 129.2 |
Particulate biodegradable (XB) | 0.4*CODtotal | 118.8 | 143.6 |
Particulate undegradable (XU) | 0.2*CODtotal | 59.4 | 71.8 |
TSSa | |||
Volatile solids | 0.7*TSS | 83.3 | 119 |
Non-volatile solids | 0.3*TSS | 35.7 | 51 |
Nitrogen (N)b | |||
Total N (Ntotal)c | 1.61*NH3 | 73.24 | 63.51 |
Soluble organic N | 0.06* Ntotal+0.03*Ntotal | 6.59 | 5.72 |
Particulate organic N | 0.06* Ntotal+0.1*Ntotal | 11.72 | 10.16 |
Sources: (a) Henze & Comeau (2008, p. 34); (b) Rössle & Pretorius (2001); (c) Barroso Júnior (2020, p. 94–95).
The modeling state variables were the mean effluent concentrations of TSS, COD, and NH3 (Table 1). The following runs started from the end of the first simulation.
Stoichiometric . | Symbol . | Unit . | Default (20 °C)a . | Literature . |
---|---|---|---|---|
Heterotrophic yield | YH | g cell COD formed (g COD oxidized)−1 | 0.67 | 0.62–0.67b |
Autotrophic yield | YA | g cell COD formed (g N oxidized)−1 | 0.24 | 0.07–0.28c |
Fraction of biomass yielding particulate products | fP | Dimensionless | 0.08 | – |
Mass N/Mass COD in biomass | iXB | g N (g COD)−1 in biomass | 0.086 | 0.079–0.086b |
Mass N/Mass COD in products from biomass | iXP | g N (g COD)−1 in endogenous biomass | 0.06 | – |
Kinetic | ||||
Heterotrophic maximum specific growth rate | μH | d−1 | 6 (0.1768 h−1)d | 5.7–6b |
Half-saturation coefficient (hsc) for heterotrophs | KS | g COD.m−3 | 20 | 5–225c |
Oxygen hsc for heterotrophs | KOH | g O2.m−3 | 0.2 | 0.01–0.2c |
Nitrate hsc for denitrifying heterotrophs | KNO | g NO3-N.m−3 | 0.5 | 0.1–0.5c |
Heterotrophic decay rate | bH | d−1 | 0.62 (0.0147 h−1)d | 0.05–1.6c |
Autotrophic maximum specific growth rate | μA | d−1 | 0.8 (0.0207 h−1)d | 0.2–1c |
Ammonia hsc for autotrophs | KNH | g NH3-N.m−3 | 1 | 0.75–1b |
Oxygen hsc for autotrophs | KOA | g O2.m−3 | 0.4 | 0.4–2c |
Autotrophic decay rate | bA | d−1 | 0.15 (0.0036 h−1)d | 0.05–0.15a |
Correction factor for anoxic growth of heterotrophs | ηg | Dimensionless | 0.8 | 0.6–1c |
Ammonification rate | kA | m3(g COD d)−1 | 0.08 (0.0024 h−1)d | 0.07–0.08b |
Maximum specific hydrolysis rate | Kh | g slowly biodeg.(g cell COD d)−1 | 3 (0.0722 h−1)d | 2.2–3b |
Hsc for hydrolysis of slowly biodegradable substrate | KX | g slowly biodeg.(g cell COD d)−1 | 0.03 (0.0173 h−1)d | – |
Correction factor for anoxic hydrolysis | ηh | Dimensionless | 0.4 | 0.4–0.5b |
Stoichiometric . | Symbol . | Unit . | Default (20 °C)a . | Literature . |
---|---|---|---|---|
Heterotrophic yield | YH | g cell COD formed (g COD oxidized)−1 | 0.67 | 0.62–0.67b |
Autotrophic yield | YA | g cell COD formed (g N oxidized)−1 | 0.24 | 0.07–0.28c |
Fraction of biomass yielding particulate products | fP | Dimensionless | 0.08 | – |
Mass N/Mass COD in biomass | iXB | g N (g COD)−1 in biomass | 0.086 | 0.079–0.086b |
Mass N/Mass COD in products from biomass | iXP | g N (g COD)−1 in endogenous biomass | 0.06 | – |
Kinetic | ||||
Heterotrophic maximum specific growth rate | μH | d−1 | 6 (0.1768 h−1)d | 5.7–6b |
Half-saturation coefficient (hsc) for heterotrophs | KS | g COD.m−3 | 20 | 5–225c |
Oxygen hsc for heterotrophs | KOH | g O2.m−3 | 0.2 | 0.01–0.2c |
Nitrate hsc for denitrifying heterotrophs | KNO | g NO3-N.m−3 | 0.5 | 0.1–0.5c |
Heterotrophic decay rate | bH | d−1 | 0.62 (0.0147 h−1)d | 0.05–1.6c |
Autotrophic maximum specific growth rate | μA | d−1 | 0.8 (0.0207 h−1)d | 0.2–1c |
Ammonia hsc for autotrophs | KNH | g NH3-N.m−3 | 1 | 0.75–1b |
Oxygen hsc for autotrophs | KOA | g O2.m−3 | 0.4 | 0.4–2c |
Autotrophic decay rate | bA | d−1 | 0.15 (0.0036 h−1)d | 0.05–0.15a |
Correction factor for anoxic growth of heterotrophs | ηg | Dimensionless | 0.8 | 0.6–1c |
Ammonification rate | kA | m3(g COD d)−1 | 0.08 (0.0024 h−1)d | 0.07–0.08b |
Maximum specific hydrolysis rate | Kh | g slowly biodeg.(g cell COD d)−1 | 3 (0.0722 h−1)d | 2.2–3b |
Hsc for hydrolysis of slowly biodegradable substrate | KX | g slowly biodeg.(g cell COD d)−1 | 0.03 (0.0173 h−1)d | – |
Correction factor for anoxic hydrolysis | ηh | Dimensionless | 0.4 | 0.4–0.5b |
Sources: (a) Henze et al. (1987); (b) Hauduc et al. (2011); (c) Ahn et al. (2014); (d) value displayed on STOAT for 15 °C.
Sensitivity analysis
Parameters optimization
Sensitive kinetic and stoichiometric parameters of ASM1 were optimized aiming at minimum prediction errors for state variables on simulations, according to the WWTP monitoring data (Lim et al. 2012). Response Surface Methodology (RSM) and Central Composite Design (CCD) were conducted using Minitab Statistical Software (Version 20.2), whose input consisted of the difference between the observed data recorded by the WWTP (Table 1) and the result of simulation.
X is the simulation prediction using STOAT, Y is the regression prediction via RSM, and n is the number of simulations designed by CCD.
In the multiple optimization, the desirability function based on a target value was used to estimate optimal values for sensitive parameters, which would lead to minimum prediction errors of effluent TSS, COD, and NH3 (Kim Rao & Yoo 2009; Lim et al. 2012). According to the modeling objective, a range of minimum prediction error for each state variable was assumed: ±5 mg/l for TSS and COD, and ±1 mg/l for NH3 (Rieger et al. 2013).
Finally, optimized parameters of ASM1 were applied on simulations on STOAT for model calibration and validation. It was verified whether or not the results complied with the previous range of prediction errors determined for each state variable. The period of each run for parameter optimization was also the estimated SRT (Table 2).
RESULTS AND DISCUSSION
Sensitive parameters of ASM1
The sensitivity analysis required 20 runs on STOAT, which is considered a fast way to evaluate sensitive model parameters. The present study identified six sensitive parameters of ASM1 on modeling using domestic wastewater data from the São João Navegantes WWTP (Figure 2). COD presented no sensitive parameters; meanwhile, NH3 was the most affected state variable due to changes in the ASM1 kinetic and stoichiometric parameters.
YH was sensitive for the TSS and NH3 outputs. Although the same parameter was not sensitive for COD, it presented a coefficient of 0.22, indicating an effect on that state variable. Lim et al. (2012) observed similar results and commented that the relationship between YH and the state variables TSS and COD are related to sludge production. The heterotrophic yield also depends upon the nature of the substrate and the population of microorganisms performing degradation (Henze et al. 1987).
Other sensitive parameters only affected NH3 predictions. In particular, the sensitivity coefficients of μA, KNH, and bA presented high values (≥1), characterizing a substantial effect on the NH3 outputs of the WWTP AS process modeling. Contrarily, μA also affected effluent TSS in another study (Lim et al. 2012). Nevertheless, the high sensitivity of μA may be related to elevated ammonia loads and to a lack of complete nitrification (Levy 2007). This parameter is the most critical one for characterizing the growth of the autotrophic biomass and is influenced by many environmental factors, such as pH and temperature (Henze et al. 1987). On the other hand, the value of bA is considered difficult to measure and may be assumed (Levy 2007), as well as the values of YA and KOA that also affected effluent NH3 (Figure 2(c)). KNH and YH are recommended to be evaluated for each type of wastewater (Henze et al. 1987).
It is noteworthy that 13 parameters of ASM1 were not sensitive for the predictions of effluent TSS, COD, and NH3 of the São João Navegantes WWTP, regarding the specific modeling conditions. It meant that fewer parameters need to be evaluated, which sped up the ASM1 calibration. However, even though the parameters IXB, μH, kS, and bH were not considered sensitive, they deserved attention as long as they affected COD and NH3 predictions (Figure 2(b) and 2(c)).
Half of the six sensitive parameters identified (YH, μA, and bA) were also subject to change in another study that used ASM1 modeling results of 18 WWTPs in Europe, three in Asia, and one in North America (Hauduc et al. 2011). Other authors have confirmed the relevance of YH, μA, KNH, and KOA for either steady-state or dynamic AS simulation conditions (Petersen et al. 2003). Furthermore, sensitive parameters determined for steady-state conditions can significantly support the dynamic calibration (Liwarska-Bizukojc et al. 2011). Therefore, the results of the present study indicate a set of sensitive parameters of ASM1, which besides being representative of a subtropical climate region, may be used in dynamic modeling practices.
Central composite design
CCD resulted in 90 cases randomly designed to find optimal values for sensitive parameters that minimize the prediction errors of effluent TSS, COD, and NH3. The levels of the test were coded and the ranges are shown in Table 5.
Sensitive parameters . | Range of test . | ||
---|---|---|---|
−1 . | 0 . | +1 . | |
YH | 0.98 | 1 | 1.02 |
YA | 0.2 | 0.24 | 0.28 |
μAa | 0.0101 | 0.0126 | 0.0151 |
KNH | 1 | 1.25 | 1.5 |
bAa | 0.0048 | 0.006 | 0.0072 |
KOAa | 0.4 | 0.5 | 0.6 |
Sensitive parameters . | Range of test . | ||
---|---|---|---|
−1 . | 0 . | +1 . | |
YH | 0.98 | 1 | 1.02 |
YA | 0.2 | 0.24 | 0.28 |
μAa | 0.0101 | 0.0126 | 0.0151 |
KNH | 1 | 1.25 | 1.5 |
bAa | 0.0048 | 0.006 | 0.0072 |
KOAa | 0.4 | 0.5 | 0.6 |
Note: (a) Value for 15 °C (h−1) as displayed on STOAT.
The experimental ranges of YA, KNH, and KOA were close to the default values of these parameters (Table 4). It corroborates other findings, as changes in the YA aren't usual, and half-saturation coefficients (KNH and KOA) depend on environmental conditions and don't require significant changes (Hauduc et al. 2011). However, YH, μA, and bA were tested in different ranges (Table 5), which may be related to the variability of such parameters (Hauduc et al. 2011).
ASM1 is a deterministic model and repeated runs result in the same outputs. Since RSM is a statistical model, it requires variability. Thus, random changes were performed on the other parameters which affected the state variables but were not considered sensitive by the 0.25 limit (Figure 2) to provide such variability. These changes were made in 13 out of 14 repeated cases designed by CCD, and the parameters changes were iXB, bH, μH, and KS (Table 6).
Case (run) . | iXB . | bH . | μH . | KS . |
---|---|---|---|---|
78 | 0.0825 | Default | Default | 40 |
79 | 0.075 | Default | Default | Default |
80 | 0.075 | Default | 0.1179 | 40 |
81 | 0.09 | Default | 0.1179 | Default |
82 | 0.09 | Default | Default | 60 |
83 | 0.085 | Default | 0.1179 | Default |
84 | 0.0825 | 0.0237 | Default | Default |
85 | 0.075 | 0.0237 | Default | Default |
86 | 0.08 | Default | Default | Default |
87 | 0.08 | Default | 0.1179 | 40 |
88 | 0.0825 | Default | 0.1179 | 60 |
89 | 0.09 | Default | 0.1179 | 60 |
90 | 0.085 | Default | 0.1179 | 40 |
Case (run) . | iXB . | bH . | μH . | KS . |
---|---|---|---|---|
78 | 0.0825 | Default | Default | 40 |
79 | 0.075 | Default | Default | Default |
80 | 0.075 | Default | 0.1179 | 40 |
81 | 0.09 | Default | 0.1179 | Default |
82 | 0.09 | Default | Default | 60 |
83 | 0.085 | Default | 0.1179 | Default |
84 | 0.0825 | 0.0237 | Default | Default |
85 | 0.075 | 0.0237 | Default | Default |
86 | 0.08 | Default | Default | Default |
87 | 0.08 | Default | 0.1179 | 40 |
88 | 0.0825 | Default | 0.1179 | 60 |
89 | 0.09 | Default | 0.1179 | 60 |
90 | 0.085 | Default | 0.1179 | 40 |
Note: default values are presented in Table 4.
Regression models
The prediction errors of effluent TSS, COD, and NH3 were calculated from the results of runs designed by CCD, which means the difference between the observed data recorded by the WWTP and the STOAT simulation's prediction. Such prediction errors were input onto RSM to generate the regression models for each state variable. The regression coefficients estimated by RSM are presented in Table 7. The respective non-significant quadratic relationships and interactions between parameters weren't considered to simplify the regression models.
Term . | TSS . | COD . | NH3 . |
---|---|---|---|
Constant | 3.270 | 6.085 | −0.047 |
YH | 10.062 | 11.973 | −0.1021 |
YA | 0.703 | 0.835 | 0.5201 |
μA | 0.342 | 0.405 | −3.1580 |
KNH | −0.055 | −0.065 | 0.4933 |
bA | −0.256 | −0.303 | 2.4448 |
KOA | −0.061 | −0.073 | 0.5749 |
YH*YH | 1.3441 | 0.9401 | – |
YA*YA | 0.3216 | −0.3249 | – |
μA*μA | 0.1966 | −0.4742 | 1.1151 |
KNH*KNH | 0.3278 | −0.3180 | – |
bA*bA | 0.2816 | −0.3724 | 0.3826 |
KOA*KOA | 0.3241 | −0.3224 | – |
YA*μA | – | – | −0.2970 |
μA*bA | – | – | −1.2083 |
μA*KOA | – | – | −0.2789 |
bA*KOA | – | – | 0.2458 |
Term . | TSS . | COD . | NH3 . |
---|---|---|---|
Constant | 3.270 | 6.085 | −0.047 |
YH | 10.062 | 11.973 | −0.1021 |
YA | 0.703 | 0.835 | 0.5201 |
μA | 0.342 | 0.405 | −3.1580 |
KNH | −0.055 | −0.065 | 0.4933 |
bA | −0.256 | −0.303 | 2.4448 |
KOA | −0.061 | −0.073 | 0.5749 |
YH*YH | 1.3441 | 0.9401 | – |
YA*YA | 0.3216 | −0.3249 | – |
μA*μA | 0.1966 | −0.4742 | 1.1151 |
KNH*KNH | 0.3278 | −0.3180 | – |
bA*bA | 0.2816 | −0.3724 | 0.3826 |
KOA*KOA | 0.3241 | −0.3224 | – |
YA*μA | – | – | −0.2970 |
μA*bA | – | – | −1.2083 |
μA*KOA | – | – | −0.2789 |
bA*KOA | – | – | 0.2458 |
ANOVA showed similar results for TSS and COD. Changes in most sensitive parameters affected TSS and COD predictions (p < 0.001). Only KNH e kOA didn't affect those state variables (TSS: F(1,89) = 0.22; p = 0.639 and F(1,89) = 0.28; p = 0.598, respectively; COD: F(1,89) = 0.36; p = 0.552 and F(1,89) = 0.45; p = 0.505, respectively). All quadratic relationships also influenced TSS and COD, especially YH*YH for both variables (F(1,89) = 197.60 and 109.12, respectively; p < 0.001). However, interactions between sensitive parameters weren't statistically significant for TSS and COD and were disregarded in their regression models (Table 7).
The ANOVA of the NH3 regression model showed that YH was the only sensitive parameter that did not affect the predictions of such state variable (F(1,89) = 1.69; p= 0.198). Although only quadratic relationships of μA and bA were statistically significant in that regression model (F(1,89) = 303.27 and 35.70, respectively; p < 0.001), four interactions between parameters affected effluent NH3 prediction errors: YA*μA; μA*bA; μA*KOA and bA*KOA (Table 7). Response surfaces of these significant interactions are shown in Figure 3.
The relevant impact of μA*bA interaction (F(1,89) = 189.17; p < 0.001) indicates the many combinations that may be assumed for such parameters to estimate minimum prediction errors for effluent NH3 (Figure 3(a)). Hauduc et al. (2011) highlighted the variability of values for those parameters. Such a relationship is usually inversely proportional, as reduction of μA and bA increases and decreases, respectively, ammonia effluent concentration. Also, an increase in bA may inhibit cell growth and replace nutrients in the system, elevating NH3 concentration. However, the effect of bA is not the most important for effluent NH3 control (Levy 2007).
In the interactions of YA*μA (F(1,89) = 11.43; p = 0.001) and μA*KOA (F(1,89) = 10.08; p = 0.002), the prediction errors of effluent NH3 generated by the regression models were null for higher tested values of μA (Figure 3(b) and 3(c)). Changes in YA and KOA on such interactions didn't show a distinct effect on prediction errors, as observed by other authors (Petersen et al. 2002).
Finally, the interaction between bA*KOA (F(1,89)=7.83; p=0.006) was the less significant in the NH3 regression model. In that relationship, the whole experimental range tested for KOA was suitable to obtain minimum effluent NH3 prediction errors (Figure 3(d)), though only lower values adopted for bA worked appropriately.
The standardized effects of the regression models pointed out the influence of YH on TSS (87%) and COD (109%) prediction errors (Figure 4(a) and 4(b)). Linear and quadratic relationships of other parameters presented effects lower than 15%, even though they were significant in the ANOVA results.
For NH3 prediction errors, μA and bA stood out and indicated contrary effects on responses: −40 and 31%, respectively (Figure 4(c)). This situation is also shown in Figure 3(a).
The lack-of-fit tests showed that p-values were not statistically significant for regression models of TSS and COD, which means that the alternative hypothesis that indicates the lack of fit of those regression models wasn't selected. On the other hand, the NH3 regression model presented opposite results, revealing that such a model didn't show the goodness of fit (Table 8).
. | TSS . | COD . | NH3 . |
---|---|---|---|
Lack-of-fit test | F(64,89)=0.06; p=1 | F(64,89)=0.11; p=1 | F(64,89)=15.51; p<0.001 |
R² | 0.9902 | 0.9938 | 0.977 |
RMSE | 0.97 | 0.91 | 0.65 |
. | TSS . | COD . | NH3 . |
---|---|---|---|
Lack-of-fit test | F(64,89)=0.06; p=1 | F(64,89)=0.11; p=1 | F(64,89)=15.51; p<0.001 |
R² | 0.9902 | 0.9938 | 0.977 |
RMSE | 0.97 | 0.91 | 0.65 |
For that specific case, to correct the lack of fit of the regression model, the original variable predicted on simulation using STOAT was used (prediction of NH3 effluent concentration instead of the prediction error). Then, it was expected to obtain only positive values, which could be transformed to improve the fit of the regression model. However, it didn't show different results, and the first regression model was maintained (Table 7).
The estimated prediction errors of all state variables provided by RSM were compared with those predicted using STOAT. Such relationships presented a strong correlation (R² >0.97), as shown in Figure 5. Thus, the regression models explain at least 97% of the variations in prediction errors of effluent TSS, COD, and NH3. The statistical error via RMSE presented lower values; that is, close to 0, indicating that there wasn't a discrepancy between prediction errors estimated by RSM and predicted via STOAT. Those results are similar to the findings of other authors (Kim et al. 2009; Ahn et al. 2014).
Parameter optimization
The generated regression models of RSM were used to estimate optimal values for the sensitive parameters to be applied on the calibration and validation of ASM1. The target value onto the desirability function in the optimization procedure was zero to estimate parameters to reach minimum prediction errors of effluent TSS, COD, and NH3.
RSM optimization generated the output shown in Figure 6. The optimal values for the sensitive parameters are displayed in red within a specific range. The optimal prediction errors for each state variable are in blue. The vertical lines in red show the optimal parameters within the experimental range of CCD (Table 5).
Figure 6 also presents the relationships between each parameter and the modeling state variables. Changes in YH mainly affected prediction errors of effluent TSS and COD. Variations in the values of the other sensitive parameters affected NH3 prediction errors. It's important to emphasize the effect of μA and bA, whose interaction was the most significant in the ANOVA results of the NH3 regression model. Nonetheless, μA showed two optimal points, on the central and upper regions of the parameter experimental range. The first one was more prominent and consisted of the optimal value determined for the parameter. That situation may be related to the great importance of μA for the NH3 predictions (Petersen et al. 2002), as shown in Figure 3(a)–3(c).
The single value of D, which lies between zero and one, is the overall desirability of the combined response levels. D close to one means that the balance of the properties becomes more feasible. On the other hand, D close to zero indicates that one of the response variables is unacceptable (Lim et al. 2012). The composite desirability showed D=0.9181, pointing out a balance among the responses regarding the optimal values estimated for the sensitive parameters (Kim et al. 2009; Ahn et al. 2014). Each state variable also presented an acceptable value of d (>0.87). Those ds may also be related to the lower and upper limits of prediction error selected for the state variables in the optimization procedure (±5 mg/l for TSS and COD, and ±1 mg/l for NH3). Then, the higher the limit (i.e., for TSS and COD), the higher the estimated prediction error, even though all three were within ±1 mg/l (in blue in Figure 6).
Moreover, the NH3 desirability function (d=0.99331) was the highest among all state variables, besides presenting the lowest RMSE (Table 8). Despite the lack of fit of the NH3 regression model, d and RMSE values are strong reasons to use this regression model in the parameter optimization (Kim et al. 2009; Ahn et al. 2014).
The optimal value estimated for YH was 0.9903, placed between the minimum and central levels of the experimental design (Table 5). That value is relatively higher than the default one (0.67) (Henze et al. 1987). Also, other authors optimized the same parameter and had a maximum value of 0.67 (Hauduc et al. 2011). Baptista (2020) used YH 0.45 on AS modeling of the same WWTP of study. However, that author considered a period of monitoring data between 2006 and 2010 which presented lower values of effluent COD (43 mg/l) and TSS (15 mg/l), compared to the means obtained in the present study for 2018 (COD: 52 mg/l; TSS: 30 mg/l) (Table 1). Such difference may explain the lower value of heterotrophic yield used on ASM1 calibration by that author.
Furthermore, the optimal value calculated in the present study for YH is close to 0.9380, defined in the optimization performed by Lim et al. (2012). The authors also worked on AS modeling using ASM1, even though the physical conditions (flow, sludge wastage, and RAS) were lower than the records of the São João Navegantes WWTP. This could have accounted for the difference in the YH value. In addition, the experimental range tested by those authors was also lower, and the optimal value estimated in that study comprised the higher level of test; that is, close to the one found in the present study. Those results highlight the variability of YH and its relationship with the influent wastewater composition (Henze et al. 1987; Hauduc et al. 2011).
The other sensitive parameters of ASM1 evaluated via RSM are related to NH3 predictions, mainly μA and bA, whose changes had a considerable effect on that state variable (Figure 6). The optimal values estimated for those parameters were 0.012 h−1 (15° C) and 0.0054 h−1 (15° C), respectively. These values were converted to the default unit of ASM1 using Equation (2) and resulted in 0.5 d−1 (20 °C) and 0.22 d−1 (20 °C). The optimal value estimated for μA remained in the usual range presented in the literature (0.2–1) (Ahn et al. 2014). For bA, the optimal estimative was higher than the maximum value observed (0.05–0.15) (Henze et al. 1987).
The optimal values of YA 0.2575 and KOA 0.4536 (Figure 6) were similar to the default values of such parameters: 0.24 and 0.4, respectively (Ahn et al. 2014). On the other hand, KNH 1.4 also showed a higher value than the usual range of 0.75–1 (Hauduc et al. 2011).
Table 9 shows the comparison of observed data, default results, and verification of parameter optimization results. Prediction error ranges and prediction errors estimated by RSM and via simulations on STOAT are also presented.
. | TSS . | COD . | NH3 . |
---|---|---|---|
Observed in 2018 (WWTP)a | 30 | 52 | 4.4 |
Prediction error rangeb | ±5 | ±5 | ±1 |
Prediction error via RSMc | −0.64 | 0.53 | 0 |
Using default parametersd | |||
Predicted mean | 13 | 28 | 0.5 |
Prediction error | −17 | −24 | −3.89 |
Using optimal parametersc | |||
ASM1 calibration | 31 | 51 | 4.25 |
Prediction error | +1 | −1 | −0.14 |
Observed in 2019 (WWTP)a | 21 | 45 | 3.7 |
ASM1 validation | 114 | 141 | 3.8 |
Prediction error | +93 | +96 | +0.1 |
. | TSS . | COD . | NH3 . |
---|---|---|---|
Observed in 2018 (WWTP)a | 30 | 52 | 4.4 |
Prediction error rangeb | ±5 | ±5 | ±1 |
Prediction error via RSMc | −0.64 | 0.53 | 0 |
Using default parametersd | |||
Predicted mean | 13 | 28 | 0.5 |
Prediction error | −17 | −24 | −3.89 |
Using optimal parametersc | |||
ASM1 calibration | 31 | 51 | 4.25 |
Prediction error | +1 | −1 | −0.14 |
Observed in 2019 (WWTP)a | 21 | 45 | 3.7 |
ASM1 validation | 114 | 141 | 3.8 |
Prediction error | +93 | +96 | +0.1 |
Units in mg/l.
Notes: (a) Table 1; (b) Rieger et al. (2013); (c) Figure 6; (d) Table 4.
The predictions of the simulation using default parameters resulted in high prediction errors for all state variables (>45%) compared to the observed data of 2018. Effluent NH3 prediction of that simulation presented the highest variation (90%). Such difference was also found by Baptista (2020); meanwhile, for TSS and COD, the author obtained higher prediction errors compared to the observed data of that study. Therefore, the simulation results using default parameters reinforce the importance of ASM1 calibration for every type of wastewater. Most parameters of ASM1, especially kinetic ones, vary accordingly to the wastewater characteristics throughout space and time (Von Sperling et al. 2020).
The ASM1 calibration used the optimal parameters, resulting in approximately null prediction errors. These errors were different from the ones estimated via RSM, though they were within the range selected for each state variable. Thus, ASM1 was calibrated by applying the optimal parameters estimated via RSM.
The ASM1 validation was performed to verify the applicability of the estimated optimal parameters in simulation using data of a different period; that is, 2019 (Table 1). The results of validation presented around null prediction error for effluent NH3 (Table 9). However, high differences were obtained for TSS and COD.
Such differences are related to the increase in YH compared to the parameter default value (Table 4); that is, 0.67 to 0.99. Even though the regression models of TSS and COD presented goodness of fit, the values tested for YH (Table 5) may not have considered the whole experimental domain of the parameter. Thus, a new experimental range may be evaluated in association with other ranges determined for the other sensitive parameters identified in the present study.
Another explanation for the discrepancy observed consists in the differences in effluent concentrations of TSS and COD between 2018 and 2019, used on ASM1 calibration and validation, respectively. The calibration data presented higher values of TSS and COD compared to 2019 (9 and 7 mg/l higher, respectively), requiring an increase in the heterotrophic yield to reduce the prediction errors for both state variables. The effluent concentration of NH3 was also higher in 2018, though it presented a slight difference related to 2019 (0.7 mg/l higher).
The increase in YH raises the COD transformation efficiency, determining the biomass concentration in the reactor. Hence, it has a high effect on the microbial growth rates and on the sludge production (Petersen et al. 2002; Levy 2007; Chen et al. 2020). Therefore, adjustments in the sludge wastage method may lead to obtaining a suitable YH value for ASM1 calibration and validation, aiming at minimum prediction errors of TSS and COD for the specific modeling conditions of the present study.
After that, the sludge wastage method adopted in the present study; that is, fixed-rate over variable time, may also be the reason for the TSS and COD oscillation peaks observed in the ASM1 calibration and validation simulations (Figure 7).
As estimated values of the AS operation informed by the WWTP (Table 2) were used to determine the sludge wastage method, it may have affected the process performance. Furthermore, the SRT estimate was also based on WWTP data and is linked to the period determined for simulations (20 d=480 h). Baptista (2020) modeled the same WWTP in steady-state conditions and applied 10 days as the period of simulation. In the ASM1 calibration of the present study, the oscillation peaks were at the end of the period; hence, after 10 days of simulation (Figure 7(a)). Although in the ASM1 validation the peaks started after 100 hours (Figure 7(b)); that is, less than 10 days of simulation, the SRT estimate may have been overrated. Therefore, accurate AS operation data would aid in improving process performance on modeling. Also, other methods of sludge wastage (constant or fixed time over variable rate), and changes in operational parameters of ASM1 and Version 3 may contribute to control predictions of effluent TSS and COD.
Moreover, such peaks always happened when the YH upper level of test was chosen in the simulations performed via CCD (Table 5) (see Results of CCD simulations in Supplementary Material). Then, those peaks are also related to the increase of YH and its influence on the biomass concentration in the treatment process (Levy 2007).
The heterotrophic yield sensitivity is highlighted in optimizing ASM1 parameters (Hauduc et al. 2011). It's important to determine the value of such parameter for every type of wastewater, as YH is commonly changed in ASM1 modeling (Henze et al. 1987) and each WWTP should be modeled assuming specific conditions related to its reality and challenges (Borzooei et al. 2019). Then, the wastewater physical and chemical composition, especially temperature, may have influenced YH hence the predictions of effluent TSS and COD on STOAT using the optimal value estimated for the parameter. Also, the results of the present study support that attention should be dedicated to the calibration of YH.
Otherwise, in addition to the high variation of NH3 prediction in the simulation using default parameters (Table 9), all six sensitive parameters affected this state variable (Figure 2(c)). Five of these parameters are related to the autotrophic microorganisms (YA), N content, and specifically to ammonia (μA, KNH, bA, and kOA). The optimal values estimated for all of them were appropriate for both calibration and validation of ASM1, and the NH3 prediction errors were lower than 1 mg/l. Therefore, such parameters are related to wastewater concerning subtropical climate conditions being a reference for other applications.
CONCLUSIONS
AS process of a large-scale WWTP within a subtropical climate region in Brazil was modeled using standard monitoring data set, the ASM1 model, and the STOAT program.
With sensitive analysis, six parameters of ASM1 were identified as sensitive to effluent TSS, COD, and NH3 predictions: two stoichiometric (YH and YA) and four kinetic (μA, KNH, bA, and kOA). Sensitive parameters were evaluated and optimized via RSM aiming at minimum prediction errors for modeling state variables. YH mainly affected TSS and COD predictions; meanwhile, NH3 predictions were influenced by changes in the other sensitive parameters.
Estimated optimal parameters were used on ASM1 calibration resulting in approximately null prediction errors for effluent TSS, COD, and NH3. In the ASM1 validation, the same was obtained for NH3, even though high prediction errors were observed for TSS and COD. Such errors are related to an increase in YH through parameter optimization that highlights the sensitivity of this parameter on ASM1 modeling.
The parameters optimized in the present study, mainly YA, μA, KNH, bA, and kOA, whose optimal values were appropriate for effluent NH3 predictions in the ASM1 calibration and validation, constitute references for other studies on modeling using wastewater data from a subtropical climate region. In particular, those optimal parameters may be effective on either steady-state or dynamic AS modeling using the STOAT program and monitoring data of large-scale WWTP in the mentioned climate conditions.
The quantity and quality of the WWTP monitoring data set used to characterize the AS process and wastewater, and the typical ratios adopted at influent fractionation restrict the application of the optimized parameters. Also, factors related to the sinusoidal simulation pattern and the sludge wastage method consist of specific modeling conditions and deserve attention.
The optimal value estimated for YH needs to be evaluated considering tests on a new experimental range and/or adjustments in the sludge wastage method.
The optimal parameters may be tested on a ASM1 cross-calibration/validation; that is, data of validation (2019) for calibration and calibration (2018) for validation; on dynamic modeling studies; and applied at the modeling of similar WWTPs. It is recommended to use the optimal parameters for evaluating the simulation period and different sludge wastage methods on ASM1 and STOAT modeling. Furthermore, it's important to assess and optimize Version 3 parameters and other operational parameters of AS process on modeling using the estimated optimal ASM1 parameters to improve the removal of TSS, COD, and NH3.
ACKNOWLEDGEMENTS
The authors appreciate the support of the DMAE/Porto Alegre, the NAE/UFRGS, the community WRc STOAT as Freeware, and the financial aid of the CAPES/Brazil.
DATA AVAILABILITY STATEMENT
All relevant data are included in the paper or its Supplementary Information.