一步一步教你学习ASPEN Dynamics系列1(马后炮首发)
Example: Flash Demo Example
培训案例PPT 见6楼
1.
Load the file Start-FlashExample.bkp – Simulation is ** water-methanol flash, with feed of
100 Kmol/hr
(50 Kmol/hr
water and 50 Kmol/hr methanol) at 2 bar and 50 deg C.
Flash block is specified for a vapor fraction
= 0.5, and zero pressure drop.2.
Run the problem in Aspen Plus and view the flash results very quickly3.
View menu//**s, to bring up the **s dialogue box4.
Check the Dynamic box to display the Dynamic **5.
OK 6.
Click the Dynamic button
to allow dynamic data input7.
In the Data Browser, under Blocks/Flash, click on the Dynamic to access the dynamic data forms8.
Enter the data required for the Vessel tab form , Heat Transfer tab form and the Initial condition tabs form – note that this is optional data for a flash block – default is instantaneous, hence no dynamic data is actually required but flash operation will in fact be instantaneous (or steady state)9.
Click the Next button to run the problem 10.
View the Flash block results to show that no extra (dynamic) results are available in Aspen Plus11.
File menu/Export to export the Aspen Dynamics file12.
Select Save as type “Flow Driven Simulation” to export the Answer-FlashExample dynf and .appdf files to the workshop directory 13.
File/Save as to save the backup file (good practise) Answer-FlashExample.bkp
in the workshop directory 14.
Exit Aspen Plus –there is actually no need to exit Aspen Plus, however, having windows open is resource limiting and can cause unnecessary crashes in other (Aspen dynamics) programs15.
Start Aspen Dynamics by double-clicking on the Aspen dynamics icon or RMB/Open on the icon.16.
Describe the 3 main windows (Process Flowsheet, Simulation Explorer, Simulation Messages),
the
Menu bar, Tools bar and buttons and the Status bar.17.
Open button to open the example problem from the Workshop directory18.
View the messages in the Messages window messages19.
Double-click the Specification status button (inform should always be green for vanilla file, else bug!) to show the Status window. 20.
Close the Status window21.
Explain the individual items in the Simulation Explorer under Simulation (Dynamics library, Flowsheet, Component Lists , Results Archive, Current Snapshots, Solver Options, Globals table)22.
Go to Tools/Snapshots to bring up the Snapshot management form. 23.
Explain “Initial Specification” snapshot loaded with problem24.
Go to Tools/Use to bring up the Use “Current Snapshots” dialogue form25.
Explain “Use” of snapshots26.
Make sure the Flowsheet window is highlighted, then Go to the “Window” on the Menu bar and set the “Flowsheet as Wall**” 27.
Double-click on the
VAP stream
to bring up the Results form 28.
Explain default forms and pre-defined forms29.
Use the New Plot button to bring up an empty generic plot.30.
Specify a name
for the plot object31.
Drag and drop the VAP stream methanol mole fraction (variable Zn on the VAP stream Results table) unto the plot32.
Highlight the FEED Stream and use RMB on Forms/Manipulate
to bring up the Manipulate table33.
Drag and drop the FEED stream temperature
(variable T on the FEED stream Manipulate
table) unto the
plot.34.
Use RMB/Edit to set the time axis range as
0 to 1.0 Hours35.
Use RMB to set
the Y-axis to a range 0.60 to 0.736.
Go to the Run menu and use the Pause At
from the Run menu
to pause the simulation at 0.1 hours37.
Use the Run button to run the simulation to 0.1 hours38.
When the simulation pauses, introduce a
FEED stream temperature change (its winter in Boston!) by changing the value of the temperature variable T to 10 deg C in
the Manipulate table39.
Set the simulation to pause at time 1.0 hours40.
Run the simulation to time 1.0 and observe the plot41.
Switch off auto-naming of blocks from the Tools/Settings/Auto-name tab by ** sure the box is not checked42.
Go to the
Simulation Explorer, under the Dynamics library, ControlModels folder,43.
Drag and drop a PID model unto the flowsheet44.
Confirm YES to save the current Snapshots to file – rename the snapshot as FlashExample45.
Enter block ID as TC146.
From the Simulation Explorer double-click the archived snapshot (FlashDemo) to show its contents47.
Explain precisely where archived snapshots are stored
48.
From the Dynamics/Streams folder select a ControlSignal stream type and drag unto the flowsheet 49.
Connect the controller input signal (variable TC1.PV) to the VAP stream temperature, (variable T) 50.
Connect the controller output signal (variable .PV) to the FLASH block duty (variable QR)51.
From the menu bar, select
Tools/Snapshots pull up the Snapshot dialogue box and further explain the concept of Current snapshots (there should be none!) and archived snapshots52.
From the menu bar, select Tools/Use to bring up the Use form53.
Click on the “Select Results” button to show how to access and “USE” archived snapshots by selecting the FlashDemo snapshots54.
Select Dynamic Initialization55.
Click on
Fixed in the Copy to box to overwrite the existing fixed variables56.
Click on Copy to initialize the modified flowsheet with the converged results57.
Bring up the controller TC1 Configure form58.
Click on Initialize Values to initialize the controller variables59.
Specify a gain of 10 %/% and an Integral time of 10 minutes60.
Change the controller action to be Reverse61.
Set the simulation to pause at 10 hours62.
Run the problem whilst viewing the plots63.
File menu/Save as 64.
Select Save as file type and select dynf file type 65.
Enter a name AnswerFinal-FlashExample66.
Click on Save67.
File/Exit to exit the Aspen Dynamics application 请大家积极评分。
我会有一系列的后续案例 有空要好好试试。 最好弄个视屏,这个看得费劲,不过还是要感谢楼主的辛苦工作和付出! 不错的资料,辛苦了 看看了,学习中! 有中文的吗,还是中文比较熟 很及时呀,非常感谢 个、非常感感谢谢
再上个培训教程先。 Workshop: Deethanizer 1.
Click the Aspen Plus User Inte**ce icon on the desktop to open Aspen Plus2.
Click the Open button on the tools bar 3.
Navigate to your Workshop directory4.
Select the Start-Deethanizer.bkp file 5.
Click stream HCFEED to highlight the stream6.
Right Mouse Button (RMB) to select Input Data Browser7.
Enter a temperature of –17.0 degrees C8.
Enter a pressure of 21.0 Bar 9.
Change the Total flow mode to Mass10.
Enter a total flow of
92,000 Kg/hr11.
Change the composition mode to Mole-Frac12.
Enter the following data for the component mole-fractions Component
Value
Methane:
0.003
Ethane:
0.145
Propane:
0.032
Ethylene:
0.615
Propylene:
0.205 13.
Use the Next button to proceed to the Stream C2IN Data Browser14.
Enter a temperature of 0.0 degrees C15.
Enter a pressure of 25.0 Bar 16.
Change the total flow mode to Mass17.
Enter a total flow of
150,000 Kg/hr18.
Change the composition mode to Mole-Frac19.
Enter the following data for the component mole-fractions Component
Value
Methane:
Ethane:
1.0
Propane:
Ethylene:
Propylene:
20.
Use the Next button to proceed to the Block D101 Data Browser21.
Change the Flash specifications to be Heat duty and Pressure 22.
Enter a heat duty of 0.0 MMkcal/hr23.
Enter a pressure (drop) of –0.1 bar24.
Use the Next button to proceed to the Block E101 (HEATX) Data Browser25.
Enter a cold stream outlet temperature value of –12.8 degrees C 26.
Click on the Pressure Drop tab 27.
For the Hot side, specify a pressure drop of –0.2 bar28.
Change the Side to Cold side using the drop-down list arrow button29.
Specify the cold side pressure drop of –0.2 bar30.
Use the Next button to move to the Block T101 RADFRAC Data Browser31.
Enter the number of stages as 2132.
Change the Operating specifications distillate rate units to be in Mass 33.
Specify a distillate mass flowrate of 62,541 kg/hr34.
Specify a molar reflux ratio of 0.635.
Click on the Stream tab36.
Enter stage 3 as the LIQFEED stream feed stage37.
Enter stage 17 as the VAPFEED stream feed stage38.
Click on the Pressure tab39.
Specify the Stage 1/condenser pressure as 20 bar40.
Specify stage 2 pressure as 20.141.
Specify the (pressure drop per) stage pressure drop as 0.01 bar42.
Go to the tree view Data Browser and expand Blocks/T10143.
Click on TraySizing to bring up the TraySizing forms44.
Click New to create a new tray sizing section object45.
Click Ok to accept the default section ID 46.
Specify the stating stage as 2 and the ending stage as 2047.
Change the Tray Type to Sieve48.
Enter 2 for the number of passes49.
Click on Next to run the simulation50.
Once the run has completed, and the status becomes Results Available, go to the flowsheet and click on the radfrac block T10151.
RMB/Results simulation to view the key radfrac results 52.
Click on Blocks/T101/TraySizing in the Data Browser to view the TraySizing results 53.
File/Save 54.
Select file type ASPEN PLUS Backup Files (*.bkp) to save the problem as a backup file 感谢楼主的分享 继续。接上面例子
Workshop: Adding Dynamic Data
1. From the workshop directory, select the file AddDynData-Start.bkp
2. Use the Right Mouse Button (RMB) to open the file in Aspen Plus
3. Click Dynamic button to be able to access the dynamic data forms
4. Select Flash block D101
5. RMB/Input to openthe Block D101 (FLASH2) Data Browser
6. Click on Dynamic in the tree Data Browserview to access the dynamic forms
7. Change the Vessel type to Vertical on Vessel tab
8. Enter a vessel length of 3 meters
9. Enter a vesseldiameter of 2 meters
10. Use the Next button to bring up the Block T101 (RADFRAC) Dynamic Data Browser form
11. On the Reflux Drum tab form, specify a horizontal Vessel type
12. Specify a drum length of 5 meters
13. Specify a drum diameter of2 meters
14. Click on the Condenser tab
15. Change the Heat transfer option to constant temperature
16. Enter a Medium temperature of -45 degrees C
17. Click on the Reboiler tab
18. Change the Heat transfer option to LMTD
19. Enter a Medium temperature of 80 degrees C
20. Enter a Temperature approach of 5 degrees C
21. Click on the Sump tab
22. Enter a Sump height of 3 m
23. Enter a Sump diameter of 2.8 meters
24. Click on the Hydraulics tab
25. Enter Rigorous as the Hydraulics option
26. Click TrayRating in the tree view of the Data Browser to bring up the Block T101 (RADFRAC) TrayRating Data Browser form
27. Click New to create a new tray rating object
28. Ok to accept the default section name
29. On the Specs tab, enter 2 as the Starting stage.
30. Enter 20 as the Ending stage
31. Enter a Sieve as the Tray type
32. Enter 2 as the Number of passes
33. Enter 2.8 meters as the column diameter
34. Click on the Design/Pdrop tab
35. Tick the Update section pressure profile box in the Pressure drop section
36. Click Next to run the simulation
37. File/Export to export the simulation
38. Navigate to the workshop directory
39. Select “Flow Driven Dyn Simulation” as the Save as file type
40. Save the file
41. File/Save as to save a backup copy
42. Select ASPEN PLUS Backup files (*.bkp) as the Save as type.
43. Save the file
44. File/Exit to close Aspen Plus 继续。接上面例子
Workshop: Adding Dynamic Data
1. From the workshop directory, select the file AddDynData-Start.bkp
2. Use the Right Mouse Button (RMB) to open the file in Aspen Plus
3. Click Dynamic button to be able to access the dynamic data forms
4. Select Flash block D101
5. RMB/Input to openthe Block D101 (FLASH2) Data Browser
6. Click on Dynamic in the tree Data Browserview to access the dynamic forms
7. Change the Vessel type to Vertical on Vessel tab
8. Enter a vessel length of 3 meters
9. Enter a vesseldiameter of 2 meters
10. Use the Next button to bring up the Block T101 (RADFRAC) Dynamic Data Browser form
11. On the Reflux Drum tab form, specify a horizontal Vessel type
12. Specify a drum length of 5 meters
13. Specify a drum diameter of2 meters
14. Click on the Condenser tab
15. Change the Heat transfer option to constant temperature
16. Enter a Medium temperature of -45 degrees C
17. Click on the Reboiler tab
18. Change the Heat transfer option to LMTD
19. Enter a Medium temperature of 80 degrees C
20. Enter a Temperature approach of 5 degrees C
21. Click on the Sump tab
22. Enter a Sump height of 3 m
23. Enter a Sump diameter of 2.8 meters
24. Click on the Hydraulics tab
25. Enter Rigorous as the Hydraulics option
26. Click TrayRating in the tree view of the Data Browser to bring up the Block T101 (RADFRAC) TrayRating Data Browser form
27. Click New to create a new tray rating object
28. Ok to accept the default section name
29. On the Specs tab, enter 2 as the Starting stage.
30. Enter 20 as the Ending stage
31. Enter a Sieve as the Tray type
32. Enter 2 as the Number of passes
33. Enter 2.8 meters as the column diameter
34. Click on the Design/Pdrop tab
35. Tick the Update section pressure profile box in the Pressure drop section
36. Click Next to run the simulation
37. File/Export to export the simulation
38. Navigate to the workshop directory
39. Select “Flow Driven Dyn Simulation” as the Save as file type
40. Save the file
41. File/Save as to save a backup copy
42. Select ASPEN PLUS Backup files (*.bkp) as the Save as type.
43. Save the file
44. File/Exit to close Aspen Plus
Workshop: Running the Dynamic Simulation
1. From the workshop directory, select the file RunDynSim-Start.bkp
2. Use the Right Mouse Button (RMB) to open the file in Aspen Dynamics
3. Use the Windows menu to set the Flowsheet as Wall**
4. Tools menu/New Plot… to create a new empty plot
5. Select the HCFEED stream
6. RMBForms/Manipulate to open the Manipulate form
7. Highlight the variable FmR on the Manipulate table and then drag and drop unto the new plot
8. Select the stream VAPFEED
9. Double-click to open the Results form (default action)
10. Highlight the variable Fm on the Results table and then drag and drop unto the new plot
11. Select the LIQFEED stream
12. Double-click to open the Results table
13. Highlight the variable Fm on the Results table and then drag and drop unto the new plot
14. Select block D101
15. Double-click to open the Results form
16. Highlight the variable Levelon the Results table and then drag and drop unto the new plot
17. Open the controller block LC1 (flash block D101 level controller) FacePlate by double clicking on the LC1 icon
18. Click the LC1 FacePlate Plot button to open the associated ResultsPlot form.
19. Create a new profile plot to display the column ethane and propane liquid phase compositions
20. Tools menu/New Profile Plot
21. Enter the flowsheet plot name C2_C3_Split to create an empty profile plot
22. On anyspace in the empty plot, RMB to bring up the plot pop-up menu
23. Select Profile Variables to bring up the Profile Editor
24. For Profile 1, enter Ethane in the Profile Name field
25. Click on the Addbutton under the Y-Axis Variables section
26. Enter the variable name for the first profile:
Blocks(“T101”).stages(*)x.(“Ethane”)
The profile editor should look like the picture below
27. Step the Profile value to 2 by clickin the ‘UP’ arrow
28. For Profile 1, enter Propane in the Profile Name field
29. Click on the Addbutton under the Y-Axis Variables section
30. Enter the variable name for the second profile:
Blocks(“T101”).stages(*)x.(“Propane”)
31. Ok to accept the changes in the Profile Editor.
32. Run menu/Pause at
33. Specify a pause time of 0.1 hours
34. Run the simulation in dynamic mode to time 0.1 hours
35. When the simulation completes at time 0.1, place the cursor on the plot and RMB/Zoom full on the time series
36. Repeat the zoom full for the controller time series plot
37. Use the RMB pop-up menu to bring up the Profile Editor again.
38. Under the Time Settings section, click on the Specify Times radio button
Add a time of 0.25
39. Open the hydrocarbon feed Manipulate table
40. Enter a value 110,400 (kg/hr.) for the variable FmR
41. Run menu/Pause to set the simulation to pause at time 0.25 hours
42. Run the simulation to completion
43. When the simulation completes at time 0.25, zoom full on the two time series (not the profile plot)
44. Modify the plot properties axis range, axis map, grid interval,
45. File menu /Save as to
46. Select Save as type Aspen Dynamics Language (*.dynf) file type
47. Click on Save to save the file
48. File/Exit to quit Aspen Dynamics
Variable Fm is the variable in stream HCFEED Results table that is equivalent to
variable FmR in the Manipulate table
The flash drum level controller seems reasonably tuned, however it does not
return to its set-point because it is a proportional-only controller Workshop: Running the Dynamic Simulation 1.
From the workshop directory, select the file RunDynSim-Start.bkp2.
Use the Right Mouse Button (RMB) to open the file in Aspen Dynamics3.
Use the Windows menu to set the Flowsheet as Wall**4.
Tools menu/New Plot… to create a new empty plot5.
Select the HCFEED stream6.
RMB
Forms/Manipulate to open the Manipulate form7.
Highlight the variable FmR on the Manipulate table and then drag and drop unto the new plot8.
Select the stream VAPFEED9.
Double-click to open the Results form (default action)10.
Highlight the variable Fm on the Results table and then drag and drop unto the new plot11.
Select the LIQFEED stream12.
Double-click to open the Results table13.
Highlight the variable Fm on the Results table and then drag and drop unto the new plot 14.
Select block D10115.
Double-click to open the Results form16.
Highlight the variable Level
on the Results table and then drag and drop unto the new plot17.
Open the controller block LC1 (flash block D101 level controller) FacePlate by double clicking on the LC1 icon18.
Click the LC1 FacePlate Plot button to open the associated ResultsPlot form. 19.
Create a new profile plot to display the column ethane and propane liquid phase compositions20.
Tools menu/New Profile Plot21.
Enter the flowsheet plot name C2_C3_Split to create an empty profile plot22.
On any
space in the empty plot, RMB to bring up the plot pop-up menu23.
Select Profile Variables to bring up the Profile Editor24.
For Profile 1, enter Ethane in the Profile Name field25.
Click on the Add
button under the Y-Axis Variables section26.
Enter the variable name for the first profile:
Blocks(“T101”).stages(*)x.(“Ethane”) The profile editor should look like the picture below 27.
Step the Profile value to 2 by clickin the ‘UP’ arrow28.
For Profile 1, enter Propane in the Profile Name field29.
Click on the Add
button under the Y-Axis Variables section30.
Enter the variable name for the second profile:
Blocks(“T101”).stages(*)x.(“Propane”) 31.
Ok to accept the changes in the Profile Editor.32.
Run menu/Pause at
33.
Specify a pause time of 0.1 hours34.
Run the simulation in dynamic mode to time 0.1 hours35.
When the simulation completes at time 0.1, place the cursor on the plot and RMB/Zoom full on the time series 36.
Repeat the zoom full for the controller time series plot37.
Use the RMB pop-up menu to bring up the Profile Editor again. 38.
Under the Time Settings section, click on the Specify Times radio buttonAdd a time of 0.2539.
Open the hydrocarbon feed Manipulate table40.
Enter a value 110,400 (kg/hr.) for the variable FmR 41.
Run menu/Pause to set the simulation to pause at time 0.25 hours42.
Run the simulation to completion43.
When the simulation completes at time 0.25, zoom full on the two time series (not the profile plot)44.
Modify the plot properties axis range, axis map, grid interval,45.
File menu /Save as to 46.
Select Save as type Aspen Dynamics Language (*.dynf) file type47.
Click on Save to save the file48.
File/Exit to quit Aspen Dynamics Variable Fm is the variable in stream HCFEED Results table that is equivalent to variable FmR in the Manipulate table The flash drum level controller seems reasonably tuned, however it does not return to its set-point because it is a proportional-only controller 咋怎么这么多呢。 楼主辛苦了啊 非常好的资料,认真学习! 感谢楼主~分享 ding dingding