Sei sulla pagina 1di 8

Modeling and Simulation of the Ammonia Synthesis Column

MATEI VINATORU, EUGEN IANCU


Automation and Mechatronics Department
University of Craiova
Al. I. Cuza Street, No. 13, 1100-Craiova
ROMANIA

Abstract: - The paper presents the possibilities of simulation of steady and dynamic regimes for ammonia
synthesis columns. We present the possibilities of study of the dynamic regimes for automatic control of the
temperature in catalyst layers and propose an advanced control structure using the fresh gas flows between
catalyst layers as commands. We also present the possibilities of optimization of the column steady states to
obtain a higher conversion factor using the control of gas flows between the catalyst layers. This optimization
algorithm is part of the main advanced control program for the synthesis column.

Key-Words: - Advanced control system, modeling, simulation, ammonia plant synthesis

1 Introduction 4. The catalyst is spent non-uniform, starting with


Ammonia synthesis is the first stage in the the first layer. Controlling the injection flows on
manufacturing of nitrous chemical products each layer leads to efficient use of the catalyst,
(fertilizers, plastics, explosives, etc.). The direct increasing the conversion rate on ending layers
synthesis process, from basic gases (hydrogen and while the beginning layers are exhausted, thus
nitrogen) needs a theoretical and experimental study increasing the quantity of produced ammonia
of the synthesis installation, in order to determine the and the conversion rate.
optimum working regimes. This is determined by: 5. The real catalyst activity can be different from
the manufacturer specifications. Using
1. The direct synthesis reaction N2 + H2 =NH3 is a optimizing software based on real process
reversible exothermic reaction which must take measurements, the real catalyst activity value
place at equilibrium to get a maximum can be determined and further used for control.
conversion rate.
2. The conversion rate depends of a series of Therefore, his paper tries to solve the following
technological factors, the most important being: problems:
temperature (the temperature increase leads to - The development of simplified models and
ammonia decomposition, thus leading to programs for the column working regimes:
conversion rate decrease), catalyst activity - The modeling of the steady states considering the
(which is decreasing in time because of catalyst variations of the concentration and temperature along
exhausting) and pressure. The maximum the catalyst layers (the variation against the spatial
ammonia concentration that can be obtained is coordinate).
between 14% and 22% and depends of the - The development of optimization procedures for
pressure and the temperature. the steady states, using as optimization criteria the
3. The synthesis columns are built with fixed maximum final conversion rate, and the calculation
catalyst layer and there is no possibility to of optimum cold gas flows to be injected between
control the temperature inside the catalyst layer. layers.
To compensate this inconvenience, the columns - The modeling of the dynamic regimes considering
are built with multiple catalyst layers (Kellog the catalyst layers as a lumped parameter system and
process), offering the possibility of introduction developing real time control software for the control
of cold gas between the layers in order to reduce of temperatures and cooling flows.
the temperature and ammonia concentration at - The development of fault detection and correction
the input into the next layer, thus increasing the algorithms (actuator blocking, malfunctioning of
quantity of produced ammonia and the temperature sensors) and control algorithms in fault
conversion rate. conditions for the column during the repair periods.
increase per production unit.
2 Column Modeling and Simulation Ammonia is the primary feedstock for the
nitrogenous fertilizer industry. Many of ammonia
in Dynamic Regime technology companies (for ex. Kellogg Brown &
One of industrial procedures to obtain ammonia
Root, Romanian Chemical Industry) develop strong
(NH3) from components, nitrogen (N2) and
research activities in the direction of engineering,
hydrogen (H2) takes place at medium pressure
construction, training, control, operating and
(p=150 bar) in a multi-layer synthesis column
maintenance services.
(usually four layers). The column structure is
This paper try to develop a control strategy for
presented in figure 1.
realize a maximum conversion of reactants can be
obtained, for given status and functional parameters
F5, T5 at the reactor entrance and for fixed geometry of
catalyst systems. During operation perturbing factors
F1, T0 can appear, which necessitate the use of advanced
control structures and appropriate control algorithms.
From the analysis of the technological flow, we
can obtain the block diagram of the ammonia
synthesis column that is shown in figure 2.
In order to obtain a simpler dynamic model for the
CL1
synthesis column, the column was decomposed in
F2
eight functional blocks. For each block we can write
the mass balance equations for nitrogen and
hydrogen and the thermal balance equation for the
F3 gas mix. We are taking into consideration the
reaction speeds that depend of the working
temperature and pressure in each layer zone. The
coefficients appearing in the equations can be
F4 determined partly using the relations from literature
and partly from measurements in the real
installations. Finally, after coefficient correction and
CL4 model validation, we obtain the following model for
the synthesis column:
a) Heat Exchanger:
dTa1 Fj
(c p 0T0 c a Ta1 ) 5.0392(T4 Ta1 )
Fig. 1. Synthesis column dt 1000
(1)
The main feed of the synthesis column consist of b) Catalyst layer j
flow F1, at a temperature T0 of 290-300 degree dx aj Fj FRj
Celsius, that is preheated to 400 degree Celsius in c j ( x a 0 x aj ) c j ( x a 0 x aj )
dt 1000 1000
the heat exchanger located at the column entrance. c Rj K Tj (T j )V Rj ( x aj , xbj )
The synthesis reaction that takes place in the catalyst
layers is highly exothermic. Thus, through flows F2, (2)
F3, and F4 introduced between catalyst layers at a dxbj Fj FRj
c j ( xb 0 xbj ) c j ( xb 0 xbj )
temperature T0, we get the following: dt 1000 1000
-direct gas cooling between catalyst layers in order to c Rj K Tj (T j )V Rj ( x aj , xbj )
maintain the optimum reaction parameters in the new
(3)
layer;
dT j Fj
-reduction of the ammonia concentration in the gas (c aj Taj c pj T j )
mixture (H2, N2, CH4, NH3) below the equilibrium dt 1000 (4)
value, in order to allow the ammonia production H Rj K Tj (T j )V Rj ( x aj , xbj )
F1, T0, xa0, xb0
Heat Exchanger
F1, T0, xa0, xb0

