Está en la página 1de 38

H

on
ey
w

4528.02.R380.02
Fo
I el
r S ss l P
h
C e d op u e r

2009 Honeywell All rights reserved.


op ll/ t ri
yr Aff o S eta
Al igh lia h ry
l r t te ell a
Theory

ig Ho in A nd

UniSim is a U.S. registered trademark of Honeywell International Inc


ht n te p
s e rn ril C
re yw a 2 on
se e l u 00 fid
rv ll 2 se 9 e
Pressure-Flow Theory

Pressure-Flow

ed 0 nt
09 on ia
ly l
1
H

2
2
on
ey
Fo w
I el
r S ss l P
h
C e d op u e r
op ll/ t ri
Pressure-Flow Theory

yr Aff o S eta
Al igh lia h ry
l r t te ell a
ig Ho in A nd
ht n te p
s e rn ril C
re yw a 2 on
se e l u 00 fid
rv ll 2 se 9 e
ed 0 nt
09 on ia
ly l
Pressure-Flow Theory 3

Workshop

l
ia
nt
The Pressure-Flow Theory module introduces you to the underlying
concepts necessary for developing your own dynamic simulations

rv ll 2 se 9 e
with UniSim Design Dynamics.

se e l u 00 fid

ly
Learning Objectives

re yw a 2 on

09 on
s e rn ril C
The objectives of this module are to understand the basic principles
of dynamic modeling and simulation using UniSim Design:

ig Ho in A nd


Physical and mathematical background
The pressure-flow solver
l r t te ell a

ed 0
ht n te p
Pressure-flow networks and specifications
Al igh lia h ry
yr Aff o S eta
op ll/ t ri
C e d op r
r S ss l P
e
el
u
w
ey
I
h
on
H

Fo

3
4 Pressure-Flow Theory

Introduction

l
ia
nt
Dynamic simulation can be used to better design, optimize, and

rv ll 2 se 9 e
operate process plant and processing facilities. By their very

se e l u 00 fid
nature, such processes never truly operate at steady state. Feed
and environmental disturbances, flowline slugging, heat exchanger

ly
re yw a 2 on
fouling, well work and export constraints continuously change the

09 on
process conditions. The transient behavior of the process system

s e rn ril C
can be studied using a dynamic simulation tool like UniSim Design.

The design and optimization of a process involves the study of both

ig Ho in A nd
steady state and dynamic behavior. Steady state models can
perform steady state energy and material balances and evaluate
l r t te ell a
different plant scenarios. The design engineer can use steady state

ed 0
ht n te p
simulation to optimize the process by reducing capital and
Al igh lia h ry

equipment costs while maximizing production.


yr Aff o S eta

Dynamic simulation can be used to confirm that a plant can


produce the desired product in a manner that is safe and easy to
operate. By defining detailed equipment specifications the dynamic
op ll/ t ri

simulation can be used to verify that the process equipment


C e d op

functions as expected in an actual plant situation.


r

Offline dynamic simulation can be used to optimize controller


r S ss l P

design without adversely affecting the profitability or safety of the


plant. A variety of control strategies can be designed and test
e
el

before choosing one that is suitable for implementation. The


u

dynamic response to system disturbances can be examined and


w

used to optimize the tuning of controllers.


ey

Dynamic analysis provides feedback and improves the steady state


I
h

model by identifying specific areas in a plant that have difficulty


on

achieving the steady state objectives.


H

In UniSim Design, the dynamic analysis of a process system can


Fo

provide insight into the process system which is not possible with
steady state modeling. Dynamic simulation can be used to
investigate:

Process optimization
Controller optimization
Safety evaluation
Transitions between operating conditions

4
Pressure-Flow Theory 5

Start-up/Shutdown conditions

l
In UniSim Design, the dynamic model shares the same physical

ia
property packages as the steady state model. The dynamic model

nt
simulates the thermal, equilibrium and reactive behavior of the
system in a similar manner to the steady state model.

rv ll 2 se 9 e
se e l u 00 fid
Whilst the property methods are the same as used in steady state,
the dynamic model uses a different set of conservation equations

ly
to account for changes occurring over time. The equations for

re yw a 2 on
material and energy conservation are differential equations and

09 on
include transient accumulation terms to describe the rate of change

s e rn ril C
of holdup of mass and energy with time.

Solution of a dynamic model requires solution of the differential

ig Ho in A nd
equations which describe the underlying physical principles.
However, the complexity of these equations means an analytical
l r t te ell a

ed 0
solution method does not exist. Instead numerical integration must
ht n te p
be used which solves the equations at distinct time steps. In
Al igh lia h ry

general, the smaller the time step, the more accurate the
yr Aff o S eta

calculated solution. However, smaller time steps require more


calculations for the same simulation time and hence take longer to
solve. The aim of numerical integration is to use the largest
op ll/ t ri

possible time step size which maintains acceptable accuracy


without becoming unstable.
C e d op

The benefits of UniSim Design for dynamic modeling and simulation


r

include:
r S ss l P

Accuracy. UniSim Design provides accurate results based


e
el

on rigorous equilibrium, reaction, unit operations, and


u

controller models.
w

Ease of Use. UniSim Design uses the same intuitive and


ey

interactive graphical environment for dynamic modeling as


I

used in steady state modeling. Streams and unit operations


h
on

can be added to the dynamic simulation environment as


easily as in steady state. Steady state models can be easily
H

converted into dynamic models, allowing re-use of models


Fo

for different applications.


Speed. UniSim Design has been developed to provide a
balance between accuracy and speed. UniSim Design uses
the fixed step Implicit Euler integration method whilst
pressure-flow, energy and composition balances are each
solved at different frequencies to improve performance.

5
6 Pressure-Flow Theory

Detailed Design. UniSim Design allows the user to provide


specific rating details for each piece of equipment in the

l
plant. Rating information includes the equipment size,

ia
geometry, nozzle placement and position relative to the

nt
ground. A comprehensive holdup model calculates levels,
heat loss, static head contributions and product

rv ll 2 se 9 e
compositions based on the rating information of each piece

se e l u 00 fid
of equipment.
Customizable. UniSim Design is customizable. Many

ly
re yw a 2 on
organizations have proprietary models and these can be

09 on
integrated into UniSim Design using OLE/Automation.

s e rn ril C
Mathematical Modeling
ig Ho in A nd
l r t te ell a

ed 0
ht n te p
Linear & Nonlinear Systems
Al igh lia h ry
yr Aff o S eta

The great majority of chemical engineering processes occurring in


nature are nonlinear. Nonlinearity arises from equations describing
op ll/ t ri

equilibrium behavior, fluid flow behavior, or reaction rates of


C e d op

chemical systems. While a linear system of equations can be solved


