Академический Документы
Профессиональный Документы
Культура Документы
SIMULATOR
by
ALan J. B~ainard
and
Seb~.~ia.~ Jossph
1-271
CONTENTS
Page
Section
I-D
1-271
Introduction
1-275
ASPEN
Input
and
Overview
Language
...............................
....................................
1-277
1-279
1-284
1-288
1-272
LIST OF FIGURES
I-D-I
1-290
I-D-2
Flowsheet ..........................................
1-292
1-273
LIST OF TABLES
I-D- 1
1-280
I-D-2
1-282
I-D-3
1-285
1-286
I-D-4
1-274
been used
industries,
power
to model
generation,
metals
in the chemical
and petrochemical
models
simulator
consists
flowsheet
such
of
as
of
rates,
pulp
and
paper,
food,
and
flow
streams
the
of
the
the
in
number
of
of
and
desired.
the
properties
performance
the
process
operation
performance
and
to
the
pressures,
unit
rates,
and
Input
contained
temperatures,
representation
product
throughout.
normally
streams
composition,
and
employed
information
individual
the
intermediate
are
flow
is a complete
including
minerals,
synthetic fuels,
and biotechnology.
Flowsheet
compositions
and
and
It is quite versatile as
pharmaceuticals,
Output
processes
flow of materials
plant,
of
the
all
various
process units.
ASPEN
process
design
phases.
During
process
development,
can
be
used
to aid
in interpreting
ASPEN PLUS
pilot
the process
plant
data
and
can be
development
It
is available.
and
to allow
the
flexiblity
may be used
of
the
plan=
handle
wide
and to
range
of
feedstocks.
These
simulation
studies
during
process
design
1-275
can
help
In
addition
plant design,
to
improve
to
providing
guidance
in
process
development
and
plant
operations,
to
improve
yield
and
throughput,
and
to
of
proceeding
the
further
goal
of
it
any
is appropriate
process
to provide a brief
simulator
(ASPEN
PLUS
USER
MANUAL, 1981):
"To
obtain
through
resources.
The
generalized
the required
the
ASPEN
information
minimum e x p e n d i t u r e
of
about
a particular
engineering
and
process
computer
I!
PLUS
procedure
user
manual
be followed
recommends
to help
that
the
following
for
the
1-276
A
language
conceptual
is
required
understanding
to
realize
of
the
syntax
effective
and
of
of
the
simulation.
the ASPEN
efficient
use
input
of
the
simulator.
flowsheet calculations.
required.
Yhe
material
presented here
is
presents
the recommended
The interested
reader is referred to the ASPEN PLUS USER MANUAL for considerably more
details concerning specific applications.
The ASPEN input language consists of paragraphs, sentences and
individual
data
entries.
There
are
three
primary,
levels
of key words
that
Key
1-277
Some
flowsheet
very
model
specific
to
use
steps
must
the
ASPEN
with
be
followed
PLUS
in
developing
simulator.
These
steps
include:
a.
The
process
flowsheet
to
be
modeled
is
defined
and
the
The
units
of
measurement
for
the
input
data
and
output
The
chemical
components
present
in
each
stream
of
the
e.
The
flowsheet
is broken
into unit
operation
blocks
and an
g.
h.
Details
ASPEN
PLUS
An
of benzene
necessary
along
the meaning
Introductory
hydrogenation
file
of
to
stream
distillation
column,
include
flow rates
entropy,
density,
streams.
convergence
The
Manual
block
block
tolerance,
units,
molecular
reports
tower
1-278
flowsheet
process
reports
separator.
values
for
additional
specifications,
provided
representing
in
the
flowsheet
temperatures,
weight
include
steps are
An example
and
pressure
these
the
the
high
in various
and
for
define
reports
and
of
to cyclohexane.
completely
with
of each
is provided
for
the
The
stream
pressures,
the
reactor,
reports
enthalpy,
various
process
information
including
concentration
profiles,
results
of
flash
calculations,
and
streams.
summary
of
the
flowsheet
a chemical
reactor.
In particular~
reactor
specifying
RGiBBS,
input
one
of
simulations.
~he
follo~ing
The
various
acronyms:
models
RSTOIC,
are
selected
RYIELD,
by
REQUIL,
output
report.
An application
of
RSTOiC has been selected for this report as it illustrates the principal
features
1-279
the
TABLE I-D-I
Input Data File for Methanol Synthesis
$ TY INPUT I.INP
NEW
TITLE 'METH~NOL SYNTHESIS'
DESCRIPTION "EXAMPLE OF ICI METHANOL SYNTHESIS"
IN-UNITS
ENG
OUT-UNITS
ENG
HISTORY MSG-LEVEL PROPERTIES = 2
COMPONENTS H 2 H2/CO CO/CO~ CO2/CH3OH CH40/H20 H20
PROPERTIES SYSOP i GLOBAL
FLOWSHEET
BLOCK REACTR
IN=FEED
OUT=PRODS
STREAM FEED TEMP = 482
MOLE-FLOW = 60
MOLE-FRAC H 2 0.67/CO
PRES = 450
0.16/CO 2
0.17
i
I/H20
STREAM-REPORT
STANDARD OPTIONS=MOLE-FRAC
S
Before presenting the output
PLUS from this input file, some specific points will be noted concerning
certain
UNITS
items
and
in the input
OUT-UNITS
file.
indicates
that
The
ENG following
the
user
has
selected
the
engineering set of units for both the input and output variables.
sets
including
the
The
ENG
set
IN-
English
Other
is the default
set.
The
represent
alias
component
the
which
component
the
ASPEN
designations
ID
(which
PLUS
following
the user
simulator
1-280
the
key
specifies)
utilizes
for
word
COMPONENTS
followed
that
by
the
particular
component.
the component
specification
indicates
tc calculate
of
SYSOP
GLOBAL
following
the
key
word
the properties
for all
streams
on the process
flowsheet.
of option set depends upon the various properties desired, and the type
of
mixture
determine
selected.
SYSOP
utilizes
the
Chao-Seader
model
to
Ma~ual provides guidelines that may be used to select the various option
sets
along
with
the
specific
equaitons
used
to calculate
the
various
the reactor
is to operate
adiabatically
drop.
The values of 3 and 0.5 which follow the key words EXTENT i and EXTENT 2
represent the extent of reactions i and 2~ respectively.
The
following
table
presents
the
1-281
output
report
that
was
PAGE I
TABLE l-D-2
Output Report
METHANOL SYNTHESIS
DESCRIPTION
: REACTR
STREAM SECTION
DESCRIPTION OF STREAM CLASS CONVEN
PRODS FEED
Page i
METHANOL SYNTHESIS
FLOWSHEET SECTION
FLOWSHEET CONNECTIVITY BY STREAMS
STREAM S O U R C E DEST
STREAM S O U R C E DEST
PRODS
REACTR
....
1-282
FEED
----
REACTR
OUTLETS
PRODS
COMPUTATIONAL SEQUENCE
SEQUENCE USED WAS:
REACTR
OVE~&LL FLOWSHEET BALANCE
MASS AND ENERGY BALANCE
CONYENTiONAL
COMPONENTS
(LBMOL/HR)
H2
CO
CO 2
CH3OH
H20
TOTAL BALANCE
MOLE (LBMOL/HR)
MASS (LB/HR)
ENTHALPY (BTU/HR)
IN
OUT
40.2000
9.60000
10.2000
0.00000E+00
O.00000E+00
32.7000
6.0000
9.70000
3.50000
0.50000
0.186567
0.312500
0.490196E-01
-1.00000
-I.00000
60.0000
798.841
-0.200247E+07
53.0000
798.841
-0.200246E-07
0.i16667
0.629507E-06
-0.624358E-06
REALTIVE DIFF.
Page 4
INPUT DATA
STOICHIOMETRY MATRIX:
REACTION #i:
SUBSTREAM MIXED:
-2.00 H 2
-i.00 CO 2
NUMBER = 0
1.00 CH3OH
i.00H20
BTU/HR
0.00000E+00
0.00000E+00
30
0.10000E-03
Page 5
METHANOL SYNTHESIS
U-O-S BLOCK SECTION
1-283
REACT - STOICH
(RSTOIC)
: REACTR (CONTINUED)
RESULTS
OUTPUT TEMPERATURE F
OUTPUT PRESSURE PSI
HEAT DUTY BTU/HR
VAPOR FRACTION
While
most
self explanatory,
793.23
450.00
0.00000E+00
1.0000
of
the
some
items
specific
that
appear
comments
in
this
concerning
report
should
its content
be
are now
included.
i.
Additional
information
concerning
the output
stream was
provided by ASPEN PLUS.
A flash calculation was performed
on
the output
stream
and
the
phase
compositions
and
equilibrium constants for the various species were part of
the output
report.
They were not
shown here as the
simulator determined that the vapor fraction was 1.0 as
shown on page 5 of the output report.
This application
certain thermodynamic
illustrates
and transport
Coefficients
for
1-284
and V i s c o s i t i e s
TABLE I-D-3
NEW TGS
COMPONENTS H20 WATER/CH40 METHANOL
PROPERTIES SYSOP8 GLOBAL
REPORT TABLES
OUT-UNITS S!
DATA
PROP-LIST
G ~ S N A I/GMW SNB i
~PVAL CH40 H20 - 0.8127118/-122.7592
BPVAL H20 CH40 0.8127118/-218.97112
PPTABLES TABLE ! PROPS
IN-[FNiTS S!
DESCRIPTION 'SINGLE-PHASE PROPERTIES'
SYSTEM [ H20 I/CH40 1
STATE 1
PRES = 101325
T E M P = 298.15
INDEP-V~_R i TEMP
~A--NCE ! SVAL = 273.15
FVAL = 373.15
N!NC = i0
DEP-V~R i PL HL DHVL VL COMP = CH40 H20
I N D E P - V ~ 2 MOLEFILa.C COMP = H20
RA_NCE 2
SVAL = 0
FVAL = i
INCR = 0.i
D E P - V ~ 2 C~/~w~. COMP = CH&O H20
T ~ L E i 'PURE COMPONENT PROPERTIES' &
DEP-VAR 3 MULMX
TABLE i 'PURE COMPONENT PROPERTIES' &
SYST = i
STATE = i
iNDEP-VAR = i &
R~GE = i
DEP-V~_R = i
TABLE 2 'BIN#~Y MIXTURE ACTIVITY COEFFICIENTS' &
SYST = i
STATE
= i
INDEP-V#~ = 2 &
~NGE = 2
DEP-VAR = 2
TABLE 3 'MIXTURE VISCOSITY' &
SYST = I
STATE
= i
INDEP-VAR = 2 &
RANGE = 2
DEP-VAR = 3
Several com~ments concerning
i.
3.
The values which follow the key word BPVAL represent the
parameters used in the Wilson equation to determine the
liquid phase activity coefficients.
The pressure and temperture for the input stream are
specified in SI units.
The output reports are requested
The important
portions
in Sl units.
1-285
from this
input data
TABLE I-D-4
TYPE OF RUN:
NEW
INPUT FILE NAME:
INPUT 2
INPUT PROBLEM DATA FILE NAME;
RUN 1
UPDATE NO. 0
MAIN CALLING PROGRAM NAME:
RUN i
TGS ONLY RUN
PAGE I
TABLE OF CONTENTS
PHYSICAL PROPERTIES SECTION
COMPONENTS
OPTION SETS
PHYSICAL PROPERTY TABLES SECTION
PPTABLES (PROPERTIES):
TABLE
PAGE 4
PHYSICAL PROPERTY TABLES SECTION
(CONTINUED)
PPTABLES (PROPERTIES);
TABLE i
SINGLE-PHASE PROPERTIES
PURE COMPONENT PROPERTIES
TEMP
K
2.73150+02
2.83150+02
2.93150+02
3.03150+02
3.13150+02
3.23150+02
3.33150+02
3.43150+02
3.53150+02
3.63150+02
3.7315002
DHVL
H20
K/KMOL
VL
CH40
CUM/KMOL
CUM/KMOL
4.48120+07
4.44364+07
4.40537+07
4.36635+07
4.32653+07
4.28589+07
4.24437+07
4.20193+07
4.15852+07
4.11408+07
4.06854+07
3.93822-02
3.99376-02
4.05187-02
4.11280-02
4.17681-02
4.24421-02
4.31535-02
4.39064-02
4.47058-02
4.55575-02
4.64683-02
1.77177-02
1.78836-02
1.80544-02
1.82304-02
1.84119-02
1.85991-02
1.87925-02
1.89924-02
1.91992-02
1.94135-02
1.96357-02
1-286
VL
H20
PAGE 5
PHYSICAL PROPERTY TABLE SECTION
PPTABLES (PROPERTIES): TABLE i (CONTINUED)
BIN~_RY MIXTURE ACTIVITY COEFFICIENTS
MOLE FRAC
H20
MOL-FR
G~MMA
CH40
0.0
1.00000-01
2.00000-01
3.00000-01
4.00000-0i
5.00000-0!
6.00000-01
7.00000-01
8.00000-01
9.00000-01
1.00000 O0
1.00000
1.00410
1.01779
1.04391
1.08688
1.15381
1.25687
1.41849
1.68404
2.15848
3.13624
G~_MMA
H20
O0
O0
O0
O0
O0
O0
O0
O0
O0
O0
O0
1.87349
1.73582
1.60854
1.49139
1.38427
1.28724
1.20068
1.12548
1.06351
1.01870
1.00000
PAGE 6
PHYSICAL PROPERTY TABLES SECTION
PPTABLES (PROPERTIES): TABLE i (CONTINUED)
MIXTURE VISCOSITY
MOLE FRAC
H20
MOL-FR
MULMX
N-SEC/SQ
M
0.0
1.00000-01
2.00000-01
3.00000-01
4.00000-01
5.00000-01
6.00000-01
7.00000-01
8.00000-01
9.00000-01
1.00000 O0
3.91909-04
4.14886-04
4.37599-04
4.60087-04
4.82412-04
5.04659-04
5.26948-04
5.49441-04
5.72358-04
5.96002-04
6.20797-04
t
1-287
has
provided
(Chapter
by
ASPEN.
of
The
incorporating
first
This interfaces
become
two ways
a "personal"
available
on
way
Vol.
for unit
to
the
use
to ASPEN; however,
wide
basis.
interface
part of ASPEN.
is
at
considerably
more complicated,
a particular
The
operations
USER
I) that is a standard
model
system
is
models
second
way,
it
described
inlet
in a FLOWSHEET
arrays
the computed
stream
places
i.e.,
type (USER),
paragraph.
and
block
results
arrays~
into outlet
solves
the
model
values
is
from
equations
and
The model allows for from one to four inlet and/or outlet material streams
and
for
passed
array.
the
one
to
inlet
the
user
and/or
outlet
subroutine
information
through
the
user
to
pass
integer
and
real
subroutine.
simulation.
User model
as
ASPEN
well
routines).
as
subroutines
subroutines
stream.
Each
argument
list
In addition,
variable
property
single
the
user
process
supplied
monitors
1-288
to
in a given
(physical
is
arrays
of USER models
as
stream
and
models
flash
of a USER block
model.
reactor/preheater.
The
following
example
shows h o w
the
direct
coal
fi!e~
the main
subroutine
presented in Appendix D.
1-289
and
the
ASPEN
generated
liquefaction
The ASPEN
output
are
USER
Material
Stream
Material
Stream
USER
Information
Stream
Flowsheet
Inlet:
Oulet:
Information
Stream
streams;
streams;
one information
one information
stream
stream
Input Specifications
The
only
required
input
is a user-supplied
subroutine
which
calculates the flowrate and composition of all exit streams.
For a two-phase flash or three-phase flash, two of the following
variables msut be specified:
temperature, pressure, vapor fraction, or
heat duty.
If no specifications are made, the outlet streams wil be
flashed at the temperture and pressure specified in the stream vector by
the user subroutine.
Input LanguaKe
BLOCK
blkid
USER
SUBROUTINE
model
report
PARAM
kwd = value
where kwd's are:
(NINT)
(NREAL)
(NIW)
(NW)
FLASH-SPECS sid kode kwd = value / . . .
where kwd;s are:
(TEMP)
(PRES)
(V)
(NPK)
(KPH)
(TEST)
(PEST) (MAXIT) (TOL)
FIGURE I-D-I.
(NSIZ)
1-290
INT intl . . . .
REAL reall . . .
where:
SUBROUTINE
subroutine
subroutine
to
in a FLOWSHEET
paragraph.
and,
FIGURE I-D-I
1-291
(Continued)
Gasout
Gasin
r
f
PreheaterReactor
Slurryi~
Sl urryou t
r
Figure I-D-2:
1-292
Flowsheet