Catalyst, Layer 1 u1

F1, T1, xa1, xb1


FR2, T0, xa0, xb0
Mixer 2
F2, Ta2, xa2i, xb2i
u2 C
Catalyst, Layer 2
O
F2, T2, xa0, xb0 N
FR3, T0, xa0, xb0 T
Mixer 3 R
O
F3, Ta3, xa3i, xb3i L
u3 E
Catalyst, Layer 3 R
F3, T3, xa0, xb0
FR4, T0, xa0, xb0
Mixer 4

F4, Ta4, xa4i, xb4i


u4
Catalyst, Layer 4
F4, T4, xa4, xb4

Fig. 2. Block Diagram

c) Mixer j - cj, cp0, cp1, cpj are thermal and mass coefficients,
dTaj F j 1 - Tj (j=14) are temperatures in the catalyst layer j
(c pj 1T pj 1 c pj T j ) - Taj (j=14) are temperatures at the output of the
dt 1000
(5) mixer j
FRj
(c p 0T0 c pj T j ) - xaj, xbj are the concentrations of the nitrogen and
1000 hydrogen on the layer j
0,521
3
xbj
V Rj 0,9 x aj F2=F1+FR2 ; F3=F1+FR1+FR2 ; F4=F1+FR1+FR2+ FR3;


0.60648 x x 2
aj bj

0, 479
(6) The coefficient values are presented in Annex,


0.60648 x x 2
aj bj
table 1. The mathematical model of the synthesis
3
xbj column given by equations (1-7) was implemented
in Matlab in order to study the column operation in
25107.7 dynamic regime, to determine the sensitivity of the
K Tj exp 27.751
Tj commands u1-u4 (see fig. 2) reported to column

