Upload
luciferppzhu
View
234
Download
0
Embed Size (px)
Citation preview
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
1/79
Consortiumof
Reaction Se aration
Prosess
Speaker:JianKai Cheng()
DeptofChem.Eng.
NationalTaiwanUniversity
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
2/79
Introduction
Dynamic Data in Aspen Plus Running Simulation in Aspen Dynamics
Distillation with RadFrac
Reactors Tasks
Process Control
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
3/79
AspenDynamicsisatoolintheAspenEngineeringSuit
fordynamic
simulation
of
flowsheets
AspenPlus:SteadyState,BasisforAspenDynamics
simulations
AspenDynamics:Running
off
the
shelf
models
based
ib
AspenPlusflowsheet
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
4/79
Build steady state
Prepare flowsheet for
Add dynamic data
Export simulation
Dynamics
,
disturbance
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
5/79
What happens if operating conditions change?
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
6/79
1. Create the simulation flowsheet in Aspen Plus
Properties, components, stream, blocks,
2. Enter the dynamic information in Aspen Plus
.
4. We have a dynamic model for our flowsheet
Change control system
Etc
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
7/79
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
8/79
Describethedatarequiredtocreateadynamic
simulationinput
from
Aspen
Plus
flowsheet
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
9/79
Clickdynamictoolbuttontoactivatedynamicdata
forms
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
10/79
Dataisrequiredtocalculatethefollowing:
Vesselgeometry
Vesselinitialfillage
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
11/79
Vesseltype
Instantaneous Defaulttyperequirednoinputvesselgeometry.
Vertical
Horizontal Vesselgeometry
Headtype
Diameter Length
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
12/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
13/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
14/79
Export
Creates and saves the Aspen Dynamics Problem file (*.dynf)* .
required for the properties calculations
Send to
Exports then automatically starts Aspen Dynamic and loads theexported problem files
Runid#.dynf
Runid#.appdf
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
15/79
Thefollowingobjectsareexported:
Components Properties
StreamandBlock(Supportedmodelonly)
Thefollowing
objects
are
not
exported:
S ecification
Calculator
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
16/79
ere are wo ypes o ynam c s mu a ons:
Flow-driven Useful for a first approach of dynamic behavior of the
processes
Good for liquid processes Pressure driven
Flowrate is controlled by pressure differences
More realistic, the system must be setup, pumps and.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
17/79
Alwaysanalyzethemessagewhileexportingthe
simulationas
they
are
really
important
Warning:Somethingyoushouldreallycheck!
Example:
Flashvessel
full
of
liquid
Phasetype
(Fatal)Error:Thesimulationcannotbeexportedor
usedwithout
corrective
action
Pressuredrop
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
18/79
FatalError
Useof
any
Aspen
Plus
feature,
which
is
not
support
in
Aspendynamics
Anyresults,whichareinconsistentwithadynamic
s mu at on,e.g.,pro emw t a rac pressurepro e
Error
Ablockthatisnotsupport
Note:Ifaflowsheet includesanunsupportedblock,itwillstillbe
block
Anythingwhich
could
cause
aproblem
in
the
dynamic
simulation e. . ne ativeorzero ressuredro invalves
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
19/79
Thefollowingobjectsareexported
Component Properties
Streamandblock
Thefollowing
objects
are
not
exported
S ecification
Calculatorblocks
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
20/79
Workshop:
AddingDynamic
Data
Buildthesteadystateflowsheet
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
21/79
RunningSimulationinAspenDynamics
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
22/79
Reviewthebasicconceptsinrunningthesimulation
Explainhow
to
run
and
pause
Showhowtodisplaytheresults
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
23/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
24/79
Displaythecontentofthesimulation
ComponentList:
Components
and
physical
property
Globals:Optionsforthesimulation
Flowsheet:
Blocks
and
streams
on
the
flowsheet
L rar es:Li raryo mo e s
Diagnostics:Informationonresultion
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
25/79
Selectsthetypeofsimulation
AspenDynamics
is
typically
used
with
Dynamic
and
Initializationrunmode
Initialization run:
Solvesequations
of
the
system
at
time
0
to
find
the
valuesofthe freevariables
Dynamicrun:
Theintegrates,stepbystep,equationsofthesystem
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
26/79
To start or continue the simulation (Run button)
To run ste -b -ste
To pause the simulation (Pause button)
To go back to a time 0 (Re-start button)
To go back to a timed snapshot (Rewind button)
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
27/79
Communication
interval
Time units for
Pause Time
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
28/79
Selectstheparametersfor
numericalmethods
Importsettingonintegrator
sheet
InitialIntegration
step
Defaultvaluesare
setting
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
29/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
30/79
Fixed: Specifythevalueofthevariablefor
thecalculation
Free: ValueiscalculatedbyAspenPlus
time0
OriginalvaluesarefromtheAspenPlussimulation
You
can
save
new
starting
points
in
current
resultssectionsorinsnapshots.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
31/79
1. Click the new form button
2. Select the option, click OK3. Open a table/plot
4. Click the name of the variable
5. Hold down the left mouse button to drag it anddrop it on the form
6. Right Click to change its
its properties7. The table/plot is defined
in Flowsheet folder
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
32/79
Workshop:
RunningAspen
Dynamics
Explorethemainstepsonhowtorunasimulation:
Experimentwithpredefinedplotsandtables
Rewind,Restart
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
33/79
DistillationwithRadFrac
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
34/79
OverviewofRadFraccapabilities
Dynamicform
in
Aspen
Plus
ModelandSpecificationsofexportedto:
Reviewsome
specific
details
of
Aspen
Dynamics
assum tions
CompleteworkshopadRadFrac
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
35/79
Dynamic RadFrac may be used in the same applications
as steady-state model
n ynam c mo e. a rac mo e s e pressure rop
across each stage due to the head of liquid and vapor
Stage hydraulics are also modeled
Reaction-Dist Reaction type: equilibrium reactions are not
supported User reaction type us supported
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
36/79
Heattransferoption
CondenserReboiler
Sizeandinitialcondition
Refluxdrum
Sum
Decanter
calculationforthestages
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
37/79
on ensers an re o er o ups are typ ca surge vo ume.
Heuristics: 5 min residence time for condensers and reboilers
-
= 3LEx. Overhead vapor rate=5577 lb/hr and 29 lb/ft
= =35577 5min 2 32ft
29 60minV
hr lb
Liquid Volume Fraction = 0.5
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
38/79
Aspectratio(L/D)rangesfrom1to4generally
Atypical
value
of
2is
often
used
2 2 3
= = =Volume 4 4 2
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
39/79
Simple Trays: Uses simple correlation for trays
Simple Packing: Uses simple correlation forpacking
rating or packing rating
becomes too low
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
40/79
To complete form, you need to select the option update
pressure profile in the tray rating or packing rating
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
41/79
Example showing default controllers for a simple
column
Pressure Control ler
Level Controlle
W k h
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
42/79
Workshop:
DistillationColumn
HeterogeneousAzeotropic Distillation
1. Build
steady
state
design
in
Aspen
Plus2. Adddynamicdata
3. Trydynamicsimulation
4. Change
condition
of
the
process
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
43/79
Reactors
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
44/79
PresentthereactormodelssupportedbyAspen
Dynamics RCSTR
RPlug
Workshop
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
45/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
46/79
Plugflowisdiscretized intoanumberoffixedsize
elements Supportliquid,vapor,liquidvaporandliquidliquid
vaporphaseoptions
Onlykinetic
reactions
are
supported
reactions(forwardandreverse)
fluidismodeled
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
47/79
Aspendynamicsusesaonedimensional,firstorder
finite
difference
scheme
to
solve
the
partial
equationsfortheRPlug reactor.Thefinitesizeof
eachelementmaycauseacertainamounterror
Reduce
the
error
by
increasing
then
number
of
finite
differenceelementsfromthedefaultvalueof10
RPlug Report/ProfilesheetinAspenPlus
Workshop:
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
48/79
Workshop:
RCSTRand
RPlug
ComparedifferenttransferoptionsinRCTRand
RPlug
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
49/79
Tasks
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
50/79
Exposethepurposeoftasks
Explainsyntax
of
task
instructions
Workshop
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
51/79
A task is a set of instructions that define a
sequence of actions taking place during adynamic simulation
Change the value of some variables, write message
You can create as many tasks as you like
The tasks can be
Event-driven tasks: triggered by a predetermined
simulation time, a logical becoming true
Callable Tasks: called from another task
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
52/79
You need to end statements with a semi colon (;)
Syntax to access a variable within a: Blocks: Blocks(block name).
Ex: Block(C130).Level
Stream: Stream s(block name). Ex: Stram(FEED).FmR
Compile task: Short cut-Function key F8
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
53/79
Tocreateaflowsheet task:
1. Double
click
Add
Task2. Definetaskname
3. Entertaskinsructions
4. Compile
5. Activatetaskifeventdriven
callable taskinactive
error taskactive
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
54/79
Syntax
TASK TaskName (ParameterList)TaskStatement ;
END
CallCALL TaskName (ParameterList)
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
55/79
Syntax
as ame t me
TaskStatement ;
END
time:apostive real
value
representing
asimulation
me
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
56/79
Syntax
TASK TaskName RUNS ONCE WHEN conditionTaskStatement ;
END
TASK TaskName RUNS WHEN condition
TaskStatement ;
END
Condition:
time==value(synonymofRUNSATvalue)
expression1>,=,
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
57/79
Assignment:Tochangethevalueofafixedvariable
Unitsof
measure
can
be
specified
between
braces{}
variable: value {unit};
Ramp:To
increase/decrease
avariable
to
target
va uew nearors nes ape rampo spec e
duration
RAMP (variable: value, finalvalue, duration);
SRAMP (variable: value, finalvalue, duration);
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
58/79
WAITFOR:Suspendstheexecutionofthetaskuntil
conditionismet.Executionwillcontinuefromthe
nextstatement
WAIT FOR condition
numberoftimeunitsrepresentedbyRealExpression.
WAIT duration;
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
59/79
RESTARTAFTER:Endstheexecutionofatask.Thetaskwill
thenrestartafterthenumberoftimeunits representedby
.
statementafterstartcondition.
.
restartwhen
the
condition
is
true.
Execution
will
continue
fromthefirststatementafterstartcondition.
RESTART:Endstheexecutionofatask.Thetaskwillrestart.
Executionwillcontinuefromthefirststatementafterstart
condition.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
60/79
IntroductiontoAspenDynamics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
61/79
Learn about the Aspen Dynamics process
control models
Become familiar with the PIDincr controller
-
Pressure
Temperature
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
62/79
Dynamicslibrarycontrolmodels
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
63/79
ControlSignal
Streamtypetoconnectcontrollertothe
otherobjects
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
64/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
65/79
Toobtaingoodresultsthatcanbetransferredtoa
realcontrolsystem,itisimportantthatyou
accuratelymodeltheloopdynamics
Itisparticularlyimportanttomodellagsanddead
timesinthecontrolloop
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
66/79
Foranysensor,t eresponseo measurementisnotinstantaneous.Itis
morerealistictoincludemeasurementlags.
number time (minutes) type
_____________________________________________________
Temperature Liquid 2 0.5 First order lag
Gas 3 1 First order lagComposition GC 1 3-10 Dead time
_____________________________________________________
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
67/79
Cascade mode
Percent toggles
display b/w process
Manual mode switch
switch
Configuration form
Plot form
Auto mode switchTunin controller
parameters
PIDincrBlockConfiguration:
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
68/79
Tuningand
Ranges
[ ]rang OP
[ ]range PV
=
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
69/79
Direct:
Whenthemeasuredvariableincrease,themanipulated
variableshouldbe increased
Indirect:
Whenthemeasuredvariableincrease,themanipulated
variableshould
be
decreased
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
70/79
se t ecurrentva ueso t emeasure var a esandmanipulatedvariabletoinitializecontroller
ThevaluefortheoperatorSPchangestothevalueofthe
The
value
for
the
OP
changes
to
the
value
of
the
manipulatedvariable
Processvariableandoutputrangeschangedto0to2timesthevalue
xcep on:
orva ve
pos on,
erange
sspec e
o
an
Typically,youusethisonlyonce,whenyoucreate
AutoGeneratedControllers
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
71/79
(FlowDriven
Mode)
Controller When Measured Manipulated
ar a e
Pressure apor o up
ismodeled
ressure n
vessel
aporout et
moleflow
rate
Level Liquidholdup
ismodeled Liquidlevel
Liquidoutlet
massflowrate
AutoGeneratedControllers
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
72/79
(PressureDriven
Mode)
During the export, it checks for valves connected
on liquid and vapor outlets
If a valve block is present, the controller will
manipulated the valve position
Pressure control with vapor outlet
Liquid level with liquid outlet
,
created so that you can select another appropriate
variable to mani ulate in As en D namics
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
73/79
Remark: 1. Generate sustained oscillation in a controlled manner.
2. Ku=4h/a and Pu are readily available.
3. Set the controller using Ziegler-Nichols type of tuning.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
74/79
First order plus dead time model
(FOPDT)
0.5
Ds s
K e e
1 2 1G s
s s= =
+ +
=max(1.7D,0.2 )
2 DK K
+=
I
2
/ 2D
= +
I
?
?
cK
=
=
Worksho :
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
75/79
ControlSystem
of
Heterogeneous
Azeotropic Distillation
SettemperatureController
Set
concentration
Controller Tunecontrollerparameters
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
76/79
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
77/79
http://support.aspentech.com/
, 2006-SteadyStateto
Dynamic.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
78/79
1. Luyben,W.L.;Tyreus,B.D.;Luyben,M.L.Plantwide ProcessControl,McGrawHill,NewYork,1999.
. uy en,
.
. an w e ynam c mu a ors n em caandProcessingandControl,MarcelDekker:NewYork,2002.
. , . .
Simulation,WILEY
Interscience:
New
York,
2006.
8/13/2019 _Consortium of Reaction-Separation Prosess Aspen Dynamics
79/79
T NK