20
Getting Started in Steady State 1 1 Getting Started in Steady State © 2004 Aspen Technology. - All Rights Reserved.

01_GettingStartedInSteadyState

  • Upload
    taeeb

  • View
    215

  • Download
    0

Embed Size (px)

DESCRIPTION

hysys

Citation preview

Page 1: 01_GettingStartedInSteadyState

Getting Started in Steady State 1

1

Getting Started in Steady State

© 2004 Aspen Technology. - All Rights Reserved.

Ahmed Deyab
Typewritten Text
Ahmed Deyab
Typewritten Text
Ahmed Deyab
Typewritten Text
Ahmed Deyab
Text Box
Instructor: Eng. Ahmed Deyab Fares Mobile: 0127549943
Page 2: 01_GettingStartedInSteadyState

2 Getting Started in Steady State

2

WorkshopThe Getting Started in Steady State module introduces you to some of the basic concepts necessary for creating simulations in HYSYS. Some of the things you will learn from this module are:

• Methods for moving through different environments• Selecting property packages and components• Gaining familiarity with the new property views of HYSYS

Dynamics• Adding streams• Adding operations

You will use HYSYS to define streams and unit operations to develop a Flowsheet for a DePropanizer column feed train.

Learning ObjectivesOnce you have completed this section, you will be able to:

• Define a Fluid Package (Property Package, Components)• Add Streams• Add Operations• Process Overview

Eng. A

hmed

Dey

ab Fa

res

Page 3: 01_GettingStartedInSteadyState

Proce

ss Ov

erview

Page 4: 01_GettingStartedInSteadyState

4 Getting Started in Steady State

4

Building a Steady State Simulation

The Simulation Basis ManagerHYSYS uses the concept of the Fluid Package to contain all necessary information for performing flash and physical property calculations. This approach allows you to define all information (property package, components, hypothetical components, interaction parameters, reactions, tabular data etc.) inside a single entity. There are three key advantages to this approach:

• All associated information is defined in a single location, allowing for easy creation and modification of the information.

• Fluid Packages can be stored as completely defined entities for use in any simulation.

• Component lists can be stored out separately from the Fluid Packages as completely defined entities for use in any simulation.

• Multiple Fluid Packages can be used in the same simulation. However, they are all defined inside the common Basis Manager.

The Simulation Basis Manager is a property view that allows you to create and manipulate multiple Fluid Packages or Component Lists in the simulation. The opening tab of the Simulation Basis Manager allows for the creation of Component Lists which are independent of but can be associated with the individual Fluid Packages in the case.

Eng. A

hmed

Dey

ab Fa

res

Page 5: 01_GettingStartedInSteadyState

Getting Started in Steady State 5

5

The first tab of the Basis Manager allows you to manage the Component List(s) used in your case. There are a number of buttons available:

• View. Allows you to access the property view for the selected Component List.

• Add. Allows you to create and a Component List. Note: Component Lists can also be added via the Fluid Package property view.

• Delete. Removes the selected Component List from the simulation.

• Copy. Makes a copy of the selected Component List. • Import. Allows you to import a pre-defined Component List from

disk. Component Lists have the file extension .cml.• Export. Allows you to export the selected Component List to disk.

The exported Component List can be retrieved into another case, by using the Import function.

• Refresh. Allows you to reload and update all the pure component property data from the database. If you have a case created with an older version of HYSYS, you can update the pure component database to the latest version by using the Refresh function.

Figure 1

Page 6: 01_GettingStartedInSteadyState

6 Getting Started in Steady State

6

The Fluid Pkgs tab allows you access to the Fluid Packages/Flowsheet associations list as well as the Fluid Package definition. As with older versions, HYSYS allows the user to use multiple fluid packages within a single simulation by associating the fluid packages with various Flowsheets and linking the Flowsheets together. However, beginning with HYSYS version 3.0 the user no longer requires the use of flowsheets to employ multiple fluid packages within a single simulation. The user can now utilize the Stream Cutter operation to incorporate multiple Fluid Packages into a single flowsheet.

