Professional Documents
Culture Documents
10.1016@0009 25097280081 2
10.1016@0009 25097280081 2
Abstract- Practical problems solved by the simulation calculations of complex chemical processes
require admitting a more general distribution of given and unknown input parameters of streams and
nodes, than it is usual for common forward or backward “node by node” computations. The distribu-
tion should not be limited, anyway. However, for arbitrary distribution the problem of over- and under-
determination arises, similarly as in the case of balance calculations. An algorithm for testing of over-
and underdetermination in problem formulations for simple method of simulation calculations is de-
rived by the application of least-square method. But the main idea can be applied also on more sophisti-
cated methods of system engineering. The subject is closely connected with degrees of freedom of a
complex chemical process.
simulation calculations. It is also evident, that as the input data is given arbitrarily.
this question can hardly be solved intuitively for A great variability in the mathematical forms
complex systems. of relations describing individual nodes in the
An incorrect overdetermination is such deter- simulation calculations of chemical processes
mination of the input parameters which contra- causes difficulties in finding a common algorithm
dicts the given relations. An underdetermination for testing over- and underdetermination. There-
of the input data means that not necessarily all fore, the method is shown on the simple example
the parameters or relations for the calculation of of one component simulation calculation based
the required unknown parameters are given. on fraction coefficients. These coefficients di-
There is such experience that the incorrect vide a total amount of some balanced extensive
overdetermination causes greater troubles at quantity passing through a node into the streams
computation than the underdetermination. It is leaving this node. The method described in [ 18,
due to the fact that in the former case, the whole 191 belongs to the oldest and most simple way of
calculation must be repeated with changed or the simulation calculations. But it still remains
otherwise re-arranged input data. In addition to important because the set of equations simulating
this it is not immediately evident, whether these the behaviour of a calculated system has some
new input data are not incorrectly overdetermin- linear properties. For other methods of simula-
ed again. In the latter case, it ie not usually nec- tion calculations, a similar algorithm for testing
essary to repeat the calculatior!. If the lacking over- and underdetermination can be developed.
information is available, but wa:, not included in
the input data, it can be added c’uring the calcu-
lation. In this case more than necessary variables, 2. THEORY
in the set of equations solved, complicate the First of all, the flowsheet of the process should
calculation. It can also happen that some types of be formalized similarly as at balance calculations
calculations cannot be started with incomplete [ 131. We define nodes and oriented streams (the
formulation of the problem at all. nodes are usually the individual process units
It follows from these conclusions that testing and the places of addition and splitting of streams
of correctness of the problem formulation have in a piping). Besides the real streams we can also
to discover any over- and underdetermination. define the fictitious streams which substitute the
However, this testing should not be more compli- eventual source and the accumulation of the
cated than the solution of the prc blem itself. balanced quantity so that it would be equivalent
In the case of the balance calculations it was to the exchange of this quantity between the
shown [ 131 that a suitable theory for this purpose node and its surroundings. After this arrange-
can be developed by applicatio,i of the least ment, the scheme contains internal streams
square method for smoothing of data measured (streams coincident with two nodes) and most-
for the balance calculations [ 14-171. But this ly also external streams (streams coincident with
approach is not in principle limitea to the balance one node only). If the latter case is true, we define
calculations. It can be extended to simulation one fictitious node incident with all the external
calculations, too. Experience on the application streams. Further, we define some fictitious nodes
of this concept shows that the overdetermination if more than one stream is directed from one
can be more easily recognized than the under- node to another.
determination. But further differentiation be- The graph obtained in such a manner has the
tween the correct and incorrect overdetermina- following properties:
tion is very difficult and it is better not to carry (i) Each node of the graph has at least one
out this stage. It usually does not matter. If the entering and one leaving stream.
problem is overdetermined, it is very probable (ii) The graph has only internal streams.
that this overdetermination is incorrect, as soon (iii) There are at most two streams (opposite-
1670
Simulation calculations of a complex chemical process
ly oriented) connected with the same two nodes. G/c= gk+Yk V-5)
value of the function F is that: algorithm. If all corrections ,&I, &, pkk’ in
Eqs. (16)-( 18) are equal to zero, then the
aF formulation of the problem is not incorrectly
-= 0 (10)
@kk’ overdetermined, but still it can be overdeter-
dF mined. If the same results is obtained by substi-
-0 ‘(11) tution from Eqs. (19), (20) and (2 1) into Eqs. (16),
aYk-
(17) and (18) then the formulation is definitely
aF not overdetermined even when the known pa-
-= 0 (12)
apkk’ rameters are (reasonably) given arbitrarily. We
see that Eqs. (19), (20) and (21) are expressions
for all the indices k or (k, k’) for which the values
of the distribution of given and unknown param-
mkk’, gl, and &k’ are given, and
eters Mkk’, Gk and&k’.
It is easy to find from Eqs. (16)-(2 1) that in
(13) order to obtain ,+k’ = 0, yk = 0 and pkk’ = 0 for
all indices (k, k’) and (k), the Lagrangean multi-
aF pliers must fulfill the following condition
-= 0 (14)
a%
.& = Lk = &’ k, k’ = 1; K (22)
aF
-= 0 (15) this conclusion was derived in fact for the case
aRkk’
that a stream exists in the scheme for each com-
for all the indices k or (k, k’) for which the corre- bination of indices (k, k’).
sponding parameters are not given. The problem A rather more complicated situation arises if
of non existing streams will be discussed later. some streams do not exist. One of the possible
From Eqs. (lo), (11) and (12) it then follows procedures is to set up for each non-existing
that stream k, k’
,&V = Jkk’ - & (16) &r = 0 (23)
and to omit the corresponding Eqs. (16) and (18).
Yk = -k,$&d/de’ + Kk (17)
This operation is in fact elimination of the re-
dundant Eqs. (2) and relations yielding from the
Pkk’ = (- Jkk’ + Lk) Gk (18)
redundant conditions (10) and (12) for nonexist-
ing streams k, k’. Also in this case, it can be
and from Eqs. (13), (14) and (15) we can obtain derived, that for remaining &k’ of existing streams
the relations (k, k’) and for Lk, Kkf condition (22) must be ful-
0 = &’ - K,‘ (19) filled if incorrect overdetermination does not
occur.
0=- $ &‘&‘+Kk (20) It is interesting that the algorithm described is
k’=l
suitable for testing of underdetermination, too.
0 = -Jkk’+Lk; Gk # 0. (21)
Every underdetermination in a problem formula-
Let us notice that the right hand sides of Eqs. tion has to be considered with respect to each
(16)-(18) and (19)-(21) are formally the same, unknown required parameter. Let this parameter
but differ in the significance of indices. In the be taken for a given one for testing purposes. If
former case, the indices correspond to the given a new problem formulation obtained in this way
parameters and in the latter case, they agree is found to be overdetermined, then the classified
with the indices of the parameters which are not parameter can be in principle determined from
given. the original formulation of the problem. It means
Now we can express the main principle of the in this case that the original formulation is not
1672
Simulation calculations of a complex chemical process
underdetermined with respect to the classified Developed algorithm is suitable for computa-
parameter and vice versa. tion, but also a graphical method of solution can
be found.
3. DESCRIPTION OF ALGORITHM FOR
TESTING OF OVERDETERMINATION 4. EXAMPLE
As a conclusion from this theory we can derive Now the algorithm will be applied on a simpli-
one possible algorithm for testing of overde- fied system of air distillation demonstrated on
termination in the formulation of a problem. Fig. 1. A scheme of the system (see Fig. 2) con-
(i) Substitute 0 + Jltkt (Eq. 23) for all non- sists of 4 real nodes. The 5th and the 6th fictitious
existing streams (k, k’) in the matrix [Jkkfl. nodes were added to satisfy the condition re-
(ii) Substitute K,, + Jlckr (Eq. 19) for all quiring that there have to be at most two streams
Jkkt # 0 in the column k’ of the matrix [Jkkt] if
the value of the parameter MkkJ is not given.
(iii) Substitute LI, + Jkkr (Eq. 21) for all
Jkkr # 0 in the row k of the matrix [Jkkf] if the
value of the parameter Rkkt is not given. But it
can happen that some Jlfrt has already been
substituted by Kkt according to the step (ii).
Then some equality relations (chains) result
between Kkt and L*. This situation can be ex-
pressed as follows
Kkt + Kkm + Lk k’* > k’. (24)
It means that the matrices [Jkkp], [Kkf] and [L,]
are rewritten so that in every equality chain
(24) the coefficients are denoted by Kkt with the
lowest index k’.
(iv) Finally we have only Eqs. (20) at disposal
if the values gk of some parameters Gk are not Fig. 1. Apparatus for distillation of air. l-high pressure
column, 2-10~ pressure column, 3-argone column, 4-stream
given. Let us note the following property of divider.
Eq. (20). If the coefficients Jklct # 0 and Kkf in
this equation belong to two different equality
chains only (after previous substitutions Jkk,
and Klcr are two different variables in Eq. (20)
only) then these chains can be joined together
(these variables are equal) and the coefficients
are denoted as in relation (24).
However, there is a problem of how to find
the sequence of Eqs. (20) for the application of
this property, if necessary, so as to facilitate
inclusion of all information contained in Eqs. (20).
(v) If all non-zero elements of the matrices
[ Jkkfl, [K,,] and [L,] are equal to K1 in any
moment during the step (iv) then the tested
formulation of a problem is not overdetermined.
Otherwise if this is not achieved even when all
Fig. 2. Graph of the apparatus for distillation of air. Nodes
information in Eqs. (19), (20) and (21) was in- 1-4 have the same meaning as in Fig. 1. 5,6,7-fictitious
cluded, the overdetermination exists. nodes. The 7th node connets all originally external streams.
1673
V. VkXAVEK
connected with the same two nodes. The 7th (ii) After application of the 2nd step of al-
fictitious node connects all originally external gorithm the result is:
streams. The determined parameters are listed
0 0 KS+ L
0 0 0
0 L + JG 0
0 0 0
0 0 0
0 0 0
K4 K5 KS KT I
K4 0 0
0 0 KS
0 0 0
0 KZ 0
0 0 0
0 0 0
0 0 0
K4 K5 K.1 K, I
Table 1. Given (+) and unknown (-) param- Note the chains: K,-+ Ll;K3 -+ Kg-+ L, *Jz7;
eters in the tested formulation of the simula- Kz~L33L43L5-,J~145;K7~L6;andL,jJ,,.
tion problem
(iv) Finally, we include information contained
k k’ MKL, Gk RW
in Eqs. (20). After substitution of previous re-
1 2 _ + sults, these equations have the form:
1 4 _ -
23 - - k= 1 0=-(R1zK2+R14K4)+K1 (25)
26 - - _
2 7 + - k=2 0=-(R2sK3+R26Ks+R2,K3)+K2 (26)
32 - -
+
3 7 _ + k=4 0=-(R,,K,+R,,K,)+K, (27)
42 - _
4 5 + - - k=5 0=-RR52K2+Ks (28)
52 - - _
67 - - _ k=6 0=-RR67K7+K3 (29)
7 1 + _
k=7 0=-R,,L,+K,. (30)
1674
Simulation calculations of a complex chemical process
Because Eqs. (4) are valid, we obtain the result- g, given value of the parameter Gk
ing chain Jkk, Lagrangean coefficient
K number of all nodes
Kv Lagrangean coefficient
So it was found that all Lagrangean multi- k, k’ index of a node
pliers either fulfil condition (23) or are equal to L Lagrangean coefficient
each other. Therefore, the problem formulation Mkk’ parameter expressing total amount of a
is not overdetermined. If, e.g. the value g, was balanced quantity passing through a
given, Eq. (29) would be missing and K, # K,. stream k, k’
Thus the formulation of the problem would be mkk’ given value of the parameter Mkk#
overdetermined. R kk’ parameter expressing the fraction of G,
leaving the node k in the stream k, k’
NOTATION rkk’ given value of the parameter Rkk!
akk’ element of the associated matrix
F objective function Greek symbols
Gk parameter expressing total amount of a Yk correction of gk
balanced quantity passing through a pkk’ correction of mkk!
node k Pkk’ correction of rkk’
REFERENCES
[II EVANS L. B., STEWARD D. G. and SPRAGUE C. R., Chem. Engng Prog. 64 39.
PI SARGENT R. W. H., Chem. Engnr.1968 No. 223 424.
[31 LEDERMAN P. B., Chem. EnPna 1968 75 25 127.
[41 RUBIN D. I., Chem. Engng P&g: 1962 58 54.
151 SARGENT R. W. H. and WESTERBERG A. W., Trans. Inst. Chem. Engineers 1964 42 190.
[61 NORMAN R. L.,A. I. Ch. E.J. 1965 11450.
[71 HIMMELBLAU D. M., Chem. Engng Sci. 1966 21425.
WI LEEW..RUDDD.F.,A.I.Ch.E..//1966121184.
[91 VACLAVEKV., KUBieEK M., HLAVACEKV. and MAREK M., Coil. Czech. Chem. Commun. 1968 33 3653.
[lOI NAPHTALI L. M., Chem. Engng Prog. 1964 60 70.
illI ALMASY G., SZTANb T., CSILLAG P., VERESS G. and HOLDERITH J., The 3rd Congress CHZSA, MarihnskC
L&z&, Czechoslovakia 1969.
[I21 RINARD 1. H. and RIPPS ,p. L., Chem. Engng Prog. Symp. Ser. 1965 6134.
t131 VACLAVEK V. and KUBICEK M., The 17th Conference CHISA, Mari&nskC LBzn& Czechoslovakia 1970.
1141 VACLAVEKV., Chem. Engng Sci. 1969 24 947.
[I51 RIPPS D. L., Chem. Engng Prog. Symp. Ser. 1965 618.
1161 KUEHN D. R. and DAVIDSON H., Chem. Engng Prog. 196157 44.
[I71 CLEMENTSON A. T., Chem. Process. 1966 S14.
t181 NAGIEV M. F., Chem. Engng Prog. 1957 53 297.
[I91 ROSEN E. M., Chem. Engng Prog. 1962 58 69.
RCsumC-La solution de problkmes pratiques par les calculs de simulation de processus chimiquer
complexes nCcessite une distribution plus g&n&ale des param&res d’alimentation connus et inconnus
descourants et de noeuds que l’on a d’habitude pour les calculs courants de chaque noeud et dans
chaque direction. La direction ne doit en tous cas pas tire limitie. Pour une distribution arbitraire,
cependant, le probltme de sur-et-sous dktermination se pose, comme dans le cas de calculs de I’Cquil-
ibre. Les auteurs d&vent, par l’application de la mtthode des moindres car&s, un algorithme pour
v&tier la sur-et-sous d&termination dans des formulations de probltmes pour une methode simple
de calculs de simulations. En g&n&al, ceci peut s’appliquer $ des m6thodes plus compliqutes de
gCnie du systtme. Ce sujet est Ctroitement 1%aux degrks de IibertC d’un processus chimique complexe.
1675
V. VACLAVEK
1676