Professional Documents
Culture Documents
Potential: Introduction To Aspen Dynamics
Potential: Introduction To Aspen Dynamics
Reach Your
True
Potential
Introduction to
TM
Aspen Dynamics
Based on Aspen DynamicsTM 10
February 1999
2018年6月23日星期六
®
Introduction to Aspen Dynamics Slide 1
©1998 AspenTech.
©1998 All rights
AspenTech. reserved.
All rights reserved.
®
Contact Information
• Phone: 888-996-7001 or 617-949-1021
• Email: support@aspentech.com
• Internet: http://www.aspentech.com
- Technical Support Hotline
- Training
(Contact: Pat Sylvia or Faith Norton)
True
Potential
Objective:
ASPEN Aspen
PLUS Dynamics™
Off-the-shelf Models
Properties Plus
Automation
Aspen
Dynamics
Client
Language Language
text text
Communication to servers
Storage
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 12
©1998 AspenTech. All rights reserved.
®
Server Architecture
Communication to client
Data
Procedure DLL’s
Solvers
FEED FLASH
Vapor fraction 0.5
Pressure drop 0.0 atm
LIQ Vertical Vessel
Length 3.0 m
Flowrate 100 Kmol/hr Diameter 2.0 m
Temperature 50 C Constant duty heat transfer
Pressure 2 Bar Initial liquid fillage fraction 0.5
Mass-Fractions:
Water 0.5
Methanol 0.5
Menu
bar
Tool bars
Simulation
Explorer
Status bar
Expand/Collapse
Contents
Contents
Pane
All Items
Pane
Component List
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 34
©1998 AspenTech. All rights reserved.
®
Simulation Explorer Window
• Simulation folder contains:
- Current Snapshots (saved results applicable to
current flowsheet)
• Current snapshots are automatically (optionally)
archived or removed when the flowsheet structure is
modified
- Accept option to save snapshot when prompted
- Results Archive (stored binary format snapshots)
• Snapshot files are stored in sub-directory with problem
name under the working folder and have .snp
extension.
Select snapshot
from archive to
initialize simulation
Select current
snapshot to use
to initialize simulation
VAPFEED
C2PROD
C2OUT
T101
D101
HCFEED E101 FLASHFD
C3PROD
C2IN LIQFEED
2. Complete the information required to simulate the process described, using the data
supplied - see following slides.
3. Additionally perform a tray sizing (TraySizing data sheet) for the de-ethanizer
column.
Feed Streams
HCFEED C2IN
Temperature C: -17 0
Mole fractions:
Methane: 0.003
Propane: 0.032
Ethylene: 0.615
Propylene: 0.205
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 45
©1998 AspenTech. All rights reserved.
®
Workshop: Deethanizer Tower (5)
Flash drum: FLASH2 block with adiabatic flash
Number of stages = 21
Total condenser
Tray sizing calculations: Stages 2 to 20, Tray type = Sieve, Number of passes = 2
True
Potential
Objective:
• Vessel geometry
- Required to calculate material holdup
- Vessels are assumed to be cylindrical
• Vessel initial fillage
- Required to calculate the starting liquid Holdup
• Heat-transfer Method
Length
Length Length
Liquid
Level
Liquid Liquid
Level Level
Horizontal
Length Length Length
Variable Description
[1] Q = UA . LMTD
Variable Description
LMTD Log mean temperature difference
Fmmed Mass flow rate of the heating/cooling medium
Tmed_in Inlet temperature of heating/cooling medium
Tmed_out Outlet temperature of the heating/cooling
medium
Cpmed Specific heat capacity of the heating/cooling
medium
UA Product of the OHTC and the heat transfer
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 63
©1998 AspenTech. All rights reserved.
®
LMTD Option
• Specify values for variables on the dynamic form
Pressure update
box checked
Export
file(from
file menu)
Note:
You can export only simulations with status of:
Results Available
Results with Warnings
2. Add dynamic data (see following data slides) to the steady state problem from
the previous workshop.
3. Include a tray rating (TrayRating data sheet) section to calculate the column
4. Run the steady state simulation
Should there be a difference in results with and without dynamic data as seen in the
Aspen Plus steady state simulations?
E101 Pre-heater
Assume instantaneous (steady state) operation
True
Potential
Objective:
• Tools
- Run Options
- Snapshots
- Results Displays
- Units of Measure
- Variable Find
• Specification Status and Status Bar
Run Mode
Run
Step
Pause
Restart
Rewind
Reset
Run Modes
Interrupt Run
• Use of snapshots
- Initialization
- Restart
- Rewind
Archived
Snapshots
• Select Snapshot
- Automatically selects simulation time
New Plot
New Profile Plot
New Table
Table
button
• Generate Scripts
Symbol Meaning
a) The change in the specified hydrocarbon feed (stream HCFEED) total mass flow rate
(variable FmR from the Manipulate table)
Which variable in stream HCFEED Results table is equivalent to variable FmR in the
Manipulate table?
b) The response of the flash block D101 products (streams VAPFEED and LIQFEED)
flows (variables Fm and Fm from their respective Results tables)
c) The change in the flash block D101 liquid level (variable Level from the Results
table)
Note: The full path for a stream or block variable name is:
STREAMS(”STREAMID").VariableName,
BLOCKS(”BLOCKID").VariableName
4. Use the following steps to create a new profile plot to display the column ethane and
propane liquid phase compositions.
Blocks(“T101”).stages(*)x.(“Ethane”)
Blocks(“T101”).stages(*)x.(“Propane”)
5. From the Run menu, set the simulation to pause at time 0.1 hours
7. When the simulation completes at time 0.1, zoom full on the two time series (not the
profile plot)
11. Open the hydrocarbon feed Manipulate table and increase the hydrocarbon feed
total mass flow rate by 20% from 94,000 to 110,400 kg/hr.
14. When the simulation completes at time 0.25, zoom full on the two time series (not
the profile plot)
Can you reproduce the pictures following? You will need to modify the plot properties
(axis range, axis map, grid interval, etc.)
Tip: For better performance, close any applications (e.g. Aspen Plus, Internet
Browsers, etc.) and windows (tables, plots, etc….) you do not need.
15. Save your problem as an Aspen Dynamics Language (*.dynf) file type
True
Potential
Objective:
Component Type
Note: Use of solids that are salts and appear in electrolyte salt
chemistry is supported. Other types are not supported
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 138
©1998 AspenTech. All rights reserved.
®
Supported Features
• Streams and Stream types
- Stream class CONVEN must be used in Aspen Plus
- Stream models have no dynamic features
Type of Stream Model Name
Material MaterialStream
Heat HeatStream
Work WorkStream
• Flash3
• Decanter
• Sep
• Sep2
• HeatX
DP = K * Rho * Fv_Out 2
Where:
K = Constant determined by fitting to steady-
state conditions
DP = Pressure drop
Rho = Mass density at outlet conditions
Fv_out = Outlet volumetric flow rate
• RYield
• RGibbs
• RCSTR
• RPlug
Feed
Vapor
PC
Product
LC
Liquid
• Model assumes:
- No axial mixing
- No axial heat conduction
• Heat transfer effect between catalyst and process fluid
is modeled
DP = K * Rho * Vel 2
Where:
K = Constant determined by fitting to
steady-state conditions
DP = Pressure drop
Rho = Mass density at outlet conditions
Vel = Fluid Velocity
Heat transfer Voidage fraction There is very fast heat transfer between the
at equal of catalyst catalyst and the process fluid, and they are
temperatures Heat capacity of catalyst assumed to be always at the same temperature
Mass density of catalyst
Heat transfer Voidage fraction This is the most rigorous option. Heat
at different Heat capacity of catalyst transfer between the catalyst and process
temperatures Mass density of catalyst fluid is determined by their temperature
Specific surface area of catalyst differential, contact area, and overall heat
Overall heat transfer coefficient transfer coefficient
RX-IN
FEED DUP
RXCAT
RXCAT-IN
RXCAT
Feed Reactor
Hydrogen = 35 kmol/h
Nitrogen = 15 kmol/h
Catalyst Data
3. Follow the steps below to create a plot to view the profile of one reactors
temperature, carbon monoxide mole fraction and hydrogen mole fraction
along its length
Browser
c) Click on the “Reactor Length” column label to highlight the whole column
g) Go to the Plot menu and select “Display Plot” to bring up the temperature
profile
h) Pull down the “View” field list and select “Molar composition”
the X-axis
l) Go to the Plot menu and select “Y-Axis Variable” to select carbon monoxide
as a profile variable
m) Go to the Plot menu and click on “Add New Curve” to add the carbon
monoxide profile to the existing plot
n) Select “Block RX(RPLUG) Profiles Process Stream” from the Plot Window
List dialogue box and OK to add to the existing plot
o) Repeat the selection process (steps 2.9 - 2.14) for hydrogen to add the
hydrogen composition bed profile to the existing plot
8. Create a single custom profile plot to compare the bed temperature along
the length of both reactors.
12. Continue the simulation and observe and compare the dynamic
responses whilst allowing the reactors to return to steady state.
15. At time 1 hours, step the carbon monoxide feed flow to 12 kmol/h
16. Continue the run and observe and compare the dynamic
What other variables are worth observing for the response to a change
• RadFrac
• Extract
Recirculation_Rate = R * Duty1/3
where :
Constant R is determined from steady state results
• Other Stages
- Pressure difference calculated from pressure drop
flow equation
- Flow rates are related to liquid holdup with
hydraulics equation
Reflux Drum
Reflux Drum
LC
ILC
LC
Liquid 1 Distillate
Liquid 1 Reflux
PC Vapor Distillate
LC
Reflux Drum
LC
Equi-volume
Stages
Liquid 2
volume ratio
default = 0.5
• Valve
• Pipe
• Compr
• MCompr
To Do this
Specify
Performance
Curves
Supported GPSA
calculation method
Fmax
Liquid
Overflow
Rate
(Fl_over)
0
Liquid Volume V_high V_Max
0 Liquid Volume
V_min V_low
VAP
FLASH2
Pressure drop: 0.0 bar
FEED Vapor fraction: 0.5
Vessel type: Vertical
Total flow: 100 kmol/hr Length: 2 m
Temperature: 50 deg C Diameter: 2 m
Pressure: 2 bar
Water flow: 50 kmol/hr
Methanol flow: 50 kmol/hr LIQ
1. Start Aspen Plus and load the file Start-OverfilledVessel.bkp from your
workshop directory
Tip: You must have the dynamic tool button down to access the dynamic data
object under Blocks/Flash2. Expand the Blocks/Flash2 tree view to access
dynamic data forms
6. Start Aspen Dynamics and load the generated dynamic problem file
9. Create a new plot to observe the vessel volume, liquid volume and vapor
volume - modify the plot to have a time axis range of 0 to 1 hour and a
single Y-axis
10. Create a second plot to observe the feed molar flow, vapor stream molar
flow, liquid stream molar flow and the vessel liquid overflow rate - modify
the plot to have a single Y-axis and a time axis range of 0 to 1 hour
12. Use the FacePlate button to switch the pressure controller to manual
mode and set the output of the pressure controller to 0.0
What effect will this have on the flash vapor and liquid flows?
16. Use the FacePlate to switch off the liquid exit line flow in the same
manner as the vapor exit line - change the controller mode to manual and
set the output to 0.0
What is the volume of the liquid in the vessel at the time when the liquid
overflow kicks in ?
What is the value of the liquid level when the vessel “overflows”?
The specified vessel length is 2 meters - why is the liquid level not equal to
this value?
Tip: The specified vessel length does not include the elliptical dished ends
True
Potential
Scripts
INST-IN INST-OUT
RSTOIC
CSTR
FEED CSTR-IN
DUP CSTR-OUT
PFR
PFR-IN
PFR-OUT
Feed Reactor
1. Load the backup file, and add the dynamic data supplied for the
2. Run the simulation in Aspen Plus and compare the steady-state results for
the “different “ reactors.
5. Create a single time series plot to compare each reactor ethyl acetate
product mole fraction. Add the feed component mole flow for ethanol
a) With the RMB, click on the FEED block and select “Find” to access the
Variable Find tool window
b) Tick the “Fixed” specifications box to limit the variable search to variables
specified as Fixed.
d) From the generated table, select all the listed as having Variable type
“flow_mol”.
Tip: Use the “Pause at” option from the run menu
11. At time 0.1 h, invoke the Script and continue the run.
12. Observe and compare the response of the product outlet concentrations
of the different reactor types.
Is this the response you would expect? Can you explain the differences?
What is the effect of the level controller on the CSTR mode reactor?.
14. Use the text editor RMB popup menu “Insert File...” to insert the file
ScriptsMyUOM.txt from your working directory)
15. Invoke the Script MyUOM to create your own Units of Measure (UOM) set
called MyUOM.
17. Under the Tools menu, go to “Units of Measure” and tick MyUOM.
Your_Installation_Drive_Name:/…../AMSystem/Bin directory.
True
Potential
Tasks
create/remove tasks
activate/deactivate tasks
tasks
step to time
task status action
query variable tk1 active wait
tk2 active done
change variable value
...
Simulation Server Task Server
• Take Snapshots
Communication Interval
lev_alarm
time
p_burst
time
pt
15
10
B1.x1
B1.y
5
0 1 2 3 4 5 6 7 8
Time Hours
Task SubTaskA
RAMP(Blocks(“FV101”).CV, 2.5, 3.0);
End
Task SubTaskB
SRAMP(Streams(“FEED”).X(“H2O”),0.5, 2.0;
End
4
3.5
- RESTART WHEN condition;
3
• Example: $y = x - y
2 2.5
B1.y
B1.x
1.5
1
0.5
0 1 2 3 4 5 6 7 8 9 10
Time Hours
RESTART makes the task execution to
jump back to the first line
Task res runs when time == 1
timenext as realparameter;
B1.x : 4;
timenext : time + 2;
wait for time == timenext;
B1.x : 0;
restart when B1.y < 1;
End
level_alarm
time
Active Task
with checkmark
Volume: 5 m3
Temperature: 70 C
REACTOR
Pressure: 1 Atm
ACETIC
ETHANOL ACETATE
Temperature = 70 C
Pressure: 1 Atm
Stream Acetic: 2300 kg/h
Acetic Acid = 2300 Kg/h
Stream Ethanol: 1700 Kg/h
Water = 100 Kg/h
Ethanol = 1600 Kg/h
This file contains the completed sequence of events to simulate the batch
reactor schedule. Furthermore you are provided with the files listed below
The files listed below contains completed tasks called by the main batch
sequence task - these correspond to the first four events in the batch
schedule
Start-Tasks_ShutOffFeed.txt
Start-Tasks_DrainVessel.txt
Start-Task_ShutOffProduct.txt
Start-Tasks_ChargeReactor.txt
1. Open the steady state problem in Aspen Plus and browse through the
input - note that the specified reactor volume is 5 m3
2. Run the steady state problem and browse the results - note the steady
state molar concentration of the ethyl acetate in the product stream
3. Modify the input with the dynamic data provided to set up the batch
What will Aspen Dynamics calculate as the reactor geometric volume? Why
are you not required to specify a vessel diameter?
11. Create a batch sequence main task which runs at time 0.1 hours - use the
Edit/Insert menu to insert the partially completed file Start-
Tasks_Sequence.txt
Tip: Do not compile the main task until all the called tasks have been
successfully compiled
15. Add the remaining 3 tasks (events 13.5 to 13.7 inclusive) to schedule the
last 3 events. Include a Pause statement to use to stop the simulation at
the end of the cycle.
Tip: Tasks which are called must be compiled before the task which does the
calling
11. Activate the batch sequence main task - make sure all subtasks are
compile ok first
What is the volume of the reactor at the end of the charge stage?
How long does it take for the ethyl acetate concentration to reach the
desired value from the the time the charge stops?
What are the concentrations of the reactants and products at the end of the
cycle?
What is the volume of the reactor at the end of the product discharge step?
How and where can the batch cycle time be reduced?
True
Potential
Objective:
Pump C3PRODP
Pressure 1 (bar)
Column T101
Feed Stream Feed Stage
VAPFEED 17
LIQFEED 13
To correct this problem, edit the flash block to enter a pressure drop of 0.0. The
the inlet stream FLASHFD pressure thus becomes equal to the flash block D101
operating pressure. This allows the flash block feed flowrate to vary with the inlet
pressure and the flash operating pressure - a pressure driven flow! - in the
dynamic simulation.
8. When the run completes with status Results Available, use the Pressure
Checker to confirm that the simulation is indeed pressure-driven. You
should get the following message
12. Reconnect the output of controller LC5 (controls the reboiler liquid sump
level) to manipulate the product pump power
13. Use the controller LC5 configure form to initialize the controller variables -
the operator set point should be 2.2, the bias should be 2.9588 and the
gain and integral time will remain at 10.0 and 6000 respectively
15. Open the product stream C2PROD and C3PROD predefined TPF plots
and set the time axis range to 0.5 hours
16. Set the simulation to pause at time 0.1 hours and run the simulation in
dynamic mode
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 278
©1998 AspenTech. All rights reserved.
®
Workshop: Pressure Driven Simulation (9)
17. At time 0.1, set the simulation to pause again at time 0.5 hours
18. Create a new plot to observe both the HCFEEDV valve position and the
hydrocarbon feed stream mass flowrate. Set the time axis range to 0.5
hours
19. From the valve HCFEEDV manipulate table, change the HCFEEDV valve
position to 50% and observe the open plots
Can you reproduce the following plots for the predefined product and feed
streams?
What is the effect of increasing the hydrocarbon feed flow to the deethanizer?
True
Potential
Process Control
Objective:
• Configure
• Faceplate
- Set point
- Process variable
- Controller output
• Plot
- Set point
- Process variable
- Controller output
• Results
2018年6月23日星期六 Introduction to Aspen Dynamics Slide 290
©1998 AspenTech. All rights reserved.
®
PID Controller FacePlate
Cascade
Manual mode Configure
mode switch form
switch
Auto Plot
mode
form
switch
Import Existing
Control Scheme
2. Run the problem in Dynamic mode for 0.5 hours to make sure that the
column is operating in steady state (effectively)
7. Use a ControlSignal from the Stream Types folder in the Dynamics library
to connect the input of the dead-time block to stage 18 of the column.
Why is stage 18 suitable for measuring/controlling the column
temperature - how can this be verified?
8. From the ControlModels folder in the Dynamics library, drag and drop a
PID model unto the flowsheet. The PID block models the temperature
controller.
9. Connect the PV (InputSignal) of your new PID controller block to the output
signal of the dead-time block using the ControlSignal stream type.
11. Go to the Tools menu and bring up the Use dialogue box. Use the
previously saved snapshot to initialize the new flowsheet by selecting the
snapshot and then clicking the Copy button.
12. Open the PID controller configure form and use the Initialize Values
button to initialize the controller (set point = 1.0, bias = 267085 Kg/h).
13. Specify an operator set-point of 27 C (the starting operator set point of 1.0
is taken directly from the default value of the dead-time block output).
14. As a starting estimate, for the tuning, specify a gain of 1 %/% and an
integral time of 20 minutes
Tip: The steps described below will require the use of the Ziegler-Nichols
(i.e. Z-N) controller tuning technique. Please read the online help on Z-N
controller tuning before attempting the following.
a) Change the run mode to dynamic and run the simulation to “steady state”
(effectively).
Note: For this system a gain of 50%/% is near the “ultimate gain”. Depending
on the initial estimate of the gain, the controller response may be over-
damped, under-damped or even unstable. In that situation you would need
to pause the simulation, enter a new estimate of the gain, rewind the
simulation and repeat steps a) to e) above.
For this system the “ultimate period” is about 0.01 hours. From the Z-N
correlation, the required controller gain is about 22 .5 and the required
integral time is about 50 minutes.
What is the value of the default controller gain and integral action ?
Are the controller output default minimum and maximum values reasonable ?
ethanizer tower.
controller.
tuned first?
above is implemented?