Uncertainty assessment of a model for biological nitrogen and phosphorus removal: Application to a large wastewater treatment plant

Uncertainty assessment of a model for biological nitrogen and phosphorus removal: Application to a large wastewater treatment plant

Physics and Chemistry of the Earth 42–44 (2012) 61–69 Contents lists available at ScienceDirect Physics and Chemistry of the Earth journal homepage:...

925KB Sizes 0 Downloads 44 Views

Physics and Chemistry of the Earth 42–44 (2012) 61–69

Contents lists available at ScienceDirect

Physics and Chemistry of the Earth journal homepage: www.elsevier.com/locate/pce

Uncertainty assessment of a model for biological nitrogen and phosphorus removal: Application to a large wastewater treatment plant Giorgio Mannina ⇑, Alida Cosenza, Gaspare Viviani Dipartimento di Ingegneria Civile, Ambientale e Aerospaziale, Università di Palermo, Italy

a r t i c l e

i n f o

Article history: Available online 20 April 2011 Keywords: Activated-sludge models Calibration Nitrogen phosphorus removal Uncertainty analysis Wastewater modelling

a b s t r a c t In the last few years, the use of mathematical models in WasteWater Treatment Plant (WWTP) processes has become a common way to predict WWTP behaviour. However, mathematical models generally demand advanced input for their implementation that must be evaluated by an extensive data-gathering campaign, which cannot always be carried out. This fact, together with the intrinsic complexity of the model structure, leads to model results that may be very uncertain. Quantification of the uncertainty is imperative. However, despite the importance of uncertainty quantification, only few studies have been carried out in the wastewater treatment field, and those studies only included a few of the sources of model uncertainty. Seeking the development of the area, the paper presents the uncertainty assessment of a mathematical model simulating biological nitrogen and phosphorus removal. The uncertainty assessment was conducted according to the Generalised Likelihood Uncertainty Estimation (GLUE) methodology that has been scarcely applied in wastewater field. The model was based on activated-sludge models 1 (ASM) and 2 (ASM2). Different approaches can be used for uncertainty analysis. The GLUE methodology requires a large number of Monte Carlo simulations in which a random sampling of individual parameters drawn from probability distributions is used to determine a set of parameter values. Using this approach, model reliability was evaluated based on its capacity to globally limit the uncertainty. The method was applied to a large full-scale WWTP for which quantity and quality data was gathered. The analysis enabled to gain useful insights for WWTP modelling identifying the crucial aspects where higher uncertainty rely and where therefore, more efforts should be provided in terms of both data gathering and modelling practises. Ó 2011 Elsevier Ltd. All rights reserved.

1. Introduction During the last decades, interest in mathematical modelling of wastewater treatment plant (WWTP) processes has increased. The mathematical models have contributed to increasing knowledge in this field. The activated-sludge models (ASMs) (Henze et al., 2000) proposed by the working group of the International Water Association (IWA) have been applied several times in order to best understand how to improve plant design, how to optimise the processes and which control strategies to prefer (Jeppsson et al., 2007; Salem et al., 2002; Flores-Alsina et al., 2005). The application of WWTP models makes it possible to improve designs: an overall optimisation of the involved processes increases efficiency and enables better compliance with increasingly stringent regulations (Belia et al., 2009). Nevertheless, modelling activated-sludge systems is not easy because biological systems, as well as each natural environmental system, are intrinsically complex and are subject to many natural variations. The activated-sludge process cannot be ⇑ Corresponding author. Tel.: +39 0916657756; fax: +39 0916657749. E-mail address: [email protected] (G. Mannina). 1474-7065/$ - see front matter Ó 2011 Elsevier Ltd. All rights reserved. doi:10.1016/j.pce.2011.04.008

considered a well-characterised process, and some activated-sludge model parameters are uncertain (Flores-Alsina et al., 2008). Consequently, the application of ASMs requires a great number of assumptions concerning influent wastewater composition and model parameters. Traditionally, WWTP process simulators assume constant rather than variable model parameters and are thus not capable of taking into account the inherent randomness of these parameters (Flores-Alsina et al., 2008). Such assumptions have a significant influence on the model predictions and could lead engineers to make erroneous decisions during their design or optimisation of a project. Therefore, an accurate analysis and quantification of model uncertainty is imperative. The assessment and presentation of uncertainty are widely recognised as important parts of the analysis of complex water systems (Beck, 1987). They allow modellers to identify the sources of error in the modelling process and to learn how the errors spread to the model outputs. During the last few years, scientific research in the wastewater modelling field has focused on uncertainty issues, and some publications have appeared in the literature (among others, Mannina et al., 2010; Sin et al., 2009; Neumann and Gujer, 2008; Benedetti et al., 2008; Flores-Alsina et al., 2008; Bixio et al., 2002). Different

62

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

