Professional Documents
Culture Documents
Get Started
Get Started
0 Documentation
Get Started
Copyright Notice
© 2000 AEA Technology - Hyprotech Ltd. All rights reserved.
© 2000 KBC Advanced Technologies plc. All rights reserved.
AEA Technology - Hyprotech Ltd and KBC Advanced Technologies plc are the owners of, and
have vested in them, the copyright and all other intellectual property rights of a similar nature
relating to their software, which includes, but is not limited to, our computer programs, user
manuals and all associated documentation, whether in printed or electronic form (the
"Software"), which is supplied by us or our subsidiaries to our respective customers. No
copying or reproduction of the Software shall be permitted without our prior written consent,
save to the extent permitted by law.
Hyprotech reserves the right to make changes to this manual or its associated computer
program without obligation to notify any person or organization. Companies, names and data
used in examples herein are fictitious unless otherwise stated.
Petrofine®, Catop®, Distop®, Vistop® and Profimatics® SIM Series are registered trademarks
of KBC Advanced Technologies plc. All rights reserved.
Microsoft® Windows®, Windows® 95/98, Windows NT®, Windows® 2000 and Excel® are
registered trademarks of the Microsoft Corporation.
This product uses WinWrap® Basic, Copyright 1993-1998, Polar Engineering and Consulting.
Documentation Credits
Authors of the current release, listed in order of historical start on project:
Conrad Gierer, BASc; Chris Strashok BSc; Peter deJonge, BSc; Adeel Jamil, BSc; Sarah-Jane
Brenner, BASc; Ron Brown, PhD, FRDC, FISTC; Lisa Hugo, BSc, BA; Kevin Hanson, PEng
Since software is always a work in progress, any version, while representing a milestone, is
nevertheless but a point in a continuum. Those individuals whose contributions created the
foundation upon which this work is built have not been forgotten. The current authors would
like to thank the previous contributors.
A special thanks is also extended by the authors to everyone who contributed through
countless hours of proof-reading and testing.
iii
iv
Introducing HYSYS.Refinery 1-1
1 Introducing
HYSYS.Refinery
‘Breaking Performance Barriers’
We are pleased to introduce HYSYS.Refinery — the first and only
process simulator capable of truly scalable refinery-wide modeling.
HYSYS.Refinery provides ground-breaking technology to support
benchmarking, evaluation and sustained profit improvement. Refinery
owners gain a competitive advantage and enhance profitability by
reducing error, improving decision-making and providing for easy
access to refinery-wide knowledge and expertise.
1-1
1-2 Refinery Modeling Solutions
Refinery Assays
Refinery assays are based on the Refinery Oil Model which is a
conceptual model with an associated collection of software methods
for characterizing the measurements and properties of hydrocarbon
materials. A refinery assay matrix is a collection of information about
hydrocarbon-based material that holds the basic data needed to drive
the refinery physical property system. The refinery assay matrix is
organized as a series of property contribution values defined as
hypo(thetical) components in HYSYS.
1-2
Introducing HYSYS.Refinery 1-3
Oils contain predefined properties such as MON, RON, PNA etc. Users
will also be able supply their own properties. This allows tracking of
properties such as sulfur or mineral content, C:H ratio and %
aromatics. Crudes may be synthesized and blended and compared to
raw data. A complete range of refinery inspection properties and
finished product specification properties are available with refinery
assays.
Subflowsheet Technology
This technology allows user to "box" a collection of unit operations to
more easily manage large flowsheets. Operations may be moved into
and out of sub-flowsheets and the sub-flowsheets may be copied and
pasted, or turned into templates for use in other flowsheets.
Predictive Properties
Properties such as Octane Number, Pour Pt., Cloud Pt, etc. are
predicted using industry proven methods. The prediction of these
properties will take into account blending and flowsheet topology. This
will allow refiners to assess the operation of their plant with the
variables that dictate the economics.
1-3
1-4 Refinery Modeling Solutions
Reactor Capabilities
HYSYS.Refinery will allow for incorporating additional unit operations
with varying levels of fidelity as needed.
For detailed reactor modeling, the KBC reactor models, including the
Profimatics reactors may be incorporated into the flowsheet. A suite of
tools is also provided to manipulate stream data to match operations
and refining reactions may also be modeled by simple material
balance.
1-4
Introducing HYSYS.Refinery 1-5
Value
The HYSYS.Refinery approach provides top to bottom and multi-
discipline benefit. Engineering builds and maintains models which are
validated against the plant and serve as an information source to actual
plant performance. Refinery-wide models allow for true optimization
rather than enhancing one unit at the expense of another. Furthermore,
these models are used as data for LP supply models to improve their
accuracy, planning and scheduling decisions. Additionally, the models
provide training and performance monitoring.
1-5
1-6 The HYSYS Philosophy
• integrated
• intuitive and interactive
• open and extensible.
Figure 2.1
• Model topology
• Interface
• Thermodynamics
1-6
Introducing HYSYS.Refinery 1-7
The outer ring represents the modeling application needs over the
entire plant lifecycle. The arrows depict each Hyprotech product using
the common core, allowing for universal data sharing amongst the
tools, while providing a complete simulation solution.
1-7
1-8 The HYSYS Philosophy
1-8
Introducing HYSYS.Refinery 1-9
Manual Description
Contains the information needed to install HYSYS,
plus a Quick Start example to get you up and
Get Started
running, ensure that HYSYS was installed correctly
and is operating properly.
Provides in depth information on the HYSYS
User’s Guide interface and architecture. HYSYS Utilities are also
covered in this manual.
Contains all information relating to the available
HYSYS fluid packages and components. This
Simulation Basis includes information on the Oil Manager,
Hypotheticals, Reactions as well as a
thermodynamics reference section.
Steady State Steady state operation of HYSYS unit operations is
Modeling covered in depth in this manual.
Refinery specific operations are covered in depth in
this manual. These include the following unit
Refinery Modeling
operations: FCCU, Catalytic Reformer and Refinery
Feed.
Details the many customization tools available in
HYSYS. Information on enhancing the functionality
of HYSYS by either using third-party tools to
Customization programmatically run HYSYS (Automation), or by
the addition of user-defined Extensions is covered.
Guide
Other topics include the current internally extensible
tools available in HYSYS: the User Unit Operation
and User Variables as well as comprehensive
instruction on using the HYSYS View Editor.
Provides step-by-step instructions for building some
Tutorials
industry-specific simulation examples.
If you are new to HYSYS, you may want to begin by completing one or
more of the HYSYS tutorials, which give the step-by-step instructions
needed to build a simulation case. If you have some HYSYS experience,
but would still like to work through some more advanced sample
problems, refer to the HYSYS Applications.
1-9
1-10 Use of the Manuals
1-10
Introducing HYSYS.Refinery 1-11
Figure 2.2
4. Open the Doc directory. Inside it you should find the Index.pdx
file. Select it and click the Open button.
Figure 2.3
5. The Index Selection view should display the available indexes that
can be attached. Select the index name and then click the OK
button. You may now begin making use of the Acrobat Search
command.
To search an index, first select the indexes to search and define a search
query. A search query is an expression made up of text and other items
to define the information you want to define. Next, select the
documents to review from those returned by the search, and then view
the occurrences of the search term within the document you selected
1-11
1-12 Use of the Manuals
Other Acrobat Reader features include a zoom-in tool in the button bar,
which allows you to magnify the text you are reading. If you wish, you
may print pages or chapters of the online documentation using the
File-Print command under the menu.
1-12
Introducing HYSYS.Refinery 1-13
Keywords Action
These are the normal (default) Move the mouse pointer to position it over an item.
Point
settings for the mouse, but you For example, point to an item to see its Tool Tip.
can change the positions of the Position the mouse pointer over the item, and rapidly
left- and right-buttons. press and release the left mouse button. For
Click
example, click Close button to close the current
window.
As for click, but use the right mouse button. For
Right-Click example, right-click an object to display the Object
Inspection menu.
Position the mouse pointer over the item, then
rapidly press and release the left mouse button
Double-Click
twice. For example, double-click the Hysys.Refinery
icon to launch the program.
Position the mouse pointer over the item, press and
hold the left mouse button, move the mouse while
Drag the mouse button is down, and then release the
mouse button. For example, you drag items in the
current window, to move them.
Whenever you pass the mouse pointer over certain
objects, such as tool bar icons and flowsheet
Tool Tip objects, a Tool Tip will be displayed. It will contain a
brief description of the action that will occur if you
click on that button or details relating to the object.
1-13
1-14 Use of the Manuals
Format Example
When you are asked to access a HYSYS menu ‘Select File-Save from the
command, the command is identified by bold menu to save your case.’
lettering.
When you are asked to select a HYSYS button, ‘Click the Close button to
the button is identified by bold, italicized close the current view.’
lettering.
When you are asked to select a key or key ‘Press the F1 key on the
combination to perform a certain function, keyboard to open the
keyboard commands are identified by words in context sensitive help.’
bolded small capitals (small caps).
The name of a HYSYS view (also know as a ‘Selecting this command
property view or window) is indicated by bold opens the Session
lettering. Preferences view.’
The names of pages and tabs on various views ‘Click Composition page
are identified in bold lettering. on the Worksheet tab to
see all the stream
composition information.’
The name of radio buttons, check boxes and ‘Click the Ignored check
cells are identified by bold lettering. box to ignore this
operation.’
Note that blank spaces are Material and energy stream names are Column Feed,
acceptable in the names of identified by bold lettering. Condenser Duty
streams and unit operations. Unit operation names are identified by bold Inlet Separator,
lettering. Atmospheric Tower
When you are asked to provide keyboard input, ‘Type 100 in the cell to
it will be indicated by bold lettering. define the stream
temperature.’
1-14
Introducing HYSYS.Refinery 1-15
• General Options
• Errors
• Column Options
Callouts
A callout is a label and arrow that describes or identifies an object. An
example callout describing a graphic is shown below.
Figure 2.4
HYSYS.Refinery
Icon
Annotations
Annotation text appears in the Text appearing in the outside margin of the page supplies you with
outside left page margin. additional or summary information about the adjacent graphic or
paragraph. An example is shown to the left.
1-15
1-16 Use of the Manuals
1-16
Introducing HYSYS.Refinery 1-17
You can also access Support directly via email. A listing of Technical
Support Centres including the Support Email address is at the end of
this chapter. When contacting us via email, please include in your
message:
We also have toll free lines that you may use. When you call, please have
the same information available.
1-17
1-18 Technical Support
Yokohama, Japan
AEA Technology - Hyprotech Ltd.
AEA Hyprotech KK
Plus Taria Bldg. 6F.
3-1-4, Shin-Yokohama
Kohoku-ku support@hyprotech.com (email)
Yokohama, Japan 81 45 476 5051 (technical support)
222-0033 81 45 476 5051 (information & sales)
1-18
Introducing HYSYS.Refinery 1-19
Offices
Calgary, Canada Yokohama, Japan
Tel: (403) 520-6000 Tel: 81 45 476 5051
Fax: (403) 520-6040/60 Fax: 81 45 476 3055
Toll Free: 1-800-661-8696
1-19
1-20 Technical Support
Agents
International Innotech, Inc. Tel: (281) 492-2774
Katy, USA Fax: (281) 492-8144
International Innotech, Inc. Tel: 86 10 6499 3956
Beijing, China Fax: 86 10 6499 3957
International Innotech Tel: 886 2 809 6704
Taipei, Taiwan Fax: 886 2 809 3095
KBTECH Ltda. Tel: 57 1 258 44 50
Bogota, Colombia Fax: 57 1 258 44 50
KLG Systel Tel: 91 124 346962
New Delhi, India Fax: 91 124 346355
Logichem Process Tel: 27 11 465 3800
Johannesburg, South Africa Fax: 27 11 465 4548
Process Solutions Pty. Ltd. Tel: 61 7 544 81 355
Peregian, Australia Fax: 61 7 544 81 644
Protech Engineering Tel: +421 7 4488 8286
Bratislava, Slovak Republic Fax: +421 7 4488 8286
PT. Danan Wingus Sakti Tel: 62 21 567 4573 75/62 21 567 4508 10
Jakarta, Indonesia Fax: 62 21 567 4507/62 21 568 3081
Ranchero Services (Thailand)
Co. Ltd. Tel: 66 2 381 1020
Bangkok, Thailand Fax: 66 2 381 1209
S.C. Chempetrol Service srl Tel: +401 330 0125
Bucharest, Romania Fax: +401 311 3463
Soteica De Mexico Tel: 52 5 546 5440
Mexico D.F., Mexico Fax: 52 5 535 6610
Soteica Do Brasil Tel: 55 11 533 2381
Sao Paulo, Brazil Fax: 55 11 556 10746
Soteica S.R.L. Tel: 54 11 4555 5703
Buenos Aires, Argentina Fax: 54 11 4551 0751
Soteiven C.A. Tel: 58 2 264 1873
Caracas, Venezuela Fax: 58 2 265 9509
ZAO Techneftechim Tel: +7 095 202 4370
Moscow, Russia Fax: +7 095 202 4370
Internet
Website: www.hyprotech.com
Email: info@hyprotech.com
1-20
Installing HYSYS.Refinery 2-1
2 Installing HYSYS.Refinery
2.1 Basic Requirements
The following system requirements will ensure satisfactory
performance by HYSYS on reasonably sized simulations.
2-1
2-2 Installing HYSYS
2-2
Installing HYSYS.Refinery 2-3
Figure 2.1
2-3
2-4 The Standalone Key Version of HYSYS
8. Once the installer has completed copying the program files to the
Note that Step 8 is done up
specified directory, it will perform a check of the versions of several
front and may result in the
installer suggesting a reboot. Windows files required for OLE interaction between HYSYS and
other applications. If warranted, the installation program will
suggest updating these files. Follow the on-screen instructions. For
more information on this topic, review the HYSYS README.WRI
file.
2-4
Installing HYSYS.Refinery 2-5
2-5
2-6 The Standalone Key Version of HYSYS
Figure 2.3
7. Select the Save Preference Set button, and direct the file save
operation to the HYSYS working directory on the local disk.
2-6
Installing HYSYS.Refinery 2-7
If the security key number on the label does not match that of the key,
but you believe that this key is one of a group of keys that are
interchangeable, contact AEA Technology for resolution of the
problem. When contacting AEA Technology, provide both the security
key number and the Product Install Code.
Another valid test is to check the key on another computer that has
other AEA Technology software installed that also uses the same
kind of key (most AEA Technology "standalone" software uses the
same green hardware key). Even if not configured to work with this
2-7
2-8 The Standalone Key Version of HYSYS
2-8
Installing HYSYS.Refinery 2-9
which COM port the key is located. Open Windows Explorer and
navigate to the HYSYS directory. Right-click on HYSYS.EXE and
select "Create Shortcut" from the menu. Once the shortcut has
been created, right-click on it and select "Properties" from the
menu. Go to the "Shortcut" page and modify the "Target:" to the
format:
2-9
2-10 The Network Key Version of HYSYS
Once the network key is attached to the parallel port of the computer,
start the network key version of HYSYS with the command line option
"-local" to enable local mode. To do this perform the following steps.
The path may be different on your computer. Note the locations of the
double-quotes required because of the space between “Program” and
“Files”. If there are no spaces in the path name quotes are not required.
2-10
Installing HYSYS.Refinery 2-11
Note that the keyserver computer does not need to be a powerful or fast
computer. The powerful personal computer of a HYSYS user is one of
the poorer choices for the keyserver computer. This computer can be
switched off behind locked doors for the weekend, rebooted after
lockup in another software program (terminating HYSYS users), or
require reconfiguration to suit the needs of a new software program,
causing difficulties for existing programs (like the keyserver software).
2-11
2-12 The Network Key Version of HYSYS
To Install NSRVGX.EXE
1. Copy NSRVGX.EXE from the \NETDISK\SERVERS\WIN32
subdirectory of the HYSYS software CD to a location on the hard
disk of the keyserver computer.
2-12
Installing HYSYS.Refinery 2-13
Option Description
Overrides the default "Find_Server" UDP broadcast
mask to limit the search over TCP/IP to within a
/BI:<mask>
specified subnet mask. (The default is set at
255.255.255.255.)
Changes the server’s department name from
/DN:<name>
NETINEL to <name>.
Sets the maximum number of licenses that can be in
use at any one time on this server to <nnn>. The
default is 150.
Your effective license limit is the smaller of (1) the
/H:<nnn> number you set here and (2) the sum of the limits of
the keys connected to this server. Specifying a limit
higher than what the attached keys support has no
effect. Specifying a limit lower than what the
attached keys support effectively disables some
licenses.
Sets the maximum number of servers running this
server’s department name and using this server’s
protocol to <nnn>. The indicated value ranges from 1
/MS:<nnn>
to 5, and is used to determine the range of server
names. A value of 5, for example, causes servers to
be named NETINEL0 through NETINEL4.
Sets the name displayed by the monitor for this
server to <name>. The default is your computer’s
/N:<name>
Ethernet address (NetBIOS) or IPX node number
(NetWare).
Suppresses the copyright message when the server
/Q
is being loaded.
Defines the number of retry operations when
/RI:<num> searching for servers running over TCP/IP. The
default is 3.
Sets the number of threads devoted to handling
TCP/IP clients to <nnnn>. Values range from 0 to 4;
/SI:<nnnn>
the default is 4. Specifying /SI:0 disables all TCP/IP
support.
Defines the number of entries in the sub-license
/SL:<nnnn>
table. Applies to the NetSentinel-C only.
Sets the number of threads devoted to handling
NetBIOS/NetBEUI clients to <nnnn>. Values range
/SN:<nnnn>
from 0 to 4; the default is 4. Specifying /SN:0
disables all NetBIOS/NetBEUI support.
2-13
2-14 The Network Key Version of HYSYS
Option Description
Enables strict license time-out enforcement. If this
option is set, active licenses are immediately
revoked and made available for reuse if no query is
performed within the key’s configured time-out
/ST
interval. Subsequent use of the handle yields an
error. By default, a timed-out license is revoked only
if a handle is requested and no other licenses are
available.
Sets the number of threads devoted to handling IPX/
SPX (NWLINK) clients to <nnnn>. Values range from
/SW<nnnn>
0 to 4; the default is 4. Specifying /SW:0 disables all
IPX/SPX (NWLINK) support.
Sets a password of up to 12 characters. If the server
is set with a password option, that password will be
required by the monitor, whenever licenses are
/W:<password>
being deleted. If the server is not set to require a
password, the server will delete all licenses from the
monitor without requiring a password.
Sets the timeout value in seconds for each retry
/TI:<num> operation when searching for servers running over
TCP/IP. The default is 5.
To Install NSSRVICE.EXE
1. Copy NSSRVICE.EXE from the directory
\NETDISK\SERVERS\WIN32 to the Windows NT\System32
directory.
2. To install the service, run the NSSRVICE.EXE executable with "/i"
command line option, i.e. NSSRVICE /i.
KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
2-14
Installing HYSYS.Refinery 2-15
Option Description
Overrides the default "Find_Server" UDP broadcast
mask to limit the search over TCP/IP to within a
/BI:<mask>
specified subnet mask. (The default is set at
255.255.255.255).
Changes the server’s department name from
/DN:<name>
NETINEL to <name>.
Sets the maximum number of licenses that can be in
use at any one time on this server to <nnn>. The
default is 150.
Your effective license limit is the smaller of (1) the
/H:<nnn> number you set here and (2) the sum of the limits of
the keys connected to this server. Specifying a limit
higher than what the attached keys support has no
effect. Specifying a limit lower than what the
attached keys support effectively disables some
licenses.
Sets the maximum number of servers running in this
server’s department name and using this server’s
protocol to <nnn>. The indicated value ranges from 1
/MS:<nnn>
to 5, and is used to determine the range of server
names. A value of 5, for example, causes servers to
be named NETINEL0 through NETINEL4.
Sets the name displayed by the monitor for this
server to <name>. The default is your computer’s
/N:<name>
Ethernet address (NetBIOS) or IPX node number
(NetWare).
Defines the number of retry operations when
/RI:<num> searching for servers running over TCP/IP. The
default is 3.
Sets the number of threads devoted to handling
TCP/IP clients to <nnnn>. Values range from 0 to 4;
/SI:<nnnn>
the default is 4. Specifying /SI:0 disables all TCP/IP
support.
Defines the number of entries in the sub-license
/SL:<nnnn>
table. Applies to the NetSentinel-C only.
Sets the number of threads devoted to handling
NetBIOS/NetBEUI clients to <nnnn>. Values range
/SN:<nnnn>
from 0 to 4; the default is 4. Specifying /SN:0
disables all NetBIOS/NetBEUI support.
Enables strict license time-out enforcement. If this
option is set, active licenses are immediately
revoked and made available for reuse if no query is
performed within the key’s configured time-out
/ST
interval. Subsequent use of the handle yields an
error. By default, a timed-out license is revoked only
if a handle is requested and no other licenses are
available.
2-15
2-16 The Network Key Version of HYSYS
Option Description
Sets the number of threads devoted to handling IPX/
SPX (NWLINK) clients to <nnnn>. Values range from
/SW:<nnnn>
0 to 4; the default is 4. Specifying /SW:0 disables all
IPX/SPX (NWLINK) support.
Lets a password of up to 12 characters. If the server
is set with a password option, that password will be
required by the monitor, whenever licenses are
/W:<password>
being deleted. If the server is not set to require a
password, the server will delete all licenses from the
monitor without requiring a password.
Sets the timeout value in seconds for each retry
/TI:<num> operation when searching for servers running over
TCP/IP. The default is 5.
S/I Installs the service.
/U Uninstalls the service.
/V Displays the version number
2-16
Installing HYSYS.Refinery 2-17
Figure 2.4
7. Select the Save Preference Set button, and direct the file save
operation to the HYSYS working directory on the local disk.
2-17
2-18 The Network Key Version of HYSYS
[RainbowKey]
BroadcastAddress=192.139.200.134
Note the square brackets on the first line and the lack of any spaces on
the second line. This fix will not impact on WINMON’s (the monitor
tool installed with the network key version of HYSYS) failure to
communicate with a network keyserver.
2-18
Installing HYSYS.Refinery 2-19
[RainbowKey]
DepartmentName=HYSYS
2-19
2-20 The Network Key Version of HYSYS
Note the square brackets on the first line and the lack of any spaces on
the second line. Multiple entries can be make in the [RainbowKey]
section of the HYSYS.INI file, as follows.
[RainbowKey]
DepartmentName=HYSYS
BroadcastAddress=192.139.200.134
2-20
Installing HYSYS.Refinery 2-21
2-21
2-22 The Network Key Version of HYSYS
2-22
Get Started 3-1
3 Get Started
This first Get Started chapter gives a quick introduction to some of the
features incorporated into both the standard HYSYS.Process
application and the enhanced HYSYS.Refinery application.
To get the most out of
HYSYS.Refinery, it is strongly HYSYS.Refinery uses the same interface, solving mechanisms,
suggested that new users read thermodynamics, and other technology found in HYSYS.Process but
Chapter 1 - Refinery Modeling in also contains additional methods for characterizing the measurements
the Refinery Modeling manual
which describes the necessary and properties of hydrocarbon materials. In HYSYS.Refinery, the
background concepts important refinery physical property system and associated refinery assay matrix
to effectively use this program. are the key to the characterization methods.
There are two example cases used in this chapter. The first one (Section
3.2 - Steady State Case) shows how to recall a saved HYSYS.Process case
and illustrates how to manoeuvre around the program. The second
example (Section 3.3 - Refinery Case) outlines some key features
specific to HYSYS.Refinery. If you are already familiar with
HYSYS.Process, you may choose to skip the steady state case and
proceed to the refinery case on page 3-17.
3-1
3-2 Starting HYSYS.Refinery
Note that the view shown in Figure 3.1 has been resized; your Desktop
view should appear larger than this when initially opened. To re-size
the view, click and drag the outside border. To make the view full size,
click the button in the upper right hand corner.
Before opening the pre-built Get Started case, you should choose the
HYSYS unit set used for displaying information. You can check your
current unit set by accessing the Session Preferences.
Figure 3.2
3-2
Get Started 3-3
Figure 3.3
Units
page
3-3
3-4 Starting HYSYS.Refinery
Figure 3.4
3-4
Get Started 3-5
Figure 3.5
9. Open the Samples subdirectory and scroll through the list of files
until gstrt-ss.hsc is visible.
10. Highlight gstrt-ss.hsc, then click the Open button. The pre-built
simulation case will appear on your Desktop.
Figure 3.6
3-5
3-6 Starting HYSYS.Refinery
12. If the Save in field does not show the Cases folder, click to
move up to the Cases folder. The dialog will appear as shown below
in Figure 3.7.
13. Type a new name, for example MyCase, in the File name field. Note
that you do not have to enter the .hsc extension; HYSYS will add it
automatically.
Figure 3.7
14. Click the Save button, and HYSYS will save your case with the new
name.
3-6
Get Started 3-7
Figure 3.8
3-7
3-8 Steady State Case
If you wish, you can re-size the PFD view to make it more readable by:
For example, open the property view for one of the streams entering the
reactor. Double-click on Prop Oxide icon on the PFD. The property
view for Prop Oxide is shown in Figure 3.9:
Prop Oxide Icon
Figure 3.9
Pages associated
with the Worksheet
tab are listed along
the left side.
3-8
Get Started 3-9
Figure 3.10
3-9
3-10 Steady State Case
Each stream property view tab and associated pages are described in
the following table:
Tab Description
• Conditions page - displays all of the default
stream information available for the current
stream
• Properties page - shows all the transport
properties for each stream phase
• Composition page - lists composition details
along with options for loading and saving
refinery assays
Worksheet
• Notes page - allows you to add notes to be
saved with the stream
• K Value page - displays the K values or
distribution coefficients for each component in
the stream
• Package Properties page - allows you to
activate and view calculated values for various
Packaged Properties
• Unit Ops page - lists the unit operation(s) to
which the stream is attached
• Utilities page - allows you to create and attach
Attachments
utilities to the stream
• DRU Stream page - allows a transfer stream to
be added
• Specs page - Applicable only in Dynamic mode.
Dynamics You activate dynamic specifications on this
page
(not applicable in • Stripchart page - allows the response of key
HYSYS.Refinery) process variables to be monitored during
dynamic calculations
• Lets you write and attach code as a User
User Variables Variable to extend the functionality of your
stream
Plots • Allows you to view plottable Package Properties
Once you have finished examining the stream properties, close the view
using the button in the upper right hand corner of the view. The next
time you open the property view, it will open to the last page that you
Close Button accessed before closing the view.
3-10
Get Started 3-11
Figure 3.11
Workbook Button
3-11
3-12 Steady State Case
Figure 3.12
The temperature of
Reactor Prods is
currently 135 oF.
Figure 3.13
The reactor cooling Click here to move to
requirement is represented the Energy Streams
by the Heat Flow of the tab of the Workbook.
stream Coolant.
3-12
Get Started 3-13
Figure 3.14
Enter 100 in the
Temperature cell for
Reactor Prods.
Figure 3.15
3-13
3-14 Steady State Case
Figure 3.16
8. Select Case Studies - Main from the menu to make it the active
You might expect the cooling
requirement to increase as the view. The case studies view is shown in Figure 3.17:
reactor temperature is
lowered. However, the reaction Figure 3.17
has two attributes that
dominate the reactor’s heat
balance:
1. The reaction produces
heat proportional to the
amount of reaction
occurring.
2. Less reaction occurs at
100oF than at 135oF.
So by lowering the reactor
temperature, less reaction is
taking place and less heat is
produced by the reaction.
Therefore, less cooling is
required.
3-14
Get Started 3-15
The Case Studies view shows a plot of the separator cooling duty and
the Glycol stream molar flow rate (dependent variables) versus the
separator temperature (independent variable).
Case Study 1 has been configured to calculate and plot values over an
independent temperature range of 75oF to 130oF with an increment of
10oF. You may actually want to observe the results over a wider range.
To change the bounds of the independent variable for the case study,
click the Setup button at the bottom of the view.
Figure 3.18
Leave the Low Bound at its value of 75 oF, and the Step Size as 10oF.
Change the High Bound value to 215 oF. Click the Start button then the
Results button on the Case Studies Setup view. HYSYS will begin
calculations immediately, solving the Flowsheet at each temperature
and plotting the results on the Case Studies view. When the Flowsheet
has been solved at the final temperature of 215oF, calculations will stop
automatically.
3-15
3-16 Steady State Case
Figure 3.19
The Case Study shows that the cooling requirement increases to its
maximum value at approximately 125 oF and then decreases, while the
glycol production rate increases over the entire temperature range.
You have now completed your first HYSYS steady state simulation!
You are now free to explore this case on your own. If you wish, you can
quit HYSYS by doing one of the following:
If you have made any changes to your case since the last time it was
saved, HYSYS will prompt you to save before exiting.
This concludes the steady state Get Started example. You are
encouraged to proceed to the following refinery Get Started example.
3-16
Get Started 3-17
Figure 3.20
3-17
3-18 Refinery Case
Before opening the pre-built Get Started case, you should choose the
HYSYS unit set used for displaying information. You can check your
current unit set by accessing the Session Preferences.
Figure 3.21
Figure 3.22
Ensure that the SI
unit set is selected. Close button.
3-18
Get Started 3-19
2. Open the Samples subdirectory and scroll through the list of files
until gstrt-ref.hsc is visible.
3. Highlight gstrt-ref.hsc, then click the Open button. The pre-built
simulation case will appear on your Desktop.
Figure 3.23
3-19
3-20 Refinery Case
This prebuilt simulation case consists of a raw crude feed stream that is
being fed to a pre-flash drum (PreFlash) where vapors are separated
from the liquids, which are heated in a furnace (Crude Heater). The
pre-flash vapors bypass the furnace and are recombined with the hot
crude from the furnace using a mixer. The combined streams is then
fed to the atmospheric crude column (Atmos Tower) for fractionation.
The crude column consists of a refluxed absorber with three side
strippers and three cooled pump around circuits.
Figure 3.24
This tab allows you to configure the various property groups available,
however keep in mind that only supported packages will be accessible.
In HYSYS.Refinery, the refinery Package Property group is supported.
3-20
Get Started 3-21
From the Stream Configuration tab, you can activate various Package
A Point property shows you the
property value calculated for the Properties globally for the entire simulation. For this example, let us
whole stream, while Plottable activate the following Point properties:
properties show how the property
is distributed across the streams
boiling range. Point Properties
All properties are calculated from Mean Average Boiling Point
underlying distributions in Paraffins by vol
HYSYS and some properties may
appear in both categories. Specific Gravity (dry)
Reid Vapor Pressure
Aromatics by vol
Flash Point TBP/PMCC
Freeze Point
Cloud Point
Pour Point
MON (Clear)
RON (Clear)
6. From the Configuration Scope drop down list, select the Case
option which will allow all property settings to be saved with the
case.
7. Next, select the properties (listed in the previous table) by scrolling
through the list and clicking their associated Activate cell.
Figure 3.25
Activate
various
properties by
clicking their
Activate cell
and then the
Make Active
button.
3-21
3-22 Refinery Case
All refinery properties selected will now appear along with their current
values on the Package Properties page of each stream’s view and are
accessible to other HYSYS objects. Section 3.3.11 - Examining the
Product at the end of this example outlines how to view Package
Properties values for streams and also how to activate them locally for
an individual stream.
At this point in the simulation case, keep in mind that you will not see
properties immediately as this case does not have any refinery assays
installed yet. The Package Properties supported by HYSYS.Refinery
allow access to various refinery properties.
3-22
Get Started 3-23
Figure 3.26
3-23
3-24 Refinery Case
Figure 3.27
13. Click the Import button and the refinery assay import dialog will
appear.
An assay template file holds 14. For this example, you’ll require an assay template file to import.
all source information related From the Files of type: drop down, select Refinery Assay Templates
to the assay matrix but does (*.ast).
not contain component list or
fluid package details as with
the complete assay (*.asy) Figure 3.28
format.
Ensure that
you select
refinery assay
template as
your file type.
15. Highlight the file gs_assay.ast, then click the Open button.
3-24
Get Started 3-25
16. Highlight the assay in the Available Refinery Assays list and click
the View button. The dialog which appears presents various details
about this imported assay.
Figure 3.29
This button
accesses the
synthesis
environment.
17. Click the View Refinery Assay Source to enter the refinery assay
synthesis environment.
The Refinery Assay Source (Synthesized) view shows a grid listing all
synthesis laboratory data for your refinery assay. Synthesis data is
entered into one or more grids of information called Plant Data Groups.
Each Plant Data Group grid contains data on one or more cuts of the
material, with properties forming rows of the grid and cuts forming the
columns.
3-25
3-26 Refinery Case
Figure 3.30
Select a
group by Use these
clicking its buttons to
group name modify your
and then click Plant Data
the Edit Groups.
button to edit.
Synthesize button
A typical laboratory assay for a whole crude will contain data on light
ends composition, naphtha range piano distribution from GC (gas
chromatograph) and a number of distillate and residue cuts. Arranging
your laboratory data into Plant Data Groups helps you make sense of
the information contained in your refinery assay.
3-26
Get Started 3-27
Let’s examine the synthesis data for the Distillates Plant Data Group:
18. Click the Distillates Plant Data Group name from the list, then
click the Edit button.
Figure 3.31
Click the Setup Properties button
to modify synthesis properties
The Plant Data Group: Distillates view shown in Figure 3.31 lists 6 cuts
with 28 properties in total. From this view you can add, edit or delete
various cuts and modify property values directly. Properties may be
added or removed using the Setup Properties button located on the
right.
Since this assay was just imported it is always a good idea to perform
the synthesis again to ensure that the assay has loaded successfully.
20. Click the Synthesize button to re-synthesize the assay. The status
bar on the view will read “Synthesis Succeeded” in green.
21. Close this view by clicking its button and then click the return
arrow button on the Desktop button bar; once to exit the synthesis
Return arrow environment and then once again to exit the Oil environment and
button
return to the Main simulation environment.
3-27
3-28 Refinery Case
Figure 3.32
You have now successfully imported a refinery assay into your case and
If your case is not solving be
are ready to edit your simulation to take advantage of the new detailed
sure to check that the solver is
active. refinery assay.
3-28
Get Started 3-29
25. Load the refinery assay by clicking on the empty <<Assay>> cell in
the Oil Manager group and selecting Get Started Assay from the
drop down list above.
Figure 3.33
Use this drop down list to
select and load your assay.
Click in this
area to
enable the
drop down list
above.
Once selected, the loaded assay will appear under the Oil Manager
group. You now must attach a product stream to the operation.
Product drop down list:
26. Click the Product cell and select the Raw Crude stream from the
drop down list.
3-29
3-30 Refinery Case
Ensure that the solver is activated (the “green light” icon must be
pressed on the button bar) and HYSYS will attempt to solve for this new
configuration. During the solving attempt, an Consistency Error dialog
window will appear.
Figure 3.34
Closing this dialog (and any other modal views) and then clicking the
Solver Active button again, forces HYSYS to attempt to resolve again on
the next iteration. This time, the refinery assay is now fully loaded in all
Solver Active button. streams and the simulation solves completely.
3-30
Get Started 3-31
29. Click the KBC Assay Database radio button then click OK.
The dialog window for importing refinery database files will open. This
dialog allows you to select a database file which may hold several
refinery assays. You can then select which assay to import into your
simulation.
30. Click the Browse button and select the existing database file:
Example.adb from the list.
Figure 3.35
3-31
3-32 Refinery Case
31. Click Open once selected to return to the import dialog window.
This particular database file contains two refinery assays: Arab Light
and Brent.
32. Highlight the ARAB_LGT assay from the selections on the left and
its property information will appear on the right of the view.
Figure 3.36
33. Click the Import button to import this refinery assay into your
simulation case.
34. Click the return arrow button on the button bar once to exit the
synthesis environment and then once again to exit the oil
Return arrow environment and return to the Main simulation environment.
button
Typing a new stream name in 35. Add another Refinery Feed operation by following steps 22 to 23
the Product cell will outlined previously.
automatically create a stream
for you on the flowsheet. 36. From the Connection tab, load the Arab Light assay by clicking on
the empty <<Assay>> cell in the Oil Manager group and selecting
ARAB_LGT from the drop down list.
37. Click the Product cell and type the name “Arab Lt 350+” to define
the product stream leaving this operation then press ENTER. A new
stream named Arab Lt 350+ will then be created.
3-32
Get Started 3-33
38. To define the 350°C+ cut of this refinery assay, click the Sources of
Assay tab and then on the Specification page click the Edit
Composition button to open the Change Composition view.
39. Ensure that the TBP Cuts radio button is selected for cut
specification and in the Initial TBP Cut Point cell enter the value
350 (°C).
Figure 3.37
You have just defined an initial true boiling point cut range for this
refinery assay. Only the cuts above 350°C will be included in the
Refinery Feed product stream.
41. To fully define the product stream, click the Product Stream tab
and on the Conditions page enter the following values in the
appropriate cells:
The stream will now flash and become completely solved. You are now
ready to add the Mixer.
3-33
3-34 Refinery Case
Figure 3.38
The Mixer will now completely solve defining a product stream based
on the mixing of these two crude streams.
3-34
Get Started 3-35
Figure 3.39
51. Click on the Worksheet tab and ensure that the Conditions page is
selected.
52. Under To Vac Tower enter value of 10 (kPa) in the Pressure cell and
press ENTER.
With the outlet pressure defined, the Valve will fully solve. The To Vac
Tower stream, now at vacuum conditions, can be used as the feed
stream into a vacuum tower.
3-35
3-36 Refinery Case
The completed Refinery Feed, Mixer and Valve combination will appear
on the flowsheet similar to that shown below:
Figure 3.40
To model the vacuum tower, you will use the Absorber column
template which has no condenser or reboiler, only the tray section. For
this column, the Distop solver method will be used.
3-36
Get Started 3-37
55. Enter the following specifications on the first page of the Input
Expert so that the information appears as shown in Figure 3.41.
• Column Name - click in this cell and type “Vac Tower” to
rename your column.
• Top Stg Reflux - click the Pumparound radio button to define
the top stage reflux using a pumparound on stage 2 (default).
• # Stages - click in this cell and enter a value of 12 for the
number of stages.
• Optional Inlet Streams - select the To Vac Tower stream
from the drop down list and set the Inlet Stage cell to stage 9
(9__TS-1).
• Bottom Stage Inlet - click in this cell and type “Steam” to
define a new steam stream.
• Ovhd Vapor Outlet - click in this cell and type “Ovhd Vap” to
define a new top stage vapor stream.
• Optional Side Draws - first type “LVGO” in this cell and set its
draw stage to 2 (2__TS-1). Next type “HVGO” in the cell below
with a draw stage of 6 (6__TS-1).
• Bottoms Liquid Outlet - click in this cell and type “Bttms Liq”
to define a new bottom stage liquid stream.
Figure 3.41
Set # Stages to 12.
3-37
3-38 Refinery Case
56. Click the Next button to proceed to the next Input Expert window.
57. In the Top Stage Pressure cell enter 4.8 (kPa) in the Bottom Stage
Pressure cell enter 7.5 (kPa).
58. Click the Next button to proceed to the final window of the
Absorber Column Input Expert. For this example, no initial
estimates or pump around specifications are required so leave all
fields blank.
You are now ready to install the second pump around for this column.
The easiest way is to use the Side Operations Input Expert.
59. Click the Side Ops button located at the bottom of the dialog
Side Ops button window. This will allow you to proceed directly to the Side
Operations Input Expert which will assist you in installing the
pump arounds.
60. Ignore the next three pages by clicking Next three times since you
do not need to install any reboilers, strippers or rectifiers for this
column. Stop when you reach the pump around specifications
page as shown in Figure 3.42.
Once you have reached the pump arounds page you are ready to install
the second pump around.
Figure 3.42
3-38
Get Started 3-39
Figure 3.43
Select a return
stage of 5.
Select a draw
stage of 6.
63. Once both pump arounds are installed, click the Next button
several times until you reach the end then click the Done button.
You are now finished with the Input Experts and will be brought to the
column’s property view.
The steam stream must have a composition of 100% water. You can edit
stream composition values directly on the Composition page.
3-39
3-40 Refinery Case
66. Click the Compositions page and in the H20 cell for the Steam
stream, enter the value of 1. Press ENTER and the composition input
dialog will appear allowing you to edit any composition value for
this stream.
67. Click the Normalize button to set all other compositions to zero.
The composition input dialog window will appear as shown in the
following figure.
Figure 3.44
68. Click OK to close this dialog and return to the Worksheet tab.
69. Click the Parameters tab and then select the Solver page.
3-40
Get Started 3-41
70. In the Solving Method group, select Distop from the drop down
Note that the Distop solver
only works with refinery assay list.
streams and has various
unique calibration Figure 3.45
parameters and specifications
found on the Distop tab of the
column view.
You will notice that all the information with the exception of the Solver
Method group has now become greyed and disabled. The Distop solver
is unique from all other standard HYSYS solvers and thus only required
information will be made available, most of which can be found on the
Distop tab.
71. Click the Distop tab and ensure that the General page is selected.
Enter the following specifications so that the information appears
as shown in Figure 3.46.
• Distop Column Type - select Vacuum Column (EFVC) from
the drop down list.
• Top T - enter the value of 50 (°C) in this cell.
• Heat Balance Closure group - click the Overflash radio
button and enter a value of 1.0 for overflash on the feed.
3-41
3-42 Refinery Case
Figure 3.46
Select Vacuum Column (EFVC)
for Distop column type.
Set overflash on
feed to 1.0.
72. Click on the Efficiencies page and in the Efficiencies group, set
section efficiency of all four streams listed to 100 (%).
73. Next, on this same page, set stripper efficiency to 50 (%) for the
Bttm Liq stream only. The Efficiencies group should appear as
shown.
Figure 3.47
Set stripper
efficiency
(residue
section only) to
50 (%)
74. Click on the Pumparounds page and in the Pump Around Specs
group set the percent max heat removal to 100 (%) and 70 (%) for
the first (TopStagePA) and second pump (PA_1) arounds
respectively.
3-42
Get Started 3-43
75. Click on the Product Specs page and define a Strip Steam Ratio of
20 (kg steam/m3)for the Bttms Liq stream only.
Figure 3.48
76. Finally, enter the following values for initial TBP cutpoint on the
feed:
The Flow Specs group should appear as shown in the following figure.
Figure 3.49
If not already solved, click the Run button on the Column view to
converge this column and solve the simulation.
3-43
3-44 Refinery Case
Since the vacuum tower (Vac Tower) uses the Distop solver method, a
number of predefined Distop specifications are accessible.
80. Highlight Case then Vac Tower then Distop TBP Cut Point then
finally HVGO.
Figure 3.50
You are now ready to select Pour Point property for the LVGO stream as
your target variable.
82. Click the Select Var... button in the Target Variable group. The
selection dialog window will appear again.
3-44
Get Started 3-45
83. Highlight Vac Tower then LVGO then Corr Feed Value then finally
Pour Point.
Figure 3.51
Figure 3.52
3-45
3-46 Refinery Case
86. Click the Parameters tab and enter a tolerance of 0.1 (°C) and a
step size of 5 (°C) so that the information appears as shown below
in Figure 3.35. Since minimum and maximum values are optional,
ignore them for this example.
Figure 3.53
87. When you are ready, click the Start button to start the Adjust
operation and re-solve the column to meet this target
specification. You can click the button at this time also to close
the Adjust property view.
3-46
Get Started 3-47
Package Properties are In Section 3.3.2 - Stream Configuration you learned how to activate
property groups with unique Package Properties globally for the entire simulation. You can also
handling characteristics for activate Package Properties locally for an individual stream from its
dealing with property groups
with specific component property view. Using this method, you can view refinery properties for
families. Refinery properties individual streams without affecting the entire simulation.
based on the refinery assay
matrix are one of these unique 88. Open the stream’s property view by double-clicking the HVGO
groups.
stream icon on the flowsheet.
Figure 3.54
This page lets you view calculated values for the various activated
Package Properties. Keep in mind that even if a property is activated, no
value may be listed since the calculated value is outside the allowable
physical range.
90. Click the Stream Property Selection button to open the Package
Property selection dialog window.
3-47
3-48 Refinery Case
91. Open the Refinery tree list and highlight Point to list all available
refinery Point properties. Note that any globally activated
properties will already be activated.
Figure 3.55
92. Activate the following additional Point properties for the HVGO
stream by clicking in their Activate cell:
Kerosene Properties
Conradson Carbon Content
Sulfur
Nickel Content
Vanadium Content
Sodium Content
3-48
Get Started 3-49
The properties just activated will now show the values listed in the
previous table on the Package Properties page for the HVGO stream
only along with the globally activated properties enabled in the
preferences. Inspect these product stream properties at this time. Their
calculated values are listed in the following table.
Congratulations! You have now successfully built your first refinery Get
Started case in HYSYS.
You are now free to explore this case on your own. If you wish, you can
quit HYSYS by doing one of the following:
This concludes the refinery Get Started case. If you would like more
help in understanding HYSYS.Refinery, you are encouraged to review
the Refinery Modeling manual which covers all refinery operations in
detail and the Refinery Oil Manager chapter found in the Simulation
Basis manual which describes the refinery assay synthesis
environment in detail.
3-49
3-50 Refinery Case
3-50