analytically using matrix algebra, the solution to a nonlinear set of
equations usually requires a numerical (iterative) approach.
r
r S ss l P

Distributed and Lumped


e
el
u

Parameter Models
w
ey
I

In most real-world process engineering systems, the process


h
on

conditions (temperature, pressure, composition etc.) vary both


with spatial position inside the process equipment and with time.
To model such a system mathematically requires the use of partial
H

differential equations (PDEs), which describe the rate of change


Fo

(gradient) of the process variables with both position (x, y, z) and


time (t). These kinds of models are known as distributed
parameter models.

6
Pressure-Flow Theory 7

If the spatial variation of the process variables is ignored the


system is described as lumped. In lumped parameter models, all

l
physical properties are considered to be constant with spatial

ia
position and only the rate of change with time is considered. The

nt
resulting mathematical models can be described using only
ordinary differential equations (ODEs) which are far less complex

rv ll 2 se 9 e
than PDEs and easier to solve. For most process engineering

se e l u 00 fid
applications lumped parameter models give sufficient accuracy that
distributed parameter models are not required.

ly
re yw a 2 on
UniSim Design uses lumped parameter models for all unit

09 on
operations. For example, in the Separator, it is assumed that there

s e rn ril C
are no temperature or compositions gradients so that the
temperature and composition at every point within each phase

ig Ho in A nd
inside the Separator is assumed to the same.

In some unit operations the spatial variance of the process


l r t te ell a

ed 0
variables cannot be neglected. For example, in a pipe or plug flow
ht n te p
Al igh lia h ry
reactor the pressure, temperature and composition varies with
length. In UniSim Design such unit operations are solved by
yr Aff o S eta

dividing their overall volume into a number of sub-volumes which


are each considered to be a lumped parameter model, so that the
process variables are considered to be constant throughout each
op ll/ t ri

sub-volume. In essence, therefore, whilst such models are


C e d op

inherently distributed (with respect to the length of the vessel),


they are still described using lumped parameter models.
r
r S ss l P

Conservation Equations
e
el
u

The conservation equations are the basis of mathematical modeling


w

in UniSim Design. The dynamic mass, component and energy


ey

balances that are derived in the following section are similar to the
I

steady state balances, but with the inclusion of an accumulation


h
on

term. This accumulation term allows the output variables from the
system to vary with time.
H

Fo

7
8 Pressure-Flow Theory

Material Balance

l
ia
The conservation of mass is described by the following general

nt
principle:

rv ll 2 se 9 e
Accumulation (holdup) = Liquid Flow In Liquid Flow Out

se e l u 00 fid
dM d (V )

ly
(1)

re yw a 2 on
= = Fin Fout

09 on
Remember: in steady state dt dt
accumulation is ignored.

s e rn ril C
Flow in equals flow out.
Where: M = total moles

ig Ho in A nd Fin = upstream flow


l r t te ell a
Fout = downstream flow

ed 0
ht n te p
Al igh lia h ry

= bulk molar density


yr Aff o S eta

V = volume

t = time
op ll/ t ri
C e d op

Component Balance
r
r S ss l P

In addition to the overall mass balance, for multi-component


systems, component balances can be written for each component
e
el

as follows:
u
w

Accumulation of i =
ey
I
h

Flow in of i Flow out of i + Generation rate of i


on
H

d (Mx i )
Fo

NR (2)
= Fin x i ,in Fout x i + V ij r j
dt j =1

Where: xi = mole fraction of component i

ij = stoichiometric coefficient for generation of


component i by reaction j

rj = rate of reaction j

8
Pressure-Flow Theory 9

NR = total number of reactions

l
ia
For a system with NC components, there are NC component
balances. However, the total mass balance and component

nt
balances are not independent (since the former is the sum of the
latter). Therefore, in general, a model would include the total mass

rv ll 2 se 9 e
balance and (NC-1) component balances.

se e l u 00 fid

ly
re yw a 2 on
Energy Balance

09 on
s e rn ril C
The conservation of energy can be described is as follows:

Accumulation of energy =

ig Ho in A nd
+ inflow of energy (internal, kinetic, potential)
l r t te ell a

ed 0
ht n te p
outflow of energy (internal, kinetic, potential)
Al igh lia h ry

+ heat added to the system


yr Aff o S eta

work done by system on surroundings


op ll/ t ri
C e d op

dU (3)
r

= Fin hin + Q Fout h out W


r S ss l P

dt
e
el

Where: U = internal energy


u
w

Q = heat added
ey
I

h = enthalpy
h
on

W = work done by system on surroundings


H

Fo

Note that, with the equation written in this form, the internal
energy and enthalpies are mixture conditions relative to a defined
reference state (T, p, xi).

In UniSim Design, the reference state is defined as the ideal gas


enthalpy of formation at 25 C hence there is no explicit heat of
reaction term in the equation above (it is included in the mixture
enthalpies).

9
10 Pressure-Flow Theory

Solution Algorithm

l
ia
nt
Equations 1-3 are ordinary differential equations. In general, an
ordinary differential equation can be written in the form:

rv ll 2 se 9 e
se e l u 00 fid
dy (4)
= y (t ) = f (t , y(t )), y(t 0 ) = y 0

ly
re yw a 2 on
dt

09 on
s e rn ril C
To solve ordinary differential equations a numerical integration
method is normally required. There are several numerical
integrations schemes in existence.

ig Ho in A nd
l r t te ell a
The Explicit (or Forward)

ed 0
ht n te p
Al igh lia h ry

Euler Method
yr Aff o S eta

The simplest numerical integration method is Explicit Euler. Here


op ll/ t ri

the differential equation is replaced with a finite difference


C e d op

approximation:
r

y(t + h) y(t ) (5)


r S ss l P

y (t )
h
e
el
u

Where: h = step size (usually small)


w
ey

Thus from equations (4) and (5):


I
h
on

y(t + h) y(t ) + hf (t , y(t )) (6)


H

Fo

This formula, equation (6) is usually applied by choosing a step


size h, and constructing the sequence of steps t0, t1 = t0 + h,
t2 = t0 + 2h, etc.

Denoting yn as a numerical estimate of the exact solution y(tn),


and using equation (6), the estimates are computed from:

y n+1 = y n + h f (t n , y n ) (7)

10
Pressure-Flow Theory 11

in a stepwise manner, starting from a known initial value y0 in


steps of size h.

l
ia
One of the main benefits of this method is that it is explicit (hence

nt
the name), so the results at step (n+1) can be calculated using
only information already available from step n.

rv ll 2 se 9 e
se e l u 00 fid
The main disadvantage of explicit methods is that for stiff equation
systems 1 , they can become unstable and fail to converge unless

ly
re yw a 2 on
the step size h is very small. Since most engineering systems
result in stiff differential equation sets, this usually prohibits the

09 on
use of explicit methods in practical engineering applications.