approaches have been proposed for the assessment of uncertainty. These studies have all demonstrated that taking uncertainty into account can affect the decision-making process for a design project or in the prediction of plant behaviour. For instance, Bixio et al. (2002) suggested a methodology for quantification of the uncertainty of a WWTP model using a Monte Carlo simulation. The methodology takes into account the input and parameter uncertainties in order to evaluate how the uncertainty can improve the likelihood of meeting effluent standards without requiring above-average capital investments. Bixio et al. (2002) demonstrated that considering uncertainty can even reduce the capital investment. However, few studies yet deal with uncertainty in wastewater treatment modelling. Indeed, as pointed out by Sin et al. (2009), the field of uncertainty analysis of WWTP models is still in its infancy. This conclusion was also one of the main outcomes at the recent WWTPMod2008 workshop on uncertainty (Belia et al., 2009). Manifold sources of uncertainty in the model predictions have been identified and, as suggested by the literature, can be classified as follows (Belia et al., 2009): (1) uncertainty in external influence factors (e.g., the measurement errors that affect the observed input data), which can have significant effects on model predictions; (2) uncertainty in the model structure, which is attributable to an inappropriate model that is too simple compared with the complexity of the real system that it tries to represent (e.g., inadequate selection of processes algorithms); (3) uncertainty in model parameter values (e.g., wrong estimation of parameter values); and (4) uncertainty in the numerical calculations used to solve the model algorithms (e.g., programming errors). Bearing these considerations in mind, this study presents an uncertainty analysis of a mathematical model for the simulation of biological nitrogen and phosphorus removal processes. The uncertainty analysis is assessed by means of the Generalised Likelihood Uncertainty Estimation (GLUE) methodology (Beven and Binley, 1992). This methodology is one of the most widely used methods for investigating uncertainties in hydrology, and is now spreading into other research fields (among others, Mannina, 2011; Mannina and Viviani, 2010; Freni et al., 2009a). The goal of the study was to test the suitability of such a methodology for WWTP modelling in order to provide an easy and useful tool for uncertainty assessment, a topic that is still only rarely addressed compared with other research fields. More specifically, the paper explore the suitability of the GLUE methodology for the uncertainty assessment of a real large WWTP which operates for the biological nutrient removal. This fact is relevant, since as far as authors know, uncertainty assessment to real WWTP are lacking in the literature although of relevant importance. Indeed, previous studies mainly focus on pilot plant or benchmarking studies (see, Sin et al., 2009; Mannina et al., in press).

2. Materials and methods 2.1. Uncertainty assessment As outlined in the introduction, in the present study, the GLUE methodology was used for uncertainty quantification (Beven and Binley, 1992). To apply the GLUE methodology, the model was solicited by randomly sampled parameter sets through Monte Carlo simulations. By means of a likelihood measure, E, parameter sets can be classified; sets with poor likelihood weights with respect to a user-defined acceptability threshold (Tr) are discarded as ‘‘nonbehavioural’’. All parameter sets coming from the behavioural simulation runs are retained, and their likelihood weights are rescaled so that their cumulative total sum is equal to one. The likelihood measure E represents the ability of the model to fit real data. On

the other hand, the acceptability threshold Tr represents a user-defined critical value indicating the minimum value of E that each modelling simulation should have in order to be representative of the model behaviour with respect to the analysis aim. Tr is usually set equal to zero. In the present study, the following equation from Freer et al. (1996) was employed as a likelihood measure:

Lðhi =YÞ ¼ exp

r2MjOj

r2Oj

! ð1Þ

where hI, represents the ith set of model parameters (randomly generated), r2MjOj is the variance of the residuals between model and observations of the jth simulated model output and r2Oj is the variance of observations for the period under consideration. Treating the distribution of likelihood values as a probabilistic weighting function for the predicted variables, it is possible to assess the uncertainty associated with the predictions (conditioned on the definition of the likelihood function) of the input data and model structure. A method of deriving predictive uncertainty bands from the behavioural simulations using the likelihood weights has been shown by Beven and Binley (1992). The uncertainty bands are calculated using the 5th and 95th percentiles of the predicted output likelihood weighted distribution. Wider bands mean higher uncertainty in the estimation of the modelling output and thus lower confidence in the model results. The GLUE methodology can also be used to analyse the impact of each parameter on modelling outputs. Plotting the cumulative likelihood distributions for the set of behavioural simulations (E P Tr) and the set of unconditioned cumulative distributions, respectively, it is possible, by comparing the deviation between the two, to determine if the model output in question is sensitive to changes in the parameter values. If little difference between the two cumulative distribution functions (CDFs) is found, the parameter is considered non influential with regard to the model output. Conversely, if a great difference is found, the parameter is considered to be influential. Applying the nonparametric Kolmogorov–Smirnov d-statistic (maximum distance between the two CDFs), a measure of sensitivity is introduced, i.e., d = 1 is the most sensitive and d = 0 is non-sensitive (Hornberger and Spear, 1981; Beven et al., 2008; Freni et al., 2009c). This sensitivity analysis is used to determine the relative importance of each parameter in the model structure. Regarding the advantages and drawbacks of the GLUE it has to be stressed that such a methodology is a non-formal Bayesian methodology that facilitates an easy assessment of uncertainty. On the other hand, in formal Bayesian methodology, a formal description of the likelihood function is always required. This is extensively discussed in the literature. For example, Mantovan and Todini (2006) reported incoherencies of the GLUE methodology with Bayesian inference. Beven et al. (2007) replied that formal Bayesian inference is a special case of GLUE when a formal likelihood description is used. Regardless of this discussion, Freni et al. (2009b) also demonstrated that both methods perform similarly when the GLUE methodology is based on the same assumptions as the Bayesian approach. Due to such subjective hypothesis, the GLUE results can be affected by the definition of parameter variation ranges. This definition can influence the analysis because it defines the domain where the model uncertainty is evaluated. The selection of the parameter variation ranges can be accomplished by considering the physical meaning of the parameters, but this approach cannot be used for conceptual parameters that have a weak link to the physical system. In addition, this approach can produce variation intervals that are too wide, thereby leading to the problems described above.

63

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