parameters and the allowed ranges for commands
(7)
and to determine the temperature ranges in the
were:
column for temperature sensors design.
- j 1,4 FR1=0, F1 = 18860 Kmol/h, Fj = Fj-1 + Because of the high cost of the gas concentration
FRj; sensors, temperature sensors mounted inside the
catalyst layers and mixing areas are used to provide rate xc and fugacity coefficients for N2, H2 and NH3.
feedback for the control algorithms. Eventually we obtain an algebraic equation that
gives us the equilibrium conversion rate:
a2 xe2 2a1 xe a0 0 (11)
3 Optimization Procedures for the The real solutions of the equation represent the
Maximum Final Conversion Rate maximum possible value for the conversion rate. At
In order to obtain maximum conversion rate of the entrance in the new catalyst layer we determine
nitrogen and hydrogen into ammonia, we must the conversion rate:
determine the optimum cooling flows between the xej 1F10
catalyst layers and working temperatures in the xj j
(12)
column. Advanced control algorithms determine F10 FRi
these parameters periodically or on demand, using i
an optimization algorithm. and temperature
The optimization algorithm is based on following F c T FRa c pjT1
hypotheses: T j m pm ej 1 (13)
( Fm FRa )c p
-The equivalent reactor for each layer is
considered adiabatic; Relations (8-13) can be integrated using initial
-The catalytic reactions are taking place in conditions x=0 and Ti0=T1 and we can obtain the
quasi-homogenous layers; optimum flow Fi and temperatures at the entrance
-The gas cooling is considered instantaneous of each layer: FR2=3000Kmol/h, FR3=1900 Kmol/h,
compared with the mass and heat transfer inside the FR4=600 Kmol/h, T2=717 K, T3=734 K, T4=753 K
catalyst layer; and the final conversion is XA = 0.221.
-The gas flow through the catalyst layer can be In figure 3 is presented the dependence between the
approximated by a traveling model; conversion rate and temperature for each layer.
-Pressure losses on catalyst layers are
negligible;
In steady state, for each catalyst layer we can 4 Advanced Control of Synthesis
define the mathematical model of the process: Columns in Fault Conditions
a) Conversion rate In figure 2 is presented the block diagram of the
dx aj S advanced control system for the synthesis column.
V Raj (8) The system provides the temperature and cooling
dz FMN 0
flow control, based on optimum values provided by
b) Heat accumulation inside the gas mix
the optimization block.
and catalyst
This strategy uses the flows F1 to F4 to get a
dT j S
( H Ra )V Raj (9) maximum conversion rate and a maximum
dz FM c p production for normal working conditions. Also,
where: xAi = conversion rate on layer j, T j = these flows can be used in the case of a temporary
temperature on layer j, Fmn0 =nitrogen molar flow at fault of the main feed (actuator fault for the flow
the reactor entrance, cp = molar specific heat of the F1) or in the case of catalyst exhaustion for the first
synthesis gas, VRaj = reaction speed, DHRa=reaction or second layer.
enthalpy (depends on T). For advanced control, the conventional control of
The reaction speed can be represented as a the ammonia synthesis column at the Kellogg
function of catalyst used and reactants (NH3, N2, ammonia plant from Craiova was replaced with
H2) concentrations in real and equilibrium numeric control (DCS and PLS), using a
conditions ( Tempkin-Pijev model). hierarchical distributed control structure. Beside the
standard software, new software was developed to
K tj (T ) y *NH
2
y1H.52 y N 2 y NH 3 monitor and optimize the synthesis process.
VRaj *3 * 3
1.5 The program structure for advanced control of
p yH 2 y N 2 y NH 3 yH 2 the synthesis column is presented in figure 4.
Periodically, during operation, the optimal
(10)
procedure is called to compute the optimal flows F1
Equilibrium concentrations and constants can be to F4 and optimal temperatures at the entrance and
represented as a function of equilibrium conversion exit of every layer, using the current data from the
790
780 T [K]
770
760
750 Layer IV
740
730 Layer III
720 Layer II
710 Layer I
700
690
680
XA
670
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2 0.22

Fig. 3. Evolution of conversion rate and temperature for each layer


