You are on page 1of 5

Computers chem. Engng, Vol. 21, Suppl., pp.

S1111-S1115, 1997
© 1997 Elsevier Science Ltd
Pergamon All rights reserved
Printed in Great Britain
PII:S0098-1354(97)00198-1 0098-1354/97 $17.00+0.00

Real Time Simulation of a


V C M Plant
Petter LundstrCm 1, Terje Sira 2 and Tor Ausen 3

lKongsberg Simrad AS, IS Group, P.O. Box 1089, N-3194 Horten, Norway
2Institute for Energy Technology, P.O. Box 40, N-2007 Kjeller, Norway
3Hydro Rafnes, N-3965 Herre, Norway

Abstract - A real time dynamic simulator of the Hydro Rafnes VCM plant has been developed. The simulator
model covers the cracking and quench section of the plant, as well as the HC1 column and refrigeration unit. A
high fidelity emulation of the distributed control system, Honeywell TDC 3000, is an essential part of the
simulator. The simulator is mainly used for operator training, but has also been very useful during tests of the
control strategy of a new refrigeration compressor. New development for this specific simulator project includes
development of a cracker furnace model and thermodynamic routines for "On-line K-value" computation and
robust flash routines for mixtures with one dominant component and small amounts of impurities.

1. INTRODUCTION experience with training simulators, Kongsberg


Norcontrol could also offer an existing in house
developed package for emulation of Honeywell TDC
Steady state simulation is a well established tool in 3000. Furthermore, the development of a VCM
the process industry. The usage of dynamic process Simulator was well in line with Kongsberg
simulation is also increasing. Today's technology Norcontrol's interest in increasing its land based
has reduced the cost associated with dynamic market, thus the VCM simulator development
simulation studies and made dynamic simulations a project was born.
cost effective tool in practically all phases of a This paper presents some results and experiences
project, from the design phase and throughout the obtained during the development of the Hydro
entire life cycle of a plant. Rafnes VCM Simulator. Kongsberg Norcontrol has
Kongsberg Norcontrol 1 has produced real time been the leading partner in this project, Institute for
dynamic process simulators for well over a decade. Energy Technology has also participated and Hydro
The Norcontrol process simulators may be divided Rafnes has supplied data as well as operational
into two categories; Industrial Simulators and experience. This project has been partially supported
Maritime Simulators. The major part of the by Norsk Forskningsr~d, NFR.
Industrial Simulators have been delivered to the off-
shore industry and have mainly been used for 2. PROSIM
operator training and verification of proposed
control strategies and operating procedures.
However, during the last couple of years Norcontrol ProSim is the common product name for process
has expanded its market to cover also land based simulators produced by the Industrial Simulator
process industry. Group and the Marine Process Simulator Group at
Plans for a major upgrade of the control system at Kongsberg Norcontrol. Norcontrol has a long
Hydro Rafnes VCM plant was initiated in the experience with producing real time simulators and
beginning of the 1990's. The old panel based control the name ProSim has been used since 1986 when a
system was going to be replaced by a screen based new generation of dynamic process simulators was
Honeywell TDC 3000. In connection with this introduced. Since then the concept has been under
upgrade the need for a training simulator emerged. continuous development. Today, ProSim is a state-
Although the operator personnel had extensive of-the-art product and includes a number of modules
experience of operating the plant, the introduction of of which some are presented below.
a screen based system was considered to be such a ASSET, Advanced Simulation Study and
major switch-over, that a training simulator would Engineering Tool, is an environment for working
be a useful investment. In addition to long with ProSim simulators. ASSET is used for both on-
line and off-line activities. ASSET ON-LINE is a
tool to start and control a runtime simulator. It
1 Since Jan. 1. 1997, the Industrial Simulator Group
includes a number of interfaces to view and
is part of Kongsberg Simrad AS.