• View. This is only active when a Fluid Package exists in the case. It allows you to view the property view for the selected Fluid Package.

• Add. Allows you to create and install a Fluid Package into the simulation.

• Delete. Removes the selected Fluid Package from the simulation.• Copy. Makes a copy of the selected Fluid Package. Everything is

identical in the copied version, except the name. This is useful for modifying fluid packages.

• Import. Allows you to import a pre-defined Fluid Package from disk. Fluid Packages have the file extension .fpk.

• Export. Allows you to export the selected Fluid Package to a disk. The exported Fluid Package can be retrieved into another case, by using the Import function.

You can use the CTRL B hot key to re-enter the Simulation Basis Manager from any point in the simulation or choose the Basis Environment icon from the toolbar. (When in the Simulation Basis Manager, this is the Home View button).

Figure 2

Basis Environment iconEng. A

hmed

Dey

ab Fa

res

Page 7: 01_GettingStartedInSteadyState

Getting Started in Steady State 7

7

Defining the Simulation Basis1. Start a new case by selecting the New Case icon.

2. Go to the Fluid Pkgs tab and create a fluid package by selecting the Add button.

3. Choose the Peng-Robinson Equation of State model.

4. Change the name from the default Basis-1 to DePropanizer.

5. Select the View button in the Component List Selection section of the Set Up tab. This will allow you to add components to the Component List that is now associated with the DePropanizer Fluid package.

You can select components for your simulation using several different methods.

Figure 3

New Case icon

Page 8: 01_GettingStartedInSteadyState

8 Getting Started in Steady State

8

6. Select the library components Ethane, Propane, I-Butane, n-Butane, I-Pentane, n-Pentane, and n-Hexane.

Object Description

Match Cell 1. Select one of the three name formats, SimName, Full Name/Synonym, or Formula by selecting the corresponding radio button.

2. Click on the Match cell and enter the name of the component. As you start to type, the list will change to match what you have entered.

3. Once the desired component is highlighted Either:

• Press the ENTER key• Click the Add Pure button• Double-click on the component to add it to your simulation.

Component List 1. Using the scroll bar for the main component list, scroll through the list until you find the desired component.

2. To add the component either:

• Press the ENTER key• Click the Add Pure button.• Double-click on the component to add it to your simulation.

Filters 1. Ensure the Match cell is empty, and click the View Filters button.

2. Select the Use Filter check box to display the various family filters.

3. Select the desired family (i.e. Hydrocarbons) from the list of Family Filters to display only that type of component.

4. Use either of the two previous methods to then select the desired component.

You can add a range of components by highlighting the entire range and clicking the Add Pure button.

Eng. A

hmed

Dey

ab Fa

res

Page 9: 01_GettingStartedInSteadyState

Getting Started in Steady State 9

9

7. Close the Component List View.

8. Close the Fluid Package view.

You have now completed the installation of a fluid package and may begin building the simulation. Click the Enter Simulation Environment icon.

Figure 4

Page 10: 01_GettingStartedInSteadyState

10 Getting Started in Steady State

10

Selecting a Unit SetIn HYSYS, it is possible to change the unit set used to display the different variables.

1. From the Tools menu, choose Preferences.

2. Switch to the Variables tab.

3. Select the desired unit set. Both Field and SI units will be given in this module, so choose the unit set that you are most comfortable with.

4. Close the Session Preferences view.

Figure 5

Eng. A

hmed

Dey

ab Fa

res

Page 11: 01_GettingStartedInSteadyState

Getting Started in Steady State 11

11

Changing Units for a SpecificationTo change the units for a specification, simply type the numerical value of the specification and press the space bar to switch to the inline unit drop-down menu. Choose the units for the value you are providing. HYSYS will convert the units back to the default units.

Adding StreamsIn HYSYS, there are two types of streams, Material and Energy. Material streams have a composition and parameters such as temperature, pressure and flowrate. They are used to represent Process Streams. Energy streams have only one parameter, a Heat Flow. They represent heating and cooling duties in a plant as well as power to drive pumps and compressors.

Figure 6

Page 12: 01_GettingStartedInSteadyState

12 Getting Started in Steady State

