Pipesys
Pipesys
Pipesys
13
User's Guide
Copyright Notice
The copyright in this manual and its associated computer program are the property of
Hyprotech Ltd. All rights reserved. Both this manual and the computer program have
been provided pursuant to a License Agreement containing restrictions on use.
Hyprotech reserves the right to make changes to this manual or its associated computer
program without obligation to notify any person or organization. Companies, names and
data used in examples herein are fictitious unless otherwise stated.
This product uses WinWrap Basic, Copyright 1993-1998, Polar Engineering and
Consulting.
Documentation Credits
Authors of the current release, listed in order of historical start on project:
Rolf C. Fox, B.Sc; Edmard A. DeSouza, B. Math; Garry A. Gregory, Ph.D., P.Eng.; Lisa Hugo,
BSc, BA; Chris Strashok, BSc
Since software is always a work in progress, any version, while representing a milestone,
is nevertheless but a point in a continuum. Those individuals whose contributions
created the foundation upon which this work is built have not been forgotten. The
current authors would like to thank the previous contributors.
A special thanks is also extended by the authors to everyone who contributed through
countless hours of proof-reading and testing.
Contacting Hyprotech
Hyprotech can be conveniently accessed via the following:
Website: www.hyprotech.com
Technical Support: support@hyprotech.com
Information and Sales: Info@hyprotech.com
iii
7 In-line Compressor ........................................... 7-1
7.1 The Compressor View....................................................... 7-3
7.2 Adding a Compressor...................................................... 7-13
Index .................................................................. 11
iv
Overview 1-1
1 Overview
1.5 Acknowledgements...................................................................................... 6
1-1
1-2
1-2
Overview 1-3
1.1 Introduction
A pipeline must transport fluids over diverse topography and under
varied conditions. Ideally this would be done efficiently with a correctly
sized pipeline that adequately accounts for pressure drop, heat losses
and includes the properly specified and sized in-line facilities, such as
compressors, heaters or fittings. Due to the complexity of pipeline
network calculations, this often proves a difficult task. It is not
uncommon that during the design phase an over-sized pipe is chosen
to compensate for inaccuracies in the pressure loss calculations. With
multiphase flow, this can lead to greater pressure and temperature
losses, increased requirements for liquid handling and increased pipe
corrosion. Accurate fluid modelling helps to avoid these and other
complications and results in a more economic pipeline system. To
accomplish this requires single and multiphase flow technology that is
capable of accurately and efficiently simulating the pipeline flow.
1-3
1-4 Introduction
Figure 1.1
A PIPESYS network:
1-4
Overview 1-5
This manual also outlines the relevant parameters for defining the
entire extension and its environment, as well as the smaller
components such as the pipe units and in-line facilities. 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 PIPESYS 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 Volumes 1 and 2 of the HYSYS Reference Manual. Here you
will find all the information you require to set up a case and work
efficiently within the simulation environment.
1.3 Disclaimer
PIPESYS is the proprietary software developed jointly by
Neotechnology Consultants Ltd. (hereafter known as Neotec) and
Hyprotech Ltd. (hereafter known as Hyprotech).
1-5
1-6 Copyright
Neotec and Hyprotech 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.
1.4 Copyright
The software and accompanying material are copyrighted with all
rights reserved. Under copyright laws neither the manual nor the
software may be duplicated without prior consent from Hyprotech or
Neotec. This includes translating either item into another language or
format.
1.5 Acknowledgements
The authors recognise all trademarks used in the manual. These
include, but are not limited to, the following list:
1-6
Overview 1-7
1.6 Warranty
Neotec, Hyprotech or their representatives will exchange any defective
material or program disks within 90 days of the purchase of the
product, providing that the proof of purchase is evident. All warranties
on the disks and manual, and any implied warranties, are limited to 90
days from the date of purchase. Neither Neotec, Hyprotech nor their
representatives make any warranty, implied or otherwise, with respect
to this software and manuals.
Neither Neotec nor Hyprotech shall bear any liability for the loss of
revenue or other incidental or consequential damages arising from the
use of this product.
1-7
1-8 Technical Support
You can also access Support directly via e-mail. A listing of Technical
Support Centres including the Support e-mail address is at the end of
this chapter. When contacting us via e-mail, please include in your
message:
We also have toll free lines that you may use. When you call, please have
the same information available.
1-8
Overview.fm Page 9 Friday, February 23, 2001 9:11 AM
Overview 1-9
Yokohama, Japan
AEA Technology - Hyprotech Ltd.
AEA Hyprotech KK
Plus Taria Bldg. 6F.
3-1-4, Shin-Yokohama
Kohoku-ku support@hyprotech.com (e-mail)
Yokohama, Japan 81 45 476 5051 (technical support)
222-0033 81 45 476 5051 (information and sales)
1-9
Overview.fm Page 10 Friday, February 23, 2001 9:11 AM
1.7.2 Offices
Calgary, Canada Yokohama, Japan
Tel: (403) 520-6000 Tel: 81 45 476 5051
Fax: (403) 520-6040/60 Fax: 81 45 476 3055
Toll Free: 1-800-661-8696
1-10
Overview 1-11
1.7.3 Agents
International Innotech, Inc. Tel: (281) 492-2774
Katy, USA Fax: (281) 492-8144
International Innotech, Inc. Tel: 86 10 6499 3956
Beijing, China Fax: 86 10 6499 3957
International Innotech Tel: 886 2 809 6704
Taipei, Taiwan Fax: 886 2 809 3095
KBTECH Ltda. Tel: 57 1 258 44 50
Bogota, Colombia Fax: 57 1 258 44 50
KLG Systel Tel: 91 124 346962
New Delhi, India Fax: 91 124 346355
Logichem Process Tel: 27 11 465 3800
Johannesburg, South Africa Fax: 27 11 465 4548
Process Solutions Pty. Ltd. Tel: 61 7 544 81 355
Peregian, Australia Fax: 61 7 544 81 644
Protech Engineering Tel: +421 7 4488 8286
Bratislava, Slovak Republic Fax: +421 7 4488 8286
PT. Danan Wingus Sakti Tel: 62 21 567 4573 75/62 21 567 4508
Jakarta, Indonesia 10
Fax: 62 21 567 4507/62 21 568 3081
Ranchero Services (Thailand)
Co. Ltd. Tel: 66 2 381 1020
Bangkok, Thailand Fax: 66 2 381 1209
S.C. Chempetrol Service srl Tel: +401 330 0125
Bucharest, Romania Fax: +401 311 3463
Soteica De Mexico Tel: 52 5 546 5440
Mexico D.F., Mexico Fax: 52 5 535 6610
Soteica Do Brasil Tel: 55 11 533 2381
Sao Paulo, Brazil Fax: 55 11 556 10746
Soteica S.R.L. Tel: 54 11 4555 5703
Buenos Aires, Argentina Fax: 54 11 4551 0751
Soteiven C.A. Tel: 58 2 264 1873
Caracas, Venezuela Fax: 58 2 265 9509
ZAO Techneftechim Tel: +7 095 202 4370
Moscow, Russia Fax: +7 095 202 4370
Internet
Website: www.hyprotech.com
E-mail: info@hyprotech.com
1-11
1-12 Technical Support
1-12
Installation 2-1
2 Installation
2-1
2-2
2-2
Installation 2-3
2.2 Software
Requirements
The PIPESYS 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 PIPESYS you are required to have HYSYS - Version 1.2 or higher.
Note, you will not be able to use PIPESYS without the proper
HYSYS and PIPESYS licenses. You can refer to Chapter 4 - Software
Licensing of the HYSYS Get Started Manual for information on
licenses.
2-3
2-4 Installing PIPESYS
Figure 2.1
2-4
Installation 2-5
Figure 2.2
2-5
2-6 Installing PIPESYS
Figure 2.3
Figure 2.4
To view any other pages of the PIPESYS view, simply click on the tab of
the desired page and the view will switch to the selected page.
2-6
The PIPESYS View 3-1
3-1
3-2
3-2
The PIPESYS View 3-3
PIPESYS is fully compatible with all of the gas, liquid and gas/liquid
Fluid Packages in HYSYS. You may combine PIPESYS and HYSYS
objects in any configuration during the construction of a HYSYS
Flowsheet. PIPESYS objects may be inserted at any point in the
Flowsheet where single or multiphase pipe flow effects must be
accounted for in the process simulation.
3-3
3-4 Adding PIPESYS
For further details on creating 1. Your first task is to create a HYSYS Case suitable for the addition of
a HYSYS case, refer to the the PIPESYS Extension. As a minimum, you must create a Case
HYSYS Reference Manual 1, with a Fluid Package, two Material Streams and an Energy Stream.
Section 1.3 - Starting a
Simulation. 2. With the Case open, click on the Flowsheet command from the
Menu Bar and click Add UnitOp. Select the Extensions radio
button and choose the PIPESYS Extension from the Available Unit
Operations group box on the UnitOps view. The Main PIPESYS
View will open and be ready for input.
Figure 3.1
3-4
The PIPESYS View 3-5
3. Select Material Streams from the Inlet and Outlet drop down lists
on the Connections tab of the PIPESYS view. Select an Energy
Stream from the Energy drop down list. If you have not yet installed
these streams in the Case, they can be created by directly entering
their names on the Connections tab. To define the stream
conditions, right click on the name and select View.
A gas-condensate system is a 4. Open the Methods tab. Decide on the most appropriate
good example of a gas-based description of your fluid system; gas-based with liquid or liquid-
with liquid system because based with gas. Your choice is not determined so much by the
while liquid is often present,
only the gas component is relative amounts of gas and liquid as it is by the phase that is
present under all conditions. present under all conditions of temperature and pressure in the
pipeline. Select the radio button in the Recommended Procedures
group box that corresponds to the best description of your system.
If the system is determined to be single phase in the course of
finding a solution, all multiphase options will be ignored.
Figure 3.2
3-5
3-6 Adding PIPESYS
Figure 3.3
Starting with the nearest upstream unit, enter each pipeline unit by
selecting the <empty> cell in the Pipeline Unit column and
choosing a unit type from the drop-down list on the Edit Bar
.
Figure 3.4
3-6
The PIPESYS View 3-7
Figure 3.5
If you have added a Pipe Unit to the pipeline, you will need to
define the position of the downstream end of the pipe using the
Distance, Elevation, Run, Rise, Length and Angle parameters. Any
two of these parameters are sufficient to fix the position of the end
of the pipe. However, if you use Length and one of Run or Distance
to define the pipe end position, the program is unable to resolve the
resulting ambiguity associated with the Angle parameter and
assumes that this value should be positive. If in fact the Angle is
negative, make a note of the Angle magnitude, delete one of the
Length, Distance or Run values and enter the negative of the Angle
magnitude into the Angle input cell.
6. The Stepsize tab displays optimizing parameters used in PIPESYS
algorithms. For a first-time solution of your system it is
recommended that the Program Defaults radio button be selected.
For most systems, the default values will provide near-optimal
convergence and solution times.
3-7
3-8 PIPESYS User Interface
7. Open the Temperature Profile tab. Here you can choose to specify
a predetermined set of fluid temperatures for your system, as
might be available from field data or if the systems sensitivity to
temperature is being examined. Alternatively, you can request that
the program calculate the heat transfer from the fluid to the
surroundings. Select either Calculate profile or Specify
temperatures in the Fluid Temperature group box.
Figure 3.6
This group box is also
available on the Methods tab.
3-8
The PIPESYS View 3-9
Like all HYSYS property views, PIPESYS property views allow access to
all of the information associated with a particular item. Each view has a
number of tabs and on each tab are groups of related parameters. For
example, on the Dimensions tab of the Pipe Unit View (See Figure 3.7)
the physical characteristics of the Pipe Unit, such as wall thickness,
material type and roughness can be specified.
Figure 3.7
3-9
3-10 The Main PIPESYS View
Figure 3.8
The Main PIPESYS View is the starting point for the definition of any
PIPESYS operation. When you select Flowsheet/Add Operation... from
the Menu Bar and then choose PIPESYS extension, the Main PIPESYS
View will appear and be ready to accept input. You must then select
each of the tabs on the Main PIPESYS View and complete them as
required.
3-10
The PIPESYS View 3-11
Figure 3.9
3-11
3-12 The Main PIPESYS View
Figure 3.10
Examples of gas-based Effective use of the settings on this tab requires you to correctly classify
systems include dry gas, gas- the fluid system as being either gas-based with liquid or liquid-based
condensate and gas water
systems. with gas. A gas-based system has a gas phase that is present under all
conditions and there may or may not be a liquid phase. Conversely, a
Examples of liquid-based liquid-based system has a predominant liquid component. The liquid
systems include hydrocarbon
component will be present under all conditions and the gas phase may
liquid, crude oil and oil-gas
systems. or may not be present. If the software detects that only a single-phase is
present in the stream (i.e. pure water, dry gas), all multiphase options
are ignored and pressure loss is computed using the Fanning equation.
3-12
The PIPESYS View 3-13
Figure 3.11
3-13
3-14 The Main PIPESYS View
When defining the geometry of the pipeline, you must be aware of the
distinction between the two types of components. The set of pipeline
components in PIPESYS collectively known as Pipeline Units includes
both Pipe Units, which are straight sections of pipe, and In-line
Facilities, which are pieces of equipment such as compressors, pumps,
fittings and regulators. Pipe Units have a starting point and an ending
point and occupy the intervening space but in-line facilities are
considered to occupy only a single point in the pipeline.
When a Pipe Unit is added to the pipeline, the data required to fix the
position of its starting point and its ending point must be specified. The
starting point of the Pipe Unit is generally already determined, since
the Pipe Unit is attached to the previous unit in the pipeline. All that
remains is to enter the data that PIPESYS needs to fix the end point,
which can be done in a number of ways. You can fill in the Distance and
Elevation cells, which define the end point of the Pipe Unit relative to
the Pipeline Origin. Alternatively, you can use some combination of the
Run, Rise, Length and Angle values to fix the end point relative to the
Pipe Units starting point. For instance, you could enter a value of -10o
in the Angle cell and 300 ft in the Run cell to fix the end point as being at
a horizontal distance of 300 ft from the starting point and lying on a
downward slope of 10o.
Figure 3.12
If you enter values into Length and one of Distance or Run, the PIPESYS
assumes that Angle is positive. If Angle is actually negative, record the
calculated Angle or Rise value, delete the contents of the Length cell
and enter the negative of the recorded Angle or Rise value into the
respective cell.
3-14
The PIPESYS View 3-15
1. Select the cell with <empty> in it to place the new unit at the end of
the sequence. To place the new unit at some other point in the
sequence, select the unit that you want the new unit to precede.
2. From the drop down list on the Edit Bar, select the Pipeline Unit of
the type that you want to add to the sequence. A new unit will be
immediately added to or inserted in the matrix.
3. Now complete the location data if you have entered a Pipe Unit.
You will have to define at most two of the Distance, Elevation, Run,
Rise, Length or Angle quantities. The remaining cells will be filled
in automatically once PIPESYS has enough information to
complete the specification. For instance, entering the Distance
and Elevation data will result in the Run, Rise, Length and Angle
cells being filled in since all of these quantities can be calculated
from a knowledge of the start and end points of the Pipe Unit. If
3-15
3-16 The Main PIPESYS View
The entire pipeline from the inlet to the outlet is thus described as a
connected sequence of Pipeline Units. Some of these units can be pipe
segments of constant slope, called Pipe Units, while others can be in-
line facilities, such as compressors, pumps, heaters and fittings.
Figure 3.13
To make data entry easier for successive units, especially when most of
the properties remain unchanged from unit to unit, make use of the
Cut and Paste or the Copy and Paste functions. These buttons will copy
the contents of the current Pipeline Unit to memory so that all the data
they contain (i.e. pipe diameter for the Pipe Unit) can then be copied to
a new Pipeline Unit. The Cut operation will copy data to memory
before removing the unit, whereas the copy function will make a copy
and preserve the original unit. The Paste operation will create a new
Pipeline Unit at the cursor position. As explained above, if this is a Pipe
Unit, it will then be necessary to enter any two of distance, elevation,
run, rise, length or angle.
3-16
The PIPESYS View 3-17
The Global Change button allows you to change the parameters for
several or all of the Pipe Units in the Elevation Profile. This feature has
been implemented in PIPESYS as a time saving mechanism so that if
the same information is required for several Pipe Units, you do not
need to open the Property Views for each individual Pipe Unit and to
change the data. A global change operation simultaneously accesses
any or all of the Pipe Units in the elevation profile and can change a
selection of parameters.
The Global Change feature can be used to edit the Property View
parameters for a single Pipe Unit and to subsequently duplicate the
edits for none, some or all of the other Pipe Units in the pipeline, in a
single sequence of operations. Any Pipe Unit can be used as a data
template for changing the other Pipe Units in the pipeline.
Figure 3.14
3-17
3-18 The Main PIPESYS View
3-18
The PIPESYS View 3-19
Figure 3.15
To safeguard against a step size that is too large, PIPESYS has input cells
containing the Maximum dP per step or Maximum dT per step. If this
pressure change (dP) or temperature change (dT) is exceeded on any
calculation, the step size is halved and the calculations repeated. An
arbitrarily small step size could perhaps be chosen by the software to
meet these criteria, but this could result in greatly increased run time
with no corresponding increase in accuracy. Defaults are provided for
these parameters and you will rarely be required to change them.
There may be cases where you wish to enter your own stepsize values.
For this reason, you will find cells on this tab where you can not only
specify an initial step size, but where you can also enter maximum and
minimum allowed pressure and temperature changes. Checking the
Stepsize Optimizer check box then requests that PIPESYS determine
the stepsize such that the pressure/temperature changes fall within the
specified maximum and minimum. As well, a minimum and maximum
stepsize can be entered to constrain the optimizer.
3-19
3-20 The Main PIPESYS View
The Minimum Allowed Pressure in the cell at the bottom left controls
the point at which PIPESYS will terminate the calculations due to
insufficient pressure. The program default is one atmosphere.
3-20
The PIPESYS View 3-21
Figure 3.16
For both of the above options, the calculations can be based on one of
two options.
For calculations are based on the heat content of the pipeline fluid only
(computed or specified inside film heat transfer coefficient) the fluid
thermal conductivity, inside film coefficient or overall heat transfer
coefficient can either be specified or computed by the program. If the
3-21
3-22 The Main PIPESYS View
For calculations based on the heat content of both the fluid and pipe
material (ignoring the inside film heat transfer coefficient) the overall
heat transfer coefficient can either be specified or computed by the
program. Both the heat capacity of the pipe material and the density of
the pipe material must be specified and defaults are available for these
parameters.
maximum
first
second
and third intermediate times since shutdown be entered.
The intermediate times must be in increasing order and less than the
maximum time. Defaults are available for these times whereby the first,
second and third intermediate times are set to be one quarter, one half
and three quarters of the maximum time since shutdown respectively.
Both of the options available for the cooldown calculations require the
calculation time step to be entered. A default value of ten minutes is
provided as a reasonable value for this parameter.
3-22
The PIPESYS View 3-23
To compute the pipeline pressure profile, PIPESYS must know the fluid
property behaviour, and must therefore know the temperature of the
fluids at every calculation point in the pipeline. You can enter the
temperature directly if known, or if you are testing the sensitivity of the
pipeline to temperature effects.
Figure 3.17
3-23
3-24 The Main PIPESYS View
Figure 3.18
Figure 3.19
The Results tab also features the Detail button, the Report button, and
the Plot button. These buttons give you the capability to view your data
and results in a number of formats.
If you want to see results in greater detail than are displayed on the
Results tab matrix, press the Detail button. This will bring up the Pipe
Segment Results dialogue box that displays detailed results for each
calculation step. The pipe segment for each step is controlled according
to the parameters on the Step Size tab. For each of these the Pipe
Segment Results dialogue box displays:
3-25
3-26 The Main PIPESYS View
Figure 3.20
3-26
The PIPESYS View 3-27
If you do not need the complete report results from the PIPESYS case
and are interested in only one particular aspect of the case, select a
Specsheet that confines itself to reporting the parameter of interest. For
example, select the Pressure Temperature Summary for a record of the
pressure and temperature at each of the Pipeline Units.
The Plot button allows you to view your data and results in graphical
form, such as the one in Figure 3.20. Press the Plot button to display the
Plot view. Display any of the plots listed on the left-hand side by
selecting the corresponding radio button. The initial size of the plot
may be to be too small, so press the Pin button to convert the view to a
Non-Modal state and press the Maximize button. To print the plot,
right-click anywhere in the plot area and a pop-up menu will appear;
you can then select Print Plot.
Figure 3.21
3-27
3-28 The Main PIPESYS View
For more information on the To modify the characteristics of the plot, right-click on the plot area and
Graph Control, see HYSYS select Graph Control from the pop-up menu that appears. The Graph
Reference Manual 1, Section
5.3 - Graph Control. Control tool allows you to change the Data, Axes, Title, Legend and Plot
Area. For example, you can change the scaling on the plot axes by
opening the Axes tab, selecting the variable to be re-scaled in the list of
axes and removing the check from the Use Auto-Scale check boxes in
the Bounds group box. Then change the values in Minimum and
Maximum input boxes. When the Close button is pressed, the plot will
be redrawn with the new scales.
3-28
Elevation Profile -Quick Start 4-1
4 Elevation Profile -
Quick Start
4.1 Flow Sheet Set-Up........................................................................................ 3
4-1
4-2
4-2
Elevation Profile -Quick Start 4-3
For this case, a simple pipeline consisting of three pipe units and a pig
launcher will be built to demonstrate the PIPESYS procedures. Figure
4.1 shows a schematic of these four components with coordinate axes.
Figure 4.1
4-3
4-4 Adding the PIPESYS Extension
Name Inlet
Vapour Fraction 1.00
Temperature [oC] 45**
Pressure [kPa] 8000**
Molar Flow [kgmole/h] 300**
Mass Flow [kg/h] 6595
** signifies required input
LiqVol Flow [m3/h] 17.88
Heat Flow [kJ/h] -2.783e+07
Comp Mass Frac [methane] 0.7822**
Comp Mass Frac [ethane] 0.0803**
Comp Mass Frac [propane] 0.0290**
Comp Mass Frac [i-Butane] 0.0077**
Comp Mass Frac [n-Butane] 0.0246**
Comp Mass Frac [i-Pentane] 0.0074**
Comp Mass Frac [n-Pentane] 0.0072**
Comp Mass Frac [n-Hexane] 0.0012**
Comp Mass Frac [Nitrogen] 0.0098**
Comp Mass Frac [CO2] 0.0409**
Comp Mass Frac [H2S] 0.0097**
1. Go to the UnitOps tab in the workbook and press the Add UnitOp
button.
2. From the available list select PIPESYS extension and click Add.
4-4
Elevation Profile -Quick Start 4-5
Figure 4.2
2. First, select the <empty> cell in the Pipeline Unit column and then
choose Pipe from the drop-down list on the Menu Bar. A Pipe Unit
Property View will appear.
4-5
4-6 Defining the Elevation Profile
Figure 4.3
4. Go to the Heat Transfer tab of the Pipe Unit view. Select the cell
that reads <empty> for the Centre Line Depth and the click the
Default button. Figure 4.4 shows the completed tab.
Figure 4.4
4-6
Elevation Profile -Quick Start 4-7
6. The pipe unit will now appear as an entry in the matrix, with
<empty> in all parameter cells. Pipe #1 has endpoint coordinates
of (1200, 360). To complete the profile data entry, enter 1200 into
the Distance cell and 360 into the Elevation cell. PIPESYS
automatically calculates all the other parameters, as shown below.
Figure 4.5
7. Now add the second pipe unit to the matrix. Fill in the pipe unit
view with the same specifications as were used for Pipe Unit #1.
You may either re-enter all this information, or use the Copy and
Paste buttons on the Elevation Profile tab.
8. This time specify the second pipe unit endpoint using the Run and
Length parameters instead of Elevation and Distance. Figure 4.1
shows that the second pipe unit has a Run of 1200 and a Length of
1227.84. Enter these values into the Elevation Profile tab.
You may have noticed that the data on the Elevation Profile tab does
not correctly represent the actual geometry of the pipeline. This is
because PIPESYS always assumes a positive angle for the pipe unit when
the Run and Length parameters are used to specify the coordinates of the
endpoint.
9. To correct the matrix data, make a note of the Angle value, which is
12.23, and then delete the value in the Length cell. Now enter -
12.23 into the Angle cell. Or alternately, you could enter the value
for the Rise as -260 m.
4-7
4-8 Defining the Elevation Profile
10. To add the Pig Launcher, select the <empty> cell and choose Pig
Launcher from the Edit Bar.
Figure 4.6
You are not required to specify any additional data to incorporate the
Pig Launcher into the matrix. Figure 4.6 shows the Elevation Profile tab
after the Pig Launcher has been added. Position data for the launcher
or any other in-line facility does not have to be specified because this
information is obtained automatically from the preceding component.
4-8
Elevation Profile -Quick Start 4-9
11. Finally, add a third pipe unit with the same parameters as the
previous two. Using the Run and Rise parameters specify the
endpoint coordinates. The Run value is 500 (2900-2400) and the
Rise is 180 (280-100). Figure 4.7 shows the completed Elevation
Profile tab.
Figure 4.7
The status bar at the bottom of the PIPESYS view indicates that there is
Insufficient information on the Temperature Profile screen.
12. Open the Temperature Profile tab. Enter 20 into the Ambient
Temperature cell of the Pipeline Origin group box.
4-9
4-10 Defining the Elevation Profile
Figure 4.8
Figure 4.9
4-10
Pipe Unit View 5-1
5-1
5-2
5-2
Pipe Unit View 5-3
Figure 5.1
5-3
5-4 Connections Tab
Figure 5.2
5-4
Pipe Unit View 5-5
Figure 5.3
5-5
5-6 Connections Tab
Figure 5.4
The Inside Film Coefficient group box has a setting that allows you to
control how PIPESYS accounts for the effects of the inside film on heat
transfer. The term inside film refers to the laminar sublayer that exists
adjacent to the pipe wall. Heat transfer through this film is primarily by
conduction, but the thickness of the film depends on the flow rate and
the fluid properties. It is usual to define the resistance to heat transfer
in terms of a convective coefficient. The inside film can have a
significant influence on the heat flow and can account for as much as
half of the overall heat transfer coefficient value. You may select
Calculated and have PIPESYS calculate the inside film coefficient using
fluid property data, or select Specified and enter the value yourself.
The Parameters group box, on the right half of the Heat Transfer tab,
contains a list of environment parameters specific to the heat transfer
chosen. The following list describes the parameters for the various
environments. For dual environments, both sets of parameters will be
available.
5-6
Pipe Unit View 5-7
Buried
Centre Line Depth - The burial depth of the pipeline,
measured from the ground surface to the centre line of the
pipe.
Soil Type - You may select from a variety of commonly
encountered soil types or choose User Specified. The soil type
is used by the program to determine a value for the soil
conductivity. If you have chosen User Specified, you may enter
your own value in the Soil Conductivity input cell.
Soil Conductivity - The thermal conductivity of the soil
surrounding the pipe.
Submerged
Water Density - The density of the water surrounding the pipe.
Water Viscosity - The viscosity of the water surrounding the
pipe.
Water Conductivity - The thermal conductivity of the water
surrounding the pipe.
Water Velocity - The cross pipe velocity of the water
surrounding the pipe. This value is used in convective heat
transfer calculations.
Water Heat Capacity - The specific heat capacity of the water
surrounding the pipe.
Above Ground
Air Density - The density of the air surrounding the pipe.
Air Viscosity - The viscosity of the air surrounding the pipe.
Air Conductivity - The thermal conductivity of the air
surrounding the pipe.
Air Velocity - The cross-pipe velocity of the air surrounding the
pipe unit. This value is used in convective heat transfer
calculations.
Buried Fraction - The fraction of the pipe diameter that is
underground. This number must be a value between 0.0 and
1.0.
Inside Film Coefficient - Displays the calculated or user-
entered value for the inside film coefficient.
If you want PIPESYS to supply a default value for any of the Parameters
data, highlight the input cell and press the Default button in the lower
5-7
5-8 Connections Tab
right corner of the group box. PIPESYS will supply a default value to the
input cell.
Figure 5.5
Figure 5.6
5-8
Pipe Unit View 5-9
1. Open the Elevation Profile tab of the Main PIPESYS View. If the
table is not empty you may add the Pipe Unit to the end of the
component list or insert it between two components already in the
list.
Figure 5.7
To add a new Pipe Unit at the end of the pipeline, select the cell
containing <empty> in the Pipeline Unit column. Select Pipe from
the Edit Bar drop down list. If you want to insert a new Pipe Unit
within a set of Pipe Units, select the Pipeline Unit that will be
immediately downstream of the new Pipe Unit and choose Pipe
from the Edit Bar drop down list.
Figure 5.8
5-9
5-10 Adding a Pipe Unit
In both cases, a new Pipe Unit will appear in the profile matrix and
the Pipe Unit View will open.
Figure 5.9
2. Enter a label for this Pipe Unit or accept the default name provided
automatically in the Name cell.
3. Select the Dimensions tab on the Pipe Unit View. Here you enter
the physical dimensions and the effective roughness of the pipe. If
the nominal diameter and the pipe schedule are known, choose
these settings from the Nominal Diameter and Pipe Schedule
drop down boxes.
Figure 5.10
5-10
Pipe Unit View 5-11
Figure 5.11
5. On the Heat Transfer tab, select the pipe surroundings for your
case in the Heat Transfer Environment group box.
Figure 5.12
5-11
5-12 Adding a Pipe Unit
Figure 5.13
PIPESYS requires sufficient data to calculate the heat transfer from the
fluid to the surroundings. Use the Default button to fill in required
values for which you have no field data.
Figure 5.14
5-12
Global Change Feature 6-1
6 Global Change
Feature
6.1 Global Change View..................................................................................... 4
6.1.1 Connections Tab ...................................................................................... 4
6.1.2 Dimensions Tab ....................................................................................... 5
6.1.3 Heat Transfer Tab .................................................................................... 6
6.1.4 Pipe Coatings........................................................................................... 6
6-1
6-2
6-2
Global Change Feature 6-3
The Global Change button is accessed through the Elevation Profile tab
of the Main PIPESYS view.
Figure 6.1
It can be used to edit the property view parameters for a single Pipe
Unit and to subsequently duplicate the edits for none, some, or all of
the other Pipe Units in the pipeline, in a single sequence of operations.
This saves time when implementing changes to many Pipe Units at
once. Of greater importance is that this feature reduces the potential for
errors during the edit process. Any Pipe Unit can be used as a data
template for changing the other Pipe Units in the pipeline simply by
selecting it prior to clicking the Global Change button.
Figure 6.2
6-3
6-4 Global Change View
The Global Change Property View is almost identical to the Pipe Unit
Property View. Except as noted in this chapter, you make changes to
Pipe Unit parameters using the same interface features that are
described Chapter 5 - Pipe Unit View.
Figure 6.3
6-4
Global Change Feature 6-5
Figure 6.4
Figure 6.5
6-5
6-6 Global Change View
Figure 6.6
Figure 6.7
6-6
Global Change Feature 6-7
1. Select any one of the Pipe Units in your elevation profile matrix
and press the Global Change button. The Global Change Property
View will appear and display the data from the selected unit.
Figure 6.8
Figure 6.9
6-7
6-8 Global Change Procedure
The check box also allows you to specify that the data of a particular
unit, as it appears, will be duplicated to other Pipe Units in the
elevation profile. To do this, just click on the check box beside each
parameter that you want copied to other Pipe Units but leave the data
unchanged.
3. Once all the changes that you want to make have been specified,
press the Apply button and the Global Change Dialogue Box will
appear with a list of all the Pipe Units in the profile.
Figure 6.10
Select the Pipe Units in the list that will be subjected to the Global
Change and press the OK button.
4. To complete the Global Change, you must close the view by
pressing the Close button. PIPESYS will then make the requested
parameter changes to all Pipe Units selected for the Global Change
procedure.
6-8
Global Change Feature 6-9
The Global Change feature can be used to edit the Property View
parameters for a single Pipe Unit and to subsequently duplicate the
edits for some or all of the other Pipe Units in the pipeline. Any Pipe
Unit can be used as a data template for changing the other Pipe Units in
the pipeline.
This short example uses the case Pipesys1.hsc that you created in
Chapter 4 - Elevation Profile -Quick Start. This case consists of a single
PIPESYS extension comprised of 3 segments of steel pipe and a pig
launcher situated between the second and the third pipe units. The
pipe is buried, has a 3 diameter and is schedule 40. If you have not yet
completed this case, you must do so before proceeding with this
example.
In this example, the Global Change feature will be used to change the
diameter of all the pipe units from 3 to 4. Figure 6.11 shows an
6-9
6-10 Making a Global Change
Figure 6.11
Figure 6.12
6-10
Global Change Feature 6-11
The check beside a Pipe Unit 3. Now change the Pipe Unit diameter to 4". Select 4 Inches from the
parameter indicates that it Nominal Diameter drop down cell and you will see that a check
has been changed and that
appears in the Change check box beside it. You will also have to re-
this change can subsequently
be applied to other Pipe Units. select Schedule 40 from the Pipe Schedule drop down cell. Figure
6.13 shows the changed view.
Figure 6.13
4. Now press the Apply button at the bottom of the Global Change
View.
5. The Global Change Dialog Box will appear. Here you must specify
which Pipe Units in the pipeline will be subjected to the Global
Change. In this case the change will apply to all pipe units, so press
the Select All button to highlight all the pipe units. Figure 6.15
shows the dialog box with the selected pipe units.
Figure 6.14
6-11
6-12 Making a Global Change
The Global Change view must 6. Press the OK button on the Global Change view and PIPESYS will
be closed to initialize the recalculate the extension using the new diameter value.
PIPESYS calculations.
This completes the Global Change example. The following table
compares calculated results for the Outlet stream for the 3 and 4
diameter pipeline.
Diameter 3 4
6-12
In-line Compressor 7-1
7 In-line Compressor
7-1
7-2
7-2
In-line Compressor 7-3
This view is used to enter all of the data required to specify the
characteristics of a compressor unit in a PIPESYS extension. PIPESYS
contains five different compressor models which operate either on
performance data built into the program or on data entered by the user.
The data displayed in the Compressor Location group box may not be
edited. You must go to the Elevation Profile tab in the Main PIPESYS
View if you need to change the compressor location data.
7-3
7-4 The Compressor View
Figure 7.1
Figure 7.2
7-4
In-line Compressor 7-5
Brake Power
Specified - The Brake Power is the total power for all stages.
You need to specify only one of Brake Power or Discharge
Pressure and PIPESYS will calculate the other. Once you enter
a value here, PIPESYS will calculate the corresponding
discharge pressure and display it in the Discharge Pressure
group box.
Calculated - PIPESYS will display the brake power calculated
from the specified Discharge Pressure in this input cell.
Discharge Pressure
Specified - This value is the pressure at the outlet of a single
or multistage compressor. You need to specify only one of
Brake Power or Discharge Pressure and PIPESYS will
calculate the other. Once you enter a value here, PIPESYS will
calculate the corresponding brake power and display it in the
Brake Power group box.
7-5
7-6 The Compressor View
Optional Constraints
Max Power - If the compressor discharge pressure has been
specified, you can enter a value here to constrain the computed
power requirement. If no value is entered here, PIPESYS will
make its calculations with the assumption that the compressor
is capable of supplying as much power as is needed to attain
the specified discharge pressure. However, this can be an
unrealistic assumption. The compressor may be incapable of
such performance, in which case you can find the greatest
discharge pressure that it can deliver without exceeding its
rated maximum power. To do so, enter values for Discharge
Pressure and Max Power. If PIPESYS finds that the
compressor must exceed the Max Power setting to match the
discharge pressure, it will recalculate and find the greatest
discharge pressure that it can deliver at the maximum power
setting.
Max Discharge Pressure - If the compressor power has been
specified in the Brake Power cell, you can constrain the
compressor discharge pressure by entering a value in this cell.
In this way, you can ensure that you do not exceed the
maximum operating pressure for your pipeline. If the specified
power will cause the compressor to exceed the maximum
discharge pressure, then the compressor discharge will be set
to this value and a new lower brake power will be computed.
Parameters
Max Discharge Temperature - The temperature of the
compressor discharge is limited to this value by cooling the
gas. The theoretical duty for the cooler is reported on the
Requirements tab.
Max Interstage Temperature - This parameter is applicable
only to multi-stage compressors. If the temperature of the gas
at any of the intermediate discharges exceeds this value,
PIPESYS will automatically install an interstage cooler to lower
the temperature of the gas to this value. This duty is also
reported on the Requirements tab.
Number of Stages - You may specify any number of stages for
a multi-stage compressor in this input cell. If you leave this
empty, PIPESYS will compute the number of stages based on
a maximum compression ratio of 4:1.
Polytropic Efficiency - PIPESYS uses a default value of 0.73
unless you specify otherwise.
Adiabatic Efficiency - PIPESYS uses a default value of 0.73
unless you specify otherwise.
7-6
In-line Compressor 7-7
You must select the units used to specify the Brake Power/Flow
parameter. You may choose from:
You must also enter the curve data into the matrix. You should be able
to obtain this information from the compressor manufacturers
specification sheets. You must enter at least two data points to
completely specify the compressor curve. It is not necessary to enter
the Point value as these numbers are automatically generated. You
must enter a value into the Reference Pressure input cell. This value is
the pressure at which the compressor was tested and should be
recorded on the compressor specification sheets.
7-7
7-8 The Compressor View
Figure 7.3
The Insert, Remove and Remove All buttons can be used to alter the
curve data after all points have been entered. To insert, select the entry
that immediately follows the position where you want the new point to
be located. Press the Insert button and blank data cells will appear in
the list. To remove a data point, select the specific cell to be removed
and press the Remove button. If you want to clear the list and start over,
press Remove All.
7-8
In-line Compressor 7-9
Figure 7.4
If fuel gas calculations have been requested, PIPESYS will compute the
fuel gas requirements for the compressor based on:
In all of the above cases, it is assumed that the fuel gas is taken from the
suction side of the compressor after any first stage separation is done to
remove liquids. Fuel consumption reduces the total amount of gas that
must be compressed and thus, an iterative solution is applied to
compute the compressor horsepower.
For the case when the net heating value of the gas and the overall brake
horsepower is used to compute the fuel requirements, the thermal
efficiency of the compressor is required. A value for the net heating
value of the gas can also be entered. If the value of the net heating value
is left empty, it is determined from the gas being compressed. The fuel
requirements are then computed as,
7-9
7-10 The Compressor View
( 0.706798 )BHP
Q f = ----------------------------------------
hv t
Figure 7.5
7-10
In-line Compressor 7-11
Brake Power is the total power required to operate the compressor. Gas
Power is the sum of the theoretical power (the power needed to
compress an ideal gas) and the additional power needed to
compensate for compression losses.
The Theoretical Cooling group box displays any cooling that was
required, if this proved to be necessary, for each stage and the
compressor outlet. The sum of all duty required for cooling the gas is
displayed in the Total Cooling cell.
7-11
7-12 The Compressor View
Figure 7.6
Figure 7.7
7-12
In-line Compressor 7-13
1. Open the Elevation Profile tab of the Main PIPESYS View. You can
To insert a compressor in the add the compressor to the end of the list of Pipeline Units or insert
middle of the elevation profile,
it at an intermediate point in the profile.
select the Pipeline Unit that
will be placed immediately 2. To add the new compressor at the end, select the cell containing
downstream and then add the <empty> in the Pipeline Unit column and choose Compressor
compressor. from the Edit Bar at the top of the View.
Figure 7.8
7-13
7-14 Adding a Compressor
3. In the new compressor view that appears, enter a label in the Name
cell on the Connections tab, if desired.
Figure 7.9
Figure 7.10
7-14
In-line Compressor 7-15
Figure 7.11
7. Enter values in the Parameters group box that best represent the
capabilities and type of your compressor. These values may be
Parameter defaults are available from the manufacturers specification sheets or may be
provided for:
- Adiabatic Efficiency known to you from previous experience with the compressor. Cells
- Polytropic Efficiency which will be filled in by the software but can be overwritten by you
-Heat Capacity Ratio will be displayed in red. Optional values such as Max Discharge
- Rating Factor Temp and Max Interstage Temp can be left empty. Entries are
required for all remaining cells. If any of the required parameters
are unknown to you, pressing the Default button while the
particular cell is selected will generate a default value.
8. Open the Curve tab. Depending on the type of compressor
selected, you may have to supply data for a Compression Ratio vs.
Brake Power/Flow. If no curve data is required, the message No
data required for compressor type selected will appear on this tab.
If curve data is required, a matrix will appear for data entry.
7-15
7-16 Adding a Compressor
Figure 7.12
Figure 7.13
7-16
In-line Pump 8-1
8 In-line Pump
8-1
8-2
8-2
In-line Pump 8-3
Figure 8.1 shows the Connections tab for the In-line Pump. The name
and location of the pump are repeated here from the Elevation Profile
tab of the Main PIPESYS View. The location, once defined in the Main
PIPESYS View, cannot be changed in any other view and is displayed
here only for your reference. If you need to change the location, open
the Elevation Profile tab of the Main PIPESYS View.
8-3
8-4 In-line Pump View
built-in relation when it is left unchecked. The only additional data you
need to provide are values for some of the parameter input cells on this
tab.
Figure 8.2
FHP
BHP = ------------
8-4
In-line Pump 8-5
You are not required to enter any data values for these parameters if
you are using the pump performance curve method. In fact, you will be
unable to enter any parameter values on this tab if the Activate Curve
check box is checked, as the parameter input cells will change to read-
only mode.
Figure 8.3
8-5
8-6 In-line Pump View
Use the matrix on this tab to define the Head vs. Flow Rate and the
Efficiency vs. Flow Rate curves for your pump. Curve data should be
available from the pump manufacturer specification sheets. Different
units for the Flow and Head data may be selected from the drop-down
input cells above the matrix.
If you have not checked the Activate Curve check box on the
Parameters tab, the message No data is required as pump curve is not
activated. will be displayed on this tab.
8-6
In-line Facility Options 9-1
9 In-line Facility
Options
9.1 In-line Heater................................................................................................. 3
9.1.1 Connections Tab ...................................................................................... 3
9.1.2 Parameters Tab........................................................................................ 3
9.3 Unit-X............................................................................................................. 6
9.3.1 Connections Tab ...................................................................................... 6
9.3.2 Parameters Tab........................................................................................ 7
9.3.3 Results Tab .............................................................................................. 7
9-1
9-2
9-2
In-line Facility Options 9-3
Figure 9.1
9-3
9-4 In-line Cooler
If you have specified a fluid temperature profile for the pipeline, this
tab will display the message; Heater bypassed because you selected
the option to specify the fluid temperature profile.
9-4
In-line Facility Options 9-5
Figure 9.2
9-5
9-6 Unit-X
If you have specified a fluid temperature profile for the pipeline, this
tab will display the message; Cooler bypassed because you selected
the option to specify the fluid temperature profile.
9.3 Unit-X
The Unit-X is a generic component that allows you to impose arbitrary
changes in pressure and/or temperature on the fluid flow. It can be
used to simulate the effects of a wide variety of process devices in a
simple manner and is particularly useful in preliminary studies.
Figure 9.3
9-6
In-line Facility Options 9-7
Temperature parameters for the Unit-X can be set in one of two ways as
follows:
9-7
9-8 In-line Regulator
Figure 9.4
9-8
In-line Facility Options 9-9
Figure 9.5
9-9
9-10 In-line Fittings
The Inside Diameter and Absolute Roughness group boxes are used to
specify the inside diameter and inside surface roughness of the fitting.
The first input cell in each group box is associated with a drop down list
from which you may select From Profile or User Specified. If the former
is selected, the program will obtain the diameter and roughness data
from the adjacent components in the elevation profile. The User
Specified setting allows you to enter your choice of values for diameter
and roughness.
The Results group box displays the calculated results of the inlet and
exit pressure and temperature for the fitting.
9-10
In-line Facility Options 9-11
Unless the pipeline is quite long with relatively high liquid loading, the
differences in slug size due to pig velocity are not excessive. For most
A Pig Launcher allows you to cases, this check can provide a useful guide for sizing the liquid
begin a Pigging Slug Check in
receiving facilities.
the middle of a pipeline.
If a Pig Launcher is not added to
the elevation profile, the test is The insertion of a Pigging Slug Check in a pipeline profile indicates the
taken from the beginning of the termination point of the test, or the location of the pig slug catcher.
profile to the pig slug catcher. Therefore, the length of the pipeline through which the pig travels
9-11
9-12 Pigging Slug Check
spans the distance between its insertion point at a Pig Launcher and
the Pigging Slug Check. The Pig Launcher is available on the drop-
down list of in-line facilities options on the Elevation Profile tab. It is
added to the Elevation Profile tab in the same manner as any other in-
line facility. Because the Pig Launcher serves only as a marker for the
beginning of a Pigging Slug Check, it does not have any physical
properties and therefore does not have an associated view.
You are able to add more than one Pig Launcher to the elevation profile
of a PIPESYS Extension. However, PIPESYS will perform the slugging
check between the pig slug catcher and the nearest upstream Pig
Launcher. If you do not insert a Pig Launcher into the profile, PIPESYS
will calculate the volumes from the beginning of the pipeline. Use the
Cut button on the Elevation Profile tab to remove any undesired Pig
Launchers.
Figure 9.6
9-12
In-line Facility Options 9-13
The Results tab provides three measures of pigging slug size for a range
of pig velocities. You must use your own judgement to decide which pig
velocity is likely to match the actual situation.
For each value of pig velocity, the pig transit time, slug volume, slug
length and slug dumping time are displayed in the results matrix. The
transit time is the time taken for the pig to travel from the launching
point to the check location. Slug volume is the volume of liquid ahead
of the pig as discussed above and slug length measures how much of
the pipeline ahead of the pig is occupied by the slug, assuming that the
pipeline is completely filled with liquid. Dumping time is the time
required for the slug to flow out of the pipeline under steady state
conditions.
Figure 9.7
9-13
9-14 Severe Slugging Check
If the flow is stratified, a liquid seal may form at the base of the riser and
block the gas flow. The liquid will continue to flow and accumulate in
the riser, forming a slug. This slug will grow and expand to fill the riser if
the rate at which the hydrostatic head of the slug increases is faster than
the rate at which the gas pressure increases upstream of the slug.
Eventually the liquid will reach the top of the riser and continue to flow
through the pipeline. However, this situation does not represent an
equilibrium state because the gas flow remains blocked. The
hydrostatic head of the slug cannot further increase but the pressure
due to the buildup of gas at the base of the riser will finally exceed the
hydrostatic head of the slug and cause gas to enter the riser. Sometimes
the gas pressure can exceed the hydrostatic head of the slug before the
liquid reaches the top of the riser, but the end result is the same and gas
moves into the riser.
As the gas displaces the liquid in the riser, the hydrostatic head is
reduced, causing a corresponding expansion of the gas. At some point
the remaining liquid in the riser will be energetically blown
downstream and the gas pressure will drop to its minimum value. Then
the liquid-buildup begins anew and the process repeats.
9-14
In-line Facility Options 9-15
Figure 9.8
9-15
9-16 Erosion Velocity Check
where: C = a constant
The PIPESYS erosion velocity check makes this calculation for two
values of the constant C so that you may choose a more conservative or
less conservative maximum velocity depending on your need to limit
erosion. To eliminate erosion losses it is suggested that the value
recommended by the API RP14E (C = 100) be used. For situations in
which a small amount (less than 10 mils per year) of erosion can be
tolerated, Salama and Venkatesh recommend a higher value (C = 300).
It is important to realize that the minimum erosion velocity is a
function of the gas density. Much higher velocities can be tolerated at
low pressure than at high pressure.
9-16
In-line Facility Options 9-17
4d
V M = -----------
Ws
Figure 9.9
9-17
9-18 Side Stream
To analyse the data provided in this tab, you need some information
about your system. You will need an estimate of sand production for
the system in units of lb/month or kg/month and you need to evaluate
the sensitivity of the system to erosion damage. If you wish to eliminate
erosion, choose C = 100. If this condition is too restrictive in terms of
allowable velocity and a small erosion rate over the life of the pipeline
can be tolerated, use C = 300.
Find the value of sand production in the Sand Production column that
is closest to the value for your system. This is expressed in lb/month or
kg/month. Read across to the allowable velocity value that corresponds
to the value of C that you have chosen. If this allowable velocity value is
less than the Mixture Velocity in the Fluid Conditions group box,
erosion is likely to be higher than acceptable and you should make
whatever changes are necessary to lower the mixture velocity at this
location. If the allowable velocity value is greater than the mixture
velocity, erosion is unlikely to be a problem.
9-18
In-line Facility Options 9-19
Figure 9.10
9-19
9-20 Side Stream
direction of flow. For calculations done against the direction of flow the
After Side Stream main line streams data is used.
The outflow stream always obtains its temperature and vapour mole
fraction data from the main line streams. Similarly, as when the inflow
streams temperature and vapour mole fraction data are left empty the
Before Side Stream main line streams data is used when calculations
are done in the direction of flow. For calculations done against the
direction of flow the After Side Stream main line streams data is used.
9-20
Gas-Condensate Tutorial 10-1
10 Gas-Condensate
Tutorial
10.1 Setting Up the Flowsheet .......................................................................... 3
10-1
10-2
10-2
Gas-Condensate Tutorial 10-3
To change the unit set to Field, 1. Start HYSYS and create a New case.
go to Tools in the menu bar
and choose Preferences. Click 2. Create a Select EOSs in the Property Package Filter group box and
on the Units tab to change the then PR in the Base Property Package Selection group box.
unit set. 3. Open the Components tab on the Fluid Package view and use the
Pure button to add C1, C2, C3, i-C4, n-C4, i-C5, n-C5, C6,
Nitrogen, CO2 and H2S to the Current Component List.
4. Select the Hypothetical radio button on the Add Comps group box
on the Components tab and then click the Quick Create a Hypo
Comp... button. This will bring up the Hypothetical Component
Property View.
The workbook can also be 5. On the Hypothetical Component Property View enter C7+ into the
accessed by using the hotkey Component Name cell and make sure that Family/Class is set to
combination <Ctrl><D>. Hydrocarbon.
For more information on 6. Open the Critical tab of the Hypothetical Component Property
creating a Hypothetical View and enter 122 into the Molecular Weight cell.
Component refer to Chapter 9
- Hypotheticals of the HYSYS 7. Enter 760 kg/m3 into the Ideal Liquid Density cell by first selecting
Reference, Volume 1. that cell and then typing 760" into the Edit Bar. Select units of kg/
m3 from the Edit Bar drop down list and the program will
automatically convert the liquid density to 47.45 lb/ft3.
10-3
10-4 Setting Up the Flowsheet
Figure 10.1
9. On the Fluid Package view, select the C7+ component in the Hypo
Components list and press the Add Hypo button to add it to the
Current Component List to complete the specification of the fluid.
10. Close the Fluid Package view.
11. Press the Enter Simulation Environment... button at the bottom of
the Simulation Basis Manager view.
12. Open the Workbook.
13. To change the Workbook display, select Workbook from the Main
Menu bar and then Setup to display the Setup view (Figure10.2).
Workbook button Press the Add... button in the Variables group box to display the
Select Variable(s) for Main dialog box. Select Std Gas Flow in the
Variable(s) list. Press the OK button in the Select Variable(s) for
Main dialogue box. Close the Setup view.
10-4
Gas-Condensate Tutorial 10-5
Figure 10.2
14. Create a new Material Stream. Name it Condensate and type 110 F
into the Temperature cell and 1150 psia into the Pressure cell. See
Figure 10.3 below:
Figure 10.3
10-5
10-6 Setting Up the Flowsheet
15. Enter 75 million standard cubic feet per day (MMSCFD) into the
Molar Flow cell on the Workbook view (Figure 10.4). HYSYS will
convert this value to 8235. lbmole/hr.
Figure 10.4
16. Double click the Molar Flow cell and the dialog box Input
Composition for Stream: Condensate will open. Complete the
composition detailed on the following tab as shown in Figure 10.5
and click OK.
Figure 10.5
10-6
Gas-Condensate Tutorial 10-7
17. Create a second Material Stream, which will be the outlet stream of
the pipeline, by typing. Name this stream Outlet.
18. Open the Energy Streams tab of the Workbook view. Define an
Energy Stream by entering the name Pipeline Energy Transfer
into the Name cell.
The following table summarizes the required input for the Condensate
stream:
Name Condensate
10-7
10-8 Adding a PIPESYS Extension
Figure 10.6
The Main PIPESYS View should now be on your screen, displaying the
Connections tab.
The Ignore the UnitOp During Calculations allows you to disable the
concurrent calculation of intermediate results while you are specifying
data to the PIPESYS extension. Figure 10.7 shows the completed view.
10-8
Gas-Condensate Tutorial 10-9
Figure 10.7
8. Open the Methods tab. Make sure the Gas-based with Liquid and
the Calculate Profile radio buttons are selected as in Figure 10.8.
Figure 10.8
10-9
10-10 Adding a PIPESYS Extension
9. Select the Elevation Profile tab. Here you will define the geometry
and physical characteristics of the pipeline. Enter 0 into the
Distance cell and 2800 into the Elevation cell in the Pipeline
Origin group box.
10. Select the cell in the Pipeline Unit column that reads <empty>.
Then from Edit Bar at the top of the view, select Pipe from the drop
down list, as in Figure 10.9.
A Pipe Unit will be added to the elevation profile matrix and the Pipe
Property View will open.
Figure 10.9
11. Open the Dimensions tab of the Pipe Property View. Select 12
Inches from the Nominal Diameter drop down list. Select 40 from
the Pipe Schedule drop down list. When you are finished these
steps, the Dimensions tab will appear as in Figure10.10.
Figure 10.10
12. Open the Heat Transfer tab of the Pipe Property View. Enter 4 ft for
the Centre Line Depth parameter.
10-10
Gas-Condensate Tutorial 10-11
13. Choose Sandy Soil (Moist) from the drop down list for Soil Type.
Figure 10.11
14. Go to the Pipe Coatings tab of the Pipe Property View. Add a single
layer of insulation consisting of PVC Foam with a thickness of 2
inches. See Figure 10.12 to verify the correctness of your data
entries before pressing the Close button on the Pipe Property View.
Figure 10.12
10-11
10-12 Adding a PIPESYS Extension
15. Complete the specification for the first Pipe Unit by entering 3400
ft into the Distance column and 2880 ft into the Elevation column
of the elevation profile matrix. Figure 10.13 shows the data entry
completed for the first Pipe Unit.
Figure 10.13
Using the Copy and Paste buttons on the Elevation Profile you are able
to copy existing Pipeline Units from the Elevation Profile tab and create
a new Pipeline Unit with identical properties. This saves time when
creating a pipeline consisting of several identical pipe units.
16. Select the Pipe Unit that you want to copy; in this case it is Pipe #1,
and press the Copy button. You will notice that the Paste button,
previously greyed out, becomes active.
17. Select the cell in the Pipeline Unit column with the <empty> label
and press the Paste button. A new Pipe Unit will be added to the
profile. Repeat this procedure twice so that the elevation profile
matrix has a total of four Pipe Units.
10-12
Gas-Condensate Tutorial 10-13
18. Since the Copy and Paste procedure copies only the property view
data for the Pipe Units, you are required to enter the elevation
profile data for the remaining three units. Use the data values
shown in Figure 10.14 to fill in the Distance and Elevation
parameters.
Figure 10.14
19. Open the Stepsize tab of the Main PIPESYS View. Make sure the
For most cases, the PIPESYS Program Defaults radio button is selected, as in Figure 10.15.
default Stepsize and tolerance
values are acceptable for the
Figure 10.15
extension calculations.
10-13
10-14 Adding a PIPESYS Extension
20. Open the Temperature Profile tab of the Main PIPESYS View.
21. Enter 40 F into the Ambient Temperature cell in the Pipeline
Origin group box as shown in Figure 10.16.
Figure 10.16
22. Return to the Connections tab of the Main PIPESYS View. Since
data entry is complete, you can instruct the program to begin
calculations by removing the check in the Ignore this UnitOp
During Calculations check box. After a few seconds, the program
will find a solution and announce success by displaying
Converged on the Object Status at the bottom of the Main
PIPESYS View.
10-14
Gas-Condensate Tutorial 10-15
23. You can view the results for each Pipe Unit on the Results tab on
the Main PIPESYS View. This tab shows pressure losses, fluid
temperatures and liquid holdup for each Pipe Unit. See Figure
10.17.
Figure 10.17
24. You can view more detailed results by pressing the Detail button
on the Results tab. This will bring up the Pipe Segment Results
view which displays a comprehensive array of hydraulic data for
each calculation segment.
25. Check to see if the program encountered any difficulties during the
calculation phase by opening the Messages tab. For this case, there
should have been no difficulties and the tab should read, No
calculation warnings encountered.
26. To open the PFD, press the PFD button on the Button Bar. Right
click anywhere on the PFD view to obtain a pop-up menu.
27. Select Choose Label Variable from the menu and the Select
Variable for PFD Labels dialog box will appear. You can use this
dialog to display a number of process variables right on the PFD.
28. Press the Change Variable button and choose Pressure from the
Choose Label Variable dialog box.
10-15
10-16 Applying a Global Change
29. Press the OK button on the Choose Label Variable dialog box and
the inlet and outlet pressures will be displayed on the PFD. See
Figure 10.18.
Figure 10.18
30. To print the PFD schematic, right click anywhere on the PFD and
select the Print PFD command from the pop-up menu.
1. Open the Elevation Profile tab on the Main PIPESYS View, select
the first pipe in the list and press the Global Change button.
2. Select the Dimensions tab. Choose 10 Inches from the Nominal
Diameter drop down list and select 40 from the Pipe Schedule
drop down list.
You should notice that the Change check box beside the Nominal
Diameter drop down list became checked as soon as you made these
changes. This is to notify you that the program is aware that this
parameter has changed and that this change can be duplicated for
other Pipe Units in the pipeline.
10-16
Gas-Condensate Tutorial 10-17
Figure 10.19
Figure 10.20
5. Press the Close button on the Pipe Property view.The changes will
be registered with the program but will not be implemented until
this view is closed.
10-17
10-18 Applying a Global Change
10-18
PIPESYS Application 1 11-1
11 PIPESYS Application 1
11.4 Results....................................................................................................... 18
11-1
11-2
11-2
PIPESYS Application 1 11-3
Figure 11.1
Field data shows that the wells are delivering the following rates:
All three wells have the same composition. A residual of all the heavier
components in the condensate has a molecular weight of 122 and a
density of 760 kg/m3. The characteristics of this component will be
accounted for by using the hypothetical component facility in HYSYS.
11-3
11-4 Gas Condensate Gathering System
Branch 1 3
Branch 2 3
Branch 3 3
Branch 4 4
Branch 5 6
Schedule 40 steel pipe is used throughout and all branches are buried
at a depth of 3 feet. All pipes are uninsulated.
Elevation data for each of the branches are provided in the following
table. The elevation given for the pipe units is for the endpoint of the
pipe, i.e. the downstream end. Branches that traverse undulating
terrain have been subdivided into a number of segments with elevation
points assigned at locations where there is a significant slope change.
Such locations in the network are labelled on the schematic diagram
with the elevation value in italics. The following table summarizes the
elevation data. For each of the branches, the resulting distance and
elevation data as obtained from the topographic map is listed. With
these data, you can simulate the performance of the given system using
PIPESYS extension and thereby calculate important parameters such as
pressure losses, temperature changes and liquid-holdup amounts as
well as predicting the flow regimes.
11-4
PIPESYS Application 1 11-5
In this simple example, the flow rate at each well is specified and is
independent of the flow rate at each of the other wells. In cases such as
this, the system can be modelled with only one pressure drop
determination per branch. Simultaneous pressure and temperature
calculations can be performed if the temperature at each wellhead is
also known.
Figure 11.2 shows the PFD generated by HYSYS for the completed case.
Figure 11.2
Since pressures are continuous throughout the network, the pressure can
be specified at only one point. For instance, the pressure can be fixed at
any one well or at the final delivery point and PIPESYS will compute the
pressure everywhere else. For this application example, a pressure of
1060 psia will be specified for Well A. PIPESYS will then determine the
pressures elsewhere in the network that are consistent with this
specification.
11-5
11-6 Setting up the Flowsheet
Name C7+**
3. Open the Workbook and add the 10 Material Streams listed below:
11-6
PIPESYS Application 1 11-7
Because the stream composition is identical over the entire system, the
composition of stream specified for Well A may be copied to streams
Well B and Well C.
5. Use the Define from Other Stream... button on Well Bs stream view
to define its composition by copying the stream specs from Well A.
Repeat for Well C.
6. Now open the Energy Streams page on the Workbook view. Enter
the names of five energy streams:
For this case, each of the five branches of the pipeline will be
represented by a separate PIPESYS extension.
11-7
11-8 Setting Up the Case
Figure 11.3
3. On the Elevation Profile page, and enter 0 ft into the Distance cell
and 2095 ft into the Elevation cell.
4. Add the first of three pipe units for this extension on the Elevation
Profile Page. The Pipe Unit view will appear.
11-8
PIPESYS Application 1 11-9
5. On the Dimensions Page of the Pipe Unit view, specify the pipe as
being 3 inches in diameter, schedule 40. The completed page is
shown in Figure 11.4.
Figure 11.4
6. On the Heat Transfer page, click on the Centre Line Depth cell and
press the Default button. All other parameters may be left at their
default values. See Figure 11.5 for the completed form.
Figure 11.5
11-9
11-10 Setting Up the Case
7. Close the Pipe Unit view and complete the Elevation Profile page
by entering 945 ft for the Run parameter and 2110 ft for the
Elevation parameter. All other parameters are automatically
calculated, as shown in Figure 11.6:
Figure 11.6
8. Add the remaining 2 pipe units. Because all the pipe units for the
extension have identical properties to Pipe #1, you may use the
Copy and Paste buttons as a time saving measure for adding the
new units.
11-10
PIPESYS Application 1 11-11
Figure 11.7
Figure 11.8
11-11
11-12 Setting Up the Case
11. Enter the required information for the second extension as defined
in the following table:
Pipe Schedule 40
11-12
PIPESYS Application 1 11-13
Figure 11.9
13. On the Parameters page of the Mixer, select the Equalize All radio
button in the Automatic Pressure Assignment group box.
Figure 11.10
11-13
11-14 Setting Up the Case
14. Enter the data for the third PIPESYS extension as defined in the
following table.
Pipe Schedule 40
11-14
PIPESYS Application 1 11-15
To save time, add and define 15. The following table contains the information required to complete
Pipe #1 and then use the Copy the fourth PIPESYS extension:
and Paste buttons to create
Pipe #2 and Pipe #3.
Pipe Schedule 40
11-15
11-16 Setting Up the Case
16. Enter the information for the final extension as defined in the
following table:
Pipe Schedule 40
11-16
PIPESYS Application 1 11-17
17. Add a Mixer named Junction 2 to your simulation. Inlet streams for
the mixer are PS3 and PS4 and the outlet stream is FS5. See Figure
11.11 for the completed Connections Page:
Figure 11.11
18. On the Parameters page of the Mixer, select the Equalize All radio
button in the Automatic Pressure Assignment group box.
11-17
11-18 Results
19. Finish specifying streams Well A, Well B and Well C with following
data:
11.4 Results
1. Go to the Material Streams page of the main Workbook. The
results calculated for the product streams should appear as
follows:
Figure 11.12
11-18
PIPESYS Application 2 12-1
12 PIPESYS Application 2
12-1
12-2
12-2
PIPESYS Application 2 12-3
12.1 Optimization
Application
Optimizing the Gas Condensate Gathering System
This application is a continuation of the Application 1: Gas-
Condensate Gathering System, in which you modelled the
performance of a small gas-condensate gathering system given fixed
wellhead rates and plant delivery requirements. As the next step, you
will attempt to increase production from the wells by adding a
compressor to the fifth PIPESYS extension. Using supplied wellhead
performance curves, the effect of lowering the pressure at the
wellheads will be gauged in terms of the resulting increased flow rates.
Figure 12.1 shows the completed PFD for the completed Application.
Figure 12.1
You must complete the Gas- 1. Start HYSYS and load the case file network.hsc that you saved upon
Condensate Gathering completion of the Gas-Condensate Gathering System of the first
System Application before you part of this application exercise.
are able to begin work on this
application.
The first modification you make will be to add an ADJUST operation.
The adjust will be used to maintain a constant pressure of 1000 psia at
the Gas Plant with the pressure at Well A being the adjusted variable.
12-3
12-4 Optimization Application
Name Adjust
Method Secant
Max. Iter. 25
3. Press the Start button at the bottom of the Adjust property view to
begin the adjust calculations. HYSYS will require several minutes
to reach a solution. This is because the entire PIPESYS network
must be recalculated for each iteration.
A 1093
B 1077
C 1052
The next step will be to add an in-line compressor at the upstream end
of PIPESYS Branch 5. If this addition reduces the pressure at the wells to
an extent that production can be significantly increased, then the
additional cost of the compressor is justifiable. It is also useful to look at
the incremental performance increase of a larger compressor in order
to get a feel for sizing the compressor. The performance of a 1000 hp
compressor to that of a 750 hp compressor will be compared for this
application.
See the PIPESYS Manual,
Chapter 7 - In-line 4. Add a Compressor to the upstream end of the PIPESYS extension
Compressor for more Branch 5. To do so, open the Elevation Profile page of Branch 5,
information on adding and click on the Pipe Unit and the select the Compressor from the Edit
defining compressor
Bar drop-down list.
parameters.
12-4
PIPESYS Application 2 12-5
Figure 12.2 shows the Elevation Profile Page of Branch 5 with the added
in-line compressor.
Figure 12.2
Figure 12.3
12-5
12-6 Optimization Application
Number of Stages 2
A 686.7
B 655.5
C 619.5
When the HYSYS completes the iteration, the new pressures are:
A 753.2
B 726.3
C 693.5
12-6
PIPESYS Application 2 12-7
Locate 686.7 psia and 753.2 psia on the Well A wellhead curve and you
should find that these correspond to flows of 11.1 MMSCFD and 10.8
MMSCFD respectively. This indicates that the 1000 hp compressor
would increase production by less than 5%, over that of the 750 hp
compressor. It is therefore reasonable to conclude that adding
compression to the system is worthwhile since both compressors lower
the wellhead pressures by a large amount, but the small increase in
production may not be enough to justify the choice of the 1000 hp
compressor. For this example, assume that economic and engineering
considerations favour installing the 750 hp compressor.
A 753.2 10.8
B 726.3 9.6
C 693.5 12.4
8. Press the Stop button and enter the flow rates from the above table
into the stream data for the wells. Specify the a value of 10.8
MMSCFD for the Molar Flow of Well A. Similarly, enter the flow
rates for Well B and Well C.
9. Press the Go button and let PIPESYS complete the iterations.
12-7
12-8 Optimization Application
When the program is finished solving the network, the new well
pressures calculated by PIPESYS should be:
A 868.5
B 838.0
C 783.0
10. Find the flow rates that correspond to these pressures from the
wellhead curves. These values should be:
A 10.3
B 9.0
C 11.9
11. Once again, press the Stop button and enter the flow rates from
Step 11 into the well stream data as you did in Step 9.
12. Press the Go button. When the program is finished, the well
pressures should read:
A 842.5
B 810.9
C 763.8
You will find that the flow rate and pressure for Wells B and C are close
enough to the curves and can consider these to be a valid solution.
However, the point 10.3 MMSCFD and 844.5 psia on the Well A
Wellhead Performance curve is still some distance from the graph. You
will need to do one or two more iterations to find the solution.
13. Find the flow rate on the Well A curve that corresponds to 844.5
psia, (this should be 10.5 MMSCFD). Press the Stop button and
enter 10.5 into the flow rate parameter for the Well A stream.
12-8
PIPESYS Application 2 12-9
A 849.0
B 813.1
C 765.3
Now the pressure/flow rate for Well A is reasonably close to the curve.
The pressures for B and C have changed a little but not significantly
from the last iteration. Fortunately, the pressure at a given well is fairly
insensitive to pressure changes at any of the other wells. This process
can be repeated to obtain a solution of any arbitrary precision subject
to the limits imposed by the computer, but this solution is accurate
enough for further analysis.
A 8.6 10.5
B 7.4 9.0
C 10.1 11.9
12-9
12-10 Optimization Application
Figure 12.4
12-10
PIPESYS Application 2 12-11
Figure 12.5
12-11
12-12 Optimization Application
Figure 12.6
12-12
Glossary of Terms 13-1
13 Glossary of Terms
13-1
13-2
13-2
Glossary of Terms 13-3
actual gas velocity: The velocity that is obtained when the in situ
volumetric gas flow rate is divided by the cross sectional area of the
pipe that is occupied by the gas
component: All physical units that make up a pipeline. Has the same
meaning as the term Pipeline Units.
inside film: The layer of fluid adjacent to the pipe inside wall (i.e. the
boundary layer). The inside film is assumed to account for all resistance
to heat transfer between the flowing fluid and the pipe wall.
13-3
13-4 PIPESYS Terms
pig launcher: The point in a pipeline at which pigs are introduced into
the fluid. stream.
step size: The initial length of pipe over which the pressure and/or
temperature and/or enthalpy changes are computed for a Pipe Unit. If
the computed change exceeds the maximum allowed in a step, then the
length is shortened. When the optimizer option is selected the length of
pipe for the calculation step will be increased if the computed change is
less than the minimum specified. This length is further constrained by
a minimum and maximum step size. If the software attempts
calculation for a length of pipe smaller than the minimum step size, the
calculations are terminated and a warning message issued.
superficial gas velocity: The volumetric gas rate divided by the total
cross-sectional area of the pipe.
13-4
Glossary of Terms 13-5
velocity head: The portion of the total head of a fluid flow attributable
to the velocity of the fluid. The velocity head is directly related to the
kinetic energy component in the Bernoulli equation and is given by:
2
V
------
13-5
13-6 References
13.2 References
American Petroleum Institute, Subsurface Controlled Subsurface
Safety Valve Sizing Computer Program,API Manual 14BM, Second Ed.,
p. 38, API, Jan. (1978)
Baker, O.Simultaneous Flow of Oil and Gas, Oil Gas J., Vol. 54, No. 12,
p. 185, Jul. (1954)
Baker, O.Experience with Two-Phase Pipelines, Can. Oil Gas Ind., Vol.
14, No. 3, p. 43, Mar. (1961)
Beggs, H.D., and Brill, J.P.A Study of Two-Phase Flow in Inclined Pipes,
J. Petrol. Technol., p. 607, May (1973)
Bendiksen, K.H., Maines, D., Moe, R., and Nuland, S.,The Dynamic
Two Fluid Model OLGA: Theory and Application, SPE Paper No. 19451,
SPE Prod. Eng., May (1991)
Chen, N.H., An Explicit Equation for Friction Factor in Pipe, Ind. Eng.
Chem. Fund., Vol. 18, No. 3, p. 296 (1979)
Dukler, A.E., Wicks, M., and Cleveland, R., Frictional Pressure Drop in
Two-Phase Flow: B. An Approach Through Similarity Analysis, AIChE
J., Vol. 10, No. 1, p. 44, Jan. (1964)
Duns, H., Jr., and Ros, N., Vertical Flow of Gas and Liquid Mixtures in
Wells, Paper No. 22, Section II, World Petrol. Conf., Frankfurt, Germany
(1963)
13-6
Glossary of Terms 13-7
Eaton, B.A., Andrews, D.E., Knowles, C.R., Silberberg, I.H., and Brown,
K.E.,The Prediction of Flow Patterns, Liquid Holdup and Pressure
Losses Occurring During Continuous Two-Phase Flow in Horizontal
Pipelines", J. Petrol. Technol., p. 815, Jun. (1967)
Fuchs, P.,The Pressure Limit for Terrain Slugging, Paper B.4, Proc. of
the 3rd Int. Conf. on Multiphase Flow, BHRA, The Hague, Netherlands
(1987)
Govier, G.W., and Aziz, K.,The Flow of Complex Mixtures in Pipes, Van
Nostrand-Reinhold, (1972), reprinted by Robert E. Krieger Publishing
Co., Huntingdon, New York (1977)
13-7
13-8 References
Mandhane, J., Gregory, G., and Aziz, K., A Flow Pattern Map for Gas-
Liquid Flow in Horizontal Pipes, Int. J. Multiphase Flow, Vol. 1, p. 537
(1974)
Mukherjee, H., and Brill, J.P., Liquid Holdup Correlations for Inclined
Two-Phase Flow, J. Petrol. Technol., p. 1003, May (1983)
Pots, B.F.M., Bromilow, I.G., and Konijn, M.J.W.F., Severe Slug Flow in
Offshore Flowline/Riser Systems, SPE Prod. Eng., p. 319, Nov. (1987)
13-8
Glossary of Terms 13-9
13-9
13-10 PIPESYS Methods and Correlations
Uphill Corrections
Beggs and Brill Liquid Holdup Correction
Flanigan Head Correction Factor
Tennessee Gas Head Factor
Singh and Gregory Head Factor
13-10
Index
I-11
I-12
I-12
Index I-13
I-13
I-14
I-14