Professional Documents
Culture Documents
INTRODUCTION
Bioreactors are one of the most important parts of technological production
system. The choosing proper reactor and setting optimal parameters of its work
are crucial for optimum results during production. The complexity of the
bioreactor lies in the number of input parameters that exist in these cases when
compared to their simpler chemical counterparts. Conventional reaction
engineering techniques that are basically designed
for chemical reactor design therefore cannot handle such enormous input
multiplicity both at the level of reactor designing as well as in the process control
designing. Therefore there exists a need to take help of mathematical modeling
in the design of bioreactors. With various software now available for
mathematical modeling it has become quite easy to apply these modeling
techniques with ease even though the designer has no much previous familiarity
with those modeling techniques.
MATHEMATICAL MODELLING THROUGH MATLAB
Neural networks
This is the basic design of the first neural network designed. It is the general
framework for long-range prediction for predictive control. (Z_ denotes the
signals z(_); z(_ + 1); z(_);Z 2 (U; ^ X; ^Y );u the manipulated input, y the output
measurements and x the system state. The predictive controller applies tentative
U-values and takes the ^XX and/or ^ Y values to optimize the process
performance. In this example, u _ vf (t); y _ (pH, conductivity), x _ ([A]; [B]; [C];
[D]:)
Neural-Network Estimator-Predictor
All networks use a sigmoidal activation function for the hidden layer, a linear
activation function for the input and the output layers, and an additional bias node
in the input and hidden layers. All neural-network blocks contain five sigmoidal
hidden nodes. This network complexity was chosen based on extensive
experience gained from simulations. Trialand- error design of the network
complexity, based on actual process runs, could lead to better networks, but
would require prohibitive experimental expense.
The prediction horizon was chosen to be 30 sampling instants (one minute) for
training all predictor networks. This choice seems to be a good compromise
between accurate
long-range prediction and reasonable training times. Further increase of the
training prediction horizon did not significantly improve the prediction accuracy,
but increased the training effort considerably. B. Feedforward Networks A
feedforward network is used to estimate the process state and output at sampling
instant (this is the “Estimator” block of Fig. 2). It takes as inputs the sum of the
moles of B fed up to the current sampling instant, the sampling instant, the
volume, and the current measurements of the pH and electrical conductivity. As
outputs, it yields the estimates at of the concentrations of A, B, C, and D. This
network has thus six input nodes (including the bias node), four output nodes,
and 54 weights.
Another feed forward network is then used to predict the future concentrations.
The concentration estimates of the first network are passed to this network,
which takes as further inputs the sampling instant for which the estimates were
computed, the sampling instant for which the long-range prediction has to be
made, , the sum of the feed up to , and the volume at time . As output, it yields
the estimates for of the concentrations of A, B, C, and D. This network has nine
input nodes, four output nodes, and 69 weights. The use of the current sampling
instant as an input into the first network, and into the second, is necessary in
order to provide the network with some temporal context within the batch.
Without this input, the networks can not learn a reasonable mapping. The
sampling instant is not directly related to the state, but facilitates proper
interpretation of the other input information.
External-Feedback Networks
Input Representation: Equations used to develop this model are the algebraic
and differential equations of the known part of the system. A straightforward
realization of these equations as a network requires the concentrations of A, B, C
and D,4 the current feed rate, and the volume as network inputs. Due to the
relatively high sampling rate, which is 2 s compared to the reaction time of 1800
s, the system can be simplified in the time-discrete description. Due to the
marginal dilution during a sampling interval, the dilution effect on the reaction can
be neglected, and the reaction and the dilution can be decoupled. Thus the
concentrations and the current feed rate per volume of reaction mixture are used
as inputs to the network, and the dilution due to the feed during the sampling
interval is computed only at the end of the sampling interval. This approach,
which is applied for all external-feedback networks, with and without other prior
information, avoids the complexity of an additional network input. The errors
introduced by not taking the dilution during each sampling interval into account
are negligible, and the model of the
volume itself (9) is accurate since no mixing nonidealities are present and the
amount of feed added is known accurately.
.
Consider the case of a simple continuous stirred tank reactor as shown in the
figure below.
For the above reactor a neural network has been designed in MATLAB using the
neural network toolbox. The highlighted region is the neural network (NN)
predictive controller which receives inputs from the reference data as well as
from the plant output in order to create an online/ adaptive training for control of
the CSTR.
The results of such a neural network can be simulated using Simulink software in
the MATLAB itself. The resultant Simulink of the above network is shown below.
The simulink results are generally considered 99% accurate if the data given is
accurate enough. And hence these results are considered more or less
equivalent to experimental results. The simulink results can be generated by
giving different input data so as to find out the best possible input for optimal
output.
Narmax model
Non-linear black box models are difficult to handle in general because the
spectrum of possible model descriptions is very wide. The area is quite diverse
and covers topics from mathematically approximation theory via narmax
representations of many non-linear systems require only a few terms.
Wavelet model
A wavelet is a waveform of effectively limited duration that has an average value
of zero. Wavelet analysis is a new and promising set of tools and techniques for
analyzing these signals. Wavelets have scale aspects and time aspects,
consequently every application has scale and time aspects. To clarify them we
try to untangle the aspects somewhat arbitrarily. For scale aspects, we present
one idea around the notion of local regularity. For time aspects, we present a list
of domains. When the decomposition is taken as a whole, the de-noising and
compression processes are center points. Wavelets concepts can be applied for,
One-Dimensional Continuous Wavelet Analysis
One-Dimensional Complex Continuous Wavelet Analysis
One-Dimensional Discrete Wavelet Analysis
Two-Dimensional Discrete Wavelet Analysis
One-Dimensional Discrete Stationary Wavelet Analysis
Two-Dimensional Discrete Stationary Wavelet Analysis
One-Dimensional Wavelet Regression Estimation
One-Dimensional Wavelet Density Estimation
The software currently in market that can be used for the simulation of the above
mentioned process are :
• WEST (Wastewater treatment plant Engines for Simulation and Training):
an interactive dynamic simulator. It is developed mainly at the
University of Gent, Belgium and current information about the software
can be found on http://www.hemmis.com/.
• SIMBA (Simulation programms f¨ur die Biologische Abwasserreinigung):
developed at the Institut f¨ur Automation und Kommonikation
(IFAK) in Germany. It can be considered a custom made version
of Simulink for wastewater treatment applications. A more extensively
compend about the simulator can be found on http://simba.
ifak-md.de/simba/.
• EFOR is a stand-alone software package for the simulation of complete
wastewater treatment plant. It is developed mainly at the Danish
Technical University. The present progress can be found on http:
//www.dhisoftware.com/efor/.
CONCLUSION
The various modeling techniques discussed till now come to prove how easy it is
to model and simulate various bioreactors and their control systems using
various modeling & simulation techniques and also by using various modeling
software with MATLAB being the best suited in most of the cases. The wider
understanding of these mathematical models and modeling software would make
biotech engineers better equipped to handle the complex tasks of bioreactor
design and control of those bioreactors.
REFERENCES