Sllll
Sl112 PSE '97-ESCAPE-7 Joint Conference
manipulate any variable and parameter in the comprises two main parts. One part is a menu-driven
simulator. The off-line part of ASSET consists of the system for generation, control and evaluation of
Graphical Configuration Tool (GCT) and training sessions. The other part includes live
PointBuilder. GCT is a tool for configuration of new process mimic pictures (automatically generated
simulators, maintenance and modifications of based on the GCT pictures described above) that
existing simulators. As the name reveals, GCT is a allows the instructor to monitor transmitter readings,
graphical tool, where the simulator is built by operate manual valves, start and stop locally
drawing a 'picture' of the plant, essentially looking controlled pumps etc. The instructor may also
like a "Piping and Instrumentation Diagram". introduce equipment malfunctions from these mimic
PointBuilder is also an off-line tool, just like GCT. It pictures, for example prevent a pressure relief valve
is used to inspect and modify the simulator database. from opening.
It provides a lower level access to the simulator A set of interfaces to different Distributed Control
database than does the GCT. Systems is also part of the ProSim product. Such an
Modlib is the ProSim model library which interface is used when the simulator model is
comprises a large number of unit models. Each stimulating real vendor supplied hardware. In the
model describes a physical unit such as a control case of Honeywell TDC 3000 Norcontrol can provide
valve, a transmitter, a pipe, a vessel etc. Modlib either a stimulated or an emulated solution.
contains a large set of standard chemical engineering Norcontrol's TDC emulation package includes a
unit operations. These models are in most cases configuration program that directly transfers the real
"high fidelity" models based on first principles, i.e. TDC 3000 custom display and controller
conservation of mass and energy and in some cases configurations to the simulator. This enables easy
also momentum balances. The units in Modlib are update of the simulator and new control
easily connected to each other by simply drawing a configurations can be tested on the simulator before
connection line in GCT. One of the most complex they are implemented in the real plant.
models in the library is a distillation column model, Most of the code in ProSim is written in C and
developed at Institute for Energy Technology. This C++ and the simulator runs on UNIX workstations.
model performs detailed calculations of the flow Parts the software in ProSim is developed by
dynamics in the column and the separation is Kongsberg Norcontrol, for example ASSET, while
computed using tray to tray calculations. A rather other parts are developed by Institute for Energy
detailed description of this model is given by Olsen Technology (IFE), for example the Thermodynamic
et al. (1997). As part of the VCM simulator project a Toolkit and the Network Solver. The software is
unit model of a cracker furnace has been developed owned by Kongsberg Norcontrol and IFE together.
and the compressor model has been extended to also
describe compressors with controllable inlet guide 3. VCM SIMULATOR
vanes. The cracker furnace model is described in
section 4 of this paper.
All thermodynamic calculations in a ProSim 3.1 HYDRO RAFNES VCM PLANT
simulator are performed by the Thermodynamic The Hydro Rafnes petrochemical complex consists
Toolkit. This package allows a large degree of of three plants; an ethylene plant, a chlorine plant
flexibility for the user to specify what and a vinyl chloride monomer (VCM) plant. Some
thermodynamic methods to use for the simulation. of the ethylene and all the chlorine produced in the
The structure of the Thermodynamic Toolkit also two first plants is fed as feed stock to the VCM
makes it rather simple to add new routines to the plant, where VCM, the raw material for production
package. For example, the Hydro Rafnes VCM of PVC plastic (Poly vinyl chloride), is produced.
Simulator uses customised routines for some The chemistry of VCM production is described by
thermodynamic properties. New routines developed the following three reactions:
for the VCM simulator also include "on-line K-
Reaction 1: Ethylene (C2H4) + Chlorine (C12)
values" and PH- as well as UV-flash routines for
gives EthyleneDiChloride (EDC)
mixtures with one dominating component, e.g. an
essentially one component fluid containing a few Reaction 2: Ethylene (C2H4) + HydrogenChloride
PPM (parts per million) of impurities. These (2 HCI) + Oxygen (1/2 02) gives
routines are described in section 4 of this paper.
EthyleneDiChloride (EDC) + Water (H20)
The Network Solver is another essential piece of
ProSim. The on-line part of this package performs Reaction 3: EthyleneDiChloride (EDC) gives
centralised numerical integration of the stiff VinylChlorideMonomer (VCM) +
pressure-flow couplings of the entire simulator HydrogenChloride (HC1)
model. The Network Solver is presented in a paper
by Endrest¢l et al. (1989). In words; reaction 1 and 2 are used to produce
The Instructor interface to a ProSim simulator is EDC which in turn is converted to the desired
called the Training and Evaluation Control (TEC) product VCM, according to reaction 3. The
instructor system. The TEC instructor facility hydrogen chloride produced in reaction 3 is purified
PSE '97-ESCAPE-7 Joint Conference S 1113