s e rn ril C
The Implicit (or Backward)
ig Ho in A nd
Euler Method
l r t te ell a

ed 0
ht n te p
Al igh lia h ry

With Implicit Euler, a different finite difference approximation is


yr Aff o S eta

used for the differential equation:

(8)
op ll/ t ri

y(t ) y(t h)
y (t )
C e d op

h
r
r S ss l P

Which is equivalent to:

y(t + h) y(t )
e
el

y (t + h) (9)
u

h
w
ey

Thus from equations (8) and (9):


I
h
on

y(t + h) y(t ) (10)


y (t + h)
h
H

Fo

y(t + h) y(t ) + hf (t + h, y(t + h)) (11)

Again, this formula is usually applied by choosing a step size h,


and constructing the sequence of steps t0, t1 = t0 + h,
t2 = t0 + 2h, etc.

1
See http://en.wikipedia.org/wiki/Stiff_equation

11
12 Pressure-Flow Theory

Again as before, denoting yn as a numerical estimate of the exact


solution y(tn) and using equation (10), the estimates are computed

l
from:

ia
nt
y n+1 y n + hf (t n+1 , y n+1 ) (12)

rv ll 2 se 9 e
se e l u 00 fid
in a stepwise manner, starting from a known initial value y0 in

ly
steps of size h.

re yw a 2 on

09 on
The main difference with this method is that it is implicit; so that

s e rn ril C
an equation has to be solved for y(n+1) at each step. This is usually
done with a Newton-type nonlinear solver

ig Ho in A nd
In general, the main advantage of implicit methods is that they are
much more stable for stiff equation systems, meaning that a larger
l r t te ell a
step size h can be used and hence the solution can be obtained

ed 0
ht n te p
faster with fewer steps.
Al igh lia h ry

UniSim Design uses the Implicit Euler Method and the integration
yr Aff o S eta

parameters such as the time step size (h) can be specified in the
Integrator view from the Simulation menu in UniSim Design. The
time step size can be adjusted to increase the speed or stability of
op ll/ t ri

the system.
C e d op

Integration Strategy
r
r S ss l P
e

In UniSim Design, the dynamic equations are divided into


el

categories:
u
w

Pressure-Flow
ey

Energy
I
h
on

Composition
Logical Calculations (controller equations, spreadsheets
H

etc.)
Fo

The rigorous equations in each category are not solved


simultaneously at every time step. This would be computationally
expensive. Instead, the equations are solved at different time step
frequencies which are integer multiples of the integration time
step. The default frequencies are one, one, two, and ten for the
pressure-flow, logical, energy, and composition calculations
respectively, but these can be customized by the user.

12
Pressure-Flow Theory 13

This means the pressure-flow equations are solved at every time


step of the numerical integrator, but composition balances are only

l
solved at every 10th time step. Since composition tends to change

ia
much more gradually than the pressure, flow, or energy in a

nt
system, the equations associated with composition can be solved
less frequently and still maintain acceptable accuracy. Using this

rv ll 2 se 9 e
approach an approximate flash is used for each pressure-flow

se e l u 00 fid
integration time step and a rigorous flash calculation is performed
at every composition integration time step. A similar methodology

ly
re yw a 2 on
is used for energy calculations.

09 on
s e rn ril C
Holdup Model
ig Ho in A nd
Dynamic behavior arises from the fact that many pieces of plant
l r t te ell a

ed 0
equipment have some sort of material inventory or holdup. A
ht n te p
holdup model is necessary because changes in the composition,
Al igh lia h ry

temperature, pressure or flow in an inlet stream to a vessel with


yr Aff o S eta

volume (holdup) are not immediately seen in the exit stream. The
model predicts how the holdup and exit streams of a piece of
equipment respond to input changes to the holdup over time.
op ll/ t ri
C e d op

In some cases, the holdup model corresponds directly with a single


piece of equipment in UniSim Design. For example, a separator is
considered as a single holdup. In other cases, there are numerous
r
r S ss l P

holdups within a single piece of equipment. In the case of a


distillation column, each tray can be considered as a single holdup.
In a pipe or plug flow reaction, the overall volume is divided into a
e
el

number of sub-volumes. Heat exchangers can also be split up into


u
w

zones with each zone being a set of holdups.


ey

Calculations included in the holdup model are:


I
h
on

Material and energy accumulation


Thermodynamic equilibrium
H

Heat transfer
Fo

Chemical reaction

In UniSim Design, unit operations with holdup use a special


common enhanced holdup model, which has certain advantages:

Rigorous flash calculations allow for accurate calculations of


composition and vapour pressure effects.

13
14 Pressure-Flow Theory

The concept of flash efficiencies is used to allow modeling of


non-equilibrium behavior, both inside the holdup and

l
between the feed phases of the holdup (to model a bypass,

ia
imperfect mixing etc.).

nt
The concept of feed and product nozzles is used to define

rv ll 2 se 9 e
the position of the connected streams relative to the holdup
and the effect on the process. For example, if a product

se e l u 00 fid
nozzle is placed below the liquid level in a separator, only
liquid will exit from the nozzle until the vapour-liquid

ly
re yw a 2 on
interface has fallen below the level of the nozzle.

09 on
s e rn ril C
Assumptions of Holdup
ig Ho in A nd
Model
l r t te ell a

ed 0
ht n te p
There are several underlying assumptions that are considered in
Al igh lia h ry

the calculations of the holdup model:


yr Aff o S eta

each phase is assumed to be perfectly mixed (uniform


temperature, pressure 2 and composition)
mass and heat transfer occur between feeds to the holdup
op ll/ t ri

and material already in the holdup


C e d op

mass and heat transfer occur between phases in the holdup


r
r S ss l P

Accumulation
e
el
u

The transient response that is observed in any unit operation is the


w

result of the accumulation of material, energy, or composition in


the holdup.
ey
I
h

The holdup model is used to calculate material, energy, and


on

composition accumulation. By default, the material accumulation


calculations are performed at every integration time step, the
H

rigorous energy calculations are performed at every 2nd time step


Fo

and the rigorous composition calculations are performed every 10th


time step. During interim steps, approximate calculations are used
to increase solution speed.

2
with the exception of static head contributions

14
Pressure-Flow Theory 15

Pressure-Flow Solver

l
ia
nt
The fundamental principle used in dynamic modeling in
UniSim Design is the concept of the pressure-flow network and the

rv ll 2 se 9 e
pressure-flow solver.

se e l u 00 fid
All dynamic models are considered in terms of their pressure-flow

ly
re yw a 2 on
network and at every time step of the numerical integration, the
UniSim Design pressure-flow solver performs a simultaneous

09 on
solution of all the pressure-flow network equations.

s e rn ril C
There are two basic equation types which define the pressure-flow

