Professional Documents
Culture Documents
PIPEPHASE Getting Started Guide
PIPEPHASE Getting Started Guide
PIPEPHASE® 9.6
Getting Started Guide
March 2013
All rights reserved. No part of this documentation shall be reproduced, stored in a retrieval system, or
transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without the
prior written permission of Invensys Systems, Inc. No copyright or patent liability is assumed with
respect to the use of the information contained herein. Although every precaution has been taken in the
preparation of this documentation, the publisher and the author assume no responsibility for errors or
omissions. Neither is any liability assumed for damages resulting from the use of the information
contained herein.
The information in this documentation is subject to change without notice and does not represent a
commitment on the part of Invensys Systems, Inc. The software described in this documentation is
furnished under a license or nondisclosure agreement. This software may be used or copied only in
accordance with the terms of these agreements.
For comments or suggestions about the product documentation, send an e-mail message to
ProductDocumentationComments@invensys.com.
All terms mentioned in this documentation that are known to be trademarks or service marks have been
appropriately capitalized. Invensys Systems, Inc. cannot attest to the accuracy of this information. Use of
a term in this documentation should not be regarded as affecting the validity of any trademark or service
mark. Invensys, Invensys logo, PIPEPHASE, INPLANT, and SimSci-Esscor are trademarks of Invensys plc, its
subsidiaries and affiliates.
Contents
Introduction
About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-vii
About PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-vii
About SIMSCI - ESSCOR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-viii
Where to find Additional Help . . . . . . . . . . . . . . . . . . . . . . . . . 1-viii
Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-viii
Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-viii
Other Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-ix
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-x
Chapter 1
Installation Requirements
Verifying the Package Contents . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Media. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Software Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Disk Space Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
USB Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
FLXNET11 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
FLEXlm9.5 Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
TOKEN Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
TOKENNet Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Switching Security Types . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Chapter 2
Installing PIPEPHASE
PIPEPHASE Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Installing PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Directory Structures and Desktop Icons . . . . . . . . . . . . . . . . . . . .2-5
PIPEPHASE Installation Directory (Typical) . . . . . . . . . . . . .2-5
Testing PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
Review the Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-8
Chapter 3
Installation Troubleshooting
Diagnosis of Issues with TOKEN, FLEXNet 11, and FLEXlm 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
Generating and Using Tables of Properties . . . . . . . . . . . . . 4-24
Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-24
Structure of Network Systems . . . . . . . . . . . . . . . . . . . . . . . 4-25
iv Contents
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
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
viii Introduction
bar. If you chose a .PDF formatted document, you can use all the
available 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.
x Introduction
Authorized SimSci- Esscor Technical Support Centers
Support Center Address Tel/Fax/Internet
USA East Coast Invensys Process Systems (SimSci-Esscor) Tel: + 1 800 SIMSCI 1
Gateway Corporate Center, Suite 304, + 1 484 840 9407
223 Wilmington-West Chester Pike, Fax: + 1 484 480 9499
Chaddsford, PA 19317 E-mail: support.simsci@ips.invensys.com
Venezuela Invensys Systems Venezuela Tel: + 58 212 267 5868 ext. 108
Torre Delta Piso 12, Av.Francisco de Miranda Fax: + 58 212 2670964
Altamira, Caracas 1060 E-mail:simscilat@ips.invensys.com
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 8643
15, Changi Business Park Fax: + 65 6829 8202
Central 1 E-mail: asiapactech@simsci.com
Singapore 486057
United Kingdom Invensys Systems (UK) Limited Tel: + 44 (0) 1925 811469
The Genesis Centre, Birchwood Science Park, Fax: + 44 (0) 1925 838509
Birchwood, Warrington E-mail: simsci.uk@ips.invensys.com
United Kingdom WA3 7BH
China Invensys Process Systems (China), Tel: + 86 21 3718 0000 ext. 5912
No. 211, Huancheng Road East, Fengpu Industrial Fax: + 86 10 8458 4521
Park, Shanghai 201400 E-mail: yunfeng.qin@ips.invensys.com
xii Introduction
Chapter 1
Installation Requirements
Documentation
A list of PIPEPHASE documents is provided below.
■ 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.
Security
USB Security
SimSci-Esscor provides USB hardware security, in which you
insert key specially coded to allow use of PIPEPHASE Software.
During installation, the USB key should not be plugged in. After
installation, simply plug the security hardware device directly into
one of the computer’s USB ports to start running PIPEPHASE
Software..
FLXNET11 Security
SimSci-Esscor provides a FLXNET 11 security option on the
FLXNET 11 Server Application installation CD. The FLXNET 11
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.
FLXNET 11 Server can run under Windows 2003/XP/Vista. The
server must have at least 5 MB of available disk space. To install,
learn, and troubleshoot FLXNET 11 security, follow the
instructions provided in the FLXNET 11 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 2003/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.
TOKENNet Security
SimSci-Esscor provides a TOKENNet security option on the
FLEXNET Server 9.6 Application installation CD. The FLEXNET
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.
For detailed information please refer to the SIM4ME TOKEN Check
Out Security Guide available in the
Pphase96\Manuals\PIPEPHASE Getting Started Guide folder.
PIPEPHASE Installation
There are two installation options for the PIPEPHASE software:
When installing PIPEPHASE, you also have the option to install the
TACITE Transient module and/or the NETOPT Optimizer module
and/or SIM4ME Portal 2.2. If you do not have license and would
like to add-on one or all of these modules, please contact your
SimSci-Esscor representative for details.
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.6/
PIPEPHASE 9.6.
■ Select Import/Keyword File from the File menu.
PIPEPHASE 9.6 Getting Started Guide 2-7
■ 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.
Uninstalling PIPEPHASE
You can uninstall PIPEPHASE by accessing Add/Remove Pro-
grams in the Control Panel.
To uninstall PIPEPHASE:
■ Click Start. Select Settings and then select Control Panel.
■ Double-click Add/Remove Programs. The Add/Remove
Programs Properties dialog box appears.
■ Select Simsci-Esscor PIPEPHASE 9.6 (for Typical & Custom).
■ Click Remove.
■ Click Yes to confirm the deletion. A message may ask you
whether to delete a shared file. If you know that the file is not
used by another application, click Yes. Otherwise, click No.
■ Uninstall deletes the component and displays a screen verifying
deletion.
■ Click OK again.
Diagnosis of Issues with TOKEN, FLEXNet 11, and FLEXlm 9.5 Secu-
rity
Step 1 - Ensure that the FLEXlm server is working correctly
When encountering a licensing problem with TOKEN, FLEXNet
11, or FLEXlm 9.5 security, first ensure that the FLEXlm server is
running without any errors. The TOKEN license server is actually a
FLEXlm 9.x server, and the only difference between these two
types of license servers lies in the license files, one being token-
based (each product requires a specified number of tokens when
used) and the other product-specific. Incidentally, only a 9.x
FLEXlm server can manage a SimSci-Esscor TOKEN license file.
There are two ways to verify that the FLEXlm server is running
correctly.
The first way is to examine the FLEXlm server debug log file
ipassi.log. This log file is by default located in the FLEXlm
directory C:\Program Files\IPASSI\Security\FLEXlm95. The actual
location for this log file can be found from the FLEXlm lmtool.exe
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:
Figure 3-6: 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?
Now, plug the USB key back into the machine and go to the Device
Manager again to verify that the system is correctly detecting the
USB key. If the problem persists, then either the key is damaged or
the computer, including the USB port, may be malfunctioning. In
this case, the user will either have to try the key on another machine
that has a working USB environment to determine if the key is
good; or alternatively, the user can try another USB key that is
known to be working on another machine to try on the "problem"
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.6 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.6 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.
= 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.
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
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
Distance from processing plant, miles 200
Wellhead pressure, psi 2000
Offshore Field B
Distance from field A, miles 180
Wellhead pressure, psi 2000
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 F
D H
E M
P Security
Elan 1-3
Petroleum Pseudocomponents 4-15 Security options
Pipe Schedule 4-33 selecting for PRO/II 2-4, 2-6
PIPEPHASE Software requirements 1-2
Case Studies 4-47 Sources 4-24
Changing Window Size 4-3
Sphering or Pigging 4-41
Color Coding Cues 4-3
Starting PIPEPHASE 4-1
disk space requirements 1-3
Structure of Network Systems 4-25
documentation 1-1
Subsurface Networks and Multiple Completion
Equipment Items 4-37
Modeling 4-44
Global Settings 4-11
Support
hardware/software requirements 1-2
1-x
installing 2-1, 2-8
Main Window Components 4-2 T
media 1-1
Menu Options 4-4 Technical support centers 1-xi
package contents 1-1 Testing PIPEPHASE 2-7
reviewing the results 2-8 Thermodynamic Properties and Phase Separation 4-
testing the installation 2-7 17
Toolbar Buttons 4-5 Time-stepping 4-42
Units of Measurement 4-11 Transport Properties 4-18
Piping Structure 4-10 Troubleshooting 3-1
Pressure Drop in Completions 4-34 Troubleshooting installation problems 3-1
Pressure Drop in Fittings 4-35 Typical (default) installation
Pressure Drop in Flow Devices 4-32 option 2-1
Printout Options 4-11
U
PRO/II
icons 2-5 Uninstalling
Production Planning 4-42 PIPEPHASE 2-8
Properties for Non-compositional Fluids User-added subroutines
Blackoil 4-22 disk space requirement 1-3
Index I-2
installation option 2-1 V
installing 2-6
Viewing and Plotting Results 5-30
Using PIPEPHASE 4-8