mOHP 01radr,8 v ~ u a r
f

IEnG~

TaHCt~ m n
k
t
m r a u m

Figure 1: Simulated Plant Overview

and used to produce new EDC according to The number of major unit model instances in the
reaction 2. simulated plant model are listed below, in order to
The most dominating equipment of a VCM plant illustrate the large scale of the VCM simulator; 3
are the huge cracker furnaces, where reaction 3 is crackers, 3 quenches, 1 column, 1 compressor (3
performed at high a temperature. At Hydro Rafnes stages), 21 separators and vessels, 21 heat
three crackers are operated in parallel. A number of exchangers, 8 pumps, 9 electrical motors, 379 pipes
distillation columns are also part of the VCM plant. (with 184 nodes) and 251 valves.
As in any process plant there are also a large number
of vessels, heat-exchangers, pumps etc. 3.3 TDC EMULATION
An emulated Honeywell operator station, equipped
3.2 SIMULATOR MODEL
with a touch screen and a Honeywell replica
An overview of the process units included in the keyboard, enables the trainee to operate the
simulator model is shown in Fig. 1 simulated plant in the same way as the real plant.
The simulator model was originally meant to The TDC emulation is based on supporting all
cover the Cracking and Quench section (where functions and parameters used for control in the real
reaction 3 is taking place) and the HC1 column in the TDC system. This results in a large number of
Separation and Purification section. However, later variable in the emulation. In all, the simulator
in the project it was decided to also include the comprises about 485.000 variables and 35.000
refrigeration unit in the model. This model extension parameters, of which 115.000 variables and 34.000
was made since a new refrigeration compressor was parameters are used in the process model, while the
going to be installed. By including a complete model remaining variables and parameters are used in the
of the refrigeration unit into the simulator, one was TDC emulation. The advantage of such a detailed
able to test the control strategy of the refrigeration emulation is that the simulator can be automatically
compressor ahead of the planned start-up of the configured using translators that reads and converts
actual real equipment. So, the primary purpose of the the complete TDC 3000 database, i.e. custom
model extension was to enable control system displays and controller configurations are directly
verification and to perform operational studies. As transferred from the real plant to the simulator. This
an additional benefit, the training simulator also got facilitates testing of proposed control configurations
a detailed model of the refrigeration unit. on the simulator, before implementation on the real
plant.
Sl114 PSE '97-ESCAPE-7 Joint Conference
3.4 HARDWARE 4.2 ON-LINE K- VALUES
The Hydro Rafnes VCM simulator hardware Vapour liquid equilibrium (VLE) calculations are
comprises two computers; one main simulation often a dominating CPU-time consumer in a large
computer (HP735, SPECint92 = 109, SPECfp92 = dynamic process simulator. For a real time simulator
168, 96 MB RAM) executing the mathematical it is crucial to obtain updated results typically every
model and running the instructor interface, and one second, and therefore it is very important to use fast
operator station computer (HP C110, SPECint92 = and efficient methods for VLE computations.
167, SPECfp92 = 269, 64 MB RAM) running the Usually this problem is solved by applying
TDC graphics. composition independent tabulated K-values, which
Originally, a less powerful computer (HP715/50) in most cases yield sufficient accuracy and a drastic
was assigned to run the TDC graphics. This choice reduction in computer time spent on VLE
of computer was based on experiences from calculations. The most frequently used equilibrium
deliveries to the off-shore industry. However, the calculation in a simulator is the so called PH-flash,
VCM plant graphics turned out to be more complex where phase equilibrium and temperature are
with a higher degree of functionality than what is computed from given total composition, pressure and
typical for an off-shore installation. This resulted in molar enthalpy, and the UV-flash, where phase
slower response to operator inputs on the simulator equilibrium and temperature are computed from
than on the real system. This problem was solved by given total composition, molar internal energy and
upgrading the computer to a more powerful one. molar volume.
The HCI column in the VCM plant separates HCI
from EDC and VCM. The distillate stream taken
4. NEW DEVELOPMENT from the top of the column is almost pure HC1 with
typically about 10 PPM impurity (VCM). The
bottom product contains EDC and VCM and
4.1 CRACKER MODEL typically only about 10 PPM HCI. Two consequences
The cracker furnace is modelled in terms of : of the high purity are:
1) two parallel coils in which the cracking reaction 1) Composition independent K-value tables yield
takes place, insufficient accuracy due to the large difference in
2) a furnace where a combustion reaction takes composition in the top and the bottom, from almost
place, i.e. fuelgas and air is burned producing heat pure HC1 to almost pure EDC/VCM mixture.
and flue gas. 2) The rigorous distillation column model used in
Each coil is modelled as four control volumes in the simulator requires high accuracy and robust flash
series, with a flowrate dependent pressure drop calculations. The flash calculations must be able to
between the control volumes. In each volume perfect deal with all compositions from general mixtures to
mixing is assumed implying homogeneous almost pure components.
composition, temperature and pressure. A total 4.2.1 K-value computation
energy balance and material balances for each All flash routines in the Thermodynamic Toolkit
component are satisfied for each of the volumes. No employ generic calls for K-values. The user specifies
reaction takes place in the three first volumes, but the particular K-value routines and flash routines
the fourth and last coil volume is modelled as a to be employed by each type of fluid defined for the
stoichiometric reactor, where the conversion of EDC simulator. Hydrocarbon components normally use
to VCM and HC1 is a function of inlet flowrate and tabulated K-values, while water soluble components
outlet temperature. Heat of reaction is rigorously normally employ methods based on activity
computed. The heat capacity of a coil includes two functions, such as UNIQUAC, Wilson, NRTL etc.,
parts, the heat capacities of the fluid within the coil and vapour pressures.
and the coil itself. Composition independent K-values was not
The furnace is modelled as three control volumes sufficiently accurate for the HC1 column in the VCM
in series. The first one is a combustion chamber simulator. In order to account for the K-value
where fuelgas is mixed with air and burned. The composition dependency for hydrocarbon mixtures,
chamber is modelled as a stoichiometric reactor new on-line K-value routines where developed for
assuming total combustion, no NOx products, the VCM simulator. These routines uses the SRK
instantaneous combustion at the inlet to the furnace equation of state and the solution method is based on
and perfect mixing within the combustion chamber successive substitution.
volume. Heat capacities of the fluid within the 4.2.2 Flash routines
furnace and the furnace walls, are modelled. Heat A typical mixture where no single component is
transfer to the coils is modelled as convection with a too dominant, yields a phase diagram in the p-T-
given heat transfer coefficient. plane with a fairly extended two-phase region. This
means that the gas fraction and other
thermodynamic properties yield rather smooth
functions, well suited for linearisation. However, if
PSE '97-ESCAPE-7 Joint Conference Sll15
the composition is changed such that one of the testing and the shift personnel contributed
components becomes increasingly dominant , the substantially to this due to prior training on the new
two phase region will degenerate to a curve, the set-up. The present operation of the refrigeration
vapour pressure curve of the dominating component. unit is vulnerable for process upsets and will be
As a result we obtain a discontinuity in gas fraction, modified at the next planned stop. This modification
molar internal energy, molar enthalpy and molar may also be implemented and tested on the simulator
volume, when moving from one phase to another. in advance.
The UV-flash implemented in the VCM simulator The VCM Plant is run continuously with 8
is based on an iteration scheme where internal operators on a 6 shift schedule. After sufficient
energy and molar volume for each iteration is individual training the operators enters a job rotation
linearised in pressure, temperature and gas fraction. schedule. The main training on the Honeywell TDC
This means that the solution is obtained on a line in 3000 control system is obtained on the real system
the p-T-plane, parameterised by the gas fraction. By when running the plant. However, since plant upsets
also linearising the K-values in pressure and are rather seldom, the plant management have
temperature, one is able to compute an estimate for decided on a training program on the simulator for
the equilibrium solution along this line. The PH- all shift personnel.
flash implemented in the VCM simulator is Due to final testing and adjustments of the
somewhat simpler since the parameterised line in the simulator during summer and autumn 1996, only
p-T-plane is given by the pressure. shift supervisors and assistant supervisors have been
An ideal algorithm should be efficient and trained on the simulator this autumn. They have also
guarantee convergence. For the PH-flash, the been trained as instructors. The main program for all
described linearisation algorithm combined with a operators will start up in 1997. The topics will be to
bi-section method yields an algorithm which familiarise the operators with start-up/shut-down
guarantees convergence under reasonable procedures, plant safety systems (shut-downs,
assumptions. In the UV-flash case, it is much more sectioning, auto-starts, etc.) and handling of
difficult to guarantee convergence. However, in different plant upsets.
practice, the UV-flash algorithm has proven to be
very robust.
A pure one component composition will create a 6. CONCLUSIONS
numerically singular case for these algorithms. The
minimum impurity required for convergence, is
determined by the computer accuracy. In practice the Today's technology enables real time simulation of
algorithm has no convergence problems for mixtures large scale systems using high fidelity process
with a 1 PPM impurity. For mixtures with impurities models and very detailed control system emulation.
less than 1 PPM, the system will call an alternative The main purpose of the Rafnes VCM simulator
flash routine based on the saturation curve for the project has been to provide an efficient operator
component. training tool, however, the project has also lead to
additional benefits like testing of new control
USE AND BENEFITS strategies, and training of personnel, prior to
5.
implementation on the plant.

