A Generalized Approach For Dynamic Modelling and Simulation of Biofilters: Application To Waste-Water Denitrification
A Generalized Approach For Dynamic Modelling and Simulation of Biofilters: Application To Waste-Water Denitrification
A Generalized Approach For Dynamic Modelling and Simulation of Biofilters: Application To Waste-Water Denitrification
Chemical
Engineering
Journal 65 (1997)
Chemical
Engineering
Journal
133-143
23 September
1996; accepted
15 November
1996
Abstract
This contribution is devoted to the use of dynamic simulation as a support tool to improve the knowledge of biofilters in the general context
of waste-water treatment.
After a brief overview of current waste-water treatment techniques, a general approach for modelling and simulation of biofilters in transient
states is presented. First of all, a comprehensive description of the development of the model, highlighting specific characteristics such as the
active/deactivated biomass approach is presented; discussion of the different phenomena involved is then pursued. The resulting set of Partial
Differential Algebraic Equations (PDAE), with the need for state event detection for filter clogging, is then solved using an extension of the
Differential-Algebraic
philosophy coupled with the method of lines.
Finally, the validity of the general developed model, as well as the reliability of the numerical approach is illustrated through different case
studies for denitritication purposes, with plant data comparison.
It demonstrates the utility of dynamic simulation to speed up the development of the model phase and to improve basic knowledge in a
new emerging area. 0 1997 Elsevier Science S.A.
Keywords: Dynamic simulation and modelling; Wastewater treatment; Denitrification; Biotilters; Partial differential algebraic equations (PDAJZ)
1. Introduction
Waste-water
treatment (and, more generally, environment
protection) is a topic that is currently receiving substantial
public attention. It consistsof a complex sequenceof interdependentbiological, physical and chemical processessubject to time-varying hydraulic and organic load conditions.
In this context, dynamic simulation based on rigorous
mathematicalmodelsis a powerful tool by which the designers of new biological waste-water treatment units can investigate the performance of complex systemsunder different
conditions. The useof general dynamic modelscan assistin
improving both basic knowledge at the outset and future
operability. Also it may help to develop control strategies,
start-up and shutdown proceduresand operator training in
the wider context of operational water-quality management.
The literature clearly showsthat pressureof different regulatory acts (strict limits on BOD, COD and nitrogen discharges) and the complexity of waste-water plants have
provided incentives to use processsimulation methodology
* Corresponding
author.
1385-8947/97/$17.00
PIIS1385-8947(96)03185-3
0 1997 Elsevier
arecent motivation
based on dynamic
modelling
of the process.
134
Engineering
is no need for secondary clarification except for certain aerobic applications, there is no need for liquid circulation for
nitrogen removal, and energy consumption along with sludge
production are minimum. One of the main difficulties, from
an operational point of view, is due to the cyclic mode of
operation and in bed clogging which needs to be anticipated.
With these objectives in mind, the proposed generalized
model has been developed for submerged biofilters.
2. Modelling
of the biofilter
Journal
65 (1997)
133-143
biarmsa
amaunt
total
biomass
active biomass
Engineering
applications
Characteristics
Denitrilication
Reduction of nitrates to gaseous nitrogen
Anaerobic
Electron
Electron
Anaerobic
Electron
Electron
Aerobic
Electron
Electron
Aerobic
Electron
Electron
Denitritation
Reduction of nitrites to gaseous nitrogen
Carbon removal
Oxidation of organic
to nitrates
substrate
65 (1997)
133-143
135
of biofiltration
Reaction
Nitrification
Oxidation
of ammonia
Journal
work of heterotrophic
biomass
donor: organic substrate
acceptor: nitrates
work of heterotrophic
biomass
donor: organic substrate
acceptor: nitrites
work of autotrophic biomass
donor: ammonia
acceptor: oxygen
work of heterotrophic
biomass
donor: organic substrate
acceptor: oxygen
Kinetics
136
Engineering
Journal
65 (I 997) 133-143
k=@(c)
= rd = K,nr,
where I is the concentration of inhibiting products, proportional to the active amount of biomass
I=a&-rd=K,c&,=K&,
X Amax
Thus, the real growth kinetics for the active and total biomass are:
~=~A(l-$--)
15O/LU,( 1- l )2
02$
P
for Ma/Md
Engineering
Journal
65 (1997)
137
133-143
approach
Component
Balance
Total biomass
f$!=
x, (r=O)
Active
biomass
Retained
particles
Electron
donor
Electron
acceptor
h&-&--&--*
?=4&lkb~tl-2)
Ww,
Qku,
_=ar
R
a(e&,)
-= at
-g$-
X,(t=O)=X,,
XMr
(t=O) =o
Vuk&&J(*&
S,(t=O)
=S,Az=O)
=SD~,p,)
-g-
Wmax(&&-$jY*
.s,(t=O) =S,(z=O)
=SA,,p,)
W,.,,(
Sdt=O)
=&d(z=O)
=s,,,pr,
Xbf,(t=O)
=xw,(z=O)
a(eN)
-=
-X2-
Suspended
particles
a(ad
-=
---_-Q ax,,
at
Qusw,
Porosity
e(t=O)
APT= t AP,
I=1
s(t=O)
=sg,
s(z=O)
=s,p,,
=x,,
a( ES*)
-= at
Ammonia
conditions
(1)
=x.M,,,w,>
= co
i=3 to i=n-2
while special formulae are used for the upper and lower
boundaries:
!!L
az -
- I _
aZ
-2s,-,+12s,-,-36s,-2+20s,-,+6s,
Az.3!
as,-6s,p,-32s,-,+72s,-,-96s,-,+SOs,
Az.4!
az Thus, the systemis transformed into a system of 8n ordinary (or algebraic) differential equations which are solved
by Gears multistep multi-order implicit method basedon a
predictor corrector scheme[ 18-201.
At any time step, a set of variables is computed using
extrapolation polynomials basedon the values of the variables and their derivatives at previous steps (prediction
phase). The number of previous stepsusedis the order of the
method. The correction phaseconsistsin correcting the predicted valuesto reachthe solution, by usinganapproximation
of the derivative
138
Engineering
Journal
65 (1997)
133-143
as i
where h is the time step, p a parameterdependingof the order
and 9 a function of the variable values at previous steps.
Thus, the systemdescribedby Eq. ( 1) becomesa non-linear
algebraic equationssystem:
-Dk
6sk= -g(s,
t, uk,p)
-g(s, t)
whereMk, called the dynamic operator, is the dynamic equivalent of the jacobian matrix in steady-state.
When the corrector converges, numerical tests are
performed to validate the integration step with a tolerance
given by the user. Thesetestsactivate a stepandorder change
strategy to provide a good result quality for a lower cost.
As seenpreviously, at any time step a non-linear system
in the corrector loop hasto be solved. For a rapid convergence
and becausethere is a good initialization with the predictor,
the Newton-Raphson method is chosen,involving analytical
derivatives in the dynamic operator.
The eight equations of the model are arranged for each
discretization point which leadsto a block structure for the
dynamic operator (Fig. 2). Each block is an 8 X 8 matrix
corresponding to the model equation at one discretization
point. These equations are arranged to bring the non-zero
terms closer to the diagonal and to preferably fill the upper
triangular part of the block. The extra diagonal blocks come
from the spatial five-point derivative approximation. The
operator, partially hollow, is an n-diagonal block matrix and
computation time, reliability and efficiency is gainedby treating it like a banded matrix: it is transformed in a smaller
rectangular matrix for which the pivot researchin the Gaussianelimination is done vertically.
As the biofilter hasa cyclic operating mode and is cleaned
when the pressuredrop reachesanupperlimit ( AP = A P,,,) ,
an automatic procedureto detect stateevents hasbeenimplemented [ 211. In the case of time events, input disturbance
discontinuities arerepresentedby usinga polynomial approximation to simulate stepor ramp functions.
The numerical strategy has appearedto be very efficient
and reliable. The main interest in the method of lines leads
to the fact that all the development involved in DAE systems
may be re-used.One of its drawbacksis in the discretization
Engineering
Journal
65 (1997)
133-143
i39
nitrates tank
140
Table 3
Kinetic, stoichiometric
and filtration
parameter
Engineering
g - DC0
substrate)
65 (1997)
of waste water
Denitritation
Denitrification
0.67a
4b
0.4a
5
0.3a
-
480
40
5
I OOOd
lob
o.2b
0.6*
a Experimental
values.
Values given with the IAWPRC model for waste water
Fixed values obtained by a synthesis of the appropriated
d Values obtained by a quick trial/error
strategy
of drinking
water
5
7.5
740d
40
I
3
-
[ 51.
literature
10
40
133-143
applications
Denitrification
Yu ( / (g DC0 biomass
fiH C/j-)
pLI CL-)
CLZ C/j-)
X hax(~(mgDCOL-))
Ks (/(mgCDOL-))
ILo3 (/(mgNLm))
ho2 (/(mg
N L-l))
k (/m-l)
Journal
Q=lZUh
Q=ZOlih
30
--
k20h
(sim.)
k30h
(sim.)
k40h
(sim.)
.- t=50h
(sim.)
-- l=60h
(sim.)
k146h
(exp.)
t1
20
40
60
60
time
0
30
60
vertical
90
120
position
150
180
210
(cm)
concentration
profiles
100
Q=Blh
60
40
sim.
120
outlet concentration
140
of suspended parti-
60
60
100
(h)
Q=12Uh
60
:
40
exp.
CARBON OmLET
CONCENTRATtON
(mgDCOn)
04
0
40
60
120
time
160
200
20
40
(h)
outlet concentration
60
60
time
of suspended
parti-
(Ma/M,):
100
outlet concentrations
(I)
(2)
+ NO, + N2
1 - Yn
-+ biomass + 1.71YNoz
growth rate:
with
I
140
(h)
(mgNNo3)
120
of carbon
Engineering
100
~-
Q=lZVh
Journal
60
60
k40h
-
133-143
141
-,=,otl
--- ,=ZOh
65 (1997)
Q=16Vh
8
8
8
t=60h
--
t=QOh=120h
k146
(exp.)
40 i
simulation
0
t=Zlh
(exp.)
t=70h
(exp.)
20
f
0
30
60
0--
90
wrtcal
120
posttm
150
160
210
30
60
(cm)
90
vertical
(MJM,):
concentration
profiles
for
25
25
120
position
150
180
210
(cm)
concentration
profiles
for
carbon
in the filter
Q=14l/h
7
-
10
,= 71 h
07
sim.
nitrites
sim.
nitrates
exp.
nitrites
exp.
P
0
30
60
90
verhcat
Fig. 9. Denitritation:
NO,L-).
250
nitrates
120
position
150
concentration
160
210
30
(cm)
60
90
vertical
profiles
for nitrites
120
posatmn
150
180
210
(cm)
concentrations
profiles
for nitrates
200
Q=Bl.h
.
l
t=71
30
60
90
vert~~l
120
postlion
concentration
150
160
o-0
210
exp.
90
position
120
z
150
160
210
(cm1
concentration
profiles
for carbon in
------I
-
simulation
t=Zlh
(exp.)
k70h
(exp.)
30
60
vertical
The
nearly
yields
The
(using
ilow.
60
vertical
carbona
30
(cm)
:I;
sim.
01
0
carbone
90
position
120
z
concentration
150
180
210
(cm)
profiles
for
nitrites
in the filter
5. Conclusion
A general model has been developed for the dynamic simulation of waste-water treatment units by submerged biofil-
142
Engineering
6. Nomenclature
dcell
dP
D
DP
k
K4
KD
M
n
N
P
Q
r
Journal
XMl
XMr
Y
2
bP
E
I-L
PO
Pmar
rl
CT
65 (1997)
133-143
Acknowledgements
This work is part of J. JacobsPh.D. Thesis.We gratefully
acknowledgethe French Ministry of Researchand Technology (MRT) and the Midi-Pyr6ntes Region (CCRRDT) for
their financial support aswell asthe SAUR (BOUYGUES)
Company for support of laboratory research.
References
[ 1) I. Farag, I. Gosling, R. Field and C.C. Chen, Simulating waste water
treatment processes, The Chemical Engineer, (Sept. 1990) 31-38.
[2] G.G. Patry and 1. Takacs, GPS-X: A waste water treatment plant
simulator, Proc. Mathmod
Vienna (IMACS).
Vienna, Austria, 1994,
pp. 456-459.
[3] M.N. Pons, 0. Potier, N. Roche, F. Colin and C. Prost, Simulation of
municipal waste water treatment plants by activated sludge, Camp.
Chem. Eng., 17(suppl.)
(1993) 227-232.
[4] P. Lessard and B. Beck, Simulation
dynamique
dune usine de
traitement des eaux US&S, Tribune de leau, no 533/5 ( 1991) 35-5 1.
[ 51 M. Henze, C.P. Leslie Grady, W. Guyer, G.V.R. Marais and T. Matsua
(IAWPRC
task group), A general model for single sludge waste water
treatment systems, Water Res., 21(5) ( 1987) 505-515.
[6] P. Le Cloirec, G. Martin, B. Ben Barka and A.Y. Le Roux, Un mod&le
mathkmatique
de la dt?nitrification
sur filtres soufre-carbonate
de
calcium, Chem. Eng. J., 31 (1985) 9-18.
[7] S.E. Jorgensen and M.J. Gromiec. Mathematical
models in waste water
treatment,
in Developments
in Environmental
Modeling,
Elsevier,
Amsterdam,
1985, pp. 473-524.
[ 81 G.E. Speitel, K. Dovantzis andF.A. Di Giano, Mathematical
modelling
of biogeneration
in G.A.C. column, J. Environ. Eng., I13 ( 1987) 3248.
[ 91 K.J. Williamson
and P.L. MC Carty, Verification
studies of the biofilm
model for bacterial substrate utilisation, J. Water Pollut. Control Fed.,
48 (1976) 281-296.
[lo] K.M. NGuyen,
Description
et modelisation
des films biologiques
aerobies, Ph.D. Thesis, INSAT (no 96), France, 1989.
[ 1 I] R. Belkhadir,
Etude fondamentale
des biomasses fixees. Description
et modklisation
des biofilms biologiques
anaerobies, Ph.D. Thesis,
INSAT (n 18), France, 1986.
[ 121 S. Elmaleh, H. Labaquereand
R. Ben Aim, Biological filtrationthrough
a packed column. Water Res., 12 ( 1978) 4146.
[ 131 K.J. Ives and A. Gur, Recherche sur loptimisation
de la filtration,
Centre Beige dEtude etde Documentation
des Eaux, 333-334 (1971)
377-384.
[ 141 CR. OMelia and W. Ali. The role of retained particles in deep bed
filtration, Prog. Water Technol., 10 (1978) 167-182.
[ 151 J.P. Herzig and P. Le Goff, Le calcul previsionnel
de la filtration a
travers un lit Bpais, Chimie et Industrie G&e Chimique, 104 ( 197 1)
2337-2346.
[ 161 R.B. Bird, Transport Phenomena, Wiley international
Edition, 1960.
[ 171 W.E. Schiesser, An Introduction
to the Numerical
Method of Lines
Integration
of Partial Differential
Equations
(Differential
Systems
Simulator,
Version
2). Lehigh
Universities
and Naval
Air
Development
Center, 1977.
65 (1997)
133-143
143