refguide (pipesim link)
TRANSCRIPT
-
8/13/2019 RefGuide (Pipesim Link)
1/48
-
8/13/2019 RefGuide (Pipesim Link)
2/48
Copyright Notice
2002 Hyprotech, a subsidiary of Aspen Technology, Inc. All rights reserved.
Hyprotech is the owner of, and have vested in them, the copyright and all other intellectual property rightsof a similar nature relating to their software, which includes, but is not limited to, their 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 theSoftware shall be permitted without prior written consent of Aspen Technology,Inc., Ten Canal Park,Cambridge, MA 02141, U.S.A., save to the extent permitted by law.
Hyprotech reserves the right to make changes to this document or its associated computer programwithout obligation to notify any person or organization. Companies, names, and data used in examplesherein are fictitious unless otherwise stated.
Hyprotech does not make any representations regarding the use, or the results of use, of the Software, interms of correctness or otherwise. The entire risk as to the results and performance of the Software isassumed by the user.
HYSYS, HYSIM, and HTFS are registered trademarks of Hyprotech.
PIPESIM2000 and PIPESIM are components of the PIPESIM Suite from Baker Jardine and Associates,London, England. All references to PIPESIM in this document refer to PIPESIM 2000.
Microsoft Windows, Windows 95/98, Windows NT, Windows 2000, Visual Basic, and Excel are registeredtrademarks of the Microsoft Corporation.
Documentation Credits
Authors of the current release, listed in order of historical start on project (2001-2002):
Tania Hercun; Chris Strashok, BSc; Trevor Tonkin, MI ChemE, CEng; Andy Howell, MA.
Since software is always a work in progress, any version, while representing a milestone, is nevertheless buta 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. Aspecial thanks is also extended by the authors to everyone who contributed through countless hours ofproof-reading and testing.
Contacting Hyprotech
Hyprotech can be conveniently accessed via the following:
Web site: www.hyprotech.com
Information and Sales: [email protected]
Documentation: [email protected]
Training: [email protected]
Technical Support: [email protected]
Detailed information on accessing Technical Support can be found in the Technical Supportsection of theGet Startedmanual.
PIPESIM-NOV02-O
http://www.hyprotech.com/mailto:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]:[email protected]://www.hyprotech.com/ -
8/13/2019 RefGuide (Pipesim Link)
3/48
iii
Table of Contents
1 Overview......................................................................1-1
1.1 Introduction ...........................................................................1-3
1.2 How This Manual Is Organized.............................................1-4
1.3 Disclaimer .............................................................................1-5
2 Installation ..................................................................2-1
2.1 System Requirements ..........................................................2-3
2.2 Software Requirements ........................................................2-32.3 Installing PIPESIM Link ........................................................2-4
3 PIPESIM Link View......................................................3-1
3.1 Introduction ...........................................................................3-3
3.2 PIPESIM Link Features ........................................................3-4
3.3 Adding the PIPESIM Link .....................................................3-5
3.4 PIPESIM Link User Interface................................................3-6
3.5 Main PIPESIM Link View......................................................3-7
4 PIPESIM Link Tutorial .................................................4-1
4.1 Introduction ...........................................................................4-3
4.2 Flowsheet Set-Up .................................................................4-4
4.3 Adding the PIPESIM Link Extension.....................................4-5
4.4 Importing the PIPESIM Case................................................4-7
4.5 Plotting your PIPESIM Data................................................4-10
Index.............................................................................I-1
-
8/13/2019 RefGuide (Pipesim Link)
4/48
iv
-
8/13/2019 RefGuide (Pipesim Link)
5/48
Overview 1-1
1-1
1 Overview
1.1 Introduction......................................................................................3
1.2 How This Manual Is Organized.......................................................4
1.3 Disclaimer.........................................................................................5
-
8/13/2019 RefGuide (Pipesim Link)
6/48
1-2 Overview
1-2
-
8/13/2019 RefGuide (Pipesim Link)
7/48
Overview 1-3
1-3
1.1 IntroductionWe are pleased to introduce the PIPESIM Single Branch Extension to
HYSYS - the first and only commercial coupling between petroleum and
process simulation. This extension is a result of a collaborative
development between Hyprotech and Baker Jardine. Together we are
working on a vision of Total Hydrocarbon Asset Management.
Examining the sensitivity of production and process systems
simultaneously or performing production system optimization can
yield significant production benefits, sometimes as high as 15%
increases in production. We at Hyprotech and Baker Jardine aim to bring
you the commercial software tools to achieve these gains.
Hyprotech and Baker Jardine have announced an alliance aimed at
producing the first fully integrated, commercial Production System
Model. In this, the first product from our alliance, Baker Jardines
industry leading wellbore, tubing, and flowline simulation software,
PIPESIM, has been coupled into Hyprotechs HYSYS simulation
environment, allowing for the development of models from well
description through the entire process production facilities sharing
common PVT descriptions from the HYSYS thermodynamics.
Existing PIPESIM production models of wells, flowlines, and risers can
be imported into the HYSYS environment and used seamlessly as aHYSYS unit operation using the power of the PIPESIM engine in the
background. This first release is limited to a serial string of devices
within the PIPESIM model where there is no change in composition; all
composition changes are handled within the HYSYS environment.
However, one can add multiple PIPESIM extensions to any HYSYS
simulation.
-
8/13/2019 RefGuide (Pipesim Link)
8/48
1-4 How This Manual Is Organized
1-4
1.2 How This Manual Is OrganizedThis user manual is a comprehensive guide that details all the
procedures you need to work with the PIPESIM Link extension. To help
you learn how to use PIPESIM Link efficiently, this manual thoroughly
describes the views and capabilities of the PIPESIM Link as well as
outlining the procedural steps needed for running the extension. The
basics of building a simple PIPESIM Link model is explored in the
tutorial (example) problem. The case is presented as a logical sequence
of steps that outline the basic procedures needed to build a PIPESIM
Link case.
This manual also outlines the relevant parameters for defining the entireextension and its environment. Each view is defined on a page-by-page
basis to give you a complete understanding of the data requirements for
the components and the capabilities of the extension.
The PIPESIM Link Users Guide does not detail HYSYS procedures and
assumes that you are familiar with the HYSYS environment and
conventions. If you require more information on working with HYSYS,
please see HYSYS Manuals.Here you will find all the information you
require to set up a case and work efficiently within the simulation
environment. If you require more information regarding PIPESIM 2000
please refer to the PIPESIM 2000 reference manuals.
-
8/13/2019 RefGuide (Pipesim Link)
9/48
Overview 1-5
1-5
1.3 DisclaimerPIPESIM Link is the proprietary software developed jointly by
Hyprotech Ltd. (hereafter known as Hyprotech) and Baker Jardine &
Associates Limited (hereafter known as Baker Jardine).
Neither Hyprotech nor Baker Jardine make any representations or
warranties of any kind whatsoever with respect to the contents hereof
and specifically disclaims without limitation any and all implied
warranties of merchantability of fitness for any particular purpose.
Neither Hyprotech nor Baker Jardine will have any liability for any errors
contained herein or for any losses or damages, whether direct, indirect
or consequential, arising from the use of the software or resulting fromthe results obtained through the use of the software or any disks,
documentation or other means of utilisation supplied by Hyprotech or
Baker Jardine.
Hyprotech and Baker Jardine reserve the right to revise this publication
at any time to make changes in the content hereof without notification
to any person of any such revision or changes.
-
8/13/2019 RefGuide (Pipesim Link)
10/48
1-6 Disclaimer
1-6
-
8/13/2019 RefGuide (Pipesim Link)
11/48
Installation 2-1
2-1
2 Installation
2.1 System Requirements.....................................................................3
2.2 Software Requirements...................................................................3
2.3 Installing PIPESIM Link...................................................................4
2.3.1 PIPESIM Link Extension Installation ........................................4
2.3.2 Using the PIPESIM Link...........................................................6
-
8/13/2019 RefGuide (Pipesim Link)
12/48
2-2 Installation
2-2
-
8/13/2019 RefGuide (Pipesim Link)
13/48
Installation 2-3
2-3
2.1 System RequirementsPIPESIM Link has the following fundamental system requirements.
2.2 Software RequirementsThe PIPESIM Link Extension runs as a plug-in to HYSYS. That is, it is
uses the HYSYS interface and property packages to build a simulation
and is accessed in the same manner as a HYSYS unit operation.
Therefore, to run the HYSYS-PIPESIM Link you are required to have
HYSYS - Version 2.4or later.
System Component Requirement
Operating System Microsoft Windows 2000/NT 4.0/98/95
Disk Space Approximately 6 MB of free disk space is required.
Serial Port The green security key is used with the standalone version ofHYSYS and can only be attached to a serial communicationsport of the computer running the application (do not plug in aserial mouse behind the security key).
Parallel Port SLM keys are white Sentinel SuperPro keys, manufactured byRainbow Technologies. The Computer ID key is installed on the
parallel port (printer port) of your computer. An arrow indicateswhich end should be plugged into the computer. This is thenew key that is used for both Standalone and Network versionsof HYSYS.
Monitor/Video Minimum usable: SVGA (800x600).
Recommended: SVGA (1024x768).
Mouse Required. Note that a mouse cannot be plugged into the backof the green serial por t key used with the standalone versionof HYSYS.
The green and SLM securitykeys are required to runHYSYS.
HYSYS Version 2.4 or lateris required.
-
8/13/2019 RefGuide (Pipesim Link)
14/48
2-4 Installing PIPESIM Link
2-4
2.3 Installing PIPESIM Link
2.3.1 PIPESIM Link Extension InstallationThe following instructions relate to installing the PIPESIM Link as an
extension to HYSYS. HYSYS and PIPESIM2000 must be installed prior to
installing the PIPESIM Link Extension.
1. Shut down all other operating Windows programs on the computerbefore starting the installation process.
2. Insert the HYSYS-PIPESIM Link software CD into the CD-ROM drive
of the computer.
3. From the Start Menu, select Run
4. In the Runview, type: d:\setup.exeand click on theOKbutton(where d:corresponds to the drive letter of the CD-ROM drive).
For computers which have the CD-ROM Autorun feature enabled, steps#3 and #4 are automatically performed.
For instructions on installingHYSYS refer to Chapter 1 -Installing HYSYSof theHYSYS Get Started.
For instructions on installingPIPESIM refer to thePIPESIM documentation.
http://../HYSYS/GetStart.pdfhttp://../HYSYS/GetStart.pdfhttp://../HYSYS/GetStart.pdfhttp://../HYSYS/GetStart.pdf -
8/13/2019 RefGuide (Pipesim Link)
15/48
Installation 2-5
2-5
5. Select HYSYS_PIPESIM from the following view to start theinstallation.
6. The first view that appears welcomes you to the installationprogram and displays the name of the application you are trying toinstall. If all of the information is correct click the Nextbutton.
7. Specify a destination folder where the setup will install the HYSYS-
PIPESIM Link files. If you do not want to install the application inthe default directory use the Browsebutton to specify the new path.
When the information is correct click the Nextbutton.
8. The following view is the HYSYS-PIPESIM Link selection. You havethe option to select either a Typical or Custom installation. When
your selection has been chosen click the Nextbutton.
9. The installation program will then allow you to review theinformation that you have provided. If all of the information iscorrect click the Nextbutton. HYSYS will then begin installing filesto your computer.
10. During installation you will be prompted to select a location for the
work file folder. If you do not want to install the folder in the defaultdirectory use the Browsebutton to specify the new path. Notice thisdirectory must be writeable. During a modeling session numerous
workfiles will be managed in this folder. When the information iscorrect click the Nextbutton.
Figure 2.1
-
8/13/2019 RefGuide (Pipesim Link)
16/48
2-6 Installing PIPESIM Link
2-6
11. Once all files have been transferred to their proper locations theinstallation program will register the PIPESIM Link extension withHYSYS. Click Finishto complete the installation.
2.3.2 Using the PIPESIM LinkYou can work with PIPESIM Link only as it exists as part of a HYSYS case.
Extensions that are part of an existing case can be accessed upon
entering HYSYS Main Simulation Environment. Here you can view and
manipulate them as you would any HYSYS unit operation.
Before creating a new PIPESIM Link Extension you are required to be
working within a HYSYS case that has as a minimum of a fluid package,
consisting of a property package and components. New PIPESIM Link
Extensions are added within the Main Simulation Environment from the
UnitOpsview, which lists all the available Unit Operations.
To create a new PIPESIM Link Extension, select PIPESIM Link Extension
in the list of Available Unit Operations as shown above. Click theAdd
button and a new PIPESIM Link Extension will appear on the screen.
Figure 2.2
For additional information onthe properties of HYSYS UnitOperations, refer to theOperations Guide.
-
8/13/2019 RefGuide (Pipesim Link)
17/48
Installation 2-7
2-7
The initial PIPESIM Link view is the Connections Pageand it is shown in
the figure below.
To view any other pages of the PIPESIM Link operation view, simply
click on the tab of the desired page and the view will switch to the
selected page.
Figure 2.3
-
8/13/2019 RefGuide (Pipesim Link)
18/48
2-8 Installing PIPESIM Link
2-8
-
8/13/2019 RefGuide (Pipesim Link)
19/48
PIPESIM Link View 3-1
3-1
3 PIPESIM Link View
3.1 Introduction......................................................................................3
3.2 PIPESIM Link Features....................................................................4
3.3 Adding the PIPESIM Link................................................................5
3.4 PIPESIM Link User Interface...........................................................6
3.5 Main PIPESIM Link View .................................................................7
3.5.1 Design Tab ...............................................................................8
3.5.2 Performance Tab ....................................................................12
3.5.3 Worksheet Tab .......................................................................15
-
8/13/2019 RefGuide (Pipesim Link)
20/48
3-2 PIPESIM Link
3-2
-
8/13/2019 RefGuide (Pipesim Link)
21/48
PIPESIM Link View 3-3
3-3
3.1 IntroductionThePIPESIM Link Extensionis a unit operation for using the PIPESIM
software package used to simulate pipeline systems within the HYSYS
framework. The PIPESIM Link functions in the same manner as any
HYSYS unit operation or application in terms of its layout and data entry
methods. The view consists of 3 worksheet tabs. At the bottom of each
worksheet is a status bar which guides data entry and indicates required
information, as well as indicating the status of the PIPESIM simulation
once the calculation has been initialized.
PIPESIM has a comprehensive suite of methods and correlations for
modeling single and multi-phase flow in production equipment and iscapable of accurately simulating a wide range of conditions and
situations. You have the option of using the default correlations for the
PIPESIM calculations, or specifying your own set from the list of
available methods for each parameter. Any change to the PIPESIM
models must be done from within the PIPESIM environment.
PIPESIM is fully compatible with all of the gas, liquid, and gas/liquid
fluid packages in HYSYS. You can combine PIPESIM and HYSYS objects
in any configuration during the construction of a HYSYS flowsheet.
PIPESIM objects can be inserted at any point in the flowsheet where
single or multi-phase pipe flow effects must be accounted for in theprocess simulation.
-
8/13/2019 RefGuide (Pipesim Link)
22/48
3-4 PIPESIM Link Features
3-4
3.2 PIPESIM Link FeaturesThe PIPESIM Link extension is functionally equivalent to a HYSYS
flowsheet operation. It is installed in a flowsheet and connected to
material streams. Unlike a standard pipe segment an energy stream is
not supported. All PIPESIM Link Extension properties are accessed and
changed through a set of property views that are simple and convenient
to use. Chief among these, and the starting point for the definition of a
PIPESIM Link Operation, is the main PIPESIM Link view.
The main PIPESIM Link view is where the inlet and outlet material
streams are specified. The Inlet Object and Outlet Object fields are read
only. These fields are blank when the extension is first installed. Oncethe PIPESIM Link model has been selected, via the Model page, the
names of the boundary objects within the PIPESIM Link model will be
displayed
The following specifications are supported in addition to the inlet
temperature that must always be specified.
Inlet flow and inlet pressure.
Inlet flow and outlet pressure.
Inlet pressure and outlet pressure.
The HYSYS specifications will always override any specifications made
within the PIPESIM model.
The following restrictions may surprise experienced HYSYS users:
An outlet flow specification is not the same as an inlet flowspecification since the PIPESIM Link model may manipulate theflow such that inlet does not equal outlet flow.
Negative flowrate cases are not supported for modeling reverseflow.
-
8/13/2019 RefGuide (Pipesim Link)
23/48
PIPESIM Link View 3-5
3-5
3.3 Adding the PIPESIM Link
Adding a PIPESIM Link Extension to a HYSYS CaseCarry out the following steps to add a PIPESIM Link Operation to a
HYSYS case:
1. Your first task is to create a HYSYS case suitable for the addition ofthe PIPESIM Link Extension. As a minimum, you must create a case
with a fluid package and two material streams.
2. With the case open, select Add Operation command from theFlowsheetmenu. In the UnitOps view, select the Extensionsradio
button and select the PIPESIM Linkfrom the Available UnitOperations group. Click theAddbutton.
3. Select material streams from the Inlet and Outlet drop-down lists onthe Connectionspage of the PIPESIM Link view. If you have not yetinstalled these streams in the case, they can be created by directlyentering their names on the Connectionspage. To define the streamconditions, right-click on the name and selectViewcommand fromthe Object Inspect menu.
Following these steps allows you to complete the installation of aPIPESIM Link Extension. Once the calculations are complete the Object
Status bar will be green and state OK.
Figure 3.1
For further details oncreating a HYSYS case,refer to the HYSYS manuals
-
8/13/2019 RefGuide (Pipesim Link)
24/48
3-6 PIPESIM Link User Interface
3-6
3.4 PIPESIM Link User InterfaceThe PIPESIM Link user interface is completely integrated into the
HYSYS environment and conforms to all HYSYS usage conventions for
operations and data entry. If you are an experienced user of HYSYS, you
will already be familiar with all of the features of the PIPESIM Link user
interface. If you are a new user, you should begin by studying the HYSYS
Reference Manuals, since you will need to learn more about HYSYS
before you can use the PIPESIM Link Extension.
Like all HYSYS property views, PIPESIM Link property view allow access
to all of the information associated with a particular item. The view has
a number of tabs and on each tab are pages of related parameters.
Figure 3.2
-
8/13/2019 RefGuide (Pipesim Link)
25/48
PIPESIM Link View 3-7
3-7
3.5 Main PIPESIM Link ViewThe main PIPESIM Link view is the first view that appears when adding
a PIPESIM Link operation to a HYSYS flowsheet. This view provides you
with a place to enter the data that defines the basic characteristics of a
PIPESIM Link operation.
The main PIPESIM Link view is the starting point for the definition of
any PIPESIM Link operation. When you select Add Operation command
in the Flowsheet menu from the menu bar and then select PIPESIM Link
extension, the main PIPESIM Link view will appear and be ready to
accept input. You must then select each of the tabs on the main PIPESIM
Link view and complete them as required.
Figure 3.3
-
8/13/2019 RefGuide (Pipesim Link)
26/48
3-8 Main PIPESIM Link View
3-8
3.5.1 Design TabThis tab is used to define the connections between the HYSYS
simulation case and the PIPESIM Link operation, to import and export
PIPESIM cases and to view the basis for tabular physical properties.
Connection PageThe Connection page allows you to select the input and output material
streams using the drop-down list or by directly entering new material
streams. You can also enter a name for the operation using theName
field.
TheIgnore this UnitOp During Calculationscheckbox can be checked if
you want to disable the concurrent calculation of intermediate results
during data entry.
Model PageFrom the Model page you are able to import, export, and edit a PIPESIM
model.
Figure 3.4
This setting is recommendedif you have a slow computerand data processing isslowing down the entryprocess or if you want to delaythe calculations until you haveentered all of your data.
-
8/13/2019 RefGuide (Pipesim Link)
27/48
PIPESIM Link View 3-9
3-9
The Original PIPESIM Model field is read only and echoes the original
path and file name of the model that is imported via the Import button.
It is important to note that this field is for documentation purposes only
since the model is embedded within the HYSYS model rather than
referenced at the location in this field. It may be empty if the model has
been created from within the link, rather than by importing an existing
PIPESIM model.
The Import button allows you to import an existing PIPESIM model.
Clicking the Import button opens the standard Window file picker view
that allows model selection. Only single branch models identified by the
*.bps extension can be selected.
The Edit Model button loads and runs the PIPESIM2000 GUI with the
current model. If a model has not been imported then the PIPESIM2000GUI contains an empty model. When the GUI is loaded, a work file
name appears in the caption bar. The model can be freely edited, but in
order for changes to be reflected in the HYSYS flowsheet, it must be
saved under the same file name.
Figure 3.5
-
8/13/2019 RefGuide (Pipesim Link)
28/48
3-10 Main PIPESIM Link View
3-10
The PIPESIM2000 GUI appears modally, so HYSYS does not continue its
calculation until the GUI is closed. The PIPESIM model is saved with the
HYSYS case and not recorded stand alone.
The Export button allows you to make a copy of the PIPESIM model
reflecting any changes made since importing it. Clicking the Export
button opens the standard Windows file picker view that allows
selection of the file name. Only single branch models identified by the
*.bps extension can be selected. Notice that only the configuration of the
pipes and nodes will be changed. The source composition data is not
changed to reflect the current composition of the feed stream in the
HYSYS flowsheet.
PVT PageThe PIPESIM model solves using tabular physical properties generated
by the chosen HYSYS property package. This table defines the extents
and granularity of the table. The table is regenerated using the current
feed composition each time the link resolves. A maximum of 20 pressure
and 20 temperature points can be specified.
Because the PVT table corresponds to a single composition, the
PIPESIM model may not contain any unit operations that change the
compositions of the fluid. Thus the following restrictions apply:
Vapour/Liquid separators are not supported.
Well completions cannot use gas lift.
If any of these constraints are violated the status bar gives an
appropriate indication and the link will not attempt to solve.
-
8/13/2019 RefGuide (Pipesim Link)
29/48
PIPESIM Link View 3-11
3-11
The Set to Default button sets the values of the pressure and
temperature points to correspond to the internal PIPESIM default
values. Calculations does not start unless the data is in ascending order.
Use the Sort button if this is not the case.
The Export button exports the PVT table file for stand alone use with
PIPESIM.
Figure 3.6
-
8/13/2019 RefGuide (Pipesim Link)
30/48
3-12 Main PIPESIM Link View
3-12
3.5.2 Performance TabThe Performance tab contains two pages that allow you to view a table
of the profile data and to view the traditional PIPESIM output.
Profiles PageThe Profiles page displays a tabular view of the profile data for the
following key variables vs. axial distance along the pipe: Mass Flow,
Pressure, Temperature, Holdup (actual volumetric) and Velocity.
Figure 3.7
-
8/13/2019 RefGuide (Pipesim Link)
31/48
PIPESIM Link View 3-13
3-13
PIPESIM Page
The PIPESIM page displays the traditional PIPESIM output. The type ofview can be chosen by selecting one of the following view radio buttons:
None. Select this if the link is within a recycle and/or adjust loopto minimise the overhead of importing the results files into thedisplay widget.
Output File.
Summary File.
Pipe profiles can also be viewed by clicking the PSPLOT button on the
PIPESIM page. The PSPLOT button loads and run the PIPESIM plotting
utility.
Figure 3.8
-
8/13/2019 RefGuide (Pipesim Link)
32/48
3-14 Main PIPESIM Link View
3-14
The PIPESIM plotting utility can be used to display any of the profile
results that have been calculated by PIPESIM.
The PSPLOT appears modally, so HYSYS does not continue its
calculations until PSPLOT is closed.
Figure 3.9
-
8/13/2019 RefGuide (Pipesim Link)
33/48
PIPESIM Link View 3-15
3-15
3.5.3 Worksheet TabThe Worksheet tab allows you to directly edit the material streamsthat
are attached to the PIPESIM Link operation without having to open the
material streams property views.
Figure 3.10
-
8/13/2019 RefGuide (Pipesim Link)
34/48
3-16 Main PIPESIM Link View
3-16
-
8/13/2019 RefGuide (Pipesim Link)
35/48
PIPESIM Link Tutorial 4-1
4-1
4 PIPESIM Link Tutorial
4.1 Introduction......................................................................................3
4.2 Flowsheet Set-Up.............................................................................4
4.3 Adding the PIPESIM Link Extension..............................................5
4.4 Importing the PIPESIM Case ..........................................................7
4.5 Plotting your PIPESIM Data ..........................................................10
-
8/13/2019 RefGuide (Pipesim Link)
36/48
4-2 PIPESIM Link
4-2
-
8/13/2019 RefGuide (Pipesim Link)
37/48
PIPESIM Link Tutorial 4-3
4-3
4.1 IntroductionThe purpose of this procedure is to insert a PIPESIM pipeline into
HYSYS that has a series of connecting components. In this example, you
will go through the steps to importing a PIPESIM model into HYSYS. All
units of measurement in this example are SI, but feel free to change
these to whatever unit system you are accustomed to using
For this case, a simple PIPESIM pipeline consisting of a fluid source, a
tubing, a choke, a flowline, an operator, a second flowline, and a riser
will be imported into HYSYS. The figure below shows the PIPESIM
piping schematic of the system.
Figure 4.1
-
8/13/2019 RefGuide (Pipesim Link)
38/48
4-4 Flowsheet Set-Up
4-4
4.2 Flowsheet Set-UpBefore working with the PIPESIM Link Extension, you must first create a
HYSYS case.
1. In the Simulation Basis Manager, create a fluid package using thePeng Robinsonequation of state. Add the components methane,ethane, propane, i-butane, n-butane, i-pentane, n-pentane, n-hexane, nitrogen, carbon dioxide, and hydrogen sulfide.
2. Create a stream called Inletin the main Simulation Environmentand define it as follows:
Property Package Components
Peng Robinson C1, C2, C3, i-C4, n-C4, i-C5, n-C5, C6, Nitrogen, CO2, H2S
Name Inlet
Temperature [C] 150
Pressure [kPa] 16000
Molar Flow [kgmole/h] 360
Comp Mole Frac [methane] 0.7540
Comp Mole Frac [ethane] 0.1696
Comp Mole Frac [propane] 0.0410
Comp Mole Frac [i-Butane] 0.0068
Comp Mole Frac [n-Butane] 0.0100Comp Mole Frac [i-Pentane] 0.0028
Comp Mole Frac [n-Pentane] 0.0026
Comp Mole Frac [n-Hexane] 0.0060
Comp Mole Frac [Nitrogen] 0.0066
Comp Mole Frac [CO2] 0.0003
Comp Mole Frac [H2S] 0.0003
-
8/13/2019 RefGuide (Pipesim Link)
39/48
PIPESIM Link Tutorial 4-5
4-5
4.3 Adding the PIPESIM LinkExtension
Once the case is created, the PIPESIM Link Extension can be added.
1. Go to the UnitOpstab in the Workbook view and click theAddUnitOpbutton.
2. From the Available Unit Operations list, select PIPESIM Linkandclick theAddbutton.
Figure 4.2
-
8/13/2019 RefGuide (Pipesim Link)
40/48
4-6 Adding the PIPESIM Link Extension
4-6
3. On the Connectionstab complete the form as shown in the figurebelow.
Figure 4.3
-
8/13/2019 RefGuide (Pipesim Link)
41/48
PIPESIM Link Tutorial 4-7
4-7
4.4 Importing the PIPESIM Case1. Select the Modelpage on the Designtab of the PIPESIM Link view.
Click the Importbutton and select the location of the PIPESIMmodelwellmodel.bps.
2. To activate and/or to make changes to the PIPESIM model, click theEdit Modelbutton.
For the pipe to solve the PVT physical properties must be specified. A
maximum of 20 temperature and 20 pressure points can be specified or
defaults pressure and temperature points that correspond to the
internal PIPESIM can be selected by clicking the Set to Defaultbutton.
Figure 4.4
-
8/13/2019 RefGuide (Pipesim Link)
42/48
4-8 Importing the PIPESIM Case
4-8
3. Click the Set To Defaultbutton on the PVT page of the DesignTab.
4. The HYSYS case will run and the stream results will appear as shownin the figure below.
5. Save your completed case as PIPESIM1.hsc.
Figure 4.5
Figure 4.6
-
8/13/2019 RefGuide (Pipesim Link)
43/48
PIPESIM Link Tutorial 4-9
4-9
The PFD generated for the completed case, plus a material stream table
is shown below:
Figure 4.7
To add a table to a PFD,right-click on the PFD andselect Add Workbook Tablecommand from the ObjectInspect menu.
-
8/13/2019 RefGuide (Pipesim Link)
44/48
4-10 Plotting your PIPESIM Data
4-10
4.5 Plotting your PIPESIM Data1. On the Performancetab, select the PIPESIMpage.
2. Click the PSPLOTbutton to view a plot of your PIPESIM data.
When your plot opens you will see a plot of pressure vs. time.
3. To add temperature to your plot open the Editmenu and click thePlot Setupcommand.
4. Click theAddbutton to add a new series to your plot. Select the Lineplot type and click the OKbutton.
5. Click Closethe exit the Plot Setup view.
Figure 4.8
-
8/13/2019 RefGuide (Pipesim Link)
45/48
PIPESIM Link Tutorial 4-11
4-11
6. Click the Seriesmenu to assign data to your new series.
7. From the Select Right Y Axis drop-down list select Temperature (C)and then click the OKbutton.
Figure 4.9
-
8/13/2019 RefGuide (Pipesim Link)
46/48
4-12 Plotting your PIPESIM Data
4-12
When you are finished making these changes your plot will look like this.
Figure 4.10
-
8/13/2019 RefGuide (Pipesim Link)
47/48
I-1
C
Connections Page 3-8
E
Elevation Profile
Defining 4-7
F
Features 3-4
I
Installation 2-1, 2-4
M
Main PIPESYS View 2-7, 3-7
P
PIPESYS and HYSYS
Adding PIPESYS 3-5
R
Requirements
Software 2-3
System 2-3
U
User Interface 3-6
W
Worksheet Page 3-12
Index
-
8/13/2019 RefGuide (Pipesim Link)
48/48
I-2