01_GettingStarted-rev
01_GettingStarted-rev
Getting Started
.
Process Modeling Using HYSYS Getting Started
Workshop
The Getting Started module introduces you to some of the basic
concepts necessary for creating simulations in HYSYS. You will use
HYSYS to define three gas streams to be used as feeds to a gas plant.
In addition, you will learn how to determine properties of these streams
by using the Phase Envelope and the Property Table utilities.
Learning Objectives
• Define a fluid package (property package, components,
hypotheticals)
• Add streams
• Understand flash calculations
• Attach stream utilities
• Customize the Workbook
.
Process Modeling Using HYSYS Getting Started
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:
Button Description
View Allows you to access the property view for the selected Component List.
Allows you to create a Component List.
Add Note: Component Lists can 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 predefined Component List from disk.
Component Lists have the file extension (.cml).
Allows you to export the selected Component List to disk. The exported
Export Component List can be retrieved into another case, by using the Import
function.
Refresh Updates the pure component properties from the database.
You can use the Ctrl B hot key to re-enter the Simulation Basis
Manager from any point in the simulation or click the Basis
Environment icon from the tool bar.
.
Process Modeling Using HYSYS Getting Started
Button Description
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 in the simulation.
Delete Removes the selected Fluid Package from the simulation.
Makes a copy of the selected fluid package. Everything is identical in the
Copy copied version except the name. This is useful for modifying fluid
packages.
Import Allows you to import a predefined fluid package from disk. Fluid packages
have the file extension (.fpk).
Allows you to export the selected fluid package to a disk. The exported
Export fluid package can be retrieved into another case by using the Import
function.
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.
.
Process Modeling Using HYSYS Getting Started
2. Go to the Fluid Pkgs tab and create a fluid package by clicking the
New Case Add button.
icon 3. Scroll down the list and select the Peng-Robinson Equation of
State model.
.
Process Modeling Using HYSYS Getting Started
1. adds
Select one of the three a hydrocarbon
name class hypo
formats, SimName, Fullby default.
Name/Synonym, or Formula by selecting the corresponding
If you want to add a hypo from another class, click the Hypo Manager button
radio button. and then in the view that appears, click the View Group button.
2. 6. input
Click in the Match Select
fieldthe
andlibrary
enter thecomponents
name of the N2, H2S, CO2, C1, C2, C3, i-C4, nC4,
component. As you start
i-C5to, n-C
type,5,the
C6listand
willHchange
2O byto match each one and then clicking
clicking
what you have entered.
Match Cell Add Pure.
3. Once the desired component is highlighted, either:
4. Click the ENTER key.
5. Click the Add Pure button.
6. Double-click the component to add it to your simulation.
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:
Component
List 3. Press the ENTER key.
4. Click the Add Pure button.
5. Double-click the component to add it to your simulation.
1. Ensure the Match cell is empty, and click the View Filter button.
2.
7. Click the Hypothetical menu item in the Add Component box to
Select the Use Filter checkbox to display the various family
filters. add a hypothetical component to the Fluid
Package.
Filter 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.
.
Process Modeling Using HYSYS Getting Started
HYSYS always
places an “*” after a
hypo name so it can
be distinguished
from library
components.
A hypothetical
component can be
used to model non-
library
components,
defined mixtures, Since you do not know the structure of the hypothetical component and
undefined you are modeling a mixture, the Structure Builder will not be used.
mixtures, or solids. 10. Click the Critical tab. The only property supplied by the lab for the
You will be using a C7+ component is the Normal Boiling Pt. Enter a value of 110°C
hypothetical (230°F).
component to 11. Click the Estimate Unknown Props button to estimate all the
model the other properties and fully define the hypothetical component.
components in the
gas mixture heavier
than hexane.
9. In the hypo
component
view, click the
ID tab and in The minimum
the Component information required for defining a hypo is the Normal Boiling Pt or the
Molecular Weight and Ideal Liq Density.
.
Process Modeling Using HYSYS Getting Started
You will need to add components C7 and C8 to the component list in order to
view their properties. Ensure that you delete them once this exercise is
finished.
12. When the hypo
Every hypo you create is part of a Hypo Group. By default, this hypo
component has
is placed in HypoGroup1. You can add additional groups and move
been defined,
hypo components between groups. This is done on the Hypotheticals
return to the
tab of the Simulation Basis Manager.
fluid package
Compare the properties of C7+ with C7 and C8.
by closing the
hypo C7+ C7 C8
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
Object From the Flowsheet menu, select Open Object Palette or press F4 to
Palette open the Object Palette. Double-click the stream icon.
In this case, you will add three streams to represent three different gas
wells. Each stream will be added using a different method of
installation.
.
Process Modeling Using HYSYS Getting Started
Highlight the Stream Name cell. Change the stream name by typing
in a new name:
2. Change the stream name to GasWell 1.
3. Press ENTER.
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
C2 0.0815 7. Click the OK button when all the mole fractions have been
entered.
C3 0.0455
8. Close the Stream property view.
i-C4 0.0150
Adding a Stream from the Workbook
n-C4 0.0180
To open the Workbook, click the Workbook icon on the tool bar.
i-C5 0.0120 1. Enter the stream name, GasWell 2
in the **New** cell.
2. Double-click the Molar Flow cell and enter the following
compositions:
For this component... Enter this mole fraction...
N2 0.0025
H2S 0.0237
CO2 0.0048
C1 0.6800
C2 0.1920
C3 0.0710
i-C4 0.0115
n-C4 0.0085
i-C5 0.0036
n-C5 0.0021
C6 0.0003
H2O 0.0000
C7+ 0.0000
.
Process Modeling Using HYSYS Getting Started
C7+ 0.0090
H2O 0.0909
Save your case
often to avoid 6.
Click OK to close the Input Composition for Stream: GasWell 3 screen.
losing
information. 7.
Click the Save icon. Enter a case name.
Save icon You can use one of several different methods to save a case in
5.
Enter the HYSYS:
following • From the File menu, select Save to save your case with the same
stream name.
compositions: • From the File menu, select Save As to save your case in a different
location
For this component... Enter this moleorfraction...
with a different name.
• Click the Save icon on the tool bar to save your case with the same
N2 name.
0.0050
H2S 0.0141
CO2 0.0205
C1 0.5664
C2 0.2545
C3 0.0145
i-C4 Only0.0041
two of these three stream parameters (Vapour Fraction, Temperature, or Pressure) can
be supplied.
n-C4 Changing Units for a Specification
0.0075
i-C5 To change
0.0038 the units for a specification, type the numerical value of the
specification and press the space bar to switch to the inline unit drop down
n-C5 0.0037
.
Process Modeling Using HYSYS Getting Started
menu. Choose the fraction are known, HYSYS performs a flash calculation on the stream,
units for the value calculating the third parameter.
you are providing.
HYSYS will
convert the units
back to the default With the flash capabilities of HYSYS, it is possible to perform dew and
units. bubble point calculations. By specifying a vapour fraction of 1.0 and either
the pressure or temperature of the stream, HYSYS will calculate the dew
temperature or pressure. To calculate the bubble temperature or pressure, a
vapour fraction of 0.0 and either pressure or temperature must be entered.
Flash
Calculation
s
HYSYS can
perform three
types of flash
calculations on
streams: P-T, Vf-P,
and Vf-T. Once the
composition of the
stream and two of
either temperature,
pressure or vapour
.
Process Modeling Using HYSYS Getting Started
____________________________________________________________________
Attaching Utilities
The utilities available in HYSYS are a set of useful tools that interact with
The Envelope can your process, providing additional information or analysis of streams or
only be calculated operations. Once installed, the utility becomes part of the flowsheet,
on a dry basis (any
water is ignored).
automatically recalculating when conditions change in the stream or
Perform a P-T flash operation to which it is attached.
calculation on the As with the majority of objects in HYSYS, there are a number of ways to
stream GasWell 2. Set attach utilities to streams:
the pressure to 7500
To use the... Do this...
kPa and the
temperature to 10°C. • From the Tools menu, select Ubtilities.
What is the vapour
or
fraction? Menu Bar
• Press CTRL U.
__________________
__________________ The Available Utilities view appears.
__________________ 1. Open the Stream property view.
______________ 2. On the Attachments tab, click the Utilities page.
Perform a dew point Stream Property View 3. Click the Create button.
calculation on the
stream GasWell 2. Set The Available Utilities view appears.
the pressure to 7500 Next, you will add a utility using each method of installation.
kPa. What is the dew
point temperature?
__________________
Adding a Utility from the Stream Property View
__________________ The Envelope utility (in the Available Utilities list) allows you to examine
__________________ relationships between selected parameters for any stream of known
______________ composition, including streams with only one component. Vapour-Liquid
Perform a bubble Envelopes may be plotted for the following variables:
point calculation on • Pressure - Temperature
the stream GasWell 2.
• Pressure - Volume
Set the pressure to
7500 • Pressure - Enthalpy
kPa. • Pressure - Entropy
What is • Temperature - Volume
the • Temperature - Enthalpy
bubble point • Temperature - Entropy
temperature?
An Envelope utility will be added to the stream Gas Well 2 from the
Stream property view.
1. Open the Stream property view by double-clicking the stream in either
the Workbook or the PFD.
2. On the Attachments tab, click Utilities.
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
3. Click the Add Utility button. The Property Table view appears.
4. Click the Select Stream button and select the stream GasWell 2.
5. Click the OK button to return to the Design tab.
6. In the Independent Variable section, select Pressure as the first
Independent Variable.
7. Change the mode to State, use the drop-down menu bar.
8. In the State Values matrix, enter values of 2500, 5000, 7500, and
9000 kPa. If you are using field units, the values will be 350, 700,
1050, 1400 psbia.
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
2. From the Workbook menu, select Setup. The Setup view appears
as shown below.
Workbook icon
3. Under the Workbook Tabs group, click the Add button. The new
Object Type view appears.
.
Process Modeling Using HYSYS Getting Started
11. Exit the view when you are done to return to the Workbook.
12. The Workbook now contains the tab Other Prop. which shows the
values of Cp/Cv, Mass Heat of Vaporization, and Molar
Enthalpy as shown below.
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started
3. Select Print
Datasheet. The
Select Datablock
view appears.
4. From the list, you can choose to print or preview any of the available
datasheets.
Printing an Individual Stream Datasheet
To print the datasheet for an individual stream, object inspect the
stream property view title bar and follow the same procedure as with
the Workbook.
425 kgmole/h
GasWell 1 40°C (105°F) 4135 kPa (600 psia) (935 lbmole/hr)
375 kgmole/h
GasWell 2 45°C (113°F) 3450 kPa (500 psia) (825 lbmole/hr)
575 kgmole/h
GasWell 3 45°C (113°F) (1270 lbmole/hr)
.
Process Modeling Using HYSYS Getting Started
Challenge
The phase envelope utility is only capable of performing the flash
calculations on a dry basis, it will always ignore any water present in
the stream.
The composition of GasWell 3 contains some water. You have been
asked to perform a number of Dew and Bubble Point calculations on
the stream at various pressures. Knowing that you cannot accurately
predict these points on the Phase Envelope (because of the water) you
.
Process Modeling Using HYSYS Getting Started
.
Process Modeling Using HYSYS Getting Started