It is important to point out that the model uncertainty response is certainly influenced by the subjective hypotheses that have been made applying the GLUE methodology such as the choice of the efficiency-measure. However, although GLUE can be affected by subjective hypothesis, it is a valuable and easy to use tool for uncertainty. 2.2. The case study The municipal activated-sludge WWTP under study was located in Sicily, Italy, and had an outflow to the Mediterranean Sea. The plant was designed for a design capacity of 40,000 inhabitant equivalents (IE). The influent of the WWTP, with average and maximum values of 400 m3/h and 600 m3/h respectively, consisted of domestic and non-industrial wastewater produced by a nearby refinery. After the pretreatment step (coarse grit removal, fine grit removal, filtration with a rotating panel, sand and grease removal), the influent was introduced into an equalisation tank with a volume of 1700 m3 in which the wastewater was discontinuously aerated (3 h/d). The effluent of the equalisation tank flowed to the biological activated-sludge treatment area, which consisted of an activated-sludge reactor designed according to a Bardenpho scheme and a secondary clarifier (with a volume of 2885 m3) where the COD, N and P removal was accomplished (Fig. 1). More specifically, the activated-sludge reactor was composed of three completely mixed compartments of different sizes. The first compartment operated as an anaerobic zone, the second as an anoxic zone and the third as an aerobic zone, with volumes (V) of 900, 1140 and 5800 m3, respectively. Return activated sludge (RAS) from the bottom of the secondary clarifier and internal mixedliquor recirculation (MLR) from the end of the aerobic zone were pumped to the anaerobic and anoxic zones, respectively. Aeration was supplied by 900 fine bubble diffusers positioned on the bottom of the aeration zone. The influent flow rate (QINF) under normal operating conditions was approximately 400 m3/h; the MLR flow rate (QMLR) and the RAS recirculation (QRAS) were generally set to 3 and 1.5 QINF,

respectively. The waste activated sludge (WAS) was simply dewatered by a belt-press filter. 2.3. Model description The model adopted in this study was able to reproduce the nitrification–denitrification/enhanced biological phosphorus removal processes occurring in a full-scale WWTP characterised by a Bardenpho scheme. The model was built on ASM concepts; in particular, the complexity of the ASM2 model was reduced by omitting processes that did not play a significant role and components that did not have a dominant effect upon the kinetics of the processes (Henze et al., 2000). The model describes the following variables: ammonia (NH4– N), nitrate (NO3–N), total soluble phosphate (PStot), total COD (CODTOT), particulate material (XTSS) and total soluble COD (CODsol). The model did not take into account the solid–liquid separation in the secondary clarifier. Accordingly, the concentrations of the soluble components in the returned activated sludge were assumed to be equal to the effluent concentrations from the aerobic reactor. Similarly to ASM2, the developed model includes cell internal storage compounds. However, to improve model performance, some of the ASM1 processes and components were considered for addition to ASM2. In particular, the ammonification process was employed to describe the release of ammonium (SNH4) from soluble biodegradable organic nitrogen (SND). In further analogy to ASM1, the hydrolysis of particulate biodegradable organic nitrogen (XND) was included as a separate process. In contrast to ASM2, chemical precipitation of phosphorus was not included in the model because no chemical flocculants were added. As in most WWTPs the nitrite and nitrate inflow concentration were assumed to be zero, so the influent soluble nitrogen only consists of ammonium and biodegradable organic nitrogen. Besides, the measured values of the temperature and pH, respectively close to 20 °C and neutrality, were not strongly varying during the

Section 0 CODTOT; CODsol ;N-NH4

Section 1 CODsup; N-NH4; P-PO4

Section 3 CODsup; CODsol ; N -NH4; N-NO3

N-NO2; P-PO4; TP

TPsol; TSS

P-PO4; TPsol; TSS; SVI

TSS ;TKN ; N-NO3

O2; TKN Section 2 CODsup; N-NH4

Section 4

N-NO3; TSS

TSS

Secondary clarifiers Anaerobic

Anoxic

Aerobic

tank

tank

tank

V=900m3

V=1140m3

V=5800m3

MLR RAS Section 5 CODsup; N-NH4 ; N-NO3 TSS; TPsol Fig. 1. Flow sheet of WWTP with locations of sampling points.

WAS

64

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

Table 1 Stoichiometric matrix for soluble and particulate model components; the stoichiometric coefficients for XTSS may be computed from the continuity equation. Process;

Stoichiometric matrix for soluble and particulate model components Component?

1 2 3 4 5 6 7

Aerobic hydrolysis Anoxic hydrolysis Anaerobic hydrolysis Aerobic hydr. of XND Anoxic hydr. of XND Ammonification of SND Aerobic growth on SF

8

SO2

SF

SA

SNH4

SNO3

SPO4

SND

1  fSI 1  fSI 1  fSI

XI

fSI fSI fSI

 Y1H

1 iNBM

Anoxic growth on SF

 Y1H

iNBM

9 10 11 12 13

Fermentation Lysis of XH Storage of XPHA Storage of XPP Aerobic growth of XPAO

1

14 15 16 17

Lysis of XPAO Lysis of XPP Lysis of XPHA Growth of XAUT

18

Lysis of XAUT

1  Y1H

SI

XS

XH

XPAO

XPP

XAUT

XPHA

XND

XTSS

v1,TSS v2,TSS v3,TSS

1 1 1

+1 +1 1

1 1 1 1

1Y H  2:86Y H

1 fXI

1  fXI

YPHA 1  Y1H

ð1  fXI ÞiNBM

1

YPOA 1 iPBM

1

1 YPHA  Y1H

YPOA 1 1 fXI

1  fXI

ð1  fXI ÞiNBM

1 1 1

A  4:75Y YA

iNBM  Y1A

1

 Y1A iPBM

fXI

1  fXI

1

ð1  fXI ÞiNBM

Table 2 Process rate equations for model. Process Hydrolysis processes 1

Rate equation

Aerobic hydrolysis

SO2 S =X H K H K XXþX XH S =X H K OH þSO2

2

Anoxic hydrolysis

K OH SNO3 S =X H XH K H gNO3H K XXþX S =X H SO2 þK OH K NO þSNO3

3

Anaerobic hydrolysis

K OH S =X H XH K H gFE K XXþX S =X H SO2 þK OH

4

Aerobic hydrolysis of XND

SO2 X ND S =X H K H K XXþX XH S =X H SO2 þK OH X S

5

Anoxic hydrolysis of XND

K OH SNO3 X ND S =X H K H gNO3H K XXþX XH S =X H SO2 þK OH K NO þSNO3 X S

6 7

