01 GettingStarted
01 GettingStarted
01 GettingStarted
Getting Started
Getting Started
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
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
View
Add
Delete
Copy
Import
Export
Refresh
Description
Allows you to access the property view for the selected Component List.
Allows you to create a Component List.
Note: Component Lists can be added via the Fluid Package property
view.
Removes the selected Component List from the simulation.
Makes a copy of the selected Component List.
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
Component List can be retrieved into another case, by using the Import
function.
Updates the pure component properties from the database.
Getting Started
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.
Inside the Current Fluid Packages group, there are a number of
buttons:
Basis Environment
Icon
Button
View
Add
Delete
Copy
Import
Export
Description
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.
Allows you to create and install a fluid package in the simulation.
Removes the selected Fluid Package from the simulation.
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.
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
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.
Getting Started
2. Go to the Fluid Pkgs tab and create a fluid package by clicking the
Add button.
3. Scroll down the list and select the Peng-Robinson Equation of
State model.
Getting Started
Add Components
You can select components for your simulation using several different
methods.
To use...
Do this...
1. Select one of the three name formats, SimName, Full
Name/Synonym, or Formula by selecting the corresponding
radio button.
2.
Match Cell
Click in the Match input field and enter the name of the
component. As you start to type, the list will change to match
what you have entered.
Filter
Getting Started
6. Select the library components N2, H2S, CO2, C1, C2, C3, i-C4, nC4, i-C5, n-C5, C6 and H2O by clicking each one and then clicking
Add Pure.
Getting Started
Getting Started
The minimum
information required for
defining a hypo is the
Normal Boiling Pt or
the Molecular Weight
and Ideal Liq Density.
12. When the hypo component has been defined, return to the fluid
package by closing the hypo component C7+* view.
13. Add the hypo component to the Selected Components list by
selecting it in the Available Hypo Components list and then
clicking the Add Hypo button.
Getting Started
Every hypo you create is part of a Hypo Group. By default, this hypo
is placed in HypoGroup1. You can add additional groups and move
hypo components between groups. This is done on the Hypotheticals
tab of the Simulation Basis Manager.
Compare the properties of C7+ with C7 and C8.
C7+
C7
C8
You have now finished defining the fluid package. You can view the
Peng-Robinson binary coefficients for your selected components by
selecting the Binary Coeffs tab on the Fluid Package tab.
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.
10
Getting Started
Now that the fluid package has been defined, you can start building the
simulation. Click the Enter Simulation Environment button to begin
building the simulation.
11
Getting Started
12
Getting Started
Adding Streams
In HYSYS, there are two types of streams, Material and Energy.
Material streams have a composition and parameters such as
temperature, pressure, and flowrates. They are used to represent
process streams. Energy streams have only one parameter: heat flow.
They are used to represent the duty supplied to or by a unit operation.
13
Getting Started
Do this...
Menu Bar
Workbook
Object
Palette
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.
14
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.
Do this...
or
Conditions
or
15
Getting Started
N2
0.0002
H2S
0.0405
CO2
0.0151
C1
0.7250
C2
0.0815
C3
0.0455
i-C4
0.0150
n-C4
0.0180
i-C5
0.0120
n-C5
0.0130
C6
0.0090
H2O
0.0000
C7+
0.0252
7. Click the OK button when all the mole fractions have been
entered.
8. Close the Stream property view.
16
Getting Started
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
17
Getting Started
0.0050
H2S
0.0141
CO2
0.0205
C1
0.5664
C2
0.2545
C3
0.0145
i-C4
0.0041
n-C4
0.0075
i-C5
0.0038
n-C5
0.0037
C6
0.0060
C7+
0.0090
H2O
0.0909
Save icon
18
Getting Started
Flash Calculations
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 fraction are known, HYSYS performs
a flash calculation on the stream, calculating the third parameter.
Only two of these three
stream parameters
(Vapour Fraction,
Temperature, or
Pressure) can be
supplied.
19
Getting Started
Perform a P-T flash calculation on the stream GasWell 2. Set the pressure to 7500
kPa and the temperature to 10C. What is the vapour fraction?
____________________________________________________________________
Perform a dew point calculation on the stream GasWell 2. Set the pressure to 7500
kPa. What is the dew point temperature?
____________________________________________________________________
Perform a bubble point calculation on the stream GasWell 2. Set the pressure to
7500 kPa. What is the bubble point temperature?
____________________________________________________________________
Attaching Utilities
The utilities available in HYSYS are a set of useful tools that interact
with your process, providing additional information or analysis of
streams or operations. Once installed, the utility becomes part of the
flowsheet, automatically recalculating when conditions change in the
stream or operation to which it is attached.
As with the majority of objects in HYSYS, there are a number of ways
to attach utilities to streams:
To use the...
Do this...
Menu Bar
or
Press CTRL U.
The Available Utilities view appears.
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 Envelopes may be plotted for the following variables:
Pressure - Temperature
Pressure - Volume
Pressure - Enthalpy
Pressure - Entropy
Temperature - Volume
Temperature - Enthalpy
Temperature - Entropy
20
Getting Started
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.
21
Getting Started
7. Click the Table page to view the envelope data in a tabular format.
The Property Table utility allows you to examine property trends over
a range of conditions in both tabular and graphical formats. The utility
calculates dependent variables for user specified independent variable
ranges or values.
A Property Table utility will be added to the stream Gas Well 2.
1. From the Tools menu select Utilities, or press CTRL U. The
Available Utilities view appears.
2. Select Property Table.
22
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.
9. Choose Temperature as the second Independent Variable.
Ensure the mode is set to Incremental.
10. Change the Lower and Upper Bounds to 0C (32F) and 100C
(212F) respectively. Leave the Increments at the default value of
10.
23
Getting Started
24
Getting Started
25
Getting Started
4. Press and hold the left mouse button and drag the edge of the view
until all the phases can be seen as shown below.
26
Getting Started
27
Getting Started
3. Under the Workbook Tabs group, click the Add button. The new
Object Type view appears.
28
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.
29
Getting Started
Workbook to
contain all the
stream data you
want.
Print the
Workbook
Specsheet.
4. From the list, you can choose to print or preview any of the
available datasheets.
30
Getting Started
Flowrate
425 kgmole/h
(935 lbmole/hr)
375 kgmole/h
(825 lbmole/hr)
575 kgmole/h
(1270 lbmole/hr)
31
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
start to do the calculations in the Workbook. After about 30 minutes of
doing flashes and writing down the pressure-temperature values, your
colleague comes in and tells you the wonders of the Property Table
and you are done in about five minutes.
Using your colleague's advice, set up a Property Table to generate a
Bubble Point and Dew Point curve from 100 to 10000 kPa.
32
Getting Started
Note: Make sure the temperature and pressure for the streams are as
given on the previous page.
33
Getting Started
34