Beruflich Dokumente
Kultur Dokumente
Sharif University of Technology, P. O. Box 11365-9465, Tehran, Iran Original scientific paper
b
Department of Polymerization Engineering, Iranian Received: March 15, 2010
Polymer and Petrochemical Institute, Tehran, Iran Accepted: September 13, 2010
This paper considers the modeling and control of a tubular fixed bed reactor with
recycle stream for dimethyl ether (DME) production. For simulation purposes, a pseudo
homogeneous model has been developed. By reactor simulation under steady state con-
dition, effects of parameters such as feed rate, pressure and shell temperature are investi-
gated. Using the steady state model, an optimizer that maximizes the reactor yield has
been developed. For cooling the reactor, a steam drum that uses heat of reactions to pro-
duce steam was coupled with the reactor. Through dynamic simulation, system open loop
response was obtained and two control loops were considered for controlling the reactor
temperature and steam drum level. An optimizer that takes into account the feed varia-
tions was incorporated into the control system to maximize the DME production rate.
Key words:
Dimethyl ether, dynamic modelling, optimization, fixed bed reactor
Process description
CO + 2 H2
CH3OH
(1)
Reactions involved in the DME production are DH 25 C = -9085
. kJ mol1
highly exothermic and therefore reactor tempera-
ture control is a challenging problem. In this work,
CO + H2O
CO2 + H2
the catalytic shell and tube fixed-bed reactor, used (2)
DH 25 C = -411
. kJ mol1
by Lurgi for the methanol process, has been pro-
posed for DME production. This kind of reactor can
CH3OH + H2O
CO2 + 3 H2
provide efficient heat removal from the reactor and (3)
the temperature can be controlled effectively. DH 25 C = -501
. kJ mol1
The schematic diagram of the process is shown
in Fig. 1. A mixture of fresh feed and recycled
2 CH3OH
CH3OCH3 + H2O
stream enters the reactor after being heated in a heat (4)
exchanger. The outlet stream of the reactor is DH 25 C = -23.4 kJ mol1
cooled and enters a separator where liquid is sepa- The above reactions are not independent and
rated as product and the non-condensed DME and each reaction can be obtained from a combination
unreacted gas are recycled into the reactor. A frac- of the remaining three reactions.14 In this work, re-
tion of recycled gas is purged to prevent accumula- actions 1, 3 and 4 were considered for simulating
tion of inert components. For cooling the reactor, a the reactor behavior.
steam drum was coupled with the reactor. The heat
The reaction rates proposed by Nie et al. were
of reaction was removed by generating the steam
used, as given below:13
that leaves the steam drum through a control valve.
k1 f CO f H22 (1 - b1 )
rCO = (5)
(1 + K CO f CO + K CO2 f CO2 + K H 2 f H 2 ) 3
k 2 f CO2 f H32 (1 - b 2 )
rCO2 = (6)
(1 + K CO f CO + K CO2 f CO2 + K H 2 f H 2 ) 4
k 3 f CH 3OH (1 - b 3 )
rDME = (7)
(1 + K CH 3OH f CH 3OH ) 2
where
F i g . 1 Schematic diagram of DME synthesis loop f CH 3OH f CH 3OH f H 2O
b1 = , b2 = ,
K f1 f CO f H22 K f2 f CO2 f H32
Reaction kinetics f DME f H 2O
b3 = 2
The kinetics represented by Nie et al. were K f3 f CH 3OH
selected for DME production based on the Lang- The kinetic parameters are given in Table 1.
muir-Hinshelwood and Hougen-Watson mecha-
nism.13 This model has been validated experimen-
tally.13 T a b l e 1 Kinetic and equilibrium constants
The eight components used in this kinetic Ai exp (Ei/(RT))
model are:
Parameters Ai Ei/J mol1
H2, CO, CO2, H2O, methanol, DME, N2, and
CH4 (as inert components). k1/mol s1 kg1 bar3 7.38e3 54307
The main reactants are H2 and CO and the k2/mol s1 kg1 bar4 5.059e3 67515
presence of inert components that absorb part k3/mol s1 kg1 bar1 1.063e3 43473
of the heat of reaction, facilitate control of the reac-
tor. KCO/bar1 3.934e6 37373
Modeling and simulation The initial and boundary conditions are given
below.
A one-dimensional (1D) pseudo homogeneous Boundary conditions: x i z=0 = x i , inlet ,
model was used to model the reactor. The assump-
tions are listed below. T z=0 = Tinlet , p z=0
= p inlet .
1. Since L/D > 100, radial variations are not Initial conditions: x i = x iss , T = T ss.
z , t =0 z , t =0
considered, where L is the reactor length and D is
the reactor diameter. The composition of fresh feed is: xH2 = 68.47,
2. The axial dispersions of mass and energy are xCO = 23.10, xCO2 = 6.96, xH2O = 0.18, xN2 = 0.29,
neglected. xCH4 = 0.98. System parameters are given in Table 2.
3. Internal and external diffusions are not taken
into account.15 T a b l e 2 Reactor parameters
4. The effectiveness factor is assumed to be diameter of each pipe, d/mm 38
one.15
length of each pipe, Lr/m 9.144
From the kinetic point of view, conversion
rates of syngas and CO2 into DME were relatively number of pipes, N 2676
slow and consequently diffusion resistance was ne- catalyst diameter, dp/mm 5.4
glected.15
catalyst density, rc/kg m3 1982.5
porosity, e 0.4
Reactor mathematical model
One-dimensional and pseudo-homogeneous
model was considered for simulating the tubular Steam drum modeling
fixed-bed DME reactor. Mass and energy balances
The model proposed by Luyben16 and Rami-
are given below.
rez17was used for steam drum modeling. The fol-
Mass balance:18 lowing assumptions were made:
ecu S nr nc nr 1. Pseudo-steady state condition considered for
ec x i=- x i+ r S
v r - x v
ij j (8)
r vapor phase in writing the energy balance.
t L r z j=1
ij j i
i=1 j =1 2. Energy loss neglected.
The schematic diagram of the steam drum is
Energy balance:10 shown in Fig. 2.
T u s C p , g r g T
C$ p , m =- +
t Lr z
(9)
nr
+ r (-DH ) r + 4U eff (T - T )
b i i C
i=1 d out
d 1- e
p = -10-5 L r
175
. + 150
Mass balance for liquid phase:
dz d p r g u s m g
d( r1V1 )
(10) = r mQ m - q w (11)
u s2 r g 1- e dt
dp e3 Mass balance for gas phase:
Variable z in the above equations is the d( r vV V )
dimensionless length defined as z = x L r . = q w - rV Q V (12)
dt
418 E. YASARI et al., Modeling, Simulation and Control of a Tubular Fixed-bed , Chem. Biochem. Eng. Q. 24 (4) 415423 (2010)
Energy balance for liquid phase: Effect of fresh feed flow rate
d(C p ,1 r1V1TC ) To investigate the effect of the fresh feed flow
= r mQ m h m - h s q w + FR (13)
dt rate on the reactor performance, it was changed by
10 % and the results are shown in Fig. 3. As can
where be seen from Fig. 3a, increasing the feed flow rate,
increases the maximum reactor temperature. This
q w = K MT ( p sat - p v ) (14)
can be explained as follows. By increasing the fresh
z s r V RTC feed flow rate, reactants mole fractions are in-
pV = (15) creased, leading to increase in reaction rates and
MW water heat generation, which in turn result in a higher re-
actor temperature. Fig. 3b shows variations of CO
QV = K V pV ( pV - p0 ) (16) conversion along the reactor length. As can be seen,
by increasing the feed flow rate, the CO conversion
Parameters KMT and Kv are pseudo-mass trans- decreases. This can be justified as explained below.
fer and control valve coefficients respectively.16 It is true that more CO is converted due to increase
of the fresh feed flow rate as explained previously,
but this does not necessarily imply that CO conver-
Numerical solution
sion increases. It should be noted that conversion is
First, the system under steady state conditions defined as:
was simulated by Ode solver of MATLAB software n 0i - n i
in variable step size mode with respect to the axial Xi =
direction. The obtained variable step sizes in axial n 0i
direction were used for discretization of partial-dif-
ferential equations (governing equations for un-
steady condition) and converting them into ordinary
differential equations (ODEs). The resulting set of
these ODEs plus steam drum equations are solved
by MATLAB Ode solver in variable step mode re-
spect to time, simultaneously.
Two steady state simulations were performed,
one using the ideal gas law and the other using the
SRK equation for the gas phase. The results are
given in Table 3. As can be seen, the error caused
due to using ideal gas law is negligible and there-
fore the rest of the simulations are performed using
the ideal gas law for the gas phase.
the hotspot temperature constraint must be consid- strained optimization problems. This technique is
ered for reactor thermal stability. In Fig. 6 reactor based on natural selection, the process that drives
temperature profiles for different shell temperatures biological evolution. The genetic algorithm repeat-
are plotted. edly modifies a population of individual solutions.
At each step, the individuals are selected randomly
from the current population to be parents and used
to produce the children for the next generation.
Over successive generations, the population
evolves towards an optimal solution.
By solving the above optimization problem,
the shell temperature that maximizes DME produc-
tivity is obtained. Having the optimum shell tem-
perature, the corresponding optimum shell pressure
is calculated and used as a pressure set-point for the
pressure control loop. By controlling the steam
drum pressure at the optimum calculated pressure,
the DME productivity is maximized for a given
feed condition. When feed composition changes,
the optimizer becomes active and calculates the
new optimum steam drum pressure. The schematic
F i g . 6 Effect of shell temperature on reactor temperature diagram of the optimizer coupled with the process
profile along the reactor length is shown in Fig. 7.
Steady-state optimizer
To find the optimum shell temperature for
DME production an objective function which is
DME productivity is considered. For a given feed
condition, the optimizer calculates the optimum
shell temperature, which maximizes the DME pro-
ductivity by considering the maximum allowable
temperature to avoid catalyst deterioration. By
changing the feed properties, the optimizer recalcu-
lates the new optimum shell temperature. The opti-
mization problem is defined below: F i g . 7 Schematic diagram of optimizer coupled with the
process
MW DME
maximize PI = FDME
TC mcatalyst
Reactor open loop response
subject to To investigate the effect of manipulated vari-
Treactor, max < 543 K able (steam flow rate) on the reactor performance,
step changes in different directions are applied to
505 K TC steam flow rate. Variations of shell pressure, maxi-
mum reactor temperature and DME production rate
where FDME is DME outlet mole flow rate, MWDME are shown in Fig. 8. As can be seen from Fig. 8a,
is DME molecular mass and mcatalyst is mass of cata- shell pressure dynamic is almost linear, and there-
lyst in the reactor. The above objective function is fore a traditional PID controller can be used for
DME productivity and TC is the decision variable. pressure loop, which is discussed in the next part.
The first constraint is considered to avoid hotspot in Fig. 8b shows that, the reactor maximum tempera-
the reactor and the second constraint is due to re- ture is increased as the shell pressure increases
quired quality of the produced vapor.18 For optimi- which is reasonable. As can be seen from Fig. 8c,
zation purposes the genetic algorithm (GA) given in changing the shell pressure has a direct effect on
the Genetic Algorithm and Direct Search Toolbox DME production rate. This can be explained as fol-
of MATLAB with its default options and parame- lows. The shell temperature corresponding to initial
ters has been used. The genetic algorithm can be shell pressure is 247 C. As can be seen from Fig. 5
used for solving both constrained and uncon- this temperature lies on the left hand side of the op-
E. YASARI et al., Modeling, Simulation and Control of a Tubular Fixed-bed , Chem. Biochem. Eng. Q. 24 (4) 415423 (2010) 421
F i g . 1 0 Comparison of closed loop responses with and without optimizer a) optimal pressure set-point and pressure loop
responses, b) maximum reactor temperature, c) steam flow rate, d) DME production rate
The optimal set point trajectory and pressure maximize the DME production rate, an optimizer
closed-loop response are shown in Fig. 10a. The that takes into account the feed variations was pro-
corresponding maximum reactor temperatures and posed. Simulation results indicate that the control
steam flow rate for two cases are shown in Figs. system including the optimizer keeps the produc-
10b and 10c. As can be seen, the optimizer prevents tion rate at the maximum value without exceeding
the temperature from exceeding the limit (Fig. 10b) the temperature limit.
and also maximizes DME production (Fig. 10d).
For DME synthesis, the temperature should not ex-
ceed 270 C.3 As can be seen from Fig. 10d, for Nomenclature
C type feed without using the optimizer, DME pro- Ar - tube cross-section area, m2
duction is higher but the maximum reactor tempera- ci - concentration of the ith component, mol m3
ture is exceeded. This fact justifies application of
cp,g - specific heat capacity of gas, J kg1 K1
the proposed optimizer.
cp,l - specific heat capacity of liquid, J kg1 K1
cp,s - specific heat capacity of solid, J kg1 K1
Conclusion C$ p ,m - mean specific heat of bed, J m3 K1
dp - equivalent diameter of catalyst particle, m
In this study, production of DME in a catalytic dout - external diameter of tube, m
fixed-bed shell and tube reactor has been consid- fi - fugacity of ith component, bar
ered. Mass and energy conservation laws plus ki- F - mole flow rate, mol s1
netic equations were used for reactor modeling. hm - enthalpy of makeup water, J kg1
Due to the highly exothermic nature of reactions in- hS - enthalpy of steam, J kg1
volved in production of DME, a catalytic shell and
Ki - adsorption constant, bar1
tube fixed-bed reactor similar to the Lurgi methanol
reactor was used. This kind of reactor can provide Kfi - equilibrium constant, reaction dependent
efficient temperature control and heat removal from ki - reaction rate constant, reaction dependent
the reactor. For controlling the reactor, two control KMT - pseudo mass transfer coefficient, m s1
loops (level and pressure) were considered. To KV - control valve constant, m4 s kg1
E. YASARI et al., Modeling, Simulation and Control of a Tubular Fixed-bed , Chem. Biochem. Eng. Q. 24 (4) 415423 (2010) 423