ig Ho in A nd
network and these equations can considered in terms of only
pressure and flow as variables:
l r t te ell a
Pressure nodes These are holdups of defined volume at

ed 0
ht n te p which the pressure is calculated based on the material and
Al igh lia h ry

energy flows in to and out of the holdup and the conditions


in the holdup.
yr Aff o S eta

Resistance devices These are parts of the model which


define the resistance to flow as a function of the pressure
op ll/ t ri

difference across the device. The most common resistance


C e d op

device is a valve.
r

Pressure Nodes
r S ss l P
e
el

All unit operations (with holdup) represent pressure nodes. Some


u

unit operations may contribute one or more pressure nodes.


w

Examples of unit operations with more than one pressure node are:
ey

Heaters/Coolers with multiple zones


I
h
on

Heat Exchanger shell side/tube side


Columns with multiple stages (trays)
H

Fo

15
16 Pressure-Flow Theory

Basic Pressure-Flow

l
ia
Equations

nt
rv ll 2 se 9 e
Volume Balance

se e l u 00 fid

ly
For equipment with holdup, an underlying principle is that the

re yw a 2 on
physical volume of the vessel is constant and thus the volume of

09 on
material in the vessel remains constant. Therefore, during

s e rn ril C
calculations in dynamics, the change in volume of the material
inside the vessel is zero:

ig Ho in A nd dV
=0
(13)
l r t te ell a

ed 0
ht n te p dt
Al igh lia h ry

The pressure inside a holdup (pressure node) is calculated as a


yr Aff o S eta

function of the fixed volume, the holdup inventory and the thermal
state (temperature/enthalpy).
op ll/ t ri
C e d op

dP (14)
= f (V , M, T )
dt
r
r S ss l P

Where: V = fixed volume


e
el
u

P = pressure
w

M = total holdup (inventory)


ey
I
h

T = temperature (change in enthalpy)


on

A volumetric flow balance around the vessel can be expressed


H

using equations (13) and (14) as:


Fo

VP VF VT (15)
+ + =0
t t t

16
Pressure-Flow Theory 17

Where: Vp = volume change due to pressure change

l
ia
VF = volume change due to flow change

nt
VT = volume change due to temperature change

rv ll 2 se 9 e
Each vessel holdup contributes at least one volume balance

se e l u 00 fid
equation to the pressure-flow matrix.

ly
re yw a 2 on
Example

09 on
s e rn ril C
The volume balance equation captures pressure effects in the
vapour holdup due to disturbances in the feed. Consider a

ig Ho in A nd
separator at constant temperature with a two-phase feed stream,
where the feed flow is suddenly increased. Assume that the exit
l r t te ell a
flows from the separator are fixed (Figure 1).

ed 0
ht n te p
Al igh lia h ry

Figure 1
yr Aff o S eta
op ll/ t ri
C e d op r
r S ss l P
e
el
u
w
ey
I

The increase in feed flow causes the vessel pressure to rise for the
h
on

following reasons:

The exit flows are fixed, hence an increase in the feed


H

vapour flow would increase the vapour holdup. An increase


Fo

in the holdup means that a larger amount of the vapour


phase is compressed into the same vapour volume resulting
in an increase in vessel pressure.
The increase feed liquid flow results in an increase in the
liquid level. This compresses the vapour holdup into a
smaller volume within the vessel, causing the vessel
pressure to rise further.

17
18 Pressure-Flow Theory

Resistance Devices and

l
ia
their Equations

nt
rv ll 2 se 9 e
In UniSim Design unit operations such as valves and heat
exchangers act as resistance devices which calculate the flow rate

se e l u 00 fid
through them based on the pressure drop across them using

ly
resistance equations. In UniSim Design, resistance equations are

re yw a 2 on
based on turbulent flow and have the form:

09 on
s e rn ril C
F = k P (16)

ig Ho in A ndWhere: F = flow rate


l r t te ell a

ed 0
ht n te p = density
Al igh lia h ry

P = pressure gradient
yr Aff o S eta

k = Conductance constant (reciprocal of resistance


to flow)
op ll/ t ri
C e d op

Equation (16) is a simplified form of the basic valve operation


equation which uses the valve flow coefficient Cv to relate the flow
r

rate through the valve to the frictional pressure drop across it:
r S ss l P

F = f (Cv, P1 , P2 )
e

(17)
el
u
w

Where: F = flow rate


ey
I

P1 = upstream pressure
h
on

P2 = downstream pressure
H

Cv = the valve coefficient, UniSim Design will


Fo

calculate this value on request

18
Pressure-Flow Theory 19

The following unit operations have a resistance equation associated

l
with them.

ia
nt
Unit Operation Resistance Term
Valve Using a pressure-flow specification, the user can

rv ll 2 se 9 e
specify conductance, Cv, on the Specs page of the

se e l u 00 fid
Dynamics tab.
For more detailed Pump The heat flow and pump work define the pressure-

ly
description on the flow equation of the pump. These parameters can

re yw a 2 on
individual unit
be specified and/or calculated on the Specs page

09 on
operations and the
of the Dynamics tab.
resistance equations

s e rn ril C
associated with them, Compressor/Expander The heat flow and compressor work define the
see the UniSim Design pressure-flow equations of the compressor. These
Operations Guide parameters can be specified and/or calculated on

ig Ho in A nd
manual. the Specs page of the Dynamics tab.
Heater/Cooler/Heat With a pressure-flow specification, the user can
Exchanger/ Air
l r t te ell a
specify the K-value on the Specs page of the

ed 0
Cooler/LNG Dynamics tab.
ht n te p
Al igh lia h ry
Tray Sections, Weir The weir equation determines the liquid flow rate
Equation from a tray as a function of the liquid level in the
yr Aff o S eta

tray. Tray geometry can be specified on the Sizing


page of the Rating tab.
Tray Sections, K-value The K-value is used to determine vapour flow
op ll/ t ri

exiting from the tray as a function of the pressure


difference between trays. K-values can either be
C e d op

calculated or specified on the Specs page of the


Dynamics tab.
r
r S ss l P

The Pressure-Flow Network


e
el
u

As described above, the basic pressure-flow equations in UniSim


w

Design can be categorized as pressure nodes or resistance devices,


and each unit operation provides one or more of these equations
ey

types.
I
h
on

The complete process model in UniSim Design is constructed by


defining streams and unit operations, and connecting them
H

according to the process flow diagram. The pressure-flow equations


Fo

from each of these streams and unit operations are assembled


together to form the complete pressure-flow network for the
model. This pressure-flow network is solved at every time step of
the numerical integration.

19
20 Pressure-Flow Theory

Simultaneous Solution of

l
ia
the Pressure-Flow Network

nt
rv ll 2 se 9 e
The relationship between pressure and flow in the pressure-flow
network in UniSim Design is highly coupled:

