Professional Documents
Culture Documents
03/O
Pnnted in Great Brilam. All nghls reserved. Copyright Q 1981 Pergamon Press Ltd.
Paper 6B.l
J. D. PERKINS
Department of Chemical Engineering and Chemical Technology, Imperial College, London SW7, England
Conclusions and Significance-This paper has been concerned with a simple modification to
sequential-modular flowsheeting programmes which greatly increases their power. The modifi-
cation involves the incorporation of Broyden’s method to handle simultaneously those
equations resulting from torn recycle streams, and those resulting from design specifications.
Examples have shows that the incorporation of design variables and specifications involves only
a small overhead when they are handled by the new method. The new method compares
favourably in efficiency with the more traditional approach using control blocks, and also
provides a facility for the identification of badly posed problems.
__--__
FEED,
[cll,”
A common source of design variables is the feed posed problems can be identified, since such problems
streams to a plant. For instance, the required product give rise to singular Jacobian matrices, as is shown by
rate may be known, and it is necessary to find the feed the following well-known result (see e.g. Courant [8]):
rate to produce it. For many flowsheeting pro-
grammes, including CHESS, the specification of feeds Theorem
is by specification of the relevant stream variables. To Let the set of functions f(x) be continuous in x and
fit the convention adopted in this work, it is necessary have continuous first partial derivatives. Then, there
to provide a facility for the specification of feed stream is a nontrivial functional relation of the form :
variables as equipment parameters. Then, these
variables can be iterated upon if required to satisfy F(f(x)} = 0 (7)
design specifications. A simple unit module called if and only if
FEED has been developed for this purpose, and
incorporated into our modified version of CHESS. IJWI = 0 (8)
Although some of the above modifications seem to where 1J(x) 1is the determinant of the Jacobian of f(x).
represent a major change, it should often be possible to The above theorem implies that a functionally
incorporate them as extensions to a flowsheeting singular Jacobian indicates that the set of equations
package. With CHESS, for example, our modified f(x) = 0 is not an independent set, since their left hand
version handles all problems which the old version sides are related.
would handle with no change to the data specifi- Now, the occurrence of a numerically singular
cations, but in addition, the new version handles a wide Jacobian approximation will cause failure of the
range of design problems. Some examples are given in inversion algorithm in the initialisation procedure.
Section 3. Such an occurrence does not necessarily imply that the
problem under consideration is illdefined. An unlucky
2. BROYDEN’S METHOD AND ITS
choice of the initial point x” or of the finite difference
INlTlALISATlON
increments may also cause singularity of the Jacobian
Broyden’s method for solving Eq. (1) is as follows : approximation. However, the most likely reason for
Given x”,Wo the failure of the procedure is that the problem is
Xk+l badly posed. Thus, a failure of the inversion algorithm
= Xk + Wkf(xk) (4) (we have used Gauss-Jordan inversion with a
(Pk+ Wkyk)PkTWk maximum pivot strategy, since no extra working
wk+ ,
-
_ wk _
Table 1. Problem specification for simple ethylene plant values associated with the torn stream. (The relation
between these function values and the conversion is
Feed stream : Temperature 53O”R nonlinear.) However, the torn stream variables appear
Pressure 600 psia in the design specification equation linearly, so that
Vapour fraction 0
this equation is linear in the guessed variables.
Composition :
80 Mol./hr
Broyden’s method automatically satisfies linear sub-
GH,
120 Mol./hr. sets of Eq. (l), so that the search in this case is confined
CsHs
The process diagram of the plant consisting of the to a subspace containing the solution. In the case
following equipments is shown in Fig. I. where stream 37 is torn, all the equations are nonlinear
UNIT 1 Valve and the search is in the full space of the variables. This
, reduces pressure to 90 psia is why the choice of stream 38 as the torn stream leads
UNIT 2 & 9 Fired Heaters to faster convergence.
raise temperature to 620”R By generalising the above argument, it would
rated dutv = I.5 M BTUihr
appear that the torn streams should be chosen so as to
pressure drop = 10 psia
UNIT 3 Reactor
minimise the number of equations which the design
3C,H,+6C,H,-+4H,+4CH, variables influence, thus reducing the nonlinearity of
+ X,H, + 2C,H, + C,H,, the problem. Of course, the number of torn streams
90% conversion of C,H, should be minimal, since the amount of work involved
UNIT 4 Mixer in one iteration of Broyden’s method increases with the
UNIT 5 Pump/compressor number of variables ; the above rule only applies when
no. of stages = 3 there is a choice between different minimal tear sets.
work capacity = 1.2 x lo6 BTU/hr Cases 5 and 6 are examples of badly posed problems
pressure out = 600 psia which were identified by the modified initialisation
motive power = steam
procedure described in Section 4. For case 5, it is not
enthalpy of entering steam= 1190 BTU/lb
enthalpy of leaving-steam = 1134 BTU/lb
possible to make independent specifications for the
UNIT 6 Simole distillation three chosen product flows, since they are related by
takes 100% H, and CH, overhead the stoichiometry of the process chemical reactions.
UNIT 7 Simple distillation For case 6, since the key component in unit 3 is
takes 997, C,H, and 5;; C,H, overhead propane, the amount of ethane in the feed has no effect
UNIT 10 Reactor on the extent of reaction in unit 3. Thus, the propane
4&H, + 2H, + 2CH, + 3C,H, and propylene requirements overspecify the conver-
80% conversion of CsH,
sion required in unit 3.
CP
Time
Torn No. of CP
Design Design recycle flowsheet Time
Case variables specifications stream evaluations ‘ideal’
CO* 0.088
N, 0.149 Example 3
CH, 28.786 A nitric acid plant. This example is based on a
CJ, 20.103 problem used by Sood and Reklaitis (Sood and
CJ, 24.977 Reklaitis [9, lo]) to illustrate the performance of the
GH 1o 2.832 MBP-II programme for material balance compu-
10.221 tations. The flowsheet is shown in Fig. 3, and the
2.224
problem specification is given in Table 5. Since only a
2.396
3.589
material balance is required, all the components may
be modelled as methane for physical property calcu-
Total 95.365 lb. Mole./hr lations. Of course, such calculations will still take
place, even though the results are not used, and thus
Flow of methane the use of CHESS to solve the problem is inefficient in
Bottom product requirement: ---__~- = 0.02. terms ofcomputer time when compared with the use of
Flow of ethane
The process diagram consisting of the following units is a system specially designed for such problems.
shown in Fig. 2 However, the example is useful in that it contains a
Unit 1 Stripper relatively large number of design constraints (ten).
number of stages = 15 The performance of the new procedure for dealing
Unit 2, Temperature controller using equilibrium with design constraints may be assessed by comparing
flash/ADBF the computer time necessary to solve the problem as
Objective: component ratio C,/Cz = 0.02 specified in Table 5 with that necessary to solve the
Tolerance (varied)
‘ideal’ problem with all the equality constraints re-
Temperature range : 600-620”R
Unit 2, Fired heater
moved. The ratio of the two computer times for this
problem is 3.5. The complete problem is solved in
thirty-two flowsheet evaluations; the ‘ideal’ problem
takes fourteen, which is to be expected since the ‘ideal
Example 2
problem is linear in the eleven recycle variables.
Stripper column with reboiler. This problem is
based on example 7 in the CHESS User’s Guide, and
allows a direct comparison of the new method with the Acknowledgement-The Author wishes to thank Mr. A.
use of control blocks. The plant flowsheet is shown in Ciuksza for his help in programming the FEED module.
Number of
Convergence flowsheet CP timet Number of
criterion CP time? using evaluations using evaluations
(DERROR) CTRL (Sec.) using CTRL Broyden using Broyden
Methane
feed
The process diagram of the plant consisting of the following Design constraints
equipment is shown in Fig. 3. There are ten unknown equipment parameters. The ten
Unit 1 Simple distillation design constraints are:
takes 100% N, and H, overhead
takes unknown amount of NH, overhead 1. Flow of HNO, in stream 4 is 0.952
Unit 2 Feed 2. Flow of H,O in stream 4 is 2.222
feeds unknown amount of air (79 % N,, 3. 99.2% of flow in stream 6 is N2
21% 0,) to plant 4. 1% of flow in stream 8 is 0,
Unit 3 Mixer 5. Flow of 0, in stream 11 is 0.0
Unit 4 Reactor 6. Flow of H,O in stream 11is 0.0
NH, + 202 -+ HNO, + Hz0 I. Flow of CH., in stream 11 is 0.0
100 Y; conversion of NH, 8. 91% of flow in stream 12 is CO2
Unit 5 Feed 9. 25% of flow in stream 14 is N,
feeds unknown amount of H,O to plant 10. 75% of flow in stream 14 is H,
Unit 6 Mixer
Unit 7 Simple distillation
takes 100% HNO, and H,O overhead
Unit 8 Simple distillation
takes unknown amounts of N, and 0,
ovel;head
REFERENCES
Unit 9 Feed
feeds unknown amount of H,O to plant 1. R. L. Motard, M. Shacham & E. M. Rosen, Steady state
Unit 10 Feed chemical process simulation. AIChEJ 21,417 (1975).
feeds unknown amount of CH, to plant 2. R. L. Motard & H. M. Lee, CHESS User’s Guide, 3rd
Unit 11 Mixer Edn., Department of Chemical Engineering, University
Unit 12 Reactor of Houston (1971).
H,0-+HZ+$002 3. C. G. Broyden, A class of methods for solving nonlinear
unknown conversion of Hz0 simultaneous equations. Math. Camp. 19, 577 (1965).
Unit 13 Reactor 4. D. B. Batstone, G. Fenton & R. G. H. Prince, The steady
2CH, + 0, -+ 2C0 + 4H, state simulation of chemical plant of arbitrary configur-
unknown conversion of 0, ation. IFAC Symp. on Digital Simulation of Continuous
Unit 14 Reactor Processes, Gyor, Hungary (1971)
CH, + 0, --* CO, + 2H, 5. P. L. Genna & R. L. Motard, Optimal decomposition of
unknown conversion of 0, process networks. AIChE J. 21,656 (1975).
Unit 15 Simple distillation 6. S. R. Metcalfe & J. D. Perkins, Information flow in
takes 100% CO and CO1 overhead modular flowsheeting systems. Tram I. Chem. E. 56,210
Unit 16 Simple distillation (1978).
takes 100% N, and NH, and 99x, H, overhead 7. E. M. Rosen, A review of quasi-Newton methods in
Unit 17 Mixer nonlinear equation solving and unconstrained optimis-
Unit 18 Reactor ation. Proc. 2lst ACM Nat. Meet., Washington, DC.
NZ + 3H, --t 2NH, (1966).
25 “/, conversion of N, 8. R. Courant, Difirential and Integral Calculus. Vol. II, pp.
154-6, Blackie & Son, London (1961).
Efficient solution of design problems using a sequential-modular flowsheeting programme 381
9. M. K. Sood & G. V. Reklaitis, Material balance balances for flowsheets modelled with elementary
program-II: User manual. School of Chemical modules: the constrained case. AIChE 85th Nat.
Engineering, Purdue University (1977). Meet., Philadelphia (1978).
10. M. K. Sood & G. V. Reklaitis. Solution of material