process (temperatures, pressures, gas composition). conditions, close to the normal but the ammonia
For the first stage, we ran a computer simulation of production decreases with 25%.
the system, using mathematical models, based on The operating logs for some ammonia column
termochemical kinetics and data for the actual from the ammonia plants have revealed a series of
catalyst used in the process. The results were very faults that can appear in the equipment or in the
closed to the real data obtained from the process. In control structure:
fig. 3 is represented the diagram of the temperatures -Blocking or hysteresis operation of actuators for
and concentrations for each catalyst layer. The layer flows F1, F2, F3 and F4.
program allowed the simulation of different fault -Improper preheated synthesis gas or improper
conditions as actuators blocking and allowed the pressure control in the compressor zone that can
lead to important changes in hot gas temperature T i
Synthesis Column or flow Fi.
-Changes of the heat transfer coefficients caused by
T1 - T 4 F1 - F4 build up inside or outside the superheater's pipes
and coils.
Data acquisition and control It is necessary to highlight the action channels
for these possible faults and the measurable outputs
of the process that are directly and faster modified
Main program Fault detection by these perturbations. Using the equations (1 - 5)
we can develop the block diagram presented in
figure 5. We can define the pairs that represent the
x(i) direct channels fault-perturbed output: (F 2-T2, F3-
Procedure Subroutine T3) and remains available the pair (T i-T1) even Ti
Pattern-search MODEL can also modify simultaneously T2 and T3. The
perturbations in synthesis system (T i and Fi) can
F0 F(i)
Fa(i) F(i) also modify T1. Accordingly we can define the error
vector DE as a matrix function of fault vector DE.
Subroutine OPTIM
T2 p T2m F2

DE T3 p T3m F F3
Fig. 4. Control structure T T T
1 p 1m i
development of control strategies for the synthesis (14)
column using the other available flows. The
conversion rate can be maintained, in certain Applying the analytical method principles
presented [5, 6] we will obtain the block diagram, [4]. J. R. Jennings, Catalytic Ammonia Synthesis:
presented in fig. 5, that was verified throw Fundamentals and Practice, Plenum Press, New
simulation. York, 1991.
T1p
Tgi
Fi T2p
Real
Tg0
T3p
T2* Synthesis
PI control
AC1
Process Ft
T3*
PI control AC2

DE1 Y1 Xc1 T1m


Synthesis
DE2 Fault Y2 Xc1 T2m
DE3
Process
Y3 T3m
Detect Tgi
Simulator

Tg0
Fault
display

Fig.5. Simulation block diagram

5 Conclusions
The program allows the operators from the control [5]. M. Vinatoru, Automatic Control of Industrial
room to permanently evaluate the working Processes, Ed. Universitaria, Craiova, 2001.
conditions and compare them with the optimal [6]. M. Vinatoru, E. Iancu, C. Vinatoru, Robust
values. control for actuator failures, Proceedings of 2nd
- It allows the permanent control of process IFAC Symposium ROCOND'97, Budapest, 1997,
parameters. pp. 537 - 542.
- It allows the simple adaptation to the real optimal [7]. M. Vntoru, M., E. Iancu, C. Vntoru,
working conditions. R.J.Patton, J. Chen, Fault Isolation Using Inverse
Sensitivity Analysis, International Conference on
References: Control'98, University of Wales, Swansea, England,
[1]. C. Crove, Chemical Plant Simulation, Prentice- vol. 2, 1998, pp. 964-968.
Hall, London, 1971.
[2]. E. Iancu, M. Vinatoru, Fault Detection and ANNEX
Identification in Dynamic Systems , Craiova, Sitech,
Romania, 1999. Table 1. Equation constants
[3]. R Isermann, Supervision, fault detection and Const Layer I Layer II Layer III Layer IV
fault diagnosis methods. An introduction, Control cj 5.504 3.4673 2.01 0.5225
Engineering Practice, 5(5), 1997, pp. 639 652. cRj 1 0.514 0.635 0.12793
caj 5.4763 3.40831 1.992 0.5225
cpj 5.5048 3.4621 2.01 0.5225
cp0 0.2133 0.21229 0.11239 0.11229

Potrebbero piacerti anche