Ammonification of SND Heterotrophic organisms processes: XH Aerobic growth on SF

X H K AMM SND

8

Anoxic growth on SF

SO2 SF SPO4 SNH4 F lH SF SþK XH F SO2 þK OH SF þSA SPO4 þK P K NH þSNH4 K OH SO2 SPO4 SNO3 SNH4 SF F lH gNO3D SF SþK XH F SO2 þK OH SO2 þK OH SF þSA SPO4 þK P SNO3 þK NO K NH þSNH4

Fermentation

K OH SF qFE SF þK XH FE SO2 þK OH

10 11

Lysis of XH Phosphorus accumulating organisms (PAO): XPAO Storage of XPHA

bH X H

12

Storage of XPP

=X PAO K MAX X IPP =X PAO X O2 SPO4 qpp K PHAX PHA þX PHA =X PAO K OH þSO2 K PS þSPO4 K IPP þK MAX X IPP =X PAO X PAO

13

Aerobic growth on XPHA

=X PAO SO2 SPO4 SNH4 lPAO K PHAXPHA þX PHA =X PAO SO2 þK OH K P þSPO4 SNH4 þK NH4 X PAO

14 15 16 17

Lysis of XPAO Lysis of XPP Lysis of XPHA Nitrifying organisms (autotrophic organisms): XAUT Growth of XAUT

bPAO X PAO bPP X PP bPHA X PHA

18

Lysis of XAUT

bAUT X AUT

9

simulation period. The latter two considerations enabled further simplification of the model equations and therefore a reduction in the number of model parameters to be considered for the calibration. The kinetic parameters’ temperature dependency did not have to be taken into account during calibration and the alkalinity of the wastewater was not introduced as a model component. Nevertheless, whenever the model is used at other temperatures than 20 °C, the developed model uses the temperature correction term according to van’t Hoff-Arrhenius, in line with the ASM models (Henze et al., 2000). In Table 1, the model processes and the stoichiometric coefficients for soluble and particulate model components, according to the Gujer matrix, are presented (Henze et al., 2000). The process rate equations are summarised in Table 2. The model was calibrated using the design and operational data of a real WWTP and chemical–physical data collected during an ad hoc field data-gathering campaign carried out during the period from 01 March 2006 to 12 April 2006 in the same plant. In partic-

SA PP =X PAO qPHA K PPXþX X PAO PP =X PAO SA þK A

SPO4 SNH4 O2 lAUT SO2SþK X AUT OH SPO4 þK P K NH þSNH4

ular, total suspended solids (TSS), total and soluble COD (CODTOT and CODsol), ortho-phosphate (P–PO4), total soluble phosphorus (PStot), NH4–N, NO3–N, dissolved oxygen, temperature, pH and air flow rate were monitored in different sections of the plant. The samples were withdrawn from the effluent of the anaerobic, the anoxic and the aerobic tank (Sections 1-4) and from the RAS channel (Section 5). For further details on the model calibration and the gathering campaign, the reader is referred to Mannina et al. (2011). In the following section, the model parameters are reported according to the ASM notation (Henze et al., 2000).

3. Results and discussion 3.1. Methodology application In order to reduce the number of parameters, a preliminary local sensitivity analysis was carried out before the model uncer-

65

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

tainty analysis (details are discussed in Mannina et al. (in press)). Following this preliminary model parameter analysis, the number of sensitive model parameters was 29. These 29 parameters were allowed to vary during Monte Carlo simulations, while 12 were held constant. In this way, the impact of such a reduction on the reported uncertainty outputs was quantified. In particular, for each influential model parameter, a uniform distribution was considered, and the broadest variation range-drawn from the relevant literature (Henze et al., 2000; Weijers and Vanrolleghem, 1997; Alfonso and Cunha, 2002; Iacopozzi et al., 2007; Sin et al., 2009; Flores-Alsina et al., 2008) was selected in order to explore the overall confidence region. In Table 3 the employed values are reported. It is important to emphasise that the parameter variation ranges considered during the uncertainty analysis were equal to the ranges that were used during the sensitivity analysis and the model calibration steps. To apply the GLUE methodology, the defined parameter space for each influential parameter was randomly sampled with the Monte Carlo technique. In particular, 1000 behavioural simulations were run on randomly sampled parameter sets. This number of simulations has been found to be consistent with the objectives of the present study. Specifically, a sample dimension was selected, verifying that the uncertainty analysis was not affected by any bias linked to the number of Monte Carlo simulations. This study was

carried out by analyzing the statistics and variations and changing the sample dimensions between 100 and 1000 behavioural simulations (Bertrand-Krajewski et al., 2002). For each parameter set, the uncertainty was spread by running the model simulation, and a likelihood measure was computed for each model variable in order to evaluate the ability of the model to fit real data. At the end of this step, we had 1000 likelihoods and 1000 respective dynamic profiles for each model variable. According to Eq. (1), the likelihood measure varies between 0 and 1, with a likelihood of 1 corresponding to a perfect fit. For large errors, the likelihood becomes 0 as the ratio goes to infinity. In order to evaluate how the parametric uncertainty was spread in the model output variables (owing to the sensitive model parameters), the nonparametric Kolmogorov–Smirnov d-statistic (d K–S) was assessed (Smirnov, 1948). As outlined in the previous paragraph, in order to evaluate how the uncertainty of the sensitive model parameters was spread in each model output variable and in the global model response, the d K–S was calculated for each model output. Therefore, the cumulative likelihood distribution of the 1000 likelihoods was computed and compared with the cumulative density function of the uniform distribution (CDFu) for each model output variable and sensitive parameter. Regarding the global model response, the cumulative likelihood of the model (EMOD) was computed by considering the weighted sum of the efficiencies of the n model

Table 3 Calibrated model parameters values, parameter variation ranges and literature references.

a b

Description

Symbol

Unit

