BartonDynamicSimNotes PDF
BartonDynamicSimNotes PDF
INTRODUCTION
Paul I. Barton
Department of Chemical Engineering
Massachusetts Institute of Technology
Cambridge, MA
Frank Popoff
former CEO, Dow Chemical
April 1996
APPLICATIONS OF DYNAMIC SIMULATION
Plant design:
a) a priori assessment of intrinsic operability and
controllability of a plant - especially for highly
integrated plants.
b) design and testing of regulatory control systems -
selection of control structures, control algorithms,
and initial tuning of loops.
c) design and testing of operating procedures - start-
up, shut-down, feed stock changeover, etc.
d) hazard/safety studies - answer important questions
raised by HAZOP study.
e) design and testing of protective and relief devices -
study plant behaviour and performance of protective
system during major deviations from steady-state
(need good models!)
f) environmental studies - predict emissions generated
during plant upsets/failures.
g) analysis of intrinsically dynamic processes:
batch/semi-continuous processes, periodic processes
(e.g., pressure swing adsorption)
APPLICATIONS OF DYNAMIC SIMULATION
Plant Operator
Real Time
Instructor
Control System
Dynamic Simulation
Plant Operators
Dynamic
Plant Simulation
BACKGROUND
OBJECTIVES
APPROACH
steady-state simulation:
steady-state is just one initial condition for a
dynamic model: always get steady-state model for
free in dynamic study!
optimize plant for different feed concentrations and
loads
identify which equipment must be revamped to
increase capacity
BENEFITS
BACKGROUND
APPROACH
1
this paper is instructive because it applies dynamic simulation to four different processes at four
different stages of their lifetimes. It also compares two dynamic simulators.
THE DYNAMIC MODEL
Reprinted from Computers Chem. Engng. 17, Naess et al., "Using Dynamic Process
Simulation from Conception to Normal Operation of Process Plants," pp. 585-600,
Copyright 1993, with kind permission from Elsevier Science Ltd, The Boulevard,
Langford Lane, Kidlington OX5 1GB, UK.
PRESSURE TRANSIENT IN FIRST SEPARATOR IN
RESPONSE TO SLUG
Reprinted from Computers Chem. Engng. 17, Naess et al., "Using Dynamic Process
Simulation from Conception to Normal Operation of Process Plants," pp. 585-600,
Copyright 1993, with kind permission from Elsevier Science Ltd, The Boulevard,
Langford Lane, Kidlington OX5 1GB, UK.
VALVE STEM POSITION TRANSIENTS IN
RESPONSE TO SLUG
Reprinted from Computers Chem. Engng. 17, Naess et al., "Using Dynamic Process
Simulation from Conception to Normal Operation of Process Plants," pp. 585-600,
Copyright 1993, with kind permission from Elsevier Science Ltd, The Boulevard,
Langford Lane, Kidlington OX5 1GB, UK.
RETROFIT OF NORSK HYDRO TOPSIDE OFFSHORE
OIL PRODUCTION PROCESS
BENEFITS
BACKGROUND
OBJECTIVE
APPROACH
CASE STUDY 1
processes studied:
1 the original paper (Delbing et al., 1994) contains several case studies of different products and processes
DESIGN OF PRODUCT GRADE TRANSITIONS FOR
POLYOLEFIN PROCESSES
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
GAS-PHASE VERTICAL STIRRED BED
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
GAS-PHASE HORIZONTAL STIRRED BED
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
LIQUID POOL LOOP
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
NUMBER AVERAGE MOLECULAR WEIGHT
DURING TRANSITION
BASE CASE POLICY (A)
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
NUMBER AVERAGE MOLECULAR WEIGHT
DURING TRANSITION
ALTERNATIVE POLICY (B or H)
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
PERCENT OFF-SPEC PRODUCT DURING TYPICAL
CAMPAIGN
from Debling et al., Dynamic Modeling of Product Grade Transitions for Olefin
Polymerization Processes, AIChE Journal, 40(3), pp.506-520, 1994. Reproduced with
permission of the American Institution of Chemical Engineers. Copyright 1994
AIChE. All rights reserved.
DESIGN OF PRODUCT GRADE TRANSITIONS FOR
POLYOLEFIN PROCESSES
CONCLUSIONS
BACKGROUND
OBJECTIVE
Can detailed dynamic models of a batch process help in
the design of a process with better environmental
performance?2
Pt D, A
Conclusions:
only toluene can be recovered in pure form for recycle
30% of stream disposed of by incineration.
H2
Pt E D, A
Cut 1: C
RI: Cut 2: C-R1-Toluene
Cut 3: C-R1
Cut 2: C
RV: Cut 2: C-R1-Toluene
Cut 3: Toluene
Conclusions:
if mixture created by Reaction I lies in regions I or V
then process is feasible
some C will also be recycled in azeotropes with
solvent and/or reagent to next batch
3 a cyclic dynamic system is said to have reached cyclic steady-state when the variation of the variables
(profiles) over a cycle is the same from one cycle to the next
DESIGN OPERATING POLICY FOR COUPLED
REACTOR AND COLUMN
DESIGN OBJECTIVES
At cyclic steady-state:
mixture at the end of Reaction I must be in either batch
distillation region I or V
formation of undesired oligmer I2 must be minimized
time
time
Product
Waste
BATCH PROCESS DEVELOPMENT: SILOXANE
MONOMER PROCESS
BENEFITS
DYNAMIC MODELLING
Paul I. Barton
Department of Chemical Engineering
Massachusetts Institute of Technology
Cambridge, MA
Time, t [s]
This implies:
1 in fact, any "perfect model" would exhibit such complexity that it would be
indistinguishable from the real system.
PRELUDE TO MODELLING
THE ENVIRONMENT
SYSTEM
Inputs(t) Outputs(t)
State(t)
disturbances
controls
Identify:
boundaries (function of system) - a system is defined
by its boundary
constraints
quantities describing system behaviour: inputs, states,
outputs
assume: inputs (outputs)
PRELUDE TO MODELLING
Notes:
we are developing a model for the system. Everything
else is the environment.
inputs define the influence of the environment on the
system.
while in real life the inputs will be further subdivided
into:
(a) controls those inputs that can be manipulated in
order to control the system behaviour.
(b) disturbances those inputs over which we have
no control.
. . . from the point of view of modelling we can play
God: we must define the time variation of all the
inputs in order to pose a fully determined simulation
problem.
inputs (outputs):
more precisely: we can sufficiently decouple the
influence of the outputs on the inputs (feedback via
the environment) for the purposes of the current
exercise.
pragmatic view: can only model so much at a given
level of detail.
PRELUDE TO MODELLING
B: Bottom Up Approach
Accumulator
Tray Section
Charge Tray
Dump
Tray
Steam Out Steam In
Steam In
Reboiler
Steam Out
Charge
Vapour Liquid
BOUNDARY
Mass balance:
Rate of
accumulation of Flow of Flow of
= mass into mass out of
mass in control
control volume control volume
volume
Notes:
(a) units of each term must be consistent
(b) terms in balance equations are always extensive
quantities.
FIN
P0
M(t) hMAX
h
P1
FOUT
Assumptions:
isothermal system => no need for energy balance
single chemical species => fluid density constant
inlet flow defined as an input (or by an upstream
model) e.g., FIN (t) known.
vessel has uniform cross sectional area
model valid for interval 0 h h MAX
MASS CONSERVATION EXAMPLE
Equations:
Mass Conservation
dM
= FIN FOUT (1)
dt
V = M (2)
hA = V (3)
Hydrostatic pressure
P1 = P0 + gh (4)
FOUT = k P1 P0 (5)
Remaining variables:
M, V, h, P1, FOUT (= 5)
Equations = 5
P0
h M (t)
P1
PUP PDOWN
FIN FOUT
Note:
(a) the inlet pipe has moved to a different physical
location consider how this changes the model.
(b) the control valves can be modelled by the following
equation (see later):
PIN POUT
F = Cv x
w
MASS CONSERVATION EXERCISE
Variables:
F = flow through valve
Cv = valve sizing coefficient
x = valve stem position (control)
PIN = inlet pressure to valve
POUT = outlet pressure from valve
= density of fluid
w = density of water at reference
temperature
SPECIES BALANCES
FIN
C A,IN R
A
k
B
P0
C B,IN
V(t)
C A (t) C B (t)
FOUT
P1 CA
CB
Assumptions:
vessel contents well mixed
isothermal, species A and B present in dilute solution
=> fluid density constant (e.g., neglect density changes
due to presence of A and B)
model valid for interval 0 < h h MAX (note difference)
otherwise, same as above
SPECIES BALANCES EXAMPLE
Variables:
Equations:
Mass Conservation
dV
= FIN FOUT (1)
dt
d (VCA ) dV dCA
= CA +V = FIN CA ,IN FOUT CA Vr (2)
dt dt dt
d (VCB ) dV dCB
= CB +V = FIN CB ,IN FOUT CB + Vr (3)
dt dt dt
Notes:
use of volume in mass balance is only valid for the
assumptions above
concentrations in outlet stream equal to bulk
concentration because vessel contents well mixed
we have derived NC (=3) mass and species balances
this is sufficient to define the state of the system: all
other quantities can be related to {V, CA,CB} via
algebraic relationships. Note that an alternative
would have been to derive a species balance for the
solvent instead of the mass balance.
SPECIES BALANCES EXAMPLE
hA = V (4)
Hydrostatic pressure
P1 = P0 + gh (5)
FOUT = k P1 P0 (6)
Reaction rate
r = k RCA (7)
Equations = 7
.
W
Fe Fl
he hl
U(t)
.
Q
dU
= Q + W + Fe he Fl hl
dt e l
where,
H enthalpy of the control volume contents [J]
Each form is convenient under certain assumptions. If the
volume of the system is constant, energy balance (E1)
reduces to:
dU
= Q + W s + Fe he Fl hl
dt
and if the pressure of the system is constant, energy
balance (E2) reduces to:
dH
= Q + W s + Fe he Fl hl
dt e l
ENERGY CONSERVATION
FIN
C A,IN
C B,IN
k
TIN A
R
B
P0
hIN
M(t) H(t)
FOUT
NA (t) NB (t)
CA
CB
Q P1
T OUT
h OUT
Assumptions:
vessel contents well mixed
species A and B present in dilute solution
atmospheric pressure is constant (e.g., P0 f (t) )
neglect shaft work of impeller
neglect heat interaction with atmosphere
otherwise, same as above.
ENERGY BALANCE CONSTANT PRESSURE
EXAMPLE
Variables:
Equations:
Mass conservation
dM
= IN FIN OUT FOUT (1)
dt
dN A
= FIN C A, IN FOUT C A Vr (2)
dt
dN B
= F IN CB, IN FOUT C B + Vr (3)
dt
dH
= Q + FIN IN hIN FOUT OUT hOUT (4)
dt
Reaction rate
V = M (6)
hA = V (7)
N A = VC A (8)
N B = VC B (9)
Hydrostatic pressure
P1 = P0 + gh (10)
FOUT = k P1 P0 (11)
= OUT (12)
T = TOUT (13)
ENERGY BALANCE CONSTANT PRESSURE
EXAMPLE
H = MhOUT (14)
= (T ) (15)
IN = (T IN ) (16)
hIN = h(T IN ,C A, IN ,C B, IN ) (17)
hOUT = h(T,C A ,CB ) (18)
Heat transfer
Q = U J AJ (TJ T) (19)
Equations = 19
INERT
GAS
LIQUID
TO
OTHER
VESSEL
FIN FOUT
TIN TOUT
PIN POUT
h IN hOUT
Assumptions:
fluid density constant
irreversible adiabatic expansion
rate of accumulation of material and energy in piping
negligible in comparison to material and energy flows
=> static (pseudo steady-state) mass and energy
balances
value has linear inherent characteristic
non flashing liquid phase.
no significant time lag of stem position in response to
changes in the control signal
Variables:
Equations:
PIN POUT
FIN = CV x (V3)
/ w
INERT
GAS
LIQUID
FOUT
TOUT
POUT
hOUT
Assumptions:
liquid density constant
ideal gas equation of state
adiabatic vessel (in time horizon of interest)
negligible heat and mass transfer between liquid and
inert gas (in time horizon of interest)
uniform cross sectional area
liquid phase well mixed and gas phase well mixed
valid in interval 0 < h < hmax
MODEL OF STORAGE VESSEL
Variables:
Equations
V L = M L (S5)
Ideal gas equation of state
VMV
PV = RT V (S6)
MW
MODEL OF STORAGE VESSEL
hA = V L (S7)
Hydrostatic pressure
Volume constraint
V TOT = V L + V V (S9)
T OUT = T L (S10)
hOUT = h L (S11)
U V + PV V = M V h V (S12)
U L + PV L = M L h L (S13)
h V = h V (T V , P) (S14)
h L = h L (T L , P) (S15)
MODEL OF STORAGE VESSEL
Equations = 15
Notes:
(a) although the material flow in this system is
unidirectional from the storage vessel to the valve
(assuming Vessel. P > Valve. POUT ), the information
flow in the model is not: we specify the downstream
pressure and calculate the upstream flow rate. This
means that the models of the valve and the storage
vessel must be solved simultaneously in general,
the decomposition techniques applied to solve
steady-state simulations cannot be applied to
dynamic simulations even when material flow in the
flowsheet is unidirectional.
(b) the introduction of the PV work terms in the energy
balances causes problems with consistent
initialization of this model (see discussion of "high
index" problems later on).
PUTTING IT ALL TOGETHER
FORMULATING A SYSTEM MODEL
Sum of forces
applied to
+ control volume
in ith direction
[N] [kg ms-2 ]
Assumptions:
same as for original buffer tank example
one dimensional plug flow in pipeline and
incompressible liquid => velocity uniform throughout
pipeline (macroscopic control volume)
MOMENTUM BALANCE EXAMPLE
Variables:
Equations:
dM
= FIN FOUT (1)
dt
d( Ap Lv)
= FOUT v FOUT v + F H FF
dt
dv
AP L = F H FF (2)
dt
Hydraulic force
FH = AP gh (4)
FF = kF Lv 2 (5)
MOMENTUM BALANCE EXAMPLE
V = M (6)
hA = V (7)
MASS
FLUX
PHASE 2
ENERGY FLUX
MASS ENERGY
PHASE 1 FLUX FLUX
MASS
FLUX
System boundary
T 1 = T 2 =....= T
P1 = P 2 =....= P
1i = i2 =....= i i = 1... NC
where:
T j = temperature in phase j
P j = pressure in phase j
ij = chemical potential of species i in phase j
In other words, the condition of phase equilibrium
enforces ( 1)( NC + 2) equations in the system
model.
(c) when formulating species and energy balances
consider a control volume encompassing all the
phases in equilibrium. The reasons for this relate to
the index of the resulting model (see Ponton and
Gawthrop (1991) for a full explanation), but the
consequence is that we cannot calculate the mass
and energy fluxes between the phases explicitly.
EQUILIBRIUM SYSTEM FLASH DRUM
Assumptions:
phases at phase equilibrium
individual phases well mixed
vessel adiabatic (no particular need for this just
makes model development easier)
both phases present at all times e.g. model valid
while T BUBBLE T T DEW
bulk flows into and out of vessel specified or
determined by upstream and downstream models.
Variables:
Equations:
Species balances
dN i
= Fzi Lx i Vyi i = 1...NC (1)
dt
dU
= FhIN VhV Lh L (2)
dt
P = P SAT (T )
yi P = xi Pi SAT (T ) i = 1... NC
Ni = N V yi + N L xi i = 1... NC (4)
U + PV TOT = N V h V + N L h L (5)
NC
yi = 1 (7)
i=1
EQUILIBRIUM SYSTEM FLASH DRUM
Volume constraint
VTOT = N V vV + N Lv L (8)
h V = h V (T, P, y) (9)
h L = h L (T ,P, x ) (10)
v V = v V (T, P, y) (11)
v L = v L (T, P, x) (12)
V i,p
L i,p+1
VAPOUR ABOVE
FROTH
LIQUID
IN
DOWN VAPOUR FLUX
COMER
FROTH ON PLATE
LIQUID L i,p
FLUX
Vi,p-1
Froth on plate:
LD i,p V i,p
MASS
FLUX
LIQUID VAPOUR
PHASE PHASE
ENERGY
FLUX
L i,p Vi,p+1
Assumptions:
phases at phase equilibrium
individual phases well mixed
adiabatic
both phases present at all times e.g., model valid
while T BUBBLE T T DEW
number of moles in vapour phase negligible in
comparison to liquid phase
PV work terms in energy balance negligible
EQUILIBRIUM SYSTEM DISTILLATION TRAY
Equations:
dN p
= LD
p + V p+1 L p V p (1)
dt
d ( xi, p N p ) dN p dx i, p
= x i, p + Np =
dt dt dt (2)
LD D
p xi, p + V p +1 yi, p +1 L p x i, p V p yi, p
i = 1... NC 1
dU p
= LDp h pD + V p+1h Vp+1 L p h pL V p h Vp (3)
dt
Phase equilibrium
U p + P p N p v pL = N p h pL (5)
EQUILIBRIUM SYSTEM DISTILLATION TRAY
NC
yi, p = 1 (7)
i =1
L p = f ( N p ,v Lp ) (8)
Physical properties
h Vp = h V (T p , Pp , y p ) (10)
h pL = h L (T p ,P p , x p ) (11)
v Lp = v L (T p , P p x p ) (12)
P1 = P 2 =....P
i.e. (-1) equations.
(ii) derive separate species balances for each species
in each phase include species flux terms to the
other phases
(iii) derive separate energy balances for each phase
include energy flux terms to the other phases.
(d) species and energy fluxes between each phase are
determined by multi-component heat and mass
transfer relationships:
(i) these are extremely difficult to generalize must
be derived on a case by case basis considering
geometry, flow patterns, etc.
(ii) usually dependent on empirically derived
correlations which may only be valid in a very
small operating region e.g., at or near steady-
state. If the dynamics take the system outside this
region, model assumptions are no longer valid!
NON EQUILIBRIUM SYSTEMS
Assumptions:
individual phases are well-mixed.
vessel adiabatic
liquid feed stream well-mixed with the liquid phase
both phases present at all times
bulk flows into and out of vessel specified by user or
determined by upstream and downstream models
Variables:
Equations:
dNiL
= Fzi A i Lxi i = 1 NC (1)
dt
dNiV
= A i Vyi i = 1 NC (2)
dt
dH L dP
= FhIN + N Lv L A H Lh L (3)
dt dt
dH V dP
= A H + N V v V VhV (4)
dt dt
NON EQUILIBRIUM SYSTEM - FLASH DRUM
(
i = kiL xi x*i ) i = 1 NC (5)
(
i = kiV y*i yi ) i = 1 NC (6)
NC
H = k HL (T L T )+h * L
i (7)
i=1
NC
H = k VH (T * T V ) + h V i (8)
i=1
( )
yi* = Ki* T * ,P, x * , y* xi* i = 1 NC (9)
NiL = N L xi i = 1 NC (10)
NiV = N V yi i = 1 NC (11)
H L = N Lh L (12)
H V = N V hV (13)
NON EQUILIBRIUM SYSTEM - FLASH DRUM
Volume constraint:
VTOT = N V vV + N Lv L (14)
NC
yi = 1 (16)
i=1
(
v L = v L T L , P, x ) (17)
(
v V = v V T V , P, y ) (18)
(
h L = h L T L , P, x ) (19)
(
h V = h V T V , P, y ) (20)
DYNAMIC MODELLING CONCLUSIONS
All the above discussion is based on the premise that it is reasonable to assume that the
macroscopic control volumes employed to derive the model equations are well mixed.
Whether or not this assumption is reasonable, our options are pretty limited by the
capabilities of current process modelling technology. In this section we will briefly
discuss the current options when the above assumption breaks down.
0 L
z
CAIN CAOUT
CBIN CBOUT
2AB
CA 2CA C
=D v A 2kC A2
t z 2
z
CB CB
2
C
=D v B + kC A2
t z 2
dz
Note that these are now partial differential equations (PDEs) rather than ordinary
differential equations, with the following independent variables:
time
axial position along the reactor (in the domain z [O,L] ).
The concentrations of the species in the reactor are now a function of both time and
spatial position in the above domain (i.e., CA (z,t) ). We need to solve for these functions
(or fields).
Note that this problem is somewhat more difficult than one in reaction engineering
where we would explicitly define the boundary conditions as functions and solve the
reactor model in isolation. Here, we do not know the boundary conditions explicitly
because the inlet and outlet streams are coupled to upstream and downstream units,
and the boundary conditions are determined implicitly by numerical solution of these
other units. As the solution to the reactor model (at least) influences the downstream
boundary condition (and the upstream one if there is a recycle stream), all the units
must be solved simultaneously. This gives rise to a process model composed of a mixed
system of partial differential, ordinary differential, and algebraic equations (PDAEs).
Further, the PDEs in this system may be distributed on multiple spatial domains, each
corresponding to the spatial dimensions of different vessels in the flowsheet. Finally, as
noted above, the boundary conditions of these multiple domains are coupled.
Current technology will not accept a PDE model in the form above. One approach is to
apply what is called the Method of Lines. Here, the PDE model is reduced to a system of
ODEs by discretization of the spatial domain. The system of ODEs is then coded into
the simulation package and the overall process model is solved with general purpose
ODE/DAE solvers.
In the example above, discretization of the spatial domain yields a set of ODEs at a
series of interior (or mesh) points in the domain. At these points, the spatial derivatives
are replaced by a discrete approximation, for example a centered differentiation
formula on a regular mesh:
where the subscript i denotes the spatial mesh point, and h the distance between mesh
points.
Substituting these into the PDE at each mesh point yields the system of ODEs:
Note that in the discretized model we solve for the time variation of the concentrations
at a series of fixed spatial positions (i.e., CA, i (t) ). The above equations have to be
tweaked to take into account the boundary conditions.
The gPROMS simulator (Barton, 1992; Oh, 1995) can now perform this discretization on
a fixed spatial mesh automatically. Note that only the derivation of the ODEs is
automated, so all the observations below also apply to gPROMS.
However, this approach should be applied with extreme caution (i.e., these notes are
not sufficient, study this in more detail). Two important issues are:
The above approach is called the finite difference method. There also two widely used
alternatives: finite element methods and spectral methods. Research continues . . .
SECTION II
DYNAMIC SIMULATION
Paul I. Barton
Department of Chemical Engineering
Massachusetts Institute of Technology
Cambridge, MA
dx 1
= x 1 = f1 (x 1 ,x 2 ...., xn ,t)
dt
dx 2
= x 2 = f2 (x1 ,x 2 ...., x n ,t)
dt
dx n
= x n = fn (x1 , x2 ...., x n ,t)
dt
or in vector notation:
dx
= x = f(x(t),t) (ODE)
dt
F( x ,x,t) = 0 (IODE)
x = f (x,t)
x(t 0 ) = x 0
(IVP)
t [t 0 ,t f ]
x n+1 = t x n+1 = 1
X = F(X)
where,
X = (x 1 ,x 2 ,, x n xn+1 )T
F = ( f1 , f2 ,, fn 1)T
so, there is no loss of generality in assuming a system is
autonomous.
ORDINARY DIFFERENTIAL EQUATIONS
DEFINITIONS
x1 = f 1 (x1, x2 )
x2 = f 2 ( x1, x2 )
define a new variable x3 = x1:
=> x3 = x1
x1 = x3
=> x2 = f 2 ( x1, x 2 )
x3 = f1 ( x1, x2 )
x = Ax
expressed as:
n
x(t) = ci exp( it )si
i=1
1the result is stated assuming A has n distinct eigenvalues - the Jordan form defines
the solution when this does not hold
ORDINARY DIFFERENTIAL EQUATIONS
DEFINITIONS
x = Ax + Bu(t)
where u(t) are the known inputs to the systems. This form,
which is popular with control engineers, is called a linear
time invariant system.
Ax + Bx = g(t) (LTIDAE)
1
on the other hand, is A singular (i.e., A does not exist)
then (LTIDAE) is known as a linear time invariant
differential-algebraic equation (or DAE).
I 0 C 0
PAQ = and PBQ =
0 N 0 I
1
where N is a nilpotent matrix to degree (i.e., N 0
and N = 0 ).
Ax + Bx = g(t) (LTIDAE)
P AQ y + P BQ y = Pg(t)
y1 + C y1 = h1(t)
N y 2 + y 2 = h2 (t )
d
N + I y 2 (t) = h 2 (t)
dt
i 1 (i )
i d i d h2
y 2 (t) = (1) N h 2 (t) = (1) N
i
(i) (t)
i=0 dt i=0 dt
Example 1:
x 1 + x2 = g1(t)
x 2 = g2 (t)
Hence:
1 0 0 1
A= B=
0 0 0 1
1 1 1 0
P= Q =
0 1 0 1
1 1 1 0 1 0
PAQ = =
0 1 0 0 0 0
1 1 0 1 0 0
PBQ = =
0 1 0 1 0 1
=> N = [0 ] C = [0]
DIFFERENTIAL-ALGEBRAIC EQUATIONS
EXAMPLES
1 1 g1 g1 g2
=
0 1 2 g2
g
Example 2:
x 1 + x2 = g1(t)
x1 = g 2 (t)
Hence:
1 0 0 1
A= B=
0 0 1 0
1 0 0 1
P= Q =
0 1 1 0
1 0 0 1 0 1
PAQ = =
0 0 1 0 0 0
0 1 0 1 1 0
PBQ = =
1 0 1 0 0 1
0 1
N=
0 0
DIFFERENTIAL-ALGEBRAIC EQUATIONS
EXAMPLES
0 1 0 1 0 0
N2 = =
0 0 0 0 0 0
x1 0 1 y1
=
x2 1 0 y2
x1 y2
=
2 1
x y
y1 g1 0 1 g1
=
2 2
y g 0 0 g
2
x1 = g 2 (t)
x 2 = g1(t) g2 (t)
F IN TJ
t t
Dynamic Simulation
6
5
Ca [mol m-3]
4
3
2
1
0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 7.5 8 8.5 9
Time [hr]
(FORTRAN, PASCAL, C)
automated transformation
EQUATION B ASED
LANGUAGES
(SPEED UP, ASCEND , AB ACUSS)
automated transformation
PHENOM ENOLOGICAL
LANGUAGES
(M OD EL.LA, VED A)
increasing
flexibility
PROGRAMMING LANGUAGES
The old fashioned approach! Basically, the user codes a
subroutine in some general-purpose programming
language (usually FORTRAN) that returns some specific
information concerning the process model.
SUBROUTINE BUFFER(X,XDOT,U,T,RES)
IMPLICIT DOUBLE PRECISION (A-H, O-Z)
DIMENSION X(5), XDOT(5), U(2), RES(5)
C
C Definition of unknown variables:
C
C X(1) mass of fluid in vessel [kg]
C X(2) volume of fluid in vessel [m3]
C X(3) volumetric flow out of vessel [m3 s-1]
C X(4) pressure at bottom of vessel [N m-2]
C X(5) liquid level in vessel [m]
C XDOT(i) time derivative of X(i)
C
C Definition of input variables:
C
C U(1) volumetric flow into vessel [m3 s-1]
C U(2) atmospheric pressure [N m-2]
C
C Definition of time invariant parameters:
C
C AREA cross sectional area of vessel [m2]
C DENS fluid density [kg m-3]
C COEF loss coefficient
C G gravitational acceleration [m s-2]
C
AREA = 1.767
DENS = 1000
COEF = 0.01
G = 9.81
C
C Evaluate residuals given X, XDOT and U
C
RES(1) = XDOT(1) - (DENS*U(1) - DENS*X(3))
RES(2) = DENS*X(2) - X(1)
RES(3) = X(5)*AREA - X(2)
RES(4) = X(4) - (U(2) + DENS*G*X(5))
RES(5) = X(3) - (COEF*SQRT(X(4) - U(2)))
RETURN
END
PROGRAMMING LANGUAGES
Advantages:
anyone can do it you don't need to buy a dynamic
simulator!
the ultimate in flexibility can express the most
general functional forms.
Disadvantages:
tedious, time consuming, error prone, not a natural
way to represent equations, etc. . . Probably the
biggest problem is human error - one Jacobian entry
that is calculated incorrectly can cause a numerical
method to fail to converge.
difficult to separate model from the mechanics of its
solution model locked into a single application
(calculation).
mathematical information concerning the model is
lost e.g., the only access we have to the model is
the residuals given values for the variables.
inflexible if you want to change the model (or even
the set of input variables) must code a completely
new model.
no way to check automatically if the model has been
coded correctly
requires expertise in modelling, computer science and
mathematics expert users!
EQUATION BASED LANGUAGES
Procedural: x := x^2 + 1 ;
Declarative: x = x^2 + 1 ;
MODEL Buffer_Tank
###########################################################
#
# ABACUSS model of a buffer tank - Paul I. Barton 7/27/94
#
# NOTE: anything following a # symbol is a comment
#
###########################################################
PARAMETER
Cross_Sectional_Area AS REAL
Grav_Acceleration AS REAL
Loss_Coefficient AS REAL
Density AS REAL
VARIABLE
Mass_Holdup AS Mass
Liquid_Volume AS Volume
Flow_In, Flow_Out AS Volumetric_Flow
Atm_Press, Press AS Pressure
Liquid_Level AS Length
STREAM
Inlet : Flow_In, Atm_Press AS MainStream
Outlet : Flow_Out, Press AS MainStream
EQUATION
# hydrostatic pressure
Press = Atm_Press + Density*Grav_Acceleration*Liquid_Level ;
# flow/pressure relationship
Flow_Out = Loss_Coefficient*(Press - Atm_Press)^0.5 ;
Advantages:
declarative model is decoupled from mechanics of
solution. No assumption concerning which variables
are inputs is made during model coding.
incidence information and Jacobian matrix can be
generated automatically using symbolic
differentiation or automatic differentiation technology
(automatic, fast, and error free!)
all mathematical information is retained computer
stores complete functional form of model.
tools that check if a system of equations is
mathematically well posed can be applied
automatically (see appendix).
can embed automatically more sophisticated solution
strategies: e.g., combined discrete/continuous
simulation, dummy derivative method for high index
systems. FORTRAN based approach will just solve an
IVP with smooth inputs unless user adds code for
discontinuity handling herself.
Disadvantages:
although high flexibility, advances are still needed to
express more general functional forms.
user must derive equations => expert users! - but,
user only has to focus on the physics and chemistry.
model documentation only as comments.
PHENOMENOLOGICAL LANGUAGES
so popular
PHENOMENOLOGICAL LANGUAGES
. . . research continues.
DYNAMIC SIMULATION TOOLS
The software tools currently available roughly fall into the
following categories:
(a) subroutine libraries coded in a general-purpose
programming language (typically FORTRAN):
models coded as subroutines - some library models
series of subroutines to conduct numerical
integration, coordinate models, report results, etc.
at least use a standard numerical integration code
(Perkins, 1986) e.g., Harwell Subroutine Library,
IMSL, ODEPACK, DASSL, DSL48S.
Examples: DYFLO (Franks, 1972), DAEPACK (Tolsma
and Barton, 2000).
(b) continuous system simulation languages (CSSLs)
typically derived from the CSSL'67 (Strauss, 1967)
standard:
equation based simulation language
extensively used by control engineers for many
years.
only solve models in state space form (i.e. ODEs but
not DAEs)
not really suitable for large-scale simulations.
no chemical engineering specific concepts (e.g.,
multi-component streams, physical properties, unit
operation libraries).
Examples: ACSL, SIMUSOLV, SIMULINK (Matlab),
etc.
DYNAMIC SIMULATION TOOLS
5see Marquardt (1991) for a comprehensive list of software tools and their current
availability.
MODULAR INTEGRATORS
Effectively, this is an attempt to extend the sequential
modular approach to steady-state process simulation to
dynamic simulation.
Each unit operation model (black box model):
is coded with its own numerical integration routine
(any suitable method)
can solve for the time variation of its outputs given the
time variation of its inputs:
x = f ( x,t ) (1)
y1 = g1 (x)
y 2 = g2 (x, y1 )
(2)
y m = gm (x, y1 y m 1 )
MATHEMATICAL FORMULATION OF
DYNAMIC SIMULATION PROBLEMS
F ( z,z,t ) = 0 (3)
( )
f x , x, y,t = 0
(4)
g(x, y,t) = 0
(
x = f x, y,t )
( )
g x, y,t = 0
(5)
f = f x + f x + f y + f = 0
x x y t (9)
g g g
g = x + y + =0 (10)
x y t
f
x 0
g g
and provided that the matrix:
x y
WHY USE DAEs?
is nonsingular, then (7) and (10) can be solved
simultaneously for x and y given x , y and t .
Hence the system (7) and (10) is a system of
implicit ODEs (i.e. the relevant Jacobian is
nonsingular).
For example, consider just the energy balance
and enthalpy relations in our CSTR model:
dH
= FIN IN hIN FOUT OUT hOUT + Q
dt
H = MhOUT
hOUT = h(T,CA ,CB )
...and derive ODEs by differentiation of the
algebraic equations:
dH dM dh
= hOUT + M OUT
dt dt dt
dhOUT h dT h dCA h dCB
= + +
dt T C ,C dt CA CB T,C dt
A B T,C dt
B A
Process model:
f ( x , x, y,u,t ) = 0
where:
x R n (differential variables)
y R m (algebraic variables)
u R l (input variables)
f :Rn R n R m R l R Rn+m
f ( x, x, y,u,t) = 0
u = u(t)
x(t0 ) = x 0
x (t 0 ) = f (x(t0 ),t0 )
x (t0 ) = f (x(t0 ), t0 )
x (t0 ) = 0
0 = f (x(t0 ),t0 )
Notes:
a) consistent initialization of DAEs requires the
solution of large sparse systems of nonlinear
algebraic equations from poor initial guesses - in
principle, we can use any technique already
developed for steady-state simulation.
b) as with steady-state simulation, not all subsets
of variables and not all choices of values lead to
a well-posed problem (functionally nonsingular
equations).
c) numerical integration of DAEs should always
be started from consistent initial values -
otherwise the results can be garbage and/or the
integration can fail. The numerical integration
algorithms most commonly used can generate a
solution from arbitrary (possibly inconsistent)
initial values - in fact, standard DAE solver
routines do not usually have facilities for the
consistent initialization calculations described
above! (see Kroner, et al., 1992)
DEGREES OF FREEDOM FOR CONSISTENT
INITIALIZATION OF DAEs
so, given x(0) solve equations x (0) and y(0) . Note that
the equations are much easier to solve for this choice of
initial condition!
CONSISTENT INITIALIZATION - EXAMPLES
Qc
L D
Species: A, B , C
Qr
N i, j (0) = 0 j = 1 NTray
i = 1 NC
where
c : R n R n R m R l R Rn
Remarks:
i) sequential modular
ii) equation oriented - assemble all equations and
solve simultaneously with general-purpose solver.
CONSISTENT INITIALIZATION - GENERAL
FORMULATION
h IN
VAPOUR
F IN
V Q
N (t)
(vapour)
L
(liquid) h OUT
Assumptions:
Material Balance:
dN V
= FIN L
dt
Energy Balance:
dU
= FIN hIN LhOUT Q
dt
Physical Properties:
P=P
SAT
(T ) (vapour-liquid equilibrium)
PV = N V RT (equation of state)
hOUT = h L (T )
N h (T) = U + PV
V V
CONSISTENT INITIALIZATION AND
HIGH INDEX DAE SYSTEMS
Simulation experiment:
6 equations
{N V
(0), V (0),U(0),U (0),T (0),
N
8 unknowns
L(0), P(0),hOUT (0)}
P(0)V = N (0)RT(0)
V
for P(0),T(0) .
N V (0) U(0)
L(0)
f1
0
f2
0
f3 0 0 0
badly posed problem.
V
This implies that the differential variables N and U are
not independent. This is a:
Remarks:
V
(a) if we can only specify one out of N (0) and
U(0) , where do we get an (additional)
specification or equation to satisfy the degrees
of freedom for consistent initialization?
Reaction
A>B
CIN
C
TIN T
COOLING
MEDIUM
TJ
Mass Balance:
dC 1
= (CIN C ) r
dt
Energy Balance:
dT 1 H R UA
= (TIN T ) +
dt C r C V (T TJ )
p
p
Rate equation:
r = ke E / RT C
NOMENCLATURE
1. Simulation Problem
C(t)
t
CONSISTENT INITIALIZATION AND
HIGH INDEX DAE SYSTEMS
3 equations
4 unknowns {T (0),TJ (0),r(0), T (0)}
1 E / RT (0)
C (0) = (C IN C(0)) ke C(0)
Example 1:
x1 = 2 x1 + x 2 + y (1)
x 2 = x1 2x 2 3y (2)
0 = x1 + x 2 y (3)
Everything fine.
0 = x1 + x 2 y
y = 3x1 x2 2y (3)
Index = 1
CONSISTENT INITIALIZATION OF
HIGH INDEX SYSTEMS
Example 2:
x1 = 2 x1 + x 2 + y (1)
x 2 = x1 2x 2 3y (2)
0 = x1 + x 2 (3)
0 = x1 + x 2
0 = 3x1 x 2 2 y (3)
0 = 3x1 x 2 2 y
5 5
y = x1 + x 2 + 3y (3)
2 2
Index = 2
CONSISTENT INITIALIZATION OF
HIGH INDEX SYSTEMS
1. x 2 (0) = 1
2. x1 (0) = 2
3. x 2 (0) = 0
(b) the first and higher order time derivatives of the model
equations at t = t0
Note:
Example 1:
x1 = 2 x1 + x 2 + y
x 2 = x1 2x 2 3y
0 = x1 + x 2 y
differentiate:
x1 = 2 x1 + x 2 + y
x2 = x1 2 x 2 3 y
0 = x1 + x 2 y
Example 2:
x1 = 2 x1 + x 2 + y
x 2 = x1 2x 2 3y
0 = x1 + x 2
differentiate:
x1 = 2 x1 + x 2 + y
x2 = x1 2 x 2 3 y
0 = x1 + x 2
x1 = x1 x 2 + y (1)
x 2 = x1 + x 2 y (2)
x1 + x2 = 1 (3)
x1 = x1 x 2 + y (1)
x 2 = x1 + x 2 y (2)
x1 + x 2 = 0 (3)
and terminate.
CONSISTENT INITIALIZATION - REMARKS
Rank fx[ ]
fy = n + m
1
i.e. any simulator apart from ABACUSS
CONSISTENT INITIALIZATION - REMARKS
[
Rank fx ]
fy = n + m
x + 2 x2 = 1 (1)
x1 + x2 = 1 (2)
x1 + x 2 = 0 (2)
x1 = 1
x 2 = 1
x ( i ) = f ( x ( i ) ,t ( i ) )
This is a set of n algebraic equations in the 2n
{ }
unknowns x (i ) , x (i ) .
1
and indeed ODEs in implicit form as well (remember that an ODE in implicit form is the typical
result of trying to derive an ODE from a DAE).
EXPLICIT METHODS
x = Ax
max Re i
i
SR 1
min Re i
i
Normalized model:
dT
= 1 T
d T 1 0 T 1
= +
dT M 1 T M
1 1
T M
0
= (T T M )
d
The time constant of the thermowell is related to
ratio of the thermal inertias of the bath and the
thermowell i.e., the smaller the thermowell, the
smaller the time constant ( <<1) :
1 1
SR = =
1
...as
the thermowell becomes smaller relative to the
bath, the stiffness ratio increases.
EXPLICIT METHODS
Note:
...and substitute:
Predictor-Corrector methods:
Example:
d x(t (i)
) q1
x (i) = = c1 + 2c 2 t (i) ++qc qt (i)
dt
where:
Objections:
0 (i)
(i) x + d , x , y ,t ) = 0
f( (i) (i) (i) (i)
h
Length L
Problem:
x
mx + =0
L
y
my + = mg
L
x 2 + y 2 = L2
y(0) = 0
y (0) = 0
Differential index = 3.
NUMERICAL INTEGRATION OF HIGH INDEX
DAEs
g
+ sin( ) = 0
L
(0)x(0)
x(0) +
m =0
L
(0)y(0)
my(0) + = mg
L
x(0)2 + y(0)2 = L2
+ 2y(0) y(0) = 0
2x(0) x(0)
x(0) + 2y(0)
2x(0) y(0) + 2 x(0)
2 + 2 y(0)2 = 0
y(0) = 0
y(0) = 0
x
mx + =0
L
y
my + = mg
L
2xx + 2yy + 2 x 2 + 2 y 2 = 0
1
specifically, those for which structural criteria can correctly determine the differential index
of the system
NUMERICAL INTEGRATION OF HIGH INDEX
DAEs
1. apply Pantelides (1988) algorithm to derive the
system of equations that must be satisfied by
consistent initial conditions:
x
mx + =0
L
y
my + = mg
L
x 2 + y 2 = L2
2xx + 2yy = 0
2xx + 2yy + 2 x 2 + 2 y 2 = 0
2. this is an overdetermined dynamic system (more
equations than unknowns). Pick a subset of the
time derivatives to substitute for dummy
algebraic variables.
x
mx + =0
L
y
my + = mg
L
x 2 + y 2 = L2
2xx + 2yy = 0 (EQUIV)
2xx + 2yy + 2 x 2 + 2 y 2 = 0
2
specifically, those for which structural criteria can correctly determine the differential index
of the system
METHOD OF DUMMY DERIVATIVES
RESULTS
Pup Fovr
h*
Patm
x* k(h h*)
dN Pdown
Fin Fout Fovr
dt
N Ah
Pbot Patm gh Fout K v x(t) Pbot Pdown
VALVE AUTOMATON
RESPONSE OF TANK TO MAJOR SURGE IN
UPSTREAM PRESSURE
DISCONTINUITY HANDLING
FIN = KV z P
DISCONTINUITY HANDLING
Note: assigning a step change to the stem position will
typically be an abstraction. In reality, the valve will
require a finite amount of time to open. Obviously, if this
level of detail is necessary, we could assign the following
function to the stem position:
Note:
(a) the end of a sub interval is marked by the
occurrence of an event.
(b) the time variation of the system between events is
smooth.
CONSISTENT REINITIALIZATION
x (t*) = f (x(t*),u(t*),t*)
For a DAE system both the time derivatives and the values
of the algebraic variables can be discontinuous.
FIN = KV z P
Note: this poses problems for DAE systems for which the
condition:
Rank f x f y = n + m
1discontinuities may occur in the value of variables and/or in the value of their time
derivatives.
EVENTS
Reactions
1k
A B
A 2k
B C
dCB
=0
dt
INJECT CATALYST
WAIT UNTIL dCB / dt 0
dCB
0
dt
Algorithm: Ad Hoc:
15
10
5
Current (A)
0
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
-5
-10
-15
Time (sec)
I1 I2
110
90
70
50
30
Voltage (V)
10
-10 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
-30
-50
-70
-90
-110
Time (sec)
V1 V2 V3
4.50
4.00
3.50
3.00
Current (A)
2.50
2.00
1.50
1.00
0.50
0.00
0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
Time (sec)
I1 I2
110
90
70
50
30
Voltage (V)
10
-10 0 0.005 0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
-30
-50
-70
-90
-110
Time (sec)
V1 V2 V3
discrete aspects:
1 for a more comprehensive discussion of this subject see Barton and Pantelides (1994)
WHEN IS COMBINED SIMULATION IMPORTANT?
Key concept:
f ( x, x, y,u,t) = 0
u = u(t)
PHYSICO-CHEMICAL DISCONTINUITIES
General observation:
IF h hMIN THEN
FOUT = f (h hMIN )
ELSE
FOUT = 0
END
PHYSICO-CHEMICAL DISCONTINUITIES
EXAMPLE
NOT h h MIN
h hMIN
FRELIEF
Finite automaton:
P < PR
P > PS
Literature Cited
Ahmad B.S. and P.I. Barton, Solvent Recovery Targeting for Pollution Prevention in
Pharmaceutical and Specialty Chemicals Manufacturing, AIChE Symposium Series,
90(303), 59-73, 1994.
Allgor R.J., M.D. Berrera, P.I. Barton and L.B. Evans, Optimal Batch Process
Development, Computers Chem. Engng., 20(6/7), 885-896, 1996.
Aspen Technology, SPEEDUP User Manual, volumes I and II, version 5.4,
Cambridge, Massachusetts, 1993.
Barton, P.I., R.J. Allgor and W.F. Feehery, DSL48S A Large-Scale Differential-Algebraic
and Parametric Sensitivity Solver, ABACUSS Project Report no. 97/1, 22nd January
1997.
Campbell S.L., Singular Systems of Differential Equations II, Pitman, Boston, 1982.
Elmquist, H., A Structured Model Language for Large Continuous Systems, Ph.D.
Thesis, Lund Institute of Technology, 1978.
Gear C. W. and L.R. Petzold, ODE Methods for the Solution of Differential/Algebraic
Systems, SIAM J. Numer. Anal., 21(4), 716-728, 1984.
Modell, M. and R.C. Reid, Thermodynamics and its Applications, 2nd Edition,
Prentice-Hall, 1983.
Pantelides, C.C., D. Gritsis, K.R. Morison and R.W.H. Sargent, The mathematical
modelling of transient systems using differential-algebraic equations, Computers Chem.
Engng., 12, pp. 449-454, 1988.
Park T. and P.I. Barton, State Event Location in Differential-Algebraic Models, ACM
Transactions on Modeling and Computer Simulation, 6(2), 1996.
Petzold, L.R., Differential/Algebraic Equations are not ODES, SIAM J. Sci. Stat.
Comput., 3(3), 367-384, 1982.
Ponton, J.W. and P.J. Gawthrop, Systematic Construction of Dynamic Models for
Phase Equilibrium Processes, Computers Chem. Engng., 15, pp. 803-808, 1991.
Strauss J. C., The SCi continuous system simulation language (CSSL), Simulation, 9,
281-303, 1967.
Stephanopoulos G., G. Henning, and H. Leone, MODEL.LA. a modeling language for
process engineering - I. The formal framework, Computers Chem. Engng., 14, pp. 813-
846, 1990.
Tolsma J.E. and P. I. Barton, DAEPACK: A Flexible Environment for Open Modeling,
AIChE Annual Meeting, Dallas, Texas, 31st October 3rd November, 1999.
Cole J.B. and K.B. Yount, Applications of Dynamic Simulation to Industrial Control
Problems, In Advances in Instrumentation and Control, 48(2), pp. 1337-1344, Chicago,
1993.
Debelak K.A., G. Karsai, G. Chen, S. Zitney and F.O. DeCaria, Application of Dynamic
Simulation to an Industrial Process Control System, AIChE Annual Meeting, Miami,
November 1995.
Debling J.A, G.C. Han, F. Kuijpers, J. VerBurg, J. Zacca, and W.H. Ray, Dynamic
Modeling of Product Grade Transitions for Olefin Polymerization Processes, AIChE
Journal, 40(3), pp. 506-520, 1994.
Grassi V.G., Dynamic Simulation as a Tool to Integrate Process Design and Process
Control, In Advances in Instrumentation and Control, 48(2), pp. 1346-1365, Chicago, 1993.
Longwell E.J., Dynamic Modeling for Process Control and Operability, In Advances in
Instrumentation and Control, 48(2), pp. 1323-1336, Chicago, 1993.
Mani S., S.K. Shoor and H.A. Pedersen, Experience with a Simulator for Training
Ammonia Plant Operators, Plant/Operations Progress, 9(1), pp. 6-10, 1990.
Naess, L., A. Mjaavatten and J.O. Li, "Using Dynamic Process Simulation from
Conception to Normal Operation of Process Plants," Computers Chem. Engng. 17, pp.
585-600, 1993.
Barton, G.W. and J.D. Perkins, "Modelling and simulation in process operation," In G.V.
Reklaitis and H.D. Spriggs, editors, Foundations of Computer Aided Process
Operations, pp. 287-316, Cache-Elsevier, 1987.
Marquardt, W., "Dynamic process simulation recent progress and future challenges,"
Proceedings of CPC IV, Texas, USA, 1991.
Ascher, U.M. and L.R. Petzold, "Computer Methods for Ordinary Differential Equations
and Differential-Algebraic Equations", SIAM, Philadelphia, 1998. (this is the best
introductory text to get).
Lambert, J.D., "Numerical Methods for Ordinary Differential Systems the Initial
Value Problem," Wiley, 1991.
Brenan, K.E., S.L. Campbell and L.R. Petzold, "Numerical Solution of Initial-Value
Problems in Differential-Algebraic Equations," SIAM, Philadelphia, 1996.
Hainer, E., S.P. Norsett and G. Wanner, "Solving Ordinary Differential Equations:
Volume 1 - Nonstiff problems; Volume 2 - Stiff and differential-algebraic problems,"
Springer Verlag, 1987-1991.
Aylott M.R., J.W. Ponton and D.H. Lott, Development of a Dynamic Flowsheeting
Program, , Proceedings 2nd International Symposium on Process Systems
Engineering, Institute of Chemical Engineers, Rugby, England, 1985.
Cook W.J., J. Klatt, C.B. Brosilow, Simulation of Large Scale Dynamic Systems - II. A
Modular Simulator for the Dynamics of Distillation Systems, Computers Chem. Engng.,
11(3), 255-264, 1987.
Laganier F., J.M. LeLann, X. Joulia and B. Koehret, Use of the Dynamic Sensitivity
Matrix Concept for the Efficient Solution of Dynamic Process Simulation, Proceedings
4th International Symposium on Process Systems Engineering, III.12.1, Montebello,
Quebec, August 5-9th, 1991.
Liu Y.C. and C.B. Brosilow, Simulation of Large Scale Dynamic Systems - I. Modular
Integration Methods, Computers Chem. Engng., 11(3), 241-253, 1987.
Ponton J.W. and V. Vasek, A Two-Level Approach to Chemical Plant and Process
Simulation, Computers Chem. Engng., 10(3), 277-286, 1986.
Ponton J.W., E.M. Johnston, J.M. Forsyth, A. Matheson, and F.M. Rutherford, Real
Time Dynamic Simulation Using Networked Computers, Computers Chem. Engng.,
13(11/12), 1245-1253, 1989.