12

There are a variety of ways to add streams in HYSYS.

In this exercise, you will add numerous streams.

Entering Stream CompositionsThere are two different methods to enter stream compositions.

To use this... Do this...

Menu Bar Select Add Stream from the Flowsheet menu.

or

Press the F11 Hot Key.

The Stream property view will open.

Workbook Open the Workbook and go to the Material Streams tab. Type a stream name into the **New** cell.

Object Palette Select Object Palette from the Flowsheet menu.

or

Press F4 to open the Object Palette. Double-click on the stream icon.

To use this... Do this...

Condition page • Double-click on the Molar Flow cell to enter mole fractions.or

• Double-click on the Mass Flow cell to enter mass fractions.

or• Double-click on the LiqVol Flow cell to enter volume fractions.

The Input Composition for Stream dialog is shown.

Composition page Click the Edit button. The Input Composition for Stream dialog is shown.

Eng. A

hmed

Dey

ab Fa

res

Page 13: 01_GettingStartedInSteadyState

Getting Started in Steady State 13

13

Adding a Stream from the Menu Bar/Hot KeyThis procedure describes how to add a stream using the F11 hot key. (You should be in the Simulation Environment). Note that you are in Steady State mode.

1. Press the F11 hot key. The stream property view is displayed:

2. Add a stream with the following information and compositions:

Figure 7

In this cell... Enter...

Worksheet

Name NGL Feed

Temperature 15°C (60°F)

Pressure 380 kPa (55 psia)

Std Ideal Liq Vol Flow 200 m3/hr (30,000 bbl/d)

Composition (Mole Fraction)

Ethane 0.01

Propane 0.43

i-Butane 0.07

n-Butane 0.12

i-Pentane 0.05

n-Pentane 0.04

n-Hexane 0.28

Steady State mode

Dynamic mode

To edit a cell or to change the value specified within a cell, you will need to press the F2 function key. HYSYS now supports in-line editing.

HYSYS automatically normalizes the compositions once your click the OK button. Ensure that you have entered the right composition values before clicking the OK button.

Page 14: 01_GettingStartedInSteadyState

14 Getting Started in Steady State

14

3. Close the Stream Property view.

Adding a Stream from the Object Palette1. If the Object Palette is not open on the Desktop, press the F4 hot key

to open it.

2. Double-click on the Material Stream icon, (the blue arrow on the Object Palette). The Stream property view displays.

3. Change the name of the stream to Shell-Out and supply the following information and compositions:

4. Close the Stream Property view.

Saving Your CaseYou can use one of several different methods to save a case in HYSYS:

• From the File menu select Save to save your case with the same name.

• From the File menu select Save As to save your case in a different location or with a different name.

• Click the Save icon on the toolbar to save your case with the same name.

Save your case as: Feed Stream.hsc.

In this cell... Enter...

Worksheet

Name Shell-Out

Temperature 155°C (310°F)

Pressure 1100 kPa (160 psia)

Std Ideal Liq Vol Flow 55 m3/hr (8300 bbl/d)

Composition (Mole Fraction)

Ethane 0

Propane 0

i-Butane 0

n-Butane 0.03

i-Pentane 0.11

n-Pentane 0.11

n-Hexane 0.75

Object Palette

Eng. A

hmed

Dey

ab Fa

res

Page 15: 01_GettingStartedInSteadyState

Getting Started in Steady State 15

15

Adding OperationsAs with streams, there are various ways to install Unit Operations in HYSYS. Some of these methods immediately open the operation's Property View and some do not.

The initial Flowsheet for the DePropanizer Column feed train process will be built in Steady State mode. Generally, all of the necessary information required to specify the unit operations for process design purposes is on the Design-Parameters tab. Once all the necessary information has been inputted, the message OK will appear in the status bar, and the colour of the status bar will change to green.

Add the OperationsChoosing one of the three methods listed on the previous page, add the following operations:

Add a Valve

1. Choose NGL Feed as the Feed stream and type To Sep as the Product stream.

To use this... Do this...

Menu Bar Choose the Flowsheet option from the menu bar, and then select Add Operation.