Saturation coefficient for P in growth Yield coefficient nitrifying organisms Maximum growth rate on substrate Maximum growth rate, nitrifiers Saturation coefficient for P in PP storage Fraction Xi generated in biom. lysis Saturation coefficient for PHA Anoxic hydrolysis reduction factor Anaerobic hydrolysis reduction factor Maximum growth rate of PAO Fraction of inert COD in part, substrate Saturation/inhibition coefficient for nitrate Rate constant for lysis Hydrolysis rate constant Maximum rate for fermentation Saturation coefficient for O2 heter. organ. Rate constant for storage of PP Ammonification coefficient Saturation coefficient for O2 autot. organ. Rate constant for lysis of XPHA Dacay rate of nitrifiers Saturation coefficient for SA Saturation coefficient for poly-phosphate Yield coefficient of heterot. organisms Rate constant for lysis of XPP PHA requirement for PP storage Reduction factor for denitrification Saturation coefficient for particulate COD Saturation coefficient for ammonium Maximum ratio of Xpp/XPao Inhibition coefficient for XPP storage Fraction of SF in influent total COD Fraction of SA in influent total COD Fraction of XI in influent total COD Fraction of SI in influent total COD Rate constant for storage of PHA Saturation coefficient for growth on SF PP requirement for PHA storage Rate constant for lysis of XPAO Oxygen mass transfer coefficient Fraction of XS in influent total COD

KP YAUT

gP/m3 gCOD/gN d1 d1 gP/m3 gCOD/gCOD gXPHA/gXPAO – – d1 gCOD/gCOD gN/m3 d1 d1 gSF/(gXH  d) gO2/m3 gXPP/(gXPAO  d) m3COD/(g  d) gO2/m3 d1 d1 gCOD/m3 gXPP/gXPAO gCOD/gCOD d1 gCOD/gP – gxs/gxH gN/m3 gXPP/gXPAO gXPP/gXPAO gCOD/gCOD gCOD/gCOD gCOD/gCOD gCOD/gCOD gXPHA/(gXPA0  d) gCOD/m3 gP/gCOD d1 d1 gCOD/gCOD

lH lAUT KPS fXI KPHA

gNO3H gFE lPAO fSI KNO bH KH qFE KOH qPP KAMM KOA bPHA bAUT KA KPP YH bPP YPHA

gNO3D Kx KNH kMAX KIPP FSF FSA FXI FSI qPHA KF YPO4 bPAO KI a FXS

Calibrated 0.23 1.8 1.09 0.08 0.72 0.24 0.912 0.001 0.34 0.264 2.76 2.928 0.29 1.34 2.5

3.52 0.017 0.45

0.57 0.036 1.41

0.18 0.09 0.093 0.021 3.84 7.55 0.11

0.616

Range

References

0.005–0.015 0.05–0.3 0.6–13.2 0.2–1.2 0.1–0.3 0.05–0.4 0.007–0.015 0.55–0.9 0.2–0.45 0.67–1 0–0.0178 0.1–0.55 0.02–1.44 0.96–3 1.5–3 0.01–0.5 1–1.5 0.04–0.08 0.4–3 0.1–0.2 0.05–0.2 3.5–4.5 0.01–0.02 0.38–0.75 0.1–0.3 0.1–0.3 0.55–0.85 0.01–0.15 0.2–1.5 0.2–0.51 0.01–0.03 0.1633–0.25 0.02–0.1 0.09–0.1307 0–0.0178 2–6 4–14 0.1–0.6 0.1–0.2 84–360 0.5–0.72

Henze et al., 2000 a Weijers and Vanrolleghem, Jeppsson, 1996 Alfonso and Cunha, 2002 Henze et al., 2000 Weijers and Vanrolleghem, Henze et al., 2000 a Henze et al., 2000 a Henze et al., 2000 Henze et al., 2000 Weijers and Vanrolleghem, Weijers and Vanrolleghem, Jeppsson, 1996 Jeppsson, 1996 Henze et al., 2000 Jeppsson, 1996 a Henze et al., 2000 Jeppsson, 1996 Jeppsson, 1996 a Henze et al., 2000 Jeppsson, 1996 Henze et al., 2000 a Henze et al., 2000 a Jeppsson, 1996 Henze et al., 2000 Henze et al., 2000 a Henze et al., 2000 a Alfonso and Cunha, 2002 Henze et al., 2000 a Rieger et al., 2001 Henze et al., 2000 a Weijers and Vanrolleghem, Henze et al., 2000 Henze et al., 2000 Henze et al., 2000 Henze et al., 2000 a Henze et al., 2000 Henze et al., 2000 a Henze et al., 2000 Iacopozzi et al., 2007 b

Variation range adapted as a percentage of default values and taking into account, on the basis of literature studies, the reasonable physical values. The variation range was defined on the basis of FSF, FSA, FSI, FXI.

1997

1997

1997 1997

a

1997

a

a

66

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

d K-S

(a)

1

CODTOT,1

0.8 0.6 0.4

0

(b)

KH η NO3H η FE KO K NO KX μH q FE bH η NO3D KF KA K NH μ AUT K OA q PHA q PP μ PAO K PP fSI YA YH fxi ypo fSF F XI F SI fSA K LA

0.2

1

CODTOT,2

d K-S

0.8 0.6 0.4

0

(c)

KH η NO3H η FE KO K NO KX μH q FE bH η NO3D KF KA K NH μ AUT K OA q PHA q PP μ PAO K PP fSI YA YH fxi ypo fSF F XI F SI fSA K LA

0.2

1

CODsol,3

d K-S

0.8 0.6 0.4

0

(d)

KH η NO3H η FE KO K NO KX μH q FE bH η NO3D KF KA K NH μ AUT K OA q PHA q PP μ PAO K PP fSI YA YH fxi ypo fSF F XI F SI fSA K LA

0.2

1

EMOD

d K-S

