Khanna R 1984 PDF
Khanna R 1984 PDF
Khanna R 1984 PDF
Thesis by
Rohi t Khanna
Doctor of Philosophy
Pasadena. California
1984
Rohit Khanna
This thesis would clearly not be possible without the guidance of my advi-
sor, Dr. Seinfeld. 1 am grateful that he was able to allow me to conduct research
tor their graduate fellowship that provided much of the assistance for this
research.
Much of the real credit for this thesis should go to my family. Without the
visions and foresight of my parents and without their high expectations this
would never have been possible. Most of all I would like to thank Debbie for her
love and support throughout the time at Caltech and especially on all those
nights when she wished that I could be home but understood that I had to work.
Finally, I would like to thank Dave and Barry for helping provide the outside
ABSTRACT
systems. their acceptance by industry has been slow due to a lack of direct
provides the basis for a concerted theoretical and experimental program in mul-
ti variable process control structure design for packed bed chemical reactors by
mulation, numerical solution, and analysis of a detailed model for packed bed
The study of the heat conduction system allowed for consideration of vari-
ous control design techniques and the relation between measurement structure
and control system design. This study shows that the choice of measurements
and their locations significantly affects the optimal control design and the use-
analysis of packed bed catalytic reactors that significantly extends previous stu-
dies· in the detail of the model and in the consideration of all aspects of the
model development and reduction to a state-space control representation. The
vi
general view that modeling simplifications are desired since they lead to a
its importance in the accurate description of dynamic and steady state reactor
the design of control structures to stabilize the reactor under various distur~
TABLE OF CONTENTS
Acknowledgement vi
Abstract v
Notation xi
1. Introduction 1
1. Introduction 14
2. Preliminary Analysis 18
1. Model Red.uctiun. 18
2. CantrolZa.lTility 26
3. Root· Locus 27
1. qptimal Ccmtrol 36
2. Mod.a.l Cr:mtrol 40
4. Non-Interacting Control 46
1. Introduction 167
2. Review or Packed Bed Reactor Modeling 172
3. Model Development for Packed Bed Catalytic Reactors 179
1. Reactor System 179
2. Reacf:ion .Ni:netics 182
3. Formation of OJmplete Mathematical Model 187
5. Appendices 378
6. References 485
xi
NOTATION
xii
A state matrix
B control matrix
c measurement matrix
d disturbance vector
F inner-loop compensator
k thermal conductivity
Blake·Kozeny constant
Lagrangian polynomials
controllability matrix
p -pressure, atm
total pressure neglecting mole change, atm
r radial coordinate. em
t time. sec
T absolute temperature, aK
u control vector
u internal energy
v volume, cm3
weighting functions
X state vector
XV
y output vector
z axial coordinate, em
Greek letters
Biot numbers
viscosity
p density, g/cm3
0 value at inlet
b reactor bed
f value at outlet
g gas
h heat
m mass
M methanation reaction
r radial
s solid catalyst
s steam-shift reaction
t thermal well
w cooling wall
z axial
steady state
deviation variable
Chapter 1
INTRODUCTION
-2-
of the chemical process and the inability to predict system behavior in the pres-
cess variables. Although complex control algorithms have been conceived for
industrial chemical systems, their acceptance by industry has been slow due to
This thesis provides the basis for a concerted theoretical and experimental
program in multivariable process control structure design for packed bed reac-
tor systems. Along with the detailed design and construction of both a kinetics
and pilot-scale control reactor {Strand, 1984), this work presents the necessary
view of these objectives, this thesis is divided into two major sections:
The first section of this work, the analysis of the heat conduction problem,
Seinfeld, 1982). Although this heat conduction system is much simpler than the
design can be obtained from this process since the control aspects are not lost
through the usc of extra measurements and through the appropriate selection
and steady state reactor behavior for process optimization and design. for the
and model structures are considered, and the appropriate numerical solution
techniques are discussed. This analysis is not intended to be specific to any par-
ticular packed bed reactor system but rather to present a detailed study of
model and in the systematic consideration of all aspects of the model develop-
Until only recently, the process control industry has been dominated by
developed in the 1960's have only played an important role in fields such as
robotics and the space program. Their applicability to complex industrial chem-
ical processes which are inherently burdened by nonlinearities, large time
delays, and distributed parameter behavior has been extremely limited in spite
have been made by many research groups in the development of control algo-
chemical industry, these efforts have not found wide application in actual indus-
trial problems. Thus during the past twenty years, a significant control 'gap' has
developed between process control theory and practice (Foss, 1973; Seborg and
Edgar, 1982).
efforts are now being made by industry to modernize and automate production
facilities with a major emphasis on integrating energy requirements and improv-
ing throughputs and system performance (Ray, 1981). Additionally with the
control, attempts at applying sophisticated control theories are only now begin-
ning. One of the conclusions of the discussion on the problem of the control
'gap' between academic theories and practice is that there exists a ·pressing
need for careful, systematic studies of the design and implementation of control
systems for pilot-scale industrial processes, thus providing the prime motivation
behind the current theoretical and experimental program for which this thesis
provides a basis.
Several steps are necessary prior to developing and testing control stra-
tegies. These include the design and construction of a pilot-scale system pos-
for process design and analysis, and the reduction of the full model to one suit-
able for control structure design and on-line control. The first of these steps
was performed by Strand (1984), and the latter two steps are the concern of this
current work. A packed bed nonadiabatic chemical reactor was selected as the
difficulties and its extensive industrial importance for carrying out exothermic,
control structure:
variables, and
tures that make optimal use of the availiible measurements in the chemical pro-
cess. Although in general there may be quite a few measured variables available,
they may not be the variables of most concern, and these variables may need to
ment of the outlet gas temperature in the packed bed reactor from which the
-7-
urements result from various random and systematic errors or noise in the
measurements and long delays due to the complexity of the chemical or physi-
cal analyses. 1 The use of an accurate process model can in many cases minimize
these diffl.culties by allowing prediction of some unavailable measurements, by
Thus the central role played by dynamic and steady state models in the
design and optimization of chemical processes and in the development and
The work presented in this thesis is intended to minimize the diffl.culties associ-
the work done by several groups that have made significant contributions in this
area. Their work is by no means the extent of control applications for chemical
processes (there is much published work on the control or separation processes
and other reactor configurations) but is the major extent of published experi-
mental application of control techniques to packed bed reactors.
The Denmark group (Clement and Jorgensen, 1981; Clement et al., 1980;
Hallager and Jorgensen, 1981; Sorensen, 1977; Sorensen et al., 1980) considered
an adiabatic pilot-plant chemical reactor with the reaction between oxygen and
ing and experimental studies were carried out by Hansen and Jorgensen (1974,
1976ab) and by Sorensen (1976). The group considered various reactor and
The Berkeley group (Foss et al., 1980; Michelsen et al., 1973; Silva et al.,
1979; Vakil et al., 1973; Wallman et al., 1979) studied the same hydrogen/oxygen
system but used a two-bed reactor structure with an interstage quench stream.
Again the beds were taken as adiabatic, and various control strategies were de-
vised. The first control studies by Silva et al. (1979) and Wallman et al. (1979)
considered the control of the quench fiowrate and temperature using tempera-
linear quadratic regulator and multivariable integral control. The latter work
by Foss et al. (1980) uses the tlowrate and temperature of the quench stream
and the feed temperature to regulate the product concentration and tempera-
-9-
ture using the characteristic locus method of control system analysis. A major
significance of their work was the consideration of the large number of available
The McMaster group (Jutan et al., 1977; MacGregor and Wong, 1978; Wright
and Schryer, 1978) considered the hydrogenolysis of butane carried out over a
nickel on silica gel catalyst in a nonadiabatic packed bed reactor. The work by
Jutan et al. ( 1977) provides an excellent foundation for packed bed reactor
modeling and control studies for multiple reaction systems by specifically con-
sidering the state-space model development, the parameter estimation and sto-
chastic disturbance identification, and on-line linear quadratic control. The ear-
lier work by MacGregor and Wong (1978) and Wright and Schryer (1978) deviated
and physical phenomena occurring within the process. They considered the use
input/ output process data. They then applied a model reference adaptive con-
Bonvin (1980) and Bonvin et al. (1979, 1980). Modal control using state feed-
back was found appropriate for stabilizing the reactor around an unstable
steady state.
f)pnMRrk Group
Cle..nt • JorR.ensen Same 111 s above Snmr AS above s ...._. .as above Direct Nyquist array I
(198!) ~
0
RallaAf!r. Jor~ten x(t) • A(q- 1)x(t-1)+8(q-l)u(t-d) - te.1At 8CJUATeR Same AS above Hfl<lll ... u -tuntna
'"" (!'Jill) !dent H lent ton r<Jiulator (LQR)
+e(t)+c - Tf.e series
Model
or
Acllabattc
Table 1.2-1
Summary of Published Research on Packed Bed Reactor Control
Berke t ey Group
Syate. Reference ortgina I llod•d Control Hodel Control Variables Control Strateu
11 ..0
2 2
+ 2H
2
o Silva, Vallun, rlX RO • c -tlneari7.atlor~ Measurpd Stochastic linear
- ;iZ - co
Fou (1979) -Co II ocRtl"" - 14 te,..,eraturea quadratic
2Nu 2Hu - 14 points ManipulAted re~~tulator
~ • _ _s (ts-Yl + 5
-p- {Yw-Yl -Drdt'r r .. ductlon - {luench flovr•te
- oZ PeTR ~TR - 1 point" - Te•perature at
avs - l!t!thnd of quPnch •lxinA
211u 5 Y) + ...!!._ AIIR
~~
- - (Ys- - -~ D-nvlfaon roint
PeTR CTo
avw
2)'~"w(Y
Pe W
-Y)- yU{YW-YE)
-~
Wall•n, S!lva, Sa.e aa above- Sa• att above Heaaured Stoc:haettc Unear
Fon (1974) - 5 tell!'~ in lied It q~drattc
Quench Man!pu!At..d re11ulator vtth
- Sa.e aa above integral aetlon
....
--- ~ Pose. !d.unda.
Kouvar1taltls
Salle aa above Sn.- as abov~ Me•attred
- 7 te....,raturn
Chauetertatf<: locua
Mthod
SysteM Jlef.,r•ncu Original Hodel Control Hodel Control Variableo Control Strategy
I
~
MacGregor, Wong wl • ciA + 1 i - 1,2,} -t.tne-ar t'e~re-s Sa• ae above State space atochaatic
t " P.t .. t N
(1'178) Rion or cone, II near quadratic
ttt"'''4 ~~~easur~ r~1uletor
MPnts
-Ttae- •trie-s
analysis (AUMA)
0..
Wright, Schtye1"
(1978)
.. .... ..
X (k+l) • A
y (k) • II x (k)
X (It) + II u (k) -Fo-rw Tl!fe-rence
...,del (2z21
-Tt.e-•erte-tt
SaM ae above Model reference
Adaptive control
lfonadta.. t tc
2.1 INTRODUCTION
error basis, with the theoretical concepts developed later to substantiate the
niques such as root-loci, Bode diagrams, and Nyquist plots led to empirical rules
for setting the appropriate amounts of control action, these methods were lim-
ited to SISO systems. Since most processes have multiple inputs and outputs,
trol system design in the scalar case and led to relatively simple controllers, it is
not surprising that considerable effort went into extending these methods to the
cedures was not possible, and major modifications of the existing theories were
several excellent frequency response procedures were developed in the late 60's
ing, smoothing, and estimation. The ideas have been extended to account for
''modern" methods, which rely heavily on variational calculus and dynamic pro-
grarn.ming, generally lead to a more complex control structure, they are less
heuristic than the frequency-domain methods and allow for more precise
- 15-
control objectives, such as the minimization of the variance in the state vector.
tJ2y(z,t) By(z.t)
(2.1-1)
az2 Bt
z. which is normalized (0.0 < z < 1.0) with respect to the thickness of the sys-
the thermal difiusivity is unity. For simplicity, the controls u 1 (t) and u 2 (t) are
taken to be the heat fiuxes at z ""' 0 and z ""' 1. Thus the initial and boundary
conditions are
By(z.t)
Clz
j
•=O
= -ut(t) . By(z,t)
az
j =u2(t).
•=1
(2. 1-3)
lem due to the simplicity of the model and ease of obtaining measurements. the
trol theory. Actually the system is an excellent choice, since Equations (2.1-1) -
(2.1-3) can be solved analytically to give the temperature distribution for any
control action. Thus model reduction and control design techniques can be
applied to the reduced system and compared with the actual process model.
Due to the simplicity of the model. both distributed and lumped analyses
- 16-
step in the analysis. Section 2.2 discusses the model lumping and reduction
Section 2.3 discusses the time-domain analysis of both the lumped and dis-
tributed models of the system. Both optimal feedback control and modal tech-
niques are discussed in detail, along With derivations of the control schemes.
Since much work has been published on the application of optimal control
multivariable, feedback control design arises from the steady state and dynamic
interactions that occur between the various input and output variables. it is
steady state interactions are also considered. Finally, a new method, that uses a
relatively simple control structure to eliminate all steady state and dynamic
the classical Nyquist stability criterion. Section 2.6 analyzes the heat conduc-
tion system using the characteristic locus method. The analysis is based on the
Using computer simulations of the responses of both the lumped model and the
actual system to step input changes, the effectiveness of the various control
designs are compared. This analysis leads to conclusions about the model
feedback control.
- 16-
tems because of state variations in both time and space. The thrust of many of
the feedback control design techniques for distributed systems is to reduce the
system to a lumped one and then to take advantage of the many theories avail-
able for lumped parameter control design. However, problems arise in that all
In particular, much work has been published on various lumping strategies for
methods (Norrie and DeVries, 1973) or the use of spline functions (Finlayson,
b. Method of Subdivisions
c. Method of Moments
Although these techniques are quite powerful, Mahapatra (1977) points out that
discretization techniques (Leden, 1976; Mahapatra, 1977) are often quite useful
tor linear ditfus10n systems, since they retain the physical characterist1cs of the
Thus to improve the accuracy and reduce the order of the model, it may be
best to use an exact reduction technique. Since the heat equation is governed
for systems which can be made self-adjoint, since the technique leads directly to
method to reduce the order of the system, since only the dominant modes need
Both the Laplace transform and modal analysis techniques were applied to
the one-dimensional heat conduction problem. Other techniques have been dis-
cussed in detail in the literature. Although the methods can be shown to lead to
equivalent results, the modal analysis leads directly to a lumped, state-space
linear diffusion problem because time and space variables are easily separated
where
(2.2-5)
simple feedback control strategy can be env{sioned (Figure 2.2-1). The closed-
y{z,s) (2.2-7)
Yd(z,s)
these points are Z~o ... , ZN. the appropriate block diagram structure is shown in
- 21-
(2.2-8)
Note that Figure 2.2-3 is equivalent to Figure 2.2-1 with Gc(z,s) = Gc(s)A
the sum of the residues of estg1 (z,s). Each g,(z,s) has an infinite number of sim-
ple poles at Sn =-n2rr2 , n =1, 2, 3, ... and a pole at s 0 =0.0. Simple expansions of
g 1 (z.t) = 1.0+ 2:
-
2.0(-~)ncosnrr(l-z) e-n n
1!2t,
n=l
(2.2-9)
g2 (z,t) ::::: 1.0 + ~ 2.0( -1) ncos n1rz e-n2wl1.
n=l
GJ(z,s) = [.L+ f:
S n=l
2(-l)ncosnrr(1-z),
s-Xn
.L+ f:
s n=l
2(-l)ncosnrrz
s-Xn
l .( 2 .2 _11 )
Then if the series can be truncated after the first few terms without excessive
By1~·t) =
02
~~~,t) + ~(z-o)ut(t) + o(z-1)ll2(t)
(2.2-12)
z = o-, z = 1+ ~~.t) = o .
across the infinitesimal intervals 1- < z < 1+and o- < z < o+. For example:
,.o+ B [ ~y)
;
,.o+ B
0
_ ¥t-dz = Jo- oz BZ]dz + fo-o-~-6(z-D)u (t)dz + Jo-
1
,.o+
c5(z-1)ll2(t)dz (2.2-13)
Thus
The space and time variables can then be separated by assuming a solution
of the form
..
y(z,t) ::: ~ an(t)~n(z)
n=O
n = 0, 1. 2, ... . (2.2-15)
z=O -'dscn(z)
-:;;.......;-=
dz
0' z =1
(2.2-17)
1.0 n=O
Y'n(Z) = { -.n_ cos n1iz n= 1. 2 .... (2.2-19)
or in particular for y0 (z) = 0, an(O) = 0. Similarly the coefficients bn(t) are given
by
1
bn(t) = fo 9'n(z)[o(z-O)ut(t) +o(z-l)u2 (t)] dz
= 9'n(O)ul(t) +9'n(l)lll,l(t). (2.2-21)
Thus
n=O
n=1,2, ... (2.2-22)
Since the eigenvalues, 7\n =n21T2 , increase rapidly with increasing n, the sys-
tern can be accurately represented by the first few eigenfunctions, n = 0, 1. ... , N.
where
1 1
'-'Z -..JZ
The resulting feedback control system can be drawn in block diagram form (Fig-
ure 2.2-4)
In theory, the control scheme of Figure 2.2-4 (and of Figure 2.2-1) requires
the complete temperature profile, y(z,t), of the system. However, Ray (1981)
ii. measuring y(Zt.t) at a few points and using a state estimator to esti-
mate y(z,t),
C= (2.2-24)
keep C nonsingular.
Actually it is possible to control the system by taking measurements at M points,
where M < N+l. For tbis case, the system should be controlled by using set
points on the outputs rather than on the states, since the N+ lth-order state
vector x:(t) cannot be obtained uniquely with M < N+l measurements.
With Yo (z) = 0,
(2.2-27)
2.2.2 Controllability
ences (Brockett, 1970; Douglas, 197Z; Lee and Marcus, 1967; Ray, 1981), it is con-
exists that will take the system from any given initial state to any specified final
state in finite time. The necessary and suffi.cient condition for complete control-
lability of the system described by (2.2-23) with N-1 states and two controls is
1 0
' 1
..JZ -"2 -(_,.2~-JZ
has rank N-1. Since It: has full rank for all N, the system is completely controll-
able. Thus the two controls u 1 and u 2 are capable of influencing all of the states.
more important concept is that of output controllability, i.e., the controls must
must have rank k for the system to be output controllable. It can easily be
shown that, for the heat conduction system, output controllability is assured if
racy of the model reduction and lumping. Although the approximate lumped
parameter system has been shown to be completely controllable, the actual dis-
must be taken in making conclusions from this type of analysis, since no con-
2.2.3 Root-Locus
advantageous since it describes the character of the response as the gain of the
closed-loop characteristic frequencies when the feedback gain matrix has the
-28-
form Gc = ki. For the modal-lumped representation of the heat conduction sys-
(2.2-30)
where P0 (s) is the open-loop characteristic polynomial and Pc (s) is the closed-
si-A -B
z(s) = (2.2-31)
C Om,m
the n-m-d closed-loop characteristic frequencies 1 will tend toward the roots of
z(s) = 0 as k increases. These roots are the finite zeros of the process. For the
two-control. 3rd-order, heat conduction system, there is one finite zero and two
infinite zeros if CB has full rank. If CB has lost rank, all three zeros will be
Thus for any combination of outputs other than these, there will be one finite
2
8
= (c-a)
41T
(2.2-32)
V2(ad-bc)+(a-c)
1. where n is the order of the lumped model, m is the number of inputs, and d is the rank deficiency
ofCB
-29-
This root is finite for all z1 and Za other than those listed above, since the
The root-loci for the system are the loci of the roots of the characteristic
equation
as k varies from 0 to cc. Obviously, the poles (k =0) of the system are at s = 0,
-rr2 and -4rr2 independent of the measurements. As k approaches infinity, (2.2-
33) reduces to
Figure 2.2-5 shows the root-loci for various measurement locations. Both
symmetric and unsymmetric cases were studied. For the symmetric cases, the
root-loci remain stable (in the left-half plane) at high gains for z 1 s: 0.33;
whereas, the loci become unstable at high gains lor 0.33 < z 1 < 0.50 . This is
expected due to the large lag time between the control action at z 1 = 0 and its
effect on the output. The symmetric cases with z1 and z2 reversed, i.e., z1 > 0.50
and z2 < 0.50 (not shown), lead to root-loci identical to those in Figure 2.2-5
except that the locus beginning at -1r 2 approaches +oo rather than -co. Thus
such a system is less stable. 2 Additionally from the root-loci analysis. the
responses for the (0.2,0.8) case are expected to be non-oscillatory; whereas, for
for the unsymmetric case (0.4,0.8), system stability is insured even for high
Since the other cases lead to instability at high gains, more complicated control
Figure 2.2-1
Distributed Feedback Control Design
Process y(z,s)
Gp(Z,S)
Measuring
Device
Figure 2.2-2
Feedback Control Strategy with N Discrete Measurements
-32-
Figure 2.2-3
Modified Feedback Control Strategy with N Discrete Measurements
Yd(z)+/0\ E(Z t)
Gc(z,t)
u(t) x= Ax +Bu y(z,t)
-
'<:1 ' y(z,t) =Cx( t)
-
Figure 2.2-4
Nth-Order Lumped Feedback Control Design
-33-
I
.. 0 ..
g
...•
-.
0
0
-·
-uo. oo -no. oo -100. oo -10. oo ...o. oo -•o. oo -20. oo
.;
If
;
II
H.OO
0
0
...••
0
0
0
••
(a)
D
D
.,;
II
-
..
.,;
"'
.
-·
...---~-,,-.,----,---i--..-----.
-2110. 00 ..,.o. 00 -200. 0 -160.00
.........--....--~-+-
-120.00 .eo. 00
.,;
...
....r--"........:.,•
40.00
,..
0
.,;
.""
.,;
:!:
•
(b)
Figure 2.2-5
Root-Loci Diagrams for Various Outputs
a. (0.2,0.8) b. (0.3,0.7) c. (0.4,0.6) d. (0.4,0.8)
x- Poles 0- Zeros
-34-
8
! ..
g
...
-1to. oo -JJo. oo -eo. oo 011 2411. 110 J:lO. 011
·-
tOO. 110
(c)
....
D
D
II D
"'.."'
!:
..."'
-·
-uo. oo -120. oo -too. oo -eo. oo -60. oo -to. oo
..
•20..00
'I'
."'-..
0
."'.
..,
I
(d)
Figure 2.2-5 Continued
2.3 TlME-DOM.AlN ANALYSIS
actually older than frequency response techniques, its development was slow
mation, optimal control, modal control, and adaptive control rose to the fore-
front of research. Although these methods have a strong theoretical basis, they
only became practical with the development or small and reliable digital com-
practical.
are the most common techniques and thus have been studied extensively for
equation has often been used to illustrate the application of these methods.
Due to the many studies of these theories and on their application to heat con-
presented. Additionally. other methods such as adaptive control and state esti-
mation will not be considered in this theoretical analysis of the heat conduction
start-up, shut down, and other transient conditions. However in practice, most
models contain some error; therefore, closed-loop schemes are often necessary
the technique involves the selection of an index which measures the perfor-
mance of the system, from which the optimal control strategy is selected as that
which minimizes this index. A major difficulty in the design of an optimal con-
trol system is the establishment of the criteria for optimality. The optimal con-
trol procedure is in contrast to the other techniques that try to obtain satisfac-
tory responses in terms of offset, gain margin or decay ratios, since once the cri-
optimal control of parabolic systems such as that described by the heat equa-
tion. McCausland (1970), Prabhu and McCausland (1970), and Mahapatra (1977)
studied time-optimal control of the linear diffusion process. For such control,
the objective is to force the system to reach the desired design conditions in
minimum time. Others (Betts and Citron, 1972; Sakawa, 1964: Sheirah and
Hamza, 1974) treated the problem of optimal control of the heat conduction
Numerous papers have been written on this problem, including several on its
application to parabolic systems (Ahmed and Teo, 1981; Matsumoto and Ito,
1970; Wang, 1975). This technique uses a quadratic penalty function to control a
system at a set point without excessive control action and not exceeding accept-
able levels of state. The method is readily applicable to either a lumped model
For the heat conduction system, the lumped parameter model is described
by the linear differential equation
with A. B, i:ind C defined by Equations (2.2-23) and (2.2-26). The objective of this
technique is to obtain the feedback law which minimizes the performance index
(2.3-2)
where Sp, F(t), and E(t) are symmetric, positive definite weighting matrices
which describe the relative importance of reaching the desired set point Xo. = 0,
using small levels of the state and using little control action. If the desired set
point is nonzero, then deviation variables can be used to convert the problem to
the above form. Thus let Xo. and lld be the desired steady state values. Then let-
ting
and recognizing that at steady state Aid + Blld. = 0, Equation (2.3-1) becomes
Then from quadratic feedback control theory (Bryson and Ho, 1969; Ray, 1981),
and S(t) is found by solving the Ricatti equation backward from tF:
designed to control the system while minimizing the index given by Equation
(2.3-5). This control structure is quite useful because the lime-varying gain K(t)
can be determined otT-line since it does not depend on x(t) or u(t). Then if tp """
(2.3-10)
where y· and u' are deviation variables With Yd(z) being the desired temperature
-39-
profile. The derivation of the optimal control law is carried out using the pro-
=-Eo-1 fo
1
u 1 (t) S(O,s,t)y(s,t) ds
(2.3-11)
conduction system to obtain the feedback control law using either the lumped
optimal control technique. MacFarlane (1972) points out that optimal controll-
ers provide gain margins far in excess of those required for stability, are often
difficult to tune on-line and may be of low integrity to transducer failures. Addi-
i. Optimal control design requires an accurate model of the system. This can
in the controls.
~ 40-
ii. Optimal control design requires all of the system states to be JiCcessible.
Thus for the lumped model. the technique is restricted to the case where
the number of measurements equals the order of the model and the meas-
urement matrix is nonsingular. Only then are the states accessible from
the measurements:
(2.3-15)
For the distributed parameter design. the entire temperature profile y(z.t)
sible states. Much literature has been published on combining such tech-
iii. Optimal control design requires a selection of the weighting matrices Sr. F,
and E. Unfortunately, in many chemical engineering applications. the
choice of the weighting matrices may be quite difficult. For the heat con-
reach the desired state or the deviation of the system from the desired
state.
Gould and Murray-Lasso (1966), with many others (Bradshaw and Porter, 1972;
Davison, 1970: Ellis and White, 1965abc; Fisher and Denn, 1978: Porter and
Bradshaw, 1972) extending the basic theories. Much work has also been pub-
linear diffusion problems (Balas, 1979; McGlothin, 1974; Porter and Bradshaw,
-41 -
1972; Wang, 1972) to large chemical plants (Davison and Chadha, 1972).
Although many texts discuss the concepts of modal analysis, Gould ( 1969) pro-
vides a detailed discussion of the use of the method for distributed systems and
for lumped systems with an arbitrary number at states, controls, and measure-
ments. This latter situation is of great interest for the heat conduction prob-
lem, since the order of the model may be much larger than the number of con-
process is primarily governed by the modes associated with the smallest eigen-
values and that the response of the system can be improved by using a control
design to increase these eigenvalues. Additionally, the method suggests that it is
tem whose slow modes are the same as the original system. This technique was
used in the modal lumping of the previous section to obtain the Nth-order
lumped model for the heat conduction system. However several references
(Douglas, 1972; Gould, 1969; Ray, 1981) point out that disturbances affect the
different modes differently; therefore, the reduced model may not be satisfac-
tory if the disturbances have their greatest effect on the neglected faster modes.
altering each eigenvalue separately without limit, this is often impractical owing
The ideal case for lumped modal analysis is when the number of controls
and number of measurements equal the order of the model. For the system
the modal technique calls for the selection of C = L, where Lis the matrix of left
-42-
(2.3-17)
matrix for the heat conduction system. A =A and the matrices R and L can be
simply taken as identity matrices. Thus the technique calls for the selection of
bination of the temperatures should be used so that the system states are actu-
ally measured. 1
However in most practical systems, the number of states will exceed the
number of controls. Consider the heat conductton process With two controls
and N states and measurements. Gould (1969) shows that, if B and C can be
chosen arbitrarily, the two lowest eigenvalues can be made as large and negative
as desired while leaving the others and all the eigenvectors unchanged. As shown
of the temperatures. However for the heat conduction system, B is fixed due to
1. Thus the compensator c-t should be included after the process and set points or after the
difference junction
-43-
i = (A - BGcK)x (2.3-20)
_l_ 1
2 -2v2 0 ... 0
Gc= (2.3-21)
1
_l_
2 - 2..J2 0 ... 0
leads to
-kl 0 0
0 -k2 0
-"'Zkt 0 0
0 -..J2~ 0
BGcK = -"'Zkl 0 0
(2.3-22)
Thus the first two eigenvalues can be altered by arbitrary selection ot k 1 and k 2
without affecting the higher N-2 eigenvalues; however, the first two eigenvectors
have also been altered slightly. Thus a disturbance in either of the first two
modes will cause a disturbance in the higher modes. Since they decay rapidly.
Figure 2. 3-1.
Gould ( 1969) also presents a detailed discussion of the situation where the
number of measurements is less than the dimension of the process. This would
2. B Wlill invertible.
3. Note that Lis taken as the identity matrix.
-44-
obviously lead to difficulties in the modal analysis since the system state cannot
designed but will lead to considerable interaction between the control loops.
Because of the complexity of the resulting control scheme and the ease of
parameter system. Gould and Murray-Lasso ( 1966) and Gould ( 1969) present a
using these techniques and considering the limitations imposed by taking only a
the analysis becomes equivalent to using modal lumping and applying lumped
modal analysis.
Although modal analysis leads to exact placing of the poles, the procedure
leads to a simple proportional controller and can not give any guidance as to
the selection of additional control action. More importantly, the technique uses
easily arise if the zeros of the closed-loop transmittances move into the right-
half plane. Furthermore, the method gives the best results only if all the states
of the system are accessible. Although this does not cause any difficulty for the
u Process y
..!L.
-*
c-1 ltd+
K Gc G.,
X c-1
-•
+ u Process y
c-' KGc Gp
Figure 2.3-1
Lumped Modal Feedback Control Design
-46-
steady state and dynamic interactions which occur between the various input
and output variables. In most systems, it is desired that one specific output
y;.(s) responds to input U;.(s). while all other outputs remain unchanged. The
term interaction can then be used to refer to the effects that a particular input
U;.(s) has on the output Yi(s), j ~ i. Thus low interaction is usually desirable. In
fact if it is possible to eliminate all the coupling between variables. and if the
can be used to tune each loop. Unfortunately, most multivariable systems have
For the heat conduction process, analysis of the system transfer function
Gp ;;;; C(s1-A)- 1B shows that interaction is high and cannot be eliminated by sim-
ple selection of the measurement locations. Thus compensators that reduce or
fect non-interacting compensation, steady state decoupling. and set point com-
pensation are available for this purpose. The application of these methods to
Consider the third-order model for the heat conduction system with two
is
y= Gpu , (2.4-1)
with
(2.4-2)
B= [~ -:J (2.4-3)
(2.4-4)
As mentioned earlier, the off-diagonal terms are significant and cannot be elim-
(2.4-6)
s = 0 (t -+ ""). Note that such analysis is only applicable to systems with square
transfer function matrices. If there are more controls than outputs, then a sub-
set of controls may be chosen for decoupling, while if there are more outputs
- 4-B-
where diag Gp(s) is a diagonal matrix of the diagonal elements of Gp(s). If this
(2.4-8)
where di(s) are the disturbances and g~(s), Sc:«(s), and gp«(s) are the elements
tively. This selection of Gx leads to a total decoupling for set point changes and,
even though each disturbance can intluence all the outputs, its effect on output
Although this method is simple and seemingly eliminates all the complica-
model. Though the model is well-known for the heat conduction process,
point out that another potential disadvantage is that a great deal of control
zeros or if the transfer functions are not square. Thus other techniques may
lead to a simpler control scheme which is easier to tune on-line and less
-49-
steady state decoupling is usually quite useful and can be ;;Implemented before
applying other design techniques such as inverse Nyquist array or the charac-
system, even this method leads to difficulty. For the third-order heat conduc-
M(c12-cz2)
Gx = -rr2 (2.4-10)
2-.t!(c12-cz2)
Introduction of this compensator into the control loop leads to dependent con-
trol action and is therefore not advisable, since it will lead to excessive dynamic
Steady state interaction arises because a change in the set point of one
controlled variable affects all the system outputs. A means of eliminating steady
state interaction could be to simultaneously alter all the other set points in
such a way as to cancel the effect of the original change. This idea is the basis
for set point compensation, which is used to eliminate or minimize steady state
-50-
Consider the control scheme of Figure 2.4-2, where Yd is the actual set
point desired, Gc is a diagonal controller matrix, and G. is the set point compen-
(2.4-11)
The objective is to select G8 so that Gc1 is diagonal at stead~ state. Using the
where
Gas= limGp
s-tO
(2.4-13)
Several recent studies (Foss et al., 1980; Kouvaritakis et al., 1979) discuss
shows better control properties from the viewpoint of the outer loop. Usually
the inner loop is used to adjust the poles of the system, and then other fre-
quency response techniques are used to design the outer-loop control for the
-51 -
improved process. However, the method presented here uses the additional
the interaction, with only simple proportional gain compensators and without
severely limiting the design freedom available for the outer loop.
Consider the process sht wn in Figure 2.4-3, with an outer loop consisting of
two outputs and two controls. This is identical to the system used by the previ-
ous methods. Using the third-order model for the process, a third independent
measurement can be made. The three measurements are denoted by YJI. The
(2.4-15a)
[1 0 OJ
L= 0 1 0 · (2.4-15b)
Let Up be the transfer function from w toy, or essentially the transfer function
of the process seen by the outer loop. The objective of the technique is to select
(2.4-16)
If F is taken as
(2.4-17)
then
__ [g1(z1,Z2,f21•f22·f23) g2(zl,Z2,fu.ft2•fts)]
Gp- !?;a(zl.z2.f:.u.f22.f2s) g.(zl.z2.fu.ft2•fts) (2.4-18)
locations of the two major measurements and the six elements of the squaring
down compensator F. The location of the final measurement can be left to the
discretion of the designer since it will only aff!"lct the components of F once F is
~
(1,2) and (2,1) terms of Gp are identically zero. Since the model is third order, it
takes three degrees of freedom to make each term identically zero. Thus of the
eight available degrees of freedom, six are used to eliminate interaction, and the
remaining two can be used to improve the performance (move the poles) of each
lead to the requirements that z 1 =0.2 or 0.6 and ~ =0.4 or 0.8. Note that the
elements of F are all simply constants. Thus the following situatio,"..s are allow-
able for decoupling of the loops
zl z2
0.2 0.4 Case I: c 12 =-c2s. cul=c22
0.6 0.8 (2.4-20)
0.6 0.4 Case II: c12=-c22· c1s=c2s
0.2 0.8
0
(2.4-21)
0
0
(2.4-22)
0
Thus, not only has interaction been eliminated by using simple gain in an inner
loop, the new process is quite simple, and two degrees of freedom, along with the
The tlnal design then involves a squaring down compensator l' which
freedom are desired than the two available with this technique, F can be
letting
control scheme for the heat conductions system. Although all of the techniques
can be easily applied, the inner-loop decoupling strategy may lead to a very sim-
ple control structure for processes where extra measurements can readily be
obtained while leaving considerable design freedom available for tuning the
dynamic behavior of the overall system. The only restriction on the extra meas-
method still sutiers from the apparent necessity of an accurate process model.
still nearly eliminated for the actual system. In fact, simulations also show low
Further analysis shows that an inner loop with constant feedback gains
a function of s can decouple the system but is of the same complicated compli-
conventional techniques.
may no~ be desirable for chemical processes, since the major objective in such
tion of the design using single-loop approaches, there is no intrinsic reason for
among the variables may be usefuL Furthermore, the determinant of the pro-
cess transfer function matrix for multivariable chemical processes often has
right half plane zeros, which lead to poor or unstable control performance with
d Disturbance 1--
Gd
Figure 2. 4-1
Perfect Non-Interacting Control Strategy
Figure 2.4-2
Set Point Compensation
-57-
.,
-•
yd + Controller w +.o("' u Process YM -
Gc '<; - Gp L
YF
F
Figure 2.4-3
Inner-Loop Decoupling
-58-
Since classical frequency methods have proven extremely useful for design-
ing single-loop control systems, much work has been devoted to extending these
the magnitude and phase information appear in a single curve. Using the
Nyquist representation, it is fairly simple to determine the process stability
characteristics and the closed-loop dynamics from the graph for the open-loop
process.
lar, which is necessary for output controllability, the inverse of the closed-loop
transfer function is
R- 1 = R= I+ Q. (2.5-1)
respectively. Thus the elements of Rcan easily be found from the elements of
-59-
where m is the number of controls and outputs. Furthermore if the kth feed-
back loop is opened, fA:.t(s) :::: ~(s). Then the I.N.A. is the set of m 2 diagrams
from -jex to +jex and a semicircle of radius ex in the right-half plane. where
qij, qiJ', rij, and fiJ' lying in the open right-half plane are within D and
of the I.N.A. for Q{jc.>) encircles the point (-1.0,0.0) the same
(2.5-4)
The conditions (ii) and (iii) lead to diagonal dominance and thus insure that
interactions are sufficiently small to allow stability (condition (i)) to be deduced
For the lumped model of the two-control. heat conduction process, the cri-
1972) as in Figure 2.5-1. Thus diagonal dominance is insured if the origin and
the point (-1.0,0.0) are not within or on any of the circles. Closed-loop stability
can then be checked from the two diagonal entries of Q(jc.>). The system is stable
The I.N.A. design method involves adding controllers to make the system's
single-loop inverse Nyquist techniques. The I.N.A. method thus leads to a stable
system which has high integrity and low interaction, when diagonal dominance is
imposed.
The third-order model of the heat conduction process was analyzed using
the I.N .A. procedure with various measurement locations (Table 2.5-1). Both the
symmetric (Group I) and the unsymmetric (Group II) cases were considered with
z1 < 0.50. For the situation where z 1 > 0.50, a permutation matrix should be
used to interchange the inputs and outputs.
Due to the symmetry of the system for Group I. only the q11 (s) and q12 (s)
elements of the I.N.A. are needed since qz2 (s) and Cf2 1(s) are ident~cal. Addition-
ally to aid in the design procedure, logarithmic plots of Ict, 1 1. l1 + q11 1, and lq12 1
versus the frequency were also used. These are easier to use to check for
- 61-
Group I GroupD
ZJ z2 ZJ z2
Table 2.5-1
Measurement Locations
diagonal dominance than the type shown in Figure 2.5-1. Although all of the
cases in Group I were analyzed, only two need to be considered in detail since
the others are similar. Figures 2.5-2 and 2.5-3 show the I.N.A. plots for measure-
ment locations (0.3,0.7) and (0.4,0.6). These cases were considered since the
root-locus analysis showed that the (0.3,0.7) case is stable while the (0.4,0.6)
case becomes unstable for gains above about 33.0. The I.N.A. analysis for the
cases in Group I verify the root-locus results that stability is insured at high
gains !or the symmetric case if :t: 1 < 0.33. Note that the I.N.A plots are only
drawn for s = c.>j with CJ = 0 ... IX) , since s = -c.>j simply gives the reftection.
For the cases with z1 < 0.33 (z 1 = 0.3 in particular), the conditions for diag-
onal dominance are satisfied for all s on D except at s = 0. At this point.
q11 = q12 = ci2 1 = ci22 . Further analysis shows that the problem that arises at
s = 0 is due to the pole which is at the origin in our process model. With these
problems at s = 0 eliminated, the cases tor z1 < 0.33 would be diagonally dom-
inant, and the system would be stable since the encirclement criterion is
satisfied.
Nyquist contour, D', shown in Figure 2.5-4 should be used. Then the conditions
for diagonal dominance must be examined in the regions:
a) s = c.>j
b) s =eel'«' where R.-. ao and t ... 0.
c) s =Rei'~'
Mathematical calculations for these regions indicate that the conditions for
diagonal dominance are satisfied for z 1 < 0.33 with z2 = 1.0 - z1 . Then since the
encirclement criterion is also satisfied, stability is assured. The I.N.A. technique
then concludes that elimination of interaction is unnecessary since arbitrary
high gains can be applied to each of the two principal loops Without instability
and Will lead to a system with little interaction.
Figure 2.5-3 shows that the (0.4,0.6) case does not satisfy conditions (li) and
(iii) of Rosenbrock's theorem (1962), since lq12 1is larger than lq11 1and lqi 1 + 11 for
some values of c.>. Although condition (i) seems to show closed-loop instability
for this process, no conclusion can be drawn since the stabllity criterion i.s a
sufficient condition and only becomes necessary if (ii) and (iii) are satisfied.
The problem then is to· design a compensator, Gc(s), so that the system's
open-loop transfer function Q(s) is diagonally dominant when 0.33 < z 1 < 0.50.
Using a general 2 x 2 compensator, the restrictions on the elements of Gc(s) can
be derived. Specifically consider the case (0.4,0.6). Using the modified Nyquist
contour, it can be shown that s = 0 presents no difficulty. Figure 2.5-3 then
shows that conditions (ii) and (iii) are satisfied at low CJ but tail at high CJ. Using
the restrictions on the elements of Gc(s), it can be shown that, owing to the sym-
metry of the system, it is not possible to design a nonsingular constant matriX
Gc(s) to make the system diagonally dominant for all s on the modified Nyquist
-63-
contour. However, the analysis also shows that a compensator with the following
properties will lead to diagonal dominance:
Gc(s) -+ [~ ~].
After many controllers were tried, the best results were obtained with
5.0 s
s+5.0 s+5.0
Gc(s) = s 5.0 (2.5-7)
s+5.0 s+5.0
Figure 2.5·5 shows the l.N.A. plots with this compensator. The controller has
indeed made the system diagonally dominant for all s on D'; however, the enctr~
clement criterion shows that the system becomes unstable for moderate gains.
This was verified using root-locus and characteristic locus analyses for the sys-
tern with this compensator. Attempts at eliminating the instability were futile,
and further analysis showed that the stability problems arise from an unstable
finite zero. Unfortunately, it can be shown that dependent control action is
necessary to move this zero to the left-half plane. I.N.A. analysis using the
dependent controllers 1
G,(s) = l-1 1]
1 -1
or [-;
---
s1 1s l! [-1.--. 1;• l
or
-----
1 +s
s -1-s
s
(2.5-8)
verifies system stability. However dependent control leads to very bad closed-
loop response and is thus not desirable. Therefore the best that can be
Table 2.5·2 summarizes the results for assuring diagonal dominance With
symmetric measurement placement. Since the conditions for stability and diag-
onal dominance are satisfied for z1 < 0.33, arbitrarily high gains can be applied
in each of the two principal loops Without instability. This is equivalent to the
results found in analyzing the multivariable root-loci. There it was shown that
for z1 < 0.33 high gains would not lead to instability; however, using the I.N.A.
considering the transfer functions of the process with a diagonal gain con-
troller, G0 (s) = diag (kt). The effect of applying a gain k, is to multiply qil and
qt 2 by k,- 1 . As k 1 and ~ are increased, the system approximates over an increas-
ingly wide band to a diagonal system. The transfer function between Yeti and y~
when the jth (j :t- i) loop is closed with gain kt and the ith loop is open leads to
(2.5-9)
(2.5-10)
The design can then be carried out using the f'u (s) as though they were inverse
not placed symmetrically, i.e., z2 ;. 1. - z1 . The I.N.A. then consists of the four
diagrams representing qv(jc.>). Several cases were considered using the modified
Nyquist contour. Figure 2.5-6 shows the I.N.A. diagrams for the case (0.4,0.8).
which is diagonally dominant and stable. Thus arbitrarily high gains can be
applied, leading to a system With small interaction. Other cases that were
-65-
cc • ( ~ ~I
to intercbaJ~se the a-..tr.rMenta
&Del. deaicn aa above
Table 2.5-2
I.N .A. Results for Symmetric Measurement Placement
considered are (0.4,0.7) and (0.3,0.8). Only the first of these requires compensa-
tion.
-66 ~
Real
I mag
Figure 2.5-1
Diagonal Dominance Criteria
-67-
0
0
LDii II
-3.00 -2.00 -1.00 9l.oo 1. 00 2.00 3.00 "· 00
-·· 00
(a)
Figure 2.5-2
Inverse Nyquist Plots for Outputs Zt =0.3, Z2=0.7
a. Logarithmic Plots
----lq 11 l --- ll+q 11 1 lq 12l
b. Element q 11 (s) c. Element q 12(s)
-68-
c
c
N
cQ
N
I
. -
'C)
c
.,..
c
I
't:l
~
;§
.
Q
Q
j;;l
»! CD 0
• u
N
I
~
c N
....c
c
. Q)
~
CD
cQ
.,..
--
J:l
-
II:
00 '9l 00
Q
Q
r.P
00 ··-
Q
Q
N
I
.
-69-
g
0
.;
-.
0
ID
-----------------~
0
Q
LIIG II
-4.00 -3.00 -2.00 -1.00 '1:1.00 l. 00 2.00 3.00 •• 00
(a)
Figure 2. 5-3
Inverse Nyquist Plots for Outputs z 1=0.4, z2=0.6
a. Logarithmic Plots
----lq 11 1 ---11+& 11 1 --lq 1al
b. Element q 11 (s) c. Element q 1a(s)
-70-
..
a
a
..
a
a
I
--
(J
a
a
a)
I
't:1
Cl,)
a ='
a
. §
...
N
I
w c
0
(.)
C."'.)
I
a
..
It)
a N
a G)
~
w
a
a
c:i
N
-
1:
oo·sz oo·s 00
a
a
cF --
.0
a
a
Q
N
I
..
0
a
a
I
- 71 -
Real
Imog
Figure 2.5-4
Modified Nyquist Contour
System with a Pole at the Origin
-72-
0
g
•
0
"'...; I
I
/
..
0
...:;
//
I
0
I
-
10
0
Cll
-----------------~
0
0
LOG •
-t.OO -;,.oo -2.00 -1.00 '1l.oo 1. 00 2.00 3.00 •• 00
(a)
Figure 2.5-5
Inverse Nyquist Plots for Outputs z 1=0.4, Z2=0.6
a. Logarithmic Plots
----lq 11 1 ---11+q 11 1 - - lq 12l
b. Element q 11 (s) c. Element q 12(s)
-73-
0
0
0
.
I •
g
0
oo·s 00 0 ·c;-
-
u
0
0
0
1"11
.
I
~
0 ~
..
0
0•
I
§
d
0
u
ID
.
0 t
0 10
I -
c.o
N
Cl)
r..
~
0
0
G
.
-
--
c
.1:1
oo ·zt oo·a oo ·a-
-74-
0
0
-
ci
0
0
.;
0
0
.;
0
0
....
0
0
l'f
LOG •
--4.00 -3.00 -2. DO -1. DO 1. 00 2. 00 3.00 4.00
(a)
Figure 2.5-6
Inverse Nyquist Plots for Outputs z 1=0.4, z2 =0.B
a. logarithmic Plots
-----lq 11 1 ---lt+qul -lq12l
b. Logarithmic Plots
---- lq 221 --- ll+chel --lclell
c. Element q 11 (s) d. Element q 12(s)
e. Element q :H(s) f. Element Ct22(s)
-75-
0
0
.;
/'
/
I
...
0
r.i
-.
0
0
/
/
I
_ .....
/
,A/
--......·
0
0 LOS II
-3.00 -2.00 -1.00 9:1.00 1. 00 2.00 3.00 (. 00
(b)
..,.
Cl
Cl
--
Cl
a
...•
I
"0
a
0
.
"I
"0
CP
:::1
0
a
. .... :ad
-
N
I
c 0
(.)
co
I
1(.)
a N
a
IIi
i
oo·sc: .
-
c 0
0
0
In
.
I --
(,)
0
0
a...
I
0
0
....c ...•
In
I
-77-
--....
0
(Q
...•
0
CD
0
.
"tt
~
d
-•
00'91 OO'Zl oo·a 00 ••
0
0
00 •cf
:;j
d
u0
00 ··- coI
t(.)
0
CD C\i
0
• Q)
....
~
09 'l oz 'l OQ'O Ot'O 00 dS ot ·o-
-• 0
.
--
0
G
Q)
t::t
-
co
•
I
I
0
....
N
.
I
-78-
spaces defined over base fields of complex functions. As in the l.N.A. technique,
the C.LM. requires the use of a computer-aided graphic display and can be
technique for choosing the best controller matrix in terms of system stability,
integrity, interaction, and accuracy, rather than simply stressing diagonal domi-
1973), has been refined and systematized through the late 70's (Edmunds and
Kouvaritakis, 1979; MacFarlane and Kouvaritakis, 1977) and has been experi-
The C.LM. uses the frequency dependent properties of the eigenvalues and
sate and modify the system's response by adjusting the eigenproperties of Q(s).
The basis for this use of the open-loop transfer function in the analysis of lhe
This relation can easily be seen from the dyadic expansions of Q(s) and R(s) for
(2.6-la)
(2.6-1 b)
where qi(s) are the eigenvalues of Q(s) and wi(s) and V;.T are the corresponding
the same for both the closed- and open-loop systems and the eigenvalues are
directly related.
The analysis for multivariable systems leads to the following criteria for
interaction, and accuracy (MacFarlane and Belletrutti, 1973). The basis of the
technique is the use of the characteristic loci, which are the paths in the com-
plex plane drawn by the eigenvalues of Q(s) as s traverses the standard Nyquist
contour.
Stability
Closed-loop stability can be assured by selecting the compensator
equation is s(s + rr 2 )(s + 4rr2 ). Since the poles are al 0, -rr 2 , and -4rr 2 ,
(2.6-3)
Integrity
teristic loci of all the principal submatrices of Q(s) satisfy the encir-
Interaction
imposing high gains, i.e., lqi(jr.>)l > > 1.0. Then the dyadic expansion of
R(s),
(2.6-4)
and therefore the cross-couplings in R(jc.>) are carried over from Q{jc.>).
the angles between the eigenvectors w,(jc.>) and the base vectors ~ for
i= 1,2 (since m =2 for the heat conduction system), the objective is
to reduce the misalignment angles. MacFarlane and Belletrutti ( 1973)
show that, although these criteria lead to a reduction in interaction,
Accuracy
A system has high accuracy if the actual system output closely follows
troller Gc(s) so that the characteristic loci of Q(s) satisfy the stability criterion
and have high gains at low frequencies and low misalignment angles at high fre-
quencies. Additionally, Gc(s) should be selected so that its elements are rational
functions of s, so that IGc(s)l is nonsingular and has no right half plane zeros,
and so that aU the poles or Gc(s) are in the open left half complex plane.
-82-
and characteristic directions is developed so that the phase of the loci can be
adjusted to achieve acceptable stability and integrity and so that the directions
porated into a computer algorithm. 1 The design procedure can then be split into
at some high frequency i:Jb.. A program ALIH which was written for this
1. This algorithm (ALIGN), which is a basis for high frequency alignment and low frequency manipu-
lations, was written specifically for this project and is included in the programs AI.JH and ALIL
d.isoussed below and listed in Appendix 1. It should not to be confused with the program AI.JGN
referred to by other authors, although their structures should be similar.
-83-
the eigenvector matrix W(jc.J) and dual eigenvector matrix V(jCJ). Again
the rout.i.ne ALIGN is incorporated into a program AUL for this pur-
diagonal matrix rk(s) are then chosen on the assumption that q.,; =
g..;'!<i where q,: and g, are the eigenvalues of the compensated and
sator Ki. is thus used to insure stability and integrity and to adjust the
gains at low frequency to reduce interaction.
The etiect of I<H and KL must be combined in such a manner so that each
technique once the appropriate computer facilities and programs are available.
The major programs are ALIH and AlJL. while other programs were used to cal-
culate and graphically display the characteristic loci and misalignment angles.
All programs were tested on the automatic flight control system (Kouvaritakis et
al., 1979) and gave results equivalent to those published. Then for the heat con-
duotion process, the design was performed using the third-order, lumped model
with two controls and outputs and then with an extra measurement, which was
squared down in an inner loop.
-84-
For the uncompensated system, characteristic locus plots were drawn for
the cases that were considered in the I.N.A. design (Table 2.5-1). Figures 2.6-1 -
2.6-3 show the loci With the measurement locations (0.3,0.7), (0.4,0.6) and
(0.4,0.8). 2 For the symmetric cases with z1 < 0.33, the encirclement criterion is
satisfied for all gains. As was also shown using root-loci and I.N.A. analyses,
these cases Will remain stable with increasing gain. Also as expected, high gains
lead to instability for 0.33 < z 1 < 0.50. In particular, a maximum gain of 32.0
would be allowed before the critical point is encircled tor z 1 ::: 0.4. Thus, for the
gains when 0.33 < z1 < 0.50. Additionally, regardless of the measurement loca-
tion, one eigenvalue has large magnitude at low frequencies while the second has
very small magnitude, and the misalignment angles are both 45° at high fre-
quencies. Thus some compensation is desired for all the cases to improve
case (0.4,0.8) is also stable for all gains, compensation is desired to improve its
closed-loop response. Since the cases (0.3,0.7), (0.4,0.6), and (0.4,0.8) are
representative of the problem, they will be analyzed in detail using the C.LM ..
As discussed above, this case satisfies the stability criterion for all gains.
The objective of the control action is thus to improve dynamic system perfor-
gains of the characteristic loci at low frequency, and injecting gain into the
2. Note that! the ver.tlical axis in the figures of lq"l versus frequency I'U'e defined in terms of
dB =20 los q1. (j r.>) .
-85-
all types of failures leads to the conclusion that the system is of high integrity,
since the characteristic loci of the principal subrnatrices of G(s) also satisfy the
encirclement criterion.
(2.6-7)
balances the gains perfectly and significantly reduces misalignment, but further
rather than trying to guess the appropriate control structure, it is best to per-
The first step involves designing KH to reduce the misalignment angles. For
throughout the frequency range 10-4 to 10~ F1gures 2.6-1 and 2.6-2 show that as
expected the angles between the standard base vectors and the characteristic
direction set are about 45°. . The alignment is attempted using ALIH at several
frequencies in the range !'.>}1 = 1 .... 100, but unfortunately the analysis of many
possible compensators :Kh leads to the conclusion that no real matrix can ade·
ments without leading to system instability. This problem results from the
eigenvector matrix W being nearly real and having off-diagonal terms identical in
3. The imaginary parts are of 0(10- 10) at cw =10-4 and O(lQ-4) at cw =104).
-86-
approximate the eigenvector and dual eigenvector matrices; however. this leads
low frequencies). Thus with the selection of A= Wand B = V. Ki:. = WAkV. The
gains were then balanced at the frequencies ">>.. = 1.0, 0.1, 0.01, and 0.001 by
selecting
[1OJ
A= 0 1 ,
lq 1(jCJL)I
where 1 = l~(jCJL)I (2.6-9)
Furthermore since Gc(s) = E!..Ki. + I. the values of a can be adjusted to give the
s
best response. Mter consideration of many combinations of a and (.)L, the best
balance at low and moderate gains was obtained with
10[-5.4
Gc(s) = ~
6.4 -5.4J
6.4 + [10 OJ1 (2.6-10)
Figure 2.6-4 shows that this compensator leads to a stable system with nearly
identical gains at c.>= 1.0 and high gains throughout the range c.>< 1.0. However,
the misalignment angles have not been reduced. The final step in the design is
made to design such a high frequency compensator. However even by using A1JH
and selecting the compensators so that the eigenvalues of CBKH are positive, the
overall system remains unstable. This is explainable since the condition that
the eigenvalues of CBKH are positive is necessary for stability but is not
sufficient. In addition to the two infinite zeros, there is a finite zero at approxi-
mately +63.0, according to the root-loci analysis. In designing K.H. there are only
two degrees of of freedom available for selecting the appropriate signs, so only
the two infinite zeros can be placed. Further analysis shows that dependent
control action is necessary to move the finite zero into the left half plane.4 The
since dependent control leads to very bad closed-loop response/' the best that
Using AIJH and Al.JL, the best design for balancing gains and reducing
misalignment angles is
The characteristic loci for the system with this compensator is shown in Figure
2.6-5. Unfortunately, this system is unstable for all gains and is therefore not
desirable. Thus a better control strategy is necessary for the heat conduction
shows that a compensator may be quite useful to balance the magnitudes of the
4. The same conclusion was reached using the I.N.A. design procedure.
5. This is shown in the simulations in Section 2.7.
-68-
Whereas the misalignment angles were always 45° and could not be reduced in
useful for this unsymmetric case. Considerable analysis using AlJH and AlJL at
the characteristic loci (Figure 2.6-6) have nearly identical moduli at low tre-
quency, and the misalignment angles are quite small at high frequency. Thus
the C.L.M. seemingly leads to a stable system with high integrity, low interaction
and high accuracy. Furthermore, the method concludes that this design has the
best compromise between these qualities, since the compensators were designed
which best satisfies the criteria of stability, large moduli of the characteristic
loci at low frequencies and small misalignment angles at high frequency. Simu-
lations are necessary to show the actual extent of the improvement obtained by
using this design technique, but it is apparent that the designs for the sym-
metric cases do not adequately satisfy the C.LM. criteria. Only for the (0.4,0.8)
involves squaring down the extra measurements within an inner loop, in order
to form a new set of outputs equal in number to the number of inputs. Instead
of using the extra degrees or freedom to reduce interaction as was done in Sec-
tion 2.4, the objective is to use the inner loop to suitably place the poles of the
outer loop so that the C.L.M. (or I.N.A. method) can be applied to a 'better' sys-
tern as seen !rom a control point of view. The inner-loop design is based on the
placement of the finite zeros and the manipulation of the root-loci asymptotes
for the inner loop so that by finally setting the inner-Loop gain at a suitable
value, the poles of the outer loop are pulled into better locations in the complex
frequency plane.
Consider the process shown in Figure 2.6-7. The outer loop consists of two
2.4.
singular. Using the above description of the process, the inner-loop closed-loop
response is
(2.6-14)
6. The commanded outputs are those directly needed for comparison with the set points.
-90-
lsi-AI·II+GtKil = o . (2.6-15)
from which the root loci are obtained by letting Ki = kl Then the overall closed-
with Gp given by Equation (2.2-27), and the characteristic equation for the
overall system is
(2.6-17)
Using Gc(s) = k'l, the poles of the outer system are given by k' = 0 and are thus
lsJ-AI·II+GtKil = o . (2.6-18)
Since Equations (2.6-15) and (2.6-18) are equivalent, the poles of the outer sys-
tem are described by the root-loci or the inner system. Thus the inner-loop
Consider the case with F = C. 7 Then since G:t = Gp. the root-loci for the inner
loop are identical to those obtained in Section 2.2 for the outer loop. Thus if the
root-loci of the original system without an inner loop show good characteristics-
-zeros well into the left half plane and little oscillation--then extra measure-
ments may not be needed. The outer-loop poles can be shifted simply by imbed-
ding an inner loop with sufficient gain. This is similar to the ideas of modal con-
trol.
The desired characteristics of the inner root-loci are that the infinite zeros
are along the negative real axis and that the finite zeros are well into the left
half plane. Obviously. many possible Ji' matrices can lead to such root-loci. In
7. One possibility would be to take no additional measurements.
- 91-
Remembering that the root-loci of the original system with z1 < 0.33 and z2
= 1.0 - z 1 satisfy the desired criteria, the inner-loop compensator can be taken
as F =C(z1,z2). where C(Zt.Z2 ) is the C matrix obtained with the points z1 and z2 . 6
The cases that were considered are FA, FB. and Fe shown in Table 2.6-1.
,.
A
( 1.000 o.tt)l
1.000 -1.141+
-o ...,.,)
0.4)7
• C( .J•• 8) It • B.O
, . ('.000
B
0.8)1.
-··"11)
1.000 -0.8)1. -0.4)7
• c(.J•• ?} k. 6.0
,c . ( I.OO<l 1.144
1.000 -1.144
•·•11) •
0.4)7
C( .2 ••8) Jt • 10.0
(.....
'n • z.ooo
1.000 .......) k. 4.0
-1.000 -o.414
Table 2.6-1
IQner-Loop Compensators
For F rt: C, the criteria necessary to have infinite zeros along the negative
real axis (i.e., FB has all positive, real eigenvalues) and the finite zero well into
8. Note that the Z1 and Z2 have no relation to the actual mealJW'ement locations for this inner-loop
problem. This structure of F :is only used for convenience since we know that the C matrices
=
with z1 < 0.3_3 and Z:z l.Q..- z1 have root-loci with the desired features. The actual measure-
ments define C, from which F is determined.
-92-
- [ 1
B= ~ -v2"
1 l a.= fu +~f13
p = f21 +"V"2'f23
(2.6-19)
and specify that Q =FB =FB should have all real, positive eigenvalues. Then
with the further restriction that the rate of divergence to the infinite zeros is
the same for all corresponding root-loci. F must be of the form F =7s-1. After
trying various values of -y, f 11 , and f 21 , the best inner-loop design using this tech-
The second stage of the design procedure, the outer-loop design, consists of
the application of the C.L.M. to the system with the inner loop in place. Again
(0.4,0.8). Since the inner loop has been designed and since only z 1 and z2 are
needed for the outer loop, z3 can be selected arbitrarily as long as C remains
although the best C.L.M. design for the system without an inner loop was unable
pensators shown in Table 2.6-1, only the analysis With FA will be discussed since
all the cases lead to similar loci and since FA leads to the best overall design. A
-93-
preliminary examination of the characteristic loci for this case without outer-
loop compensation (Figure 2.6-8) establishes the need for such compensation
due to the disparity of the characteristic gains and the high misalignment
The C.I...M. is then performed using slightly modified versions of the pro-
grams previously discussed. Although AUH can be used to calculate .KH. un!or-
tunately it cannot be used to solve the inherent sign ambiguity. PreViously this
was possible since the infinite zeros were along the negative real axis if CBKH had
positive, real eigenvalues. However, the analysis with the inner loop in place
shows a much more complicated result. If r. C, and B were square matrices, the
adjusted to give the best balance between the low and high effects. The final
overall design is
The characteristic loci With this design are shown in Figure 2.6-9. They obviously
indicate that this design is better than that without an inner loop. In particular,
the loci are much better balanced, and although the misalignment angles were
immobile Without an inner loop, they are greatly reduced for moderate rrequen-
-94-
cies with this design. Unfortunately, they are still 45° at very high frequency
(c.>> 100 ).
unstable finite zero, and it was shown that only dependent control would lead to
stability since such control action was necessary to move the finite zero. Unfor-
tunately. simple algebraic calculations show that an inner loop has no effect on
the finite zeros of the system, and therefore the stability arguments are
tern by reducing interaction and increasing accuracy, if the values of the gain
Figure 2.6-10 shows characteristic loci for the best overall design that was
This system has a good balance of gains at low frequencies and low misalign-
ment angles at high frequencies but will be unstable for outer-loop gains greater
than 3.1. Since this is an overall gain of 24.8, 9 it is not much lower than the sta-
9. The overall gain is the product of the outer-loop gain and the inner-loop gain.
-95-
Since the C.L.M. design for this case without an inner loop led to a compen-
sator that perfectly balanced the gain at low frequency and significantly
The corresponding root-loci are shown in Figure 2.6-11. This design does not
was considered (Figure 2.6-12). Since the purpose of the inner loop is to
the overall objective is to exercise control over two of the measured variables,
some minor modifications are made so that the inner loop operates only on the
extra measurement. The new configuration makes more efficient use of gain
41 ;: (0 0 1) (2.6-23)
poles for the outer loop of the new system. Only with Gc = I are the resulting
ing the C.L.M. to the new inner-loop system results in similar characteristic loci
to those obtained previously, but the new configuration makes more efficient
Finally it can be concluded that, although the inner loop is often beneficial,
it does not always improve the overall design. If the criteria for a good C.L.M.
design can be satisfied without an inner loop, then further analysis may not be
(.,)
'""
0I
...,
0
.,
0
c:iI
0 IM
1,')
:9
(a)
Figure 2. 6-l
Characteristic Loci Diagrams for Outputs z 1 =0.3, zz=0.7
c
0
c::i /Q/,!11!
co
0
0
-4. 00 -3.00
0
0
,...ci
'
(b)
0
C)
c::i TMETq
"'
0
0
...
d
0
0
,c.i
0
0
c::i
N
0
0
c::i
0
0
(c)
.....
-
0
c 1 ~
""c:;>
(a)
Figure 2.6-2
Characteristic Loci Diagrams for Outputs z1=0.4, z2 =0.6
0
0
c:i 101, OS
'""
0
0
c:i
"'
0
0
-3. 00
-·· 00
(b)
0
0
c:i T~Erq
Ill
0
0
....0
0
Q
..,c:i
0
0
c:i
"'
0
0
c:i
0
0
-
Ill
0I
....,
""0
I
If)
'"
0 I
....,
... Ill
0
'
(a)
Figure 2.6-3
Characteristic Loci Diagrams for Outputs z 1=0.4, z2=0.8
0
0
-c:i
0 10/,01
LDI II
~ •• 00 -3.00 -2.00 -1. 00 2.00 3.00 4.00
0
0
c:i
Vl
I
0
0
c:i
0
7
0
0
c:i
In
7
{b)
0
gi""'
0
0
...
c:i
c
0
..,
c:i
0
0
c:i
N
0
c
-
c:i
0
0 LOf M
-·· 00
·3. 00 -2.00 -1.00 '11. 00 1. 00 2.00 3. 00 4.00
(c)
lJ'l
N
lJ'l
':r:t
0
C1'
':'
If)
a'
'?
c.J
C..> !'I
,;
(a)
Figure 2. 6-4
Characteristic Loci Diagrams for Outputs z 1=0.3, z2=0.1
Compensator Given by Equation (2.6-10)
0
0
0
... 1:11,08
"'
0
0
0
0
0
G)
I
0
0
0
II)
7
(b)
0
0
0
,,., HtEHI
0
0
c:)
....
0
0
0
...,
0
0
0
N
0
0
0
0
0
(c)
....0
ciI
...
'::>
I~
c?
(a)
Figure 2.6-5
Characteristic Loci Diagrams for Outputs z1=0.4, z2 =0.6
Compensator Given by Equation (2.6-11)
a. C.L.M. Plots b. Magnitude vs. Log Frequency
c. Misalignment Angles vs. Log Frequency
- 106-
0
0
c:i
1~1. OS
"'
~,
0
0
...
c:i
"'
0
0
c:i
<0
0
0
c:i
a:;
0
0
c:i
II?
(b)
0
0
c:i T'fET~
"'
0
0
c:i
~
0
0
,.,
c:i
0
0
c:i
N
0
0
0
0
0 to~ ..
-~.co -~.co -2. co -1. co en. co I. 00 2.00 3. co 4. co
(c)
0
-0. 10 -0. OS 9J 00 0. OS 0. 10 0. 15 0.20 0. 25
...
0
c:iI
..,.0
c:iI
0
tO
c:iI
0
()) I"
c:iI
(a)
Figure 2.6-6
Characteristic Loci Diagrams for Outputs z 1=0.4, z2 =0.8
Compensator Given by Equation (2.6-12)
c
c
0c
- /0/,01
c
c
0
In
UG II
g
0
c
i
0
0
-0
11'1
I
(b)
0
0
o
...., ThUll
0
c
-
0
0
0 lGG II
Yd + a +..:..,. u YM y
'<>'_ * Controller
Gc ~>'- Kx r--- Process
Gp L
YF F
Figure 2.6-7
Inner-Loop Control Design Strategy
- 110-
0
I'll
d
0
-0.20 9l 00 0.·2D. o•. so. 0.-80 1. 00 1. 20
1111:
0
ID
dI
gd '"
I
(a)
Figure 2. 6-8
Characteristic Loci Diagrams for Outputs z 1=0.3, z2 =0.7
Inner-Loop Compensator FA
No Outer-Loop Compensation
Cl
Cl
d /1/,01
"'
Cl
Cl
Cl
Cl
d
Cl
I
(b)
Cl
Cl
d
on
THUll
Cl
.
0
d
Cll
0
....
0
0
d
"'
0
0
-
d
0
0 LOt II
-3.00 -2.00 -1.00 91.00 1. 00 2.00 3.00 4.00
-·· 00
(c)
0
N
-.
I
(a)
Figure 2. 6-9
Characteristic Loci Diagrams for Outputs z 1=0.3, z2 =0.7
Inner-Loop Compensator FA
Outer-Loop Compensator Given by Equation (2.6-20)
0
0
c:i
-
N 1111.01
0
0
.,c:i
Cl
0
c:i
....
-1.00 <1J 00
0
..
0
c:i
I
Cl
Cl
c:i
' (b)
0
0
c:i
II)
THnll
LOG II
-&.00 -3.00 -2.00 !.00 •• 00
(c)
....0
(a)
Figure 2.6-10
Characteristic Loci Diagrams for Outputs z 1 =0.4, z2 =0.6
Inner-Loop Compensator FA
Outer-Loop Compensator Given by Equation (2.6-21)
0
0
ci
o 101. DB
0
0
ci
0
'7
0
0
ci
J'l
-;-
(b)
0
0
ci l'IEl~
"'
A
....
0
0
ci
,..,
0
0
ci
I"J
0
0
ci
0
0
(c)
(a)
Figure 2.6-11
Characteristic Loci Diagrams for Outputs z1 =0.4, z2 =0.8
Inner-Loop Compensator FA
Outer-Loop Compensator Given by Equation (2.6~22)
0
0
ci
CJ 101.01
0
0
d
.n
- 118-
yd +..10\ • y- y
+,o,. Process
.>:
K(S) Fi '< ,>'_ kl ~ Gp ~pt.. L,
-
yf
F2
.__ L2 1-
Figure 2.6-12
Alternate Inner-Loop Control Strategy
- 119-
The control structure analysis for the heat conduction system was per-
inverse Nyquist array, and the characteristic locus method. Additionally, the
time-domain techniques of optimal and modal control were applied to both the
lumped and distributed models. Since all of the schemes provide a design for
process. Additionally since most of the designs were performed using the third-
order lumped model, simulations of the actual system are necessary to assess
tem responses to various set point changes were performed for the different
nol performed, since such simulations could not easily be compared to those
optimal controller to set point changes and system disturbances are shown in
the modal or laplace models derived in Section 2.2. Since both of these were
shown to be equivalent, either model can be used; however, since the frequency-
obtained from the modal-lumping procedure, the simulations used the following
results:
- 120-
(2.7-1)
1.0 n=O
'i"n(z) = [ ~cosnrrz n = 1, 2, ...
(2.7-2)
(2.7-3)
1
an(O) = fo 9'n(z)yo(z)dz ,
n=O
n = 1. 2, ... (2.7-4)
The closed-loop response y(z,t) can then be obtained by applying a discrete time
analysis to the control structure and feedback information. Although the actual
process. Thus system responses for the various control strategies were calcu-
lated using both third- and tenth-order lumped process models.
trol. Although such control may seem excessively elementary, it has the advan-
several of the design techniques. For stable, diagonally dominant systems, the
should be used in each feedback loop, leading to a stable system with little
- 121-
interaction. The root-locus analysis, C.L.M., and I.N.A. methods show that the
symmetric cases with z1 < 0.33 and the unsymmetric cases (0.3,0.8) and
(0.4,0.8) are diagonally dominant and stable. However since these conclusions
In general, the simulations show that the exact process behaves qualita-
tively similarly to the third-order model and that high gain significantly reduces
interaction for certain cases. However, proportional control leads to consider-
able offset. Even if only one of the two set points is changed, there is offset in
both outputs. This is obviously a result of the steady state interactions in the
Thus although the root-loci and l.N.A. analyses showed that arbitrarily high
gains would reduce interaction without leading to instability in certain cases,
very hlgh gains are often needed to sumciently reduce the otrset and interac-
tion. Such high gains may be impractical or may lead to large overshoot, and
even when steady state interactions are reduced by high gains, considerable
dynamic interaction may still be present.
Thus although simple introduction of high gain into both control loops may
be adequate, the control structure can often be improved by a slightly more
of integral action should be introduced to eliminate the offset. The C.L.M. deter-
However, simple analysis shows that, due to the integral action, the closed-loop
responses become oscillatory. Simulations were performed using the C.L.M.
destgns With and without the inner loop. They show that system responses can
- 122-
be improved with integral action and that appropriate design of the inner loop
control scheme is the lag time between a control action and the response of the
outputs. For the heat conduction process, this lag leads to large overshoot
when the feedback loop has high gains but will not lead to 1nstab1l1ty as long as
the measurements are placed within the first and last third of the system. If the
measurements are very near the edges of the system, even high gains will not
lead to overshoot; whereas, high gains leads to system instability if the measure-
ments are within the center third of the system. Thus it would seem appropri-
ate to add some sort of anticipatory control. i.e., add some derivative action.
This should reduce oscillations and keep the system stable up to higher gain.
the process and can lead to difficulties for step input changes and for noisy sys-
(0.4,0.6) case.
ment locations, but the design was based on the third-order model and could be
useless for the exact system. However, simulations show that it is an excellent
control scheme for the heat conduction process, even when the measurement
locations are not those specified by the technique. With inner-loop decoupling,
0
(2.7-6)
0
Using additional proportional control with gain ~ in the ith loop, the response
(2.7-7)
where
k,A.;.
c. = l+kiA.
1
A1 = C12-f- (2.7-8)
11
At.= 1
f21(2-2~c12)
f 11
Consider the first loop. The offset is obViously 1.0 - C1 = f k . Thus no offset
u+ 1
with various measurement locations. For the system with symmetric outputs
and control action, both outputs respond identically to a set point change of
(1,1), 2 and the responses for (0,1) are reversed from that for (1.0). Simulations
were performed using both the third- and tenth-order process models. 9
Previous analysis showed that this case is stable and diagonally dominant.
Thus high gains should reduce offset, interaction, and response time. Figure
2.7-1 shows the third-order response to a step change (0,1) with feedback gains
1.0 and 50.0. Although interaction is small at a gain of 50.0, such gain is quite
simulations (Figure 2.7-2) verify the results predicted from the model. Interac-
with f 11 =f =0, proportional control does not result in steady state offset.
21 As
f 11 and f 21 increase, offset increases, and as the gain increases, offset decreases.
(Figure 2.7-:3) show that high gain leads to overshoot and eventually to instabil-
ity. Nevertheless for moderate gain. there is only a very small amount of
interaction. Thus even though the gain is somewhat limited, offset can be elim-
inated and interactions greatly reduced while still having excellent response
2. This notation means that the set points are Yd1 = 1.0 and Yd8 = 1.0 fort~ 0 with Yc11 =Yc1 11 =0.0
fort< 0.
3. Note that the tenth-order model is taken to represent the exact process.
4. In comparing the simulations, note that the time axes vary s:ignitl.cantly.
- 125-
time. For example. with a gain of 20.0, the response time is about 0.08 and
gain of 50.0, the response time is 50% more, while interaction and offset are
significant. Finally, integral action can be added but is not necessary since
f 11 =f =0 leads to
21 a response with no offset. Also as shown in Figure 2.7-3,
response times. offset, and interaction, without leading to instability. The simu-
lations (Figures 2.7-4 and 2.7-5) for proportional control behave as expected.
For low gains, considerable interaction and offset arc present along with long
response times. For high gains, interaction is reduced and the system becom~s
oscillatory. However even for very high gains, the overshoot is only about 10%
with a large decay ratio, and thus the response times are short. Additionally,
the simulations show that the qualitative behavior of the responses for the
tenth-order system are identical to those for the third-order model, though
Figure 2.7-6 shows the responses of the system with the addition of the
compensator that was designed using the characteristic locus method. At a gain
of 1.0. the third- and tenth-order responses are similar (only the tenth-order
responses are shown). The addition of the compensator has eliminated offset
and steady state interactions while adding some overshoot. However dynamic
interactions are still significant for t < 3.2. Increasing the gain reduces the
response times and interaction but increases the overshoot. At the extremely
high gain of 200.0, the tenth-order model (not shown} shows that the system is
- 126-
short response times and little interaction can be obtained at much lower gain.
of an inner loop. Third- and tenth-order simulations were performed using the
design obtained in Section 2.4. The responses for the system with an inner loop
and with only proportional control in the outer loop showed considerable offset
even for step changes of ( 1.1). However, the responses (Figure 2.7-7) for the sys-
tem with the inner-loop compensator FA and the designed outer-loop compensa-
( 0,1) and ( 1,0) step changes no longer give identical results, the responses are so
similar that only one is shown. For gains below 8.0, both the third- and tenth-
order models show no oscillation (again only the tenth-order responses are
shown). The third-order model also shows an elimination of not only the offset
but almost all the interaction. Even though the actual system is unstable for
very high gain, the inner-loop design is excellent, since even at a relatively low
overall gain of 20.0, 5 oscillaLions and interaction are minor and response times
are short.
gain (above ""'32.0). The responses (Figure 2.7-8) verify these expectations. For
low gain. the system has high interaction, large offset and long response times.
As the gain increases, the oscillations increase while the response times and
offset decrease. Nevertheless, interactions remain high at short times-t < 0.5.
Slight differences between the third- and tenth-order models are apparent at
5. The overall gain equals outer-loop ga.in-2.5-times the inner-loop gain -8.0.
- 127-
higher gain. Although the third-order system is unstable at a gain of 35.0, the
Both the I.N.A. technique and C.L.M. showed that the only compensator
ever as previously discussed, the use of such a controller has serious disadvan-
tages. For a set point change of (0,1) or for unsymmetric dependent control
with ( 1.1). the closed-loop behavior shows very high offset (Figure 2. 7-9), and for
cannot be assured at high gain. However with the inner- and outer-loop con-
trollers that were designed using the C.L.M., the responses (Figure 2.7-10) at
moderate gain have no offset. but at the expense of increased oscillation and
response time. High overall gain(> 40.0) does indeed lead to instability.
Thus a good design has not been found for the heat conduction system with
gain of 35.0 and the actual system at a gain of 50.0 are stable (Figure 2.7-11).
The system has a very short response time but shows some slight offset. By
further introduction of some integral action (PID control), the offset can be
action to insure stability; however, high gains and increased derivative action
response (t < 0.2). Since such a downward "blip" is not physically explainable,
12. The region t < 0.064 is enlarged, and it is obvious that the "blip" gets
smaller as the order of the model is increased. Finally, Figure 2.7-12 shows the
response with derivative action with the 'blip" artificially removed. This
inputs and the outputs. However, although this technique allows higher gain,
derivative action is still not advisable due to problems with implementation and
process disturbances.
used to convert the system to that necessary for use of this technique. How-
ever, the tenth~order response for the system with the permutation matrix and
transportation lag with the outputs at a distance of 0.6 from the inputs. The
inner-loop structure designed for the (0.6,0.4) case is applied directly to the
(0.4,0.6) case. Surprisingly the results (Figure 2.7-13) are excellent! Although
the interactions are not completely eliminated, they are small and may be
reduced further by improving the outer-loop design with the C.L.M.. The choice
gains.
symmetric and since the root-loci have vertical asymptotes for the third-order
model. Due to the lack of symmetry, simulations are considered for the set
point changes (1,1), (1,0), and (0,1). As expected, the responses of the two out~
- 129-
puts are not identical, and the measurement at z2 = 0.8 responds faster than
that at z 1 = 0.4. Although the third- and tenth-order models show similar
responses for low gain. they differ considerably at higher gains. The actual case
shows much worse behavior than the third-order model predicts. For propor-
tional control (Figure 2.7-14), the offset is reduced as the gain increases. How-
ever even at a gain of 50.0. the responses are quite bad. The actual system
shows a high degree of oscillation and a long response time. The output at z2 =
0.8 has an overshoot of 30%, while the other has an overshoot of 80% for a set
point change (1,1). The effects or interaction are clearly illustrated by the set
point change (0,1). The measurement at z2 , whose set point was changed, has a
fast response while the other output, whose set point remained unchanged
shows significant oscillation and long response time. Ir instead the set point
change ( 1,0) is considered, the measurement at Z:a is only slightly affected. Obvi-
ously the output at z2 = 0.8 is much more stable than that at z1.
For a gain of 100.0, the third-order response is stable and shows shorter
response times. However for all of the set point changes, the response of the
output at z 1 is unstable while that at Z:a remains stable. Even when only the set
point at z2 is changed, the . interactions cause the other output to become
Since high gains are desired to reduce offset and interaction and since very
high gains lead to an unstable response at z1 , it seems best to impose high gains
in the feedback loop on z2 and moderate gains on the output at z 1 . Figure 2.7-15
shows the responses with gains 25.0 and 100.0 imposed on the two outputs. The
The precompensator that was designed using the C.L.M. is then added to the
system. The C.L.M. showed that the compensator should reduce interaction and
lead to a stable system with high accuracy and integrity. The responses
(Figure 2. 7-16) show that though otJset has been eliminated, dynamic interac-
tion is only slightLy reduced. Again it is eVident that the output at z 1 has too
much transportation lag. Its reponse is highly oscillatory and becomes unstable
at very high gains, even though the third-order model predicts stability. Thus
although the C.L.M. leads to a compensator that reduces interaction, the insta-
bility problem is still present. As in the (0.4,0.6) case, some derivative action
may be useful if very high gains are desirable. Finally even if an inner loop is
added, the C.L.M. showed that little improvement is obtainable. This is verified
.•
~
0+-........
1
~........~........r -........~....~~--~....--~........~
0. oc o. 50 l. 00 1. 50 2. 00 2. so 3. 00 3. 50 ....oo
(a)
....
0
...
0
l
]a~------~~====~~~==~~~~==~~==~
0
...
0
0+-....--~........~----r-----r---~~--~----~~----~
'o. 00 0. 04 11. 01 II. l2 11. l & II. 20 0. 24 II. H 11. 32
(b)
Figure 2.7-1
Third-Order Simulations with Outputs z1=0.2, z2 =0.8
Set Point Change (0,1)
0
0
.
!
i
.E
I!
!1
!!
1I
0
"'.;
'o.oo 0. so 1. 00 1. SO 2.00 2.SO 3.00 3.50 •• oo
llonll11nd TIM
(a)
0
0
"'
0
"'_;
~"
.-
~
!
0
0
..".
t
I
... 0
~
l
!!
!
'
~
0
"'
0
"'d
'o. oo 0. 08 o. 16 o. 24 o. 32 0. 40 0.46 0.~6 0.64
•-Hzttl T1•
(b)
Figure 2.7-2
Third-Order Simulations with Outputs z 1 =0.2, z2 =0.B
Inner-Loop Decouplin.g with f 11 = f 21 = 0
Set Point Change (0,1)
..
.
!
•
l
e
i
...I
'!
..
ii
0
.,.0
.;
'o. oo o. 40 o.eo 1. 20 1. 60 2.00 2. 40 2.80 3.20
...,...11%14 Tl•
(a)
""
0
"'
0
"'
!
!!.
&
.:t"
! .
~
li
0
"'c
'o. oo o. 04 o. 08 0.12 o. 16 o. 20 0.24 0.28 0.,2
llo,...l1zl4 H•
(b)
Figure 2.7-3
Tenth-Order Simulations with Outputs z 1=0.2. z2=D.8
Inner-Loop Decoupling
Set Point Change (0,1)
.
g
g
.,;
!• 8
i ...
i
.j -
0
u
(c)
"'...;"'
"'..:
!• 0
i 0
..:
r:
a
I 0
...... 0"'
•
-=
li 0
0
d
0
"'ci
'o. oo o. 04 0.08 0. 12 0. 16 0.20 0.24 0. 28 0. 32
(d)
-:::
1j
1. so 2.00 2. so 3.00 '·so •• oo
..
0
ciI
llo,.lln<l Tl•
(a)
..
0
.....
.j
c
!... ------ -~--------
t
.a..
..I
11
!!
'ij
o.oe D. 12 0.16 o. 20 D. 2• 0.211 o. ~2
Nol'llllized n.
::
9
(b)
Figure 2.7~4
Third-Order Simulations with Outputs z 1=0.3, z2 =0.7
..
a
.
N
a
....
<>-+-.---....,,----....,..----,----,-------,-------·-·------.,-·-·
'o. oo o. so t. oo t. so 2. oo 2. sa s. aa
(c)
.
a
!~ ---------~--------- ------------~---
a
i :
.
~
!:
!
1.. g
...
a
0+-------r-----r-----,----r---~-----,-----~--~
'a. 00 0. OS 0.10 o. IS 0. 20 0. 2$ 0. SO 0. !IS G. 40
(d)
<::>
-
"'
.
0
Q
I
Norw11zed Tl•
(a)
...:
0
...<>
~
1 ."'ci
....t
i~
... 0
~
ii 0
0
.
0
c:iI
No,...11ztd T1•
(b)
Figure 2.7-5
Tenth-Order Simulations with Outputs z1 =0.31 z2 =0.7
....:
0
.. 0
!
~
j .. ------------------------------------
Q
0
t
11
t
!
0
•ci
~
ii
--------------------------------
...
0
~~--~~--~~~--~~--~~--~~----~----~----~
..'o.oo o.so 1.00 1.so 2.oo 2.so :s.oo s.so •.oo
(c)
"'
0
IN
..:
...
!
;;
0
ell "'c)
t
:
~
...
0
...i 0
:;
ii Cl
Cl
c)
...
Cl
0
'o. oo o. 0' o. 011 o. 12 o. 16 0.20 0.26 o. 28 o. 32
(d)
""""
N
0
"'
•• oo ••• o 5.60 I .• a
0
"'9
(a)
.
0
(b)
Figure 2. 7-6
Tenth-Order Simulations with Outputs z 1 =0.3, z2 =0.7
C.L.M. Compensation Defined by Equation (2.6-10)
....
..
"'0+------r----~~----~----~------~----~----~----~
'o. oo o. aa 1. so 2. to 3. 20 •· oo •· to s. &o &, 111
(c)
.."'
...
0
di~----~------~----~----~------~-----r----~r---~
1
0. 00 0. OS 0. 10 0. 15 O. 20 0. 2S 0. 30 0. 35 0. tO
(d)
g
N
.....
.....
9
(a)
..
.....
..
....
(b)
Figure 2.7-7
Tenth-Order Simulations with Outputs z 1=0.3, z2=0.?
Outer-Loop C.L.M. Compensator Defined by Equation (2.6-20)
Inner-Loop Compensator FA
Set Point Change (1.1): a. Overall Gain= 1.0 b. Overall Gain= 20.0
Set Point Change (0,1): c. Overall Gain= 1.0 d. Overall Gain= 20.0
- 142-
0
0
..;
0
"'
!
~
! ----------------------------
i
j~
!
i g
a &~--==-~-~-~-~-~-~-~-==-~-~-:=-=-~-~-----------------------
(c)
.."'
N
"'
..:
.
c
~
;;
/!1.
..t
:>
I!
!
$
iI
0
"'
9o.oo D.IO 0.20 o. :so G. tO o.so 0.&0 0.?0 0.10
(d)
Cl
•
..
Cl
..
0
0•+-----r---~----~----~----~----~----~--~
'o. oo o. so l. oo 1. so 2. oo 2. so !1. oo !1. so '· oo
(a)
.."'
."
..
0
c~----r----,----~-----r----~----~----~--~
'o. 00 0. 50 1. 00 1. SO ~. 00 2. SCI 3. DO :S. 50 l. 00
(b)
Figure 2.7-8
Simulations with Outputs zl=0.4, z2=0.6
Set Point Change (0.1)
0
•
-------------------------------
----------------------------
.
0
0;+------~----~r-----~----~------~----~----~----~
'o. oo o. to o. 20 o. :so o. •o o. so o.ao o. 10 o. eo
(c)
0
•..:
...
0
..:
!"
:,.
& .;
..0
z:
!..
I ..
0
.;
1
~
ii
...
0
.;:~-----~------~-----------T------r-----~----~----~
'o. 00 D. 011 0. II 0. 2t D. 32 0. tO 0. tl 0. 56 0. &•
(d)
..
0
•
i=
j..:
I
8
~+------r------r-----~-----r------r-----~----~------,
1
0. 00 0. 01 0. II 0. 24 0. 32 0. 40 0. 411 0. 58 0.14
(e)
g
..;
(f)
"'"'
-
I
~ 0
i.. "'0
It g
... "'
~
i:
i 0 I
.."'
o.so 1. 00 1. so 2.00 2.50 3.00 3.50 t.OO
Figure 2.7-9
Tenth-Order Simulations with Outputs z 1 =0.4, z2 =0.6
Dependent Control Action Defined by Equation (2.5-Bc)
Set Point Change (0,1)
- 147-
g
,.;
Cl
II>
(a)
g
..;
~
:;
!
1 - --------------~---------------------
1
l Cl
Cl
II>
c+----~------T------~-----~---~------~-----~------
'o.oo o.so 1.00 t.so 2.00 2.so s.oo s.so •. oo
(b)
Figure 2.7-10
Tenth-Order Simulations with Outputs z 1=0.4, Zr;>=0.6
Outer-Loo'P C.L.:M. Compensation Defined by Equation (2.6-21)
Inner-l.Dop Compensator FA
Overall Gain= 20.0
"'.;.
0
0
.;
...
!
0
i "'_;
0
0
-?
(a)
0
0
..;
o. 32 a. 40 o. 48 0.!>5 a. 64'
"'.....
9
(b)
Figure 2.7-11
Simulations with Outputs z 1 =0.4, z2 =0.6
PD Control Action (To= 0.01)
0
1.0
0
0.32 0.40 0. 48 o. 56 o. 64
•10''
Norwllzed Tt.e
Q
0
(a)
0
CJ
"'0
0. 32 0. 40 0. 46 o. 55 0. 64
•10'' No""'H:ed Tl•
0
0
(b)
Figure 2.7-12
Initial Response Characteristics with Outputs z1=0.4, z2 =0.6
PD Control Action (To= 0.01)
Set Point Change ( 1.1), Gain = 35.0
a. 3rd-Order b. 10th-Order c. 50th-Order
d. 3rd-Order Simulation with Initial Negative Response Removed
- 150-
0
0
0
"'ci
0. 32 0. 40 o. •e o. ss o. u
•10·1
~~o .....H ..d n ..
0
0
'
(c)
J
; ~
.i
j
li "b~+---~-.----~------~----~------r-----~----~----~
00 0. 04 0. 08 0. 12 0. 16 o. 20 0. 2. o. 28 o. 32
:! llol"'lll ht<S n.
i s:
I 7
g
_;
'
(d)
Figure 2.'7-12 Continued
- 151-
"'...;
C)
c
"'
..:
.
J
i "'..:
C)
I•
! "'"'
l
Q
,
i
I. 00 I. so 2.00 2.50 3.CO 3.50 4.00
"'"'Q
I
(a)
0
Q
,;
"'
! .
• Q
j ~
!
~~
... 0
0
"'9
(b)
Figure 2.7-13
Tenth-Order Simulations with Outputs z 1 =0.4, z2 =0.6
Inner-Loop Decoupling with f 11 = f 21 = 0
0
0
,;
0
""..:
.
i
I
::;
0
0
..:
t
;s
..i "' 0
0
1
ia 0
0
0
"'c:i
0. 00 I. co l. so 2. 00 :1. !>:J :;. 00 ~.00
.,.ltzef T1•
(c)
0
0
,;
"'...:
0
"'
0~-----,------,-----~~----,-----~-------r------~~--~
'o. oo o. oe o. JB o..'14 o. 32 o. ~o o. 48 o. ~6 o. &4
(d)
o. 56 0•••
.
""
9
(a)
......;
0.20 o. 24 0. 21 o. S2
llo-Hzod n ..
(b)
Figure 2.7-14
Tenth-Order Simulations with Outputs z 1=0.4, z2 =0.8
..
•
----------------------------------
!e
! ..
.....
0'+------r------~----~----~------r-----~----~----~
'o. oo o. oe o. 1s o. u o.,. o. to o. ta o. ss o. u
...... lUH n ..
(c)
.
"'..;.
0
0
..;
g
~i+------T------~----~----~------~-----r----~~-----
10. 00 O. Ot 0. 08 0. 12 O. 18 0. 20 0. 2. 0. 28 O. 32
(d)
...
...:...
I
';
:.,.
& 0
. C)
(!
:
I... ..
•.
....
!
iI
...
0 .
(e)
.
Cl
"'
Cl
C)
.,;
~
..!..
i
t
I... 0
C)
Cl
~
iI. .."'
0
.
0
.,;
'o. oo o. o• 0.011 0.12 o. 111 "0.20 o. 2' 0.28 0. '2
llo,..liZH TIM
(f)
Cl
Cl
o. 20 0.28
"'
....
ciI
(a)
Figure 2.7-15
Tenth-Order Simulations with Outputs z 1;;;;;0.4, ze;;;;;O.B
Gains 25.0 and 100.0 Imposed on the Outputs z1 and z2 , Respectively
..
0
..,
V>
N
"'
!...
• 0
j "'
e
a
i~
... 0
---------------------
'I
:!
1 0
0
0
"'....
0
'o.oo o. 04 o. oa o. 12 0.16 0.20 o. 24 0.28 o. 32
(b)
0
C>
"'....
0+-------~---------~---------~---------~------~----------r-------T--------,
'o. oo o. o• o. oa o. 12 o. 16 o. 20 o. u o. 21 o. :s2
(c)
..
g
a.se a.s•
....
ciI
llo-ltztd Tt•
(a)
...
..
"'.:
!
• 0
j :
i
i:;:
.. 0
~
1 ..
I ~
"b 0 0.10 o. 20 0.30 0.40 o.so o.so o. "10 0,110
..
0
o:j
llo-11 zed Tl•
(b)
Figure 2.7-16
Tenth-Order Simulations with Outputs z1 =0.4, z2 =0.8
C.L.M. Compensation in Outer Loop, Overall Gain= 50.0
g
N
...
0
0+------r----~~----~----~------r-----~----~----~
'o. oo o. oe o. te o. 24 o. 32 o. 40 o. 4e o. sa o. &4
(c)
..
.,;
0
V>
0'+-----~------~----~----~------~-----r----~----~
'a. aa o. 1o o. 20 o. :so o. 40 o. so o. 10 o. 10 o. eo
(d)
..."'
CJ
."'
.
!
j -
...,
9·+-----~-----r-----r----~----~----~----~~--~
0. DO 0. 011 0, 18 0. 24 0. 32 0, tO 0. t8 0. 56 0. It
(e)
c
"'
0+-----~----~----~-----r----~~--~----~----~
'o. oo o. 1o o. 20 o. :so o. •o o. so o. &o o. 70 o. eo
..._111M Tloot
(f)
of published results, the work provides an insight into the current state of mul-
tivariable, feedback control theory. Unlike a review paper that compares the
domain design, and non-interacting control has been conducted for a two-input,
been studied in relation to optimal and modal control. the multiple-input prob-
was studied. Due to the ease of taking temperature measurements for the heat
Thus the complete system state could easily be approximated using many meas-
However, since such flexibility is not available in many practical, distributed sys-
tems, the control scheme must work on a limited amount of output information.
Thus the analysis of the heat conduction system was performed with a finite
and feedback loop interaction and instability. Since most design techniques
require feedback of outputs equal in number to the inputs, analysis of the use
or moving system poles, was performed. This work led to the new technique of
Although the problem that was studied is a relatively simple heat conduc-
tion process with two heat-fiux controls, the results lead to conclusions that can
lar system is actually quite good since many difficulties arise in the feedback
design. due to excessive transportation lags and high interaction between the
outputs. In particular. the classical means of steady state decoupling and per-
fect, non-interacting control are not useful for this system, and thus more com-
plicated design methods are necessary. Therefore, though this project leads to
results specific to the heat conduction problem. the major contribution of the
work is in the general area of feedback control theory.
The study clearly showed that, although excessive model lumping and
is usually needed so that the various techniques of control design can be con-
process for practical and efficient control structure design. Although the exact
lumping techniques of modal analysis and Laplace transform were easily appli-
cable to the heat conduction system, many other efficient techniques are avail-
able and are necessary for processes described by more complicated differential
required. However regardless of the accuracy of the model. its usefulness is lim-
ited unless accurate model reduction can be performed. For the heat conduc-
tion process, modal lumping led to simple model reduction by directly specifying
the system eigenvalues. Since they were shown to increase rapidly. only the first
similar to that of the actual system, but the differences are magnified at high
The project also allows for an excellent comparison of the currently avail-
able design techniques. Overall, the best technique that was studied in this proj-
ect is the characteristic locus method. Both with and without an inner loop, this
integral controller. Actually at the specific frequencies used in the design. the
that best aligns the real and complex frames. The method is based on manipu-
lating the characteristic loci and characteristic directions of the system to meet
the necessary objectives. Once the appropriate computer programs and plotting
facilities are available, the final design can readily be obtained by considering
The inverse Nyquist array analysts can also easily be performed with the
appropriate computer facilities but does not lead to as good a control design.
The procedure involves maJ:ting the system stable and diagonally dominant.
However such high gain is often impractical and leads to excessive oscillations.
low gain and can only be reduced by increasing the gain substantially. The
that, although both can be used to check stability, the inverse Nyquist method
Non-interaction control methods were also considered for the heat conduc-
tion system. Although perfect, non-interacting control and steady state decou-
pling have little use for this particular system, they may in general be applica-
quite promising. Though further analysis of the method for a more complicated
be made. In particular, it was shown that none of the currently available design
techniques allow for derivative action. Though such control action may be use-
ful in many processes where transportation lags are signitlcant, it is impractical
to physically incorporate into the system and leads to problems with step
Additionally, the project showed that the use of extra measurements may
drastically improve the control design or may have little or no effect, depending
on the placement of the commanded outputs. The extra outputs can be used
for inner-loop decoupling or for adjusting the poles of the process so that an
improved characteristic locus design can be obtained. In cases where extra out-
puts are available or easily accessible, they should be considered and may sim-
plify the control structure significantly. However, since a simple inner loop can-
not move system zeros, stability problems due to unstable finite zeros cannot
- 165-
Finally the role of measurement location has been considered. Each choice
significantly affects the usefulness of each design technique, since the locations
determine the extent of interaction and system symmetry. AB expected, prob-
lems are minimized with measurements near the edges of the system, since
interaction and transportation lags are reduced.
Thus though the two-control, heat conduction process has been analyzed in
detail, further analysis could lead to additional insight. In particular, the trans-
delays (Ogunnaike and Ray, 1979). More importantly. an analysis of the stochas-
tic problem needs to be performed, along with an analysis of heat losses and
other disturbances. Finally, several computer-aided design packages should be
Chapter 3
:MATHEllATICAL MODEl. OF A
3.1 INTRODUC'nON
The central role played by dynamic and steady state models in the design
amount of research effort during the past twenty years and has really been at
the forefront of modeling research since the early 1970's With the acceptance of
of the most challenging problems is that of packed bed catalytic reactor model-
ing.
Packed bed catalytic reactors are extensively used for carrying out exo-
mass transfer processes in such reactors have led to considerable effort in their
necessary for accurate description of the dynamic and steady state behavior of
detail can lead to a model in_capable of accurately representing the physical sys-
every aspect of the reactor system may be intellectually fulfilling, a model based
much work has been directed at determining the processes that are of minor
those that do not distinguish between the conditions within the ftuid and those
exist between the solid and tluid phases. A more detailed two-phase model, in
which the exchange of energy and mass between the two phases is explicitly
(Carberry, 1976; Finlayson. 1971; Heiberg et al., 1971; Jutan et al.. 1977).
Advances over the past decade in computational techniques for the solution
bances, and
lytic reactors that significantly extends previous studies in the qetail of the
tor modeling. We feel that the modeling approach and the conclusions concern-
presented in this thesis should carry over to other similar catalytic packed bed
systems. 1
niques are discussed. Although some simplifying model assumptions are con-
sidered. their necessity and effect on the resulting system simulations are
rigorously analyzed.
After providing a cursory review of packed bed reactor modeling. the for-
tor in Section 3.3. The model accounts for axial and radial dispersion of mass
and energy. for mole changes that occur along the bed due to reaction, and for
molecular weight. heat capacity, reaction rate constants, and heats of reaction.
The model can then be used to study the steady state and dynamic
and the overall effects of various common modeling simplifications. The gen-
erality of the analysis also allows for studies of similar systems under adiabatic
operation and without axial thermal wells. These extended analyses are
early portions of the analysis may be inappropriate for reactors with very steep
inherent in the model discretization. Section 3.5 considers such conditions and
tion on finite elements that remains stable even under the worst of these simu-
lations.
methods leads to a computational technique for simulating the steady state and
dynamic behavior of the packed bed reactor. However, computing facilities gen-
erally available for on-line control cannot perform the necessary calculations
rapidly enough for practical control applications with the full, nonlinear model.
Furthermore, solution times for dynamic simulations with this model even make
simplified lower-order model is desired for on-line multivariable control and for
Before control studies can be performed using the model developed in this
work and even before extensive simulations are used for system design and
reaction and heat transfer parameters must be measured directly for the exper-
imental system. This step, outlined in Section 4.2, is by no means trivial and
sideration of transient kinetics, and to obtain heat transfer and energy and
The area of packed bed reactor modeling was the emphasis of considerable
amount of research effort into the early 1970's. Many specific aspects of the
models were investigated, and well defined techniques for packed bed reactor
models were developed (Carberry, 1976; Froment, 1972; Hlavacek, 1970; Karanth
not well-developed. However, these steady state models were able to provide
Advances over the past decade in.computational techniques for the solution
functions and the roots of these polynomials as the collocation points. The
- 173-
method has been applied to various problems including the non-symmetric axial
diffusion for a tubular reactor (Fan et al., 1971), the steady state solution for a
simplified adiabatic packed bed reactor (Karanth and Hughes, 1974b), and the
reactor modeling in this thesis since entire books or major portions of reaction
1970) arc devoted to this subject. Instead, we wish simply to outline some of the
major advances in this area and to show the wide disparity in modeling tech-
niques and thus the importance of a unifying study such as that presented here.
batic packed bed reactor models developed during the past twenty years. This
table is not intended to present all of the models used throughout this period or
even present the major modeling techniques, but instead to describe represen-
tative models that exemplify the progress of this field during the period. The
studies.
Solution Dispersion
Reference System Heterogeneowr Dyua.mic
Technique Thermal Mass
Orthogonal Axial Axial
Current Methanation Yes Yes
Collocation Radial Radial
Butane Orthogonal
Jutan et al. (1977} No Yes Radial Radial
Hydrogenolysis Collocation
Valstar et al. (1975} Vinyl Acetate Finite
No No Radial Radial
Synthesis Differences
Hoiberg et al. ( 1971) No {s.s.)
H2 + ~ Yes (dynamic) Yes Radial Radial
Finite Radial
De Wasch and Froment (1971} A+B ... C Yes No Radial I
Differences ....--2
I
Orthogonal !
..p.
Finlayson ( 1971) No No Radial Radial
Collocation
A_. B Finite
Hlavacek ( 1970) No No Radial Radial
Differences
Naphthalene Finite
Carberry and White (1969) No No Radial Radial
Oxidation Differences
A-. B-. C Finite
Carberry and Wendel (1983} No No Axial Axial
Quasi-Adiabatic Differences
Table 3.2-1
Summary of Nonisothermal. Nonadiabatic Packed Bed Modeling
- 175-
catalytic reactor. A simple digital computer model was developed with simple
White ( 1969) to the steady state modeling of a packed bed catalytic reactor for
simplifications in packed beds and numerical solution methods for the resulting
set of nonlinear partial differential equations. Hlavacek describes both one- and
steady state solution of the equations is performed using finite ditierences. The
major contribution of his work is really in unifying the approach to packed bed
reactor design by showing the necessity and use of accurate reactor models in
1971. Finlayson ( 1971) presented the first orthogonal collocation solution for
packed bed reactor analysis. Although he showed the method to be much faster
and more accurate than finite difference calculations and easily applicable to
dients, the finite difference technique remained the generally accepted pro-
cedure for packed bed reactor model solution until about 1977 when the
Also in 1971, De Wasch and Froment (1971) and Hoiberg et al. (1971) pub-
lished the first two-dimensional packed bed reactor models that distinguished
between conditions in the ftuid and on the solid. The basic emphasis of the work
and the 'effective' parameters in the gas and solid phases. Hoiberg et al. (1971)
analysis (a homogeneous analysis was used for steady state calculations). This
which the highly exothermic reaction between hydrogen and oxygen occurred on
a platinum catalyst. The major limitation of this work was the amount of detail
possible for numerical solution using the finite difference solution scheme.
The work by Valstar et al. (1975) provided the first real experimental com-
ments. Although their model was somewhat simple, especially for as late as
1975 (four years after the detailed modeling work by Heiberg et al. (1971) was
- 177-
profiles.
model development was published by Jutan et al. (1977). They used the orthogo-
Other recent work by MacGregor and Wong (1978) and Wright and Schryer
( 1 978) deviated from the mechanistic approach taken by most studies where
within the system through the application of the basic physical and chemical
laws governing such systems 1'hey considered the use of statistical methods to
identify process transfer functions from empirical input! output process data.
without the necessity of any specific knowledge of the procel'ls. However. these
empirical models are only valid within a very narrow region about the operating
conditions for which they have been derived and are only practical in cases
where very low-order models will suffice. With such complex systems as packed
the dynamic behavior of the process. Thus, these models cannot in general be
safely used for process optimization and design or the investigation of start-up
The current work presented in this thesis uses these past studies as a basis
to develop a unified general approach to packed bed reactor modeling and con-
~ 178-
dynamic modeling with complete axial and radial, mass and temperature con-
siderations and gas and solid property variations with minimum a priori
simplifications.
- 179-
Due to the need for careful. systematic studies of the model development
and built (Strand, 1984). The reactor system was constructed, not specifically
for any particular reaction mechanism, but rather lo include various heat and
mary reaction process chosen for the initial studies is the methanation reac-
tion, discussed in Section 3.3.2.
catalytic reactor and the subsequent problems with temperature and concen-
tration control. various reactor designs have been used to permit easier heat
with interstage quench cooling. In such systems, careful control of the tempera-
rise across the bed is not too large. Control of such a system was studied by
Foss et al. (1960), Silva (1976), Silva et al. (1979), and Wallman et al. (1979).
walls into an outer jacket filled with a cooling fiuid. This approach is especially
useful for highly exothermic systems, since heat is removed continuously along
the reactor bed, but requires small reactor diameters due to ·radial heat
then typically built with a large number of tubes in a cooling oil shell. Our reac-
tor is designed to simulate one of these tubes. Due to the high radial thermal
The cooling system for the experimental reactor consists of a high tempera-
ture oil (Dowtherm) circulating between the reactor jacket and condenser by
able, and its boiling temperature can be controlled by adjusting the pressure of
nitrogen within the condenser. At normal operating conditions, the cooling fluid
will boil 1 in the jacket leading to a countercurrent flow of the oil through the
outer jacket. and the reactor wall temperature will be nearly independent of
length along the reactor. The coolant system was sized based on expected heat
Dowtherm reservoir so that the Dowtherm can also be used to heat up the reac-
tor during start-up, since low operating temperatures can lead to undesired side
reactions.
and cold gas recycle that can lead to steady state multiplicities and instabilities
and are of great interest in control system design. The cold gas recycle can
ing the feed concentration, inhibiting the forward reaction by the introduction
of methane and by increasing the heat capacity of the feed mixture due to the
available for controlling the inlet gas temperature to the reactor. Thus the con-
trol configuration can consider the complete control of the inlet feed tempera-
The actual reactor bed consists of a 1.194 em radius stainless steel tube,
through the center of which runs a 0.159 em radius thermal well containing
long and packed with finely ground~ nickel on alumina catalyst particles.
Because of the cooling jacket, radially mounted thermal wells are impractical. so
all internal temperature measurements are made within the thermal well, as is
All feed gases to the reactor are supplied by standard gas cylinders. Each
shutoff valve. Under normal operations for the methanation process, nitrogen,
hydrogen and carbon monoxide are used as the inlet streams.
The computer system used for measurements and control is a Digital Equip-
ment (DEC) LSI 11123 to which all control valves, thermocouples, heaters, and
trol studies due to its flexibility, the large number of available of measurements,
feed-effluent heat exchange. the possibility of product recycle. and the inherent
time delays. The reactor can actually be used to study a large number of
imental packed bed reactor, the methanation reaction was chosen for the initial
studies since methanation is highly exothermic and the temperature and con-
and water. When using specific selective catalysts. the resulting product is pri-
marily methane. The catalyst used in our studies is Girdler catalyst G-65, a
using methanation for the initial control studies is that by simply replacing the
bon monoxide, appreciable side reactions can occur in the methanation system.
ThP.se are shown in Table 3.3-1 and include carbon dioxide methanation. steam-
zooa C. most side reactions are suppressed and only the CO methanation, C02
reactions, only two are independent. In light of the discussion below on C02
Steam-Shirt: CO + H2 0 = C02 + H2
Carbon Deposition: 2CO _. C02 + C
(3.3-1)
where (3.3-2)
3.3-1 and 3.3-2) are based on experimental data taken by Lee (1973) in a cata-
lytic CSTR under conditions of ideal mixing for CO methanation over a Harshaw
the factor ( 1-v) to reduce the rate to zero at equilibrium. The range of validity
for this expression is given in Table 3.3-2, and empirical values for the rate con-
stants are given in Table 3.3-3. Vatcha reports that the low activation energy
indicates that the above rate expression describes the global rate, thus incor-
porating any mass transfer limitations. Gas phase concentrations can then be
used in the reaction analysis. This use of gas phase concentrations in the
- 184-
analysis does not limit the generality of the model, since the mass transfer
effects are simply included in the rate expressions and since the interparticle
mass transfer limitations are often minimal for packed bed reactors where the
gases flow rapidly over solid catalyst particles (Jutan et al., 1977).
Jlethanation Steam-Shift
mole CO mole C0 2
kou 0.075 kos 17.816
sec g cat atm L 5 atm2 g cat sec
EaM 6944.
cal
Eas 18900. cal
g-mole g-mole
K1 1.47 atm- 1 fl 0.83 atm
K2 0.73 atm-1 rl! 0.17
Table 3.3-3
Empirical Constants for Equations (3.3-1) and (3.3-3)
· Although Vatcha also shows that literature surveys on the steam-shift reac-
tion are inconclusive, we have included this side reaction in our modeling
- 185-
of the form
(3.3-3)
(3.3-4)
Finally, the equilibrium constants Kpll and KPs are taken as functions of
The empirical rate expressions given in Equations (3.3-1) and (3.3-3) were
used for initial simulations. Actual rate expressions for our specific catalyst,
experiments using a kinetics reactor (Strand, 1984) bullt specifically for these
studies. Preliminary results show that the kinetics for our catalyst are actually
much different than those predicted by the above expressions. The dependence
methane are significantly different, and the activation energy is much higher. In
• 1B6-
particular. the reaction was much more sensitive to operating conditions and
(3.3-6)
With the rate constants shown in Table 3.3-4. The final term, e-(lt, in the rate
Table 3.3·4
Rate Constants !or Methanatton Reaction
Kinetics Given By Equation (3.3-6)
brium (i.e., a term like 1-v in Vatcha's expression). This term was not found to
be needed under the limited planned operating conditions (relatively Low tem-
stant KPu is approximately 109 and the reaction therefore goes to nearly 100%
energy and rapid deactivation of the catalyst. The rate expression includes an
empirical deactivation term, although the activity remains nearly constant dur-
- 187-
nature of the new kinetic expression (Equation 3.3-6), much of the analysis
given by Equation (3.3-1). Conclusions in this modeling work were verified with
the new reaction kinetics, thus allowing consideration of various kinetic models
in the modeling analysis. The only major effect of the new kinetics on the
As pointed out in this section, global reaction kinetics are used in this
analysis. These kinetics must then account for the the adsorption/desorption
on the catalyst surface and the intraparticle diffusion. However, most available
kinetic information is based on steady state data. A major concern is then the
and the characteristic times for the intraparticle diffusion dynamics. Although
4. The time constants for the temperature and concentration profiles in the pellet to change are at
least an order of magnitude faster than the time constants for the temperature and concentra·
tion proilles in the reactor bed.
- 168-
ous modeling studies have been restricted to specific systems due to the appli-
cabiltiy of the chosen assumptions for each individual case. The approach
minimal efi'ort.:s
catalyst particles and reacting gas is treated as two phases with the assumption
that the packed bed may be treated as a continuum insofar as changes occur
smoothly and continuously within each phase throughout the bed. This assump-
tion is generally valid for most industrial reactors and should be valid under the
conditions of this analysis (Carberry and Wendel. 1963; Hlavacek. 1970; Stewart,
1967), since the ratio of bed diameter to particle diameter for the experimental
reactor is about Z5 and the axial aspect ratio is very large (ZOO- 300). The heat
and mass fluxes can then be treated in a form analogous to Fourier and Fick
laws, respectively.
Previous investigations have often assumed that the difference between the
catalyst and gas temperatures are negligible in tubular reactors for fast flowing
5. Although this current modeling is for a general, nonadiabatic packed bed reactor with an axial
thermal well, the analysis easily extends to the consideration of adiabatic reactors and those
without a thermal well. These are merely subsets of the more general case.
-189-
1974; Gould, 1969; Hoiberg et al., 1971; Jutan et al., 1977) have verified that
gas at steady state. Furthermore, this assumption has also often been defended
by the argument that it is difficult in practice to measure separately the gas and
solid temperatures. However, for control studies, the two-phase representation
is necessary since considerable (> 10° K) differences can exist between gas and
solid temperatures during dynamic conditions, and for control applications, the
dynamic situation is of major importance. The measurement problems can and
amount of supporting literature and for most systems involve neglecting axial
and radial mass diffusion and axial energy diffusion, depending on the aspect
ratios of the reactor bed. Although these assumptions have often been neces-
sary in the past due to limitations of the computational techniques available for
ditiusion terms, current techniques do not require such assumptions and may
The present analysis begins by incorporating all axial and radial dispersion
effects, including axial conduction within the thermal well. Axial conduction in
the outer wall is neglected based on the first assumption presented below and
on Bonvin's (1980) results that the conduction in the outer wall is most likely
insignificant and can be neglected from the model it axial dispersion in the bed
neglected radial gradients to limit the complexity of the resulting model. this
work considers a packed bed system with extensive cooling at the reactor wall
and thus must account for the radial profiles within the bed (Jutan et al., 1977).
Radial temperature gradients are neglected within the thermal well due to its
Also accounted tor by the model are density, heat capacity, and molecular
weight variations due to temperature, pressure, and mole changes, along with
stants, and heats of reaction. Axial variations of the tluid velocity are
accounted for in the mathematical description using the overall mass conserva~
tion or continuity equation. These variations are the result of axial tempera-
ture changes and the change in the number of moles due to the methanation
reaction.
1963; Jutan et al., 1977; Smith, 1970). The validity of this assumption is
generally based on the very hiJ;h thermal conductivity of the reactor wall
and on the use of boiling ftuids or high convection in the outer cool.ing
dictated by the ideal gas law. The assumption of ideal gas behavior will be
higher than the critical temperatures of the component species and the
3. There is no radial velocity, and the axial velocity across the radius of the
packed bed is uniform. Schwartz and Smith ( 1953) found that the veloc-
ity across the diameter of a packed bed is not uniform for radial aspect
significant effect of the increased void space near the wall where the par-
ticles are locally ordered. This result has been verified by Hoiberg et al.
(1971) for a packed bed reactor with radial aspect ratio about 50. They
tions with a sharp peak about 15% greater than the mean fluid velocity
situated close to the wall. Simulations using their model showed results
Although the radial aspect ratio for our experimental reactor is under
catalyst), this may be difficult in our system due to the highly exothermic
near the center of the bed. Carberry ( 1976) recommends reducing the
6. Actually there are only about 12 particle die.meten~ between the thermal well and outer wall.
- 192-
4. The physical properties of the solid catalyst and thermal well are taken
as constant, since the conditions within the reactor introduce only minor
vartations in these parameters, and the heats of reaction and gas heat
5. Hlavacek ( 1970) has shown that radiation between the solid catalyst and
gas can signifl.cantly affect the temperature dynamics in packed bed sys-
work usually operates well below these conditions, radiation terms are
not explicitly included in the model. However, their effect can to some
It should be noted that the model developed in this analysis may be much more
complex than that necessary for accurate description of the experimental
extensions of the model to other systems and to include additional physical and
chemical processes such as radial velocity variations and the dependence of
The analysis in this thesis centers around the actual reactor bed. Combin-
ing these results with a simple analysis of the external processes, such as the
product recycle and feed-effiuent heat exchanger. allows overall system analysis.
Figure 3.3-2 shows an expanded section of the reactor bed and defines the coor-
7. But not entirely since radiation effects are nonlinearly related to temperature.
- 193-
six differential equations that describe the catalyst, gas, and thermal well tern-
peratures, CO and C02 concentrations, and gas velocity. These are the con-
tinuity equation, three energy balances, and two component mass balances. The
following equations are written in dimensional quantities and are general for
packed bed analyses. Systems without a thermal well can be modeled simply by
letting hu. ht.g. and Ro equal zero and by eliminating the thermal well energy
equation. Adiabatic analysis simply involves setting h.,... and h.,, equal to zero.
=
Z 0 =
PgUg PgoUgo
(3.3-B)
Then for the reactor bed after assuming kzg and krg constant,
(3.3-9)
BT
r=R0 kr8 7jf-= hq(T8 -Tt)
BT
-kr8 ~= h.,..8 (T1 -T..-)
z=O kq,7f:-=
8T
hsg(T -T 8 9) - UgCpfgE(To-T1 )
8T
z=L -kr.g,Tz-= hs,g(T8 -T8 )
- 194-
Note that the convective term in the outlet boundary condition is generally
throughout the ensuing analysis. Also note that the gas heat capacity, cPs·
gas density, p 8 , and gas velocity, u 8 , are functions of position and time due
tion throughout the bed had minimal effects ( < 1%) on these properties.
Using a similar analysis to that for the energy balance of the gas and
(3.3-10)
-kzs ~; = hag(Ts--Tg)
The heats of reaction for the methanation and steam-shift reactions are
- 195-
i =S, M (3.3-11)
(3.3-12)
z=O
z=L
De Wasch and Froment (1971) discuss the calculation of the wall heat
transfer coefficients for the fluid and gas phases based on a lumped wall
heat transfer coefficient. Furthermore, radial heat conduction in the ther-
mal well is neglected since it should be of minor importance for a thin solid
well.
1960)
(3.3-13)
But
BN,e = O
1. Be
thus
If we then incorporate the void fraction and apply the continuity equation
for species i along with Fi.ck's law of diffusion and the assumption of con-
oci _ o(C(ug)
---
Bt
o [c Bx,; + -
- Bz + D21 -Bz Bz
l
a [ Bx,; Rt
Dr -
r or rc Br - e-
l
(3.3-14)
where Rt = Rw-Rs . ~ = Rs .
i:}~
-=0
Br
z=O Ug(Ci 0-c,)
ax..
= -cDzaz
a~
z=L -=0
Bz
- 197-
The rate terms R11 and R5 are taken to be global rates, incorporating all
tional to mole fraction, 0( = CX(, complications arise since the total number
simplify the analysis technique, the mass balances are written using molec-
ular weights and mole fractions based on inlet conditions. Letting obe the
moles of CO reacted in the methanation reaction per total inlet moles,
(3.3-15)
(3.3-16)
(3.3-17)
a [rp --+
D,. -
+- 2pgJCir aoj_ ~Mg
o:Ki .....;....>-<-::-:- (3.3-18)
r ar g ar 1-20 ar £'
z=O
z=L
- 198-
z=O
z=L
Additional relations:
Finally, relationships for density and pressure changes are necessary. The
(3.3-19)
The changes in the pressure along the bed are taken as linear by assuming
across the bed is simply defined by the Ergun equation (Perry and Chilton,
1973)
general modeling presented throughout this thesis may be questionable since its
only use is in evaluating actual velocities Within the reactor bed as intluenced by
the mole, temperature, and pressure changes. Because of the use of mass veloci-
ties (pgug) throughout much of the analyses, the importance of the actual veloci-
are reduced to dimensionless form. The axial parameters are normalized with
respect to the reactor length, L, radial parameters with respect to the outer
radius, R1 , time with respect to the characteristic time L/u80 , and the remaining
parameters with respect to the steady state inlet conditions. The concentra-
tions are actually normalized with respect to the inlet steady state concentra-
tion of CO rather than with respect to each individual component, since some
inlet concentrations (except CO) may be zero during normal experimental con-
ditions.
profiles in the gas, catalyst, and thermal well, the concentration profiles, and
-200-
ditl'erential equations in the time domain. The resulting system can then be
method of orthogonal collocation is used for this reduction, since it has proven
Considerable emphasis has been placed during the past twenty years on
numerical solution techniques for complex nonlinear systems of the types com-
1980) has presented and compared the application of these various techniques
The finite difference method involves dividing the domain up into intervals
with the boundary points between intervals being called the grid or mesh points.
Then for a continuous function across the interval, a Taylor series expansion
can be used to deduce ditrerence formulas for first and second derivatives. If
the ditrerential equations are written at each grid point using the difference for-
mulas and the values at the first and last grid point solve the boundary condi-
tions, enough equations are available to solve for the value of the function at
each grid point and thus provide a representation of the solution. For most
chemical systems. the resulting equations are nonlinear, and accurate solution
requires a large number of grid points. Solution of the system is not trivial but
-201-
can usually be obtained quite rapidly using various standard numerical pro-
the scale of the numerical problem increases dramatically with the number of
spalial dimensions, radial and axial, along with the lime dimension and usually
require a large number of grid points. accurate solution using the finite
difference scheme is often computationally prohibitive and may limit the com-
systems of partial differential equations and is often used in one of its forms to
reduce the computation time from that of the finite difi'erence technique. In the
series of specified trial functions. that are chosen to satisfy the boundary condi-
tions, with unknown coefficients that arc chosen to give the 'best' solution to the
differential equations:
y(x) =~ 0 (x) + t
k~
CA:¥"A:(x) (3.3-22)
These trial functions are substituted into the differential equations, and the
of the particular method, and the weighted residuals are minimized over the
j = 1. 2, ... , N (3.3-23a)
(3.3-23b)
Subdomain Method
The domain is divided up into N subdomains, V;, and the weights are
chosen as
X inVj
X not in Vj
everywhere.
Collocation Method
(3.3-25)
Thus
fv Wj R dV = R l'1<1 (3.3-26)
BR
W·=-- (3.3-27)
J Bcj
The mean square residual is zero for the exact solution, so that, as
gets smaller and the approximate solution approaches the exact solu-
tion.
Galerkin's Jlethod
son (1972),
Method of 'Moments
zero.
All of these methods of weighted residuals have proven to be quite powerful and
equation systems.
for hyperbolic partial differential equations of the form obtained from the
energy balance for the gas and catalyst and the mass balances i! axial disper-
such as orthogonal collocation. The thermal well energy balance would still
tion, the collocation method and in particular the orthogonal collocation tech-
nique described in this section has proven to be quite effective in the solution of
tors. The basic procedure was used by Stewart and Villadsen (1969) for the
layson ( 1970) for studying the transient heat and mass transfer in a catalyst
pellet, and by McGowin and Perlmutter (1971) for local stability analysis of a
nonadiabatic tubular reactor with axial mixing. Finlayson (1971, 1972, 1974)
showed the importance of the orthogonal collocation technique for packed bed
reactors.
Stewart ( 1967) for boundary value problems has the further advantage that the
collocation points are picked optimally and automatically so that the error
decreases much faster as the number of terms increases. The trial functions
are taken as a series of orthogonal polynomials which satisfy the boundary con-
ditions and the roots of the polynomials are taken as the collocation points.
Thus the choice of the trial functions and collocation points is no longer arbi-
trary, and further analysis (Finlayson, 1972) shows that with this choice, low-
arises with this method is that the solution can be derived in terms of its value
at the collocation points, instead of in terms of the coefficients in the trial func-
(3.3-29)
with degree m and order m+l. The coefficients are defined so as to require the
orthogonality condition
b
J. w(x)Pn(x)Pm(x) dx n=O, l, 2, ... , m-1 (3.3-30)
the solution is expanded in terms of orthogonal polynomials with the first term
Var.ious expansions are then possible. The most common and useful are:
-206-
(3.3-31)
YN(X) = ~ y(X-t)"(x)
i=l
Since derivatives are actually expressed in terms of the solution at all of the
grid points in the collocation scheme rather than simply in terms of the neigh-
technique then leads to computer programs that are relatively simple and to
comparison to the number of grid pointR neceRsary for a similar finite difference
solution.
Finite difference methods have traditionally been used for reduction of par-
systems of algebraic equations that can readily be solved using simple numeri-
cal techniques. However in chemical reactors, this method has a major draw-
even 5 grid points are adequate for discretizing the radial direction and 30 grid
points for the axial direction, 9 we have a mesh of 150 grid points. At each grid
point, there are six ordinary differential equations in time. Hence the total
would be 900! Much too large for extensive simulations or for control.
. The method of orthogonal collocation on the other hand has been very sue-
9. Other studies have used up to 20 radial grid points and 10000 axial grid points!
-207-
discretize both the radial and axial dimensions, leaving a manageable set of
The first step in the solution procedure is discretization in the radial direc-
tion. This involves writing the three-dimensional differential equations as a pos-
with the assumed profile identically satisfying the radial boundary conditions.
An examination of experimental measurements (Valstar et al., 1975) and typical
radial profiles (Finlayson, 1971) indicates that radial temperature profiles can
adequately be represented by a quadratic function of radial position. The qua-
dratic representation is preferable to one of higher order since only one interior
(3.3-32)
with the number n of interior radial collocation points taken as one. This profile
must satisfy the boundary conditions and must be exact at the collocation
points r =t;Do. rc• and 1.0, where the interior collocation point rc is selected as
10. Along with two boundary points, there are three collocation points.
-208-
(3.3-33)
with the assumed profile, leads to the coefficients c4(19.() for the gas and tern-
the well. and at the outer wall. Since the objective of radial collocation is to
eliminate the radial derivatives, Equation (3.3-32) is then substituted into the
partial differential equations.
For example, consider the radial temperature profile in the gas. At the
three radial collocation points r = 9'o· rc, and 1.0, let the gas temperatures be
98o, air. and ®g 1 and assume that the radial profile is quadratic:
(3.3-34)
(3.3-35)
where A.trg and A.wrg are the dimensionless radial Biot numbers at the thermal
well and cooling wall. respectively. The profile must also be exact at the three
collocation points:
(3.3-37)
The expressions for c4(1).() in terms of 9~,.. 9t and 9w can be simply obtained by
Since
(3.3-38)
(3.3-39)
where Sg and 0 8 are now the temperatures at the radial collocation point rc, and
inlet steady state values. Similar results are obtained for the energy balance of
the catalyst. Although the solutions of the d.ift'erential equations are then
obtamed for the temperatures at the radial collocation point, the temperature
at any radial point can easily be determined using the radial profile given by
Equation (3.3-34) along with the solutions to Equation (3.3-37) for d,('l).()
presented in Appendix 3.
The radial collocation point is then selected as the zero of the orthogonal
T\Do
r'=-- 0 ~ r' ~ 1 (3.3-40)
l~Do
However, lengthy algebraic manipulations show that the results are identical.
-210-
Nevertheless, it is convenient to use r' to find the radial collocation point, which
is then the zero of the Jacobi polynomial tor a nonsymmetric system between
adequate since application of the zero fiux boundary conditions at r =rp 0 and
r =1.0 leads to d2 = ds =0. Thus a quadratic representation for the concentra-
tion profiles reduces to the assumption of uniform radial concentrations, which
tional radial collocation points greatly increase the dimensionality or the result-
ing model. they may be necessary to accurately express the radial concentra-
tion protlles. Preliminary analysis in this section considers only one interior
radial concentration collocation point. although a detailed analysis of this
assumption is presented in Section 3.4.5. In that analysis, an assumed concen-
tration profile of the same form as Equation (3.3-32) is solved with several inte-
Thus, the original differential equations have been reduced from three-
orthogonal collocation in the radial variable -r. The reduced temperature equa-
tions are a function of the dependent variables at the radial collocation point rc,
but incorporate radial information via the well and wall temperatures. Radial
profiles can be generated Cram the collocation equation using the expressions
equations are functions of the concentrations at each collocation point for mul-
tipoint radial collo~::ation. With one interior collocation point for the concentra-
tion analysis, the system consists of six differential equations describing the
12. The s:in&Je radial collocation point is taken as r' = 0.5 for the methanation system.
-211-
overall continuity, energy balance for the thermal well, energy balance for the
gas and catalyst in terms of conditions at rc, and mass balances for CO and C02.
This shows the incentive for using only one radial collocation point, since the
number of two-dimensional partial differential equations is the same as the ori-
Since the resulting system after radial collocation is still too complex for
direct mathematical solution, the next step in the solution process is discretiza-
tions and are easily solved using traditional techniques. Since the position and
number of points are the only factors affecting the solution obtained by colloca-
tion, any set of linearly independent polynomials may be used as trial functions.
are used here. The ditlerential equations are then collocated at theN zeros, {,t.
at a collocation point and since the residual is set equal to zero at this paint,
the coetlicient of the Lagrangian term is equal to the solution at that point.
13. Since more tha::1 one axial collocation point is generally necessary.
-212-
j =1, 2
(3.3-42)
Since the l.,;(() are known functions based solely on the collocation points, the
Then after operating on the assumed solutions with the differential operators
and substituting into the partial differential equations. the residuals are set
The collocation points are calculated using programs given by Vllladsen and
Michelsen ( 1978) for calculating the zeros of an arbitrary Jacobi polynomial
plf.Bl(x) that satisfies the orthogonality relationship
(3.3-44)
where c, is a constant, t5v is the delta function and a and (3 are chosen based on
the geometry of the system. For the methanation reactor, zeros of Ptf·0 >(z) are
used as collocation points.
are:
(3.3-45)
-213-
.(3.3-46)
:U:a.ss Balances
where
Overall Continuity
(3.3-49)
Note that i = 1, 2.... , N for all of the equations except the last where
i = 1, 2, ... , N+ 1, that the G.>t coefficients are the result of radial collocation and
are presented in Appendix 3, and that all other dimensionless parameters are
defined in Appendix 2. Furthermore, the reaction terms R'll and R's are calcu-
using the gas temperatures and derivatives of the gas temperatures from the
manipulation allows for explicit solution of Vio, eto, etN.f.l' Yio and Y;.:NH' while
solution for @llg, @IIN+t' 9.1o, and 9gN+l requires the SimultaneoUS solution of four
Section 3.7 discusses the model dimensionality in detail. Presently, let it suffice
to say that 6 - 8 axial collocation points are generally sufficient. leading to a sys-
14. i.e., effectively substitut.iiJ8 Equation (3.3-46) into Equation (3.3--49) for d: .
de
-216-
S. S. 5. 4 Numsrical Simulation
steady state or by setting the time derivatives equal to zero in the ordinary
differential equations and then solving the resulting system of 6N+5 algebraic
equations. In the latter technique, solutions for very steep axial profiles often
may be necessary to carry the dynamic solution part way to steady state and
then use its results as an initial guess of the steady state solution.
Due to the large size of the mathematical problem and the complexity of
the nonlinear equations, both dynamic and steady state solutions require
powerful algorithms for the solution of nonlinear algebraic equations and for
erable analysis of various solution algorithms led to the final selection of the
selected techniques fail to converge under certain conditions. but in general are
parameters.
Although the solution of the algebraic equations is relatively simple for the
dynamic simulations. it is extremely difficult for steady state solutions with poor
initial estimates of the solution profiles. Two methods are used in the computer
simulation programs developed in this work for the solution of the systems of
nowitz. 1970) and Brown (1967). Although Brown's algorithm is in most cases
-217-
although the computer programs are written to use either technique, Brown's
algorithm is only used in those cases where Powell's algorithm fails to converge
to an appropriate solution.
where xis the vector of unknowns (x 1 , K2· ... , xJ. F(x) is the sum of squares of
the residuals
F(x) = f:
.t=l
[ft(x)] 2 . (3.3-51)
scent method. The new algorithm retains the fast convergence of the Newton
method but ts modified to take steps along Lhe sLeepe::oL descent direction of
The major difference between this hybrid algorithm and the standard
explicit expressions for the derivatives of the functions, but instead uses succes-
mation to the Jacobian matrix. Note that r.;) is the jth estimate of the solution.
improve convergence for each particular system. One common difficulty with
this algorithm is that the method may converge to a stationary point or F(x),
although this may not be a global minimum. The theory underlying this pro-
cedure, along with examples and a sample Fortran program are given by Powell
(Rabinowitz, 1970).
-218-
In the event that Powell's algorithm fails to obtain a solution to the equa-
sists of
Dynamic solutions of the mathematical model ror the packed bed reactor
also require a powerful method for initial value problems in ordinary differential
(3.3-52)
~= f(x,y(x)) (3.3-53)
nomial determined by the values at each iteration, f"+ 1 • fn, ... .fn--.~: +1· In the par-
Licular routines used in Lhis work, k is taken as three and the predictor-
This method is combined with an automatic control of the step size and uses the
of Runge-Kutta-Gill being used to start the integration process, and the non-
The computer simulation programs developed for this system use modified,
double precision versions of the Caltech library routines MODDEQ, NSESl. and
NSES2 for these algorithms. Combining these techniques with a variable time-
during the approach to steady state. leads to an efficient solution procedure for
obtaining dynamic reactor responses. All programs are written in double preci-
sian and are modular so as to allow for easy modification or use with other reac-
Although the technique described above is useful for simulating the full,
nonlinear ordinary differential equation model, solution times can often be quile
Vax 111780 for a fifteen minute simulation due to the size and nonlinearity of
the system. These ·can be reduced significantly by linearizing the set of ordinary
differential equations around the steady state solution. 15 The linearization is not
15. This of course requi.res the ability to directly solve for the steady state solution.
-220-
lim1ted to only the rate expressions but is performed on the entire differential
where the state vector x includes the solid, gas, and thermal well temperatures,
and CO and C02 concentrations at the collocation points. The control vector u
wall temperature, inlet velocities. inlet gas temperatures, and inlet concentra-
(3.3-56)
j !II •
ro
ro
......
PNIDUCT~
·-...----i-1
Figure 3.3-1
Process Diagram for Experimental Catalytic Reactor
(Source: Strand, 1984}
-222-
0
.,..._....,
I
IR 0
I I
I I
I I
FEED
+
•••••••••••••• •::::::::::::'========:::•r- -
••••••••••••
••••••••••
•••••••••••
-r -- 0
••••••••••••
·:::::::::::. z
~~~~~~~~~~~~~,.,,0~~.::~
••••••••••••
••••••••••••
••••••••••••
:::::::.·::··-·c.•..JJ::::;:;::::;:;:.;:;:;:;::<•
••••••••
•••••••
••••••••••••
••••••••••••
••••••••••••
•••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••••
••••••••••
••••••••••••
••••••••••••
•••••••••••
••••••••••••
..............
••••••••••••• - ----L
Figure 3.3-2
Expanded Section of Reactor Bed
• 223-
the steady state and transient effects of various parameters. operating condi-
into the operation of the system without unnecessary lengthy and often hazard-
ous experiments. Using the fully developed model. specific experiments can be
The steady state and transient effects of various parameters and assump-
tions on the mathematical simulations of the packed bed catalytic reactor are
now examined using the complete mathematical model developed in the last sec-
overall model structure. Note that the importance of this study is not simply in
packed bed reactor modeling. All of the analyses presented in this thesis are
based on numerical solutions of the full, nonlinear model using the methanation
kinetics of Vatcha (1976), although many analytic solutions using the reduced
linear model developed in Section 3.6 and solutions with the methanation kinet-
ics proposed by Strand (1984) were used as verification of the important conclu-
sions.
Unless otherwise stated, all figures presented throughout this and the fol-
(1976), all axial gas and catalyst temperature profiles are at the radial colloca-
-224-
lion point, and all concentration profiles are mole fractions based on the total
based on the kinetic parameters in Table 3.3-3, along with the modeling parame-
ters and operating conditions presented in the next section. The purpose of this
The numerical values of the parameters used for this analysis are based on
published results of other packed bed analyses. Typical values of the major
parameters are shown in Table 3.4-1. The kinetic parameters are given in Table
3.3-3. Unless stated otherwise, these are the parameters used in the prelim-
inary simulations.
Table 3.4-1
Typical Reactor Parameters
-225-
methanation reactor. The void traction must be empirically determined for the
The catalyst used for the preliminary experiments is standard Girdler G-65
methanation catalyst. Its physical properties are shown in Table 3.4-2, which is
reproduced from the specification sheet from United Catalysts Inc. Although
the density of the catalyst is given in the specification sheet, the overall density
should be measured for the specific experimental conditions since the catalyst
is actually crushed substantially for our use. The heat capacity of the catalyst
heat capacities of the individual components of the catalyst and the catalyst
composition. Results of this ana.lysis a.re are shown in Table 3.4-3. Since the
temperatures within the reactor bed should generally remain within 100° K, a
The Lhermo.l well properties are calculated using data for stainless steel
(type 304) from CRC Handbook of Chemistry and Physics (Weast, 1976) and
Chemical Engineers' Handbook (Perry and Chilton, 1973). The heats of reaction
and equilibrium constants for the methanation and steam-shift reactions are
Inc. is shown in ~,igures 3.4-1 and 3.4-2 over the expected temperature range of
heats of reaction and relationships for the equilibrium constants based on van't
Hoff's equations (Equation 3.3-5). Notice that the heats of reaction and the
equilibrium constants for both the mcthanation and steam-shift reactions vary
greatly over the temperature range of interest. Although the use of constant
van't Hoff's equation for the equilibrium constants and linear equations of the
-226-
C..Uiylt l)J141, C.tllyat Type ........... G-e.s EffectMII: Jaroary 25. 1110
form and lla Form .................. Tabt.ta 5u!>lt'MdiiS: January 31, 11J711
---
SIZit • . • . ...........•.. \4" X \4..
PrOCidunt- The tab lot Ia pta cad on lla aida and the lonr plat. It rwiHd to
the tablet with Z&ro pounds pressure on tile gauge. The preuurw is then
tntroasao on tilt t>onom plata until tilt tablet cru•'- and ,,... p..uurw at
breakage ia rweol'ded.
The cruah on • minimum of tnnty·fiVI tablets It obtained anclll'le IWI1'111Je It
taken arlth.,.ticalty.
To prwtrwat tne Nmpt•, Clry tne catalyat 11 400"F lor thfll houra and allow to
COOl.
Cruth St11tngth Range on
Individual Tablets ........•...•....... -40-150
Table 3.4-Z
Girdler G-65 Catalyst Specifications
3.3, these equations were incorporated in the original model. The coefficients
for our experimental conditions calculated using linear regression of the data
mental system are the heat transfer variables and the reaction kinetics.
-227-
Temperature ( 0 K) Cp (cal/ g
1
o K)
550. 0.225
575. 0.228
600. 0.230
625. 0.231
650. 0.232
675. 0.233
700. 0.235
725. 0.237
Table 3.4-3
Temperature Dependence of Catalyst Heat Capacity
Although these need to be estimated from initial experiments for our specific
catalyst and reactor bed (described in Section 4.2), preliminary values from
coefficients are given by De Wasch and Froment (1971) for the solid and gas
numbers in a packed bed reactor are given by Carberry ( 1976) and Mears
(1976). Values for Peclet numbers from 0.5 to 200 were used throughout the
simulations.
For consistency, several sets of typical operating conditions are used for
the simulations presented in this thesis. These are shown m Table 3.4-5 and wtll
peratures. pressures. and fiowrates wtth relatively low inlet CO and H2 concen-
trations and small amounts of inlet CH4 , C0:2. and H20 either from recycle or
from the upstream process when the methanator is being used to cleanup the
conditions for the industrial use of methanation in synthetic natural gas pro-
-228-
Jlethanation Steam-Shift
Table 3.4-4
Coefficients for Equations (3.3-5) and (3.3-12)
duction. Note that the inlet methane concentration is much higher than in Type
1. This large amount of methane significantly reduces the reaction rate. Finally,
only CO and H2 are fed to the reactor. Flowrates and temperatures are rela-
tively low.
Type I Conditions
Type II Conditions
Parameters: = 0.57
1! T0 =573" K Tw=573" K
u& = 75.0 em/sec P= 10 atm
XcH4 =0.60 Xco2 =0.015 Xa 2o =0.02
Inlet Mole Fractions:
Xco =0.06 xa,= 0.19
Table 3.4-5
Typical Operating Conditions
-229-
Steady state axial gas and solid temperature profiles at various radial posi-
tions and concentration profiles for the standard Type I operating conditions
are displayed in Figure 3.4~3, and the corresponding radial temperature profiles
profiles show the mole fractions of CO and C02 based on the total inlet moles.
The definition of these values is the moles of CO or C02 divided by the total inlet
number of moles. This definition is used rather than standard mole fractions in
most situations since the total number of moles decreases rapidly in the bed.
much slower, leads to a slight formation of C02 . Note that the overall conver-
The steady state temperature prot:lles (Figures 3.4-3b and 3.4-4) show that a
'hot spot· is present about half way through the reactor bed and is predominant
near the center of the bed. The presence of such a hot spot is a result of the
cooling jacket and is common in nonadiabatic packed bed reactors. The steady
state temperature profiles show a difference of up to 10" K between the solid and
gas temperatures, and later transient results show differences up to 20" K (lead-
ing to differences of over 20% in the reaction rates), thus providing initial
In the small region near the cooling wall. even the steady state temperature
d.i.fferences between the solid and gas are significant due to the higher heat
transfer between the solid and cooling wall than that between the gas and the
cooling wall. The radial temperature profiles (Figure 3.4-4) also verify the neces-
sity of the radial temperature analysis, since the radial gradients are significant
-230-
throughout the bed. Notice that except near the cooling wall the catalyst tem-
perature is greater than the gas temperature due to the exothermic reaction
The standard Type II operating conditions are much milder and result in
only about 40% CO conversion and much lower reactor temperatures due to the
lower pressure, the larger void fraction, and the large amount of methane in the
feed. Steady state axial temperature and concentration profiles for these condi-
tions are shown in Figure 3.4-5, and the steady state radial temperature profiles
are shown in Figure 3.4-6. Again the temperature differences between the solid
The real power of the model developed in this work is not in steady state
analyses, since this is relatively simple and has been investigated in detail in the
past, but rather in the transient or dynamic simulations necessary for control
design. This model has been used to simulate the effects of various process dis-
turbances and input changes. Under normal reactor operating conditions, step
changes in cooling rates can significantly affect the behavior of the process.
These disLurbances must be understood for optimal system operation and con-
trol.
Figure 3.4-7 shows the effect of a 10% drop in the inlet gas temperature
(from 573" K to 515.7" K) on the axial temperature profiles within the reactor
general. not occur instantaneously, the inlet temperature was actually changed
from its initial to final value in a 0.5 second ramp. The complexities of the
- 231-
resulting reactor profiles are enhanced by the behavior of the cooling system.
Although the inlet gas temperature is reduced, the cooling jacket temperature
remains unchanged (T., = 573" K). Thus the cooling jacket acts as a heating sys-
tem in the early part of the reactor and as a cooling system in the later part,
thus in effect transferring heat from the later stage to the early stage of the
reactor. Figure 3.4-7 also shows that although the inlet gas temperature is
since the hot spot shifts further down the reactor, effectively reducing the cool-
ing region. As expected, the responses of the concentration profiles (not shown)
are much faster than that of the thermal profiles. indicating the possible appli-
cability of the quasi steady state approximation for the concentrations (this will
Figure 3.4-8 shows the axial gas and solid temperature profiles during start-
up operation. Notice that the 'hot spot' in the reactor moves down the bed as
the heat generated from reaction heats up the catalyst particles. Also note the
significant temperature difference between the catalyst and gas in the early part
of the reactor where conversion is rapid. These differences are even more pro-
nounced (over zoo K) near the center of the bed and near the outer wall. 1
Figure 3.4-9 shows the temporal behavior of the catalyst, gas, and thermal
well temperatures at ( == 0.38 and ( = 1.0 for a step change in the cooling fluid
temperature from 573c K to 593° K as would occur through increasing the nitro-
gen pressure in the Dowtherm condenser. This figure exemplifies the slow
response of the catalyst and thermal well temperatures due to their high ther-
mal capacitance. As discussed later, the gas temperature merely follows the
behavior of the solid due to the negligible accumulation of energy in the gas and
the high heat transfer coefficient between the gas and solid. This figure along
1. The profiles shown in Figure 3.4·8 are at the radial collocation point r c·
-232-
with further evidence presented later in this thesis shows that the dynamic
behavior of the reactor is dominated by the catalyst and thermal well thermal
behavior.
of the control complexities of the system. Many of these simulations are shown
in Sections 3.6 and 3.7 and are therefore not reproduced here. Axial tempera-
ling the behavior of the process. Outlet temperatures alone cannot provide ade-
tor bed is to study the effects of various operating conditions on the behavior of
the reactor, thus allowing process optimization and insight into the perfor-
mance of the system under changes in various input parameters. This enables
Figure 3.4-10 shows the effect of the inlet gas temperature on both the
outlet gas temperature and CO conversion for the reversible kinetics given by
Equations (3.3-:) and (3.3-3), and Figure 3.4-11 shows the effects on the steady
state axial gas temperature profiles. As expected. the conversion and the 'hot
under many conditions, the outlet gas temperature is inversely related to inlet
in the outlet gas temperature2 as a result of the shifting of the 'hot spot' down
the bed (see Figure 3.4-7 also). However as shown in Figure 3.4-10, this is not
t:rue throughout the possible operating regimes. Obviously, this behavior can
lead to significant control difficulties it the control design is based on the outlet
The steady state axial concentration profiles for an inlet gas temperature
of 623° K are shown in Figure 3.4-12. As before, the steam-shift reaction leads to
a slight formation of C02 in the early part of the reactor due to the presence of
tion, the steam-shift reaction reverses. Due to the higher temperatures Within
the reactor, the rates for both reactions are much higher than for the standard
Type I conditions.
Figure 3.4-10 also shows the tremendous etiect that the inlet velocity or
flowrate has on conversion and temperatures. Figure 3.4-13 shows the steady
state axial gas temperature profiles at various inlet gas velocities. A sudden
drop in the inlet fiowrate would cause the 'hot spot' to become much more pro-
nounced and to shift towards the entrance of the bed. The lower fiowrates also
Finally, the effects of the inlet CO concentration and cooling fluid tempera-
ture on the CO conversion and outlet gas temperature are shown in Figures 3.4-
temperature 3 increases the conversion and the outlet gas temperature. Not too
surprisingly, the relationship between the outlet gas temperature and cooling
fluid temperature is nearly linear since for these conditions the reaction is
nearly complete in the first half of the reactor and the second half acts as a
3. This would be the result of increasing the nitrogen pres~mre in the Dowtherm condenser.
-234-
pointed out by Jutan et al. (1977), in the only other major dynamic packed bed
reactor study that incorporates radial profiles, radial gradients are important in
industrial processes where wall cooling is required for safety or control. The ori-
plete radial analysis of both the temperature and concentration profiles. How-
ever, explicit solution of the resulting partial differential equation model is not
feasible, and discretization is needed to reduce the model to a form suitable for
The radial discretization must then account for the projected radial
profiles. In the analysis performed in the lasl seclion. one interior radial collo-
cation point was used. This along with the two radial boundary values at the
1975) and typical radial profiles (Finlayson, 1971) for similar reactors indicates
higher order since the dimensionality of the system is minimized through the
not be adequate since application or zero .tlux conditions at the inner thermal
well and outer cooling wall with a quadratic profile reduces to an assumption of
greatly increase the dimensionality of the resulting model, they may be neces-
sary to accurately express the radial concentration profiles. This section con-
siders the problem in detail by comparing simulations with additional radial col-
location.
profiles and a single radial collocation point for the gas and catalyst tempera-
tures. For example, with two interior collocation points, the assumed radial
concentration profile is
(3.4-1)
(3.4-2)
The profile must also be exact at the collocation points, r =t;Q 0 , rc 1 , rc 2 , and 1.0:
0 1 2 3 do 0
0 1 2t;Qo 3t;Q§ dl 0
2 s = (3.4-4)
1 rcl rcl rcl d2 Yir
cl
2
1 rea rc2 r3 da
Ce Y;,r
02
(3.4-5)
(3.4-6)
(3.4-7)
(3.4-8)
These radial collocation solutions are then substituted into the partial
Byt 2
&t =d 1 ~ + 2d~r + 3d3,r
a2y·
.--!....: 2~ + 6d r
1Jr2 ' s,
Bp, = _ M,Pt B@,
(3.4-10)
ar a: ar
Bc5 -o 8yl - By2
ttr = -xco iJr - Xcog 7ir'
CJ2o _ -oB2 Y1 - fPy2
c;r2 - -xco c;r2 -- Xco~ ar2
ae
where tJrg is obtained from the one point radial collocation of the gas tempera-
tures. The concentration equations are then valid at both radial collocation
points rc 1 and rez since the residuals will be zero at these points. The full radial
-237-
through (3.4-9). The energy balances for the gas, catalyst, and thermal well and
manner as before with this larger system of equations. The size of the
that for each additional radial collocation point for the concentrations, the
Simulations were then performed with this model and compared to those
using the earlier model. In the simulations, the bulk concentration can then be
This allows direct comparison with previous simulations. Figure 3.4-16 shows a
comparison of the axial gas temperature and bulk concentration profiles for the
reactor with standard Type I operating conditions using the original model with
no radial concentration gradient (i.e., infinite radial diffusion) and using the new
model with a representative radial mass Peclet number of 2.0 and with a radial
mass Peclet number of oo (i.e., no radial diffusion). Figure 3.4-17 shows a similar
Figure 3.4-18 shows the radial temperature profiles at the reactor outlet.
The radial and axial temperature and bulk concentration profiles are effectively
not influenced by these modeling differences. Figure 3.4-19 shows the radial con-
centration profiles at ( = 0.38 and at the reactor outlet. Even with very high
Peclet numbers, the differences between the radial concentration profile across
-238-
the relatively small bed and the assumed uniform profile are minimal. Definitely
Modeling of the packed bed catalytic reactor under adiabatic operation sim-
ply involves a slight modification of the boundary conditions for the catalyst and
gas energy balances. A zero flux condition should be used at the outer reactor
wall. This can be accomplished us1ng the programs developed in this work sim-
ply by setting the outer wall heat transfer coefficients. hws and hwg (or
tion do not significantly alter any of the conclusions presented throughout thls
work and are often used for verification of worst-case nonadiabatic operation.
Figure 3.4-20 shows the adiabatic steady state temperature and concentration
rise through the bed is more dramatic than in the non-adiabatic case, leading to
much higher conversions through the bed. Due to the lack of any cooling, no
'hot spot' develops and all heat generated by the reaction is removed from the
bed by the product gas, resulting in a very high temperature rise (200° K) within
the bed. Such high temperatures are undesirable since they can significantly
increase catalyst deactivation. Also note that in the adiabatic analysis the tem-
perature difference between the gas and catalyst is negligible. Although the heat
transfer coefficient between the gas and solid are as large as in the nonadiabatic
radial heat transfer through each phase. 4 The results shown in 3.4-20a along
4. The heat tran.s:!'er coefficient from the solid to the outer wall and the radial conduction in the
-239-
with other simulations indicates that a homogeneous analysis of the bed may be
operation due to the higher bad temperatures. Note that the conversion of the
the effects of a central axial thermal well. Although the presence of the well was
found to have little effect on the concentration profiles, it significantly alters the
transient temperature response of the reactor bed, since its large thermal capa-
cllance increases the thermal time constant of the bed. Figure 3.4-21 shows the
radial gas and solid temperature profiles at the reactor exit (z = L) during reac-
tor start-up. As shown, the steady state profiles are similar, although conduc-
tion along the thermal well slightly alters the surrounding gas temperature. The
transient behavior exemplifies the slow response of the thermal well. It can be
seen that the response of the exit temperature profile is rapid without the well,
With steady state being approached in under one minute; whereas, the presence
of the well introduces a finite heat sink into the reactor center that slowly
absorbs some of the heat produced. Over ten minutes are necessary to
approach steady state with an eighth-inch diameter well. This is further seen in
Figure 3.4-22 where the temporal behavior of the catalyst and gas temperature
at the reactor exit are compared With and without the presence of the thermal
well. These figures also show that the temperatures in the reactor center are
higher without the thermal well as would be expected. However, Figure 3.4-23
shows that the well has very little effect on the axial concentration profiles, and
Although the thermal well increases the thermal capacitance of the reactor
bed and reduces the reaction volume, these effects alone cannot account for the
dramatic increase in the thermal time constants of the bed with a thermal well. 6
Whereas the dynamics of the catalyst particle temperatures are very fast due to
the heat generation on the particles from the exothermic reactions. the dynam-
ics of the thermal well temperatures are much slower since the heat is gen-
outer cooling jacket or out of the bed with the gas phase Only a small portion is
transferred to the thermal well and even this through relatively slow mechan-
incorporating even a relatively small well into the modeling and control analysis.
model without a thermal well (i.e .. assuming that the measured temperatures
are the predicted temperatures at the center of the bed) can be dangerous.
allow for simulating systems that do not include central thermal wells. 1n such
this work can be used directly for systems without thermal wells simply by set-
ting the parameters for the well diameter and the thermal well heat transfer
coefficients, hts and htg (or corresponding Biot numbers), equal to zero.
Much work has been focused on the significance of dispersion terms in the
transient material and energy equations for packed bed reactors. In general.
axial diffusion of mass and energy and radial diffusion of mass have been
neglected in comparison with convective terms in most packed bed reactor stu-
dies (Carberry and Wendel, 1963; De Wasch and Froment, 1971; Hlavacek, 1970;
For packed bed reactors, Carberry and Wendel (1963), Hlavacek and Marek
( 1966), and Carberry and Butt ( 1975) report that axial dispersion effects are
negligible if the reactor length is sufficient. These and other researchers (Mears.
1976; Young and Finlayson, 1973) have developed criteria based on the reactor
length for conditions where the axial dispersion can safely be neglected. Since
about 150, just at the limit of most of the published criteria for neglecting axial
neglecting axial mass dispersion should be a safe assumption since the tube
length/pellet diameter for the experimental system is well above the value of 50
inherently eliminated from our model since the one point radial collocation
processes influencing the dynamic and steady state behavior of the system by
-242-
governing the radial fl.ow or energy through the bed to the cooling wall.
Simulations using the full model were then used to study the necessity of
these dispersion effects and to verify some of the common assumptions. A wide
range of Peclet numbers were used in the simulations. The actual values for the
the radial gas Peclet number should range from 5 to 10 and the axial gas Peclet
numbers from 0.5 to 2.0 (Carberry, 1976). For completeness, our simulations
shows that neglecting axial ma~~ difl'u~ion has very little effect on the tempera-
ture and concentration profiles even though the axial gradients are significant.
However, Figure 3.4-25 shows that neglecting the axial thermal dispers10n in the
gas docs affect the solution profiles. The axial temperature profiles are offset
and the concentration profiles are shifted slightly. Further simulations show
Figure 3.4-26 shows that, for standard Type II operating conditions, neglect-
ing the axial thermal dispersion leads to instabilities in the orthogonal colloca-
tion solution with six collocation points. Although the solutions at the colloca-
tion points are similar, neglecting axial dispersion of heat leads to some 'rip-
pling' in the axial temperature profiles. However, the concentration profiles are
time. Obviously, the axial thermal diffusion has a stabilizing effect o'n the numer-
ical solution using orthogonal collocation and actually damps the behavior of
- 2~3-
Finally, Figure 3.4-27 shows the effect of neglecting axial diffusion on the
dynamic simulations of the reactor under start-up operation with Type II condi-
The reduction in solution time for these simulations is minimal nnd in some
cases the elimination of the axial diffusion terms actually increases the solution
time. Simulations show that neglecting the axial dispersion of mass has little
energy may significantly increase computation time and only rarely decreases it
substantially.
Lhe rea.ctor along with the work by Bonvin (1980) shows the necessity of mclud-
ing the thermal diffusion terms. Simulations here verify that the numerical
and that, although minor additional effort may be necessary in the model
some of these terms. Furthermore, simulations verify that the axial dispersion
of mass can usually be neglected. although the inclusion a! these terms in the
terms. The radial dispersion of mass seemingly has little effect on either the
simulated results or solution times and can safely be neglected. This conclus10n
the standard mathematical solution that uses one point radial collocation in
970
-510
'"o -a 950
X ··~- X
"~
z z
8 -520 0
,_ t-
930
u u
a: a:
w w
IT a:
~
~
lJ.._ 910'"'
0 -530 r- lJ.._
0
f-
a:
I
I
f-
u.
w w
I I 890 1-
-540
870
(a) (b)
Figure 3. 4~ 1
Temperature Dependence of Heats of Reaction
(a. Methanation, b. Steam-Shift)
(Source: United Catalysts Inc.)
- 2-±5-
2lJ. 0
20
I·;
-1
I- I-
z z
a: a:
I- I-
(j') 16 (j')
z z
0 0
u u -2
:,;:: I :,;::
::::J
I ::::J
12 I
a: a:
ti:l
I
,1 Cil
_J -3
....J
.:.J I
/ ::I
e
0
w I 0
I.U
z
_J
lJ.
I
,I :z
.....J
-lJ.
QL-----~----~----~--~ -5~----~----~----~--~
0.12 0. 16 z 0.20 0.12 16 o. 2 0.20
1/T (QEG Kl M 10 1/T COEG Kl JoElO
(a) (b)
Figure 3.4-2
Temperature Dependence of Equilibrium Constants
(a. Methanation, b. Steam-Shift)
(Source: United Catalysts Inc.)
-246-
0.1.1 3. 10
"'' o
'o
%
~ 0.3 3.05
(\j
0 D
u u
C02
z z:
0 D
1-
0.2 3.00
1--
u u
cr: a:
a: co cc
LL
LL
LLJ 2.95
.....I
0. 1 LLJ
__j
0 0
:L :L
0.0 2.90
0.0 0.2 0.1.1 0.6 0.8 1.0
AXIAL POSITION, Z/L
(a)
675
650
~
t:J
LLJ
0
625
LLJ
cc
::::>
1-
cr: 600
cc
LLJ
n
:L
w 575
1--
sso~~--~--~--~--~--~--~~~~--~
o.o 0.2 O.Y 0.5 0.8 1.0
AXIAL POSITION. l/L
(b)
Figure 3.4-3
Steady State Axial Profiles
Standard Type I Operating Conditions
675
z = 0.38L
::s:::
650 ----
(._J
w
0
625
z= L
w
a:
:;::)
----
I-
cr: 600
a:
w
o_
L
w 575 z =0
I-
550L---~--~--~----~--~--~--~--~--~--~
0.0 0.2 0.4 0.6 0.8 1.0
RROIRL POSITION. R/Rl
Figure 3. 4-4
Steady State Radial Temperature Profiles
Standard Type 1 Operating Conditions
- - Solid Phase - - - - Gas Phase
-248-
0.8 !. 60
0. 7
"''o
'o ,......
)1:
X 1. 55
C\J
0 0.6 0
u u
z z
0
0
I-
0.5 I. 50
I-
u w
a: a:
a: a:
lJ... O.ll Lt..
lJ.J I. CIS
...J LL.I
_j
0
::£: 0.3 0
::£:
0.2 I. 40
o.o 0.2 0.4 0.6 0.6 1.0
AXIAL POSITION. ZIL
(a.)
650
~
625
r...::l
lJ.J
0
w
a: 600
:::J
f-
rr
a:
lJ.J
CL
:E 575
LiJ
1-
(b)
Figure 3.4-5
Steady State Axial Protiles
Standard Type II Operating Conditions
600
z=o~
=
z 0. 17L
w
----
a:
::J
1-
a: z = 0
a: 575
w
CL
::E
w
1-
550~--~--~---L---L--~--~~--L---~--~--~
0.0 0.2 0.4 0.6 0.8 1.0
RRDIRL P~SITI~N. R/Rl
Figure 3.4-6
Steady State Radial Temperature Profiles
Standard Type II Operating Conditions
- - Solid Phase - - - - Gas Phase
-250-
675
::X:: 650
l:)
w 625
0
w
a:: 600
::J
I-
cr:
a:: 575
w
(L
:E
w 550
I-
c.n
cr: 525
l:)
500
o.o 0.2 O.l.l 0.6 0.8 1.0
AXIAL PClSITIClN, 2/L
Figure 3.4-7
Disturbance (10% drop in Inlet Gas Temperature) Analysis
Transient Axial Temperature Profiles
Standard Type I Operating Conditions
-251-
650
~
c._:)
w
0
w
a:
:::::>
t- 600
a:
a:
w
0...
::E
w
t-
550L---~--L---~--~--~--~--~---L---L--~
0.0 0.2 O.l! .0.6 0.8 1.0
AXIAL POSITION, Z/L
Figure 3.4-8
Axial Gas and Catalyst Temperatures during Start-up
Standard Type I Operating Conditions
- - Solid Phase - - - - Gas Phase
-252-
z =l - -- - - - -
w
- ______
- - - - - - - -_-
/
a: 625 ......
::::> /
_.:::,___
1-
a:
,....,.--....
a: '// ,; ,. z = 0.38L
w /
/'
Q_
L
w
1-
600~~~--~-L~--~-L--L-~~--L--L--~J-_J
Figure 3. 4~9
Temperatures A!ter an Input Step Change
Standard Type II Operating Conditions
(Tw from 573° K to 593° K)
Solid Phase - - - Gas Phase ---- Thermal Well
-253-
650 100
,.,...-...--
645 ./"""" / 90
ug = /
/ /
/
640 / /u
/ /
9
= 100 80
::t:: / /
L:)
w
635 / /
a / /
70
w 630
/ /
,...,
;;-..:
/
a: / 60
:::::> z
1-
a: 625 / 0
........
a: / {f)
w 50 a:
a_
:E
620
/ w
>
w / z
1- 0
(f')
40 u
a: 615 u = 75
L:) g 0
u
1- 30
LLl
.....) 610
1-
:::::>
0 20
605
600 10
595 0
400 450 SOD 550 600 650
INLET GRS TEMPERATURE lDEG Kl
Figura 3.4-10
Effects of Inlet Gas Temperature
Standard Type I Operating Conditions
- Outlet Gas Temperature
- - - CO Conversion
750
:X::
(.!)
700
w
Cl
w 650
0::
=:l
1-
a:
a: 600
w
a...
:E
w
1-
(f)
550
a:
(.!)
500
0.0 0.2 0.1! 0.6 0.8 1.0
AXIAL PCl5ITIClN, Z/L
Figure 3.4-11
Effects of Inlet Gas Temperature
Steady State Axial Temperature Profiles
Standard Type I Operating Conditions
-255-
0.4 3.05
-' o 3.03
N
'o
......
X
X 0.3
C\J
0
u 0
u
z 3.01
0
z:
....... 0
0.2
1-
1-
u u
cr: 2.99 cr:
0:: 0::
l..!....
LL..
w co
.....J
0. 1 w
2.97 .....J
0
0
L: L:
0.0 2.95
0.0 0.2 o.tt 0.6 O.B 1.0
AXIAL POSITION. Z/L
Figure 3.4-12
Axial Steady State Concentration Profiles for Tc = 623° K
Standard Type I Operating Conditions
-256-
700
~
675
<..:::)
w
a
650
w
a:
:::>
1- 625
a:
a:
w
Q_
L 600
w
1-
(f)
a: 575
(.!)
550
0.0 0.2 0.1! 0.6 0.8 1.0
AXIAL POSITION. Z/l
Figure 3.4-13
Effects of Inlet Gas Velocity
Steady State Axial Gas Temperature Profiles
Standard Type I Operating Conditions
-257-
675 100
/
/ ------ 95
:::s:::
/
650
c._:)
/
w
Cl
I 90
I ;-...::
w
a: I 85
::;:::)
r-
a:
625
I z
D
a:
w I
I .......
(f)
CL
8U a:
~
w
w >
r- z
600 0
(f) 75 u
a: D
c._:)
u
r-
w 70
......J
r- 575
::::?
D
65
sso~--~------~----~--~----~----~--~----~60
o.oo 0.02 0.0~ 0.06 0.06
INLET CD MOLE FRACTION
Figure 3.4-14
Effects of Inlet CO Concentration
Standard Type I Operating Conditions
- Outlet Gas Temperature
- - - CO Conversion
-258
675 100
:X::
c..::>
650
/
/
/
/
-- --- 95
w 90
c::l /
/ ~
w /
a: 85
::::)
I-
625 / :z
cc / D
a: .......
(./)
w 80 0::
(L
::L w
w >
1- :z
600 D
(./) 75 u
cc D
c..::>
u
I-
w 70
_j
I-
::::)
575
D
65
550 60
500 550 600 650
CDDLING FLUID TEMPERATURE WEG K)
Figure 3.4-15
Effects or Cooling Fluid Temperature
Standard Type I Operating Conditions
- Outlet Gas Temperature
- - - CO Conversion
-259-
L::l
w 625
0
w
a:
:::l
1-- 600
a::
a:
w
a...
:r
w
I- 575
550~--L-~~~--~--~--~--~--~--~--~
0.0 0.2 0.4 0.6 0.8 1.0
AXIAL POSITION, Z/L
(a)
...
'o 'o
3.05
D
w
z co
D
z
D
1--
1--
w w
a: a:
a: a:
l.1..
l.l...
0. 1 2.95 w
_j
D
:I:
O.OL-~~~--~--~--~--~--~--~--~--~2.90
0.0 0.2 0.4 0.6 0.8 1.0
AXIAL POSITION, Z/L
(b)
Figure 3.4-16
Multipoint Radial Concentration Collocation
Axial Gas Temperatures and Bulk Concentration Profiles
Standard Type I Operating Conditions
650
::.::::
L'J
w 625
0
w
a:
::::J
1- GOO
a:
a:
w
CL
:I:
w
1- 575
(/)
a:
L'J
550
0.0 0.2 O.ll 0.6 0.8 1.0
RXlRL POSITIClN, l/L
(a)
0. 10
N
'o
0.08 X
0 1. 55
w N
C0 2 0
z =--~ w
0 0.06
1-
z
0
w J. 50
a: 1-
a: (_)
iJ_ O.Oll a:
w a:
iJ_
.....J
0 !.liS w
:t:: .....J
0.02 0
:t::
0.00 l.l!O
o.o 0.2 O.ll 0.6 0.8 1.0
AXIAL PeJS IT I CJN, Z/L
(b)
Figure 3.4-17
Multipoint Radial Concentration Collocation
Axial Gas Temperatures and Bulk Concentration Profiles
Standard Type II Operating Conditions
620
610
w
a: 600
:::::>
f-
a:
a: 590
l.i..J
0...
:L:
w
t- 580
570~--~--~--~--~--~--~~--L---~--~--~
0.0 0.2 O,ij 0.6 0.8 1.0
RADIAL POSITION, R/Rl
Figure 3.4-18
Multipoint Radial Concentration Collocation
Radial Gas and Catalyst Temperature Profiles at Reactor Outlet
Standard Type II Operating Conditions
0.60 T l
Figure 3.4-19
Multipoinl Radial Concentration Collocation
Radial Concentration Profiles
Standard Type I Operating Conditions
750
::.:::
t.:)
w
Cl
700
w
a:
:::>
t-
a:: 650
a:
w
0....
:r:
I.I.J 600
t-
550
0.0 0.2 0.1! 0.6 0.6 1.0
AXIAL PDSITIClN, Z/L
(a)
O.ij
N
"io 'o
J: 0.3 :c:
3.05
(\J
0
u 0
u
--
z C0 2
0 z
0
0.2 3.00
t·
u
""'- ............ 1-
u
a:: '\
a: co
----~ a::
a:
1.!...
w
"""" ""'
1.!...
~
_J o. 1 2.95 w
_J
0
:r: 0
"'-..
-- --
X:
o. 0.
' ""'
- 2.90
0.0 0.2 O.ij 0.6 0.6 1.0
AXIAL POSITION, ZIL
(b)
Figure 3.4-20
Adiabatic Steady State Axial Profiles
Standard Type I Operating Conditions
a) Temperatures ( - Catalyst - ..... - Gas)
b) CO and C02 Concentrations(~~ Nonadiabatic - - - Adiabatic)
-264-
630
Lso, 100, steady state
X:
620
L:l
w
- -
Cl 610
-r------
a: 600
~
1--
25
a::
a: 590 -~
w
ll...
:L
w
I-
570
560~--~--~--~--~--~--~--~--~--~~
0.0 0.2 0.4 0.6 0.8 1.0
RADIAL POSITION, R/Rl
(a)
w
cc 600
:J
1-- 25
a::
a: 590 ~-;--.. 10 s;;---- _
w --__;;::.-=---..._.,.'='---
~.. 10 sec
ll...
::E 580
w
I-
570
560~--~--~--~--~--~--~--~--~--._~
0.0 0.2 0.4 0.6 0.8 1.0
RADIAL PDSITIDN, R/Rl
(b)
Figure 3.4-21
Effect of Thermal Well on Transient Radial Temperature Profiles
Standard Type II Operating Conditions
- - . 1/B"Thermal Well - - - No Thermal Well
a) Gas Temperatures
b) Solid Temperatures
-265-
625
--------
/"" --------
~
'l
I.J...I
a: 600 ~
=:>
f-
a:
a:
w
a_
:E 575
I.J...I
t-
550~--~--~--~--~--~--~--~--~--~--~
0 20 40 50 80 100
TIME (SECl
Figure 3 4-22
Dynamic Behavior of Exit Temperatures
Standard Type II Operating Conditions
- - 1/8" Thermal Well - - - No Thermal Well
-266-
0.8 1. 60
... N
'o
'o 0. 7
....... X
X 1. 55
(\J
D D
u 0.6
u
z z
D Q
....... 0.5 1. 50
1-- I-
u u
cr: cr:
a: a:
LL 0.4 LL
w 1.1.!5 w
_J _J
D
-··~1."0
0.3 D
::L: L
_____ j __
0.2
0.0 0.2 O.ll 0.6 0.8 1.0
AXIAL PCJSITICJN, Z/L
Figure 3. 4-23
Steady State Axial Concentration Profiles
Standard Type II Operating Conditions
- - 1/B"Thermal Well - - - No Thermal Well
-267-
w
a:
~
t-
o:
a:
w
Q_
~
w
t-
U1
a:
~
550
0.0 0.2 0.4 0.6 0.8 1.0
RXIRL PClSITIClN, Z/L
(a)
0.4 3. 10
'o "''o
X
X 0.3 3.05
(\J
D
w D
w
:z C0 2
D :z
D
t-
0.2 3.00
w t-
a: w
a: co a:
LL a:
LL
w 0. 1 2.95 w
...J
D ...J
~
D
~
o.o~--~~--~--~--~--~--~---L--~--~2.90
0.0 0.2 0.4 0.6 0.6 1.0
AXIAL PCJSITIDN, Z/L
(b)
Figure 3.4~24
Steady State Axial Profiles - Neglecting Axial Mass Diffusion
Standard Type I Operating Conditions
Original Model No Axial Mass Diffusion
a) Gas Temperature
b) CO and C02 Concentrations
-268-
l.:)
w
a
w
a:
::J
t--
a::
a:
w
a...
::t
w
t--
lf)
a:
l.:)
550
0.0 0.2 0.4 0.6 0.8 1.0
AXIAL POSITION, Z/L
(a)
0.16 3. 10
"'' o
'a
X
X 0.3 3.05
(\J
0 0
w w
z z
0 Q
0.2 3.00
t-- t--
w w
a: a:
a: a:
LL LL
w 0. l 2.95 I.J.J
_..J _..J
0 0
:i:: z:
0.0 2.90
o.o 0.2 O.ll 0.6 a. a 1.0
AXIAL POSITION, Z/L
(b)
Figure 3.4-25
Steady Stale Axial Profiles -Neglecting Axial Heat Diffusion
Standard Type I Operating Conditions
Original Model No Axial Heat Di1fusion
a) Gas Temperature
b) CO and C02 Concentrations
-269-
600
I.J..J
a:
:::>
t-
a:
cr:
I.J..J
CL
::L 575
UJ
t-
U'"l
a:
~
550
0.0 0.2 O.ll 0.6 0.8 1.0
RXIRL P~SITI~N. Z/L
(a)
0.8 I. 60
"''o
'o...... 0. 7
X
X 1. 55
("\J
C)
u 0.6 D
u
:z z:
C)
C)
t-
0.5 1. so
t-
u u
a: a:
cr: cr:
lJ._ O.ll lJ._
I.J..J
....J
l.ll5 I.J..J
D ....J
C)
::L 0.3 ::L
0.2 1. LID
0.0 0.2 O.ll 0.6 0.8 1.0
AXIAL POSITION, Z/L
(b)
Figure 3.4-26
Steady State Axial Profiles - Neglecting Axial Heat Diffusion
Standard Type II Operating Conditions
Original Model No Axial Heat Ditl'usion
a) Gas Temperature
b) CO and C02 Concentrations
-270-
625
:l::::
<..:)
w
0
600
w
cr.::
::;::)
1- t = 10 sec
a:
a:
u..l
a_
~
575
I..L...I
1-
(f)
cr:
<..:)
550
0.0 0.2 0.1! 0.6 0.8 1.0
AXIAL PCJSITICJN. Z/L
Figure 3.4-Z7
Dynamic Start-up Simulations - Neglecting Axial Heat Diffusion
Standard Type II Operating Conditions
- - Original Model - - - No Axial Heat Diffusion
-271-
The reaction rate expression for the methanation reaction, Equation (3.3-
1), used throughout much of this work is based on empirical work by Lee (1973)
and Yatcha ( 1976). This expression, along with the rate equation. Equation (3.3-
3), for the steam-shift reaction given by Moe (1962) provides valuable insight
into the modeling of multiple reaction systems. Both reactions are reversible
and are described by complex nonlinear rate expressions. Due to the reversibil-
ity of the reactions and the equilibrium constraints included in the rate expres-
sions, severe temperature and concentration profiles are generally not observed.
The orthogonal collocation procedure used for the numerical solution of the
resulting mathematical model shows very little numerical instability and allows
for rapid solution of even the most difficult profiles simply by increasing the
confined to a very small region where the solution profile changes rapidly. The
collocation points may be needed so that enough are plac.ed within this region to
changes, since the technique requires fitting a single polynomial to the entire
profile. Under such cases, although the solution will be exact at the collocation
points, significant oscillations in the profile are observed, and the obvious choice
separately using first and second derivative matching conditions on the bound-
272-
then possible even under extremely steep gradients simply by increasing the
number of grid points. However, this technique can easily become numerically
ical system. A compromise between the orthogonal collocation (OC) and finite
dl.1.':ference techniques has been proposed by Carey and Finlayson (1975). This
Although most or the preliminary analyses in this modeling work used the
rate expressions by Lee ( 1973), Moe ( 1962), and Vatcha ( 1976). all significant
conclusions were verified using the rate expression of Strand ( 1984) and ignor-
ing the steam-shlft reaction. An important difference between the two kinetic
determined by Strand (1984) are much faster than that proposed by Vatcha
( 1976) and can lead to rapid complete conversion Within the reactor bed. For
such kinetics, the numerical solution procedure described in Section 3.3.5 can
the new kinetics often requires excellent initial estimates, and in many cases
even then has numerical convergence difficulties. This is often due to the rapid
complete reaction of the carbon monoxide early in the reactor bed leading to
tration profiles when the CO is depleted, and a linear concentration profile after
Finlayson ( 1980) used the OCFE procedure for several examples with
pellet and transient convective diffusion. His analysis of the orthogonal colloca-
tion method, the finite difference method, and the orthogonal collocation on
finite elements scheme for these and other chemical systems shows that the
"orthogonal collocation method is by far and away the best method" except for
systems with sharp profiles. The OCFE technique is then preferred. Finlayson
problems using OCFE are rare, due to the complexity of the procedure. T.b.is sec-
tion provides the first complete OCFE analysis of a packed bed reactor along
which is defined over the entire range 0 :S ~ :S 1, as a trial function for the axial
may be advantageous to use trial functions that are defined over only part of
over the entire domain. Using such a procedure, smaller regions can be used
near the location of the steep gradient. The OCFE technique involves using
performed using the Galerkin method within each element. Howeve!' for non-
Two major forms of the OCFE procedure are common and differ only in the
trial functions used. One uses the Lagrangian functions and adds conditions to
make the first derivatives continuous across the element boundaries, and the
resulting system of equations occur using both types of trial functions, and per-
sonal preference must then dictate which is to be used. The final equations that
need to be integrated after application of the OCFE method in the axial dimen-
Using Hermite interpolation Within the elements, the C matrix is not diago-
easily because of this nondiagonal matrix, and most integration packages are
also not suitable for such a system. However using Lagrangian functions Within
the elements, the continuity and boundary conditions have no time derivatives,
and the C matrix in the above equation is diagonal with nonzero elements
representing a residual and zero diagonal elements for the algebraic conditions.
Most standard integration packages are also not suitable for mixed systems of
algebraic and ditlerential equations. However, our computer programs for the
systems. Thus the Lagrangian functions are used in this OCFE analysis.
work allow general. specification of the number of finite elements and ~he degree
over prior analyses where the same degree of collocation was often used within
-275 ~
each element. The entire domain is divided as shown in Figure 3.5-1. Within
functions. The residual is evaluated at the internal collocation points. Using the
or fluxes between elements. In our analysis, we use the continuity of the first
the solution has continuous derivatives throughout the domain. With the addi-
so that the variable u is between zero and one in the element. 1 Redefining the
dard orthogonal collocation within each element. Figure 3.5-2 illustrates the
k, and Mh as Nk + 2, the relation between the global numbering i ,j and the local
numbering I ,J is given by
i = [kJ~-1 (Ni + 1)
=1
l+I
(3.5-3)
Zi =Z(A:) + UJh.t
Then starting from the most general form of the dimensionless equations
after the one point radial collocation, we can apply the OCFE procedUre. As an
1. Note that z in this expression is the normalized axial coordinate (equivalent to t).
-276 ~
(3.5-4)
z=O
z=l
All temperatures in this equation are in terms of the conditions at the radial
collocation point.
Then for k = 1 to NE
Z = Z(.t:) + uh.t (3.5-5)
(3.5-7)
A dl;(u)
- _...;.....:._:....
du
j
ii
l
I.J-
(3.5-8)
B - d2l;(u)
I.J- duz ~
(3.3-9)
ments so that the first derivative of the solution is continuous in the entire
domain 0 ~ t~ 1:
(3.5-10)
The system boundary conditions then only a*!ect the first and last elements:
ll
h ~ Al,J 9s1 = Agzs(911 1 -9g1)
1 .1=1
11 (3.5-11)
h NE
f
J'"'l
ANE.J 9a1 = Agzs(9g:w:
NE
-9SJ4 )
NE
This same analysis is then performed for the energy balance for the gas,
the energy balance for the thermal well, the two mass balances, and the con-
tinuity equation. The final coupled system of algebraic and differential equa-
tions is shown in Appendix 5, along with computer programs for steady state
(3.5-12)
The techniques used for the solution of this system are similar to those
used previously with the orthogonal collocation analysis. The majol'- complica-
tions are the potentially large number of resulting equations 2 and possible con-
z. Depending on the number of elements and number of interior collocation points per element.
-278-
gives identical results to those that would be obtained using Hermite polynomi-
als since on each element we use orthogonal polynomials of the same order,
since the boundary conditions are satisfied by both solutions, since the residu-
als are evaluated at the same points, and since the first derivatives are continu-
ous across the element boundaries. The only preference for one over the other
is for convenience. The Lagrangian formulation, however, has the added advan-
tage of being applicable in situations where the flux is continuous across the ele-
ment boundaries but the the first derivative is discontinuous. This can occur if
tion points. This point carries through to the OCFE technique; however, in this
procedure, you must also specify the number and position of the elements.
Several means for this are available. The simplest involves preliminary solutions
gives a basis for this study in a cursory examination of variable grid spacing and
based on physical information about the solution profile such as the point
-279-
approaches are also discussed by Carey and Finlayson ( 1975) and Finlayson
( 1980). The first is based on the solution residuals. Although the residual is
zero at the collocation points when using orthogonal collocation or OCFE, it can
residual is evaluated throughout the interval 0 :S;; ( :S;; 1. Ferguson and Finlayson
( 1972) and Carey and Finlayson ( 1975) show that the error in the solution is
bounded by the mean square residual. Since we want the residual to be small
everywhere, we can locate the elements to make the residuals approach zero
work by Ascher et al. ( 1979) and Russel and Christiansen ( 1978). These are not
discussed here since the above techniques are used in this thesiS.
A large number of steady state simulations were performed us~ this OCFE
necessity of the technique for packed bed reactor modeling. Using the original
rate expressions of Lee (1973), Moe (1962), and Vatcha (1976), there is no major
~ 280-
necessity of the OCFE procedure since even for conditions With very steep
analysis.:!! Due to the reversibility of the kinetics and the relatively low activation
energy. the profiles remain relatively smooth Without any abrupt changes or
sharp transitions.
these kinetics With standard Type III (Table 3.4-5) operating conditions and With
the parameters shown in Tables 3.4~1 and 3.3-4 along With the exceptions Usg =
8.50, kow = 25.1, and Ea11 = 7000. Figure 3.5-4 shows a comparison of the steady
state axial temperature profiles using both orthogonal collocation (OC) and
nal collocation solution With six collocation points are completely eliminated by
selection of the elements and order of collocation within the elements. The
major difference then between the OC solution with 12 interior collocation
points and the OCFE solution with three elements and only 10 interior colloca-
tion points (plus two interior element boundaries) is the solution time. The
OCFE steady state solution took almost exactly twice as long (123 seconds
3. Figures 3.4-26b and 3.4-20b show simulations 1lll'i.ng orthogonal collocation with possible numeri-
cal difficulties.
-281-
This is the non-trivial problem of optimal selection of the number and position
of finite elements. Figure 3.5~5 shows a comparison of the OCFE steady state
axial temperature profiles for the conditions of Figure 3.5·3 with three elements
of length 0.15, 0.70, and 0.15 with N 1 =2, N =5, and N =3 and with three ele-
2 3
these finite element schemes are only slightly different, the resulting solution is
A final example shows the real power of the OCFE procedure. Figures 3.5-6
and 3.5-7 show 'best' solutions obtained using orthogonal collocation and OCFE
for the steady state axial temperature and concentration profiles for the non-
reversible kinetics where the reaction is extremely rapid With complete conver-
sion early in the reactor bed. These conditions are identical to those in Figures
3.5-:1 t.n 3 5-5 P.xcept that. the reaction rate is twice as large (k 011 =50.2). As we
would expect, the profiles are very sharp, and there is an abrupt change in the
and still show significant numerical problems in both the temperature and con-
centration profiles. The use of more or less collocation points increases the
The solutions using the OCFE procedure show dramatic differences in the
solulion was obtained using two elements of length 0.4 and 0.6 with N1 = 5 and
N2 = 1 or a total of only six interior collocation points and one interior bound-
ary point. These OCFE axial profiles are much sharper than those predicted by
~ 282-
through the entire region. Figures 3.5-6 and 3.5-7 show the locations of the col-
location points for both schemes. Grouping the collocation points around the
region of sharp profile changes in the OCFE procedure allows more accurate
the number of grid points around a sharp transition when using standard finite
element techniques.
the abrupt concentration profile change where the reaction reaches completion
with only a single collocation point being necessary in the final element. while
the orthogonal collocation procedure shows significant error in the protlles even
in either element for the OCFE solution has no significant beneficial effect on the
axial profiles and can introduce oscillations in the first element as shown in Fig-
ure 3.5-8. Increasing the number of elements without using sufficient interior
collocation points or misplacing the elements can lead to very strange results
(Figure 3.5-9 and 3.5-10) due to the individual polynomial representations and
Table 3.5-1 summarizes the steady state solution times and qualitative
behavior of the resulting axial profiles for a variety of solution schemes. Notice
that the solution times increase rapidly as the number or collocation points is
increased with both solution techniques. The numerical computation times for
the orthogonal collocation and OCFE solutions shown in Figures 3.5-6 and 3.5-7
are 11.3 minutes and 1.5 minutes, respectively, thus providing further evidence
Based on these and other simulations along with those by Finlayson (1974),
we can conclude that. tor chemical packed bed reactor modeling, orthogonal
times. However if steep gradients or abrupt profile changes occur within the
reactor bed due to extremely fast kinetics or complete conversion of the limit-
ing component, OCFE may be more accurate and faster than simple orthogonal
Otherwise, the programs can be written only for orthogonal collocation. The
computer programs in Appendix 5 are written for OCFE but allow orthogonal col-
location simulation simply by letting NE equal one.
6 4:54 Ba.d.
7 5:28 Bad
oc 8 6:07 Bad
10 11:20 Bad
12 14:06 Bad
5, 1 1:33 Excellent
e. 1 1;18 Slight OscillaLion
7, 1 2:19 Slight Oscillation
5,2 4:51 Excellent
0.4, 0.6 5,3 6:27 Excellent
5,5 11:28 Excellent
OCFE 4, 3 5:44 Excellent
3, 3 4:19 Bad
0.15, 0.25, 0.60 1, 5. 1 2:15 Fair
2,5, 2 14:01 Fair
0.15, 0.20, 0.65 3, 5, 2 17:04 Bad
0,15, 0.15, 0.70 4 5,3 15:27 Bad
Table 3.5-1
OC and OCFE Solutions tor Conditions in Figure 3.5-8
-284-
ELEMENT BOUNDARIES
/ \ \
:.-h·-:1. • • .c h·~
i=l 2 3 4~ 6 7 6
•
.'
Figure 3.1:>-1
Orthogonal Collocation on Finite Elements
Global Numbering System
/ELEMENT .t
I • • • • I
I= 1 2 3
u=O
Figure 3. 5-2
Orthogonal Collocation on Finite Elements
Local Numbering System
-285-
650
t.::J
LLJ
0
600
LLJ
a:
::J
1-
a:
a:
LLJ 550
a_
:L
LLJ
1-
r.n
cr: 500
L::>
Figure 3.5-3
Orthogonal Collocation Axial Temperature Profiles
Standard Type III (Table 3.4-5) Conditions
Non-Reversible Kinetics (Usg=B.5. k 0 m=25.1. Eell=7000)
650
:X::
<..:)
lJ.J
0
600
lJ.J
a:
::::l
1-
a:
a:
lJ.J 550
0..
:r
lJ.J
1-
If)
a: 500
<..:)
Figure 3.5-4
Axial Temperature Profiles
Same Conditions as Figure 3.5-3
650
600
IJ...J
a:
:=J
1-
a:
a:
IJ...J 550
a...
~
IJ...J
1-
(f)
a: 500
t.:J
Figure 3.5~5
Axial Temperature Profiles
Same Conditions as Figure 3.5-3
725
• Collocation Points
700
:X:
675
1..:)
I..L.J
a sso
U,.j 625
a:
::::>
1- 600
a:
a: 575
I..L.J
Q..
::£:
I..L.J
1-
(J")
525
a:
t.:)
500 Element Elemtflt 2
475
o.o 0.2 0.4 0.6 0.8 1.0
AXIAL POSITION. Z/L
(a)
725
• Collocation Points
700
:s::
1..:)
675
I..L.J
Cl 650
I..L.J 625
a:
::::l
1- 600
a:
a: 575
w
Q..
z: 550
w
1-
(J")
525
a:
t.:)
500
475
o.o 0.2 Q,lj 0.6 0.8 1.0
AXIAL POSITION. Z/L
(b)
Figure 3.5-6
Axial Temperature Profiles
Same Conditions as Figure 3.5~5 except Double the Reaction Rate (knu:=50.2)
• Collocation Points
-
'a
0.5
IE---EIIImenl 1---+!~--- Eklmenl 2----~
X
0.1!
0
u
::z:
0
1-
u 0.2
a:
a:
LL.
o. l
0.0
-o.t~--~--L---L---L---L---~--~--~--L-~
0.0 0.2 0.1! 0.6 O.B 1.0
RXIRL POSITION. Z/L
(a)
0.6
·"' 0.1!
Cl
u
z 0.3
0
1-
u 0.2
a:
a::
lJ...
LW
0.1
-'
Cl
:J:
0.0 ----------- -
-0.1~-L---L---.L---~--L---L---L---~--~__J
0.0 0.2 0.4 0.6 0.6 1.0
AXIAL POSITION, Z/L
(b)
Figure 3.5-7
Axial Concentration Profiles
Same Conditions as Figure 3.5-6
725
700
X:
675
t.:l
w
0 650
w 625
a:
::::>
1- 600
c;;
a: 575
w
a_
:1:
llJ 550
1-
(f)
525
a:
t.:l sao --~..t.E----Etem.,..t 2----~
Y75
0.0 0.2 O.ij 0.6 0.8 1.0
AXIAL POSITION. Z/L
(a)
0.6
io 0.5
----li•:+-----Eiement 2 ----~
X
0.14
0
u
z 0.3
0
I-
u 0.2
a:
a:
u._
w 0. I
_J
0
:I:
0.0
-0.1
0.0 0.2 o.Y o.s o.e 1.0
AXIAL POSITION. l/L
(b)
Figure 3.5-8
Axial OCFE Temperature and Concentration Profiles
Two Elements of Length 0.4 and 0.6
Same Conditions as Figure 3.5-6
• Collocation Points
~ 0.3
1-
u 0.2
a:
a:
1.1....
w o. 1
.....J
D
:.E o.o
-0.1~--._--~ ___.__~----~--~--~--~-~--~
0.0 o.~ o.ij o.s 0.8 1.0
AXIAL POSITION, 2/L
Figure 3. 5-9
Axial OCFE Concentration Profiles
Same Conditions as Figure 3.5-6
hl=O.l5, h 2=0.20, hs=0.65; N1=3, N2=6, N3 =2
-292-
750
725 • Collocation Points
X:
700
(..!)
LLJ 675
Cl
650
LI.J
a:: 625
=>
1-
a: 600
a::
LLJ
0.. 575
::1:
I
LI.J 550 I
1- I
I
U1 525 I
rr I
<..::l I
500 Elemtnt ~Element
I
E:lt-13
1
I
l!75
0.0 0.2 0.'-t 0.6 O.B 1.0
AXIAL POSITION. Z/L
F~ure 3.5-10
Axial OCFE Gas Temperature Profiles
Same Conditions as Figure 3.5-6
h 1=0.15, ~=0.25, hs=0.60; N1=l. N2=S, Ns=l
-293-
within the reactor have used orthogonal collocation (OC) or orthogonal colloca-
tion on finite elements (OCFE) to replace the full distributed parameter system
with a lumped approximation that allows simulation of the steady state and
dynamic behavior of the packed bed catalytic reactor. Rather than making
major simplifications a. priori, the system analysis and numerical lumping used
ties generally available for on-line control cannot currently perform the neces-
sary calculations rapidly enough for practical control applications with the full,
dynamic simulations with this model even make detailed parameter studies and
process optimization impractical using the full model. Thus a simplified lower-
order model is desired for on·line multivariable control and for process studies.
reduced to fit into the framework of modern multivariable control theory, which
where x(t), u(t), d(t), and y(t) are the state, control. disturbance, and measure-
desired and is discussed in Section 3.7. Once the dynamic equations have been
transformed to the standard state-space form and the model parameters are
control schemes, or the reduced model can be used for detailed process simula-
tic form of Equation (3.6-1). For control applications, modeling and measure-
ment errors, reduction inaccuracies, and noise in the system may need to be
the equations:
where 1(t) is a vector of random process noise and 7'](t) is a vector or random
all of the disturbances or noises in the process not accounted for by the deter-
in cooling wall temperature, and in heat transfer coefficients and can lead to
ble control and expected disturbance variables need to be identified. In the fol-
lowing analysis, we will treat the control and disturbance variables identically to
Ww(t) = Bu(t) + Dd(t). This model can then be used for process simulations.
When specific control studies are desired, the Ww(t) term can simply be
separated into the appropriate control term Bu(t) and disturbance term Dd(t).
Section 4.3.
Consider lhe simplified tlow diagram of the reactor system shown in Figure
3.6-1. The possible control variables or disturbances to the process are the
tlowrates of the input gases, the recycle ratio, the cooling jacket temperature,
the heat load of the preheater, and the feed-effluent heat exchanger bypass.
From the reactor's point of view (and thus the reactor model), the inlet gas tern-
perature, the cooling wall temperature, the gas velocity, and the inlet gas con-
centration can be affected. We will thus consider the control and disturbance
(3.6-4)
The major complication in the model after reduction of the original partial
result from the nonlinear rate expressions and from the temperature, concen-
t:ration, and velocity dependencies of the convective terms and of the gas and
braic and differential equations about the steady state. The resulting
mathematical description is then valid for small perturbations around this
steady state.
control through various readily available computer programs but does not pro-
vide a detailed analytical solution from which the effects of various parameters
can be investigated.
heat capacity of the gas throughout the reactor bed 1 and neglecting the axial
and radial mass diffusion terms, based on the results of the model analysis
presented in Section 3.4. The resulting model was then linearized in three
tions and substitution into the differential equations, and linearization of the
1. Simulations showed no loss in accUiacy by this assumption. Its only real benefit is a minor
:reduction in linearization etfort.
-297-
(3.6-5)
(3.6-6}
(3.6-7)
KP, = e l
Kp +
it
i =S, M (3.6-9)
(3.6-10)
are first linearized about the steady state operating conditions (ss) using a Tay-
lor series linearization approach. If we neglect the second and higher order
terms in the Taylor series expansion, the linearization is of the form
(3.6-11)
rate expressions are of the form given in the equation above with the [ BR
OZ
lA
in the Vicinity of the specified steady state conditions. A comparison of the rela·
tive magnitudes of the linear and nonlinear reaction rates is presented in Table
3.6-1 for both Type I and Type II standard operating conditions defined in Table
3.4-5. These results are presented mainly to show the necessity for caution in
using the linearized expressions since significant errors can occur away from
the steady state. In general, although the rate expressions are highly nonlinear,
the errors are relatively small even at considerable deviations from steady state.
Although the errors in the steam-shift rate are quite large in several cases, the
reaction rates in these cases are so small that the steam-shift reaction has
Type I Conditions
%Error
T. Tg Yt Y2 Rv Rs
steady state 630 627 0.13 1.00
640 637 0.13 1.00 0.23 12.5
650 647 0.13 1.00 0.85 25.1
620 617 0.13 1.00 0.27 24.2
630 627 0.25 0.99 0.27 7.5
630 627 0.03 1.02 0.91 4.2
64-o 637 0.25 0.99 4-.03 2.5
Type n Conditions
%Error
T. Ta Yt Y2
Ru Rs
steaty state 613 610 0.71 1.01
603 600 0.71 1.01 0.31 0.57
623 620 0.71 0.71 0.26 0.45
613 610 0.82 1.01 0.15 2.60
Table 3.6-1
Nonlinear vs. Linearized Reaction Rates
The algebraic equations for the orthogonal collocation model (shown in Sec-
tion 3.3.5) consist of the axial boundary conditions along with the continuity
-299-
equation solved at the interior collocation points and at the end of the bed. This
latter equation is algebraic since the time derivative for the gas temperature
can be replaced with the algebraic expression obtained from the energy balance
The boundary conditions for the mass balances and for the energy equation
for the thermal well can be solved explicitly for the concentrations and thermal
well temperatures at the axial boundary points as linear expressions of the con-
ditions at the interior collocation points. The set of four boundary conditions
for the gas and catalyst temperatures are coupled and are nonlinear due to the
convective term in the inlet boundary condition for the gas phase. After a Tay-
lor series linearization of this term around the steady state inlet gas tempera-
ture, gas velocity, and inlet concentrations, the system of four equations is
solved for the gas and catalyst temperatures at the boundary points.
the interior collocation points and at the end of the reactor are somewhat more
complex. Unfortunately, the time derivative of the gas temperature term adds
is expected to be valid over only a limited region around the steady state, and
since a sludy or the magnitudes of the terms in this equation showed that this
time derivative term is relatively small near the steady state, the term was
neglected (equivalent to assuming ":t' = 0). Simulations using the full, non-
linear model verified that negligible error resulted from dropping this term. The
maximwn error seen was during the first 10 seconds of a dynamic simulation
and was generally less that 0.1% even during this period.
(3.6-12)
(3.6-13}
The algebraic equations for the endpoint gas temperatures were then substi-
luted into the linearized continuity equations. These equations were then solved
for the velocities. The results of this linearization of the algebraic equations is
shown in Appendix 6.
The linear reaction rate expressions and the linear expressions for the
velocities and for the concentrations and temperatures at the axial boundary
points were then substituted into the ordinary differential equations. Lengthy
extreme couplings between the different state variables. The linearization was
this analysis are shown in Appendix 6. Again great care must be exercised dur-
ing this algebraic reduction due to the extreme complexity of the model. All
results were verified through careful model simulations and ftnally by using the
i: = Ax + lfw + C (3.6-14)
consists or the catalyst temperatures, the gas temperatures. the thermal well
(3.6-16)
This linear system is then of order 5N, where N is the number of interior colloca-
tion points. Analytical expressions for the elements of the matrices 'A and W are
by using deviation variables about the steady state values. At steady state, i: = 0
and thus
O=Ai:+fi+C
Letting
Note that in the remaining analyses, we will drop the ('). It should still be clear
that deviation variables are being used. Then as per the previous discussion,
this linear representation can easily be separated into the standard state-space
configuration.
-302-
model is significantly simpler. The first step in the solution must be to solve the
full, nonlinear model for the steady state profiles. This is accomplished using
Section 3.3.5. This first step, is limiting in the sense that no further linearized
analysis is possible without it. Due to the complexity of the nonlinear model.
solution. Obviously. the success of this solution is often based on the initial
guesses for the steady state profile. Experience or empirical data can help in
setting these values. Additionally, under extreme cases, the nonlinear dynamic
simulation programs can be used to simulate the behavior of the system from
specified profiles to the final steady state. As the dynamic solution approaches
the steady state, the resulting profiles can be used as the initial guesses for the
steady state solver so that the dynamic solution does not need to continue com-
The steady state profiles are then used to calculate the matrices A and Y.
cally integrate the linear model for dynamic simulations. However, due to the
(3.6-21)
Then if we consider a time interval (t -.. t + dt) over which w is constant, 2 this
solution simplifies to
(3.6-22)
The major complications in this analytical solution are obviously the matrix
A= SA s- 1 (3.6-23)
(3.6-24)
where eA dt and A-t are easily calculated smce A is diagonal. Thus after the
steady state is determined and the time steps (dt) are selected, we can calculate
the eigenvalues and eigenvectors of the matrix A and from these the values of
A- 1 and eAdt. These lengthy calculations only need to be performed once for
each steady state and selected time step! Of course these time steps can be
quite large with the only restriction being that the control and disturbance vari-
ables are nearly constant during this period. If these variables are constant
over more than one selected time step, even the value of A- 1(eAdt_I)Ww' will be
model of the reactor. These programs are discussed and listed in Appendix 4.
Basically, two programs are usedfor the linear model. The first called LINMOD
differential equation system, including our variable time-step analysis. This pro-
The second program written for the linear model simulation. ANAMOD. uses the
solution, to calculate the coefficient matrices for the linearized modeL and to
optimally perform the dynamic simulations for a large variety of step changes
dian norm equal to one. The matrix is reduced to an upper Hessenberg form by
Figure 3.6-2 shows the simulated dynamic behavior of the gas temperatures
at various axial locations in the bed using both the linear and nonlinear simula-
tion programs for a step change in the inlet CO concentration from a mole frac-
tion of 0.06 to 0.07 and in the inlet gas temperature from 57:3° K to 593" K. Fig-
ure 3.6-3 shows the corresponding dynamic behavior of the CO arid CO:a concen-
trations at the reactor exit and at a point early in the reactor bed. The axial
-305-
concentration profiles at the initial conditions and at the final steady state
using both the linear and nonlinear simulations are shown in Figure 3.6-4, and
the axial gas temperature profiles are shown in Figure 3.6-5 at t = 0, 15 seconds,
and 100 seconds (steady state). The temporal behavior of the profiles shows
that the discrepancies between the linear and nonlinear results increase as the
final steady state is approached. Even so, there are only slight discrepancies
Figure 3.6-6 shows dynamic linear and nonlinear simulations of the gas
temperatures at t = 0.17 and ( = 0.38 and Figure 3.6-7 shows the exit CO and
C0 2 concentrations for a 50 second disturbance in the inlet gas temperature
differences (less than 2%) are apparent between the two models and only then at
conditions sufficiently far from the steady state. As expected, the models give
identical results when the orl.ginal steady state is reestablished after the distur-
bance.
Figure 3.6-8 shows the temporal behavior of the exit gas temperature and
the gas temperature at ( =0.38 under start-up operation using both the linear
and nonlinear simulation programs. Figure 3.6-9 shows the axial temperature
deviations between the models occur early in the simulation where the reactor
conditions are relatively far from the steady state conditions around which the
model is linearized. However, the magnitudes of the deviations are actually very
small, thus verifying the ability of the linearized model to simulate reactor
Thus the simulations show that the linear model is quite accurate even for
relatively large deviations from the steady state. Of course, losses in accuracy
are greater the larger the deviation. For start-up and disturbance simulations,
the linearized model does predict an eventual return to the steady state around
which the system was linearized. However for step input changes where the final
steady state differed from the original, some minimal loss in accuracy is
apparent in the final steady state reached using dynamic simulations of the
linear model from the original steady state. This difficulty can easily be circum-
vented in the case of step changes by relinearizic.g about the new final steady
Table 3.6-2 shows a comparison of the solution times for the various
dynamic simulations using the three models. As shown, the reduction in solu-
tion time is enormous using the linear modeL Using numerical integration of
the linear state-space model, simulation times are reduced by a factor of 10.
(to a point where real time .solution is possible)! As expected, the results using
both the numerical and analytic solutions of the linear model are identicaL
llodel
Simulation
NLNMOD LINMOD ANAMOD
T0 ... 593cK
Step 2:54:24 12:54 00:36
x:m--0.07
Step T., ... 593°K 3:14:41 18:04 00:34
Start-up 4:43:26 28:39 00:29
Disturbance T0 -+ 60::~°K 23:10
4:58:42 00:31
(50 seconds) x:m .... 0.072
Table 3.6-2
Comparison of Simulation Times
along with the results of prior investigators (Heiberg et al., 1971; Sinai and Foss,
-307-
1970) show that such models are quite descriptive of the overall system and are
Hoi berg et al. ( 1971) and verified in this analysis, there is relatively little incen-
tive for retaining the nonlinear representation in View of the large uncertainties
BYPASS
co---.
H2
N2
CH-4---'
..,..._
PRE HEATER COOLING
OIL
FEED-EFFLUENT
HEAT EXCHANGER
Figure 3. 6-1
Simplified Reactor Flow Diagram
-309-
630
z= 0.38L
y:
CJ
620
-----
w
0
w
a:
610
------
--------
z =l --------
:::)
1-
cr:
a: 600
LU
a..
:E
LU
1-
(f)
590
a:
<..:)
sao~~--~--~~--~--~~~~----~--~~----~
0 IS 30 60
TIME !SECJ
Figure 3.6-2
Gas Temperature During Step Input Change
Standard Type II (Table 3.4-5) Conditions
(To from 573° K to 593° K. x& from 0.06 to 0.07)
0.8 1. 65
- 0.7
N
'o
'o
- 1. 60
~
v----
X
~
CO, z = 0.17L
(\J
D
u 0.6 C0 2 , z =L D
u
z 1. 55
D ~ z
D
....... 0.5 .......
1- C0 2 • z ,. 0. 17l 1--
u u
a: 1. so a:
a:
Ll...
w
.....1
v
0.4: r-
F-
=--
---- CO , z ,. L a:
Ll...
w
1. 45 .....1
D D
:t: 0.3 f-
:s:
0.2 1. 4:0
0 15 30 60
TIME (SECl
Figure 3.6-3
Concentrations During Step Input Change
Standard Type II (Table 3.4-5) Conditions
(To from 573° K to 593° K. x& from 0.06 to 0.07)
0.08 1. 60
N
'o
.....
X
0 1. 55
u (\J
z 0.06 0
u
-
0
1-
u 1. 50
z
0
.......
cr: I-
a:: u
lJ.... a:
w a::
O.Oll lJ....
_J
0 l.llS w
:L _J
0
::s::
n.n2 1. 40
o.o 0.2 0.4 0.6 0.8 1.0
RX1RL POSITION, Z/L
Figure 3. 6-4
Axial Steady State Concentrations Before and After Step Change
Standard Type 1I (Table 3.4-5) Conditions
(To from 573° K to 593° K. x80 from 0.06 to 0.07)
650
~
630
t:)
w
0
---"
w 610
a:
:::>
I-
cr:
a::
w 590
a_
::E
w
I-
(f)
570
cr:
t:)
550
o.o 0.2 0.1! 0.6 0.8 1.0
'"AX I RL POSITICJN, Z/L
Figure 3.6-5
Axial Gas Temperaure Profiles After Step Change
Standard Type II (Table 3.4-5) Conditions
(To from 573c K to 593c K. x& from 0.06 to 0.07)
650
:X::
630
<..::>
w
D
550
0 30 60 90 120 150
f
TIME lSECl
Figure 3. 6-S
Gas Temperatures During 50 Second Disturbance
Standard Type II (Table 3.4-5) Conditions
(To from 573° K to 602° K. x& from 0.06 to 0.072)
0.6 1.6
_______ ,
\ "''o
'o \ _..
0.5 \ C0 2 X
X 1.5
f\.1
D
u D
u
z z
-
D
1-
u
Q,ij l.ij
D
......
1-
u
a: co a:
0:: 0::
u.. 1.1....
w 0.3 1. 3 I.J..J
-'
D
....J
D
:L X:
0.2 1.2
0 30 60 90 120 150
TIME CSECl
Figure 3.6-7
Exit Concentrations During 50 Second Disturbance
Standard Type II (Table 3.4-5) Conditions
(To from 573° K to 602° K. x& from 0.06 to 0.072)
630
:3:::
t:)
610 z =l
w
0
z "' 0.38L
w
a:
:::>
1- 590
CI
a:
w
a_
~
w
1- 570
(J")
a:
t:)
550
0 ao ijQ 60 80 100
TIME (SECl
Figure 3. 6-8
Temporal Behavior of Gas Temperatures during Start-Up
Standard Type II (Table 3.4-5) Conditions
630
:::r:::::
Ste11dy state
Cl
w 610
0
w
cr:
::::>
....... 590
a:
cr:
w
o_
~
w
....... 570
(.()
a:
t.:)
550
o.o 0.2 0.11 0.6 0.6 1.0
AXIAL PClSITIClN, Z/L
Figure 3.6-9
Axial Gas Temperature Profiles during Start-Up
Standard Type 11 (Table 3.4-5) Conditions
tion, and control of chemical packed bed reactors. Although low-order models
are often developed for control of simple chemical systems using statistical
ate for complicated, highly nonlinear packed bed analyses where very low-order
models are not sufficient and where operating conditions may vary greatly from
the vicinity of the operating point for which the models were developed. For
range and allows detailed investigation and prediction of the reactor behavior,
the model even after linearization is often too complex for controller design or
for implementation as part of the actual control system. Low-order models are
and physical modeling assumptions for the mechanistic packed bed reactor
with one of moderate order (2Nth-order) is also presented. It is our opinion that
further reduction probably is not needed or desired for control studies. lf addi-
accurate representation of the profiles within the reactor bed has a major effect
on the dimensionality and thus the solution time of the resulting model. As pre-
viously discussed, radial collocation with one interior collocation point generally
adequately accounts for radial thermal gradients without increasing the dimen-
tion 3.4.5 shows that even with very high radial mass Peclet numbers, the radial
concentration is nearly uniform and that the axial bulk concentration and
radial and axial temperatures are nearly unaffected by assuming uniform radial
concentration. Thus model dimensionality can be kept to a minimum by also
point.
In this section, the optimal choice for the number of axial collocation
insufficient. the resulting axial solution for the temperature and concentration
profiles will be incorrect. On the other hand, one of the problems with fitting
high-order polynomials to the axial profiles is that the polynomials, if of
sufficiently high order, may begin to ripple along the curve. As pointed out by
Jutan et al. ( 1977), this rippling can be extremely detrimental since the colloca-
sionality and reduce profile rippling and increasing the number of collocation
points to retam high simulation accuracy, extreme care is required in the selec-
find conditions with minimum ripple and maximum accuracy. Figure 3.7-1
-319-
shows the steady state axial temperature profiles for standard Type I (Table 3.4-
six coUocati.on points show minimal inaccuracy. However, reducing the number
of collocation points below this leads to major discrepancies in the axial profiles.
These errors are even more important in the dynamic simulations shown in Fig-
ure 3.7-2.
number of axial collocation points for steady state and can give an indication of
(1980) shows that the convergence pattern of the dominant eigenvalues of the
these dominant modes only describe the dynamic behavior of the linearized sys-
tem, simulation of the full model should be used to verify the results for tran-
converged to their true values. Figures 3.7-3 and 3.7-4 show the convergence of
the dominant eigenvalues for the Type I and Type II (Table 3.4-5) operating con-
ditions. The conditions for Figure 3.7-3 are the same as those used for Figures
3.7-1 and 3.7-2. The eigenvalue analysis shows that less than six collocation
points will lead to significant errors in the dynamic simulations tor these condi-
tions since the dominant eigenvalues are far from their true values. Seven col~
location points would seem lo be sufficient and six may be satisfactory. These
results verify those obtained above using simulations with differing discretiza-
tion (Figure 3.7-1 and 3.7-2). With six interior axial collocation points, the full
along with their algebraic boundary conditions. The linear model would be a
30th-order state-space representation!
Under conditions where very steep gradients exist within the reactor bed,
collocation may lead to oscillatory axial profiles (rippling) due to the attempt to
points, significant errors in the profiles can then result. Simple trial·and-error
element procedure explained in Section 3.5 may be necessary. Using this tech-
nique, not only the number of collocation points in each element needs to be
specified but also the number and size of the elements.
such as neglecting dispersion effects and radial gradients have been discussed
model for numerical simulations and for further optimization or control studies
the advances in computational techniques over the past decade for the solution
-321-
the mechanisms necessary for accurate description of the physical and chemi-
cal phenomena occurring in industrial reactors and to study the ef!ects of vari-
major simplifications which do not simply reduce the structure of the partial
ditlerential equations but actually significantly reduce the number or necessary
equations or the dimensionality of the process. These include the extensive use
of pseudo-homogeneous models-those that do not distinguish between the con-
ditions within Lhe fluid and those on the solid catalyst-and the assumptions of
quasi steady state for concentrations and negligible energy accumulation in the
gas phase.
phases and the heat and mass transfer between phases are treated
explicitly.
Although the heterogeneous models are more realistic, they have been generally
ignored until only recently due to difficulties with numerical solution and
studies that begin with a two-phase analysis reduce the model to a pseudo-
homogeneous form by assuming equal gas and catalyst temperatures for steady
state and dynamic solution (Jutan et al., 1977) or at least for the steady state
solution (Heiberg et al., 1971). Some authors (Yortmeyer and Schaefer, 1974;
Vortmeyer et al., 1974) have even considered the equivalence of the one- and
two-phase approaches for one-dimensional or adiabatic studies. This thesis
However since it has been common practice to develop models for catalytic
reactors that do not distingUish between thermal conditions within the tluid
phase and those on the solid catalyst, a cursory examination of the homogene-
peratures for fast flowing gas systems should be negligible. They further refer-
ence the work by Shaw ( 1974) that shows that there is ample driving force to
In our original system of partial differential equations, the two energy bal-
the gas and solid temperature are assumed equal (T1 =Tg). and the homogene-
-323-
where kz and kr are effective conductivities for the combined gas/solid system.
Additionally, since
(3.7-2)
(3.7-3)
6T
z=O k,. oz = UgCp,fgE (T -T0)
z=L aT = o
l'z
(3.7-4)
r=Ro kr oT = ht(T -Tt)
ar
r=R 1 -kr aT = hw(T -T,)
6r
where ht and hw are effective heat transfer coefficients between the gas/solid
This equation is solved with the continuity equation, the energy balance tor
the thermal well, 2 and the concentration equations using the same procedure as
for the full system. The dimensionality of the model has now been reduced by N
(i.e., the model now has order 4N). Computer simulation programs were written
2. With a."'l overall heat transfer coefficient being used rather than Uta and Utg.
-324-
made between the simulations with the two-phase analysis and the homogene-
ous analysis since no direct mathematical relationship can be made between the
(kz, kr, ht. hw, Ut} and the individual gas and solid coefficients of the two-phase
model (kzs• kzg, krs, krg. hts. hq, ht.g. hwg• Uts. Ut.g). Some attempts (Vortmeyer and
Schaefer, 1974) have been made in this regard, but are not accurate enough for
Solution times using the homogeneous model are 15% to 25% less than that
for the full two-phase analysis, although the accuracy of the results may be
somewhat in question. Figures 3.7~5 and 3.7-6 show the axial temperature and
concentration profiles with Type 1 and II (Table 3.4-5) operating conditions and
with realistic heat transfer parameters. Although these simulations appear
However, simulations usi,p.g the heterogeneous analysis even with high inlet
K between the solid and gas phases and transient results with differences up to
20" K due to the high exothermicity of the methanation reaction on the catalyst
predicted reaction rates. Using the kinetics proposed by Strand (1984), the
methanation reaction rate about doubles with ever 10° K temperature rise over
using other techniques discussed in this section which require much milder
phase based on the approximation (Equation 3. 7-3) provides the same reduction
drastic assumption.
mation using a heterogeneous analysis are also often cited as reasons for a
separately the gas and solid temperatures, in practice it is difficult without seri-
ously affecting flow patterns within the reactor bed. These difficulties can be
and including this thermal well in the model development. This eliminates the
concern over whether temperature measurements within the reactor bed are
Another procedure often used with less severe assumptions than the equal-
ity of the gas and solid temperature is the pseudo-homogeneous analysis pro-
posed byVortmeyer and Schaefer (1974). This procedure has proven to be quite
effective for simple adiabatic packed bed analyses and involves reducing the
energy balances for the gas and catalyst to a single equation using the assump-
tion
(3.7-5)
Although this assumption is often not too restrictive, additional more severe
For the full mathematical model developed in Section 3.3, the following assump-
Lll)2Tg 1= o
az6z2]
3)
L 11 BT,l = LBr~
6rr6r
11 6Tg 1
4)
Transient analyses using the full. nonlinear model show that concentration
profiles reach a quasi steady state quite rapidly (often within 3 to 5 seconds);
whereas, the thermal response of the reactor bed is much slower' due to the
large heat capacity of the reactor bed and thermal well. An example of this
phenomenon is shown in Figure 3.7-7, where the transient responses of the solid
3. Thermal time constants are about two orders of In88nitude greater than the concentration time
constants.
-327-
major step change in the inlet gas temperature and inlet CO concentration. In
this example, the effect of the step change is nearly immediate on the concen-
tration profiles with the major effect being within the first ten seconds. How-
ever. Figure 3. 7-7a shows that the thermal well temperatures and the catalyst
temperatures take up to ten times as long as the concentrations to approach
the new steady state after the input step change. Note that the catalyst tern-
peratures shown in the figure are at the radial collocation point r =rc and that
the response of the catalyst temperatures near the center of the reactor (not
p1 cp u 8 e
VT= a
p8 Cp1 (1-t)
(3.7-6)
vc = u,
verify this quasi steady state for the concentration profiles. As in many solid
catalyzed gas reactions. the ratio of the concentration wave velocity to the ther-
mal wave velocity is quite large:' This implies that the concentration profiles
reach a quasi steady state rapidly and that this quasi steady state then follows
the slowly chang~ng temperature profile, thus providing theoretical backing for
The quasi steady state approximation then allows the concentration time
ax~
- - R:l 0 (3.7-7)
at
in the original partial differential equations or in the linearized model, thus
reducing 2N of the discretized ordinary differential equations to algebraic equa-
tions. In the linear system, these algebraic equations can be solved directly for
programs (Appendix 4) were written to simulate the reactor using this assump-
tion for both the full and linearized models. Although this approximation intro-
duces considerable simplification in the nonlinear model, its effect on the linear-
ized system is a simple reduction ln system dimensionality, and it does not lead
tions are shown in Section 3. 7-4 where the model reduction procedures are com-
system design where a reduction in the size of the state vector is computation-
involves setting the time derivatives of the concentrations equal to zero, it does
not imply that concentrations are independent of time, since concentrations are
dependent.
ble energy accumulation in the gas phase as compared to that in the solid. This
-329-
2) and the similarity of the temporal behavior of the gas and catalyst tempera-
tures (e.g., Figure 3.7-8). Thus the accumulation term in the energy balance for
the gas phase can be neglected:
(3.7-8)
in comparison to the energy accumulation in the catalyst and thermal well. This
directly for the gas temperatures which can then be substituted into the
remaining ordinary differential equations to eliminate the gas temperatures
from the state vector. Simulation computer programs were again written
(Appendix 4) and show negligible differences in the dynamic and steady state
profiles, small reductions in solution times for the nonlinear model. and no
major time reductions for the analytic solution. Some of these simulations are
shown in Section 3. 7-4.
representation is of high order (3D-40 states) 1 due to the original system of five
coupled partial dHierential equations and the accurate treatment of the gas.
catalyst and thermal well temperatures and concentrations. Although dynamic
1. This is actually of very low-order in comparison to traditional finite difference solutions.
-330-
due to the relatively high order of the system. For such applications, an accu-
approximations could have been made in the original modeling, doing so without
a careful analysis of their effects on the model behavior can be dangerous. The
of the system shows that simple modal reduction techniques such as those
presented by BonVin (1980), Gould (1969), and Wilson et al. (1974) can lead to a
approaches, were proposed during the late 1960's and early 1970's. The "'asic
in the low-order model. Wilson et al. (1974) summarized these techniques and
showed that many of the published modal approaches are equivalent since they
order model and then designing a low-order controller and by designing a high-
order controller and then reducing this to a low-order control law. Bonvin
(1980) also provides a comparison of the various modal techniques with respect
-331-
to their steady state and dynamic accuracies as well as to the dependence of the
According to Gould (1969), the central theme in modal reduction and con,
trol is
This basic approach is really diVided into several distinct categories. Two of
these, Davison's method and Marshall's method, provide suitable model reduc-
neglect eigenvalues of the original system which are farthest from the origin
(the non-dominant modes) and retain only dominant eigenvalues and hence the
(3.7-9)
and let
-332-
A = SAS-1 (3.7-10)
A = (3.7-11)
0 0
and Sis the corresponding matrix of eigenvectors, the dynamic behavior of the
l.ldt
e -1
0
At
=s s-1Ww{t) (3.7-12)
e A,_dt - 1
0
An
the approximate system will be similar to the original system, since the contri-
bution of the unretained modes will only be significant early in the dynamic
response.
Table 3.7·1 shows the system eigenvalues for our full 30th-order linear
eigenvalues can be grouped into five distinct groups based on the real parts of
the eigenvalues:
-333-
Group -(Real)
Rj 50
II 1-5
III 4-6
N 0.06- 0.08
v 0.01- 0.03
Further analysis shows that the fastest modes (Group I) correspond directly to
the gas temperatures at the interior collocation points and those of Groups II
the full linear model (with N =6), 18 are very fast in comparison to the remain-
ing 12 (by two orders of magnitude or more). Thus direct modal reduction to a
12th-order model using Davison's method should provide good dynamic accu-
racy.
T,
Group Real Part Part
-53.49 ± 1.93
I -52.93 ± 6.31
-51.98 ± 10.46
-5.03 ± 5.76
II -2.12 ± 10.38
- 1.37 ± 10.35
-6.27 ± 1.89
III -5.66 ± 1.85
-4.34 ± 5.68
-0.08 ± 0.010
N -0.07 ± 0.035
-0.06 ± 0.074
-0.033 0.0000
v - 0.021 ± 0.0011
-0.018 ± 0.0009
-0.016 0.0000
Table 3.7-1
Eigenvalues of Full 30th-Order linear Model
contribution of these modes is also absent at steady state, thus leading to possi-
ble (usually minor) steady state offset. Several identical modifications (Wilson et
al.. 1974) to Davison's original method have been proposed by Davison and Chi-
dambara (Chidambara and Davison, 1967abc; Davison, 1968) and by Fossard
(1970). In these methods, the states of the reduced model are artificially recon-
3. 7. 3. 2 MarshaUs Method
Davison's in that the steady state characteristics of the original system are
retained in the reduced model. Since the response of any element of the state
vector associated with a large eigenvalue is much faster than that of elements
associated with the smaller eigenvalues (or larger time constants), the dynamics
change. If the fast modes in the methanation model are taken as the gas tem-
peratures and the CO and C02 concentrations, Marshall's procedure is a rigorous
reduced-order model has the same steady state as the high-order model. since
the time derivatives are identically zero for all state variables at steady state.
However, the retained modes may no longer optimally represent the dynamic
behavior.
Table 3.7-1 shows that, for the methanation reactor model, the dynamic
much faster (by two orders of magnitude) than the response of the catalyst and
shown in Figures 3. 7-7 and 3. 7-6 and the previous analysis or the thermal and
i = 1, ... , N (3.7-13)
is partitioned into
(3.7-14)
Aet Aes .2
- *2= A.:l A.s :x:l + ""'
A.:2 ""'
Aw ~A,,] Xe + .4 ... (3.7-18)
~
Then we can let ie =0 in light of the quasi steady state approximation and the
assumption of negligible energy accumulation in the gas or in light of the
-336-
significant differences in the magnitudes of the eigenvalues for the x:1 and x::z
states and solve for x::z as a function of x1 . Substituting this result into Equation
(3.7-19)
where the state variables arc now the catalyst and thermal well temperatures at
the collocation points and the new matrices K and lJ' are simply related to the
original matrices:
(3.7-20)
(3.7-21)
9~, y 1 ~, and y9 . Instead it retains their steady state effects and relates their
dynamic behaviour to the gas and thermal well temperatures. The reduced
model is then of order 2N, or of only 12th-order for N=6. Similarly, we could con-
sider each assumption independently. If we retain the state variables 9", the
model is of 3Nth-order.
negligible energy accumulation in the gas and quasi steady state for the concen-
with Davison's method are eliminated, and the potential dynamic disagreement
between the original and reduced models is minimal for the methanation reac-
time, along with storage space, without any significant loss in accuracy. Table
3.7-2 shows the simulation times for various simulations using various models
and solution techniques with N =6. All computer programs are documented in
Appendix 4. The program RDt MOD simulates the 2Nth-order model using ana-
where only the concentration dynamics have been neglected. Although the solu-
tion time advantages between the analytic solutions of the reduced models and
the full linear model seem to be minimal, these analyses were conducted with a
simulation. If these values change frequently as may be the case in practice, the
Figures 3.7-9 and 3.7-10 show compariSons or the transient gas and solid
axial temperature profiles for a step input change using the full model and the
reduced models. The figures show negligible differences between the profiles at
tL-rnes as low as ten seconds. Concentration results (not shown) show even
solutions using the different linear models. Thus for the methanation system,
-338-
Model
Simulation
NLNMOD I.JNMOD ANAMOD RD2MOD RD1MOD
To ... 593°K 00:24
Step Xc;o.,..0.07 2:54:24 12:54 00:36 00:22
Step r.... o93°K 3:14:41 18:04 00:34 00:22 00:20
Start-up 4:43:26 28:39 00:29 00:17 00:14
Disturbance T0 ... 602°K 4:58:42 23:10 00:31 00:20 00:17
(50 seconds) xco ... 0.072
Table 3.7-2
Comparitive Simulation Times o! Models
The excellent dynamic agreement between the original and reduced models
(Figures 3.7-9 and 3.7-10) can be explained by the eigenstructure of the reduced
system. As shown in Figure 3.7-11, the eigenvalues of the reduced model are
nearly identical (within 17.) to the dominant eigenvalues of the original model.
Thus the dynamic behavior is nearly identical to that which would result from
modal reduction for the methanation reactor model is that some contribution
of the 'fast' modes is still retained in the algebraic equations that result from
ccdure accurately simulates the performance of the full linear model for a large
needed since the eigenvalues of the 2Nth-order model are of similar magnitudes
-339-
and simple elimination of the larger ones may lead to major errors.
One possible procedure for further reduction would be Litz 1s modal reduc-
lion described in detail by Bonvin (1980). Litz proposed that the contribution of
modes rather than simply being neglected. The appropriate linear combination
is determined in order to minimize the error between the responses of the non-
dominant modes in the original and in the reduced-order models. Bonvin (1980)
further explains that the eigenvalues of the reduce model are identical to the
dominant eigenvalues of the original model, but the eigenvectors are given a new
optimal orientation. Bonvin uses this technique to reduce a 24th-order model
675
:X:
t.:)
650
w
0
w 625
a:
=:J
f-
a:
a: 600
w
ll..
::1:
w
f-
ff)
575
a:
t.:)
550
o.o 0.2 0.1! o.s 0.8 1.0
AXIAL POSITION, Z/L
Figure 3.7-1
Steady State Axial Gas Temperature Profiles
Standard Type I (Table 3.4-5) Conditions
Varying Axial Discretization
:s:::: 650
(.!)
li.J
0
li.J
a:
::::>
1-
a:
a: 600
li.J
CL
::E:
li.J
1-
550~--~----._----~----~----~----~----~----~--------~~
o.o 0.2 Q,ij 0.6 0.8 1.0
AXIAL PDSITIDN, Z/L
Figure 3.7-2
Dynamic Axial Gas Temperature Profiles
Standard Type I (Table 3.4-5) Conditions
Varying Axial Discretization
-0.02
I.I.J
:::J
_J
a:
>
z:
I.I.J
(.!)
......
I.I.J
1.1....
0
1-
a:
a:
a..
_J
a:
w
a:
-0.06
• - REAL EIGENVALUE
~ - COMPLEX EIGENVALUE
-o.oa~~~~--~----~--~--~--~--~--~--~
0 2 ~ 6 8 10
NO. OF COLLOCATION POINTS
Figure 3.7-3
Convergence Pattern of Dominant Eigenvalues
Standard Type I (Table 3.4-5) Conditions
-343-
-0.02
L.U
=>
-l
a:
>
:z
L.U
-
<...:)
L.U
IJ... -0.01.!
0
1-
a:
a:
0...
_J
a:
w
a:
-0.06
• - REAL EIGENVALUE
~ - CDMPLEX EIGENVALUE
-o.os~~~~--~--~--~--~--~--~---L~
o 2 "' 6 e 10
NO. ~F COLL~CRTION POINTS
Figure 3.7-4
Convergence Pattern of Dominant Eigenvalues
Standard Type II (Table 3.4-5) Conditions
-344-
650
lJJ
a:
:::l
f-
a:
a: 600
lJJ
0..
:::E
lJJ
1-
SSOL-~L-~--~--~----~--~--~----~--~~
0.0 0.2 o.~ o.6 o.e 1.0
AXIAL POSITION, Z/L
(a)
...
'70 'a
:.:
0.3 3.05
C'\1
0 0
u u
z
0 L-__:::~---------c~.L - - - - 1 z
D
1-
0.2 3.00
1-
u u
a: a:
a: a:
1.1.. 1.1..
lJJ 0. I 2.95 w
...J ...J
D 0
:::E :s::
O.QL-~L-~--~--~---L--~--~--~--~~2.90
0.0 0.2 0.~ 0.6 0.8 1.0
AXIAL POSITION, Z/L
(b)
Figure 3.7-5
Axial Steady State Protlles - Homogeneous Model
Standard Type I (Table 3.4-5) Conditions
a) Temperatures
b) CO and C0 2 Concentrations
-345-
r • R0
625
r = r
c
IJ.J
a:
:;:l
1-
cr:
a:
IJ.J
0....
::1: 575
w
I-
(a)
.
i'o
.....
0.7
I. 55
'o
-):
C\J
0 0
w w
z z
0 0
1- 1-
w w
cr: cr:
a: a:
lJ.... lJ....
IJ.J LLJ
.....J .....J
0 0
::1: 0.3 ::1:
0.2L---~~~~--~--~--~--~--~--~~1.~0
o.o o.2 o.~ o.s o.8 t.o
AXIAL POSITION, Z/l
(b)
Figure 3.7-6
Axial Steady State Profiles - Homogeneous Model
Standard Type 11 (Table 3.4-5) Conditions
a) Temperatures
b) CO and C02 Concentrations
-346-
z= 0.38L
t.:)
w
0
630
620
/
/
/...- -- z = 0.17L
w
a: 610 ,...,...- .,..,.,...-.----~ ----
:::>
1--
a: /
a:
w 600 /
a.. /
:I:
w
/
1-
590
20 ijQ 60 80 100
TIME (5ECJ
(a)
-:0 "''o
-
0
X
0.7
0.6 ~----------~2---
co
1. 60
:1:
C\J
0
u u
z ~ 1.55
0
z
0
1-
0.5 C0
u
a: ~--------- -2- - - 1. so 1-
u
a:
a: a:
1.1..
Q,ijv~~·~--------------------~co~----~ 1.1..
w
...J
0
:I: 0.3
0.2~~--~--~--~--~--~~~~--~--~l.ijO
o 20 .. a so eo 1oo
TIME tSECl
(b)
Figure 3.7-7
Transient Responses to Step Input Change
Standard Type II (Table 3.4-5) Conditions
(To from 573° K to 593° K. ~o from 0.06 to 0.07)
a) Temperature
~- Catalyst - - - - Thermal Well
b) CO and C02 Concentrations
- - z 0.171 - - - - z = =L
-347-
61.10
630 z = 0.38L
:::r:::
<...:)
w 620
----
Cl z = 0.17L
w
a:
::l
I-
610 ---------
a:
a: 600
w
CL
::E
UJ
I- 590
580
0 10 20 30 uo so 60
TIME (SECl
Figure 3.7-B
Transient Temperature Responses to Step Input Change
Standard Type II (Table 3.4-5) Conditions
(T0 from 573° K to 593° K. x& from 0.06 to 0.07)
- - Catalyst - - - - Gas
650
w 625
a:
:::;,
t-
a:
a: 600
w
a..
X:
w
t-
575
(a)
<.:::>
w 650
Cl
w
a:
:::;, 625
t-
a:
a:
w
a.. 600
X:
w
t-
-
Cl
. .J
0
en
575
(b)
Figure 3.7-9
Transient Axial Temperature Profiles - Start-Up Simulation
Standard Type I (Table 3.4-5) Conditions
t z
600
w
a: 10 sec
:::::>
1-
CI:
a:
w
a... 575
::E
w
t-
(/")
a:
t.:l
550~~---L--~--~--~--~~---L--~--~
o.o 0.2 0.14 0.6 0.8 1.0
AXIAL POSITION, Z/L
(a)
t.:l
w
Cl
w SOD
a:
:::::>
t-
CI:
a:
1..1..1
a...
::E
w 575
t-
o
-I
D
(/")
(b)
Figure 3.7- 10
Transient Axial Temperature Profiles- Start-Up Simulation
Standard Type II (Table 3.4-5) Conditions
o. 10
e - FULL MCIDEL
0.08
• - REDUCED MODEL
0.06 w
::J
...J
a:
>
O.Oll z
w
<.:>
0.02 w
., LL
0
• I •• 0.00 f-
a:
a:
0...
-0.02
>-
a:
a:
-0.01.1 z
(.:>
a:
-0.06 2:
.......
-0.08
-0.10
-0.09 -0.07 -0.05 -0.03 -0.01
REAL PART ~F tiGENVALUE
Figure 3.7-11
Dominant Eigenvalues of the Models
Standard Type II (Table 3.4-5) Conditions
-351-
Chapter4
This thesis provides the basis for a concerted theoretical and experimental
program in multivariable process control structure design for packed bed chem-
ical reactors by presenting an in-depth control analysis of a practical, multivari-
The first portion of this work presented in Chapter 2 centers on the control
tic locus techniques, is carried out theoretically. The significant results of this
study are discussed in Section 2.8 and only the major conclusions are outlined
here.
The study of the heat conduction system allowed for a careful study of vari-
ous control design techniques. Of all of the ones considered, the characteristic
locus procedure seems to have the most potential for this particular distributed
design and the usefulness of the different design techniques. The importance of
'extra' measurements-those in excess of the number required in the feedback
~ 353-
loop-for improving the system response is also shown. The additional i.n!orma-
ways, including reducing the interaction in the control system through the tech-
Based on these preliminary results, the second portion of this study pro-
tors that significantly extends previous studies in the detail of the model and in
accurate description of dynamic and steady state reactor behavior, in the inves-
The basic results from this modeling study can be broken down into four
Dynamic Modeling
between the gas and catalyst as a result of differences in the heat tlow
energy diffusion must be retained in the model since this is the basic
mechanism for transfer of energy from the reactor bed to the outer cool-
ing jacket. Although radial and axial mass diffusion are of minor impor-
tance if the aspect ratios for the reactor are sufficient, their inclusion in
assumption can lead to inaccuracies and since eliminating the axial ther-
Numerical Solution
eigenvalue analyses using the model developed in this work show that as
few as six axial collocation points may be satisfactory for packed bed
tion points can become quite large. Since these polynomials are used for
approximating derivatives in the partial differential equations, these
Far fewer collocation points are required for the radial than for the
a quadratic function. Thus with the boundary points at the thermal well
and the out-er cooling wall, only one interior radial collocat~on point is
· needed for the thermal profiles. However, using one radial collocation
higher-order representation.
orthogonal collocation scheme are that the collocation points and trial
functions are selected automatically and optimally and that the solutions
arc derived in terms of their values at the collocation points and at these
points the solution is exact. One of the drawbacks of the orthogonal col-
location on finite elements technique is the non-trivial problem of
Control Model
the steady state around which the linearization was performed. For sus-
tained step input changes, relinearization around the new steady state is
probably de~ired. With the accuracy of this linearized model and the
retaining only the dominant modes is satisfactory for the packed bed
model but can lead to possible steady state offset. Marshall's ( 1966) tech-
procedure retains the catalyst and thermal well dynamics and accurately
simulates the performance of the full linear model for a large range of
catalyst and thermal well due to their large thermal capacitance relative
effect is in the dynamics of the reactor. It does have a slight effect on the
significant and that a 'hot spot' develops in the bed under conditions of
rapid conversion. Furthermore, classical problems with 'wrong-way'
in the outlet gas temperature are predicted. Obviously this can lead to
gas temperature.
Thus the major development effort in this work has been the careful
in this analysis allows its use for various packed bed chemical reactors including
those under adiabatic operation and those without an axial thermal well.
• The initial model development for dynamic and steady state analysis of
both the radial and axial analysis. All potential reactions should be
• Nondimensionalize the equations with respect to the inlet steady state con-
-359-
• Linearize the reaction rate expressions, the algebraic equations, and the
ordinary differential equations around the steady state. Replace all vari-
nonlinear model.
velocity profiles and more detailed pressure relations into the model if
necessary.
structures for the reactor system in our laboratory. These studies are currently
2. 11 sharp profiles or abrupt chal18es in the profiles are expected, use orthogonal collocation on
finite elements instead.
-360-
in progress. The remainder of this chapter briefly outlines some of the experi-
mental work in progress along with the applications for the models developed in
this work.
-361-
Before control studies can be performed using the control model developed
in tbis work and before the implementation of these feedback control struc-
can be calculated directly from physical considerations, the reaction and heat
we neglect the radial and axial mass dispersion and the gas/solid heat transfer
in the axial boundary conditions and assume similar heat transfer coefficients
between the gas and solid and the reactor wall at both sides of the annulus (r ""
Ro and r =R1), the resulting dimensionless parameters in the model are shown
in Table 4.2-1. We can then divide the necessary input parameters for the model
The physical reactor parameters are measured for the experimental reac-
tion system. The void fraction must be empirically determined for the specific
catalyst, and the thermal well is stainless steel (Type 304). Their physical prop-
erties are readily available as discussed in Section 3.4.1. Data are also available
tor the methanation and steam-shift reactions for heats of reaction and equili-
Aspect Ratios
Axial Dispersion
Radial Dispersion
a
f3s =
Heat Transfer
U118L UuL
/'s = l't.s =
u&oYbP.cp. ( 1-t) VtPtep.,~
U!!IL U!IL
/'g = 'Yta =
u&ov'ti>~oC-pl v tPtcPt.u"'
Heats of Reaction
L( -AHs 2)~0axfl2ko8
uiocPa To
Reaction Coetncients
tpioUio
M&olp8 ( 1-t)xil2~k o6
a2 =
Bot Numbers
Table 4.2-1
Dimensionless Parameters
• 663-
Reactor t L Rc Rt
Catalyst Cp. p. k. dp
Thermal Well CPt Pt kt
mental system are the heat transfer variables and the reaction kinetics. These
the specific catalyst and reactor bed. The strategy for this parameter estima-
tion is shown in Figure 4.2-1. Due to the large number of parameters necessary
.
reactor is not feasible. Instead the estimation is split into three stages. The
-364-
kinetic parameters (and the actual kinetic expression) are first estimated using
a specially constructed kinetics reactor. This reactor system and the determi-
results based on limited experiments were discussed earlier, along with their
effect on the numerical solution of the mathematical model. The rate was found
concentration profiles and complete conversion early in the reaetor bed. These
responses in the thermal well, in the exit gas, and in the cooling fluid to input
or step changes.
Finally, all estimated parameters, except those that are found to be highly
progress.
tion with a correlation analysis of the model parameters. The major heat
ally, and the kinetic parameters were changed by ten percent. The dynamic sen-
whereas, the steady state sensitivity is evaluated by the effect of the changes on
the steady state profUes and the outlet temperatures and concentrations.
Table 4.2-3 shows results tor the standard Type II (Table 3.4-5) conditions.
The major parameters atiecting the dynamic behavior of the system are those
related to the thermal well, thus verifying earlier conclusions as to the impor-
tance of the well on the dynamics of the system. For steady state behavior, the
Table 4.2-3
Parameter Sensitivity
-366-
Methanation Reactor
Figure 4.2-1
Parameter Estimation Strategy
-367-
ure 4.3·1 is studied for a single pass configuration of the reactor system. Note
that we have also neglected the feed-effluent heat exchanger in this preliminary
of the gas temperature at the reactor outlet and at an internal point (possibly
the 'hot spot') using the inlet process stream flowrate and the inlet gas tempera-
ture as the control variables and with expected disturbances in the inlet CO con- .
centration and the cooling wall temperature. In our experimental system, the
control of the process flowrate is really set point control of the three mass con-
trollers with the ratio of hydrogen to carbon monoxide being kept nearly con-
stant (at about 3 to 1). The control of the inlet gas temperature possibly
involves a PID scheme with the overall control network controlling the inlet gas
(4.3-1)
where
and all variables are deviation variables. The variables in the original control
and disturbance vector w then need to be related to the actual control or distur-
-368-
bance variables. e.., and yf are disturbance variables, and }'it2 is directly related
to yf by yfl2 =?'Yf where 7 usually equals about 3. This is analogous to a process
where the COIBa stream comes from some other process upstream and the
ratio between the two remains nearly constant. The variables yl, yfl2o. and y&4
are not used as either control or disturbance variables in this analysis. The inlet
preheater Qp. Finally, the gas velocity u#Io is directly related to the input tlowrate
(4.3-3)
tion,
u = Fp (4.3-4)
lo P~o
(4.3-5)
\lao = 28-26-yX&yf
(4.3-6)
i:=AI+Bu+Dd (4.3-8)
and all variables are nondimensional and are deviation variables. It the original
(4.3-1 0)
aW2+Ws]
(4.3-11)
W4 +f'W7+fJ(26,X&)W2 J
(4.3-12)
where ®1 is the dimensionless temperature of the thermal well at point z,-. Since
(4.3-13)
and
9t,O = 9o
(4.3-14)
etJ;+l
1
=-AN+I.N+l [ t ~+l.A:eu + ~+l,Oao]
Ji:=l
if we let the temperature of the thermal well at z =0 equal the inlet gas tern-
perature, the measurement relationship m terms of deviation variables LS
y=Cx+Fu (4.3-14)
where
c = [OwxN Lt]
(4.3-15)
n =[awx1 ~1
-370-
AtJ+l,l ( ) AtJ+l,N ( )
ll ( Zt ) -A.. lN+l Zt lN ( Zt ) - A.. lN+l Zt
~+l.N+l ~+l,N+l
(4.3-16)
__, ~+1,0 ( )
lo ( ZMJ - A.. lN+l ZJl
~+l.N+l
ture with only one manipulated variable, the inlet gas temperature, to simplify
the following discussion. The reduction of the general state-space representa-
tion to the specific control model is similar to the above analysis. If we then
consider one measurement at ~ =0.3, the B and C matrices for standard Type II
(Table 3.4-5) with N = 7 are
• 371-
T
0.001 0
-Q.00008 0
0.00002 0
-D.OOOOl 0
0.000008 0
-o.000009 0
0.000009 0
B = 22.18 c = 0.018
-5.228 -Q.020
2.726 1.003
-1.733 0.014
1.254 -o.007
-o.970 0.005
0.903 -o.003
This example shows one of the potential drawbacks of the orthogonal collo-
ditrerential equations. The input matrix B multiplies the input by the appropri-
thE: state variables. From physical considerations, it is known that the only tern-
peratures within the reactor to be affected immediately by the inlet gas tern-
perature are those at the bed entrance. However as shown by the above B
matrix, all state variables (catalyst bed and thermal well temperatures) are
tinuous nature of the polynomial approximations used along the length of the
bed. Of course, the major etfect of an input disturbance is still to the state vari-
abies closest to the bed entrance. Thus, instantaneous changes or sharp gra-
dients moving through the bed cannot be adequately represented by these poly-
nomial functions. Note that the etfect on the thermal well temperatures is
extremely high due to the assumption that the thermal well at the entrance of
the bed is in equilibrium with the inlet gas temperature. A simple change in this
("= 0.3 and the state variables. The coefficients in the C matrix show the relative
effect is or the thermal well temperature at the third collocation point (at
appropriate control modeL This analysis further provides some insight into the
Tl T2 •••
Reactor
Figure 4.3-1
Control Configuration
-374-
packed bed chemical reactors. Such a control study must center around the
basic elements of the control structure:
by no means easy. It must be determined how to use the large number of poten-
measurements are also available elsewhere throughout the reactor system and
Within the cooling jacket and Dowtherm condenser. These latter measurements
probably are not too useful for the control structure but do provide additional
information on the operation of the process and can signal problems such as
lack of etiective flow through the cooling jacket. Another potentially important
control measurement is the effi.uent CO, C02 , and CR. concentrations. Currently
these are only available using a gas chromatograph With a delay of up to three
or four minutes. Since this is comparable to or slightly longer than the charac-
be of little use in dynamic control but may be useful to update the model
-375-
variables. These include the heat to the preheater, the fiowrate of the process
stream, the bypass around the preheater and feed-effluent heat exchanger, the
ratio of the H2 to CO in the inlet process stream. and the recycle ratio. The inlet
concentrations of other species and the cooling fiuid temperature could also be
Even after these questions have been answered, careful consideration of the
control configuration and control logic is needed to design the control system to
cooling fiuid temperature, fiowrates) and to meet the control objectives. For
The first step in any proposed control research on a new experimental sys-
systems. With all of the possible measured variables, decisions must be made as
ture cannot be chosen independently but must depend on the choice or manipu·
-376-
lated variables, the control configuration, the control logic, and even the control
been virtually ignored with respect to closed-loop behavior. Some of the work
configuration.
tionary control structure. This should not be confused with the self-tuning
measurement structure for a tubular reactor in which the best set of tempera-
ture sensors along the length of the reactor is selected in response to changes
in the operating conditions. Moreover, the actual structure of the control sys-
(1984) and modeled in this thesis is an excellent system for the study of such
controls, the fully automated nature of the system, and the substantial variance
Finally, the control of the packed bed reactor operating with energy and
product recycle should be studied. Such systems are common in industry but
APPENDICES
-379-
APPENDIXl
Many computer programs were written for the analysis of the heat conduc-
tion problem for determining root-loci, inverse Nyquist plots, and characteristic
loci, for designing control strategies, for producing the necessary computer
graphics, and for simulating the behavior of the heat conduction system. Since
these programs are not unique but rather are based directly on published
theoretical works by various authors, the computer programs are not all dupli-
cated in this thesis. Rather they remain on the Caltech computer in the direc-
tory [RRK.HEAT].
However, two programs are presented in this appendix due to their impor-
tance in the characteristic locus control design for the heat conduction system.
The first program performs the frame alignment for the design of the high fre-
ment angles between the compensated system's characteristic direction set and
the standard basis vectors. This can be accomplished by designing a real com-
pensator KH that approximates the complex plane of Gp- 1(jc.>) at some high fre-
quency "'h· Program AUH, listed in Table Al-l, was written for this purpose and
troller Kr.. where Kr. =M'k(s)B with A and B being the real frame matrices that
approximate the complex frame of the eigenvector matrix and dual eigenvector
matrix, respectively. Again the routine Al.JGN is incorporated into a program,
-380-
AI.JL. for tbis purpose. This program is listed in Table Al-2. The elements of the
diagonal matrix rk(s) are then chosen on the assumption that Ch =~k1 , where QJ
and ~ are the eigenvalues ot the compensated and uncompensated system and
k1 are the elements of rk(s). The compensator JCL is thus used to insure stability
and integrity and to adjust the gains at low frequency to reduce interaction.
-381-
C ~ERFORMS THE FRAME ALIGNMENT FOR DESIGN OF THE HIGH FREQUENCY COMPENSATOR
COMPLEX S,DEL,DET,BISg,z>,OISg,z)
DIMENSION YIZ,ZI,ZIZ,Zl,EVIIZl,EVRIZI,INDIZI,CIZ,ZI,OIZ,ZI
DATA PI /3.1.159265•/
IJ•l/IBJI.
READIS,3lXXI,XXZ,W
SO•SORTIZ. I
C SET UP QISI
AA•SQ*COSIPI*XXII
BB•SQ*COSIZ.*PI*XXII
CC•SQ*COSIPI*XXZI
DD•SQ*COSI2.*PI*XX21
S•CMPLXIJI.JI,IJI
CALL QSETIS,Q,AA,BB,CC,DOI
CALL IDENTIB,SJI,Z,I.SI
CALL ALIGNIQ,Y,ZI
PRINT I, W,YII,Il,Yil,Zl,YIZ,ll,YIZ,Zl
DO ISS 1•1,4
CALL ZEROIIEVR,ZI
CALl ZER011EVI,ZI
CALL ZEROIIINO,ZI
CALL ZER021C,Z,ZI
CALl ZER0210,2,21
Y1•1.
vz•t.
IFII .EQ. 2 .OR. I .EQ. 41Yl•-Yl
IFII .EQ. 3 .OR. I .EO . .tlVZ•-VZ
211,11•YI*((J,+SQ*AA+SQ*881*Yil,ll + 11.-SQ*AA+SQ*BBI*YIZ,IIl
ZI1,21•Y2*111.+SQ*AA+SQ*BBI*YI1,21 + 11.-SQ*AA+SQ*BBI*YIZ,ZII
ZIZ,li•YI*II1.+SQ*CC+SO*ODI*YII,II + 11.-SQ*CC+SQ*ODI*YI2.111
Zl2,2l•Y2*111.+SQ*CC+SO*DDI*YII,21 + 11.-SQ*CC+SQ*DOl*YIZ,ZII
CALL EIGENPI2,2,Z,EVR,EVI,C,O,INDI
PRINTZ, VI,YZ,EVRIIl,EVIIIl,EVRIZI,EVIIZl
1gg CONTINUE
STOP
FORMATI1HI,//////5X,'FREQUENCY •',F1 •. 4,/////ZJIX,'MATRIX KH',
• 5X,EIJI.3,4X,E16.3/34X,EIJI.3,.X,E1JI.3,///////I
2 FORMATI1.8'X,'Y1 .•',F5.1,3X,"YZ •',F5.1,6X,'ElliiENVALUES OF CBKH',
• 6X,E9.2,3X,E9.Z/6ZX,E9.2,3X,E9.2/////I
3 FORMATI2X,3FS.II
END
SUBROUTINE AllliiNIV,V,MI
C THIS ROUTINE ALIGNS THE REAL AND COMPLEX EIGENFRAMES
COMPLEX VISS,Zl
DIMENSION YIZ,Zl,AIZ,2l,BI2,21,CI2,21,012,2l,SI2,2l,EVRI2l,
EVI121,1NDI21
DATA EPS /I .• E-16/
DO I JIS I• I , 2
DO ISS J•1,2
IFIM .EO. 21 All,Jl•REALIVII,Jil
IFIM .EQ. Zl BII,Jl•AlMA~IVIl,~ll
IFIM .Ea. ll ACI,Jl•REALIVIJ,lll
1•• IFIM .EO. II ICI,JI•AIMAGIYIJ,Ill
CONTINUE
Table Al-l
DO
l•3-l
t••
I•l,Z
CALL ZEROIIEVR,Zl
CALL ZEROIIEV1,2l
CALL ZEROll IND,Zl
00 IBI J•I,Z ,
DO IBI 1(•1,2
C!J,Kl•AII,Jl*AII,Kl + Bll,Jl*Bil,Kl
DIJ,Kl•AIL,Jl*Ail,Kl + BIL,Jl*BIL,Kl
t•t CONTINUE
DET•DI1,1l*OI2,2l - D!l,2l*DI2,ll
lfiABSIDETl .LT. EPSl~O TO SBB
Sll,ll•IC!I,1l*OI2,2l - CIZ,Il*Dil,Zll/DET
Sll,2l•ICI1,2l*OI2,2l - Cl2,2l*Dil,2ll/DET
Sl2,1l•ICI2,1l*DII,ll - Cll,ll*OIZ,lll/DET
SIZ,Zl•ICIZ,Z>•D!l,ll - Cll,Z>•OIZ,lll/DET
CALL ZER021C,2,2l
CALL ZER0210,2,2l
CALL EIGENPI2,2,S,EVR,EVI,C,O,INDl
IF I EVItt 1 l .~E. EVR I 2 l lMM•l
IFIEVR12l ,,T. EVRilllMM•2
IFIM .EQ. 21 Vll,ll•Cti,MHl
IFIH .EQ. Zl VI2,Il•CI2,HHl
IFIH .EO. ll VII,ll•Cti,MHl
lfiH ,EQ. ll VII,Zl•CIZ,HHl
t•4 CONTINUE
RETURN
,.. PRINT lB. DET
RETURN
t• FORMATIIH1,3X,'HATRIX IS SINGULAR',SX,E1 •• 4l
END
SUBROUTINE ZEROIIA,Nl
DIMENSIOI'f AINl
00 IBB I•I.H
t•• AII>•B.B
ltETURN
END
SUBROUTINE ZEROZIA,N,Ml
OIHEI'ISION AIN,Hl
DO 111B I • 1 , H
DO IJJB J•I,M
All,Jl·B.B
1.. CONTINUE
RETURN
END
SUBROUTINE QSET!S,O,A,B,C,Dl
COMPLEX QISB,Zl,AIISB,Zl,BIIS.,Zl,Rkl2,2l
COMPLEX S,DET
DATA PI /3.141592654/
CALL IDENTIB1,5B.2,l.Bl
Qll,ll•l.IS + SQRTIZ.l*A/IS+PI**Zl +SQRTI2.l*B/IS+4.•,t••z>
Qll,Zl•l./S- SORTI2.l*A/IS+Pl"*2l +SQRTIZ.>*B/IS+4.*Pl**ZJ
QIZ,ll•l./S + SORTIZ.l"C/IS+PI•*Zl +SQRTIZ.l*O/IS+ •. *Pl**ZJ
012,21•1./S- SQRTI2.l*C/IS+PI**2l +SQRT!2.J•O/IS+ •. *PI••2l
IIETURH
EHO
SUBROUTINE lOENTIA,N,M,Zl
COMPLEX AIN,HJ
At I ,Il•CMPLXIZ,B.BJ
All,Zl•CMPLK! •••••.• ,
A(2,1l•CMPLXt•·····•>
AIZ,Zl•CMPLX<Z •••• ,
IIETURH
END
SUBROUTINE MATHULTIA,B,Nl,Ml,NZ,MZ>
COMPLEX A!Nl,Mll,BIN2,H2l,C1
Cl•AI 1,1 l
Atl,li•Cl*B(I,ll + All,2J•B!2,ll
Atl,Zl•Ci•B<I,Zl + All,ZJ•BtZ,Zl
CI•AIZ,ll
At2,1>•Cl*lll,ll • AIZ,Z>•BI2,11
AC2,Zl•Cl*lll,Zl • A!Z,Zl*ll2,2l
RETURN
END
C PERFORMS THE FRAME ALIGNMENT FOR DESIGN OF THE LOW FREQ. COMPENSATOR
COMPLEX S,DEL,DET,XI2,2l,QI2,2l,BI56,2l,V12l,C12,2l,AIS6,21
COMMON XX1,XX2,RH11,RH1Z,RHZ1,RHZZ,RL11,RL12,RLZl,Rl22,ALPHA
DIMENSION YIZ,Zl
LOGICAL*4 WANTX
WANTX•. TRUE.
READIS,41 IS,XXl,XXZ,W,ALPHA,RHll,RHlZ,RHZ1,RHZZ,RLll,RLIZ,RLZ1,
RLZZ
PRINT S,W,ALPHA,RL11,RL12,RH11,RH12,RL21,RLZZ,RH21,RHZ2
CALL !DENT IC,2,2,1.61
C SET UP QISI
S•CMPLl<I •.• ,1Jl
CALL QSETIS,Ql
CALL IOENT 18,56,2,1.61
C CALCULATE THE EIGENVALUES AND EIGENVECTORS
CALL EIGENCIZ,Z,Q,C,V,WANTl<,Xl
Xl•CABSIV1111
XZ•CABSIVIZll
PRINT 1, Vlli,Xl,VIZI,X2,XI1,1l,XI1,21,XI2,1l,XI2,2l
IFI IS .EO. 1 >STOP
C NORMALIZE EIGENVECTORS
OEL•CSQRTIXIl,ll**Z + Xl2,11**21
OET•CSaRTIXI1,2l**2 + Xl2,21**21
AI 1,1 l•XI 1,1 1/0EL
All ,2l•X( 1,21/Dl':T
AIZ,l l•XIZ,1 !/DEL
AI2,21•XI2,2l/DET
C ALIGN THE REAL AND COMPLEX EIGENFRAMES
CALL ALIGN IA,V,ll
PRINT 2, Yll,ll,Yil,Zl,YI2,1l,YIZ,21
CALL CSLECD IA,2,B,2,DET,ILLI
CALL ALIGNIB,Y,Zl
PRINT 3, V11,1l,VI1,21,VI2,1l,VI2,2l
STOP
FORMATI//////lBX,'EIGENVALUESt',
* 2C/3.8'X,FB.2,' + ',FS.Z,' t C',F7.2,')'),///1P,
* 'EIGENVECTORSt',2(/3BX,2<13P,2CF8.3.' + ',F8.3,' I',
• 3X I I I I
2 FORMATI/1///ZBX.'MATRIX 8',5X.E1B.3.4X.E1B.3/33X,E1B.3,4X,E1 •• 31
3 FORMATI/1///ZIX,'MATRIX A',5X,E11.3,4X,E16.3/33X,E16.3,4X,E1 •• 3.
• /11/l/1//)
4 FORMATI12,3F5.1/9F8.3l
5 FORMAT11Hl,/////I,SX,'FREaUENCY •',F8.4///15X,'ALPHA •',FS.l,
* SX,'KL •',2F9.3,5X,'KH •',2F9.3/36X,2F9.3,9X,2F9.3>
END
SUBROUTINE ALIGNIV,V,M~
Table Al-Z
DET•DI1,1l*DIZ,Zl - 011,Zl*DIZ,1l
IFIABSIDETl .LT. EPSl~O TO s••
S I 1, 1 l • I CI 1, 1 l *0 I Z, Z l - CI Z, 1 l *0 I I, Z)) /OET
SII,ZI•ICII,ZI*DIZ,ZI - CIZ,Zl*DII,Zll/DET
SIZ,ll•ICIZ,ll*Dil,ll - Cll,ll*DI2,lll/DET
SIZ,Zl•ICIZ,Zl*DI1,ll - CI1,Zl*DIZ,1ll/DET
CALL ZEROZIC,Z,Zl
CALL ZEROZI0,2,2l
CALL ElGENPCZ,Z,S,EVR,EVI,C,O,INDl
lFIEVRI1l .GE. EVRIZllMM•l
IFIEVRIZI .GT. EVR11llMM•2
IFIM .EO. 21 Vtl,ll•CII,MMl
IFIM .EO. Zl VCZ,Il•CCZ,MMl
IFIM .EO. II YCI,ll•CI1,MMl
IFIM .EO. 11 Vll.21•CI2,MMl
If' CONTINUE
RETURN
Sf. PRINT 1/1, DET
RETURN
1• FORMATC////////,3X,'MATRIX IS SINGULAR',SX,E1 •• 4)
END
SUBROUTINE ZEROliA,Nl
DIMENSION AINl
1•• DO 111/1 I•I,N
AIIl•ll.ll
RETURN
END
SUBROUTINE ZEROZIA,N,Ml
DIMENSION AIN,Ml
00 IIIII 1-I,N
DO IIIII J • 1 , M
AII,Jl•ll./1
tn CONTINUE
RETURN
END
SUBROUTINE OSETIS,Ol
COMPLEX 012,2l,Ali511,Zl,BIISII,Zl,RKIZ,Zl
COMPLEX S,OET
COMMON XXI.XX2.RH11.RH12,RH2t,RH22,RL1l,RllZ,RL21,Rl22,AlPHA
DATA PI /3.141592654/
CALL IDENTIB1,5/1,2,1./Il
SO•SQRTIZ. l
RKil,ll•ALPHA*RLll/S + RHil
RKII,ZI•ALPHA*RLIZ/S • RHIZ
RKIZ,Il•ALPHA*RLZI/S + RHZl
RKI2,2l•ALPHA*RL22/S + RH22
AA•SO*COSIPI*XXIl
BB•SO*COSIZ.*Pl*XXll
CC•SO*COSIPI*XXZI
DD•SO*COSI2.*Pl*XX2l
011,1>•1./S + SO*AA/CS+PI**2l +SO*BB/IS+4.*P1**Zl
011,21•1./S- SQ*AA/IS+Pl**2l +SO*BB/IS+4.*Pl**2l
012,11•1,/S + SQ*CC/IS+PI**Zl +SO*DD/IS+4.*Pl**Zl
012,21•1./S- SO*CC/IS+Pl**Zl +SO*DD/IS+4,*PI**2l
CALL MATMULTIQ,RK,2,Z,Z.21
RETURN
END
SUBROUTINE IDENTIA,N,M,Zl
COMPLEX AIN,HI
All,1l•CMPLXIZ,f.lll
AII,Zl•CMPLXI/1./I,f,/ll
AIZ,Il•CMPLXI/1.6,11./Il
Al2,2l•CMPLXIZ,f./l)
RETURN
END
SUBROUTINE MATMULTIA,B,Nl,Ml,N2,M2l
COMPLEX AINI,M1l,BIN2,MZl,Cl
CI•AII,II
All,ll•CI*BII,ll + All,2)*812,1l
Al1,2l•C1*111,2l + All,2l*BI2,2l
C1•AIZ,l l
Al2,1l•CI*BII,Il + Al2,2)*812,ll
AIZ,Zl•Cl*lll,Zl + ACZ,Zl*l12,2l
II.ETURN
END
APPENDIX2
tt = !_ a=.!To • !!L
Pg =-
L Pr.o
~
r=L
Rt Y• = =o ·-~
c;,.- "Cp.
xro
tUg, u .... :M,
"6= - - vg=~ Mg =-
L u.., M&o
..
Note that in the following normalized equations the () is dropped from
.....
p8 , cp • and M8 and that
11
• M.,~·
P, = ai
....
p('=l
-r= -...- - 1
p('=O
r=1.0
<"=1.0
Note that the gas heat capacity, cp , gas density, pg. and gas velocity, Vg, are
1
Using a similar analysis to that for the energy balance of the gas and after
ae.
a:;=-=>-trs(9s-Bt)
Bas
r=l.O -a:;=-=>-"n(e.-e")
aes
r-o "'B( =Aszg( 9s-6 g)
Be.
-ar=>-szg(es-a8 )
(=0
(=:1.0
where
-388-
8y, = 0
Br
Aspect Ratios
Axial Dispersion
a. =
Dz
= --=
UIio
Radial Dispersion
a
-389-
a
fJm = =
Heat Transfer
u.L UtJ.,
?'. :;:
UaoYbPsCp1 ( 1-e) ?'ts = vtPtCptilg.,
U!!IL U!iL
?'g = llgoYt/5g/jP/ ')'tg :;:
VtPt,cPt'Ugo
Heats of Reaction
L( -6Hs2)"X8o 2Xl'{2ko 5
~ =
ilg.,Cp1 T0
Reaction Coetlici.ents
Biot Numbers
Xgas =~
kzs
Xazg =~
kq
Awn =
hwsRl
kn
Awrg = hwgRl
krg
-390-
Reaction Rates
5
(xH )· 15 x&kayR'y
Rw = p,( 1-e)P-t\~ 8
Rs = Ps( 1-e)X'&XHf:o5R's .
-391-
APPEND1X3
At the three radial collocation points r = ~ 0 • rc, and 1.0, let the gas tern-
peratures be a&o. a,!'. and a,l and assume that the radial profile is quadratic:
ae,
8r
l - Atrg(9
r-,o - ir..,o
-e)t
~ l
89 r-1 = -A,n.g(B&r-1-9,..)
where Atrg and Awrg are the dimensionless radial Biot numbers at the thermal
well and cooling wall, respectively. The profile must also be exact at the three
collocation points:
The expressions for di(~() in terms of air. at. and a,.. can be simply obtained by
applying Cramer's Rule. Let
-392-
Then
the dimensionless form of the energy equation for the gas becomes
where 9 8 and 8 11 are now the temperatures at the radial collocation point rc, and
Similar results are obtained for the energy balance of the catalyst using the
expression
The values ford;.(~~) in terms of 9~ar, 9t, and e, are derived as before. Let
-394-
Then
where
adequate since application of the zero fiux boundary conditions at r = 9'o and
resulting model, they may be necessary to accurately express the radial con-
APPENDIX4
DOCUM:ENTATION
packed bed reactor and to produce computer graphics of the various profiles on
grams, the necessary library routines and input data and the command
sequences for operation of the programs. This description is complete only for
the latest revision (version 4). All previous versions may have some major
di.fferences. This revision has been extensively tested under most expected
may still experience numerical solution difficulties in some cases, due to the
included so that the user can circumvent these numerical problems, but prac-
tice is necessary. In most cases, numerical difficulties will only occur during the
steady state solutions due in large part to very bad input profiles for the initial
guesses.
IIODELING ROUTINES
with the assumption that the packed bed may be treated as a continuum insofar
-399-
as changes occur smoothly and continuously Within each phase throughout the
bed. This assumption should be valid under the conditions of the methanation
reactor (Hlavacek, 1970) and allows for treating heat and mass fluxes in a form
the reactor bed. The model accounts for axial and radial dispersion of mass and
energy. for mole changes that occur along the bed due to the methanation reac-
tion, and for temperature. pressure, and mole dependencies of gas velocity. den-
sity, average molecular weight, and heat capacity, reaction rate constants, and
modeled, including axial conduction of energy along the well. Finally, the model
The primary reaction in the analysis is the methanation reaction with the
steam-shift reaction being the only significant side reaction. These reactions
expression for the methanation reaction for conditions similar to those in the
the steam-shift reaction is provided by Moe (1962). Although these rate expres-
sions have been incorporated into the computer model of the system. the pro-
grams are written in such a way that the rate expressions can easily be changed
• Physical properties of the solid catalyst and thermal well are constant.
• Heats or reaction and gas heat capacities are described as linear func-
tions of temperature.
This original model was coded into the programs 110DEL.YOR and DIST.YOR
to the model structure are coded into the following programs (also in
[RRK.MODl]).
It was concluded from these analyses that the first two assumptions may be
quite useful for later model reduction since they lead to minimal inaccuracies in
following conclusions.
a. The temperature dependence of the heat capacity has very little effect on
the simulations.
c. The central axial thermal well has little effect on the concentration
Finally, a very detailed and careful analysis was made concerning the radial con-
centration profile. The programs for this analysis are found in [RRK.CONC]. All
of these programs use the full nonlinear model with no additional assumptions.
A lengthy analysis concluded that the assumption of constant radial concentra-
tion profiles in the reactor bed leads to inconsequential differences in Lhe axial
Thus the final models described in this report include the additional
assumptions of constant heat capacity, negligible axial and radial mass diffusion
LA Solution Strategy
The basic relationships taken to describe the system are the continuity
equation, the energy balance for the catalyst, the energy balance for the gas,
the energy balance for the thermal well, mass balance for CO, mass balance for
C02 and relationships for the density and pressure changes. These equations
are first normalized With respect to the steady state inlet conditions.
profiles in the gas, catalyst and thermal well, the concentration profiles and the
domain.
A one point radial collocation is performed. This is quite accurate for tem-
profile. Since the assumed quadratic profile must satisfy the boundary condi-
tions and since the concentration boundary conditions are zero flux conditions,
the use of one point radial collocation implicitly assumes constant radial con-
centration profiles.
location in the axial direction. Since the position and number of points are the
only factors affecting the solution obtained by orthogonal collocation, any set of
gian polynomials of degree N based on the collocation points z.t are used in this
analysis.
along with eleven algebraic boundary relations, where N is the number of axial
continuity equation for the velocities as a set of algebraic equations, using tem-
perature values and temperature derivatives obtained from the solutions of the
allows for explicit solution of seven or the boundary variables. Thus the result-
The solutions _of the model are obtained using modified Caltech library rou-
solved using modifications of Caltech's routines NSESJ and NSES2. The first of
these uses the standard techniques of inverting the Jacobian matrix but calcu-
lates the Jacobian numerically rather than having it input by the user. The
ter routine but is not as numerically powerful as NSES2. The modeling pro-
grams are written to allow the user to specify which of the two routines to use to
calculate the steady state solution. The dynamic solutions always use NSESJ.
LB Modeling Prugra.ma
lyses. All of the programs have been extensively tested and are completely com-
patible. I.e., they use the same data tiles, calling formats and library routines
and have nearly identical output formats for easy comparison. All of the rou-
tines allow for completely arbitrary disturbances and step changes of the cool-
ing wall temperature, linear gas velocity, inlet gas temperature and inlet concen-
trations of the methane, carbon monoxide, carbon dioxide, water and hydrogen.
The routines are very modular, allowing for simple modifications and replace-
Difficulties may arise during some simulations due to very steep protiles or
disturbances. The collocation solution technique has problems with these situa-
tions since it assumes a smooth continuous protile along the system Sharp dis-
the calculated axial profiles. These problems can usually be reduced by increas-
The programs simulate the behavior of the model where the concentrations
are normalized with respect only to the inlet steady state concentration of CO.
This is better than normalizing with respect to the inlet steady state concentra-
tion of the indiVidual species in case one or more of the other inlet steady state
a. NLNIIOD
This program simulates the complete nonlinear solution of the system. The
efficiently obtain the dynamic and steady state reactor responses This vari-
able time-step procedure is automatic and involves increasing the time steps
as the system approaches steady state since the derivatives become smaller.
This program must be linked to MLIB and ILIB. A listing or this program is
b. LINMOD
This program performs the simulation for the linearized version of the
model, where the model is linearized about the steady state solution. The
program thus first calculates the initial steady state solution. based on a
user-defined initial guess. The program uses the standard numerical tech-
The linear system is of order 5N With the states being the solid tempera-
This program must be linked to III1B and UJB. A listing of this program is
~ 405-
c. ANAIIOD
This program performs the same simulation as LIN110D except that it uses
numerical solution. Thus it takes only a fraction of the solution t1me and
does not need the variable time-step analysis. The solution of the equations
This program must be linked to 1lLIB, EIJB and LIJB. A listing of this pro-
d. RDlllOD
This program performs the simulations for the reduced linear model using
in the gas and quasi steady state for the concentrations are used to reduce
the model to an order of 2N. The retained states are the solid temperatures
This program must be linked to 11L1B, EilB and LIJB. A listing of this pro-
e. RD2110D
This program performs the simulations for the reduced linear model using
the analytical s_olution. The assumption of quasi steady state for concentra-
tion is used to reduce the order of the model to 3N. The retained states are
This program must be linked to llLIB, ELIB and um. A listing of this pro-
LC Input Variables
The input variables are divided into groups and are described below. The
group names given between slashes are the names of the COMMON arrays that
the variables are stored in after they are read from the data file.
PT density (g/cm••s)
1- NSES1, 2- NSES2
READ 1. EPS,L,RO,R:
READ 1. CPS,PS,TC.DC
READ 1, CPT,PT,KT
READ 1, PTZ,PTR,UGS
READ 1, OHSG,OHTS,OHTG,BGS,BSG,BTS,BTG
READ 1. SCH4,SCO,SC02,SH2,SH20,PTO,PT1,STO,STW
READ 1, DH1A,DH1B,DH2A.DH2B,KO,KOP
READ 1. KP1A,KP1B,KP2A,KP2B,K2,K3,EA1,EA2
READ 2, DTO,TMAX.RR,DL.N,NP.NEP,IFI.AG,IF.NFLA.G
where format 1 is (9!8.2) and format 2 is (4f8.2/6i8). All of these variables may
not be necessary for all of the programs but to keep consistency in the input
Note: Two of the variables change meanings in the different programs so that
the values in the data tile do not have to altered and so that the outputs
of the programs will be identical. These are DTO and NP. In the pro-
taken very small (around 0.005 second) and then NP is set large so that
the profiles are only printed out for every five or ten seconds during the
simulation (i.e. NP= 1000). However, in the programs that are based on
the data files if you wanted to run say NLNliOD and then compare it to
ANAIIOD. To eliminate this problem, the actual time steps used in the
After this set of inputs, the user must specify the initial guesses for the steady
state calculation as per the type specified by IFLAG:
!FlAG= 0
format (6f8.2).
IFLAG = 1
cation point under the format (6f8.2) and then the solid tempera-
ture at z=O and z= 1, the gas temperature at z=O and z= 1 and the
the output). Thus these inputs can be directly taken from one of the
output profiles.
Then !lnally, the type of simulation must be entered. The next input JFIAG tells
what type of simulation is being run. This variable is entered under the format
(i2).
The step or disturbance vector is then input. The inlet gas velocity,
JFLAG = 1
This is to simulate the behavior of the system starting from any arbi-
trary profile to steady state. The entire profile should be input just as
in IFLAG = 1 above.
This data files performs a simulation of the system with a step change in the
inlet gas temperature from 573° K to 623° K. The simulation is for a stop rather
than a simple disturbance since DL is set to infinity. The output will show the
8 2000 -8 0 3 0
573.0 573.0 573.0 0.06 0.015 75.0
Some of the other variables and arrays used throughout the routines are
described below. The minimum dimensions of the arrays are based on the
modeling programs.
cc 5"'N Al"'(EX-IDENTITY)"'Q
ET 5"'N.5•N Al"'(EX-IDENTITY)
EX 5•N,5•N EXP(AA•DT)
YS state vector
The structure of the state matrix (Y) and steady state state matrix (YS) is
6N +5 Gas temperature at z= 1
2 inlet velocity
4 inlet CO concentration
5 inlet c~ concentration
6 inlet ~0 concentration
7 inlet H2 concentration
All quantities in the programs except the inputs are nondimensional. However,
the programs are hot based on deviation variables. Thus the form of the linear
model is
-415-
The analytic solution of this equation used by ANAIIOD, RDl.IIOD and RD2MOD is :
LE Program Outputs
The program output consists of displaying the input data, the program con-
ditions, the steady state conditions, and the axial collocation points. The initial
guess for the steady state solution is then shown with the calculated steady
state solution.
The simulated profiles are then printed at the specified intervals up to the
total time period. The final steady state, calculated by setting the time deriva-
tives equal to zero in the original simulation and solving the resultant system of
algebraic equations is printed. For the linearized cases, this steady state may
be significantly in error since the model was linearized about the original steady
state and since some of the variables such as MG and CPG are based on the
steady state inputs. For this reason. the 'Actual Steady State' is also printed.
Table A4-6 show the output using the above data file with TMAX = 5 for an
inlet gas temperature step change from 573° K to 623° K.
Several sets of library routines have been written for the modeling and plot-
routines. In these cases, the names are unchanged. The user may want to study
have been changed to clean up portions of the routines not needed in this work,
to reduce some o! the restrictions, and to work in double precision, the basic
techniques remain the same. These libraries are described below with brief
descriptions of the various routines in each library. All of these are found in
[RRK.lJBR].
UJB.FOR This library contains the many routines necessary for modeling the
reactor. All of these routines have been written specifically for the packed bed
model and are listed in Table A4-~f.
SETUPS reads the input data, makes preliminary calculations and prints
the inputs.
tions.
NEGCH checks a vector for any negative values. sets the negative value
ll.A PUB.FOR
the programs in this library are identical to those in MLIB except that they are
NAXS replaces the Caltech library routine for plotting the x axis.
NYAXIS replaces the Caltech library routine for plotting the y axis.
PWI"'1NG PROGRAIIS
Several programs have been developed for plotting various types of profiles
on the Zeta plotter. These programs all must be linked to PLIB. All of the rou-
tines have slightly differing input data structures. Thus it may be necessary to
study the programs before attempting to use them the first time. Many of the
IST - 0 if the data is the last line for the plot, 1 if more lines follow
The folloWing are the most useful programs. They are in [RRK.PIDT].
PLTA plots the axial temperature profiles, given the values at the col-
location points.
PLTC plots the axial concentration profile, given the values at the col-
location points.
PLTR plots the radial temperature profile given the values at the collo-
cation points.
PLTT plots the time profiles of the temperature using the spline rou-
Pf,TTC plots the concentration time profiles using the spline routines to
C LINK TO MLI8.LLI811
C THIS PROGRAMS SOLVES THE FULL MOMLIMEAR MODEL 1/ITII THE COIICEII~TIOIIS
C NONOIHENSIONAL 1/.R.T. THE STEADY-STATE INLET COliC. OF CO
IMPLICIT REAL•8 !A·M,O·ZI
lt£AL •8 l • 1<1' ,Mt:. kJI, KllP .ICP lA.KPII.ICCl •• KP2A,KP21,KC2. ,KZP ,IC3P
COMMON /REACP/ EPS,L,U,U
/CATLS/ CPS, PS, TC, DC
ITH\IEL I CPT, PT, KT
/GASP A/ CPQ, PTZ, PTII. ,Mil:, PGS, Uli:S, UM
/HEA TT I OHSG, OHTS, OHTI;, 8GS, BSGi, BTS ,ITIO, 1\/G, 1\/S
/OPCON I SCHl. SCO. SC02. SH2, SHZO. PT., PTI, ST., STII
/REACl/ DHlA,OH!B,OHZA,OHU,kJI,UP
/OlHi.E/ ALS ,ALG .AL T ,BES, BEGi ,GAS ,GiAIO ,lOTS ,;TG, OU,
DEZ, S II ,SIZ ,513 ,PHIZ, PHI3 ,PHI,PHZ ,PH3
/RADIAl \llUl,\/Pl9,2l,OETA!2l,kR
/COHAT/ AIZS,2Sl,IIZ5,ZSI,R<2Sl,N
/I'IISCI/ UUI l'*l
/R£AC2/ KC!ll. KP lA. KP II. KCZll .KPZA.KP21,K2P ,K3P, EAI,EAZ
/LINEA/ AA175,7Sl,BBI75,8l,DDI7Sl,UI8)
!STATE/ Vll.lll,YDOTIIll.l,ST,OT
EXTERNAL OUIV,FN
C READ IN DATA AND CALCULATE CONSTANTS
CALL SETUPS IOTI,TMAX,DL,M,U,EP,IFLAt;,NFLAI'O,NP,!Fl
CALCULATE THE DIMENSIONLESS PARAMETERS
CALL DIHLES
CALCULATE CONSTANn FOR THE RADIAL LUMPED MODEL
CAlL RADIAL
CALCULATE ZEROS OF THE ORTHOGONAL POLYNOMIAL AND SET UP AXIAL
COLLOCATION I'IATRICIES A AND B.
CALL COI.LOC
C SOLVE FOR THE STEADY STATE PROFILE
CALL INTLSS I Y, U,IFLAil,NFLAG ,L, Uli$, PHI,N,EP l
SPECIFY INITIAL CONDITIONS
OT•DTll
T•ll.OII
CALL INSIMNIY,U,UU,N,JFLAGl
PR !NT I
ST•UUIN+Sl
CALL NSESIIN+S,UU,EP,I.ll,I,FNJ
CALL OUTCALN lV,UU,Nl
CALL OUTPUT IY,U,T,L,UGS,PHI.lll
C IIIITIALIZE INTEGRATION ltOUT!IIE MODOEQ
LL•I
JJI•U
IIT•I
UZ
~tL MODDEQ CDEit!V ,IC,S 0 N, T ,,. ,YOOT ,DT ,£P)
SOLVE THE 5N O.D.E. 'S FROM T TO T+DT
Zlll NT•NT+ 1
CALL MOOD EO l DER IV ,K,5*N, T ,V, VDOT ,DT ,EP)
IF IK .EQ. -ll PRINTZ
IF IK ,£Q. •I l STOP
C SOLVE THE N+S ALilEBRAIC EQUATIONS AT TIME T•OT
ST•UUIN•Sl
CALL ffSESl~N+b~UU,EP,l •• ,.,FftJ
Table A4-1
Computer Program NLNJIOD
-422-
SUIROUTINE INSIMMIV,U,UU,M,JFLAI:l
C THIS SUilOUTINE INITIALIZES TME SIMULATION.
IMPLICIT R!AL•I IA-H,0-%1
REAL•& MG,MC:I
DIMENSION U18l,YIIII1,UUIII11
COMMON /GASPA/ CPG,PTz,PTR.HG,PGS,UC:S,UM
/OPCON/ SCH4,SCO,SC02,SHZ,SHZO,PTI,PTl,STI,STV
READ I 5 ,1) JFLAG
lf<JFLAii .~Q. IICALL INITIALIY,U,Il
IFIJFLAG .EO. 11110 TO 211
READ 15,21 UGJ,TI,XCO,XCOZ,XH20,XH2,XCH4,TV
CALL CPCALCIXHZ,XCO,XCOZ,XHZO,XCH4,TI,MQI,CP,CP!,CP2l
UM•MG./MG*ICPI*TI+CP%1/CPQ
U( I l •TW/STI
UIZ1•UGI/UGS
UI 31 •TI/STI
U14l•XCO/SCO
UCSJ•XCOZISCO
Ul6l•XHZO/SCO
U17l•XH2/SCO
U18 l •XCHHSCO
PRINT 3, CUill,l•l,II,UM
lll 00 311 l•l,N+&
311 VUCIJ•YCN*6+1)
RETURN
•oRNATe 12)
FORMATI9F8.Zl
FORMATI/1/,ZX,'INITIAl CONTROL VECTOla',//SX,'TV •',FI.4,1X,
• "UGi. •• ,F8.4,SX, 'T• •",F8.4.SX. ')(CO •' ,F8.4,SX,/5)(,
'XC02•~.F8.4,5M,'KHZO••,FI.4,6K,'XH2 •',FI.4,5X,'XCH4•'•
F8.4/SX,'UM •',F8,4l
END
CALL COLLOC
C SOLVE FOR THE STEADY STATE PROFILES
CALL INTLSSIYS,U,IFLAG,NFLAG,L,UGS,PHI,N,EPl
C CALCULATE THE COEFFICIENTS FOR THE LINEARIZED REACTION RATES
CALL LREACIYS,RLI,RL2l
CAll ASETUPIYS,Rll,Rl21
C SPECIFY THE PROFILE AT T•B
T•B.D.IY
CALL INSIMIY,YS,U,N,JFLAGI
PRINT 1
CALL OUTCALCIU,Y,YSIN*6•4l,ALGI
CALL OUTPUTIV,U,T,L,UGS,,H1 •• l
LL•B
JJ1•2.8'
NT•.f
DT•DT.f
z•2 K•t
CALL MOODEOIDERIV,K,S•N,T,V,VDOT,DT,EPI
C SOLVE THE SN O.D.E.'S FROM T TO T+DT
ZBB NT•NT+l
CALL MODDEQIDERlV.K,&•N,T,V,YDOT,DT,EPI
H!K .EO. -1 l PRINT 2
IFIK .EQ. -11 STOP
Table A1-2
Computer Program LIN][OD
-425-
Table A4-3
Computer Program ANAIIOD
-427-
CALL OUT,UTIY,U,T,L,U,S,,Hl,ll
C CALCULATE THE ANALYTIC CONSTANTS
LL•8'
IN•S'
212 CALL ANALYTIDT,N,INI
C SOLVE THE 5N O.D.E.'S FROM T TO T+DT
z•g DO z•3 l•l,&*N
YOOT!Il•CC!Il
DO 2.1J3 J•l,S*N
2.3 VDOTIIl•YOOTIIl+EXti,J)*YIJI
T•T+OT
DO ZJJ! l•l,S*N
211 Ylli•YDUTill
C ~RINT RESULTS AND CONTINUE IF T < TMAX
IF!Ll.EQ.8' .AND. T.GE.DLl GO TO 3••
CALL OUTCALCIU,V,YSIN*6+4l,ALGl
CALL OUTPUTIV,U,T,L,UGS,PHl,ll
!FIT .GE. TMAXl GO TO 41.1J
GO TO 2/11
C ADJUST FOR END OF IMPULSE
31. LL•l
DO 3.1 1•2,8
3.1 Ulll•l.OS'
Ul I l•PH3
PRINT 2, IT*L/UGSI
IN•Z
GO TO 28'2
C CALCULATE FINAL STEADY STATE
U8' IFILL .EQ. 1 .OR. JFLAG .EO. liSTOP
PRINT 1
CALL NSES115*N,Y,EP*1.D-1,111,1,FN3)
CALL OUTCALCIU,Y,VSIN*6+4l,ALGl
CALL OUTPUTIY,U,I.DS',L,UGS,PH1,21
CALL ACTLSS!U,Y,EP,Nl
CALL OUTPUT IY,U, •. D.,L,UGS,PHI,3l
STOP
1 FORMATIIHII
2 FORMATI/1//////,ZX,'ACTUAL TIME OF IM,ULSE END •',FI.4///////)
END
lFI!H .EO.
l~l!N
11 GO TO
.EO. 21 GO TO 3S6
z••
C CAlCULATE THE EIGENPROPERTIES
CALL Z£ROMISR,75,75J
CALL ZEROMI$!,75,75>
CALL 2EROVCEVR,75>
CALL ZEROVIEVI,75>
CALL MATCPVIAA,Al,75,75,75,?5,75,75l
CALL El~EHPI5*N,?S,Al,EVR,EVI,SR,SZ,lNDl
EXTERNAL FN3
C READ IN DATA AND CALCULATE CONSTANTS
CALL SETUPS !OT,TMAX,OL,N,RR,EP,IFLA;,NFLAG,NP,Ifl
l.H•OT•NP
r-•.o•
CALL INSIMIY,YS,U,N,~FLAGl
PRINT I
CALL OUTCALCIU,Y,YSIN•6+4l,ALGI
CALL OUTPUT!Y,U,T,L,UGS,PHI,.I
C CALCULATE THE ANALYTIC CONSTANTS
LL••
IN••
212 CALL REDUCEIN,INI
CALL ANALYTIDT,N,INl
C SOLVE THE &N O.D.£.'S FROM T TO T+DT
z•• DO 2•3 I•I,N
YDOn 1 >•ccc 11
YDOTII+Nl•CCIN+ll
DO 21!'3 J•I,N
YOOTIN•II•VOOTIN+II+EXII+N,Jl•YI~I+EXII+N,J+Nl•Yt2*N+~)
t•3 YOOTtl}•VOOTCl>•EKtl,J>*V(J)+EX<19J•N>•Vt2*M•J)
T•T•DT
DO 2•1 1•1. N
V!Z"N•II•YDOTIN+Il
Zll YIII•YDOTIIl
C PRINT RESULTS AND CONTINUE IF T < TMAX
IFILL.EO ••• AND. T.GE.DLl GO TO ~·
CALL OUTRAIY,NI
CALL OUTCALC!U,Y,YSIN*I+41,ALCl
CALL OUTPUTIY,U,T,L,U;S,PHI,II
IF!T .;E. TMAXI GO TO 4••
C:O TO 211
Table A4-4
Computer Program RDlliOD
-430-
1 FORMAT I IHI l
2 ~~HATIIIIIIIII,ZX,'ACTUAL TIME OF IMPULSE END •',FI.4/////f/l
~ETUIIN
END
c
C THIS SUB~OUTINE PE~FORMS THE PHYSICAL MODEL REDUCTION FOR
C USE VITH THE ANALYTIC SOLUTION.
c
IMPLICIT REAL"8 IA-H,O-Zl
DIMENSION TliSS,SSl,T215.,5Sl
COMMON /LINEA/ AA175,75l,88175,8!,00175l,UI8l
/REDLN/ ACI75,75l,AP!75,7&l,QPI7Sl,CII75,75!,C2175,1),
ACI 175, 75!
IFIIN .EQ. Zl ;o TO z••
"l:•l*M
H3•3*N
N4•.t•N
DO 1•11 I•l,N
DOIII•J•l.N
ACII.Jl•AAIN+I,N+Jl
ACII,N•Jl•AAIN+I,N3+Jl
AC I I ,NZ+J l•AAI N+I,NA+J l
ACIN+I,Jl•AAIN3+1,N+Jl
ACIN+I,N+Jl•AAIN3+1,N3+Jl
ACIN+I,NZ•Jl•AAINJ+I,N~+Jl
ACIN2•l.Jl•AAIN4•1,N+Jl
AC<N2•1,N+Jl•AAIN~+I,N3+Jl
ACfN1+1.N2+Jl•AAIH,+t.N,+J)
Tl!l,Jl•AA!I,N+Jl
T1 I I,N•J l•AA< I,N3+J l
Tl I I,NZ+Jl•AA< I,N4+Jl
Til N+l ,J l•AAI NZ+I, N+J l
T1 IN+l,N+J l•AAINZ+I,N3+Jl
T I I N•1, NZ+J l•AAI NZ+I, U+J)
T2(l,.J)•AAtN•I.J)
..
TZI I,N+J l•AAIN+I,NZ+Jl
TZ I N+1 ,J l•AAI N3+1 ,J l
TZIN+I,N+Jl•AAIN3+1,NZ+J)
, TZ!NZ+I,J l•AAIU+l,J l
TZ I N2•1, N+J) •AAI U+l, N2+J l
CALL MATCPVIT2,C1,5 •• 5/6,75,75,N3,N2l
CALL BNOINVCAC,Nl.JTtST)
CALL HATCPVIAC.ACI,75,75,75,75,N3,N3l
CALL MATMULTIAC,C1,75,7S,7S,75,N3,N2,N3l
CALL MATMULTIT1,AC,SS,SB,75,7S,N2,N3,N3l
CALL MATMULTIAC,T2,75,7S,S •• S•• NZ,NZ,N3l
DO 1•1 I•I.N
OU 181 J*l,Pt
API I,J l•AA! I,J l·TZI I,Jl
APII,N+Jl•AA<I,NZ+Jl-T211,N+J)
AP!N+I,Jl•AA!NZ+I,Jl•TZIN+I,Jl
APIN+I,N+Jl•AA!N2+l,NZ+Jl·T21N+I,N+Jl
~~~~~f,!ob!=·l>
TZIN+I,Il•DDIN3+1l
TZINZ+l ,1 l•DDIN4+1 l
Tl I I, ll•DDI ll
Tl!N+I,Il•DDIMZ+Il
DO 1•2 J•l,l
T2tl.ll•T2rt.ll+aRt••I.~l*UIJ)
TZIN+l,ll•TZIN•l,ll+BBIN3+1,Jl*U1Jl
TZINZ+I,Il•TZINZ+I,Il+IIIN~+I,Jl*UI~l
T1 I I , I l •T Ill, I l +181 I, J l •u I J l
TI!N+I,Il•TICN+I,Il+IICN2+1,Jl*UCJI
CALL MATCPYITZ,C2,S.,S.,75,l,N3,Jl
CALL HAiHULT(ACI,CZ.75,75,75.1,H3,1.H3)
CALL MATMULTIAC,TZ,75,75,S/6,5S,NZ,I,N3l
DO 1•3 I•I,NZ
QP! I l •TI I I, I l -TZ I I, I l
RETURN
END
SUBROUTINE OUTRAIY,Nl
IMPLICIT REAL•B IA-H,O-ZI
DIMENSION Yll •• l
COMMON /REOLN/ ACI75,75l,APC75,7Sl,QPI75l,Cll75,75l,CZI71,11,
.I.C1!7li. 76!
NZ•Z*N
N3•3"N
DO t••
N.4•4*M
l•I,N
VI I+Nl•-CZI 1,1 l
Vtl+N3l•-C:(H+J,1)
VII+N4l•-CZINZ+I,ll
DO 1. .J•I,N
YIN+Il•YIN+ll·CIII,Jl*YIJl•Clii,N+Jl*YINZ+J)
t•• YIN3+1>•YIM3+Il•CIIN+l,Jl*YIJl•CICM+I,M+Jl*YIM2+Jl
VUA+l >•YI N4•1 l•CII NZ•I,J I*YIJ) •CIIN2+ I, N+J l*Y! IIZ+J l
IETUU
£NO
/COHAT/ A125,251,81ZS,2SJ,RI25l,N
• /REACZf KCI6,KP1A,KPIB,KCZ6,KP2A,KP21,KZP,~3P,£Al,IA2
• /LINEAl AA175,7Sl,88175,8l,ODI75l,UI8l
fLAl~B/ Sl 4,4) ,HI 26 ,46l,R I I 26,4 l ,ALI7l
fEIGENf EVR17Sl,EV1175J,SRI75,7SJ,SII75,75J,Sial71,75l,
Sll I 75,75)
/ANLYT/ AI175,7Sl,EX175,75J,ET176,75l,CCI76l
/REDLN/ ACI75,7SJ,AP175,75l,QPI75l,C1175,75l,C2171,1l,
ACII75,7SJ
EXTERNAL FN3
C READ IN DATA AMO CALCUL•T• CONSTANTS
CALL SETUPS IDT,TMAX,DL,N,RR,EP,IFLAG,NFLAG,MP,IFl
DT•OT•NP
C CALCULATE THE DIMENSIONLESS PARAMETERS
Table A4-5
Computer Program RD2110D
-433-
...
C CALCULATE FINAL STEADY STATE
IFILL .EO. I .OR. JFLAI: ,£Q. IISTOP
PRINT I
CALL NSESII&*N,Y,EP*I.O•Z,I •• , •• FN31
CALL OUTCALCIU,Y,YSIN*6+4l,ALGI
CALL OUTRAIY,NI
CALL OUTPUTIY,U, •. O.,L,UGS,PHI,2l
CALl ACTLSS(U.Y,EP,")
CALL OUTPUT IY,U ••• D•• L.UQS,PH1,3l
STOP
I FORMAT I IHI l
2 ~~MATI////////,2X,'ACTUAL TIME OF IMPULSE END •',FI.&///////1
SUIROUTINE REDUCEIN,INl
C THIS SUBROUTINE ,ERFORMS THE PHYSICAL ~DEL lEDUCTION FOR
C U~E WITH THE ANAlYTIC SOLUTION.
IMPLICIT REAL"8 (A-H,O-Zl
DIMENSION Tli56,Sil,T2151,51l
COMMON /LINEA/ AAI75,7Sl,88175,8l,DDI7Sl,U18l
IREOLN/ AC175,7Sl,AP!75.751,QP175l,Cll7&,7&l,CZI71,11,
ACI!75,75l
c:
IFIIN .EO. 21 G:O TO 216
HZ•Z•H
N3•3*N
N••4•N
00 liB l•l,N
00 1 (fB ._1• 1 , H
ACI!,Jl•AAIN3+1,N3+Jl
AC!l,N•Jl•AA(N3+l,N4+Jl
ACIN+I,Jl•AAIN4•l,N3+Jl
ACI N•l ,N+J l•AAI N4+1 ,U+J)
T! I I , J l •AA I I, N3+J l
Tlli,N+Jl•AAII,N4+J)
Tl ( N+l.J )•M( N+l,Nl+J)
Tl(N+l.N+J)•AA<N•I.N4+J)
Tl!NZ•I,Jl•AAINZ+I,Nl+Jl
Tl ( NZ+ I .N+J) •A.A( N2+1 ,N4+J >
T2 I I , J ) •AA I N3 +I , J l
TZ! l,N+J l•AA!Nl+l ,N+Jl
T211.N2+Jl•AAIN3+1,N2+Jl
TZCN~t.J)•AA("•~J.J)
TZIN+l ,N+Jl•AAIN4+1 ,N+Jl
lll T21N•l,NZ+Jl•AAIN4+l,NZ+Jl
CALL MATCPVITZ,Cl,S1,56.75,71,N2,N3l
CALL BNOINVIAC,NZ,lTESTl
CALL MATCPV!AC,ACI,7S,75,75,75,NZ,NZl
CALL MATHULT!AC,C1,75,75,7S,7S,N2,N3,N2l
CALL MATMULTITl,AC,56.56,75,75,NJ,NZ,N2l
CALL MATMULTIAC,T2,75,75,51,51,N3,N3,N2l
DO 1*1 l•l,Nl
00 l.fl J•l,N3
Ill APII,Jl•AA!I,Jl·TZ!I,Jl
Zll DO liZ l•l.N
TZI 1,1 l•DDIN3+1 l
TZIN+l,ll•DDIN4•ll
Tl I l.ll•DD!I l
Tl IN+ I , 1 l •DO ( N+l l
T!INZ•I,ll•ODINZ+Il
DO Hl2 ,J•t ,9
TZI 1,1 l•TZI 1.1 1+1111 MJ+l ,JI*U(J l
T21N•l,ll•T21N+I,Il•BBIM4+I,Jl*UIJI
T! I l • I l • T 1 I I ,! l +88 I I , J l * U I J )
Tl IN+!, I l•Tl IN• I, I l+BBI N•l ,Jl*UIJl
t•z T!IMZ+I,li•Tl!NZ•I,ll+IBINZ+I,Jl*U!Jl
CALL MA~CPV<T2.C2,S.,, •• 7&,1,N2,1)
CALL MATMULTIACI,CZ,75,75,75.l.NZ.I,MZl
CAL~ MATHULTIAC,TZ,75,75,$1,51,N3,l,MZl
DO 113 1•1. N3
113 QP!Il•T! I I. I l-TZII, I l
RETURN
£NO
SUBROUTINE OUTRAIV,Ml
IMPliCIT REAL*B IA-H,O-Zl
DIMENSION Y!111l
* COMMON t•EDLN/ :~li~s~~~jAP!?I,?Il,OPI?Il,CII7$,1Sl,CZI7S,Il,
N2•2*N
M3•3*N
NA• .. •N
e?z!!:,!:~i~t.ll
. VII+M41•-C21M+I,II
00 1•1 J•l ,N3
YIN3+1l•YIN3•11-CIII,Jl*V!Jl
11• YIN4+1l•YIM4+1l•CIIN+I,Jl*V!Jl
RETU~N
ENO
INPUT DATA•
PROGRAM CONDITIONS•
TIME STEP • 1.11151
MAXIMUM TIME • 5.1111
DISTURBANCE LENCTH • 1119191.1111
RADIAL COLLOCATION POINT • 1.5111
NO. AXIAL COLLOC. POINTS 8
ACCURACY OF CONVERGENCE • 1.111£-18
INPUT FLAG • I
NSES FLAG 1
MAX VALUE OF DT • 1.1861
Table A4-6
Sample Output From Program NLN1IOD
~ 436-
INITIAL ;uESSESt
Til •
XC02•
UM
l.IUII
•• 25118'
1 .• 152
UIOI •
l<H20•
~.
1.3333
.... Tl •
l<H2 •
l<CO • 1.1118'
XCH4• 111.11111
TIME •
••••••
lOA$ SEC
TEMI'EilATUilE SOLJD TEMI'EilATUilE
It • It· It • RR It • Ill It • It· It • llR It • Ill
1 •• 285lJ 1.62376 1.111623 1.63254 1.62226 1 •••613
1 ••6635 1.lJlJ61lJ 1.lJ.U2 1.lJB828 1 .61156 1.••u2
l.lJ2313 1.1121116 1.111496 1.BZ626 I .lJ2654 1 . . . 868
I .lJ4569 l.lJ4163 1 .62958 l.lJ49711 1.114766 1 •• 1564
t.AJ6272 1 • .8'67ll'8 1.B4.8'55 1.BH34 1.B62Bll' 1 .B1962
I .lJ7254 1.116U5 1.114693 1.117731 I .1171142 1.112219
1. lJ7361 I .B6697 1.lJ4757 1.117922 1.1171163 1.112218
1.117227 I.S6578 1.114673 I .117662 1.1169.8'5 I • .8'2167
!.1171111 1.116365 1.114518 1.117449 I .1166U 1 •• 21184
1 .1171128 1 • .8'6377 1 • .8'4525 1 • .8'73711 1..8'6U7 1.111992
IIELL TEMP. CO CONC. C02 CONC. VELOCITY
1 • .8'349.8' .8' . .8'6. . . . . .8'.1115.8'11. . 1.11BBIIII
1 . . . 549 11 • .8'596589 ••• 1561211 11.98479
1.112324 ll.lJ573679 ••• 151151 1 .11.8'76.8'
l.lJ45BZ ••• 543331i ••• 152437 I .AJ4Z34
1.8'63.8'9 .8'.1149471111 11.11154779 1.117639
I .117288 11.11455.8'3.8' 11.11156721 1.1S7B8
1 • .8'74118 •• 114118511 11 • .8'159.8'25 1. 128.8'6
1 .8'7265 11 • .8'399488' 8'.8'16lJ245 !.lUll
1 • .8'7.8'93 11.8'3711699 • • 111613117 1. 15173
1 • .8'71 23 ••• 368712 .8' • .f16U21 1.15459
VT•Pt•Ft.f**Z*L
VB•P1*L*tkl**2·~••*2}
u•L/DC
AR•RI/OC
AO•L/P.I
EMI•I.BO.f-EPS
ALS•TC/tPS*CPS*EMI*L*UQSJ
ALG•I.DB/tPTZ*EPS*azl
ALT•KT/{PT*CPT*L*U~$)
8ES•ALS*l**2/R1**2
BEG•AO/PTRIEPS/AR
GAS•OHSG*l/(VB*PS*CPS*EMl*UGSl
GAG•OHSG*L/\VB*PGS*CPG*EPS*UGSJ
GTS•OHTS*L/\VT*PT*CPT*VGSJ
QTG•OHTG*L/tVT*PT*CPT*UGSl
OEl•~LwDH10•<PTS•SCO>••(£XPA•EXPB>•KeP/CUGS•C~S•ST•>
DEZ•-L•OH2B*SCO*•Z*KB/tUGS*CPS*STBl
SII•MG*PS*EMI*\PTB*SCOl**\EXPA+EXPBl*K.fP*L/(£PS*UGS*PGS*SCOI
SIZ•MG*PS*EMI*SCO*K.f*l/lEPS•u;s•PCOSJ
513•512
PHI2•DHIA*STB/OHIB
PHI3•0H2A*STB/OH28
8\114•BTG
BVS•BTS
PHI•RB/RI
PHZ•PTI /PT.f
PH3•STW/STB
RETURN
END
Table A4-7
OTJJ•OTB•VGS/L
TMAX•TMAX*UGS/L
DL•OL•VGS/L
RR•ll.OB-RB/Rli*RR+R./RI
EAI•EAI/RGP
EAZ•EA21RGP
RETURN
I FORMATI908.21
2 FORMATISF8.2,/618l
3 FORMATllHI,////,3X,'INPVT DATAr',///9X,'REACTOR PARAMETERS',eX,
'CATALYST PARAMETERS',6X.'THERMAL WELL PARAMETERS',!/
9X, 'EPS •' ,EIZ.~.9X. 'CPS •' ,EI2.~.9X,'CPT •' ,£12.4/
9X,'L •',El2.4,9X,'PS •',EIZ.4,9X,'PT •',E12.4,/
9X,'RB •',E12.4,9X,'TC •',EI2.4,9X,'KT •',EIZ.4/
9X, 'RI •',EIZ.H////6X,
'HEAT TRANSFER PARAMETERS',I9X, 'REACTOR PARAMETERS'//
9X, 'OHSG •' ,EIZ.~.9X, 'OHIA •' ,EI2.~,9X, 'EXPA •' ,£12.4,/
'X, 'OHTS •' ,£:12 • .& ,IX, "OWl I •' ,£12. 4. 9)(, '£)(PJJ: • ' , £12. of. .I
9X, 'OHTG •',EI2.4.9X,'OH2A •',EI2.4,9X, 'EXPC •' ,E!2.~,/
9X, '&GS •' .EIZ. 4, 9X, 'OHZB •' ,EI2. 4, 9X, 'KP2A •' ,EIZ. 4,/
9X, 'BSG •',EIZ.~.9X,'K.f •',El2.4,9X, 'KPZB •',El2.~,/
9X,'8TS •',E1Z.4,9X,'k6P •',El2.4,9X,'K2 •',E12 .• ,/
9X,'BTG •',El2.4,36X,'K3 •',Et2 •• /
9X,'PTZ •',El2.~,36X,'EAI •',ElZ.V
!x,•PTR •".E1Z .• t36X-"EAZ •".E1Z •• )
4 fORMATl////,3X,'PROGRAM CONOITIONS•'//,9X.
'TIME STEP •',F8.4,/9X,'MAXIMUM TIME •',F8.4,/9X,
'DISTURBANCE LENGTH •',Fl5.4,19X,
'RADIAL COLLOCATION POINT •',F8.4,/9X,
'START TIME lHRSl •',FIS.4,/9X,
'NO. AXIAL COLLOC. POINTS •',I~,/9X,
'ACCURACY OF CONVERGENCE •',ElB.J,/~X,'INPUT FLA~ •',14
/9X,'NSES FLAG •',!4,/9X,'MAX VALUE OF DT •',F8.4)
S FORMATI////,3X,'STEADY STATE CONDITIONSo',///,9X,'XCH4 •',
El2. 4, 9X, 'T.f •' ,E!Z.4, /9X, 'XCO •' ,El2. 4, 9X, 'TW •',
E12.4,/9X,'XC02 •',E12.4,9X,'PTB •',EI2.4./9X,'XH2 •',
El2.4,9X, 'PTl •' .EJ2: • .4,/9X, 'XHZO •',El2:.A,9X, 'HG •'
£12.4,/!X,'UG. •'.ElZ.4,,X,'CP; •',EIZ.4l
uo
SU8ROUTI"E ~ADIAL
liP l t, I I• t PHI*Sl·l. D•l • I S2+2 .OBI •($2+1. 0f)•IPHI .. 2*S 1-2. o••PMI I
11Pt2,ll•St•tS2•1.Dfi"RR**2·SI"RR*IS2+2.Dfl
IIP13,ll•tS2*RR*IPHI*"2"S1·2.D••PHil•S2*1PHl*SI·I.OlJl•RR""2)
WP(4,I••S2•(PHt**2*S1-2.D.*PHl>•Sl*(S2•2.0.)
IIPIS,ll•St•tS2•2.0Sl-St•SZ*RR••z
IIP16,1l•tSI"S2•RR*"2-S2"1PHl**2"SI•2.06"PHill
IIP17,11•Sl•ISZ+I.D·l-SZ*IPHI"Sl-I.Ofl
11Pt8.1l•RR"SI*$2•SI*IS2+l.DBl
\IPI9,11•l$2•tPHI*SI·I.DBl·RR•SI*SZl
Ill 1•1"3-3 l• 14. OIJ*IIPI 7, 1 l+IIP 14, l l /RR l"U/OETAl l l-S3
W( l-tl '*3•3 )•\., OB'"''w'P (8 • 1 }+\JP ( '$ ~ t > /AR )•$<4/0ETA( l l
lll3+1"3·3l•t4.01J"IIP!9,!1+\IPI6.1l/RRI*S4/DETACII
II( Hl·l ) •SS• I liP ( I , I l +liP! 4, l l •P HI +liP 17, I l •p Htnz l /DETAt I I
111,•111 9l+S5*!\IPI 2,1 )+1/PIS,I l*PHl•IIPl8,1 l*PHI"*21/DETAI I l-SS
II ( llJ l •Ill IJ!'l +SS• I liP l 3, I l +1/P t & , I I *PH 1•1/P! 9, I I *PH I ""2 liD ETA( I l
IF!I .EO. ZIRETURN
1•2
S I•BTG
SZ•BIIG
S3•GAG
S4•8EG
SS•GTG
;o TO lfB
ENO
SUBROUTINE FNZIKK,Y,VI
C THIS SUB~OUTINE DEFINES THE AL;EBRAIC EQUATIONS FOR USE BY NSES2
IMPLICIT ~EAL"8 !A·H,O-Zl
DIMENSION Y!ll.fl
COMMON /AlGEB/ Al!6.fl,A214l
/COMAT/ Al25.25l,BIZ5,25>,R<25J,N,I8
/DIMlE/ ALS,AlG,ALT,BES.BEG.~AS,,A,,GTS,GT;,OEI,
DE2.Sll.SlZ,Sl3,PHIZ.PH13,PHI,PH2,PHJ
/RADIAl \l!l.fJ.\/Pt9,Zl,OETAIZI,RR
/HEATTI UH~~,OHTS,OHTG.IGS,I$G,ITS.ITQ.8WG,8W$
NP2•H+2
N2•N*Z
trt3•N*3
"4•N*'
NS•S•N
fii6•N*6
TAU•PH2-l.DI
CALL EHOPTS tTTI,Ylf,VINPI,YZI,YZN'l·TT"Pl,Y,UG.fl
V•/6,01
IF IKK .GT. N51~0 TO Z.f.f
If IKK .;T. IUJ>;O TO 111
I ' !KK .~T. N3lCO Tn 1211
IF IKK .GT. N2l~O TO 13/6
IF !KK .GT. N>;o TO IU
I•KK
I Pl•l+l
PT•TAU*RI!Pll+l,O.f
CALL REAC tVtN3~t).YtN,+l).V(J).VCM•l),PT.~1P.l2'>
SI•SUMIY,I.B,V!N6•21,VIH6•31.1,NI
V• AL.S•Sl • Wll>*Vtl) + \/t2J*Y<N2+1) • (i;AS*VOf+J)
• + OE!*RIP*II.D.f+PHIZ*Yilll + OEZ*RZP*II.O.f+PH!3*YIIJJ
tt + Wt3)*ftH3
RETURN
!U I•KK•N
IPI•l+l
PT•TAU•R!IP!l+!.Df
S2•SUMIY,N,A,YIN6+4l,YIN6+5l,I,Nl
S3•SUMIV,N,B,YIN6+4l,YIN6+5l,I.Nl
V• -YINS+ll*SZ + IALG*SJ + Wl4l*YIN+Il + W15l"YINZ+Il
+ ;A,*Yill + Wl6l"PHJI/PT"YIN+Il
I F'TUIN
131 I •KK•N2
S8•SUMtY ,N2 .B.I.fOI, TTNPI, I, Nl
V• ALT*SB + W171*YIIl + W181*YIN+Il + W19l"YIN2+ll
+ WI lfl*PHJ
RETURN
121 I•KK•N3
IPI•l+l
PT•TAU*RIIPil+l.Of
CALL REAC IVIN3•Jl,VIN4+Jl,YIIl,YIN+Il,PT,RIP,RZPl
S4•SUMIY,NI,A,Ylf,YINP!.I,Nl
V• •YIN5+ll"S4 + SIZ*YIN+!J•R2P/PT • SII*YIN+ll*RIP/PT
llETUilN
lllJ l•KK•U
IPI•I+l
PT•TAU*RIIP!l•l.OlJ
CALL REAC IYIN3+ll,YIN4+1l,Yill,YIN+!l,,T,RIP,l2Pl
S6•SUMIV,N4,A,Y2f,VZNP!,l,Nl
RETURN
ZflJ K•KK•IIS
KPI•K+l
!FIK .LE. N+ll GO TO Iff
L•K·N·l
IF IL .EQ. ll V•SUMIY.f.A.YIN6+Zl.YIN6+3),f,Nl+B~S*IYIII6+4l
-YIN6+2ll
IF IL .Ea. Zl V•SUMIY,f,A,VIN6•Zl,YIN6+3l,N+l,Nl+B'S"IYIII6+3l
-VIN6+Sll
IF (L .Ea. 3l V•SUMIY,N,A,VIN6•4l,VIN6+Sl,lJ,Nl+BSG*IYIN6+Zl
·YIN6+411-Il.Df-I.Df/VIN6+4ll/AL;
IF IL .Ea. 4l V•SUMIV,N,A,VIN6+4l,VIN6+SI,N+l,Nl+BS;•!YIN6+5l
-VlN6+3))
RETURN
Iff IF IK .Ea.
N+ll V•YINS+Kl"VIN6+5l*TAU/ITAU+l.Dfl+VIN6+SJ•
SUMIY,NS,A,UGf,VIN6+1l,K,Nl·YINS+Kl*
SUMIV,N,A,VIN6+4l,YIN6+5l,K,Nl
IF IK .NE. N•l l V•YINS•Kl*YIN•KI*TAU/IRIKPI l*TAU+l.Dfl+YIN+KI•
SUH(V,NS,A,UQS,V<HG•1J,K,H)-V(H5+K)*
SUMIY,N,A,YIN6+4l,YIN6+Sl,K,Nl
RETURN
END
~URROUTIN£ LREAC!YS.RLI.RLZI
C THIS $UBROUTIN£ CALCULATES TME COEFF!C!EWTS FOR TNt
C LINEARIZED RATES.
IMPLICIT REAL*8 CA•H,O-ll
REAL*8 KPZA,KPZB,KCZB.KIP,K2P,KPZ
OlMENStO,. Dltftr;,ql,tl'1'tt§.q).VStl••>
COMMON /OPCON/ SCH~.SCO.SCOZ,SHZ.SHZO,PTJ.PTI.STJ,STV
/~EACZ/ EXPA.EXPB,EXPC.~CZI.KP2A,KP28,KIP,KZP,EAI,EAZ
/COMAT/ AC25,25l,8125,2SI,RC251.N
/LINEAl AAI 75,75 I .89175,8 I ,DOC 75 I ,Ul 81
DATA fi,FZ /J.8301,J.I70B/
DO 1611 f .. l,K
YI•YSI3°N+ll
V2•VS14"N+Il
TS•YSC I)
T'•YSIN+I I
PT•CPTJ/PTJ•I.OBI*R!l+\l+\,DJ
"ti•$i.•TS•T$
KPZ•OEXPCKP2A+KP2B/T$/STJI
THI•SCO*IUI41+UCSI-YI•Y21
THZ•SCO*CUCSI-VZI
TH3•1.01-2.0B*THI
VH2•1SHZ-J.OI*THI-TMZI/SCO
VHZO•ISHZO•THI•THZI/SCO
YCH••!SCH4+THll/SCO
PA•Pi•TH3
AAA•l.DI+KIP*PT"Yl+KZP*PT*YHZ
RLII!,II•OEXP!-EAI/STJ/TSI"PT**CEXPA+EXPBI*YHZ**EXPS*Yl**EXPA
tAAA•*EXPC
RLlll.Zl•RLICI.Il*EAI/TT
RL1ti.3)•RLlCJ~l)*(J•EXPB/YHZ+EXPAtYl-Ex'c•,r•{~l,+J•~zPJrAAA>
RLICI,~I•RLICI,II*C4*EXPB/VH2•4*EXPC*K2P*PTIAAAl
RLJ!I,Sl•RLIII,Il*C-l*EXP8/VHZ+3*EXPC•~zP•PT/AAAl
RLJII,6l•RLI!l,li*C·A*EXPB/VH2•A*EXPC*KZP*PT/AAAI
RLI I I. 7l•B. DB
RLICI,Bl•RLICI,II*CEXP8/YH2·£XPC*K2P*PT/AAAl
R lt ( t • g) · • . o•
AM•F 1 +f:'2•PA*PT.f
CC•AAA*OEXP I -EAZISU/TS I!TH3/TH3
DOD•J.og•vz•~CZB*Yl/KPZ
£E•4.og•VZ+Z.OI*KC21*Vl/KP2
RL2CI,li•IYI*YHI-KCZI/KPZ*VI*YH201*CC
8BB•\2.Dg•rz•~TM•PiJAAA•4.DS!TM,>*RL2(!.l)*~CO
RLZII,Zl•RLZII,Il*EA2/TT-KC2B*Yl*VH20*KPZ8*CC/KP2/TT
RL211,3l•BBB•CC*IDOO·KCZI*YHZO/KPZl
RLZII,Al•BBB•CC*CEE+VH2l
RlZII,Sl••BBB-CC*OOO
RLZII,6l•·BBB·CC*EE
Rl211,71•·CC*KCZB*YI/KP2
RLZ(l.I>•YZ•tC
Rl211,91•1.101
Ill CONTINUE
II.ETUIIN
EMO
IUI~OUTINE .SETU,!Y,lLI,lL%1
C TMIS SUBROUTINE SETS UP THE STATE MATRIX 'A', CONTROL MATRIX 'I' AND 'D'.
IMPLICIT REAL*8 IA-H,O-ZI
llEAL•e MG
DIMENSION VI l.l'.e'l ,RL 11 15,9 l ,RLZI l S, 9), F 121, Z.l'l ,QIC, 2.1', 2.1') ,P!Ul
COMMON /LINEA/ AAI75,75l,BBI75,8l,00!7Sl,U!Bl
/LAL;S/ SI4,41.HI2.1',4.1'1,RI!Z.I',41,AL!71
/OIHLE/ ALS,AL~.ALT,BES,BEG,GAS,;A~.GTS,GTG,OEl,
DEZ,Sil.SIZ,SJ3,PHIZ,PHI3,PH1,PHZ,PH3
/RADIAl Ill llJI,\oiP!9,2l,DETAIZI,RR
/COMA'f/ AIZ~.Z~I,81Z5,Z51,RIZ5l,N
/GASPA/ CPG,PTZ,PTR.HG,PGS,UGS,VH
/OPCON/ SCH4.SCO,SC02,SHZ,SHZO,PTIJ,PTl,STIJ,STII
/HEATT/ OHSG,OHTS,OHTG,BGS,8SG,8TS,8TG,811;,8\IS
NPI•N+I
NPZ•N+Z
HZ•H*Z
N3•N*3
N4•N*4
NS•N•S
H6•N*6
TAU•PHZ·I.DIJ
SCOZB•SC021SCO
SCHH•SCH4/SCO
SHZB•SH2/SCO
SHZOB•SHZO/SCO
CALL CPCALCISHZ,SCO,SCOZ,SHZO,SCH4,STJ,M;,CPG,CPGI,CPGZI
C CALCULATE THE S MATRIX
Ml 1,1 I•BGS-AI 1,1 l
MII,ZI•·Ail,NPZI
AAI !,3l•·8GS
AAil,4l•lJ.DlJ
AAIZ,Il••AIHPZ,Il
AAIZ,ZI•-AINPZ,HP21·BGS
MCZ,3)•1.DI
MIZ,4 l•BGS
AAIJ,Il•·BSG
AA13,2l•.I'.DIJ
AA(3,3l•I.DIJ/ALG/YIN6+41""2+8SG•AII,Il
AAI3,4l•·At I,NPZl
AA!4,1 l•.I'.D.I'
AAI4,ZI•DSG
AA14,3l•·A!NP2,ll
AAI4,4l•·AINP2,NP2l-8SG
CALL BNOINV IAA,4,1TESTl
CALL HATCPV IAA,S,75,75,4,4,4,4l
C CALCULATE THE F AND H MATRICES, ALONG WITH MATRIX Q
DO 2.1'1J l•l,NPI
Ul PI I l•TAU"RI 1+1 l+t,l)•
ALL•TAU/P!NPll"YIN6+1l+SUH<V,NS,A,UGIJ,Y!N6+1l,NPl,Nl
DO lflJ J•I,N
JPI•J+l
=~==:~::::::}:~=:::=:~::::::~:::3=::
S3•SI3,3l 0 AII,JPil+S(3.4)•A(NPZ,JPll
S~•SI4,3l•A<l,JPI)+SI~,Il*AINP2,JP1l
DO 1.1'1 l•l,N
lPI•I•l
HII.Jl•ISI*AIIPI.ll+SZ*A!J,I.NP2ll•VtNS+Il
HI!, N+J l •I AI IP I,JP I l+S3*AI IP I ,I l+U 0 AI lP 1 ,NP2 l l*YINS+l!
Ql I,I,Jl•ALG/PI I l 0 III!PI,l l*Sl+IIIP1,NP2>*S2l
QIZ,l,Jl•·AI !P1,1 l*Sl•A( lPI,NPZl 0 SZ
Ql 3, l , J l •ALI:/P I I l • I 8 I I PI ,JP I l •B I I PI, I l 0 $3+8 I l PI, NPZ l *S4l
Ql 4, l , J l •·All PI •JP 1 l ·AI I P1 , I l *S3·A< I PI , HPZ l *$4
Ill AAil.Jl•YIN+ll*AIIPI,JPil
4AtMPt.J>•VfN6+S)•A(NP2.J,l)
AAIJ,Jl•AAIJ,Jl+TAU/P!Jl*YIN+Jl•SUHIY,N,A,VIN6+4l,YIN6+5l,J,Nl
HIJ, N+J l •H I J, N+J l -TAU/PI J) *VI NS+J !·SUM! Y, NS ,A, UG.I', VI N6+ 1) ,J, Nl
HINP I,J l•ISI•AI NPZ ,I l•SZ*AI NPZ ,NPZ l l"YI N6+ I l·ALL"SZ
HINPl,N+Jl•IAINP2,JP1l+S3*AINPZ,Il+S4*AINP2,NPZll 0 YIN6+1l•ALL*S4
AAIJ,NP1l•YIN+Jl•AIJPl,NPZl
11• CONTINUE
AA<NPl,NPl>•V(HG+S)•(AtNPZ,N,2>•TAU/P(NP1))-SUH(V,H.A,V("S+4),
YIN6•5l ,NPI ,Nl
CALL 8NDINV IAA,NPI,ITESTI
CALL HATCPY IAA,F,75,75,Z.I',2.,NPI,NPll
CALL HATMULT(F,H,2•• 2•• Z.,4.,NP1,N2,NP1l
IBCI,Il••ST*ALS"$3
IB! I ,Zl•U! I, I l
88!!,3l•ALS*S3/ALG/YCN6+4J
DO 31611 J•4,8
BBCI.Jl•DEI*RLICI,J+ll*SI+OEZ*RLZ!I,J+ll*SZ
98{ N3+ I ,V }•( SI:Z:.,.RlZt I ,\1+ 1 > ··Sll ~1\L 1 (I ,V+l) ).,..$6
3.11 BBCN4+l,Jl•·SI3*RLZ<I.J•ll*S6
BBCN+I,Il•-VCN+Il*ST3·CV!4l*Y!N+Il+VC5l*Y!NI+Il•GAQ*V!II+VC&l*
PH3•<AB•STI*ALG*S4l*S6+ST*YCN5+ll"S5•RI!I,3l*STT
BB!N•l.Zl•R!Cl.21*STT·ST*S6*AL~*S4•ST•YCN5•li*S5
B8CN+l,31•CS4*S6·Y<NS+II*SS/ALGI/Y!N6+41+RI!l,4l*STT
BB<N2•!.3J•ALT*CBC!1,11•8(11,NPZI*ACNP2,1J/ACNPZ,NPZII
BB~NJ+l.lJ•-Rltl.:JJ•~tl
88CN3+1,Zl•·R!CI,21*STI
BB<N3+1,3J•·RICI,4l*STI
BB!N3+1,4l•B8CN3+1,4J-Y!NS+II*(ACI!,II-A!NP2,11*A!Il,NPZJ/
A<NPZ.NPill
881 N4+1,1 l•·R I< I, 3l*ST2
88! N4•1, 2) •·R I (I, Z l *ST2
88!N4+1.31•·~1<!,4l*STZ
88!N4+1,5J•BBCN4+1,SI·YCN5+1l*CACII,ll•ACNPZ,Il*A!II,NP2l/
AINP2,NP2l I
ALIII•!•CPGI*M;*ST.+!.77570•3J*ST.+&.775l/MG/CPG
AL(2l•CP~I•ST./CP~
AL13l•SCO*IST11*!.4Z430-3l-.1750111/MG/CPG
Al!41•SCO*ISTI6*!3.441630-31•l.Z76Z60161/MG/CPG
Al!51•SCO*ISTII*!6.39430-31+4,4250161/MG/CPG
AL!61•SCO*!STI6*!,163430-31·.155016J/MG/CPG
AL!7l•SCO*<STII*!11.65Z50·31·1.57420111/MG/CPG
$T4•Rll{I.z>•Vtil+RLlfl.3>•V(H3+ll•RLl(l,,>•Y(M,•l>•RL1(1~1>
+RLl!1,61*SCOZB+RLl!l,71*SH20B+RL1CI,81*SHZB•RLlll,,:
*SCH.S
ST5•RLZ!l,ZI*VIII•RLZI!,31*Y!N3+ll+RL211,4l*Y!N4•li+RLZ1l,51
+RL2!l,61*SCOZB•RL211,7l*SHZOB•RL211,81•SH28
DDt I l•DEI*Sl*IRLI I I ,I l·SH I·OE I*RLI I 1,1 l*PHI2*V! I I
+OE2*SI*!RL21l,ll-STSI·OEZ*RL21l,ll*PHI3*YIIJ+ST•ALS*S3
+ALllJ•t8<I,l>
DOIN+Il•STT*!RIIl,ll·VINS+III+ST•tAL;•s&*S4·SS*Y!NS+Ill
+AL!ll*BBIN+I,IJ
DDINZ+IJ•S.DS
DDINJ+IJ•<VINS•II-RIII,Ill*STI+Sil*S6*ST4·SI2"S6•ST5+
•AL!II*BB!N3+1,11
OD<H4+li•IV(NS•II·RIII,lli*STZ+SI3*S6*STS+AL!ll*BBIN4+1,1)
2516 CONTINUE
DO 3516 I•I,HS
DO 3516 J•3,8
35• BB<l,Jl•BB!I,Jl+ALIJ·ll*BBII,II
()O •1111 I•I.N
BB!1,ll•V13l
8B!N+!,II•V16l*YIN+Il/PIII
BBINZ+l,ll•VIl.l
IB!N3+1, 1 1••• 016
••• sa<N4•I,tl••.o•
ltETUitN
END
SUI~O~!ME ACTl$$(U,V.E,,.l
C THIS SUBROUTINE CALCULATES THE FINAL STEADY STAT£
IMPLICIT RElL"B !A-H.O·Zl
REAL 0 8 HG.KCZB,KPZA.KP2B.KlP,KZP
DIMENSION U18l,Y125J,VIlBBJ
COMMON /GASPA/ CPG,PTZ,PTR,~,PQS,UeS,UM
/OPCON/ SCH4,SCO,SCOZ,SH2,SH20,PTI,PT!,STB,STV
/REACZ/ EXPA.EXPB.EXPC,KCZB,KPZA,KPZB,KlP,KZP,EAI,EAt
EXTERNAL FNl
ST•HG
VI IBJ•STV
ST'W'•U( 1 >•ST6
UGS•U!Zl"UGS
ST.IJ•V13l 0 STB
SCO•UI ' l 0 SCO
SC02•Ut5l"SCO
SH20•Ut6J 0 SCO
SH2•U!?J•sco
scH••uteJ•sco
CALL CPCALCtSH2,SCO,SC02,SH20,SCH4,STB,H;,cpG,CP;I,CP;zJ
PGS•PGS'MGISTIUC3J
KJP•KlP 0 UI4l
1<2P•K2P•U{41
DO !U 1•1.8
VI l J•UI l l
IBB UIIJ•I.DB
UI I J •STII /STJ
UISJ•SCOZ/SCO
Ut6J•SH2C/SCO
Ut7J•SHZ/SCO
UI 8 l •SCHVSCO
Vl9l•UM
UH•l.OB
CALL DIHLES
CALL RADIAL
CALL NSES116°N+5,Y,EP,1 •• ,g,FNll
DO lBI 1•1,8
1Bl VI I l•Vt I J
UH•VI9J
DO 112 1•1. N
VI I J•YI I l"Ut3J
Y(N•I )•VtM•I>*U(3l
V(2*N•J )•VC:t•N•!)•Ufl)
V<3*N+J)•V<l•N+t)•UC4)
V(4•N•l)•V(4•N•ll*U(4)
1•2 YI5"N•ll•VI5"N+ll 0 UI2l
VO.i'*N+1l•V<6*N+l >•UtZ>
YI6•N•Z)•Vt6•N•t>•Ut3>
Vt6•N+J)•V<6*M+3)•Ut3>
V(G•N•~)•V(6*N+4>*U(3)
VI6*N•SJ•Vt6*H•5l"Ut3J
ST•Ht;
ST\l•V( lBJ
UCS•UGS/UtZl
STJ•STB/U( 3l
SCO•SCO/UI41
$COZ•$COIU<5l
SH20•SCO/Ut 5J
SHZ•SCO/Ut7l
SCH4•SCOIU18l
CALL CPC4LCt$H2,SCO,SCOt,SMZO,SCHI,ST•• MC.C,C,C'Gt,C,G21
P'S•P;S•"(i!ST 0 Ut3l
KlP•KlPIUC•l
KZP•KZP/Ul"J
CALL DIHLES
CALL -ADIAL
RETURN
UD
SU&~OUTINE INSIMIY,YS,U,N,~FLA;)
llEAOtS,!l JFLAG
IFIJFLAG .EO. I >CALL INITIALIY,U,Bl
JFtJFLAC .EO. llRETURN
DO IBB I•I,S"N
lBB Ytll•YSIII
READ 15,2> UCB,TB,XCO,XC02,XH20,XH2,XCH4,TV
UtI >•TV/STB
UIZI•UGB/UCS
Ut3l•TB/STB
Ut ' l •XCO/SCO
Ut5>•XCOZ/SCO
UI&>•XHZO/SCO
Ut7l•XHZISCO
Ut8l•XCHHSCO
UM•ALtll+ALIZl*U13l+Alt3)•Ut4l+ALI4)*U(5l+ALISl*Ut6l+AL16)
*UC7)+Alf7l•U!9l
PRINT 3, !UtI> ,1•1,8> ,UM
~ETURN
1 FORMATtl2>
Z FORMATI9F8.21
3 FORMATI/1/,ZX,'INITIAL CONTROL VECTORo',//SX,'TV •',F8.4,1X,
'UGB •',F8.4,SX,'TB •',F8.4,5X,'XCO •',F8.4,5X,/5X,
•)((';02•'. Fl. 4, SX. 'XW20•' ,Fa. 4, SX, 'XH2 • •. ~8. 4, SX. 'XCM4••.
F8.~/5X,'UM •',F8.4>
END
SUBROUTINE OUTCALC!U,Y,VS,ALG)
RETURN
END
SUI~OUTINE CPCALC!SH2,SCO,SC02,SH20,SCH4,ST.,MG.CPG,CPGI,CPG2l
C THIS SUBROUTINE CALC$ THE HEAT CAPACITY
IMPLICIT R£AL*8<A~H.O•Zl
REAL*S M~
SNZ•l.DB·SH2·SCO·SC02·SH20-SCH4
MG•SCH4*16.B43DB+SC0*28.1114DB+SC02*44.1.98DI+SH2*2 •• 16DI
+SH20*!8.B154DB•SN2*28.1!3401
CP~I•!SH2*.810·3•SN2*.77570·3+SC0*1.20-3+SC02*4.Zl60·3
~SH20•?.l?0-3+SCH•*12.42B20-3}/HC
cP;2•<SH2•6.&2og•sH2*6.77So••sco•s.&o••scoz•e •.stzso•
+SH20*11.20B+SCH4*S.ZII801l/MG
CPG•CP;t•STI+CPGZ
RETURN
END
FUNCTION SUM!Y,NN.AA,XI,XZ,I,Nl
IMPLICIT REAL*8 !A-H,O-Zl
DIMENSION Yl liB) ,AA<ZS,ZSl
SUM•g,.og
l p 1•1 +!
00 !U J•I.N
t•• JPI•J•I
SUM•SUM+AAtiPI,JPil*Y(J+NNl
SUM•SUM+AAI IP 1,! )*X I+AA( IP l,N+Z l*XZ
~ETURN
£NO
GA•B.D8'
TT•STI*TS
KP2•DEXP<KP2A•KP28/TTl
TH!•SCO*!U!4l·Y1+U(5l•Y2l
TH2•SCO*IU!Sl•Y2l
TH3•l.DI·2.D••TH!
VH2•1SCO*U!7l·3.0B*THI·TH2l/SCO/TH3
VHZO•!SCO*UI6l+TH!+TH2l/SCO/TH3
YCH4•1SCO•U!8l+TH!l/$CO/TH3
VCO•YI/TH3
VC02•V2/TH3
PA•PT*TH3
!f!yh2 . H. ••• dllyh2•1.d·11
!ftyco .lt. B.dllyco•l.d-11
k1P•OEXP(-£A1/TT>•PA*•texp••expb)*VHZ••expb*YCO**expa/
(l.OB+KtF•PA•VCO+KZP•PA*YHZ)*•e~~c
R2P•DEXP<·EA2/TTl*!.8301+.!7D••PA*PT•>•<VC02*YH2-VCO*VHZO/
KP2*KC21l
llETURN
END
FU~CT!O~ r.cT,TT,L,Rl
IMP~lCIT R£AL•9 (•-w.0-71
COMMON /RADIAl V!llJl,VPt9,Zl,D£TAIZJ,RR
/LINEA/ AA<?5,7Sl,I8175,81,0017Sl,Uiel
TR• I !VP { t,l )+VP!., Ll*R•VP I 7 ,L l 0 R**2 l*T
• !VP 12 .l 1+1/P I 5, L l*R+IIP I 8,l J•R••z l*TT
+VP <3,LJ•U! I 1•VP I 6,li*U! II•R•VP! 9,L J*UI I l*R .. %1/0ETAI L 1
UTU~N
END
SUBROUTINE COLLOC
C THIS ~OUT!NE CALCULATES THE ZEROS OF THE ORTHO;ONAL POLYNOMIAl AND
C S£TS UP THE AXIAL COLLOCATION MAT~!C£S A ANO 8
IMPLICIT REAL*8 IA-H,O-Zl
DIMENSION OI!Z5J,OZ!Z51.03!Z5l,V1!25l,VZ!251
COMMON tCOMAT/ A!ZS,251,8!25.251,R<Z5l,N
CALL JCOBIIZ5,N,I,t,lJ.DlJ,lJ.DlJ,Ol,OZ,D3,Rl
PRI~T 11 <k{J>.J•l,N~Z>
00 U! l•I,N+Z
CALL OFOPR<.S,N,l,l,l,l.DI,DZ.DJ.R,VIl
CALl DFOPRIZS, N,l,!,l,Z ,OI,OZ.D3,R, VZ l
DO U2 J•!,N+Z
A!I.JJ•VltJJ
BII,JJ•VZIJJ
llJZ CONTINUE
llJI CONTINUE
UTURN
FORMATI/////,3X,'AXIAL COLLOCATION ,OINTSt',//,3!1~,41EIZ.41/))
END
SUBROUTINE tHTLSSIV,U,IFLA,,HFLA~,L,U;S,PHI,N.EPl
APPENDIX5
grams for solution of the packed bed reactor model using orthogonal collocation
on finite elements are presented in Tables AB-1 and A5-2 and are stored in direc-
tory [RRK.OCFE]. These are very similar in structure and operation to those in
Appendix 4.
within each element 1c for the interior collocation points I :;: 2, ... , NA:+ 1. For ele-
within each element k for the interior collocation points I= 2, ... , N,~:+l. For ele-
.Mass Balances
+ 4yl/
(1-2o) 2
[ !! l2] +
v ..
where
within each element k for the interior collocation points I= 2, ... , NA:+1. For ele-
atl = 6to
II
~ Av.NE·" et1
./=1
= 0
Overall Continuity
For J = 2, ... , N-"+1 for each element k = 1. ... , NE-1 and for J = 2, ... , NNE+2
fork = NE:
and fork =1
-456 ~
EXTERNAL DERIV,FN
CALL RADIAL
C CALCULATE ZF.ROS OF THE ORTHOGON~L POLYNOMIAL AND SET UP AXIAL
C COLLOCATIO~ MATRICIES A AND B.
CALL C~!.lOC
Table A5-1
Computer Program cx.:.f'E
M 457 M
SUBROUTINE DIMLES
C THIS SUBROUTINE CALCULATES THE DIMENSIONLESS ,ARAMETERS
IMPLICIT REAL*8 IA-H,O-Zl
REAL*B L,KT,MG,KS,KBP,KCZO,KP2A,KP28,K1,,K2P
COMMON /REACP/ EPS,L,RB,RI
• /CATLS/ CPS,PS,TC,OC
/THWEL/ CPT,PT,KT
*
* /GASPA/ CPG,PTZ,PTR,MG,PGS,UGS,UM
/HEATT/ OHSC,OHTS,OHTC,8CS,8SC,8TS,BTC,8WC,IVS
•* /OPCON/ SCH4,SCO,SC02,SHZ,SH20,PTB,PTI,STB,STW
/REACt/ DHIA,DHIB,OHZA,OH2B,KB,KBP
*
• /OIMLE/ ALS.ALG,ALT,BES,BEG,GAS,GAG,GTS,GTG,DEI,
• DEZ,Sll,SI2,SJJ,PHIZ,PHI3,PHI,PH2,PH3
* /REACZ/ EXPA,EXPB,EXPC,KC2B,KP2A,KPZB,KIP,KZP,EA1,EA2
DATA PI /3.1415!Z654DB/
VT•Pl*RB**Z*L
VB•PI*L*IR1**2-RB**2l
AZ•LIDC
AR•Rl/DC
AO•L/Rl
EMl•l . .B'OB-EPS
ALS•TC/IPS*CPS*EMl*L*UGS>
ALG•l.DB/IPTZ*EPS*AZl
ALT•KT/IPT*CPT*L*UGSl
BES•ALS*L**Z/Rl**Z
BEG•AO/PTR/EPS/AR
GAS•OHSG*L/IVB*PS*CPS*EMl*UGSl
GAG•OHSG*L/IVB*PGS*CPG*EPS*UGSl
GTS•OHTS*L/IVT*PT*CPT*UGSl
GTG•OHTG*L/IVT*PT*CPT*UGSl
DEI•-L*OHIB*IPTB*SCOl**IEXPA•EXPBl*KBP/IUGS*CPS*STBl
DE2•-L*OH2B*SC0**2*KB/IUGS*CPS*STBl
SII•MG*PS*EMI*IPT.B'*SCOl**IEXPA•EXPBl*KBP*L/IEPS*UGS*PGS*SCOl
SIZ•MG*PS*EMI*SCO*KB*L/IEPS*UGS*PGSl
SI3•SI2
PHt2•0HIA*ST.8'/DHIB
PHI3•0H2A*STB/DH2B
8\JG•BTG
B\.IS•BTS
PH I•R.B'/R I
PH2•PT1/PTIJ
PHJ•STW/STB
RETURN
END
Table A5-2
Computer Program ocm..IB
-458-
..
815,25,25)
/OPCON/ SCH4,SCO,SC02,SHZ,SH20,PT.,PTl,STg,srv
/RADIAl WIIBI,WPI9,2l,OETAI2l,RR
.
* /GASPA/ CPG,PTZ,PTR,MG,PGS,UGS,UM
/REACP/ EPS,L,RB.RI
• /INDEX/ NSE,NTS,NTT,NTG,NCO,NC2,NUG,NNE,NE1
DATA RG /B2 .• 544Dg/
IFIMM .EQ, 11 PRINT I
IFIMM .EO. 2l PRINT 6
IFIMM .EO. 3l PRINT 8
PH2•PT1/PTg
PHI•U/Ill
TA•T*L/UGS
IF!MM .EO. •>PRINT 7,TA
PRINT Z
DO IBB K•l,NE
CALL INDICESIK,NK,Nl,N2,N3,N4,N5,N6l
PRINT 3, TRIV!NTG+Kl,VINTT•KI,2,PHll,VIMTG+Kl,
* TRIVINTG+KI,VtMTT+Kl,2,1.DBl,TiltVINTS+Kl,VtNTT+KJ,l,PHil,
* VINTS+Kl,TRIVINTS+Kl,VINTT+Kl,l,l.DBJ
t•• * DO lBB l•l,NK
PRINT 3, TRIYIN3+!J,VIN2+1l,2,PHIJ,VIN3+1l,TRIVIN3+1l,VIN2+Il,Z,
l.DIIl,TRIVINI+Il,VINZ+Il,l,PHll,YINI+Il,TRIVINl+Il,YIN2+Il,
* 1.1.0•>
PRINT 3, TRtVIHTG+NEil,VIHTT+NEll,2,PH!l,YINTG+NEll,
TlttVINTG+NEil,VINTT+NEll,Z,I.DBl,TRIVINTS+NEil,VINTT+NEll,
* l,PHil,YINTS+NEll,TRIVINTS+NEil,YINTT+NEII,I,l.DBl
PRINT 4
DO zgg K•l,NE
CALL IHDICESIK,NK,NI,N2,N3,N4,NS,N6l
CALL ACTCONCIYINCO+Kl,VINC2+Kl,Xl,X2l
PRINT 5, VINTT+Kl,XI,XZ,VIHUG+Kl
DO 'ZB/11 I•I,NK
CALL ACTCONCIYIN4+ll,VINS+Il,Xl,X2l
zr• PRINT 5,VIN2+I),XI,X2,YtH6+Il
CALL ACTCOHCtVtMCO+NEil,VINCZ+NEll,Xl,X2l
PRINT S,VINTT+NEll,XI,XZ,VINUG+NEil
RETURN
1 FORMATIIHI,//ZX,'IMITIAL GUESSES• ',//)
2 FORMAT116X,'GAS TEMPERATURE',ZSX,
• 'SOLID TEMPERATURE',//8X,'R • Rg',7X,'It • RR',7X,
'It • R1'.9X,'R • Rg',7X,'R • RR',7X,'R • Rl'l
3
* FORMAT15X,31F9.5,4Xl,ZX,31F9.5,4Xll
4 FORHATI/19X,'WELL TEMP.',SX,'CO CONC.',5X,'C02 COMC.',4X,
5
• 'VELOC lTV' /l
FORMAT<19X,F9.5,5X,F1B.7,3X,F1 •• 7,3X,F9.&,3K,F9.Sl
FORMATI//2X,'STEADV STATE SOLUTION• ',//)
•'
7 FORMATI//,2X,'TIH£ M 0 ,F11.4,' SEC'/)
FORHATI//,2X,'ACTUAL STEADY STATE SOLUTION• ',//l
END
SUBROUTINE RADIAL
C THIS SUBROUTINE CALCULATES THE CONSTANTS ~OR THE RAOIALLV lUMP£0
C MODEL.
IMPLICIT REAL*B tA-H,O-Zl
COMMON /DIMLE/ ALS,ALG,ALT,BES,BEG,GAS,GAG,GTS,GTG,DEI,
* OE2,Sll,Sl2,SI3,PHI2,PHI3,PH1,PH2,PH3
/RADIAl WllBl,WPI,,Zl,DETAIZl,RR
• /HEATT/ OHSQ,OHTS,OHT,,BGS,BSQ,BTS,BTG,BWG.BWS
Vt!ll••. D•
Wti•>••.D•
1•1
SI•8TS
S2•81JS
S3•GAS
S.t•BES
SS•GTS
t•• * DETAtll•tPHI+PH1**2*tRR-1.D.l+RR**2*11.D.-PHll-RRl*Sl*S2
+ t2.DB*IPHI-RRI+RR**2-PHI**2l*SI
* + t-l.OB+RR**2+2.DB*tPHl-PHI*RRll*S2+2,DB*PHl-2.DB
WPtl,ll•tPHl*SI-l.DBl*IS2+2.0Bl-lS2+1.DBl*tPH1**2*Sl-2.D.*PHll
WPt2,ll•SI*tS2+1.DBl*RR**2-SI*RR*tS2+2.DBl
WPt3,Il•IS2*RR*tPH1**2*SI~2.DB*PHll-S2*1PH1*SI-I.D.l*RR**2l
WPI4,ll•S2*1PHI**2*SI-2.DB*PHil-Sl*IS2+2.DBl
WPIS,ll•Sl*IS2+2.0Bl-SI*S2*RR**2
WP16,1l•IS!*S2*RR**2-S2*1PHI**2*SI-2.DB*PHill
WP17,ll•SI*IS2+1.DB>-S2*1PHI*SI-1.06l
WPI8,ll•RR*SI*S2-SI*IS2+1.0Bl
WPI9,ll•IS2*1PHI*SI-l.DBl-RR*SI*S2l
W!1+1*3-31•14.DB*WPt7,ll+WP!4,ll/RRl*S4/DETA!ll-S3
Wt2+I*3-3l•I4.DB*WPI8,ll+WPIS,ll/RRl*S4/DETAtil
W(3+1*3-3l•!4.DB*WP19,ll+WPt6,ll/RRl*S4/DETA!Il
W17+l-li•S5"1WPII,li+WP14,li"PHI+WP17,11*PHI••zl/OETA11l
Wl9l•W!9l+SS*!WPI2,ll+WPIS,ll*PHI+VPt8,ll*PHI**21/DETA!Il-SS
WIIBl•WIIBl+SS*IVPt3,ll+WPt6,ll*PHI+VPt9,Il*PHI**2l/DETAIIl
IF! l .EO. 2lRETURN
1•2
!:1 •8TC:
S2•BWG
S3•GAG
S4•BEG
SS•I;:TG
100 TO 1. .
END
SUBROUTINE CPCALCISHZ,SCO,SCOZ,SHZO,SCH.,ST.,MG,CPG,CPG1,CPG2l
C THIS SUBROUTINE CALCS THE HEAT CAPACITY
IMPLICIT REAL*BIA-H,O-Zl
REAL*S MG
SH2•l.DB-SH2-SCO-SC02-SH20-SCH4
MG•SCH4*16 •• 430B+SC0*28.BlB40B+SCOZ*44.BS98D.+SH2*2 •• 16D•
* +SH20*18.BI54DB+SN2*2B.B134DB
CPGl•ISHZ*.BID-3+SNZ*.77570-3+SC0*1.2D-3+SCOZ*4.216D-3
• +SH20*7.17D-3+SCH4*12.4282D-3l/MG
CPG2•1SHZ*6.6ZDS+SN2*6.77SOB+SC0*6.60B+SC02*8 ••5126D.
+SHZO*ll.ZDB•SCH4*S.ZBB8DBI/HG
CPG•CPGl*STS+CPGZ
RETURN
END
FUNCTION SUMIY,I,K,L,Ml
IMPLICIT REAL*B IA-H,O-Zl
DIMENSION YIIBBl
COMMON /COHAT/ NE,NISl,HISl,Zil6l,NSI6l,ZIS,Z5l,AI5,25,251,
• 815,25,25)
SUH•B.BDB
IPl•I+l
NN•(L-Il*NSINE+ll+NSIKl
N7•6*NSINE+II+IL-II*INE+ll
IFIM .EQ, Zl GO TO
DO IBB ll•l,NIIO
z••
t•• JPl•J+l
SUH•SUM+AIK,IPl,JPll*YIJ+NNl
SUH•SUM+AIK,IPl,ll*YIN7+Kl+AIK,IPl,NIKl+Zl*YIN7+K+ll
SUM•SUM/HIKl
RETURN
z•s DO ZBl J•I,NIKl
JPI•J+l
z•t SUM•SUH+BtK,IPI,JPll*YIJ+NNI
SUH•SUM+BIK,IPl,ll*VtN7+Kl+81K,IPl,NIKl+Zl*YIN7+K+ll
SUH•$UM/HIKI/H!Kl
RETURN
END
FUNCTION TRIT.TT,L,Rl
IMPLICIT REAL*8 IA·H,O-Zl
COMMON /RADIAl WIIBl,WPt9,2l,OETAI2l,RR
* /LINEA/ AAI75,751,8Bt75,81,0Dt75l,U18l
TR•IIWPII,Ll•WP14,Ll*R+WPI7,Ll*R**2)*T
* •IWPI2,L)+WPI5,Ll*R+WPI8,Ll*R**Zl*TT
* +WPI3,LI*UIIl•WPI6,LI*Uill*R+WP19,LI*Uil)*R**Zl/DETAILI
RETURN
END
SUBROUTINE ACTCONCIYI,Y2,Xl,X21
IMPLICIT REAL*9 IA-H,0-21
COMMON /OPCON/ SCH4,SCO,SC02,SH2,SH20,PTB,PT!,STB,STW
* /LINEA/ AAI75,751,8Bt76,81,DDI751,UI81
THI•l.DB·2.D8*1SCO*IUI,l•VI+UI5l•Y211
l<l•Vl*SCO/THI
l<Z•VZ*SCO/THI
RETURN
END
FUNCTION PRESII,kl
IMPLICIT REAL*B IA-H,O-Zl
COMMON /OPCON/ SCH4,SCO,SC02,SHZ,SH20,PTI,PT1,STB,STW
/COHAT/ NE,NI6l,HI5l,ZI16l,NSI61,ZIS.251,AIS.Z5.2SI,
815,25,251
PRES•IIPTI-PTBl*IZIIKl+HIKl*ZIK,I+lll+PTil/PTI
RETURN
END
SUBROUTINE COLLOC
C THIS ROUTINE CALCULATES THE ZEROS OF THE ORTHOGONAL POLYNOMIAL AND
C SETS UP THE AXIAL COLLOCATION MATRICES A AND I
IMPLICIT REAL*8 IA-H,O-Zl
DIMENSION DIIZ5l,D21Z5l,D3125l,V11ZSI,V2125l,R1261
COMMON /COMAT/ NE,NISl,HCSl,ZII6l,NSI6l,ZIS,2SI,AI6,25,26l,
• 815,25,25)
/INDEX/ NSE,NTS,NTT,NTG,NCO,NC2,NUG,NNE.NEI
PRINT 1
DO Ul/1 K•l, NE
NK•N!Kl
CALL JCOBII25,NK,1,1,11.D/I,/I.DII,DI,DZ,D3,RI
PRI"T z, K,H!Kl,(~!Jl,J•I,NK+Zl
DO IIIII l•l,NK+2
CALL DFOPRIZS,NK,I,I,I,I,Dl,D2,D3,R,Vll
CALL DFOPRI2S,NK,!,l,I,2,DI,D2,03,R,V21
DO 1112 J•I,NK+2
AIK.l.JI•Vl!Jl
BIK,I,Jl•V21Jl
1112 CONTINUE
ZCK, I l•RI I l
1.. CONTINUE
NS!ll•/1
Zllll•/I.D/1
DO 21111 K•I,NE
NSIK+ll•NSIKl+NIKl
2111 ZIIK+Il•ZIIKl+HCKI
PRINT 3,111ZIIKl+HIKl*ZIK,JII,J•l,NIKI+11,K•l,NEI,l.DII
NEI•NE+l
NSE•NSINEll
NNE•NINEl+l
NTS•6*NSE
NTT•6*NSE+NE1
NTG•6*NSE+Z"NEI
NC0•6*NSE+3*NEI
NC2•6*NSE+ .. *NEI
NUG•6*NSE+S*NEI
RETURN
I FORHATIIH1,/,3X,'ORTHOGONAL COLLOCATION OF FINITE ELEMENT$')
2 FORMATI///2X,'ELEHENT ~',13,5X,'LENGTH • ',FS.3,//,7X,
" 'COLLOCATION POINTS•',//31111X,6FB.4/Il
3 FORMATI//1//ZX,'COLLOCATION POINT SUHHARYI',//,6116X,6F8.4/ll
END
SUBROUTINE INTLSS!Y,U,EPI
C THIS ROUTINE CALCULATES THE INITIAL STEADY STATE PROFILE
IMPLICIT REAL*8 IA-H,O-Zl
DIMENSION Yll/llll,UI81
COMMON /INDEX/ NSE,NTS,NTT,NTG,NCO,NC2,NUG,NNE,NE1
EXTERNAL FN I
CALL INITIAL IY,Ul
CALL OUTPUTIY,U,/1.0/1,11
CALL NSESII6*1NSE+NE1l,Y,EP,211/I/I,II,FN1l
CALL OUTPUTIY,U,/1,0/1,21
RETURN
END
APPENDIX6
Methanation
If we neglect the second and higher order terms in a Taylor series expansion, the
where
R:U. = [8Ry
oz l..
After performing the di.trerentiation
-467-
R
»yeo
=[-1-+
Yeo
_£_[_1-+ _1-+ _1_+
1-D YH 2o YCH4 Yeo
JL_l
~
+ 1.5
YH2
-468-
Steam-Shift
YCOeYH2 -
Kcs ]
Kps YcoYHaO
where
If we neglect the second and higher order terms in a Taylor series expansion, the
where
4x2o
1-26
l
Rs.
-470-
The boundary conditions for the mass balances and for the energy equation
for the thermal well can be solved explicitly for the concentrations and thermal
well temperatures at the axial boundary points as linear expressions of the con-
ditions at the interior collocation points. However. the set of four boundary
conditions for the gas and catalyst temperatures are coupled and are nonlinear
as a result of the convective term in the inlet boundary condition for the gas.
After a Taylor series linearization of this term around the steady state inlet gas
temperature, gas velocity, and inlet concentrations, the system of four equa-
tions is solved for the gas and catalyst temperatures at the boundary points:
t
i=l
AoJ9•J
tAN+tJe•1
j r:l
= s tAo.;esi + r
i=l
f: AN+lJe~t
=1
with
and
-1
(Ao.c-'Aga) Ao.N+l Xgu 0
AN+l.O (AN+l.N+l +l.gu) 0 -A,z.
s = Aug 0 (Ao.o-~-G) Ac.N+l
0 -A.zs ~+1,0 (AN +1.N +1 +A.ze)
-471-
the interior collocation points and at the end of the reactor are somewhat more
of the linearized equations above for the endpoint temperatures, the continuity
where
The linear reaction rate expressions and the linear expressions for the velo-
cities and for the concentrations and temperatures at the axial boundary points
are then substitu~ed into the differential equations. Due to extreme coupling
model is2
i=Ax+lhr
where
The elements of the state and control matrices A and Bare as follows. 3
A.:.2N+j =0 A.:.2N+i =~
A.:.3N+j =0
~.4N+j =0
AN'+i.2N+j =0
~N+t:,N+j =0
A_
.M.2Nt1,2N+j : lXt
[o.
J.J\j -
~.N+l~+l.j ]
AN+l.N+l
A_ _ u.
.n.:~N+i,j - -•.iiJ
[~[A.
2.,; .nor;,t -
AN+u:~.NH ]-
Yeo
+A.
'"""·o -
AN+1.oAi.N+t
k"'l AN+l.N+l ., AN+l.N+l
A_ - u
.n.:~N+t:,t - -·"'·"
[ J1, [A.
2.,; '"""..t -
Al=l
~+t..t:At.NH
AN+l.N+l
]-
Yeo.,
+A.
nf.,O -
ANH.ol\.Ntt
AN+l.N+l
l
A- - H\.N+i [ Jl.
.n.:~N+i.N+i - -
[A.
~ '""".A:
A:=l
-
AN+l..AI~.N+l
AN+l.N+l
A.
Yeo + .n.t.o
]-
.,
-
AN+t.oAi.N+l
AN+l.N+l
l
AaN+i,2N+j : AsN+i,2N+i : 0
-476-
_ [
AsN+i.,3N+j ::: -Vi( t\J - AN+t.;At.N+l
A ••
.nt'4 +l.N +1
l
AsN+i..4N+i ::: 0
A _
E>4N+i.,j - -
H
i,j
[ Ji. [A.
~ "".A: -
AN+t..e.A.t.N+I ]-
Yco2
A. yoC0
+ 0>\,0 ~+l.OAt.N+l
A
-o
Y~
]
11.. 2 -
.t=l r>fll+l.N+l i: N+t.N+l
A _ l-L
C>4N+i..-,; - -·'1- ...:
lr ~ [A
~ n..t..e -
AN+t . .tAt .N+l ]-
Y~
+ n..t.oYcaa
A. -o -
~+1.oAt..N+t -o ]
Yeo2
k=l AN+l.N+l lc AN+l.N+l
A
"'lN+i.,N+; - -
_ H
!..N+i
[ Ji. [A.
~ ""'L.k -
AN+t.A:At.N+t ]-
A... Yco 2
+ ""'.oYco
A. -o AN+1.oAt..N+t -o ]
Ycaa
2 - A...
k=l .nt'4+l.N+l lc .nt'4+1.N+l
~N+i.,N+i.
~
=-l-4.N+i. [ .t=t [
~ At...e -
~... uAt..N+l ]-
Y~ + At.oY~AJe -
-~ AN+t,oAt.N+l
Y8aa ]
~+l.N+l 1: AN+I.N+l
-ei(
A.,N+i. 3N+i.
' = --aS -R....
PT --.,c~
-477-
A -
A4N+\,4N+j - - !A.
- V&( r>i,j - ~+lj~,N+l l
--'---=--''---
AN+I.N+l
where
To define the clements of the matrix ~ the following definitions are needed. For
where after substituting for the concentration of nitrogen in terms of the other
chemical species .
-478-
Based on readily available data for the beat capacities of the gases,
XCo(ToCltHaO + ael\!0)
a.= ~Cp.
Then if we define
Thus we get
Also if we define
-481-
B4N+i.l =0
B4N+\.2 -- I [A.
- 2
'
-0
-"'i.OYCOa - ~+t.oAi.N+l
AN+I.N+l
.9
Yeo 2
+ ~
l.J (A.
~=I
-"'i,A: - At.N+lAN+l):: )-
AN+l,N+l
Yeo
eA:
I
B _
4N+\.3 - - 14 0
lr A_ -o
-"'i.oYco11 -
AN+1.o~.N+1
..4
•>-N+l.N+l
uo
JC0 2
+ Jl.
l.J (A_
A:=l
.t"1.\.A: -
~.N+l~+l.A:
A..
l"l.N+l.N+l
)-
Yeo"'·
"'
I
+ a1 z2,
~ 484-
REFERENCES
-486-
Ahmed, N.U., and K.L. Teo, Optimal Control of Di.stritruted Parameter Systems.
Aidarous. S.E .. M.R. Gevers and M.J. Installe, Int. J. Control. 22, 197-212 (1975).
Alvarez, J .. J.A. Romagnoli and G. Stephanopoulos, Chern. FJng. Sci., 36, 1695-
1712 (1981).
Ascher, U., J. Christiansen and RD. Russell. Math. Camp .. 33, 659-679 (1979).
Beek, J., Advances in Chemical .Engi:neeri:ng, Vol. 3, Academic Press, New York
(1962).
Betts, J.T., and S.J. Citron. AIAA Jrru:rnal, 10, 1, 19-23 (1972).
Bird, R.B., W.E. Stewart and E.N. Lightfoot, 'Jlra:nsport Phenom.l!'na, John Wiley &
Bonvin, D.. "Dynamic Modeling and Control Structures for a Tubular Autothermal
Barbara. CA (1980).
Bonvin, D.. R.G. Rinker and D.A. Mellichamp, 'Tubular Autothermal Reactors:
Bonvin, D., R.G. Rinker and D.A. Mellichamp, Chem. FJng. Sci., 35, 603-812 (1980).
151-158 (1980).
-487-
Brockett, RW., Pi:nite Di:m.ensional Linear Systems, John Wiley & Sons, New York
(1970).
Bryson, A.E., and Y-C Ho, Applied Optimal Control, Blaisdell, Waltham, Mass.
(1969).
York (1976).
Carberry, J.J., and J.B. Butt, Ca.tal. R8V., 10, 221 (1975).
Carberry, J.J., and D. White, Ind. /ic Eng (hem, 61. 27-35 (1969).
Carey, G.F., and B.A. Finlayson, Ol.em. Eng. Sci., 30, 587-596 (1975).
Chidambara, M.R., and E.J. Davison, IEEE 'Prans. Auto. Control, AC-12, 119-121
(1967a).
Chidambara, M.R., and E.J. Davison, IEEE 'Prans. Auto. Control, AC-12, 213-215
(1967b).
Chidambara, M.R., and E.J. D~vison, IEEE 'Prans. Auto. Control, AC-12, 799-800
(1967c).
Clement, K., and S.B. Jorgensen, 8th IFAC World Congress, Kyoto, Japan, Aug 24-
28 {1981).
Clement, K., S.B. Jorgensen and J.P. Sorensen, Chem. Jf}ng. Sci., 35, 1231-1236
(1980).
Davis, M.E., Num.erical Methods a.nd. Mod.el?:ng for Ol.em:iaa.l Engi:neers, John Wiley
De Wasch, A.P., and G.F. Froment, Ol.em. FJng. Sci., 26, 5, 629-634 (1971).
Douglas, J.M., Process Dyna.mics a.nd. Cantrol, Vol. 2, Ccmtrol System Synthesis,
Fabien, R.W., and l.M. Stankovic, Ch.em. FJng. Sci., 34, 1350 (1979).
Fan, L.T., K.C. Chen and L.E. Erickson, Ol.em. FJng. Sci., 26, 379-387 (1971).
Ferguson, N.B., and B.A. Finlayson, Gi.em. FJng. J., 1. 327-335 (1970).
Ferguson, N.B., and B.A Finlayson, A!Ol.E J., 18, 1053-1059 (1972).
York (1980).
-489-
Fisher, R.J., and M.M. Denn, A!Ot.E J., 24-, 3, 519-523 (1978).
Foss, A.S., J.M. Edmunds and B. Kouvaritakis, I&EC Fundamentals, 19, 109-117
(1980).
Gould, L.A., Ot.emical Process Control: Theory a:nd. Applications, Addison Wesley,
Gould, L., and M.A. Murray-Lasso, IEEE 'Prans. Auto. Control, AC-11, 4, 729-737
( 1966).
Hallager. L.. and S.B. Jorgensen. 8th IFAC World Congress, Kyoto, Japan. Aug 24-
28 (1981).
Hansen, K.W., and S.B. Jorgensen, Adv. Otem. Sf!T'., 133, 505 (1974).
Hansen, K.W., and S.B. Jorgensen, Chem. Eng. Sci., 31, 579-566 (1976a).
Hansen. K.W .. and S.B. Jorgensen. Chem. E/ng. Sci., 31, 587-598 (1976b).
Hlavacek, V., and M. Marek, Ot.em. Eng. Sci., 21, 501 (1966).
Heiberg, J.A., B.C. Lyche and A.S. Foss, AIOJ.E J., 17, 6, 1434-1447 (1971).
Hsu, C.H., and C.T. Chen, Proc. IEEE, 56, 206_1-2062 (1968).
Jutan, A., J.P. Tremblay, J.F. MacGregor and J.D. Wright, AIChE J., 23, 5, 732-742
(1977).
-490-
Karanth, N.G., and R. Hughes, Cltt Rev Sci Eng, 9, 169 (1974a).
Karanth, N.G., and R Hughes, Ol.em. Eng. Sci., 29, 197-205 (1974b).
Khanna, R., and J.H. Seinfeld, Int. J. Control, 36, 1. 1-24 (1982).
Kouvaritakis, B., and A.G.J. MacFarlane, Int. J. Ccmtrol, 23, 2, 149-186 (1976a).
Kouvaritakis, B., and A.G.J. MacFarlane, Int. J. Ccmtrol, 23, 2, 167-181 (1976b).
Kouvaritakis, B., W. Murray and A.G.J. MacFarlane, Int. J. Ccmtrol, 29, 2, 325-358
(1979).
Kumar, S., and J.H. Seinfeld, IEEE Trans. Auto. Control, AC-Z:J, 690 (1978a).
Kumar, S., and J.H. Seinfeld, Ol.em. Elng. Sci., 33, 11. 1507-1516 (1978b).
Lee, A.L., ''Methanation for Coal Gasification," Sym.p. on Clean Fuels from Coal,
Lee, E.B., and L. Marcus, Found.ations of Optimal Control, Wiley, New York
(1967).
Lynn, L.L., and R.L. Zahradnik, Int. J. Control, 12, 1079-1087 (1970).
McGoWin, C.R., and D.D. Perlmutter, Ot.em. I!Jng. J., 2, 125-131 (1971).
Michelsen, M.L., H.B. Vakil and A.S. Foss, l&EC Pundame'Tiials, 12, 3, 323-328
(1973).
Norrie, D.H., and G. DeVries, The Pi:nite Element Method, Academic Press, New
York (1973).
Ogunnaike. BA. and W.H. Ray, A!Ol.E J.. 25. 6, 1043-1057 (1979).
Paris, J.R., and W.F. Stevens, The Canadian J011.rna.l of Chemical Flngi:neeri:ng, 48,
2 (1970).
Perry, R.H., and C.H. Chilton, Ol.emical .FJngineers ·Handbook, McGraw-Hill, New
York (1973).
Rabinowitz, P., ed., Numerical Methods for Nonlinear Algebraic Equations, Gor-
Russel, R.D., and J. Christiansen, SIAM J. Num.. Anal., 15, 59-80 (1976).
Schwarl:t, C.E., and J.M. Smith, Ind. Bng. Chem.., 46, 1209 (1953).
Seborg, D.E., and T.F. Edgar. eds., Ol.em.ical Process Control 2, United Engineer-
Sheirah, M.A. and M.H. Hamza, Int. J. Control, 19. 5, 691-902 (1974).
Berkeley (1976).
Silva, J.M., H. Wallman and AS. Foss, I&EC FUndamentals, 18, 4, 363-391 (1979).
Sorensen, J.P., S.B. Jorgensen and K. Clement, Ol.em. EJn.g. Sci., 35, 1223-1230
(1980).
Stewart, W.E., Ol.em.. FJng. Progr. Symp. Ser., 61. 56, 61 (1967).
-493-
Vakil, H.B., M.L. Michelsen and A.S. Foss, l&EC F'u.nda.menta.ls, 12, 3, 328-335
(1973).
Valstar, J.M., P.J. Van Den Berg and J. Oyserman, Oa.em. EJng. Sai., 30, 7, 723-728
(1975).
(1978).
Villadsen, J.V., and W.E. Stewart, Oa.em. FJn.g. Sai., 22, 1483-1501 (1967).
Vortmeyer, D., K.J. Dietrich and K.O. Ring, Ol.emica.l Reaction EJngi:neering II.
588-599 (1974).
Vortmeyer, D., and R.J. Schaefer, Ol.B'm. Flng. Sai., 29, 485-491 (1974).
Wallman, H., J.M. Silva and A.S. Foss, !&EC F'unda.mentals, 18, 4 (1979).
Weast, R.C., ed., CRC Handbook of OI.B'mistry and. Physics, CRC Press, Cleveland,
Ohio (1976).
-494-
Wilson, R.G., D.G. Fisher and D.E. Seborg, AIChE J., 20, 6, 1131-1140 (1974).
Young, L.C., and B.A Finlayson, I&EC F'u.ndamentai.s, 12. 4, 412-422 (1973).