Documente Academic
Documente Profesional
Documente Cultură
TREATMENT PROCESSES
By
W. J . Wh iten 1
ABSTRACT
INTRODUCTION
129
MODELS
A few general c omments about models and model building are appropriate
before limiting the scope of this paper.
i.e. the simulation S, using inputs I. and parameters P . , provides the calculated
1
outputs Ok . Hence, in simulation the model is used as ln alternative to
experimentation on the unit being simulated. On the other hand analytical
techniques manipulate the internal parts of a model usually to deduce some
generalization about the behaviour of the model .
Each of the above techniques is subject to errors . The first relies on the
an alogous replacements being accurat e subs titutes and in the case of physical
models the accuracy of measurement of physical values i s another source of error.
Inaccuracies in models derived by mathematical methods can be caused by
inappropriate use of physical laws, erroneous deduction or the use of
approximat ions to a llow the mathematics necessary for the deduction of the units
behaviour to be performed . Empirical l y derived models acquire err ors from the
data used in their derivation and from inappropriate interpolation a nd extra-
polation.
The planned us e of the model has a considerable effect on the type of model
which is developed. A model for use in mathematical techniques is usually
r es tricted to a certain form (e . g . linear). Considerations of accuracy , amount
of detail, development cost and operational cos t effect the nature of the
required model. Models suitab l e for one app lication can be quite unsuitable for
other appl ications . For instance, the models of an aircraft for transport
simulation and for fatigue simulation are totally different .
130
This paper describes techniques using experimental data for the
development of models which can be used for simulation on a digital
computer. When mathematical techniques can be applied to the construction
of part or all of the model they may be advantageously combined with the
techniques described. The aim of this model building is to produce a
model that contains all the available information on the unit being
modelled and does not use an excessive amount of computer time. Further,
it is required that the first derivatives of the model should be
reasonably well behaved. This allows the model to be used to generate
data, by simulation, for the development of local approximations used
in the application of analytical techniques.
TYPES OF SIMULATION
The model building techniques in this paper have been developed from
the construction of models for steady state simulation . However, they can be
applied to the development of models for use in statistical and dynamic
simulation but the amount of computer time required may become excessive.
131
of the closed loops . This is almost always the case . Steady state simulation
of a plant requires an iterative technique to simulate the behaviour in the
closed loops of the plant. Usually, iterated simulation of each unit
around the loop (i.e. approximating a dynamic simulation of the plant coming
to equilibrium) is sufficient to obtain steady state operating conditions .
Relaxation methods are useful in reducing the number of iterations required.
The above approach provides useful informa tion about the loading and
operation of each unit in th e plant. Among other things, this allows the
restraints on the operation of the plant to be determined. It is easy to
inves tigate alternative flow charts for the plant and much useful information
for control s tudies can be obtained.
The aim has been to obtain models as accurate as possible using the
available data. If simpler models or models of a particular form are
required, they can then be developed using simulated data from the original
model.
DATA COMPLETION
E (M~ - M. ) 2
l. l.
i
This problem can be sol ved for ei ther U. alone or both t he U. and M*. .
1
Techniques for so lution do n ot r equi r e the f ]functions to be linear .
Deming (1964) gives t echniques for the solution of the general case and
special cases t hat have simp l er solutions . Appendices 1 and 2 give the
solution for two common mass b alance problems that occur i n mineral processing.
The use of this technique t o calcula t e the unmeasured values has been
very successful but the correction of measured values tends to put occasional
small negative percentages int o the l arger screen sizes . This propert y makes
correc tion (by this method) of the measured values somewhat unacceptable.
Unless there is much r edundancy in the origina l data, the corrected data is
only sli ghtl y more accura t e than t he o riginal . For these reasons we have used
the best estimate of the unmeasured variables and the uncorrect ed meas ured
variables for model building . The model building t echniques do not require
consistent data .
MODEL BUILDING
The data for model b uildin g now consists of a series of tests each g1v1ng
a description of i nput a nd out p ut from the unit p lus the values of the oper ating
parameters for each test. We shall l ook, f irs t in out line, t hen in g reater
detail, at a method using simulation , optimisation and r egression t echniques t o
aid the model building. The met hods described provide techniques fo r ob t aining
t he bes t model of a particula r form, aids to finding suitable forms for a model ,
a method f or obj e c tive evalua tion of the model and a means to predict the
accuracy of the resulting model.
133
8. Random number gene r a t ors are incorporated into the model to simulate
the random behaviour of the difference between the model and the data .
These additions are again tested for correct implementation.
9. A comparison of the predicted errors with the actual error s is made for
each test.
Thus the data for each test consists of t he values I., P. and Ok. The distinction
1 J
between the Ii and Pj is not always clear and may to some ext e nt be chosen t o
sui t s t ep 1 . In general, the Ii describe t he material being fed to the machine
and the Pj the machine itself. e . g . fo r a hydrocyclone, th e input par ameters
may be the feed t onnages of ore and water, and the s ize distribution of the feed
whi l e the operating parameters are the vortex finder and spigot diameter .
It is at this stage that the next form of the model to be tested is chosen.
Any analytical knowledge of the model form can be included at t his point. The
pri mar y aim at this stage is to propose a model which will , given t he inpu t fo r
a singl e tes t, predict the output. The effect of the operating parameters Pj
can be omi tted at this stage as t heir effect , which is between tests rather than
within a t es t, is i n cluded in the model at a l ater s tage . Thus the model
building problem is fac t ored into the simpler problems of within test behaviour
and between test behaviour .
This proposed model may contain unknown parameters or functions that need
not be i ndependent of the operating conditions . Arbitrary functions are reduced
to parameter s by using appr oximating analytic or spline forms . Approximation
using sp line functions has been found very sa tisfactory . The model now contains
134
some model parameters N
... and is of the form:
S (I., N )
1 Y.
-+ *
Ok
i . e . the model S provides estimated outputs Ok* from the inputs Ii and model
parameters N . The number of model parameters should be kept low enough to
1
allmv their calculation from an individual test, hotvever, see 3b for details
on the required actions if this is not possible.
Depending on how much is known about the unit, the model can vary from
entirely theoretical to empirical. In some cases smoothness conditions on
certain relations between input and output values may be all that is known.
Example - proposed model form. The basis of the vibrating screen model
is an efficiency curve developed from a probability approach and containing a
model parameter corresponding to the number of attempts a particle makes to
pass through the screen . This efficiency curve provides a method of
calculation the product sizings given the feed sizing. The operating parameters
are the screen size and the feed tonnage rate.
For (d) and (e) it may be desirable to use what is already known to reduce the
number of original model parameters.
135
2. Program Model
The model proposed in 1 is programmed for simulation on a digital
computer . Techniques from numerical analysis may be required for such
things as solution of differential equations, integration and interpolation.
After the model is coded it must be tes ted thoroughly . It should be tes ted
for at least several different sets of input values Ii and for the correct
effect of changes of each of t he model parameters . This testing is important
as the subsequent use of this program with optimisation routines is s uch that
errors in coding will not be detected.
*2
Ok) w. r. t. the M~
If the operating parameters P. are the same for groups of tests, it may
be advantageous to group these test~ together and find the model parameters which
provide a best fit over these groups of tests. This will provide a more accurate
estimate of the model parameters or permit more model parameters in the proposed
model .
The res ult from this section is a table of cal cul ated model parameters
against measured operating parameters.
A r evisi on at this s tage i s indicated when the model fits the tes ts
individually (s t ep 4) but does no t predict over all the tests satisfactorily
(step 7). Attemp t ed physical interpretations of the equations may provide
some i n formation on desi rable or possible chan ges . Possible revisions at t his
s t age are as foll ows .
(a) For multiple linear r egression, a lte r the transforma tions used or
for multiple spline r egr essi on, a lte r the smoothness of the spline
func tions.
(b) I ntroduce mor e of the operating parameter s into the
regression equation.
(c) Allowing for the interaction between the operating variables
(i . e . add a p r oduct or product of splines term into the regr ession).
(d) Introdu ce into the regression a variable not previously recognised
as an opera t i ng variable .
Example: During the a na l ysis of the con e crusher model large errors were
found in certain tests. The fit a t step 4 was reasonable and the r egression
equation could not be s ignificantly improved using the defined operating
variab l es . An examination of the errors i ndicat ed they were linked wi th the
percent of plus one inch material in the feed . The introductio n of this
variable as an operating variab le significantly increased the accuracy of the
model .
137
6. Camp letion of Model
The regression equations found in step 5 are added to the model so that
the simulation now predicts the behaviour with change s in the opera ting
parameters. The resulting program must be tested for correct impleme ntation
otherwis e there is a chance that the model will be rejected due to a
programming error.
7. Evaluation of Mode l
The model is used to generate the calculated outputs for each test a~d
the error terms (0. - O.*) are then obtained by subtraction. We can now
1 1
look at the corresponding error terms for s ystematic variations over all of
the tests. The simples t test is a t-test for mean error different from zero.
If the means are not significantly different from zero, the model is unbias ed
with respect to the available data.
Should the model building prove unsatisfactory in thes e tests the model
building continues from step 1 or step 5 in an attempt to improve the model.
This step incorporates the knmvn random error behaviour into the model so
that the accuracy of the model can be estimated by simulation. The basic idea
is to perturb the model parameters with random numbers dis~ributed with the same
distribution as the known error structure of the parameters (obtained in step 5).
From a series of simulations with these perturbed model parameters, the
prediction error can be obtained directly from the variations in the predicted
output.
Two error structures exist. The first is the error in the data and the
second the error in the model prediction$ . The second is, due to redundancy in
the data, usually the smaller, i.e. the model is more accurate than the original
data. The error in the data can be predicted by adding to each model parameter
a random normal variable with standard deviation as calculated for that model
parameter in the regression. Usually the model parameters are relatively
138
independent so that no correction for correlation is required, however, a
correction can be calculated if it is needed. For the errors in model
prediction, the error structure is calculated from a quadratic expression
involving the invers e of the correlation matrix (Deming, 1964). Random normal
variables with appropriate standard deviation are again added to the model
parameters. Often it is possible to simplify this error calculation by
neglecting ins ignificant correlation terms. Thus for both error structures
\ole have
S (I. N 0
1 "-
) -+ 0.
J
*
where the e i are random normal variables with zero mean and a standard deviation
calculated as described above. Simulation is used to provide sufficient samples
of the oj* to determine the size of the error, for instance, as a standard
deviation. Both error predictions are programmed and tested for correct
implementation. The calculated error in model prediction should be tested
under various limiting conditions to verify reasonable error prediction.
Experience has shown that this step causes little trouble at least when the
number of tests is relatively small.
9. Comparison of Errors
The best way to further test a model is to obtain further data on the unit
being simulated so that predictions can be compared with measured values.
139
The error estimates a llow an objective evalua tion of the accuracy of the
predictions. Unfortunately, additional data is not always readily available.
CONCLUSION
The above procedure has proved suitable for the production of models
which explain the available data to a known accuracy.
REFERENCES
Osborne, M. R. 1969. Gauss and Modified Gauss Methods for Non-Linear Least
Squares Method, in Least Squares Methods in Data Analys is ~ (Eds . Anderssen,
R.S . , and Osborne, M. R. ), CC 2/69, pp . 97-104 . (Australian National Univers ity :
Canberra.)
140
Powell , M. J.D., 1965 . A method of Minimizing a Sum of Squares of Non- linear
Functions Without Cal culating Derivatives, ComputeP JoUTnal ~ 7 : 303-307.
141
APPENDIX 1
Fl ow Chart
with respect to ct a. c.
1 1
thus obtaining
E(bi- ai)(ci - bi)
I: (b. - a.) 2
1 1
and
a. eta.+ (c. - (1- ct)b. - cta.)/3
1 1 1 1 1
142
APPENDIX 2
The mass flows within the pairs a,d and b,c are assumed the same.
Ftow Chart
'c
I
b \
The solutions is
[ (b. - c.)(a. -d.)
1. 1. 1. 1.
2
L(b. - c.)
1. 1.
143
and
ai a.~ - ~
bi ab. + ~
~
ci a c ~. - ~
d. d.~ + F,;
~
144