se e l u 00 fid
the pressure node equations are a function of the flow rates

ly
re yw a 2 on
into and out of the pressure nodes

09 on
the flow rates through resistance devices are functions of

s e rn ril C
the upstream and downstream pressures

In addition, in any given model there are usually multiple pressure

ig Ho in A nd
nodes and multiple resistance devices, arising from the various unit
operations in the model connected according to the process flow
l r t te ell a
diagram.

ed 0
ht n te p
Al igh lia h ry

To calculate the pressures and flows throughout the model in


UniSim Design requires the solution of all the pressure-flow
yr Aff o S eta

equations. This means that the entire pressure-flow network must


be solved as a single (usually large) set of simultaneous equations
(both linear and nonlinear). This is done using a Newton-type
op ll/ t ri

solver and matrix algebra with the Implicit Euler method.


C e d op

Figure 2 below shows a generalized model where P# represents


r

Pressure Nodes, or boundary pressures linked by F# resistance


r S ss l P

devices.
e
el

Figure 2
u
w
ey
I
h
on
H

Fo

20
Pressure-Flow Theory 21

Unit Operation Pressure-

l
ia
Flow Specifications

nt
rv ll 2 se 9 e
Each unit operation in a UniSim Design model contributes one or
more pressure-flow equations to the pressure-flow network.

se e l u 00 fid
Although the specific form of the various pressure-flow equations is

ly
dependent on the type of unit operation, in many cases the user is

re yw a 2 on
given a choice for which equation they would like to use. This

09 on
information is given on the Dynamics tab.

s e rn ril C
For example, in the valve unit operation the user is given the
choice of the standard pressure-flow relation, equation (17) or

ig Ho in A nd
instead to use a fixed pressure drop.
l r t te ell a

ed 0
Material Stream
ht n te p
Al igh lia h ry

Pressure-Flow
yr Aff o S eta

Specifications
op ll/ t ri
C e d op

In addition to the pressure-flow equations provided by the unit


operations, UniSim Design allows the user to specify (or fix) the
r
r S ss l P

pressure and/or flow of each material streams in the model. The


pressure-flow specifications are made on the Dynamics tab of the
Material Stream property view (Figure 3).
e
el
u
w
ey
I
h
on
H

Fo

21
22 Pressure-Flow Theory

Figure 3

l
ia
nt
rv ll 2 se 9 e
se e l u 00 fid

ly
re yw a 2 on

09 on
s e rn ril C
ig Ho in A nd
l r t te ell a

ed 0
ht n te p
The user is required to provide enough stream pressure-flow
Al igh lia h ry

specifications to satisfy the degrees of freedom of the pressure-


flow network. Normally the number of stream pressure-flow
yr Aff o S eta

specifications required is the same as the number of boundary


streams in the model (the one pressure-flow specification per
boundary stream rule).
op ll/ t ri
C e d op

In addition to providing the correct number of specifications, the


user must also ensure that the specifications they provide form a
r

consistent set in order that the pressure-flow network can be


r S ss l P

solved. Failure to provide a consistent set of specifications can


result in a singular pressure-flow network which cannot be solved.
e
el
u
w

Definition of the Pressure-


ey

Flow Network
I
h
on

Whilst UniSim Design provides the unit operations with their


H

constituent pressure-flow equations, it is the users responsibility to


Fo

configure their model in such a way that solution of the pressure-


flow network is possible and gives a realistic solution.

It is the responsibility of the user to:

Define their process model in such a way that the pressure-


flow network can be solved. In practice, this usually means
building the model as a sequence of alternating pressure
nodes connected to resistance devices.

22
Pressure-Flow Theory 23

Provide a consistent set of dynamic specifications on the


material streams and unit operations, and sufficient in

l
number to satisfy the overall degrees of freedom in the

ia
pressure-flow network.

nt
Configure the model is such a way that a realistic pressure

rv ll 2 se 9 e
gradient is defined in the model (no pressure = no flow,
positive pressure gradient = negative flow!).

se e l u 00 fid
For inexperienced users UniSim Design provides a tool, the

ly
re yw a 2 on
Dynamics Assistant, which can be used to check the model to

09 on
ensure these conditions are satisfied. Further details are provided

s e rn ril C
later in the module.

Example
ig Ho in A nd
l r t te ell a
As an example of the pressure-flow network, consider the

ed 0
ht n te p
flowsheet shown in Figure 4.
Al igh lia h ry

Figure 4
yr Aff o S eta
op ll/ t ri
C e d op r
r S ss l P
e
el
u
w
ey
I
h

In this flowsheet there are eight material streams and one vessel
on

with holdup. Each material stream has a pressure and a flow, and
the holdup has a pressure. Thus the number of equations is:
H

Fo

8 x 2 + 1 = 17 (18)

23
24 Pressure-Flow Theory

The accumulation or change in amount of holdup is solved using

l
Pressure-Flow Description # of

ia
Equation Eqns

nt
Separator
Volume Balance The volume balance relates the pressure in V-101 with 1

rv ll 2 se 9 e
equation the flows in streams 2, 3 and 5:

se e l u 00 fid
d (PV 100 )
= f (VV 100 , MV 100 , TV 100 , F2 , F3 , F5 )
dt

ly
re yw a 2 on

09 on
General Static head option disabled:

s e rn ril C
Pressure
3
relation PV 100 = P2

ig Ho in A nd PV 100 = P3

PV 100 = P5
l r t te ell a

ed 0
ht n te p
Al igh lia h ry
Valves
Resistance This is the general form of the valve resistance 3
yr Aff o S eta

equations equation. The actual equations vary according to inlet


stream conditions (single or two phase):

F2 = kVLV 100 P2 P1
op ll/ t ri
C e d op

F4 = kVLV 101 P4 P3
r
r S ss l P

F8 = kVLV 102 P8 P7
General Flow Since valves are usually not specified with holdup: 3
e
el

relations
F2 = F1
u
w

F4 = F3
ey
I

F8 = F7
h
on

Mixer
H

General The Equalize All Pressure Assignment option is 2


Fo

Pressure recommended for mixers in dynamics mode:


relation
P5 = P7

P6 = P7
General Flow Since mixers do not have a holdup: 1
relation
F5 + F6 = F7
Total Number of Pressure-Flow Equations 13

24
Pressure-Flow Theory 25

material balances in the holdup model. Although the holdup is not


solved by the pressure-flow solver, it is used by the volume

l
balance equation to calculate the vessel pressure of the holdup

ia
which is a variable in the pressure-flow network.

nt
With 17 variables to solve for in the network and 13 available

rv ll 2 se 9 e
equations, there are 4 degrees of freedom. Therefore, 4 variables

se e l u 00 fid
need to be specified to define this system. This is the same as the
number of flowsheet boundary streams. The user is free to specify

