Escolar Documentos
Profissional Documentos
Cultura Documentos
The copyright in this manual and its associated computer program are the property of
AEA Technology - Hyprotech Ltd. All rights reserved. Both this manual and the computer
program have been provided pursuant to a License Agreement containing restrictions on
use.
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.
No part of this manual may be reproduced, transmitted, transcribed, stored in a retrieval
system, or translated into any other language, in any form or by any means, electronic,
mechanical, magnetic, optical, chemical manual or otherwise, or disclosed to third
parties without the prior written consent of AEA Technology Engineering Software,
Hyprotech Ltd., Suite 800, 707 - 8th Avenue SW, Calgary AB, T2P 1H5, Canada.
2000 AEA Technology - Hyprotech Ltd. All rights reserved.
HYSYS, HYSYS.Plant, HYSYS.Process, HYSYS.Refinery, HYSYS.Concept, HYSYS.OTS,
HYSYS.RTO and HYSIM are registered trademarks of AEA Technology Engineering
Software - Hyprotech Ltd.
Microsoft Windows, Windows 95/98, Windows NT and Windows 2000 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:
Sarah-Jane Brenner, BASc; Conrad, Gierer, BASc; Chris Strashok, BSc; Lisa Hugo, BSc, BA;
Muhammad Sachedina, BASc; Allan Chau, BSc; Adeel Jamil, BSc; Nana Nguyen, BSc;
Yannick Sternon, BIng;Kevin Hanson, PEng; Chris Lowe, 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.
www.software.aeat.com
support@software.aeat.com
Info@software.aeat.com
Table of Contents
1
1.2
1.3
2.2
2.3
2.4
3.2
3.3
iii
iv
Welcome to HYSYS
1-1
1 Welcome to HYSYS
We are pleased to present you with the latest version of HYSYS the
product that continually extends the bounds of process engineering
software. With HYSYS you can create rigorous steady-state and
dynamic models for plant design and trouble shooting. Through the
completely interactive HYSYS interface, you have the ability to easily
manipulate process variables and unit operation topology, as well as
the ability to fully customize your simulation using its OLE extensibility
capability.
1.1
Hyprotech Software
Solutions
Integrated
Intuitive and interactive
Open and extensible
1-1
1-2
model topology
interface
thermodynamics
The outer ring represents the modelling 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.
As an engineer you undoubtedly have process modelling requirements
that are not all handled within a single package. The typical solution is
to generate results in one package, then transfer the necessary
information into a second package where you can determine the
additional information. At best, there is a mechanism for exchanging
information through file transfer. At worst, you must enter the
information manually, consuming valuable time and risking the
introduction of data transfer errors. Often the knowledge you gain in
the second application has an impact on the first model, so you must
repeat the whole process a number of times in an iterative way.
In a truly integrated simulation environment all of the necessary
applications work is performed within a common framework,
eliminating the tedious trial-and-error process described previously.
Such a system has a number of advantages:
Welcome to HYSYS
1-3
HYSYS Product
Description
HYSYS.Process
HYSYS.Plant
HYSYS.Refinery
HYSYS.OTS
HYSYS.RTO
HYSYS.Concept
1-3
1-4
1-4
Welcome to HYSYS
1.2
1-5
Description
Get Started
Users Guide
Simulation Basis
Steady State
Modeling
Dynamic Modeling
Customization
Guide
Tutorials
Applications
Quick Reference
1-5
1-6
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.
Since HYSYS is totally interactive, it provides virtually unlimited
flexibility in solving any simulation problem. Keep in mind that the
approach used in solving each example problem presented in the
HYSYS documentation may only be one of the many possible methods.
You should feel free to explore other alternatives.
In order to make use of this powerful searching tool, you must attach
the index file to Acrobat using the following procedure:
1.
2.
1-6
To open the Index Selection view you must do one of the following:
Welcome to HYSYS
3.
1-7
Ensure that the Look in field is currently set to your CD-ROM drive
label. There should be two directories visible from the root
directory: Acrobat and Doc.
Figure 1.2
4.
Open the Doc directory. Inside it you should find the Index.pdx
file. Select it and press the Open button.
Figure 1.3
5.
Other Acrobat 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 FilePrint command under the menu.
1-7
1-8
Keywords
Action
Point
Click
Right-Click
Double-Click
Drag
Tool Tip
1-8
Format
Example
File-Save indicates
opening the File menu and
choosing the Save
command.
Welcome to HYSYS
Format
Example
Session Preferences
Ignored
Column Feed,
CondenserDuty
Inlet Separator,
Atmospheric Tower
HEAT EXCHANGER,
SEPARATOR,
1-9
2.
3.
1-9
1-10
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 1.4
HYSYS Icon
Annotations
Annotation text appears in the
outside page margin.
Text appearing in the outside margin of the page supplies you with
additional or summary information about the adjacent graphic or
paragraph. An example is shown to the left.
1-10
Welcome to HYSYS
1.3
1-11
Technical Support
There are several ways in which you can contact Technical Support. If
you cannot find the answer to your question in the manuals, we
encourage you to visit our Website at www.software.aeat.com, where a
variety of information is available to you, including:
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:
1-11
1-12
Technical Support
1.3.1
Calgary, Canada
AEA Technology Engineering Software
support@software.aeat.com (email)
Hyprotech Ltd.
Calgary, Alberta
T2P 1H5
support@software.aeat.com (email)
support@software.aeat.com (email)
Hyprotech
United Kingdom
sales)
support@software.aeat.com (email)
Malaysia
Yokohama, Japan
AEA Technology Engineering Software
AEA Hyprotech KK
Plus Taria Bldg. 6F.
3-1-4, Shin-Yokohama
1-12
Kohoku-ku
support@software.aeat.com (email)
Yokohama, Japan
222-0033
Welcome to HYSYS
1.3.2
1-13
Offices
Calgary, Canada
Yokohama, Japan
Oxford, UK
Barcelona, Spain
Oudenaarde, Belgium
Dsseldorf, Germany
Hovik, Norway
Cairo, Egypt
Seoul, Korea
1-13
1-14
Technical Support
1.3.3
Agents
International Innotech
Taipei, Taiwan
KBTECH Ltda.
Bogota, Colombia
Tel: 57 1 258 44 50
Fax: 57 1 258 44 50
KLG Systel
New Delhi, India
Logichem Process
Johannesburg, South Africa
Protech Engineering
Bratislava, Slovak Republic
Soteica De Mexico
Mexico D.F., Mexico
Soteica Do Brasil
Sao Paulo, Brazil
Soteica S.R.L.
Buenos Aires, Argentina
Soteiven C.A.
Caracas, Venezuela
ZAO Techneftechim
Moscow, Russia
Internet
Website: www.software.aeat.com
Email: info@software.aeat.com
1-14
Installing HYSYS
2-1
2 Installing HYSYS
2.1
Basic Requirements
System Component
Requirement
Operating System
Disk Space
Serial Port
Parallel Port
Monitor/Video
Mouse
2-1
2-2
Installing HYSYS
2.2
Installing HYSYS
2.
4.
5.
2-2
Installing HYSYS
6.
2-3
2-3
2-4
2.3
The standalone key version of HYSYS checks for the presence of a GREEN
AEA Technology hardware security key on the serial (COM) port of the
computer running the software. If you are using a BEIGE Rainbow
Technologies Inc. NetSentinel-C security key refer to Section 2.4 - The
Network Key Version of HYSYS.
The arrow on the label indicates the proper orientation of the key (the
arrow must point towards the computer). The key can be plugged into
either a 9-pin or 25-pin serial port. AEA Technology ships a 9 to 25-pin
converter with the key but a standard modem cable can also be used.
The ports on the rear of many PCs are unlabelled. For the serial ports (9
or 25-pin) the "pins" of the connector are visible. For the parallel port
and the video port where the monitor is plugged in, a "socket" type
connector can be seen. To prevent damage, all equipment should be
switched off when connecting/disconnecting devices from ports on the
computer.
The security key has limited pass-through capabilities. Certain other
serial peripherals may be connected to the back of the key to allow
non-concurrent use of the security key and the peripheral. Do not plug
a serial mouse into the back of the key. The mouse will operate, but
HYSYS will be unable to find the key.
2.3.1
HYSYS Installation to a
Network Server
2-4
Installing HYSYS
2-5
2.
Set the Start In directory to a directory on the local hard disk (e.g.
C:\AEA Technology\HYSYS). On startup, HYSYS will search this
directory for the user's preferences file (HYSYS.PRF).
3.
4.
Start HYSYS and, from the menu bar, select Tools, then
Preferences.
5.
6.
7.
Select the Save Preference Set button, and direct the file save
operation to the HYSYS working directory on the local disk.
2-5
2-6
2.3.2
2-6
2.
Ensure that a serial mouse is not plugged into the back of the key.
The mouse will work, but HYSYS will not find the security key.
3.
Installing HYSYS
4.
2-7
If HYSYS still cannot see the security key, the two possibilities that
remain are that the key has been de-programmed (they are quite
robust and this rarely occurs) or the serial port of the computer is
non-functional (disabled, misconfigured or suffering from a
hardware problem).
If the opportunity exists, this is a good time to install the software
and key on another computer(s). If HYSYS still cannot see the key
on a second computer, there is a good possibility that the key is
non-functional.
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
new key, the software will display an error message making it
obvious whether or not the key was found. If the key is found by the
software, the error message will be similar to Invalid Serial
Number or This security key is not licensed to run this program.
If the software does not see the key, the error message will be of the
form, Could not find security device. If the key cannot be found
by AEA Technology software on several computers, you should
contact AEA Technology Technical Support for further
information.
If HYSYS is able to see the security key on another computer, then
the problem on the first computer lies with the serial port. Contact
your companys IT personnel for assistance in solving this
problem. Because these problems are machine specific, AEA
Technology's Technical Support staff can be of limited assistance.
These cases and are best handled by on-site personnel.
2-7
2-8
Very rarely, the key and the serial port are proven to be working
properly, but HYSYS is still unable to find the key. In this instance,
try starting the software with a command line option that tells it on
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:
"C:\Program Files\AEA Technology\HYSYS\HYSYS.EXE" -c2
2-8
Installing HYSYS
2.4
2-9
Except for the fact that it searches for a security key on the
network, rather than on a serial port of the local computer, the
network key version of HYSYS is identical to the standalone key
version. Because of the added complexity involved in setting up
the central resource that manages the multi-user network key,
it is recommended that the setup of the network key version of
HYSYS be undertaken by your organization's IT personnel.
The network version of HYSYS uses a BEIGE Rainbow Technologies Inc.
NetSentinel-C security key to allow centralized management of licenses
required to run the application. The key is attached to the parallel port
of a computer on the network (the "keyserver" computer). Keyserver
software is run on that computer to manage requests from HYSYS users
on the network for access to licenses on the key. If you are using a GREEN
AEA Technology hardware security key refer to Section 2.3 - The
Standalone Key Version of HYSYS.
On program startup, the network key version of HYSYS inquires from
the keyserver computer over the network if a license is available. If a
license is available, it is allocated to that user, and the number of
available licenses on the key is decreased by one.
2.4.1
A useful feature with the network key version of HYSYS is the ability to
use the network key as a "standalone" (single-user) HYSYS key. That is,
the key can be used to enable the operation of HYSYS on a single
computer. No network connection or keyserver software is required.
On Windows 2000/NT computers, it is necessary to install the
NetSentinel System Driver Software - see Section - Install the
NetSentinel System Driver Software for more information.
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.
2-9
2-10
1.
2.
3.
4.
2.4.2
2-10
Installing HYSYS
2-11
2-11
2-12
Configuration
Can be run on Windows 2000/NT/98/95.
NSRVGX.EXE
NSSRVICE.EXE
To Install NSRVGX.EXE
1.
2-12
2.
3.
Installing HYSYS
2-13
Description
/BI:<mask>
/DN:<name>
/H:<nnn>
/MS:<nnn>
/N:<name>
/Q
/RI:<num>
/SI:<nnnn>
/SL:<nnnn>
/SN:<nnnn>
/ST
2-13
2-14
Option
Description
/SW<nnnn>
/W:<password>
/TI:<num>
To Install NSSRVICE.EXE
1.
2.
3.
4.
2-14
Installing HYSYS
2-15
Description
/BI:<mask>
/DN:<name>
/H:<nnn>
/MS:<nnn>
/N:<name>
/RI:<num>
/SI:<nnnn>
/SL:<nnnn>
/SN:<nnnn>
/ST
2-15
2-16
Option
Description
/SW:<nnnn>
/W:<password>
/TI:<num>
S/I
/U
/V
2.4.3
HYSYS Installation to a
Network Server
2-16
Installing HYSYS
2-17
2.
Set the Start In directory to a directory on the local hard disk (e.g.
C:\AEA Technology\HYSYS). On startup, HYSYS will search this
directory for the user's preferences file (HYSYS.PRF).
3.
4.
Start HYSYS and, from the menu bar, select Tools, then
Preferences.
5.
6.
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
2.4.4
2-18
Installing HYSYS
2-19
2-19
2-20
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.
It did find a 498D key, but all of the licenses on the key were in use.
2-20
Installing HYSYS
2-21
2-21
2-22
2-22
Get Started
3-1
3 Get Started
The Get Started section gives a quick introduction to HYSYS by
recalling a saved case and illustrating how to manoeuvre around
HYSYS.
2.
3.
Select Hysys.
HYSYS Icon
Now you are ready to begin working with HYSYS. Get Started!
After you start HYSYS, the HYSYS Desktop will appear:
Figure 3.1
Maximize Button
3-1
3-2
Starting HYSYS
Note that this view 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, press the Maximize
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:
1.
Select Preferences from the HYSYS Tools menu, and the Session
Preferences view will open.
Figure 3.2
2.
3-2
Get Started
3.
3-3
4.
Close button.
3-3
3-4
Starting HYSYS
2.
Open the Samples subdirectory and scroll through the list of files
until gstrt-ss.hsc is visible.
3.
3-4
Get Started
3-5
Type a new name, for example MYCASE, in the File name cell. Note
that you do not have to enter the .HSC extension; HYSYS will add it
automatically.
Figure 3.7
3.
Press the Save button, and HYSYS will save your case with the new
name.
3.2
3-5
3-6
Zoom All
button
Maximize button
1.
Stream Fly-By
3-6
Press the Zoom All button to zoom in on all items in the PFD, filling
the resized view.
Get Started
3-7
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:
Figure 3.9
3-7
3-8
The remaining property view tabs and their associated pages are:
Attachments Tab
Unit Ops Page - Lists the unit operation(s) to which the stream
is attached.
Utilities Page - Allows you to create and attach utilities to the
stream.
Dynamics Tab
Specs Page - Applicable only in Dynamic mode. You activate
dynamic specifications on this page.
Close Button
3-8
Once you have finished examining the stream properties, close the view
using the Close 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 accessed before closing the view.
Get Started
3-9
Figure 3.11
3-9
3-10
Figure 3.12
The temperature of
Reactor Prods is
currently 135 oF.
3-10
Get Started
3-11
2.
3.
4.
The temperature change has decreased the required cooling duty to 4.4
MMBTU/hr.
Suppose you want to examine the cooling duty at a number of other
3-11
3-12
2.
3-12
Get Started
2.
3-13
Select Case Studies - Main from the menu to make it the active
view. The case studies view is shown in Figure 3.17:
Figure 3.17
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,
select the Setup button at the bottom of the view. The Case Studies
Setup view will open:
3-13
3-14
Figure 3.18
Leave the Low Bound as its value of 75 oF, and the Step Size as 10oF.
Change the High Bound value to 215 oF. Press 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. The final Case Studies view is shown following.
Figure 3.19
3-14
Get Started
3-15
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 simulation! You can save
your case by doing one of the following:
Save Button
You are now free to explore this case on your own. If you wish, you can
quit HYSYS by doing one of the following:
3.3
Dynamics Case
A dynamic simulation case that models the CSTR reactor from the
Steady State section of Get Started, with the addition of a reactor
control scheme, is presented in this section. To open the case,
1.
Open the Samples directory. Scroll through the list of files until
gstrt-dy.hsc is visible.
3-15
3-16
Dynamics Case
3.
Face plates
Integrator
PFD Button
Controller
As with the Steady State case, you should save this case under a new
name before making any changes.
1.
3-16
2.
Type a new name, for example MYCASE2, in the File Name cell.
Note again that you do not have to enter the .HSC extension;
HYSYS will add it automatically.
3.
Press the Save button and HYSYS will save the simulation case
under its new name.
Get Started
3-17
This case is a dynamic model of the propylene glycol reactor from the
Steady State portion of Get Started. The PFD shows the control scheme
for the reactor, which includes the following three controllers.
Controller
Action
Reactor LC
Reactor TC
Glycol Conc
The face plates for these three controllers are open along the top of the
Desktop. The face plates components are listed in the following table;
Face Plate Field
Description
PV Cell
OP Cell
Controller Mode
Drop-Down
3-17
3-18
Dynamics Case
The face plate for the Reactor LC (level controller) is shown in Figure
3.21:
Figure 3.21
PV cell
Drop-down for
controller modes.
Set Point
indicator
OP cell
In addition to the PFD and controllers, two other views appear on the
DeskTop. They are:
Fill the vessel with water until the level set point is reached, at
which time the Reactor LC controller will open the outlet control
valve to maintain the level.
2.
3-18
Get Started
3-19
Coolant rate
Product temperature
Notice that the reactor level rises linearly as the vessel fills to its set
point of 85%.
3-19
3-20
Dynamics Case
Figure 3.23
Currently the outlet valve is
about 26.5 % open.
Reactor level.
Reactor temperature.
3-20
1.
2.
Type 25, then press ENTER. The control valve for the propylene
oxide feed will open 25%.
3.
4.
5.
After the Current Time has increased by about 70 minutes stop the
Integrator.
Get Started
3-21
Increase in cooling
requirement due to the
reaction.
Propylene
glycol concentration at
3.7%.
If you wish, start the Integrator again and try entering other values for
the OP, such as 40 or 50%, and watch the response.
The next step is to switch the composition controller Glycol Conc to
automatic mode and let it maintain a concentration set point. Use a set
point of 0.25 mole fraction propylene glycol. Before changing the set
point, stop the Integrator again. To change the set point follow the
procedure outlined in Figure 3.25:
3-21
3-22
Dynamics Case
Figure 3.25
After you have entered the new set point, start the Integrator again. The
system will react to the new set point as follows:
If you wish at any time to reset
dynamic calculations and
begin filling the vessel again:
3-22
1.
2.
3.
4.
Get Started
3-23
Figure 3.26
Propylene glycol
concentration at 16.3%.
Feel free to experiment by changing either of the other set points and
watch the response. When you are finished, stop the Integrator.
You have now completed your first dynamic simulation using HYSYS!
Before moving on, you can save your case by doing one of the following:
Save Button
3-23
3-24
Dynamics Case
3-24