0.8 0.6 0.4

0

KH η NO3H η FE KO K NO KX μH q FE bH η NO3D KF KA K NH μ AUT K OA q PHA q PP μ PAO K PP fSI YA YH fxi ypo fSF F XI F SI fSA K LA

0.2

Fig. 2. d K–S values for CODTOT,1 (a), CODTOT,2 (b), CODsol,3 (c) and for the total model response computed considering EMOD (d).

outputs for each model run and then comparing it with the CDFu. In particular, the d K–S represents the maximum absolute value of the distance between the cumulative likelihood distributions and the CDFu, and it is generally used as a measure of parameter sensitivity. Values of d close to 1 indicate a very high sensitivity, whereas a d-value close to 0 indicates low sensitivity (Thorndahl et al., 2008). 3.2. Model parameter uncertainty results and model uncertainty bands In Fig. 2, the d K–S values of some model variables are shown. The results show a different response in terms of the spread level of parametric uncertainty, depending on the model output variable considered. The COD showed the highest values of d K–S for the different parameters (Fig. 1a–c). Indeed, the d K–S of the rate constant for the lysis of heterotrophic biomass (bH) had the maximum absolute value, equal to 0.9 for CODTOT,2. The CODsol,3 (Fig. 2c) is the model variable for which the parametric uncertainty was more evident. In this case, 42% of the model parameters had a d K–S value higher than 0.2. In general, lAUT and KNH showed the highest sensitivity. The calibrated value of the nitrifying growth rate, lAUT = 1.08 d1, was in agreement with literature values (referred to a temperature of 20 °C): 1.2 d1 (Makinia et al., 2005), 1.8 d1 (Rieger et al., 2001), 1 d1 (Henze et al., 2000) and 0.55 d1 (Ferrer et al., 2004). Conversely, referring to KNH = 1.41 gN/m3, there was a substantial difference with the value presented by Makinia et al. (2005), where

the value is 0.2 gN/m3. However, lower values of this parameter are commonly encountered in pilot plants because of a lower diffusion limitation related to the higher turbulence and smaller flocs in comparison with full-scale plants (Henze et al., 2000). Regarding the calibrated value of YPO4 = 0.11 gP/gCOD, this value was not close to the default value (Henze et al., 2000). Similar results were obtained by Machado et al. (2009), which the authors explained by the presence of glycogen-accumulating organisms (GAOs) not considered by ASM2. Indeed, under anaerobic conditions, PAOs and GAOs can alternatively store fermentation products, SA. While PAOs utilise the energy obtained from the hydrolysis of poly-phosphate and from glycogen degradation, GAOs use only the energy from glycogen degradation. This fact justifies the decreases of the YPO4 value with the increase in the GAO population (Ferrer et al., 2004). Nevertheless, despite agreement with the aforementioned parameter values, it has to be stressed that with respect to their level of sensitivity, the parameter significance levels may differ from one plant to another because of changes in the process scheme and available data (among others, Ruano et al., 2007). In terms of global model response (Fig. 2d), it is worthwhile to observe that the parametric uncertainty is flatter because it is computed on the weighted sum of the efficiencies of the n model outputs. However, the global model response, like the single model variable, was still the most sensitive model output and was sensitive to the parameters bH, lH and lAUT. In Fig. 3, the cumulative likelihood of bH, lH and lAUT are reported. The results show that in terms of the global model response, despite the higher compen-

67

Cumulative likelihood

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

1

CDFu

0.8 d

0.6 0.4 0.2

1

0.8

0.8

0.6

0.6

0.4

0.4

0.2

(a)

0 0.02

1

0.2

(b)

0.72

1.42

(c)

0

0 0.5

-1

4

7.5

0.2

0.7

1.2

μAUT [day-1]

μH [day-1]

bH [day ]

Fig. 3. Cumulative likelihood of the model for bH (a), lH (b) and lAUT (c).

Measured data

Max efficiency

5% percentile

100

95% percentile

50

(b) 600 CODTOT,1 [mg/L]

SNH4,1 [mg/L]

(a) 150

400

200

0

0 0

4

8

0

12 16 20 24 28 32 36 40 44

4

8

(d) 500

6

CODTOT,2 [mg/L]

SPO4,1 [mg/L]

(c)

4

2

0

400 300 200 100 0

0

4

0

8 12 16 20 24 28 32 36 40 44

4

8

CODsol,3 [mg/L]

SNH4,2 [mg/L]

(f)

90

60

30

12 16 20 24 28 32 36 40 44 Time [days]

Time [days]

(e)

12 16 20 24 28 32 36 40 44 Time [days]

Time [days]

60 50 40 30 20 10 0

0 0

4

8

12 16 20 24 28 32 36 40 44

0

4

8 12 16 20 24 28 32 36 40 44 Time [days]

Time [days] Fig. 4. 5th percentile and 95th percentile.

sation effect among the parameters, the model outputs were strongly influenced by such parameters. It is worth mentioning that quantitative prioritization of the model parameter was really useful. Indeed, this represents one of the main advantage of the employed method. The finding that almost half the parameters had little effect on the performance is an implicit rebuke to the architects of these models, implying the models are too complex for the selected case study. The 1000 likelihoods and the 1000 respective dynamic profiles for each model variable were used to compute the cumulative likelihood of each variable at each simulation time. According to the GLUE procedure, the 5th and 95th percentiles of the cumulative likelihood distributions for each simulation time step and for each model output were then used for calculating uncertainty bands. In Fig. 4, the uncertainty bands of some model outputs considered during the uncertainty analysis are reported.

