Professional Documents
Culture Documents
www.elsevier.com/locate/ces
Received 21 June 2004; received in revised form 8 November 2004; accepted 23 December 2004
Available online 18 April 2005
Abstract
In this paper, the dynamic behavior and control of the low pressure methanol synthesis xed bed reactor have been investigated. For
simulation purpose, a heterogeneous one-dimensional model has been developed. First, the reactor simulation is carried out under steady-
state condition and the effects of several parameters such as shell temperature, feed composition (especially CO2 concentration) and recycle
ratio on the methanol productivity and reactor temperature prole are investigated. Using the steady state model and a trained feedforward
neural network that calculates the effectiveness factor, an optimizer which maximizes the reactor yield has been developed. Through the
dynamic simulation, the system open loop response has been obtained and the process dynamic is approximated by a simple model. This
model is used for the PID controller tuning and the performances of xed and adaptive PID controllers are compared for load rejection and
set point tracking. Finally the proposed optimizer is coupled with a controller for online optimization and hot spot temperature protection.
2005 Elsevier Ltd. All rights reserved.
Keywords: Methanol synthesis; Fixed-bed reactor; Dynamic simulation; Adaptive PID; Temperature runaway; Feedforward neural network
1. Introduction design and the most frequently use of these types of reac-
tors, the boundaries of the system and their interactions are
Chemical reactors especially xed-bed catalytic reactors quite complex and can raise complicated problems in de-
that are used in highly exothermic processes are often dif- sign, safe operation, optimization and control. Modeling of
cult to control and it is important to predict the possibility these reactors is a complex task since a system of nonlin-
of hot spot and thermal runaway occurrences (Assaf et al., ear differential equations must be solved and many transport
1996). This is the case when wide uctuations in tempera- and chemical parameters should to be evaluated; in addition
ture extremes occur from relatively minor uctuations in one the diffusion of gas into the solid matrix is hard to model
or more operating variables. Operation in the unstable re- (Parisi and Laborde, 2001). Several authors have studied the
gions may result in poor product and temperature runaway. steady-state modeling of catalytic methanol synthesis reac-
The need for optimal control of chemical reactors has been tor at various level of complexity, but a few studies have been
well recognized since the early 1980s, due to the increasing done on dynamic simulations and control of methanol reac-
cost of raw material and energy (Zhou et al., 1999). Mul- tor. The summary of these studies have been listed below.
titubular xed-bed reactors are industrially used in the low Graaf et al. (1990) modeled low pressure methanol syn-
pressure methanol synthesis from syngas. This catalytic re- thesis using commercial CuZnAl catalyst. They showed
action is highly exothermic and temperature has signicant that commercial size of the catalyst particles exhibit intra-
effect on the reactors yield. In this work dynamic behavior particle diffusion limitations. Vanden Bussche et al. (1993),
and control of a low pressure methanol synthesis xed-bed based on a heterogeneous model, simulated the dynamic
reactor has been considered. Despite of the relatively simple behavior of a xed-bed methanol reactor. Their investiga-
tion includes comparison between different levels of tran-
Corresponding author. Tel.: +98 21 6165419; fax: +98 21 6022853. sient modeling. Lommert et al. (2000) studied mathemat-
E-mail address: shahrokhi@sharif.edu (M. Shahrokhi). ical modeling of internal mass transport limitations in the
0009-2509/$ - see front matter 2005 Elsevier Ltd. All rights reserved.
doi:10.1016/j.ces.2004.12.051
4276 M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286
methanol synthesis and showed that Thiele modulus con- 3. Development of the reactor model
cept with pseudo-rst-order kinetics are capable to pre-
dict the intra-particle diffusion. Lovik (2001) studied 3.1. Reactor model assumptions
modeling, estimation and optimization of the methanol
synthesis with catalyst deactivation. A rigorous pseudo- For modeling the reactor the following assumptions are
steady state modeling of methanol synthesis loop has made: (1) one-dimensional heterogeneous model is consid-
been considered in his simulation. Velardi et al. (2002) ered, (2) dispersion of mass and energy in axial and radial
investigated the feasibility of carrying out the low pres- direction are negligible, (3) the transient term is taken into
sure methanolsynthesis process in forced unsteady- account for the mass and energy balances, while the pseudo-
state conditions, using a network of three catalytic steady state condition is considered for the solid phase in
xed-bed reactors with periodical change of the inlet calculating the effectiveness factor, (4) the dynamics of the
position. catalyst deactivation is neglected because of its large time
The present paper focuses on the dynamic simulation constant.
and control of the methanol reactor. The paper is orga-
nized as follows. First the process and the related con- 3.2. Reactor mathematical model
trol loops are described. Modeling of reactor and steam
drum is considered next. For solving the equations de- One-dimensional and heterogeneous model has been con-
scribing the system behavior, the numerical methods for sidered for simulating the tubular xed-bed methanol syn-
solving nonlinear algebraic and differential equations thesis. To take into account intra particle mass diffusion, ef-
are discussed. Steady state and dynamic results are pre- fectiveness factor concept (Levenspiel, 2001; Elnashaie and
sented and nally reactor control and optimization are Elshishini, 1993; Wijngarden et al., 1998) has been used.
considered. The mass and energy equations are given below.
Component mass balance:
jxi us F 0 jx i
= 0 + i (z)b ri Ar ,
jt F L r jz
2. Process summary
(i = key component (MeOH & CO)). (1)
The process ow sheet of the methanol synthesis loop is Energy balance:
shown in Fig. 1. The catalyst is packed in vertical tubes and
NR
surrounded by the boiling water. The reaction heat is trans- jT us C p,g jT
ferred to the boiling water and steam is produced. Efcient C p,m = + b ((H )k k (z)rk )
jt Lr jz
heat transfer gives small temperature gradient along the re- k=1
actor. Typical operating conditions are 543 K and 80 bar. The 4Ueff
reactor temperature is controlled by controlling the pres- + (T TC ) . (2)
do
sure of the boiling water. Besides the pressure loop a level
controller is used for controlling the water level in steam
For the pressure drop, the following equation has been used
drum.
(Ergun Equation):
d 3 1
P = 10 Lr 1.75 + 150
dz NRe
u2s g 1
. (3)
dp 3
i i
ri dVp De (dPs /dr)r=Rp Table 1
i = = , Kinetic and equilibrium constants
Vp ri |Surface Rg Ts (Rp /3)p ri |Surface
(i = key component (MeOH & CO)). (6) k = A exp(B/Rg T ) A B
The Eqs. (4), (5) are written based on pseudo-steady state ka (bar 1/2 ) 0.499 17197
kb (bar 1 ) 6.62e11 124119
assumption. Regarding this assumption, it should be men-
kb 3453.38
tioned that if the rate equations are linearized and the kd (mol/kg s bar2 ) 1.07 3669
approach proposed by Szukiewicz (2001) is used, the ke (mol/kg s bar) 1.22e10 94765
maximum time constant for the diffusion-reaction equations
(including the transient term) will be about 7 s, while the K eq = 10(A/T B) A B
time constant for the composition change is around 37 s. K1 (bar 2 )
eq
3066 10.592
These observations justify the pseudo-steady state assump- eq
K2 2073 2.029
tion.
The initial and boundary conditions for the bulk phase
and the boundary conditions for the catalyst pellets are given
below. The reaction rates of methanol and carbon monoxide accord-
Boundary conditions for the bulk gas phase: ing to reactions (B) and (C) have been proposed by Vanden
Bussche and Froment (1996) and are given below:
z = 0: xi = 0, i = key component,
P = Pinlet , T = TInlet . (7) 1
kd PCO PH2 1 eq (PH2 O PCH3 OH /PH2 PCO2 )
Initial conditions for the bulk gas phase: K1
rB =
3 , (14)
1+kc PH2 O /PH2 +ka PH2 +kb PH2 O
t = 0, z: xi |t=0 = xi |steady state ,
T |t=0 = T |steady state . (8) eq
ke PCO2 1 K2 (PH2 O PCO /PH2 PCO2 )
rC =
. (15)
Boundary conditions for the catalyst pellet: 1 + kc PH2 O /PH2 + ka PH2 + kb PH2 O
d i
= 0: P |=0 = 0, i = all components, The kinetic parameters are given in Table 1.
d s
d
Ts |=0 = 0, (9)
d
4. Steam drum mathematical model
Dei d i
= 1: P |=1 = kgi (Psi |=1 P i ),
Rp d s To develop a steam drum model, the following assump-
Ke d tions are made: (1) in energy balance, pseudo-steady state
Ts |=1 = hf (Ts |=1 T ). (10)
Rp d condition is considered for vapor phase, (2) energy losses via
surrounding is neglected. The dynamics of this process can
Solving the above equations for calculating the effectiveness be described by the following set of mass and energy bal-
factor is time consuming. One way to reduce the computa- ance equations for liquid and vapor phases (Luyben, 1986;
tion time is using the concept of Thiele modulus. Lommert Ramirez, 1997) and the schematic diagram of the steam
et al. (2000) have linearized the methanol reactions and used drum is shown in Fig. 2.
the concept of Thiele modulus to calculate the effectiveness
factor. The parameters of the linearized rates are adopted
by using the real rates along the reactor. Their approach is
described briey in Appendix A.
The model is completed by the kinetic equations given
by Vanden Bussche and Froment (1996) which is based on
LangmuirHinshelwood and HougenWatson mechanism.
In this kinetic model two independent reactions (hydrogena-
tion of carbon dioxide and the reverse watergas shift re-
action) out of the three following depended reactions are
considered:
(C) CO2 + H2 CO + H2 O. (13) Fig. 2. The schematic diagram of the steam drum.
4278 M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286
Table 3
Comparison of simulation results and industrial data
Property Simulation result Industrial Simulation result Industrial Simulation result Industrial
for reactor 1 reactor 1 for reactor 2 reactor 2 for reactor 3 reactor 3
Mole%
yCO2 4.87 4.66 2.50 2.18 8.43 8.1
yCO 2.17 2.17 1.70 1.44 2.61 2.38
y H2 57.58 56.92 76.37 75.71 50.12 48.97
yCH4 27.52 27.44 13.05 13.14 31.79 33.05
yH2 O 1.49 1.88 1.36 1.74 1.99 2.48
yCH3 OH 6.37 6.92 5.02 5.49 5.06 5.82
Byproduct 0.01
Fig. 3. Effect of cooling uid temperature on (a) methanol conversion at reactor outlet and (b) reactor temperature prole along the reactor.
4280 M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286
Fig. 4. Comparison of effectiveness factors obtained from three different In order to model the pressure dynamics, maximum
methods. 20% deviation in manipulated variable is considered and
sequences of step changes with different magnitudes are
applied to process input and the inputoutput data are col-
where FTout and yM out are reactor outlet owrate and methanol
lected. Two different models, rst and second order, are
mole fraction respectively. The rst constraint is considered considered. Using the ofine least squares method, the pa-
to avoid hotspot in the reactor and the second constraint rameters of corresponding discrete models are identied.
is due to required quality of the produced vapor (Lovik, Having the sample time and the discrete models, the param-
2001). In the above objective function only methanol yield eters of the corresponding continuous models are calculated
has been considered and penalty on generated steam in shell (Seborg et al., 1989). These models are given in Table 5.
side is set to zero. The optimization has been carried out us-
ing Golden Section Search method (MATLAB optimization
7.3. PID controller tuning and adaptive PID controller
toolbox (fminbnd)). In this method the two interior points
within the total interval are so selected that the interval elim-
The internal model control (IMC) technique has been used
inated on one iteration will be of the same proportion to the
for PID controller tuning. The PID controller formula and
total interval. For more details the readers are referred to
the controller parameters are as follows:
Edgar and Himmelblau (1988). To handle the constraints,
rst a relatively high shell temperature is chosen and the 1 D s
Gc (s) = Kc 1 + + .
optimum shell temperature is calculated by using Golden I s N s + 1
Section Search method. If the upper bound on reacting gas
temperature is satised the search is completed and the pro- For the rst order model:
gram terminates, otherwise a smaller shell temperature is
Kc = , I = . (23)
chosen and the above calculations will be repeated. K p c
y(k) b0 + b1 q 1
G(q) = = .
u(k) 1 + a1 q 1 + a2 q 2
P (k 1)(k)
Fig. 6. Open loop responses of shell pressure due to step changes in (k) = (k 1) + e(k),
steam owrate.
+ T (k)P (k 1)(k)
P (k)
1 P (k1)(k)T (k)P (k1)
Table 5 = P (k1) . (25)
+T (k)P (k1)(k)
Ofine identication results for pressure control loop
Fig. 7. Comparison of PI & PID performances for pressure set point tracking, (a) shell pressure vs. time, (b) methanol owrate vs. time, (c) steam
owrate vs. time.
set point tracking several step changes are applied to the To evaluate the performance of the control sys-
shell pressure set point as shown in Fig. 8a and for load tem coupled with the developed optimizer, two dif-
rejection the feed composition has been changed according ferent loads are applied to feed composition at t =
to gures given in Table 7. 395 and t = 1000 s. The results are shown in
As can be seen the performance of adaptive PID is much Fig. 11.
better than xed PID in both set point tracking and load The simulation results show that the optimizer has
rejection. It should be also noted that the maximum reactor increased the methanol yield after loads are applied to
temperature overshoot is higher for the xed PID controller the feed composition. As can be seen from Fig. 11(b),
compared to adaptive PID. the second load has caused the reactor temperature to
exceed the maximum allowable temperature for a cer-
tain period of time, but it has been decreased when
the optimizer has provided the new pressure set point.
8. Online optimization
As can be seen the optimizer provides the maximum
methanol productivity while satisfying the temperature
When the feed composition is changed the set point
constraints.
of pressure loop should be changed accordingly in or-
der to have the maximum methanol yield. To calculate
the pressure set point corresponding to feed composition
an optimizer has been developed. The optimizer receives 9. Conclusions
the feed specications in each sample time and if detects
changes, calculates the new pressure set point (and cor- In this article using conservation laws, the dynamic
responding shell temperature) by using the steady-state behavior of a methanol reactor has been simulated.
model. For simulation it is assumed that the feed compo- To reduce the computation time the effectiveness fac-
sition analyzer has 200 s delay. Fig. 10 shows the above tor is estimated through AFFNN and ALKTM. ALKTM
procedure. provides more accurate results but AFFNN is faster.
M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286 4283
Fig. 8. Comparison of xed & adaptive PID performances for pressure set point tracking, (a) shell pressure vs. time, (b) methanol owrate vs. time, (c)
steam owrate vs. time.
Fig. 9. Comparison of xed & adaptive PID performances for feed composition changes according to Table (6). (a) Shell pressure vs. time, (b) reactor
maximum temperature vs. time, (c) steam owrate vs. time.
4284 M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286
Notation
Fig. 11. The performance of control system coupled with the proposed optimizer when two subsequent changes are applied to feed composition (a) shell
pressure vs. time, (b) reactor maximum temperature vs. time, (c, d) methanol owrate vs. time.
M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286 4285
g viscosity of gas phase, Pa s Variation Principles: With Fluid Mechanics Heat and Mass Transfer.
Academic Press, London, pp. 97147.
b , p , g bed, particle and gas density, kg/m3 Finlayson, B.A., 1980. Nonlinear Analysis in Chemical Engineering.
m , v , l mass density of water for makeup, vapor, McGraw-Hill, New York, pp. 60171.
liquid, kg/m3 Fortescue, T.R., Kershenbaum, L.S., Ydstie, B.E., 1981. Implementation
1 , 2 , 3. , process time constants,s of self-tuning regulator with variable forgetting factor. Automatica 17,
831835.
I , D , N. , c controller tuning parameters Froment, G.F., Bischoff, K.B., 1990. Chemical Reactor Analysis and
j
M Thiele modulus for component j Design, second ed. Wiley, New York, pp. 162175.
4286 M. Shahrokhi, G.R. Baghmisheh / Chemical Engineering Science 60 (2005) 4275 4286
Graaf, G.H., Scholtens, H., Stamhuis, E.J., Beenackers, A.A.C.M., 1990. Shampine, L.F., 1994. Numerical Solution of Ordinary Differential
Intra-particle diffusion limitation in low-pressure methanol synthesis. Equations. Chapman & Hall, New York.
Chemical Engineering Science 45, 773783. Skrzypek, J., Lachowska, M., Grzesik, M., Sloczynski, J., Nowak, P.,
Levenspiel, O., 2001. Chemical Reactor Engineering, third ed. Wiley, 1995. Thermodynamic and kinetic of low-pressure methanol synthesis.
New York, pp. 376391. Chemical Engineering Journal 58, 101108.
Lommert, B.J., Graaf, G.H., Beenackers, A.A.C.M., 2000. Mathematical Szukiewicz, M.K., 2001. Approximate model for diffusion and reaction
modeling of internal mass transport limitations in methanol synthesis. in the porous catalyst with mass-transfer resistances. A.I.Ch.E. Journal
Chemical Engineering Science 55, 55895598. 47, 21312135.
Lovik, I., 2001. Modeling, estimation and optimization of the Vanden Bussche, K.M., Froment, G.F., 1996. A steady-state kinetic model
methanol synthesis with catalyst deactivation. Ph.D. Thesis, Norwegian for methanol synthesis and the water gas shift reaction on commercial
University of Science and Technology. Cu/ZnO/Al2O3 catalyst. Journal of Catalysis 161, 110.
Luyben, W.L., 1986. Process Modeling, Simulation and Control for Vanden Bussche, K.M., Neophytides, S.N., Zolotarskii, I.A., Froment,
Chemical Engineering. McGraw-Hill, New York, pp. 5462. G.F., 1993. Modeling and simulation of the reversed ow operation
Parisi, D.R., Laborde, M.A., 2001. Modeling steady-state heterogeneous of the xed-bed reactor for methanol synthesis. Chemical Engineering
gassolid reactor using feedforward neural networks. Computer and Science 48, 33353345.
Chemical Engineering 25, 12411250. Velardi, S., Barresi, A.A., Antonello, A., 2002. Methanol synthesis in a
Perry, R.H., Green, D.W., 1997. Perrys Chemical Engineering Handbook. forced unsteady-state reactor network. Chemical Engineering Science
seventh ed. McGraw-Hill, New York. 57, 29953004.
Poling, B.E., Prausnitz, J.M., OConnell, J.P., 2001. The Properties of Wijngarden, R.J., Kronberg, A., Westerberg, K.R., 1998. Industrial
Gases & Liquids. fth ed. McGraw-Hill, New York. Catalysis, Optimization and Process. McGraw-Hill, New York, pp.
Ramirez, W.F., 1997. Computational Method for Process Simulation, 113140.
second ed. Butterworth-Heinemann, London, pp. 217226. Zhou, X.G., Liu, L.H., Yuan, W.K., 1999. Optimization and control of
Seborg, D.E., Edgar, T.F., Mellichamp, D.A., 1989. Process Dynamics wallcooled xed bed reactor. Chemical Engineering Science 54,
and Control. Wiley, New York, pp. 580581. 27392744.