ly
re yw a 2 on
pressure and/or flow in any stream in the model, as long as the
overall specifications are consistent. Typical specifications would be

09 on
material stream pressure specifications on streams 1, 4 and 8, and

s e rn ril C
a flow specification of stream 6. Specifications on internal streams
are usually not advised and can result in an inconsistent

ig Ho in A nd
specification and a singular pressure-flow network.

In addition to the number and of location of pressure-flow


l r t te ell a

ed 0
specifications, the user must also ensure that the pressure values
ht n te p
Al igh lia h ry
specified are such that an appropriate pressure gradient exists to
drive the flow through the model from inlet to outlet. If there is no
yr Aff o S eta

pressure gradient there will be no flow. If there is a positive


pressure gradient (outlet pressures are higher than inlet pressures)
there will be reverse flow.
op ll/ t ri
C e d op

Summary
r
r S ss l P

1. In dynamics mode UniSim Design solves a system of


e
el

pressure-flow equations for the network defined in the


u
w

model.
ey

2. The basic pressure-flow equations in UniSim Design can be


I

categorized as pressure nodes or resistance devices, and


h
on

each unit operation provides one or more of these equations


types. A Separator is a typical pressure node unit operation
and a Valve is a typical resistance device.
H

Fo

3. Sufficient specifications are required so that there are zero


degrees of freedom. It is the users responsibility to define
sufficient and appropriate specifications such that the
pressure-flow equations can be solved. Typically one
pressure or flow specification is required per boundary
stream.

4. The flow through the model is driven by the pressure


gradient. No pressure gradient means no flow.

25
26 Pressure-Flow Theory

Dynamic Tools in

l
ia
UniSim Design

nt
rv ll 2 se 9 e
se e l u 00 fid
The Dynamics Assistant

ly
re yw a 2 on

09 on
The Dynamics Assistant provides a quick method for ensuring that

s e rn ril C
a correct set of pressure-flow specifications is used. The Dynamics
Assistant can be used when initially preparing a case for dynamics,
or when analyzing why a case modified in dynamics mode will not

ig Ho in A nd
solve.
l r t te ell a

ed 0
The Dynamics Assistant makes recommendations for specifying
ht n te p
your model in dynamics mode. The user does not have to follow all
Al igh lia h ry

the suggestions. It is strongly recommended that the user is aware


of the effects of any changes made by the Dynamics Assistant. (It
yr Aff o S eta

is advisable not to instruct the Dynamics Assistant to make


changes without understanding what those changes will be.)
op ll/ t ri
C e d op

The Dynamics Assistant recommends a set of specifications which


are reasonable and helps to ensure that the case is not over-
specified, under-specified, or singular. It can be used for a quick
r
r S ss l P

examination of potential problems that can occur while moving


from steady state to dynamics, or can be invoked each time the
integrator is activated in dynamics.
e
el
u

In the case of a simple separator, UniSim Design adds pressure-


w

flow specifications as shown in Figure 5.


ey
I

Figure 5
h
on
H

Fo

In more complicated models such as that in Figure 6, the Dynamics


Assistant recommends the insertion of valves in some terminal
streams.

26
Pressure-Flow Theory 27

Figure 6

l
ia
nt
rv ll 2 se 9 e
se e l u 00 fid

ly
re yw a 2 on

09 on
s e rn ril C
ig Ho in A nd
l r t te ell a

ed 0
ht n te p
Al igh lia h ry
yr Aff o S eta

In some situations a model is configured without the resistance


op ll/ t ri

devices (e.g. valves) necessary to calculate the flow rate from the
C e d op

surrounding pressures. In this situation the Dynamics Assistant


may add a flow specification to fix the flows. Usually a better
r

solution is to add an appropriate unit operations (e.g. pump, valve,


r S ss l P

etc.) to the model to provide the pressure-flow equations and


hence a more realistic model. This can be seen with a simple
e
el

separator as in Figure 7. Whilst fixing pressure-flow specs on the


u

boundary streams is mathematically sound, a more realistic model


w

would have valves on the terminal streams so that the flows can be
ey

determined independently. This approach is also more realistic


when it comes to adding controllers which would manipulate the
I
h

valve actuator positions to control the feed flow, vessel pressure


on

and liquid level.


H

Fo

27
28 Pressure-Flow Theory

Figure 7

l
ia
nt
rv ll 2 se 9 e
se e l u 00 fid

ly
re yw a 2 on

09 on
s e rn ril C
It should be noted that, although the pressure-flow specifications
advised by the Dynamics Assistant are adequate for starting a case

ig Ho in A nd
in dynamics, detailed dynamic modeling can require more
advanced modifications.
l r t te ell a

ed 0
ht n te p
In addition to ensuring that the correct pressure-flow specifications
Al igh lia h ry

are used, the Dynamics Assistant can size all necessary equipment
that has not yet been sized.
yr Aff o S eta

The parameters sized are:


op ll/ t ri

vessel volumes
C e d op

valve Cv
r

k values (for equipment such as heaters, coolers, and heat


r S ss l P

exchangers)

The Dynamics Assistant performs the sizing based on the current


e
el

(steady state) flow conditions and specified residence times. The


u
w

Dynamics Assistant also checks the Tray Section pressure profile


for both steady state and dynamic mode to ensure a smooth
ey

dynamics start. It also ensures that the attached streams have the
I

same pressure as the tray they connect to in the tray section.


h
on

Although the Dynamics Assistant ensures that a steady state case


H

will run in dynamics; it cannot guarantee to make all necessary


Fo

changes for the case to be stable (or lined out) model once in
dynamics. It is the users responsibility to ensure that an adequate
control scheme is added to the case and that their model is
properly rated (i.e., existing vessels are adequately sized)

The Dynamics Assistant can be opened using any of the four


following methods:

28
Pressure-Flow Theory 29

Using the hot key combination: CTRL Y


Selecting Dynamics Assistant from the Tools menu

l
ia
Dynamics Assistant Clicking the Dynamics Assistant icon in the toolbar

nt
icon
Clicking the Dynamics Assistant button from the Equation
Summary View.

rv ll 2 se 9 e
se e l u 00 fid
The Equation Summary

ly
re yw a 2 on

09 on
View

s e rn ril C
The Equation Summary View is accessed from the Simulation

ig Ho in A nd
menu. (The Equation Summary View option only shows when
UniSim Design is in Dynamics mode.)
l r t te ell a

ed 0
ht n te p It provides information that can help the user find specification
Al igh lia h ry

problems in the case.


yr Aff o S eta

The General Results group contains a summary of the number of


equations and variables that are in the case. The group on the
right contains information regarding the general status of the case.
op ll/ t ri

If there are problems with the specifications, some basic


C e d op

information is provided.
r

If the Equation Summary View is opened from the menu bar, the
r S ss l P

