Preliminaries : This Practical Work uses version 3.0 of the scientific
software Scilab , developed by INRIA
and ENPC. All the installation files
can be downloaded freely from the web page
http://www.scilab.org.
The PW needs a Scilab command file
simuseq.sce
that one should store in his
working directory.
In this part, we study several control laws for bioreactors working in
sequential mode. It consists in a succession of cycles, each of them being
constituted of 4 stages :
Stage 1 : the reactor contains a very small (but non null)
volume of a solution of biomass (micro-organisms, bacteria, ...) and
substrate.
Stage 2 : the reactor is progressively filled with a solution of
high concentration of substrate. There is no output.
Stage 3 : when the reactor is filled at its maximum volume, the
input rate if stopped and one waits (if it is necessary)
until the concentration of the solution in the reactor
(supposed to be homogeneous) has reached a minimal given threshold
.
Stage 4 : after decantation, the liquid part (that can be now
considered as depolluted) is emptied. It remains in the bottom
of the reactor a small volume containing all the biomass.
Differently to continuous stirred reactors, for which input and output
flows are identical, the volume of the solution inside the reactor is
variable.
The state of the reactor at a given time is given not only by
the concentrations of biomass and substrate but also by the current
filled volume :
1. The state of the reactor is represented by a vector in
dimension :
2. The manipulated variable is the input flow :
In the space , the target to be reached (at stage 4) is the
following set :
The dynamical equations of the system for the first three stages are :
where is the rate conversion factor (
) of the reaction :
In order to simulate under Scilab the trajectories of the system
, define first the function
:
For the parameters, one can choose the following values :
mumax=0.072; K=2; Ki=50; c=0.5; Sin=200; Vmax=50; qmax=50; Smin=10;
x0=[50;13000;5];
Define also a length of the integration interval, for instance 3 hours :
tmax=3;
The simulations are then launched with the instruction :
exec("simuseq.sce");
A window then appears :
The history of the three state variables is represented on the three
first graphs. The last graph gives a visual representation of the
state of the reactor at different times :
- the height of the bars is proportional to the volume.
- the higher is the substrate concentration, the more red are the
bars.
Question 1 : For the two kinds of growth functions, launch
simulations and determine the time necessary for reaching the target
. What comments can be made ?
Question 2 : For the Haldane law, determine the value
maximizing the growth function
:
Write a control law leading the substrate concentration as fast as
possible to the value , and then maintaining the concentration
constant until the maximal volume is reached. Simulate and determine
the time necessary for reaching the target
. Compare this
time with the one required by the previous control law. Choose the
new initial condition
, and compare again.
What can be concluded ? Explain.
Practical Work sheet prepared by Jérôme Harmand and Alain Rapaport.