The VCM simulator was installed at the VCM


Plant of Hydro Rafnes in February 1996. Some Acknowledgement
tuning and adjustments of the simulator remained to
be performed by Kongsberg Norcontrol at that time. The authors want to thank Hydro Rafnes for
In May a planned maintenance stop of the plant fruitful co-operation during the project and for
was carried thought. During this stop a new permission to publish this paper, and Norsk
refrigeration compressor was installed with a new Forskningsr~d for financial support
control strategy. Before the stop the new control
strategy as implemented in the Honeywell TDC REFERENCES:
3000, was tested on the simulator. Some unforeseen
problems were discovered and solved in co- Endrest¢l G., T. Sira, M. Ostenstad, T. Malik, M.
operation with Honeywell, Brussels. In spire of that Meeg, and J. Thrane (1989). "Simultaneous
the final adjustments on the simulator were lacking, computation within a sequential process simulation
the improved control scheme for the compressor was tool". Modeling, Identification and Control, 10, 4,
then presented for key personnel on all shifts. 203-211.
"Learning by doing" made them familiar with the
new compressor set-up. Olsen I., G. O. Endrest¢l, T. Sira (1997). "A
During start-up of the refrigeration, additional rigorous and efficient distillation column model for
problems turned up due to droplet carryover to the engineering and training simulators". Paper
compressor. This was solved after several days of accepted for PSE'97 - ESCAPE-7, Trondheim, 1997.

You might also like