Summary tab initially contains a single button. Clicking the


Full Analysis button causes UniSim Design to analyze the
e

pressure-flow parameters in order to determine if there are enough


el

specifications for the problem.


u
w
ey
I
h
on
H

Fo

29
30 Pressure-Flow Theory

Figure 8

l
ia
nt
rv ll 2 se 9 e
se e l u 00 fid

ly
re yw a 2 on

09 on
s e rn ril C
ig Ho in A nd
l r t te ell a

ed 0
ht n te p
Al igh lia h ry
yr Aff o S eta
op ll/ t ri
C e d op

If UniSim Design determines a problem, the Dynamics Assistant


r

and Partitioned Analysis buttons become visible, and the Full


r S ss l P

Analysis and Partitioned Analysis buttons can be used. These


buttons invoke different methods of analyzing pressure-flow
e

parameters.
el
u
w

In addition, if UniSim Design detects any problems, the


Unconverged tab is replaced with an Extra Vars or Extra Specs
ey

tab, depending on the nature of the specification problem.


I
h
on
H

Fo

30
Pressure-Flow Theory 31

Dynamics Toolbar

l
ia
nt
In dynamics mode the Dynamics Toolbar becomes visible:

rv ll 2 se 9 e
Figure 9

se e l u 00 fid

ly
re yw a 2 on

09 on
s e rn ril C
The Dynamics Toolbar allows single-click control of the Integrator
functions in dynamics mode.

ig Ho in A nd
Icon on Dynamics
Toolbar
Description
l r t te ell a

ed 0
ht n te p Take one time step
Al igh lia h ry

Run in real time (according to desired real time


yr Aff o S eta

factor)
Set desired real time factor
op ll/ t ri

Take multiple time steps (according to desired


C e d op

number of steps)

Set desired number of time steps


r
r S ss l P

Integration Control in Automatic/Manual


(Button pressed = Automatic mode)
e
el
u

The Integrator
w
ey
I

The Integrator is used when running a case in Dynamics mode. You


h
on

can access the Integrator window from the Simulation menu or by


using the CTRL I hot key.
H

Fo

31
32 Pressure-Flow Theory

Figure 10

l
ia
nt
rv ll 2 se 9 e
When running as a
calculation engine

se e l u 00 fid
under UniSim
Operations the

ly
integrator is set to

re yw a 2 on
Manual mode. UniSim

09 on
Operations instructs
UniSim Design when to

s e rn ril C
take steps.

ig Ho in A nd
l r t te ell a

ed 0
ht n te p
Dynamics Toolbar
Al igh lia h ry
Integrator Auto/Manual
mode icon
yr Aff o S eta

UniSim Design solves all equations using the Implicit Euler


integration method. On the Integrator window, the various
op ll/ t ri

integration parameters can be specified


C e d op

Dynamics Toolbar
Integrator Take One
Step icon The General tab has three groups which contain the time
r

parameters for the integrator. The Integration Control group has


r S ss l P

controls for whether the integration is Automatic or Manual.


Manual integration lets the user specify the number of time steps
e
el

which UniSim Design executes. It is usually used when


u

troubleshooting or debugging a case because it allows the solver to


w

be executed one time step at a time. Once the integrator has


ey

executed the specified number of time steps, the integrator does


not stop, but remains in a holding mode. If additional time steps
I
h

are entered, the integrator continues integration for the given


on

number of time steps. In Automatic mode the integrator keeps


taking steps until told to stop or when the End Time is reached.
H

Fo

It is NOT recommended to change the value of the Acceleration


Note that the Integrator parameter from the default value of 1. Since it is used as a
will only start if the
End Time is greater
multiplier value for the Step Size and hence changing the
than the Current Time Acceleration is actually the same as changing the Step Size. The
(or set to <Non- function of Acceleration can be substituted by using the
Stop>). Desired Real Time Factor to slow the integrator down or
The Reset Sim Time increasing the step size to speed the integrator up.
button sets the current
time to zero.

32
Pressure-Flow Theory 33

The Real time factor is calculated by dividing a change in


simulation time by the change in actual time taken to simulate that

l
period. For example a real time factor of 100 means that time in

ia
the UniSim Design model is running 100 times faster than real

nt
time.

rv ll 2 se 9 e
Checking the Real time checkbox displays the

se e l u 00 fid
Desired Real Time Factor parameter. By setting a value here
the integrator can be made to run at whatever real time factor is

ly
re yw a 2 on
required (as long as it slower than the maximum achievable when
the Real time checkbox is unchecked.)

09 on
Dynamics Toolbar
Integrator Real time

s e rn ril C
factor icon The Display Interval option is visible only in the Automatic
Integrator mode and is the time interval at which UniSim Design

ig Ho in A nd
updates the user interface. The frequency of updating can have a
significant impact on the speed at which the simulation runs.
l r t te ell a

ed 0
While the Integrator is running the Units of the integration step
ht n te p
Al igh lia h ry
can be changed but a change of Step Size is not allowed.
yr Aff o S eta

Execution Rates
op ll/ t ri

The Calculation Execution Rates group on the Execution tab


C e d op

contains parameters that indicate the frequency at which the


different balance equations are solved. The default values for
r

Pressure-Flow equations, Control and Logic Ops, Energy


r S ss l P

Calculations, and Composition and Flash are 1, 1, 2, and 10


Integrator options are respectively. A value of 2 for the Energy Calculations means that a
discussed in Section 7.6
e

rigorous energy balance is performed every 2 time steps.


el

of the UniSim Design


u

User Guide. (Simulation


w

Environment
It is strongly recommended that these numbers are not changed
Integrator).
ey

without good reason.


I
h
on

Options
H

Fo

The Integrator Options tab allows advanced configuration settings


to be made for the integrator. (Figure 11)

Each setting is described in detail in the table below.

33
H
on

34
34
ey
Fo w
I el
r S ss l P
h
C e d op u e r
Figure 11

op ll/ t ri
Pressure-Flow Theory

yr Aff o S eta
Al igh lia h ry
l r t te ell a
ig Ho in A nd
ht n te p
s e rn ril C
re yw a 2 on
se e l u 00 fid
rv ll 2 se 9 e
ed 0 nt
09 on ia
ly l
Pressure-Flow Theory 35

Option Description
Enable Static When checked UniSim Design includes the effect of

l
ia
head static head in the calculations. Default state is OFF.
contributions

nt
Enable implicit Vessels can optionally be solved using implicit static
static head head calculations for the pressure contributions

rv ll 2 se 9 e
calculations associated with the levels inside the vessel rather

se e l u 00 fid
than using explicit static head calculations. Default
state is OFF.

ly
re yw a 2 on
Enable heat When checked, heat loss model settings for unit
losses operations (such as vessel and tray sections) are

