Professional Documents
Culture Documents
Pipephase 9.2: Getting Started Guide
Pipephase 9.2: Getting Started Guide
Pipephase 9.2: Getting Started Guide
2
Getting Started Guide
PIPEPHASE 9.2 Getting Started Guide The software described in this guide is furnished under a written
agreement and may be used only in accordance with the terms
and conditions of the license agreement under which you
obtained it. The technical documentation is being delivered to
you AS IS and Invensys Systems, Inc. makes no warranty as to
its accuracy or use. Any use of the technical documentation or
the information contained therein is at the risk of the user and
their individual skill or ability. Invensys Systems, Inc. reserves
the right to make documentation changes without prior notice or
obligation to distribute.
Copyright Notice © 2007 Invensys Systems, Inc. All rights reserved. No part of
the material protected by this copyright may be reproduced or
utilized in any form or by any means, electronic or mechanical,
including photocopying, recording, broadcasting, or by any
information storage and retrieval system, without permission in
writing from Invensys Systems, Inc.
Trademarks PIPEPHASE, NETOPT, and Invensys SIMSCI-ESSCOR are trade-
marks of Invensys plc, its subsidiaries and affiliates.
TACITE is a trademark of Institut Français du Petrole (IFP).
OLGAS 1.1, OLGAS TWO-PHASE, and OLGAS THREE-PHASE are
trademarks of SCANDPOWER A/S.
Windows 98, Windows ME, Windows NT, Windows 2000,
Windows XP, Windows 2003, and MS-DOS are trademarks of
Microsoft Corporation.
Compaq Visual Fortran is a trademark of Compaq Computer
Corporation.
Adobe, Acrobat, Exchange and Reader are trademarks of Adobe
Systems, Inc.
All other products noted herein are owned by respective
companies.
Introduction
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
About PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
About SIMSCI - ESSCOR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Where to find Additional Help . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi
Other Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .viii
Chapter 1
Installation Requirements
Verifying the Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
USB Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
FLEXlm7.2 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
FLEXlm9.5 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
TOKEN Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
Switching Security Types . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Chapter 2
Installing PIPEPHASE
PIPEPHASE Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Installing a Standalone Version . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Directory Structures and Desktop Icons . . . . . . . . . . . . . . . . . . . .2-4
PIPEPHASE Installation Directory (Typical) . . . . . . . . . . . . .2-4
Installing a Network Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
Option 1: Install all Files onto a Network File Server . . . . . .2-7
Chapter 3
Installation Troubleshooting
Diagnosis of Issues with TOKEN and FLEXlm 7.2/9.5 Security . 3-1
Diagnosis of USB Security Problems . . . . . . . . . . . . . . . . . . . . . 3-11
General License Security questions. . . . . . . . . . . . . . . . . . . . . . . 3-16
Chapter 4
Getting Started
Starting PIPEPHASE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Exiting PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Manipulating the PIPEPHASE Window . . . . . . . . . . . . . . . . . . . . 4-3
Changing Window Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Working with On-screen Color Coding Cues . . . . . . . . . . . . . . . . 4-3
Using the Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
Choosing a Menu Item . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Using the Toolbar Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Using the File Manipulation Buttons . . . . . . . . . . . . . . . . . . . 4-6
Using the Structure and Unit Operation Buttons . . . . . . . . . . 4-6
Using the Calculation Option, Optimization, and Property
Buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Using the Zoom and Redraw Buttons. . . . . . . . . . . . . . . . . . . 4-7
Using PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Defining the Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Global Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Defining Fluid Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Defining Properties for Compositional Fluids . . . . . . . . . . . 4-14
Defining Properties for Non-compositional Fluids . . . . . . . 4-20
Defining Properties for Mixed Compositional/
Non-Compositional Fluids . . . . . . . . . . . . . . . . . . . . . . . . . . 4-23
iv Contents
Generating and Using Tables of Properties. . . . . . . . . . . . . .4-24
Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-24
Structure of Network Systems. . . . . . . . . . . . . . . . . . . . . . . .4-25
PIPEPHASE Flow Devices. . . . . . . . . . . . . . . . . . . . . . . . . .4-28
Pressure Drop Calculations . . . . . . . . . . . . . . . . . . . . . . . . . .4-30
Equipment Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-37
Heat Transfer Calculations . . . . . . . . . . . . . . . . . . . . . . . . . .4-40
Sphering or Pigging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-41
Reservoirs and Inflow Performance Relationships . . . . . . . .4-41
Production Planning and Time-stepping . . . . . . . . . . . . . . . .4-42
Subsurface Networks and Multiple Completion Modeling .4-44
Case Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-47
Nodal Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-49
Starting the PIPEPHASE Results Access System (RAS) . . . . . .4-53
Starting the PIPEPHASE Excel Report . . . . . . . . . . . . . . . . . . . .4-55
Chapter 5
Tutorial
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-1
Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-1
Building the Network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-3
Entering Optimization Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-20
Specifying Print Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-28
Running the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-29
Viewing and Plotting Results. . . . . . . . . . . . . . . . . . . . . . . . . . . .5-30
Using the RAS to Plot Results . . . . . . . . . . . . . . . . . . . . . . . . . . .5-31
Generate and View Excel Report. . . . . . . . . . . . . . . . . . . . . . . . .5-33
Including Operating Costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5-34
Index
About PIPEPHASE
PIPEPHASE is a simulation program which predicts steady-state
pressure, temperature, and liquid holdup profiles in wells, flow-
lines, gathering systems, and other linear or network configurations
of pipes, wells, pumps, compressors, separators, and other facilities.
The fluid types that PIPEPHASE can handle include liquid, gas,
steam, and multiphase mixtures of gas and liquid.
Several special capabilities have also been designed into
PIPEPHASE including well analysis with inflow performance; gas
Online Help
PIPEPHASE comes with online Help, a comprehensive online ref-
erence tool that accesses information quickly. In Help, commands,
features, and data fields are explained in easy steps. Answers are
available instantly, online, while you work. You can access the elec-
tronic contents for Help by selecting Help/Contents from the menu
bar. Context-sensitive help is accessed using the F1 key or the
What’s This? button by placing the cursor in the area in question. A
Road Map to Online Help will be displayed where you can select
the help document you wish to view. From the desired online help
vi Introduction
document you can do a search for the desired topic. If you chose a
.CHM file, you can search by selecting Help/Search from the menu
bar. If you chose a .PDF formatted document, you can use all the
davailable Acrobat Reader search features to find the topic of inter-
est. Please refer to Acrobat Reader on-line help for information
concerning Acrobat Reader features.
Other Documentation
The table below outlines the other existing PIPEPHASE documen-
tation available in a hardcopy form.
viii Introduction
Authorized SimSci- Esscor Technical Support Centers
Support Center Address Tel/Fax/Internet
USA and Canada Invensys Process Systems (SimSci-Esscor) Tel: + 1 800 SIMSCI 1
10900 Equity Drive + 1 713 329 1600
Houston, TX 77041 Fax: + 1 713 329 1905
E-mail: support.simsci@ips.invensys.com
USA East Coast Invensys Process Systems (SimSci-Esscor) Tel: + 1 800 SIMSCI 1
Gateway Corporate Center, Suite 304, + 1 610 364 1900
223 Wilmington-West Chester Pike, Fax: + 1 610 364 9600
Chaddsford, PA 19317 E-mail: support.simsci@ips.invensys.com
USA West Coast Invensys Systems, Inc. (Invensys, SimSci-Esscor) Tel: + 1 800 SIMSCI 1
26561 Rancho Parkway South, Suite 100, E-mail: support.simsci@ips.invensys.com
Lake Forest, CA 92630
Australia and New Zealand Invensys Performance Solutions Tel: + 61 2 8396 3626
Level 2-4, 810 Elizabeth Street Fax:+ 61 2 8396 3604
Sydney 2017, Australia E-mail: support.an@simsci.com
Asia - Pacific Invensys Software Systems (s) Pte. Ltd. Tel: + 65 6829 8657
15, Changi Business Park Fax: + 65 6261 9492
Central 1 E-mail: asiapactech@simsci.com
Singapore 486057
United Kingdom Invensys Systems (UK) Limited Tel: + 44 161 429 6744
High Bank House, Exchange Street, Fax: + 44 161 480 9063
Stockport, Cheshire E-mail: simsci.uk@ips.invensys.com
United Kingdom SK3 OET
China Invensys Process Systems (China) Co., Ltd. Tel: + 86 10 8458 5757
809, Tower B, Eaglerun Plaza, No.26 Xiaoyun Road Fax: + 86 10 8458 4521
Chaoyang District, Beijing 100016 E-mail: china.solution@ips.invensys.com
Documentation
A list of PIPEPHASE documents is provided below. If you need a
manual that is not included in your installation package or add-on
package, contact Technical Support to request it.
■ PIPEPHASE Getting Started Guide (This document)
■ PIPEPHASE Keyword Manual
■ Release Notes
■ Other documentation as required:
● NETOPT User’s Guide
● TACITE User’s Guide
A complete set of online documentation is provided for each
product.
FLEXlm7.2 Security
SimSci-Esscor provides a FLEXlm security option on the FLEXlm
Server Application installation CD. The FLEXlm License Manager
is a third-party concurrent-user software licensing tool from
Macrovision Corporation. It is a client/server-based tool that has
been customized by SimSci-Esscor.
FLEXlm Server can run under Windows 2000/XP. The server must
have at least 5 MB of available disk space. To install, learn, and
troubleshoot FLEXlm security, follow the instructions provided in
the FLEXlm Security Guide included in the standard release
package.
FLEXlm9.5 Security
SimSci-Esscor provides a FLEXlm security option on the FLEXlm
Server Application installation CD. The FLEXlm License Manager
is a third-party concurrent-user software licensing tool from
Macrovision Corporation. It is a client/server-based tool that has
been customized by SimSci-Esscor.
FLEXlm Server can run under Windows 2000/XP/Vista. The server
must have at least 5 MB of available disk space. To install, learn,
and troubleshoot FLEXlm security, follow the instructions provided
in the FLEXlm Security Guide included in the standard release
package.
TOKEN Security
SimSci-Esscor provides a TOKEN security option on the FLEXlm
Server 9.5 Application installation CD. The FLEXlm License
Manager is a third-party concurrent-user software licensing tool
PIPEPHASE Installation
There are three installation options for the PIPEPHASE software:
■ Once the installation starts, you will see a box logging the
progress of your installation. You can use the Cancel button at
any time during disk installation to pause or exit the installation
program. When your installation is complete, the Complete
PIPEPHASE Installation dialog box appears.
■ Click Finish to complete the Local Custam installation.
■ Once the installation starts, you will see a box logging the
progress of your installation. You can use the Cancel button at
any time during disk installation to pause or exit the installation
program. When your installation is complete, the Complete
PIPEPHASE Installation dialog box appears.
■ The Security Option dialog box appears. Select one of the four
security options:
■ Once the installation starts, you will see a box logging the
progress of your installation. You can use the Cancel button at
any time during disk installation to pause or exit the installation
program. When your installation is complete, the Complete
PIPEPHASE Installation dialog box appears.
■ The system reboot occurs after the User directories are installed
on each user’s local disk drive using the PIPEPHASE
Workstation install program.
Setup installs the following directories on the local disk drive:
Testing PIPEPHASE
As a simple test of your PIPEPHASE system, open PIPEPHASE,
import the input file EX1_LIQUID-PUMP.INP and run it. This will let
you utilize PIPEPHASE’s data reconciliation capability and give
you a sense of how PIPEPHASE will run. Refer to the additional
manuals shipped with PIPEPHASE for hands-on examples and
information that will have you using the powerful capabilities of
PIPEPHASE quickly.
■ Click Start and select Program Files/SIMSCI/PIPEPHASE 9.2/
PIPEPHASE 9.2.
■ Select Import/Keyword File from the File menu.
■ Select EX1_LIQUID-PUMP.INP in the Import Keyword File dialog
box and click Open. A window will appear showing the “Save
Imported File As...” box.
■ Click on Save to replace the existing ppzip file.
■ Click the Run button on the toolbar to start running the
simulation.
If there are any error messages in the FLEXlm server log file or in
the lmtool.exe "Server Status" output text window, try and take
appropriate action to resolve the problem yourself.
Examples:
If you try to start the FLEXlm server on a license file not intended
for the license server, you will get an authentication error. In this
case, you will either need to install the license (and FLEXlm server)
on the machine for which the license was generated, or contact
product.request.@ips.invensys.com to issue you a license file for
the machine on which the FLEXlm server is installed.
Another issue could be that the licenses themselves have expired.
The expiry date can either be obtained by looking at the license file,
ipassi.lic, or by clicking on the "Perform Diagnostics" button on the
"Server Diags" tab. If the licenses have expired, then contact
product.request.@ips.invensys.com to renew your licenses.
A further common error is that the FLEXlm server machine name,
the second item on the SERVER line in the FLEXlm license file, is
not stated correctly. An example of the server line, from a
permanent license, is as follows:
SERVER miawa2ca 000874fe5ea8
Or for a temporary license:
Fix A common cause of this error is that the FLEXlm dll on the application is of version 7.2,
but the FLEXlm server is 9.5. In this case, run the FLEXlm 9.5 Client Retrofit program
to update the application and this should resolve the problem.
Problem How do I obtain the system information about the machine, including the host ID?
Fix The FLEXlm utility, lmtools.exe System Settings tab, is always the most accurate for
checking the host ID. Note that when issuing a FLEXlm/TOKEN license, SimSci-Esscor
uses Ethernet Address or Disk Volume Serial Number to bind the license. If your
FLEXlm cannot start correctly, you may want to verify that the Ethernet Address or Disk
Volume Serial number in the license file is consistent with that on the machine. In
addition, you may check the Computer/Hostname to verify that this value is the same as
the second item on the SERVER line in your license file. An example of lmtools System
Settings tab display:
Figure 3-7: Getting the machine information from System Settings tab
Problem Can I use a regular FLEXlm license file and a TOKEN license file under the same
IPASSI FLEXlm server?
Fix Technically, this configuration should work. However, this is not recommended as the
logging and reporting functionalities work differently for FLEXlm and for TOKEN
security. For clarity, it is highly recommended that FLEXlm and TOKEN be installed on
different license server machines.
Problem We're using FLEXlm over a wide-area network. What can we do to improve the
FLEXlm licensing performance?
Fix To shorten the initial connection time between the FLEXlm Client and the FLEXlm
Server over a wide-area network, you can specify the FLEXlm server port numbers in
the FLEXlm license file. In this case, the Client will know exactly what ports on the
Server machine to use when trying to connect to the Server.
Problem We're using FLEXlm over a slow wide-area network. What can we do to allow longer
FLEXlm Client/Server initial connection time?
Fix You can set the environment variable FLEXLM_TIMEOUT to a larger value on the
Client machine. This value sets the timeout period of a FLEXlm-licensed application
when attempting to connect to a license server port in the range 27000-27009. Values are
in microseconds, within the range 0 through 2147483647. The default setting is 100000
microseconds.
When the machine is not detecting the USB entry correctly, please
unplug the USB key from the machine and uninstall the existing
USB driver from the Add/Remove Programs window as below:
Figure 3-10: Uninstall USB driver through Add/Remove Programs
After un-installing the existing USB driver, install the USB 7.0
driver. The install program for USB 7.0 driver is available from the
SimSci-Esscor application install CD or from the SimSci-Esscor
ESD web site. After installing the driver successfully, the Sentinel
Protection Installer 7.0.0 entry should appear in the Add/Remove
Programs window as follows:
Figure 3-11: Verify the upgraded USB driver
In this case, the user will have to unplug the USB key from the
machine, un-install the current USB driver, and then re-install the
USB 7.0 driver.
When the utility program shows no error in the Sentinel System
Driver, the user can click on the Find SuperPro button to see if it
can detect the USB key. If it finds the key, the output should look
similar to that shown below:
Starting PIPEPHASE
If you do not see a PIPEPHASE 9.2 icon in a SIMSCI group
window or in your Program Manager window, see the
troubleshooting section in the PIPEPHASE Installation Guide.
To start PIPEPHASE:
➤ Double-click on the PIPEPHASE 9.2 icon.
The main PIPEPHASE window appears.
To learn how to build a network, enter data, and run and optimize a
simulation, see Chapter 6, Tutorial.
Exiting PIPEPHASE
To exit PIPEPHASE, do one of the following:
➤ Choose Exit on the File menu <Alt+F,X>.
➤ Double-click on the Control-menu box in the upper left hand
corner of the PIPEPHASE main window <Alt+F4>.
➤ Click on the control-menu box in the top left hand corner of the
PIPEPHASE main window or use <Alt+Space>.
➤ Select the Move option from the menu.
To provide... See...
Descriptive text You can further describe the problem using up to Simulation
four lines of 60 characters each. This description Description
appears once at the top of each page.
If you are using the Case Study facility, you may add Simulation
one line of description for each case study. You will Description
find further details about case studies later in this
chapter.
If you are using the Nodal Analysis facility, you may Simulation
add two lines of description, one for inflow and one Description
for outflow. You will find further details about nodal
analysis later in this chapter.
Input data You may use PIPEPHASE just to check your input Run Simulation
checking syntax and topology and not to perform any and View
calculations. Results
Units of Measurement
Defaults
You may use components not found in the SIMSCI library. You
must input all the necessary data for thermodynamic and transport
properties. If you need help in determining data for such
components, you may use SIMSCI’s DATAPREP program.
To specify... See...
Library All fixed property data may be accessed from ➱ Component Data,
components the SIMSCI databank. All you need to do is Library Component
supply the name of the component. Data
You may override the SIMSCI constant ➱ Component Data,
properties for any or all of the components. Edit Library
Component
You may override the SIMSCI variable SIMSCI Component
(temperature-dependent) properties for any or and Thermodynamic
all of the components. Data Input Manual
Non-library If you want to use a component that is not in ➱ SIMSCI Component
components the SIMSCI Bank, you must supply its name and Thermodynamic
and all the required properties. Data Input Manual
Petroleum Pseudocomponents
Assay Curve
Transport Properties
Gas
Gas Condensate
Blackoil
Sources
A source is a point at which fluid enters the piping system. You
define a source by supplying parameters such as composition,
temperature, pressure, and flowrate. You can have more than one
source in a network.
Compositional Sources
To specify... See...
Defined You must define the total flowrate and ➱ Compositional Source
components composition of the source stream. Components
can be either from the PIPEPHASE component
library or defined as pseudocomponents.
Assay data A source fluid may be defined by an assay ➱ Compositional Source
curve. You can combine library components
and/or petroleum pseudocomponents with an
assay curve by supplying a lightend analysis.
Viscosity To override the internally generated fluid ➱ Compositional Source
data viscosity data, you may specify a viscosity
curve in the PVT data section.
Similar To reduce redundant data entry, you may refer ➱ Compositional Source
sources to a predefined source. Parameters may be
specified to override the parameters that are
different.
To specify... See...
Steam You must define the pressure and quality of a ➱ Steam Source
sources saturated steam source. The temperature must
be specified only if the steam is superheated
(Quality=100%) or subcooled (Quality=0%).
Gas, liquid, One or more sets of fluid property data are ➱ Blackoil Source
blackoil or defined in the PVT data section. You must
condensate assign a unique set number to each data set.
sources Each source must be referred to the appropriate
data set number.
Well In-flow You may specify the IPR of a well source for a ➱ Link Device Data,
Performance single link with gas, liquid, blackoil or Inflow Performance
condensate. The IPR Model is treated as a Relationship, IPR-
device and is available from the Link window. Advanced Options
You may also supply well test data.
Similar If one source is the same as or similar to ➱ Reference Source
sources another, you may refer it to the other source.
PIPEPHASE will copy all the data from one
source to the other. You may then override the
parameters that are different.
Single links
A single link has one source, one sink, and no junctions. There are
three variables:
■ The source flowrate (which is also the sink flowrate),
■ The source pressure, and
■ The sink pressure.
You must specify two of these, and PIPEPHASE will calculate the
third.
To specify... See...
Sources You must have only one source. ➱ Source
Sinks If the source pressure and rate are known, a sink ➱ Sink, Source
pressure and rate need not be defined.
Links You do not need to specify the flowrate or pressure drop ➱ Link Device Data
in a link; all you need to define are the pipes, fittings, and
equipment. Enter the link device data in the sequence in
which the fluid flows through them. You can have any
combination of pipes, fittings, and process equipment
items, in any order.
A network generally has more than one link and one or more
junctions. The variables are the pressure and flowrate at each source
and sink. You specify the values of the variables that are known,
and PIPEPHASE will calculate the unknowns. In order not to
under- or over-specify the system, simple rules must be followed in
constructing the problem:
■ You must specify a number of knowns equal to the total num-
ber of sources and sinks.
■ You must specify at least one pressure.
■ If any source or sink flowrate is an unknown, you must supply
an estimate.
■ If you do not know a pressure at a source, sink, or junction, you
do not need to supply an estimate. You may specify estimates
to speed up convergence.
To specify... See...
Sources and You must have at least one source and at least one ➱ Source, Sink
sinks sink.
Junctions You must have a junction at the point where two or ➱ Junction
more links meet. If your network is complex, you
may speed up the solution by supplying estimates
for the junction pressures.
Links You must supply a unique name for each link. If your ➱ Link Device Data
network is complex, you may speed up the solution
by supplying estimates for flowrates through each
link.
Steam PIPEPHASE can model preferential splitting at Tee ➱ Junction
networks junctions in pure distribution networks. These
junctions can have only two outgoing and one
incoming link.
Subnetworks PIPEPHASE has a number of devices that invoke a ➱ Mcompressor,
special algorithm. You may specify the inlet Mchoke
conditions; PIPEPHASE breaks the flowsheet at the Mregulator
inlet and solves the resulting subnetworks
simultaneously and sizes the device.
l = fluid density
q = volumetric flux
d = equivalent diameter
(= actual diameter in the case of pipes, risers and tubing)
To specify... See...
Inside diameter If the majority of your devices have the same inside ➱ Diameter
and roughness diameter, you can specify a global inside diameter at Defaults
the start of the simulation. Then you can override this
value for those devices which do not conform to the
default. Roughness can be specified also as a global
parameter or for each device.
To specify... See...
Completion You may define a completion as being gravel ➱ Gravel Packed
packed (Jones) or open perforated (McLeod). Completion,
Open Perforated
Completion
Dual You may model dual completions, both ➱ Link Data
Completion concentric and parallel.
where:
Q = rate of heat transfer per unit length
U = overall heat transfer coefficient
A = outside surface area per unit length
DT = temperature difference between bulk fluid and outside medium
For a pipe surrounded by soil, water, or air, you define the medium
properties (and velocity of water or air). For a buried pipe, you enter
the buried depth.
For tubings you enter data that describe the properties of the annuli
and casings between the outside of the tubing and the inside of the
hole.
To specify... See...
Pipes and You may specify an overall coefficient or the ➱ Global Defaults
Tubing properties of the surrounding medium. You can Pipe Tubing
supply these values globally for all devices or for
individual devices. You also supply the ambient
temperature or geothermal gradient.
Sphering or Pigging
PIPEPHASE’s sphering calculations predict the quantity of liquid
formed when a multiphase fluid flows in a pipeline and determine
the size of the liquid slug that is pushed out when the pipe is pigged.
Sphering calculations can only be carried out for single links. The
launching station is at the inlet of a pipe. You may have
intermediate launching stations; a sphere is launched from a pipe
when the previous sphere(s) reach the inlet of that pipe.
To specify... See...
Calculation type You must specify that you want to do a sphering ➱ Network
simulation. Calculation
Methods
Fluid type The fluid must be compositional and both gas and ➱ Simulation
liquid should be present to obtain realistic results. Definition
Time Increments You may override the default time step used in the ➱ Network
McDonald-Baker successive steady-state calculation Calculation
method. Methods
Structure Data You may have only PIPE devices. You identify a pipe ➱ Pipe
with a launching station by specifying a sphere
diameter for the pipe. The first launching station
must be in the first pipe of the link.
Ground Level
Tubing
IPR
Subsurface junction Reservoir
Tubing
IPR
Reservoir
You may have more than one well in a PIPEPHASE run. The wells
may all use one reservoir. In this case, information for the reservoir
data is entered in one IPR and accessed from other IPRs using the
GROUP name.
Multiple Completions
Ground Level
Tubing
Reservoir
IPR1 IPR2 IPR3
Subsurface junctions
Junction or sink
Ground Level
Tubing
Length of well
You may change one parameter in the entire problem using a global
command. You do this by supplying the type of parameter you want
to change, its old value, and the new value. Only those specified
parameters with that old value will then be changed.
The items to which this type of change can be applied are identified
in Table 4-46, Chapter 4, Input Reference in PipePhase Keyword
Manual.
Nodal Analysis
Nodal Analysis allows you to study the overall performance of
wells, pipelines and other single link systems as a function of input
parameters and flowrates. The results are summarized in tabular
and graphical form. You can also study combinations of inflow and
outflow parameters using the multiple combination nodal analysis
option.
Nodal Analysis is performed on a single link.
Dividing the Link
You first divide your single link into two sections, separated by a
Solution Node. The section upstream of the Solution Node is called
the Inflow section and would typically be the tubing of a well. The
section downstream of the Solution Node is called the Outflow
section and would typically be the flowline from the wellhead to a
surface separator. The Solution Node, in this case, would be the
well-head node.
If you locate the Solution Node actually at the source or the sink,
then there will be only an Outflow or Inflow section respectively.
Introduction
This chapter presents the step-by-step procedure required for the
optimization of an off-line pipeline design. In the first part of this
tutorial, you will look at the optimal design based only on capital
cost considerations. Then, you will include the operating costs over
the lifetime of the pipeline (10 years) and examine the effect the
operating costs have on the overall design strategy.
Problem Description
In this simulation, a pipeline is designed to deliver gas at a rate of
1200 MMSCFD at a minimum pressure of 900 psi from two
offshore fields. Table 5-1 and Table 5-2 provide additional process
details including piping and compressor capital expenditures.
Table 5-1: Process Conditions
Offshore Field A
Offshore Field B
5-2 Tutorial
Figure 5-1: Tutorial Problem
Tip:By using the toolbar icons, you reduce the number of mouse
actions required for a selection. For example, you can click the
toolbar button to create a new simulation.
PIPEPHASE will now automatically take you through Simulation
Setup Wizard .
5-4 Tutorial
Figure 5-4: Select Simulation Type
5-6 Tutorial
➤ Enter a specific gravity of 0.69 in the Gas Gravity field and the
following composition of contaminants:
Component Mole %
Nitrogen 1.32
Carbon dioxide 0.98
Hydrogen sulfide 0.56
Component Mole %
Nitrogen 1.11
Carbon dioxide 0.88
Hydrogen sulfide 0.24
5-8 Tutorial
Figure 5-11: Fluid Property Data
Figure 5-12: Note to give information about the colors used in the GUI.
5-10 Tutorial
After leaving the Simulation Definition window, you will want to
check Input Dimensions. From the the toolbar select General/Input
Units of Measurement. This will bring up the Input Dimensions
window shown in Figure 5-15.
➤ For this problem, the flowrate basis will be Gas Volume units
of MM ft3 /day.
➤ Use the Pipe Length drop-down list box to change the default
units to miles (mi) as shown in Figure 5-15.
5-12 Tutorial
To connect two nodes:
➤ Click on a source or junction (“From” node) with the left
mouse button. A red square will appear on the node, and the
border of the node will turn green to indicate that the node has
been selected.
➤ Next, click inside the square with the left mouse button and,
while holding the mouse button down, drag the cursor to
another junction or sink (“To” node).
Once a square has been selected and the cursor begins to move, all
of the connection squares in the available junction and sink nodes
will turn blue indicating a valid location to which you can connect
the link.
For this simulation, you must connect S001 to J004, S002 to J004,
followed by J004 to D003. The flow diagram should now show the
structure shown in Figure 5-17.
The next step is to enter the data for each of the sources and sinks.
5-14 Tutorial
➤ Enter the following information:
5-16 Tutorial
Figure 5-20: Link <L001> Device Data Window
5-18 Tutorial
➤ Click OK to return to the Link <L002> Device Data window.
➤ Next, you must add a compressor to this link by clicking the
compressor button on the device palette. This automatically
adds this new device after the currently selected device (i.e., the
pipe E002) and brings up the Compressor data entry window
for device E003.
➤ Enter the data given in Table 5-4 for the compressor device
E003 on link L002. The completed Compressor window should
appear as shown in Figure 5-22.
Tip:To copy or delete a device previously added to a link, highlight
that device, then click on the COPY then PASTE or DELETE
buttons on the left palette in the Link Device Data window.
5-20 Tutorial
Figure 5-24: Network Optimization Window
➤ Repeat for the other three objective parameters using the data
in Table 5-6.
Tip:For the Compressor objective parameters, select Set Power
from the Parameters drop-down list box in the Define Objective
Parameter window.
➤ The completed Network Optimization Objective Parameters
window is shown in Figure 5-26.
5-22 Tutorial
Figure 5-26: Network Optimization Objective Parameters Window
5-24 Tutorial
Figure 5-28: Network Optimization Data Window
5-26 Tutorial
Figure 5-30: Optimization Options Window
Note: You must turn off the input reprint, select that all device
details be printed (the FULL option), and generate a database.
➤ By default, Ability to Generate Excel Database is set to FULL.
➤ Select the NONE option from the Input Reprint drop-down list
box.
➤ Select the FULL option from the Device Detail drop-down list
box. The completed Print Options window should appear as
shown in Figure 5-32.
5-28 Tutorial
➤ Select the File/Save menu option to save the simulation data
entered so far.
Now you are ready to run your simulation.
5-30 Tutorial
Table 5-9 summarizes the optimal solution for this simulation.
Table 5-9: Optimized Solution Results
Minimum Capital Cost $7,796 MM
Pipe, E002 ID 24”
Pipe, E004 ID 32.9474”
Compressor, E003 Power 18366.76 hP
Compressor, E005 Power 15949.10 hP
Source, S001 Flowrate 570.6906 MMCFD
Source, S002 Flowrate 629.3094 MMCFD
➤ Click the View button to view the plot shown in Figure 5-37.
5-32 Tutorial
Figure 5-37: RAS Plot
5-34 Tutorial
First, change the objective function to include these new costs and
rerun the optimization.
➤ Click the button on the toolbar or select the General/
Optimization Data menu option. This brings up the Network
Optimization Data window.
➤ Click the Objective Parameters button to bring up the Network
Optimization Objective Parameters window.
➤ Highlight the Compressor E005 Available Power parameter,
then click the Edit button.
➤ Change the value of the Correlation Coefficient from
4.660e-003 to 6.600e-004 as shown in Figure 5-39.
The results of these two runs show that by taking the operating costs
into consideration:
■ Smaller compressors on both sections of pipeline are needed.
■ For an increased capital expenditure of $222MM in laying
down slightly larger pipes on Link L003, operating costs over
the lifetime of the pipeline are reduced nearly 65% from $389.9
MM to $137.3 MM.
■ Overall costs are reduced 0.3% from $7,964 MM to $7,933
MM.
5-36 Tutorial
Index
A E
D G
Index I-2
T PIPEPHASE 2-13
User-added subroutines
Technical support centers 1-ix
disk space requirement 1-2
Testing PIPEPHASE 2-12
installation option 2-1
Thermodynamic Properties and Phase Separation 4- installing 2-5
17
Using PIPEPHASE 4-8
Time-stepping 4-42
Transport Properties 4-18 V
Troubleshooting 3-1
Viewing and Plotting Results 5-30
Troubleshooting installation problems 3-1
Typical (default) installation X
option 2-1
XCOPY command 2-7
U
Uninstalling