or

Press the F12 hot key

Workbook Unit Ops page From the Unit Ops page of the Workbook, click the Add Unit Op button.

Object Palette Double-click on the operation icon and the Property view will appear.

Save your case!

Valve icon

Page 16: 01_GettingStartedInSteadyState

16 Getting Started in Steady State

16

2. Choose Parameters and specify a pressure drop of 70 kPa (10 psi).

Figure 8

Figure 9

Eng. A

hmed

Dey

ab Fa

res

Page 17: 01_GettingStartedInSteadyState

Getting Started in Steady State 17

17

Add a Separator

Add a separator and enter the following information:

Note that the Separator unit operation is completely defined in Steady State without having to specify a pressure drop and a volume, but these are important parameters for dynamic simulation analysis.

Add a Pump

Add a pump and enter the following information:

In this cell... Enter...

Connections

Name Separator

Inlet To Sep

Vapour Outlet Sep Vap

Liquid Outlet Sep Liq

In this cell... Enter...

Connections

Name Feed Pump

Inlet Sep Liq

Outlet Pump Out

Energy Pump Q

Parameters

Delta P 1900 kPa (275 psi)

Adiabatic Efficiency 75% (default)

Separator icon

Pump icon

Page 18: 01_GettingStartedInSteadyState

18 Getting Started in Steady State

18

Add a Valve

Add another valve and enter the following information:

Add a Heat Exchanger

Add a heat exchanger and enter the following information:

In this cell... Enter...

Connections

Name VLV-101 (default)

Inlet Pump Out

Outlet Process-In

Parameters

Delta P 70 kPa (10 psi)

In this cell... Enter...

Connections

Name Heat Exchanger

Tube Side Inlet Process-In

Shell Side Inlet Shell-In

Tube Side Outlet Process-Out

Shell Side Outlet Shell-Out

Parameters

Heat Exchanger Model Exchanger Design End Point (default)

Tube Side Delta P 70 kPa (10 psi)

Shell Side Delta P 70 kPa (10 psi)

UA 8000 kJ/C-h (4200 Btu/F-hr)

Heat Leak/Loss None (default)

Heat Exchanger icon

Eng. A

hmed

Dey

ab Fa

res

Page 19: 01_GettingStartedInSteadyState

Getting Started in Steady State 19

19

Add a Heater

Add a heater and enter the following information:

Save your case as: Feed Heater Train.hsc.

In this cell... Enter...

Connections

Name Heater

Inlet Process-Out

Outlet ColFeed

Energy Heater-Q

Parameters

Delta P 70 kPa (10 psi)

Worksheet

ColFeed Temperature 50°C (120°F)

As an alternative to specifying a ColFeed Temperature of 50°C (120°F), we could have specified a heater duty. This duty could have been inputted on the Design-Parameters tab.

However, by specifying the ColFeed temperature, the heater duty is automatically calculated. This is an example of the DOF analysis HYSYS uses in Steady State mode.

Heater icon

Save your case!

Page 20: 01_GettingStartedInSteadyState

20 Getting Started in Steady State

20

The HYSYS Dynamics AssistantHYSYS contains a Dynamics Assistant that helps new users develop successful dynamic simulations. The Assistant performs many tasks that the new user may not be aware of, or familiar with.

The Assistant is capable of suggesting specifications that will produce a workable simulation; if, however, your simulation will deviate from the “standard,” the Assistant may suggest specifications that are not desired in your simulation.

For the purposes of this course, the Assistant will be deactivated to allow you to become familiar with tasks that the Assistant would do automatically. It is important that you become familiar with these tasks, because while the Dynamics Assistant is a powerful tool for creating simple dynamic simulations, it is not as useful when creating nonstandard dynamic simulations.

To turn off the Assistant, access the Preferences view from the Tools drop down menu and select the Dynamics page on the Simulation tab. Remove the check mark for the first Assistant option on this page. This will prevent the Dynamics Assistant from make any changes to the examples we are working on. The page should look like this after these steps are completed.

Figure 10

Eng. A

hmed

Dey

ab Fa

res