Analyzing the graphs reported in Fig. 4, it is evident that the results of the uncertainty analysis performed in this study show different response with respect to the model output considered. Indeed, the uncertainty band widths for COD (Fig. 4b, d and f) are generally wider than the nitrogen components (Fig. 4a and e). Such a result is likely due to the different amplitude of the model parameter ranges employed. Indeed, as aforementioned, in this study in order to explore the parametric space without considering different classes of uncertainty, the broadest parameter variation range-drawn from literature was employed. Such a fact affects the uncertainty band widths especially for those model outputs influenced by several sensitive parameters. Indeed, the uncertainty of SPO4,1 (Fig. 4c) is smaller than the others because among the parameters for which the uncertainty has been studied (sensitive parameters), only three are directly connected to the phosphorus removal processes. Such a results are consistent with previous

68

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69

studies carried out on ASMs (Sin et al., 2009). Indeed, due to the fact that ASMs are overparamerizated, such a models provide different responses in terms of uncertainty band widths. The uncertainty bands of XTSS model outputs have not been reported because it has almost no uncertainty according to Sin et al., 2009. Indeed, in the model under study, the settling parameters are not subject to uncertainty. The results demonstrate, according to other authors (Flores-Alsina et al., 2008; Benedetti et al., 2008; Melcer et al., 2003), that when uncertainty in the ASM model inputs is considered, the results of a well structured and calibrated model might be questioned; so an accurate uncertainty analysis is important depending on the objective of the study. As a matter of the fact, although the model calibration provided acceptable results giving efficiency ranging between 0.42 and 0.75 (Mannina et al., in press), in terms of uncertainty a significant proportion of the measured data fall near or on the extremes of the uncertainty bands. Such a fact confirms even more the importance in the quantification of the model uncertainty. Indeed, the quantification of the uncertainty pointed out that the model structure has to be improved in order to provide a better reproduction of the simulated phenomena. The GLUE is confirmed to be a good tool for uncertainty assessment also for WWTP modelling. With regards to the computational time needed for the implementation, in particular with regards to the Monte Carlo simulations, the Latin hypercube sampling could be an optimum choice especially for computational demand models.

4. Conclusions In this study, the uncertainty analysis of a mathematical model simulating biological nitrogen and phosphorus removal processes was developed using the GLUE methodology (Beven and Binley, 1992). In order to evaluate how the model parameter uncertainty can influence the response of the model, a uniform distribution of the broadest model parameter space was considered, and several Monte Carlo simulations were conducted in order to investigate this space. The output of each simulation was compared with measured data and a measure of the likelihood was created. The 5th and 95th percentiles of the cumulative likelihood distributions for each simulation instance of time were then used for calculating uncertainty bands for each model output variable. From the analyses, the following conclusions can be drawn:  The uncertainty analysis performed in this study gave different responses for several of the model outputs considered. The results were strongly dependent on the width of the parameter range and on the parameters selected during the sensitivity analysis.  The uncertainty assessment showed that despite the fact that the best-fit model response between the measured and simulated values was acceptable, the model approach needs to be improved in order to correctly simulate the system. Indeed, the model showed a wide band of uncertainty, with a significant proportion of the measured data results (far more than 5%) falling near or on the extremes of the uncertainty bands.  The study demonstrated the suitability of the GLUE methodology for wastewater treatment plant modelling, although the methodology is based on some subjective choices that can affect the results. Nevertheless, as a first screening study (i.e., studies for evaluating the magnitude of the polluting emission, the classification of pollutant impacts, etc.) it could be a feasible and good solution. The influences of the likelihood measure and the threshold choice on the selection of the behavioural simulations deserve to

be investigated in the future. Specifically, understanding how such assumptions influence the model response in terms of uncertainty would provide useful insights for the application of the GLUE methodology in the wastewater treatment modelling field.

