ASPEN DYNAMICS

46
EXAMPLES ASPEN DYNAMICS

description

ASPEN DYNAMICS. EXAMPLES. PRESENTED BY. UBAID UR REHMAN 2008-CHEM-19 ANAM ASIF 2008-CHEM-107. PRESENTATION LAYOUT. INTRODUCTION. This is an example of a batch column simulation and illustrates these features of Aspen Dynamics: - PowerPoint PPT Presentation

Transcript of ASPEN DYNAMICS

EXAMPLES

ASPEN DYNAMICS

2

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

UBAID UR REHMAN2008-CHEM-19

ANAM ASIF2008-CHEM-107

PRESENTED BY

3

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

Introduction to Example

The Aspen Plus Simulation

Setting Up the Dynamic Simulation

Running the Batch Column Example

Initializing the Batch Column Example in Aspen Dynamics

PRESENTATION LAYOUT

4

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

This is an example of a batch column simulation and illustrates these features of Aspen Dynamics:

• Use of scripts to automate initialization of an Aspen Dynamic flow sheet • Use of tasks to start up and operate the batch reactor

INTRODUCTION

5

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

6

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

A mixture of methanol, ethanol and water is to be separated using a batch distillation column. The composition of the charge is 30% ethanol, 30% methanol and 40% water by weight.

The required product purity is 68% ethanol w/w.

STATEMENT

7

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

• Aspen Plus has been used to set up the flow sheet for the batch column, which will be exported to Aspen Dynamics and initialized to be full of nitrogen at 20 C and 1 atmosphere

• The column has been modeled using a RadFrac block.

• Feed streams for the charge and nitrogen have been specified together with vapor and liquid distillate streams and a bottoms stream.

• The column has been specified with 10 stages, a partial vaporliquid condenser and a kettle reboiler.

THE ASPEN PLUS SIMULATION

8

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

• The column dimensions have been specified on the RadFrac Dynamic form together with the sump and reflux drum size and geometry.

• The LMTD heat transfer option has been selected for the condenser and the cooling medium temperature specified as 200C

• The Constant temperature heat transfer option has been selected for the reboiler and the medium temperature has been specified as 120 C.

THE ASPEN PLUS SIMULATION

9

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

USE OF SCRIPT To set up the dynamic simulation

10

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

• A flowsheet level script called Setup and a RadFrac model script called Empty.

• The Flowsheet level script does the following: 1. Adds a reflux ratio controller 2. Sets the feed flow rates to zero 3. Calls the RadFrac Empty script to initialize the column to be full of nitrogen at 20 C and 1 atmosphere. 4. Performs an initialization run. 5. Saves a snapshot

SETTING UP THE DYNAMIC SIMULATION

11

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

To run the BatchColumn example: 1. In Aspen Plus, open BatchColumn.bkp. If you installed Aspen Dynamics in the default location, BatchColumn.bkp is in:

C:\Program Files\AspenTech\Aspen Dynamics 12.1\Examples\BatchColumn.

2. Perform a run. 3. Export it as a flow-driven dynamic simulation file. 4. Exit Aspen Plus.

RUNNING THE BATCH COLUMN EXAMPLE

12

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

13

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

14

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

15

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

16

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

17

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

1. In Aspen Dynamics, open BatchColumn.dynf 2. In the All Items pane of the Simulation Explorer, ensure Flow sheet is selected. In the Contents pane, double-click Add Script. 3. Enter a name for the script, for example, Setup.

INITIALIZING THE BATCH COLUMN EXAMPLE IN ASPEN

DYNAMICS

18

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

19

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

20

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

4. In the text editor window, click the right mouse button and point to Insert, then click File. Insert BatchColumnScript.txt.5. Again click the right mouse button and click Invoke Script. Close the text editor window.

INITIALIZING THE BATCH COLUMN EXAMPLE IN ASPEN DYNAMICS

21

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

22

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

23

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

24

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

25

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

6. Now create a task called BatchOperation. To do this: 7. In the Contents pane of the Simulation Explorer, double-click Add Task. Enter the name BatchOperation. 8. In the text editor window, select all of the existing text with the mouse (or use Ctrl-A). Click the right mouse button and point to Insert, then click File. Insert BatchOperationTask.txt. 9. Again click with the right mouse button and click Compile or press F8. Close the text editor window. 10. In the Contents pane of the Simulation Explorer, double-click the task to activate it. 11. Change the run mode to Dynamic and perform a dynamic run.

INITIALIZING THE BATCH COLUMN EXAMPLE IN ASPEN DYNAMICS

26

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

27

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

28

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

29

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

30

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

31

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

USE 0F TASKTo start up and operate the batch

reactor

32

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

The operating sequence defined by the tasks is: At time = 0.5 hours: 1. Ramp the mass flow rate of the Feed stream to 1000 kg/hr over 0.1 hours. 2. Wait until the cumulative mass flow of stream Feed is >= 1000 kg.

OPERATING SEQUENCE

33

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

34

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

35

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

36

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

3. Step the mass flow rate of the Feed stream to 0 kg/hr. 4. Wait for 3 minutes.

OPERATING SEQUENCE

37

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

38

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

5. Increase the flow of the Nitrogen feed stream to 0.1 kmol/hr. This is needed to maintain the pressure in the column.

OPERATING SEQUENCE

39

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

40

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

6.Ramp the reboiler medium temperature to 80 C over 30 minutes. 7. Wait until the reflux drum level >= 0.3 m.

OPERATING SEQUENCE

41

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

42

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

8. Start the reflux flow. 9. Wait for 3 minutes. 10. Start the product draw. 11. Ramp the reboiler medium temperature to 90 over 30 minutes. 12. Wait until the mass fraction of methanol in the distillate receiver reaches 0.68. 13. Pause the simulation.

OPERATING SEQUENCE

43

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

44

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

14. Use plots and tables to view the results of the simulation during the dynamic run. 15. If you wish to repeat the simulation, rewind to saved snapshot Empty_Initial and then run again.

OPERATING SEQUENCE

45

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T

46

C H E M I C A L E N G I N E E R I N G D E P A R T M E N T, U E T