Professional Documents
Culture Documents
com
b,*
Institute of High Performance Computing, 1 Science Park Road, #01-01, The Capricorn 117528, Singapore
Biotechnology Research Institute, NRC, 6100 Royalmount Avenue, Montreal, Quebec, Canada H4P 2R2
Received 4 May 2006; received in revised form 16 July 2007; accepted 16 July 2007
Available online 18 September 2007
Abstract
This work presents a distributed parameter model of the anaerobic digestion process. The model is based on the Anaerobic digestion
model no. 1 (ADM1) and was developed to simulate anaerobic digestion process in high-rate reactors with signicant axial dispersion,
such as in upow anaerobic sludge bed (UASB) reactors. The model, which was named ADM1d, combines ADM1s kinetics of biomass
growth and substrate transformation with axial dispersion material balances. ADM1d uses a hyperbolic tangent function to describe biomass distribution within a one compartment model. A comparison of this approach with a two-compartment, sludge bed liquid above
the bed, model showed similar simulation results while the one-compartment model had less equations. A comparison of orthogonal collocation and nite dierence algorithms for numerical solution of ADM1d showed better stability of the nite dierence algorithm.
2007 Elsevier Ltd. All rights reserved.
Keywords: Distributed parameter model; ADM1; UASB reactor; Anaerobic digestion
1. Introduction
Compared to its aerobic counterpart, anaerobic digestion of wastewater features advantages such as energy
recovery in the form of methane production, production
of low sludge volume, and a capacity for degradation of
high strength wastewater (Bernard et al., 2001). While
problems of instability are infrequent for anaerobic digestors treating primary sludge, high-rate upow anaerobic
sludge bed (UASB) reactors are highly sensitive to external
disturbances such as hydraulic or organic shock loads,
which lead to imbalances in the acidogenic and methanogenic populations. As a result, the anaerobic reactors treating high-strength wastewaters are prone to instability and
may be subject to reactor failures. These problems have
motivated a number of studies on anaerobic digestion
kinetics and the development of reliable reactor models
Corresponding author. Tel.: +1 514 496 2664; fax: +1 514 496 6265.
E-mail address: Boris.Tartakovsky@cnrc-nrc.gc.ca (B. Tartakovsky).
0960-8524/$ - see front matter 2007 Elsevier Ltd. All rights reserved.
doi:10.1016/j.biortech.2007.07.060
3666
Nomenclature
u
v
V, Vliq
Vgas
x
xat
xmax
xmin
xtotal
z
b
s
g
Subscripts
ac
acetate
at
attainable
c
composites
in
inuent ow
max
maximal
min
minimal
out
euent ow
r
recirculation ow
s
sludge compartment
Off-gas
height
gas phase
effluent
sludge
zone
Hs
xmin
xmax
sludge
influent
oci
o
oci z; t
o
Di z; t
ui z; tci z; t
oz
oz
oz
ot
ri z; t rT;i z; t
liquid
zone
recirculation
D
H
Hs
N
OLR
pgas;H2 O
Patm
qgas
qin
qrec
qs
Q
r
rT
R
Rw
s
sgas
sion
t
T
bypass
a, b
A, B
Ar
Bo
c
where Di is the dispersion coecient, ui is the upow velocity, z is the axial position, t is the time, ri is the net trans-
oci
ui z; tciz0 ci;in ;
oz
oci
0;
oz
z0
zH
2
3
where ci,in is the inuent concentration of the ith component and H is the reactor height.
Because of biogas bubbles generated during the biodegradation of organic compounds in the liquid phase, gas
transfer occurs within the liquid phase while gas transfer
at the gasliquid interface at the top of the liquid can be
neglected. Material balances for the gases are therefore
position-dependent. The dispersion and convective transport of bubbles in the liquid are considered negligible in
comparison with the gas transfer rate. The following equation describes the concentration changes of gas-phase
components:
osgas;j z; t
1 o
rT;j z; t
q z; tsgas;j z; t
ot
Ar oz gas
rT;CO2 z; t dz
16
64
0
5
where Patm and pgas;H2 O denote the total gas pressure and
the partial pressure of water vapor, respectively; T is the
operating temperature; and R is the gas constant.
The boundary conditions of the gas components are
sgas,j = 0 at z = 0 and dsgas,j/dt = 0 at z = H.
The overall mass balances of the reactor shown in Fig. 1
are given below
qin qrec qs Q
3667
where qin, qrec, and qs are ow rates of the inuent, recirculation, and bypass streams, respectively, Q is the total
input ow, ci,in, ci,r and ci,0 are the concentrations of the
ith component in the corresponding ow. The bypass ow
(qs) in Eq. (7) is expected to be dependent on factors such
as linear upow velocity and organic load (Singhal et al.,
1998; Garuti et al., 2004). However, in the absence of a
strict theory the model does not use any specic
dependence.
Overall, the distributed parameter model consists of 36
partial dierential equations (material balance equations
for 12 soluble matters, 12 particulate matters, 9 ions and
3 gases), 72 ordinary dierential equations (two boundary
conditions for 36 components) and 33 algebraic equations
(overall mass balances for 33 liquid components), which
will be solved by a numerical algorithm.
For a completely stirred tank reactor (CSTR), material
balances of liquid phase components are reduced to the following form (Batstone et al., 2002):
19
X
dV liq ci t
qin ci;in t qout ci t V liq
vi;j rj
dt
j1
dS gas;j
qgas sgas;j rT;j V liq
dt
where
qgas
r
RT
rT;CH4
T;H2
rT;CO2
V liq
P atm pgas;H2 O
16
64
10
3668
xmax xmin
1 tanhbz H s xmin
xat z
2
11
12
13
14
Rw z tanhxtotal z xat z 1=2
P
where xtotal z i xi z is the total biomass concentration
at reactor position z, xat(z) is dened by Eq. (11), and xi(z)
is the concentration of the ith microorganism
(i = 5, . . . , 11). Eq. (14) implies that if the total biomass
concentration exceeds the maximal attainable biomass concentration, then Rw = 1, and the transport term in Eq. (1) is
the same as for all other liquid phase components. Otherwise, Rw = 0 and the transport term in Eq. (1) will be equal
to zero, i.e. the biomass is retained in the reactor. This approach uses continuous functions, which are capable of
describing biomass accumulation within the sludge bed,
biomass washout in the liquid zone, and the existence of
a layer of ne biomass particles above the bed. Biomass
concentration proles obtained using Eqs. (11)(14) were
in good agreement with the sludge proles measured in
UASB reactors (Kalyuzhnyi et al., 1996; Torkian et al.,
2003).
By incorporating Eq. (14) into Eq. (1) the mass balance
of the microorganisms can be rewritten as follows:
oxi
o
oxi z; t
o
Dx;i z; t
ux z; txi z; t rx;i z; t
oz
oz
oz
ot
15
where ux(z, t) = ui(z, t)Rw(z) is the upow biomass velocity.
The transport term of the above equation is extended as
follows:
d
dRw z
ux z; txi z; t ui z; txi z; t
dz
dz
dui z; t
Rw zxi z; t
dz
dxi z; t
16
ui z; tRw z
dz
This approach is essentially similar to other methods, such
as biomass distribution modeling using a fraction coecient a, which is dened as the ratio of bacteria in the liquid
to that of the entire reactor (Bernard et al., 2001). The a
can also be dened as the fraction of biomass transferred
by the liquid ow (Vavilin et al., 2003).
2.4. Numerical methods
For the sake of comparison, the distributed parameter
model described above was solved by two dierent numerical methods, namely the orthogonal collocation method
(OC) (Finlayson, 1980) and the nite-dierence method
(FD) (Rice and Do, 1995).
2.4.1. Orthogonal collocation method
For the OC method, the material balance (Eq. (1)), was
rewritten as follows:
"
#
N 2
N 2
dci;j 1 1 X
dDi
ui X
Bj;k ci;k
Aj;k ci;k f ui ; DRw;i
si Boi k1
dt
dg H 1 k1
ri;j rT;i;j
17
AN 2;k ci;k 0
18
19
k1
3669
Table 1
Operating conditions in ADM1 benchmark simulations
Parameter
3
Vliq (m )
Vgas (m3)
qin (m3 d1)
Frecycle (m3 d1)
ba, dimensionless
a
Value
1400
100
70
280a
0.25a
Parameter
Value
2
93.33a
308.15
60
10a
16
12
OC-04
OC-08
OC-16
FD-10
FD-20
FD-50
3670
0.2
0.1
10
15
10
15
d
7.2
pH
0.3
6.8
0
10
15
Position, m
10
15
Position, m
Fig. 2. Spatial distribution of composite materials (a), acetate (b), total biomass (c), and pH (d) calculated using OC (solid gray line) and FD (solid black
line) algorithms. OC calculations were carried out with 4, 8, and 16 internal points. FD calculations were carried out with 10, 20, and 50 internal points.
2.8 GHz CPU. The required CPU times for the OC method
were 27, 270, 367 and 1631 s for 4, 8, 12 and 16 internal
points, respectively. The required CPU times for the FD
algorithm were 112, 19, 448, and 1596 s for 10, 20, 30,
and 50 internal points, respectively.
Overall, the FD algorithm had better stability and it
required somewhat shorter CPU time. Fig. 2 shows that
for all four state variables the proles obtained using the
FD algorithm converged when the number of nite points
reached 20. Increasing N from 20 to 30 and then to 50 did
not show signicant dierences between the proles. Overall, N = 20 can be considered as an acceptable compromise
between numerical accuracy and computational time.
For the OC method, obvious dierences between N = 4
and N = 8 were observed for all state variables except xxc
(Fig. 2), indicating that N = 4 is insucient. Although
the proles obtained at N = 8 almost converged to those
obtained by the FD method, unstable results were obtained
for N = 16 (Fig. 2bd).
The numerical instability of the orthogonal collocation
method with a large number of collocation points can be
explained by the stiness and nonlinearity of the distributed parameter model. Rice and Do (1995) pointed out
that though the orthogonal collocation method was superior to the nite dierence method in some problems, the
latter algorithm was easily applicable to many problems
with complex geometries. In the collocation method, the
collocation points were non-uniformly distributed. Consequently, OC was less ecient in calculating fast changes
in ion and gas balances and in modeling biomass distribution, which exhibits a sharp concentration drop at the
interface of the sludge bed and liquid zones. Overall, the
nite dierence method outperformed the orthogonal collocation method in solving the distributed parameter model
of the UASB reactor. In the subsequent simulations, a 20point FD algorithm, which oered satisfactory numerical
accuracy within an acceptable computational time was
used.
3.3. Comparison of the one- and two-compartment models
An alternative to modeling sludge distribution using a
hyperbolic tangent function (Eq. (14)) within a single compartment model was to use a two-compartment model,
which distinguishes between the sludge bed and the liquid
zones of the reactor. To compare the two approaches, a
two compartment model was developed in which the sludge
bed and liquid zones were described by distributed parameter and ideal mixing submodels, respectively. For the sake
of simplicity, the sludge bed compartment was still
described by Eqs. (1)(7) and (11)(16), but the value of
xmin was increased to 3 kg COD m3 as compared to
0.15 kg COD m3 for a single compartment model. The
CSTR material balances of the bulk liquid above the sludge
compartment were those of ADM1 (Eqs. (8)(10)).
Both single and two-compartment models were solved
using the FD algorithm with N = 20. A period of 100 days
of reactor operation was simulated. In the simulations, the
OLR was maintained at 3 kg COD m3 d1 for the rst 20
days, then the OLR was changed to 4 kg COD m3 d1
and maintained at this level to the end of the integration
period. Fig. 3ac shows the resulting spatial distribution
of composite materials, acetate, and pH at 20 d. It can be
seen that the resulting proles are similar. As expected,
10
0
0
10
0.3
15
0.2
0.1
0
0
10
7.3
15
3671
0
0.4
25
50
75
e
0.3
0.2
0.1
0
0
15
25
50
75
7.2
100
100
pH
pH
7.2
7.1
7.1
7
0
10
15
Position, m
25
50
75
100
Time, day
Fig. 3. Comparison of spatial (ac) and temporal (df) proles of key state variables calculated using one-compartment (solid black line) and twocompartment (solid gray line) distributed parameter models. Spatial proles correspond to t = 20 day. Temporal proles show euent concentration of
composite materials (d), acetate (e), and pH in euent (f).
the outputs of the two-compartment model exhibited discontinuity at the interface of the sludge bed and the overlying liquid, while the single compartment model
provided continuous outputs. A comparison of time proles of euent concentrations also showed qualitatively
similar results (Fig. 3df), although the two-compartment
model predicted lower concentrations of composite materials and acetate (Fig. 3d and e). Overall, owing to a smaller
number of model equations and continuous concentration
proles, the single compartment model was a better choice
for reactor modeling.
3.4. ADM1 versus ADM1d
An important feature of ADM1d was its ability to simulate spatial distribution of substrates and microorganisms
in the reactor, as shown in Fig. 2 where all state variables
exhibited distinct gradients. Also, the model was capable
of at least qualitative modeling of the sludge bed, as shown
in Fig. 2c. A more detailed analysis of spatial proles of
state variables in Fig. 2 showed that the concentration of
composite materials monotonously decreased with increasing reactor height (Fig. 2a), while there was a peak of acetate at around 2 m from the reactor inlet (Fig. 2b).
Notably, the acetate peak coincided with a drop in pH
3672
0.3
Composites, kg m-3
6
4
2
0.2
0.1
0
0
1400
200
400
100
200
300
400
200
300
400
d
7.3
1200
pH
1000
800
7.1
6.9
0
100
200
300
400
100
Time, day
Time, day
7000
6000
5000
4000
3000
0
100
200
Time, day
300
400
Fig. 4. Dynamic simulations of an UASB reactor with external recirculation using ADM1 (solid gray lines) and ADM1d (solid black line) models. The
panels show euent concentration of composites (a) and acetate (b), as well as methane production (c) and euent pH (d).
acidogens
syntrophs
methanogens
3
2
1
0
0
10
15
Position, m
Fig. 5. Time proles of total biomass amount computed by ADM1 (solid gray line) and ADM1d (solid black line) models (a) and spatial distribution of
main trophic groups computed by ADM1d for t = 20 day (b).
3673
4. Conclusions
High rate UASB-type reactors exhibit signicant gradients of composite materials, volatile fatty acids, pH and
volatile suspended solids over the height of the reactor,
which can be only described by a distributed parameter
model. In this study, Anaerobic Digestion Model No. 1
was used as a basis for the development of a comprehensive distributed parameter model, named ADM1d.
ADM1d used a hyperbolic tangent function to describe
biomass distribution within a one compartment model.
A comparison of this approach with a two-compartment
model, which consisted of a sludge bed and a liquid above
the bed compartments, showed similar simulation results
while the one-compartment model had less equations. It
should be noted, that the hyperbolic tangent model of
the sludge bed does not take into account physical processes of granule settling and washout, but provides a
nonlinear regression model of the experimentally measured sludge distribution. This regression model should
be substituted with more complex models (e.g. Kalyuzhnyi
et al., 2006) if some insight on granular sludge dynamics is
desired.
A comparison of orthogonal collocation and nite-difference algorithms for numerical solution of the distributed
parameter model showed that both algorithms can be used,
however FD algorithm showed better stability. A comparison of ADM1 and ADM1d outputs showed that ADM1d
was better suited for modeling anaerobic reactors with limited mixing and high organic load. ADM1d was able to
simulate the impacts of both organic loading and external
recirculation on process performance while ADM1, which
uses an assumption of ideal mixing, only simulated the
impact of organic loading. The capacity of ADM1d for
predicting spatial distribution of state variables can be very
useful in developing a systematic approach for the design
of UASB reactors.
Acknowledgements
This work was funded by NRC-A*STAR Collaborative
Research Program for BRI-NRC, Canada, and by Singapore-NRC Joint Research Programme (A*STAR Grant)
for IHPC, Singapore. The authors are thankful to D. Batstone, U. Jeppsson, and C. Rosen for providing the Matlab
code of ADM1 and to M.F. Manuel and D. Lyew for suggestions on improving the manuscript. This is NRC paper
#49082.
3674
Value
parameters
0.1
0.2
0.2
0.2
0.3
0.0376/14
0.06/14
0.007
0.03
0.03
0.0313
0.03
0.022
0.03
0.0313
0.03
0.95
0.0217
0.19
0.13
B. Biochemical parameters
kdis
0.5
khyd,ch
10
khyd,pr
10
khyd,li
10
KS,IN
1E4
km,su
30
KS,su
0.5
pHUL,aa
5.5
pHLL,aa
4
km,aa
50
KS,aa
0.3
km,fa
6
KS,fa
0.4
KI,h2,fa
5E6
km,c4
20
KS,c4
0.2
KI,h2,c4
1E5
km,pro
13
C. Physiochemical parameters
R
0.08314
Kw
2.08E14
Ka,va
1.38E5
Ka,bu
1.50E5
Ka,pro
1.32E5
Ka,ac
1.74E5
Ka,co2
4.94E7
Ka,IN
1.11E9
kA,Bva
1E+8
kA,Bbu
1E+8
a
M = kmol m3.
Unit
Parameter
Value
Unit
fpro,su
fac,su
Nbac
Cbu
Cpro
Cac
Cbac
Ysu
fh2,aa
fva,aa
fbu,aa
fpro,aa
fac,aa
Cva
Yaa
Yfa
Yc4
Ypro
Cch4
Yac
Yh2
0.27
0.41
0.08/14
0.025
0.0268
0.0313
0.0313
0.1
0.06
0.23
0.26
0.05
0.4
0.024
0.08
0.06
0.06
0.04
0.0156
0.05
0.06
kmol C
kmol C
kmol C
kmol C
kmol C
kmol C
kmol C
d1
d1
d1
d1
M
d1
kg COD m3
KS,pro
KI,h2,pro
km,ac
KS,ac
KI,nh3
pHUL,ac
pHLL,ac
km,h2
KS,h2
pHUL,h2
pHLL,h2
kdec,Xsu
kdec,Xaa
kdec,Xfa
kdec,Xc4
kdec,Xpro
kdec,Xac
0.1
3.5E6
8
0.15
0.0018
7
6
35
7E6
6
5
0.02
0.02
0.02
0.02
0.02
0.02
kg COD m3
kg COD m3
d1
kg COD m3
Ma
kA,Bpro
kA,Bac
kA,Bco2
kA,BIN
pgas,h2o
Patm
kLa
KH,co2
KH,ch4
KH,h2
1E+8
1E+8
1E+8
1E+8
0.0557
1.013
200
0.0271
0.00116
7.38
d1
kg COD m3
d1
kg COD m3
kg COD m3
d1
kg COD m3
kg COD m3
d1
bar M1 K1
M
M
M
M
M
M
M
M1 d1
M1 d1
(kg COD)1
(kg COD)1
(kg COD)1
(kg COD)1
(kg COD)1
(kg COD)1
(kg COD)1
d1
kg COD m3
d1
d1
d1
d1
d1
d1
M1 d1
M1 d1
M1 d1
M1 d1
bar
bar
M bar1
M bar1
M bar1
M bar1
References
Batstone, D.J., Keller, J., Newell, R.B., Newland, M., 2000a. Modelling
anaerobic degradation of complex wastewater. I: model development.
Bioresour. Technol. 75, 6774.
Batstone, D.J., Keller, J., Newell, R.B., Newland, M., 2000b. Modelling
anaerobic degradation of complex wastewater. II: parameter estimation and validation using slaughterhouse euent. Bioresour. Technol.
75, 7585.
Batstone, D.J., Keller, J., Angelidaki, I., Kalyuzhnyi, S.V., Pavlostathis,
S.G., Rozzi, A., Sanders, W.T.M., Siegrist, H., Vavilin, V., 2002.
Anaerobic Digestion Model No. 1 (ADM1). IWA Publishing, London,
UK.
Batstone, D.J., Gernaey, K.V., Steyer, J.-P., Schmidt, J.E., 2005. A
particle model for UASB reactors using the Takacs Clarier Model.
In: Proceedings of the First International Workshop on the IWA
Anaerobic Digestion Model No. 1, Copenhagen, Denmark, pp. 129
136.
Bernard, O., Hadj-Sadok, Z., Dochain, D., Genovesi, A., Steyer, J.-P.,
2001. Dynamical model development and parameter identication for
an anaerobic wastewater treatment process. Biotechnol. Bioeng. 75,
424438.
Blumensaat, F., Keller, J., 2005. Modelling of two-stage anaerobic
digestion using the IWA anaerobic digestion model no. 1 (ADM1).
Water Res. 39, 171183.
Danckwerts, P.V., 1953. Continuous ow systems. Chem. Eng. Sci. 2, 1
13.
Finlayson, B.A., 1980. Nonlinear Analysis in Chemical Engineering.
McGraw-Hill, New York.
Garuti, G., Leo, G., Pirozzim, F., 2004. Experiments and modeling on
biomass transport inside upow sludge blanket reactors intermittently
fed. Water S.A. 30, 97106.
Jeong, H.-S., Suh, C.-W., Lim, J.-L., Shin, H.-S., 2005. Analysis and
application of ADM1 for anaerobic methane production. Bioprocess
Biosyst. Eng. 27, 8189.
Kalyuzhnyi, S.V., Sklyar, V.I., Davlyatshina, M.A., Parshina, S.N.,
Simankova, M.V., Kostrikina, N.A., Nozhevnikova, A.N., 1996.
Organic removal and microbiological features of UASB-reactor under
various organic loading rates. Bioresour. Technol. 55, 4754.
Kalyuzhnyi, S.V., Fedorovich, V.V., Lens, P., 2006. Dispersed plug ow
model for upow anaerobic sludge bed reactors with focus on granular
sludge dynamics. J. Ind. Microbiol. Biotechnol. 22, 221237.
3675