References Alfonso, P., da Conceicao Cunha, M., 2002. Assessing parameter identifiability of activated sludge model number 1. Journal of Environmental Engineering 128 (8), 748–754. Beck, M.B., 1987. Water quality modeling: A review of the analysis of uncertainty. Water Resources Research 23 (8), 1393–1442. Belia, E., Amerlinck, Y., Benedetti, L., Sin, G., Johnson, B., Vanrolleghem, P.A., Gernaey, K.V., Gillot, S., Neumann, M.B., Rieger, L., Shaw, A., Villez, K., 2009. Wastewater treatment modelling: dealing with uncertainties. Water Science & Technology 60 (8), 1929–1941. Benedetti, L., Bixio, D., Claeys, F., Vanrolleghem, P.A., 2008. Tools to support a model based methodology for emission/immission and benefit/cost/risk analysis of wastewater systems that considers uncertainty source. Environmental Modelling & Software 23, 1082–1091. Bertrand-Krajewski, J.L., Barraud, S., Bardin, J.P., 2002. Uncertainties, performance indicators and decision aid applied to storm water facilities. Urban Water 4, 163–179. Beven, K.J., Binley, A.M., 1992. The future of distributed models model calibration and uncertainty prediction. Hydrological Processes 6 (3), 279–298. Beven, K.J., Smith, P., Freer, J., 2007. Comment on ‘‘Hydrological forecasting uncertainty assessment: incoherence of the GLUE methodology’’ by P. Mantovan and E. Todini. Journal of Hydrology 338 (3-4), 315–318. Beven, K.J., Smith, P., Freer, J., 2008. So just why would a modeller choose to be incoherent? Journal of Hydrology 354 (1-4), 15–32. Bixio, D., Parmentier, G., Rousseau, D., Verdonck, F., Meirlaen, J., Vanrolleghem, P.A., Thoeye, C., 2002. A quantitative risk analysis tool for design/simulation of wastewater treatment plants. Water Science & Technology 46 (4–5), 301– 307. Ferrer, J., Monrenilla, J.J., Bouzas, A., García-Usach, F., 2004. Calibration and simulation of two large wastewater treatment plants operated for nutrient removal. Water Science & Technology 50 (6), 87–94. Flores-Alsina, X., Bonmatı´, A., Poch, M., Rodriguez-Roda, I., Banãres-Alcantara, R., 2005. Selection of the activated sludge configuration during the conceptual design of activated sludge plants using multicriteria analysis. Industrial and Engineering Chemistry Research 44 (10), 3556–3566. Flores-Alsina, X., Rodriguez-Roda, I., Sin, G., Gernaey, K.V., 2008. Multi-criteria evaluation of wastewater treatment plant control strategies under uncertainty. Water Research 42, 4485–4497. Freer, J., Beven, K.J., Ambroise, B., 1996. Bayesian estimation of uncertainty in runoff prediction and the value of data: an application of the GLUE approach. Water Resources Research 32 (7), 2161–2174. Freni, G., Mannina, G., Viviani, G., 2009a. Uncertainty assessment of an integrated urban drainage model. Journal of Hydrology 373 (3-4), 392–404. Freni, G., Mannina, G., Viviani, G., 2009b. Uncertainty in urban stormwater quality modelling: the influence of likelihood measure formulation in the GLUE methodology. Science of the Total Environment 408, 138–145. Freni, G., Mannina, G., Viviani, G., 2009c. Urban runoff modelling uncertainty: comparison among Bayesian and pseudo-Bayesian methods. Environmental Modelling & Software 24 (9), 1100–1111. Henze, M., Gujer, W., Mino, T., van Loosdrecht, M.C.M., 2000. Activated Sludge Models ASM1, ASM2, ASM2d and ASM3. IWA Scientific and Technical Report No. 9. IWA Publishing, London, UK. Hornberger, G.M., Spear, R.C., 1981. An approach to the preliminary analysis of environmental systems. Journal of Environmental Management 12, 7–18. Iacopozzi, I., Innocenti, V., Marsili-Libelli, S., Giusti, E., 2007. A modified Activated Sludge Model No3 (ASM3) with two-step nitrification–denitrification. Environmental Modelling & Software 22, 847–861. Jeppsson, U., 1996. Modelling Aspect of Wastewater Treatment Process. PhD thesis, Department of Industrial Electrical Engineering and Automation (IEA) Lund Institute of Technology (LTH), Sweden. Jeppsson, U., Pons, M.N., Nopens, I., Alex, J., Copp, J.B., Gernaey, K.V., Rosen, C., Steyer, J.P., Vanrolleghem, P.A., 2007. Benchmark Simulation Model No 2 – general protocol and exploratory case studies. Water Science & Technology 56 (8), 287–295. Machado, V.C., Tapia, G., Gabriel, D., Lafuente, J., Baeza, J., 2009. Systematic identifiability study based on the Fisher Information Matrix for reducing the number of parameters calibration of an activated sludge model. Environmental Modelling & Software 24 (11), 1274–1284. Makinia, J., Rosenwinkel, K.H., Spering, V., 2005. Long-term simulation of activated sludge process at the Hanover-Gummerwald pilot WWTP. Water Research 39, 1489–1502. Mannina, G., Cosenza, A., Vanrolleghem, P., Viviani, G., in press. A practical protocol for calibration of nutrient removal wastewater treatment models. Journal of Hydroinformatics. doi:10.2166/hydro.2011.041. Mannina, G., 2011. Uncertainty assessment of a water quality model for ephemeral rivers using GLUE analysis. Journal of Environmental Engineering – ASCE 137 (3), 177–186.

G. Mannina et al. / Physics and Chemistry of the Earth 42–44 (2012) 61–69 Mannina, G., Di Bella, G., Viviani, G., 2010. Uncertainty assessment of a membrane bioreactor model using the GLUE methodology. Biochemical Engineering Journal 52 (2), 263–275. Mannina, G., Viviani, G., 2010. An urban drainage stormwater quality model: model development and uncertainty quantification. Journal of Hydrology 381 (3-4), 248–265. Mantovan, P., Todini, E., 2006. Hydrological forecasting uncertainty assessment: incoherence of the GLUE methodology. Journal of Hydrology 330, 368–381. Melcer, H., Dold, P.L., Jones, R.M., Bye, C.M., Takacs, I., Stensel, H.D., Wilson, A.W., Sun, P., Bury, S., 2003. Methods for Wastewater Characterisation in Activated Sludge Modelling. Water Environment Research Foundation (WERF), Alexandria, VA, USA. Neumann, M.B., Gujer, M., 2008. Underestimation of uncertainty in statistical regression of environmental models: influence of model structure uncertainty. Environmental Science & Technology 42, 4037–4043. Rieger, L., Koch, G., Huhni, M., Gujer, M., Siegrist, H., 2001. The EAWAG Bio-P module for activated sludge Mmodel No. 3. Water Research 35 (16), 3887–3903.

69

Ruano, M.R., Ribes, J., De Pauw, D.J.W., Sin, G., 2007. Parameter subset selection for the dynamic calibration of Activated Sludge Models (ASMs): Experience versus systems analysis. Water Science & Technology 56 (8), 107–115. Salem, S., Berends, D., Heijnen, H.J., van Loosdrecht, M.C.M., 2002. Model-based evaluation of a new upgrading concept for N removal. Water Science & Technology 45 (6), 169–177. Sin, G., Gernaey, K.V., Neumann, M.B., van Loosdrecht Mark, C.M., Gujer, W., 2009. Uncertainty analysis in WWTP model applications: a critical discussion using an example from design. Water Research 43, 2894–2906. Smirnov, N., 1948. Table for estimating the goodness of fit of empirical distributions. The Annals of Mathematical Statistics 19, 279–281. Thorndahl, S., Beven, K.J., Jensen, J.B., Schaarup-Jensen, K., 2008. Event based uncertainty assessment in urban drainage modelling, applying the GLUE methodology. Journal of Hydrology 357, 421–437. Weijers, S.R., Vanrolleghem, P.A., 1997. A procedure for selecting best identifiable parameters in calibrating activated sludge model No.1 to full-scale plant data. Water Science & Technology 36 (5), 69–79.