09 on
calculations as accounted for. If unchecked, all heat losses are zero

s e rn ril C
configured irrespective of individual heat loss settings. Default
state is ON.
Singularity When checked, UniSim Design warns of a possible

ig Ho in A nd
pressure flow singular solution matrix before starting integration.
analysis before
For larger cases it is recommended that this option be
running
l r t te ell a
unchecked to increase the overall start up speed. For

ed 0
cases where a singular solution is not considered to
ht n te p be a problem, this option can be disabled which
Al igh lia h ry

increases the overall speed. Default state is ON.


yr Aff o S eta

Rigorous non It is recommended that this option remains active.


equilibrium Deactivating this option provides a slight speed
mixed increase when nozzle efficiencies are not 100%,
properties although instabilities can occur. Default state is ON.
op ll/ t ri

Skip flashes It is recommended that this option remain inactive.


C e d op

under Activating this option tells UniSim Design to skip


acceptable flashes calculations under acceptable conditions (e.g.
conditions valves with zero pressure drop or mixers/tees with
r

only one effective feed). This provides a slight speed


r S ss l P

increase, although instabilities can occur. Default


state is OFF.
e
el

Simultaneously When the checkbox is checked and IOFlash is the


u

solve heat flash algorithm selected in the Basis environment,


w

transfer eqns then UniSim Design tries to solve heat transfer


with IOFlash equations (from heat exchangers) simultaneously
ey

with the flash, and potentially make the dynamics run


I

faster. If you encounter inconsistencies with your


h

heat transfer equipment, uncheck this checkbox.


on

Default state is OFF.


Model choking When checked, this activates the model liquid choking
H

of liquid inside option for all the valves. See also: Module 6
Fo

the valve expanding the model Equation (7). Default state is


OFF.
Use implicit It is recommended to use this option if you are
check valve experiencing a delay in the opening and closing of
model check valves. Default state is ON.

35
36 Pressure-Flow Theory

Option Description
Truncate large If there are large upsets or sudden severe changes in

l
ia
volume the system, it can result in a volume balance error
integration during transients. This is where the volume of the

nt
errors material shown does not match the physical volume
that it occupies. This may occur due to the hybrid

rv ll 2 se 9 e
solution nature of UniSim Design Dynamics whereby
some variables and equations are solved in the

se e l u 00 fid
pressure flow solution but others are solved in the
sequential module pass. In physical reality almost all

ly
of your problem variables are inter-dependent. In

re yw a 2 on
essence the solution of one or more variables is

09 on
"torn" between the two solutions. In the case of
UniSim Design this variable is the material volume -

s e rn ril C
in some other dynamic simulators it may be pressure.
If the error is large (greater than 10%), you can
enable the Truncate Large Volume Error option

ig Ho in A nd
and UniSim Design truncates the error and restores
material inventory. However, truncating the error will
violate the overall material balance. With this option
l r t te ell a

ed 0
on or off, UniSim Design will always slowly correct the
ht n te p error naturally over time. Note that there will never
Al igh lia h ry

be a material imbalance when the model is at steady


state. It is recommended that this option be turned
yr Aff o S eta

on for dynamic models which must span a large


operating range - for example operator training
simulators. It is recommended that this option be
turned off for depressuring utilities or other
op ll/ t ri

engineering studies where material balance accuracy


C e d op

is paramount. Default state is ON.


Reduce recycle For smaller integration step sizes (where the
efficiency for composition time step is less than 5 seconds). This
r
r S ss l P

small time steps option improves stability of the system, but in some
cases can produce undesirable results. For example,
the phases in a vessel may no longer be in
e
el

equilibrium and can be at different temperatures. If


you reduce the integration step size or lower the
u

composition period, you can turn this option off if you


w

experience problems or unexpected results. Default


ey

state is ON.
I

Close Enables UniSim Design to perform careful calculation


h

component on component and energy balances to avoid


on

material and imbalances. Default state is OFF.


energy balances
H

Fo

36
Pressure-Flow Theory 37

Option Description
Reduce liquid This option is provided for testing purposes. In the

l
ia
efficiency for past there was a scheme to automatically reduce the
low vapour liquid 1 and liquid 2 recycle efficiencies when the

nt
holdups vapour holdup and/or sum of vapour inflow and
outflow were small. This was to overcome an

rv ll 2 se 9 e
inaccuracy in the dynamic flash solution when such a
small trace amount of vapour was present.

se e l u 00 fid
Symptoms of this problem were undesirable
oscillations in flow, pressure and holdup. However,

ly
re yw a 2 on
this scheme also, at times, introduced its own
oscillations. In summary, it is recommended to turn

09 on
this option off and, where necessary, manually adjust

s e rn ril C
the liquid recycle efficiencies to smaller values to
obtain stability. A steam drum is a typical application
which would benefit from this.

ig Ho in A nd
The efficiencies for any operations that support them
can always be accessed from the Dynamics tab,
Holdup page and then the Advanced button. In the
l r t te ell a

ed 0
case of the Tray Section, just double-click on the row
ht n te p showing a particular stage. Default state is OFF.
Al igh lia h ry

Heat Transfer Affects heat transfer unit operations (heat exchanger,


temperature LNG, etc) by using either of the average inlet
yr Aff o S eta

mixing temperature (unchecked) or the actual stream


The Integrator Options
temperature (checked) in the heat transfer driving
are discussed in section
force delta temperature calculation.
2.4.3 of the UniSim
op ll/ t ri

Dynamic Modeling It is recommended that this only be turned on for


C e d op

Guide (Dynamic Tools backward compatibility. When turned off, this can
chapter). produce different steady state results for different
residence times, integration steps and holdup
r

volumes which are not desired. Default state is OFF.


r S ss l P
e
el
u
w
ey
I
h
on
H

Fo

37
38 Pressure-Flow Theory

Other options

l
ia
nt
Trace Flow

rv ll 2 se 9 e
Any flows within the model that are less than the specified

se e l u 00 fid
Trace Flow are set to zero. This change is performed

ly
automatically after the pressure flow solver converges.

re yw a 2 on

09 on
This allows the simulation results to be more quickly reviewed and

s e rn ril C
understandable when the small trace flows are viewed as zero. This
may also stabilize some models when they are shut down.

ig Ho in A nd
Set the Trace Flow to zero to disable the feature.
l r t te ell a

ed 0
Flash Trace Flow
ht n te p
Al igh lia h ry

Any streams which have a flow less than the specified


yr Aff o S eta

Flash Trace Flow are not flashed.

This option conserves CPU usage and produces a larger potential


op ll/ t ri

integration Real Time factor.


C e d op

Set the Flash Trace Flow to zero to disable the feature.


r
r S ss l P
e
el
u
w
ey
I
h
on
H

Fo

38

También podría gustarte