Pipephase 9.1: User's Guide
Pipephase 9.1: User's Guide
1 Users Guide
The software described in this guide is furnished under a written agreement and may be used only in accordance with the terms and conditions of the license agreement under which you obtained it.. The technical documentation is being delivered to you AS IS and Invensys Systems, Inc. makes no warranty as to its accuracy or use. Any use of the technical documentation or the information contained therein is at the risk of the user. Documentation may include technical or other inaccuracies or typographical errors. Invensys Systems, Inc. reserves the right to make changes without prior notice. 2006 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by any information storage and retrieval system, without permission in writing from Invensys Systems, Inc. PIPEPHASE, NETOPT, and Invensys SIMSCI-ESSCOR are trademarks of Invensys plc, its subsidiaries and affiliates. TACITE is a trademark of Institut Franais du Petrole (IFP). OLGAS 1.1, OLGAS TWO-PHASE, and OLGAS THREE-PHASE are trademarks of SCANDPOWER A/S. Windows 98, Windows ME, Windows NT, Windows 2000, Windows XP, Windows 2003, and MS-DOS are trademarks of Microsoft Corporation. Compaq Visual Fortran is a trademark of Compaq Computer Corporation. Adobe, Acrobat, Exchange and Reader are trademarks of Adobe Systems, Inc. All other products may be trademarks of their respective owners. U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND The Software and accompanying written materials are provided with restricted rights. Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in Technical Data And Computer Software clause at DFARS 252.227-7013 or in subparagraphs (c) (1) and (2) of the Commercial Computer Software-Restricted Rights clause at 48 C.F.R. 52.227-19, as applicable. The Contractor/ Manufacturer is: Invensys Systems, Inc. (Invensys SIMSCI-ESSCOR) 26561 Rancho Parkway South, Suite 100, Lake Forest, CA 92630, USA. Printed in the United States of America, March 2006.
Copyright Notice
Trademarks
Contents
Introduction
About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v About PIPEPHASE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v About SIMSCI - ESSCOR. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi Where to find additional help . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .vi Other Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Structure of Network Systems . . . . . . . . . . . . . . . . . . . . . . . 1-25 PIPEPHASE Flow Devices . . . . . . . . . . . . . . . . . . . . . . . . . 1-28 Pressure Drop Calculations. . . . . . . . . . . . . . . . . . . . . . . . . . 1-30 Equipment Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-37 Heat Transfer Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . 1-40 Sphering or Pigging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-41 Reservoirs and Inflow Performance Relationships. . . . . . . . 1-41 Production Planning and Time-stepping. . . . . . . . . . . . . . . . 1-42 Subsurface Networks and Multiple Completion Modeling . 1-44 Case Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-47 Nodal Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-49 Starting the PIPEPHASE Results Access System (RAS) . . . . . . 1-53 Starting the PIPEPHASE Excel Report. . . . . . . . . . . . . . . . . . . . 1-55
Chapter 2 Tutorial
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Problem Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Building the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3 Entering Optimization Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-20 Specifying Print Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-28 Running the Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-29 Viewing and Plotting Results . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-30 Using the RAS to Plot Results. . . . . . . . . . . . . . . . . . . . . . . . . . . 2-31 Generate and View Excel Report. . . . . . . . . . . . . . . . . . . . . . . . . 2-33 Including Operating Costs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-34
iv
Contents
Introduction
About This Manual
The PIPEPHASE Users Guide provides an introduction to PIPEPHASE. It describes how the interface modules work and includes a step-by-step tutorial to guide you through a PIPEPHASE example optimization problem. Also covered in this guide is PIPEPHASE Keywords. An outline of this guide is provided below.
Chapter 1 Chapter 2 Chapter 3 Introduction Getting Started Tutorial Introduces the manual, the program, and SIMSCI. Explains how to use PIPEPHASE. Provides a step-by-step tutorial for the optimization of an off-line pipeline design.
About PIPEPHASE
PIPEPHASE is a simulation program which predicts steady-state pressure, temperature, and liquid holdup profiles in wells, flowlines, 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 lift analysis; pipeline sphering; and sensitivity (nodal) analysis. These additions extend the range of the PIPEPHASE application so that the full range of pipeline and piping network problems can be solved.
Online Help
PIPEPHASE comes with online Help, a comprehensive online reference 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 electronic contents for Help by selecting Help/Contents from the menu bar. Context-sensitive help is accessed using the F1 key or the Whats This? button by placing the cursor in the area in question.
vi
Other Documentation
The table below outlines the other existing PIPEPHASE documentation available in a hardcopy form.
Where to Find Additional Help
If you want to... Quickly learn how to simulate a simple flowsheet using PIPEPHASE Obtain detailed information on the capabilities and use of PIPEPHASE Learn how to install PIPEPHASE Obtain basic information on PIPEPHASE keywords See simulation examples To learn more on Well and Surface Models Obtain detailed information on using PIPEPHASE w/ NETOPT Obtain detailed information on using PIPEPHASE w/ TACITE Obtain basic information on PIPEPHASE calculation methods Obtain detailed information of component and thermodynamic properties See... This document This document PIPEPHASE Installation Guide PIPEPHASE Keyword Manual PIPEPHASE Application Briefs Well and Surface Examples NETOPT Users Guide TACITE Users Guide Online Help SIMSCI Component and Thermodynamic Data Input Manual
vii
viii
1-1
You can now open a new simulation file (select File/New), open an existing file (select File/Open), or import a keyword file (select File/ Import Keyword File). The elements of the PIPEPHASE main window are described in Table 1-1.
Table 1-1: PIPEPHASE Main Window Components Component
Control-menu Box Title Bar Minimize Button Maximize/Restore Button (Not shown) Menu Bar Toolbar Main Window
Description
Displays a menu with commands for sizing, moving and closing the active window. Identifies the application and the name of the open file; can be used to move the entire window. Enables you to reduce the application to an icon. Enables you to enlarge a window to full-screen or restore a window to its default size. Identifies the menus available in PIPEPHASE: File, Edit, View, General, Special Features, and Help. Provides push button access to various File, Edit, View, General, Special Features, and Help menu options. Provides the repository for placing sources, sinks, or junction, adding links, and calculator or hydrates units, i.e., for drawing the network diagram.
Horizontal Scroll Bar Provides a sliding scale for moving the flowsheet right or left in the PIPEPHASE main window. Vertical Scroll Bar Status Bar Border Handles Provides a sliding scale for moving the flowsheet up or down in the PIPEPHASE main window. Provides guidance, focus and error messages for the active feature or object. Enables you to quickly change window height, width, or size by grabbing the corresponding border handle and dragging it to a new position.
To learn how to build a network, enter data, and run and optimize a simulation, see Chapter 2, 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>.
1-2
Getting Started
Minimize/Maximize By clicking on the minimize and maximize buttons, you can Buttons automatically adjust the size of a window. Border Handles You can use the window border to manually change the size of the main window. The border works like a handle that you can grab with the cursor and drag to a new position. You can also use the Control menu to Restore, Move, Size, Minimize, or Maximize a window. You can change the position of the main window (or any pop-up window) by clicking on the title bar and dragging the window to a new position.
Control-menu Box You can also use the control-menu box to move a window.
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.
Significance
Required data. Actions or data required of the user. On the main PIPEPHASE windows and Link PFD only. Data you have supplied.
1-3
Significance
Calculated data. Data field not available to you.
Click on the menu name or press <Alt+n> where n is the underlined letter in the menu name.
For example, to display the File menu, either click on File, or press <Alt+F>.
Figure 1-2: File Menu Figure 1-3: Edit Menu
1-4
Getting Started
Click on the desired item. Use the arrow keys to highlight the item then press <Enter>. Use the accelerator keys.
File Manipulation Buttons Structure and Unit Operation Buttons Calculation Options, Optimization, and Property Buttons Zoom and Redraw Buttons
Note: Grayed out icons indicate that the functions are currently in passive mode and will become active when necessary.
1-5
Description
Enables you to create a new simulation. Enables you to open an existing simulation.
Import Keyword File Enables you to import an existing input file. Save Run Excel Reports Print Enables you to save an open simulation. Enables you to run the simulation. Enables you to create Excel Reports. Enables you to print the output file or the flowsheet.
1-6
Getting Started
Description
Enables you to specify your input units of measurements.
Component Library Enables you to specify your component slate for compositional fluids. PVT Data Enables you to specify your thermodynamic or PVT data.
Calculation Methods Enables you to enter network calculation methods. Global Defaults Optimization Data Enables you to enter global defaults. Enables you to enter network optimization data.
1-7
Using PIPEPHASE
Defining the Application
This section contains information about the way PIPEPHASE works, the data that you need to supply, and the correlations used. This section is arranged according to what you want to do, the type of fluid you have, and the type of pipeline network. For each of the capabilities of PIPEPHASE, this chapter explains which data you are required to provide and which data you may optionally supply. Throughout this section, the right hand column (See...) provides the title of the GUI window where you can input that data, or the manual where additional information can be found. The first thing you should do before using PIPEPHASE is to decide what type of application you have. This depends on:
The properties of the fluid(s) flowing through the piping system, The flowrates and conditions at which those fluids enter and leave the piping system, The structure and elements of the piping system, and Other special processes you want to simulate, such as Gas Lift Analysis.
Properties of Fluids
Compositional
1-8
Liquid Steam
The fluid type controls how the program is able to obtain the physical properties necessary for pressure drop and heat transfer calculations either from the PIPEPHASE databank, from built-in empirical correlations, or from user-supplied input. Steam is a special case of a non-compositional fluid, for which PIPEPHASE uses the GPSA steam tables. Compositional fluids are defined as mixtures of chemical components with a known composition. For compositional fluids, PIPEPHASE will calculate the phase separation whenever prevailing process fluid conditions are required. However, you may instruct PIPEPHASE to assume the fluid is one phase at all times, thus reducing the time the program takes to solve by continually bypassing the vapor-liquid equilibrium (flash) calculation. Non-compositional gases and liquids are single-phase. Blackoil is a liquid-dominated, two-phase model. Gas Condensate is a gasdominated, two-phase model. Steam is a single component, twophase model.
Optimization
PIPEPHASE can optimize network problems of virtually any size. You can minimize or maximize any objective function or even tune your simulation to match measured data, while satisfying operational or design constraints. A PIPEPHASE model can be optimized over time resulting in efficient optimized design, planning, forecasting, and operation of a field.
Link to Reservoir Simulator Models
PIPEPHASEs Reservoir Interface allows you to link the network simulator to link to Reservoir Simulation models such as the Eclipse reservoir simulation model. This integrated solution provides greater simulation consistency and accuracy, resulting in savings of millions of dollars over the lifetime of a field in terms of planning and scheduling.
Flows and Conditions of Fluids
Fluids enter piping systems at sources and leave at sinks. Fluids with different properties may enter at different sources, but they must all be of the same type.
PIPEPHASE 9.1 Users Guide 1-9
In general, you have to assign flowrates, temperatures and pressures to sources and/or sinks. For compositional fluids, you also have to assign compositions to the source fluids. The exceptions are explained below in What PIPEPHASE Calculates.
Gaslift and Sphering
Two special applications, relevant to oil production and gas transportation, can be modeled with PIPEPHASE. You can use PIPEPHASE to investigate the effects of lift gas on well production and optimize the allocation of limited lift gas for multiple wells. Sphering or Pigging is used to increase gas flow efficiency in wet gas and gas dominated multiphase pipelines.
Piping Structure
Before providing input problem data to PIPEPHASE, it is important that you convert the structure of the piping system into a simpler schematic representation of the relevant nodes (i.e., sources, junctions, and sinks) and links. You must label each node and link both uniquely and logically for future reference.
What PIPEPHASE Calculates
PIPEPHASE solves the equations that define the relationship between pressure drop and flowrate. PIPEPHASE can also calculate heat losses and gains. With a single link, PIPEPHASE will calculate the pressure drop for a known flowrate. Alternatively, for a given pressure drop, PIPEPHASE will calculate the flowrate. With a network configuration, you may supply a combination of known flowrates and pressures at sources and/or sinks and PIPEPHASE will calculate the unknowns. The combination of knowns that you are allowed to supply are explained later on.
Rating, Design, Case Studies, and Nodal Analysis
PIPEPHASE works in both rating and design modes. In rating mode, you supply data about the pipes, fittings and equipment and PIPEPHASE calculates the pressure and temperature profiles. In design mode, PIPEPHASE calculates line sizes. Case Studies can be performed in either mode. Nodal Analyses can be performed on single links.
1-10
Getting Started
Global Settings
Before you provide PIPEPHASE with information about the fluid and piping structure of your problem, global parameters may be set and the problem definition described. Choices can be made on control of the simulation, define the input units, specify how much output you want, and set global defaults for use throughout the simulation.
To provide...
Descriptive text You can further describe the problem using up to four lines of 60 characters each. This description appears once at the top of each page.
See...
Simulation Description
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 checking You may use PIPEPHASE just to check your input syntax and topology and not to perform any calculations. Run Simulation and View Results
Units of Measurement
PIPEPHASE allows you to construct a group of units of measure (or dimensions) which are to be used throughout the entire simulation input. However, you can locally override individual units of measure where necessary. The output will always be in the units supplied on the Input Dimensions window, unless specific output overrides or supplements are provided on the Output Dimensions window.
To provide... See...
Input units Global units of measurement are defined at the Input Dimensions beginning of the input. PIPEPHASE has four pre-selected sets for user convenience: Petroleum, English, Metric, and SI. You should select the set closest to your requirements. You can then re-define units of measurement either globally at the start of the input or individually when you supply the data. If you do not select a set, PIPEPHASE defaults to the Petroleum set.
1-11
Printout Options
PIPEPHASE generates a great deal of data during its calculations. The default printout is normally sufficient for most engineering applications. You may increase or decrease the amount of output depending upon your requirements.
To set the...
Output units The default units of measurement for output are the same as those defined globally for the input. You may define a separate set of units for the output.
See...
Output Dimensions
Input reprint
You will always get a reprint of your input file. Print Options PIPEPHASE then reprints its interpretation of the input. You may suppress this interpretation for the output. During solution of a network, PIPEPHASE iterates until Print Options it converges to within the set tolerance. You can request a printout that shows intermediate results. This can be useful in helping converge large or sensitive networks. In a compositional run, PIPEPHASE prints out phase equilibrium details and the properties of the phases at each node. This output can be suppressed. Print Options
Iterative results
Flash results
You can request a range of detail for different devices. In Print Options addition, special outputs are produced for sphering. PIPEPHASE can output all properties used in the detailed calculations. Print Options
In addition to tabular data, plots of pressure and Print Options temperature versus distance may be requested. The Taitel-Dukler flow regime map may also be produced for links operating in two-phase flow. Phase Envelope and Nodal Analysis plots may also be generated.
Results Access Using the PIPEPHASE RAS, you may examine data that PIPEPHASE System (RAS) have been produced by a run of the program. You may RAS Main also print or plot the results using EXCEL. Window Optimizer Output You can set the printout level of optimizer cycle results Print Options and control the output of the intermediate results.
Defaults
Many of PIPEPHASEs data items are defaulted. If you do not explicitly specify an item or a calculation method, the program will automatically assign a value or method. These values for example 29 BTU/hr-ft-oF for pipe thermal conductivity and the Moody method for single-phase pressure drop calculations have been selected to be reasonable for normal engineering purposes, but are not necessarily the best for your particular application. They are there for your convenience and are not intended to replace engineering judgement. You should check that you do not get invalid results through their use.
1-12 Getting Started
For convenience, PIPEPHASE allows you to change some defaults globally at the start of the input.
To define...
Flow device parameters
See...
You can specify global values for the pipe, riser, tubing Global Defaults and annulus inside diameter, the surrounding medium, and the parameters associated with pressure drop and heat transfer. You can override these settings for individual pipes.
Heat Transfer You can define the heat transfer from pipes, risers, Global Defaults tubings, and annuli as an overall coefficient or by defining the parameters - viscosity, conductivity, velocity, etc. - for the surrounding soil, air, or water. You can select a medium and optionally override these settings for individual pipes. You can globally suppress heat transfer calculations and then reinstate them for individual pipes, risers, tubings, and annuli. Pressure drop You can globally set the pressure drop method and the Global Defaults methods Palmer parameters for liquid holdup. You can override the pressure drop method for individual pipes, risers, tubings, and annuli. Transitional flow Limits You can globally set the transitional Reynolds Number Global Defaults between laminar and turbulent flow regimes. You can change the maximum and minimum values of Global Defaults temperature and pressure for flash calculations. If the program detects conditions outside these limits, warning messages will be presented in the output.
1-13
Selecting individual components from the PIPEPHASE library, Defining individual components as petroleum pseudocomponents, Defining an assay curve and having PIPEPHASE divide it into petroleum cuts.
The compositional fluid can be defined in terms of any combination of these options. You can have different compositions at each source.
Water as a Special Component
PIPEPHASE can rigorously predict phase separations involving more than one liquid phase. However, there is a simplified way of dealing with water in hydrocarbon systems. Because water is only sparingly soluble in oil, a hydrocarbon system with a significant amount of water will often form two liquid phases. PIPEPHASE will handle calculations involving water in hydrocarbons by one of three methods:
Rigorous three-phase flash to calculate composition in three phases. It can calculate the solubility of water in the hydrocarbon phase and put the excess water into a pure aqueous phase. All the aqueous phase properties will be calculated separately from those of the hydrocarbon phase. It can assume that the water is completely soluble.
Library Components
The SIMSCI library contains over 1700 components. A full list is available in the SIMSCI Component and Thermodynamic Data Input Manual. For all components, the databank contains data for all the fixed properties and temperature-dependent properties necessary to carry out phase equilibrium calculations. For all
1-14 Getting Started
common components, the databank also contains a full set of transport properties necessary to carry out pressure drop and heat transfer calculations. If you need to supplement the data, or override the library data with your own, you may do so.
Non-library Components
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 SIMSCIs DATAPREP program.
To specify...
Library All fixed property data may be accessed from components the SIMSCI databank. All you need to do is supply the name of the component. You may override the SIMSCI constant properties for any or all of the components. You may override the SIMSCI variable (temperature-dependent) properties for any or all of the components. Non-library If you want to use a component that is not in components the SIMSCI Bank, you must supply its name and all the required properties.
See...
Component Data, Library Component Data Component Data, Edit Library Component SIMSCI Component and Thermodynamic Data Input Manual
Petroleum Pseudocomponents
To define hydrocarbon pseudocomponents, you must supply at least two of the following three parameters:
PIPEPHASE will predict the third if you omit it. PIPEPHASE uses industry-standard characterization methods to predict all fixed and temperature-dependent property data for each pseudocomponent. You may select the method most suitable for your own mixture.
To supply ...
Pseudo Define petroleum pseudocomponents by supplying components at least two of the following: molecular weight, gravity, and normal boiling point.
See...
Component
Property You may select the method PIPEPHASE will use to Component Data calculation calculate the properties of your pseudocomponents. methods
1-15
To supply ...
Fixed Property Data Variable Property Data You can supply your own fixed property data to override the data that PIPEPHASE predicts.
See...
Component Data
You can supply your own temperature-dependent property data to override the data that PIPEPHASE predicts.
Component Data
Assay Curve
If your fluid is defined by an assay curve (TBP, D86, D2887, or D1160), PIPEPHASE will divide it into a number of cuts. You can control the number of cuts and the ranges they cover. Each of the cuts is then treated as a pseudocomponent, as described previously. You may also define a lightends analysis to go with the assay curve.
To supply ...
Assay Data You supply an assay curve, and PIPEPHASE will divide it into petroleum cuts. You supply it in the form of D86, D1160, D2887, TBP, or TBP at 10 mm Hg curves. You must also supply gravity as API or specific gravity or UOP K-factor either as a curve against percent vaporized or as an average value. PIPEPHASE will calculate molecular weight data, or you may supply it as an average or a curve against percent vaporized. You may define the number of petroleum fractions to be generated and their temperature ranges. You may select the method PIPEPHASE will use to calculate the properties of the generated petroleum fractions. Mixed You can mix defined components and component pseudocomponents with assay data by defining a types lightends composition and rate for each source.
See...
Component Data
Component Data
Component Data
Component Data
All the features of SIMSCIs industry-standard component property databank and methods have been incorporated into PIPEPHASE. These are summarized in Table 1-3. For details of these methods and their applicability, please consult the SIMSCI Component and Thermodynamic Data Input Manual, in the chapter detailed below.
1-16
Getting Started
Properties You may define the structure of non-library components from Structure for use with the UNIFAC thermodynamic method.
PIPEPHASE can use a generalized correlation, an equation of state, or a liquid activity method to calculate thermodynamic properties at the flowing conditions and hence predict the split between the liquid and vapor phases. The choice of the thermodynamic property calculation method depends on the components in the fluid and the prevailing temperatures and pressures. PIPEPHASE also provides a number of methods that can rigorously calculate vapor-liquid-liquid equilibrium. Table 1-4 gives recommendations for the commonly found pipeline systems.
Table 1-4: Recommended Methods for Thermodynamic Properties Method Property
K-value Heavy Hydrocarbon Systems Braun K10 (<100 psia) Grayson-Streed Peng-Robinson Soave-Redlich-Kwong Light Hydrocarbon Systems Natural Gas Systems
Peng-Robinson Peng-Robinson Soave-Redlich-Kwong Soave-Redlich-Kwong Lee-Kesler-Plcker Benedict-Webb-Rubin-Starling Chao-Seader Peng-Robinson Soave-Redlich-Kwong Lee-Kesler-Plcker BWRS Curl-Pitzer Lee- Kesler API Lee-Kesler Peng-Robinson Soave-Redlich-Kwong
Enthalpy Curl-Pitzer Johnson-Grayson Lee-Kesler Peng-Robinson Soave-Redlich-Kwong Liquid Density Vapor Density API Lee-Kesler
1-17
To specify...
K-values, You must select a thermodynamic method for enthalpy, density calculating the vapor-liquid equilibrium and mixture properties from component properties. Either select a system with a predefined method for each property, or select an individual method for each property. Vapor-liquidliquid equilibria You can specify a VLLE thermodynamic system or K-value method or specify a second LLE K-value method.
See...
Thermodynamic Methods
Different enthalpy You must include two enthalpy methods, one methods for for the liquid and one for the vapor. liquid and vapor Different density methods for liquid and vapor Aqueous phase enthalpy You must include two density methods, one for the liquid and one for the vapor. If you have water in a hydrocarbon system, you may select a method for calculating aqueous liquid and vapor enthalpies either by a simplified method which assumes that the steam is at its saturation point or by a rigorous method which takes into account the degree of superheat of the vapor, if any.
Binary interaction For some systems, notably close-boiling parameters mixtures, the standard equations do not adequately reproduce experimental phase equilibria data. You may improve the predictability of many of the equations of state, or liquid activity coefficient methods by inputting your own binary interaction parameter values. For example, you can tune the PR, SRK, BWRS and LKP equations.
Thermodynamic Methods
Transport Properties
The SIMSCI databank contains pure component data for the thermal conductivity, surface tension, and viscosity of liquids and vapors as functions of temperature. You can choose to use these data and simple mixing rules to predict the flowing properties of the fluid. Alternatively you can choose to use the API Data Book property prediction methods and mixing rules for mixed hydrocarbons.
1-18
Getting Started
Some 60 of the bank components have data for viscosity and thermal conductivity from the GPA TRAPP program. If you choose to use the TRAPP data, all of your components must be TRAPP components and you cannot have any pseudocomponents or assay data.
To specify...
Prediction You may choose a method for calculating bulk methods transport properties from component properties. Select a system with predefined methods for each property, or select an individual method for each property. Overriding To override the mixture liquid viscosity predictions, viscosity you may supply a liquid viscosity curve for either the hydrocarbon liquid phase, the water phase or the total liquid. A different viscosity curve may be supplied for each source.
See...
Thermodynamic
Methods
Thermodynamic
Methods, User Viscosity Data
In most cases, a single set of thermodynamic and transport methods is adequate for calculating properties of all sources. However, your flowsheet may contain sources with widely varying compositions or conditions such that they cannot be simulated accurately using just one set. For this, you may define more than one set of methods (there is no limit) and apply different sets to different sources.
To specify...
More than one For each set use a separate METHOD thermodynamic set statement. Name the set using the SET keyword. The set used by a source Link the source to the thermodynamic set using the SET keyword.
See...
A default When a single set is present, all sources thermodynamic set use that set. If you do not link the source to a thermodynamic set, it will use the default set. Normally this is the first set that appears in the input. You can stipulate that another set is the default, by setting that set as the default.
1-19
All of SIMSCIs industry-standard thermophysical property calculation methods have been incorporated into PIPEPHASE. These are summarized in Table 1-5. For details of these methods and their applicability, please consult Chapter 2 in the SIMSCI Component and Thermodynamic Data Input Manual.
Table 1-5: Summary of Other Thermodynamic Options
Generalized Grayson-Streed Correlations Improved-Grayson-Streed Grayson-Streed-Erbar Braun-K10 Equations of Soave-Redlich-Kwong State SRK-Kabadi-Danner SRK-Huron-Vidal SRK-Panagiotopoulos-Reid SRK-Modified SRK-SIMSCI SRK-Hexamer Liquid Activity Methods Chao-Seader Chao-Seader-Erbar Ideal Panagiotopoulos-Reid Peng-Robinson PR-Huron-Vidal PR-Panagiotopoulos-Reid BWRS Uniwaals
Non-random Two-liquid Equation Universal Functional Activity Universal Quasi-chemical (UNIQUAC) Coefficient (UNIFAC) van Laar Lyngby-modified UNIFAC Wilson Dortmund-modified UNIFAC Margules Modified UNIFAC method Regular Solution Theory Free volume modification to UNIFAC Flory-Huggins Theory Ideal Glycol Sour GPA Sour Water Heat of Mixing Poynting Correction Amine Alcohol Henrys Law Amine Residence Time Correction
See...
Supply different You may supply specific gravities for each data for different source. sources
1-20
Getting Started
Liquid
All properties of a non-compositional liquid are calculated by PIPEPHASE from the specific gravity and built-in correlations.
To...
Define the liquid You must define the liquid as water or hydrocarbon, and supply its gravity. If the liquid is water, the specific gravity must be 1.0 or greater. For liquid hydrocarbon, the specific gravity must be less than 1.0. You may define the method that PIPEPHASE uses to predict non-compositional liquid viscosity.
See...
Single Phase Liquid PVT Data Single Phase Liquid PVT Data
Override viscosity You may supply liquid viscosity data to data override the internally predicted data. You may define the viscosity as a single value or as a two-point viscosity curve. Specify the specific heat You may supply a single constant value for liquid specific heat to override the internally predicted data.
Gas
All properties of a non-compositional gas are calculated by PIPEPHASE from the specific gravity and the built-in correlations.
To...
Define the gas A non-compositional gas is defined in terms of its gravity, and PIPEPHASE will use the appropriate correlations to predict its properties.
See...
Single Phase Gas PVT Data Single Phase Gas PVT Data Single Phase Gas PVT Data Single Phase Gas PVT Data Single Phase Gas PVT Data
Specify the You may define the method that PIPEPHASE uses viscosity method to predict non-compositional gas viscosity. Define the Cp/Cv A gas specific heat ratio may be defined to ratio override the internal value used as default. Define a contaminant Supply the gas Z-factor One or more of the following gas contaminants may also be defined: nitrogen, carbon dioxide, or hydrogen sulfide. The method that PIPEPHASE uses to predict a non-compositional compressibility factor may also be defined.
1-21
Steam
Steam is a non-compositional fluid that is allowed to exist in two phases. You cannot override the steam table data contained within PIPEPHASEs data libraries. However, all pressure drop correlations which are available to compositional fluids are also available to the steam model.
To...
Use the steam If the fluid is steam, use PIPEPHASE s internal tables steam tables. You may specify that the gravity of the condensed water is more than 1.0 to take into account dissolved solids. Specify saturated steam You may specify steam quality if the steam is saturated. Specify the temperature and quality if the steam is superheated or the water is subcooled.
See...
Source
Gas Condensate
Gas condensate is a multiphase non-compositional fluid with gas predominating. All properties of gas condensate are calculated by PIPEPHASE from the specific gravity and the built-in correlations.
To...
Define the condensate A gas condensate is defined in terms of its gravity, and PIPEPHASE will use the appropriate correlations to predict its properties.
See...
Gas Condensate PVT Data Gas Condensate PVT Data Gas Condensate PVT Data
Define the You must supply specific gravity data for gas, specific gravity liquid and water phases, even if you do not expect them all to be present. Define a contaminant One or more of the following gas contaminants may also be defined: nitrogen, carbon dioxide, or hydrogen sulfide.
Blackoil
Blackoil is a multiphase fluid model which predicts properties from the gas gravity, oil gravity, and the standard volume of gas per standard unit volume of oil.
To...
Define the Blackoil Blackoil is defined in terms of the gravity of its oil and gas and the Gas to Oil ratio. PIPEPHASE will use the appropriate correlations to predict its properties. You must supply specific gravity data for gas, liquid, and water phases, even if you do not expect them all to be present.
See...
1-22
Getting Started
To...
Define the viscosity Define a contaminant You may optionally enter liquid viscosity data in the form of a two-point Antoine curve. One or more of the following gas contaminants may also be defined: nitrogen, carbon dioxide, or hydrogen sulfide.
See...
Adjust properties You may adjust the properties that PIPEPHASE calculates from its built-in correlations so that they more closely fit measured laboratory data. Define Lift Gas When you have a GLVALVE in the simulation, you need to define the lift gas in terms of Gravity and (optionally) contaminants. If laboratory data are available, you may input them and override the PIPEPHASE internally generated data. If you use tabular data, you must input all data: Formation Volume Factor, Solution Gas Oil Ratio, Live Viscosity, and Gravity. The method that PIPEPHASE uses to predict a non-compositional compressibility factor may be defined.
Blackoil Liftgas
Data
Tabular Data
Correlations Data
Specify the You may define the method that PIPEPHASE viscosity method uses to predict viscosities and blending rules. Specify formation You may define the methods that PIPEPHASE volume factor uses to calculate formation volume factor and and solution gas solution gas oil ratio. oil ratio methods
sources that are in the standard black oil format (see description of blackoil inputs),
with
sources that are in the standard compositional format (see description of compositional inputs).
PIPEPHASE treats the combined fluid model as a blackoil model; flash calculations are used to define the appropriate blackoil properties for the compositional sources. The inputs to the compositional blackoil model are thus a combination of the inputs to separate compositional and blackoil models.
1-23
See...
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...
Defined You must define the total flowrate and 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 curve. You can combine library components and/or petroleum pseudocomponents with an assay curve by supplying a lightend analysis. To override the internally generated fluid viscosity data, you may specify a viscosity curve in the PVT data section. To reduce redundant data entry, you may refer to a predefined source. Parameters may be specified to override the parameters that are different.
See...
Compositional Source
Compositional Source
1-24
Getting Started
Non-compositional Sources
To specify...
Steam sources You must define the pressure and quality of a saturated steam source. The temperature must be specified only if the steam is superheated (Quality=100%) or subcooled (Quality=0%). One or more sets of fluid property data are defined in the PVT data section. You must assign a unique set number to each data set. Each source must be referred to the appropriate data set number.
See...
Steam Source
Blackoil Source
Well In-flow You may specify the IPR of a well source for a Performance single link with gas, liquid, blackoil or condensate. The IPR Model is treated as a device and is available from the Link window. You may also supply well test data. Similar sources If one source is the same as or similar to 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.
Reference Source
See...
Network Calculation
Methods
1-25
PIPEPHASE solves networks iteratively. Whichever algorithm you use, PIPEPHASE starts with an initial estimate of flowrates in all links and pressures at all nodes and it adjusts these values until it has reached a converged solution within a predefined tolerance. Because of the complex nature of some networks, PIPEPHASE allows you to make adjustments to several parameters that helps to modify the iteration steps and stabilize the convergence.
To specify...
Automatic PBAL has a choice of methods for generating initial generation of estimates. By default, PBAL generates flowrate Initial estimates estimates by considering the diameters of the first pipe in each link. An alternative method uses the frictional resistances of the pipes in each link. A third method solves the first iteration with MBAL before going into PBAL. Finally, if you have solved this network before and just changed some of the conditions, you may instruct the program to use your previous solution as its initial estimate. User-supplied You may also provide individual estimates for initial estimates junction pressures and link flowrates. Maximum and For any link, you may specify the maximum and minimum flows minimum flows that are to be allowed. Controlling convergence In some difficult networks, convergence of the base case can be improved by adjusting various convergence parameters: for example, damping, relaxation, internal tolerances, etc. Refer to Chapter 6, Technical Reference in the PIPEPHASE Keyword Manual, for details.
See...
Network
Calculation Methods
Junction,
Link Data
Direction of flow If you know the flow direction in all links, you can specify that PIPEPHASE not try to reverse them from iteration to iteration. Solution tolerance Controlling optimization The network calculation converges when the error is within a given tolerance. You may optionally change this tolerance. You can adjust a number of optimization options: for example, the fractional change in the objective function or decision variables, damping, or error tolerances.
Network Network
Optimization
Calculation time If PIPEPHASE does not converge within a certain number of iterations, it will stop and report the results of the last iteration. You may reduce or increase the maximum number of iterations. To reduce calculation time in large compositional runs, you may control the number of fluid property evaluations that are performed in each link for the PBAL initialization procedure.
Network
Calculation Options
1-26
Getting Started
To specify...
Closed loops If you have inadvertently specified your network so that closed loops are formed, PIPEPHASE will report these and, optionally, take remedial action. Pipes, tubing, risers, and annuli are divided into segments for pressure drop and heat transfer calculations. You can change either the number of segments or the length of segments for greater calculational accuracy. Alternatively, you can select PIPEPHASEs autosegmentation feature to automatically select the best segmentation options for your network. You may allow regulators (unidirectional check valves) to pass a small backward flow. Critical flow in chokes can cause difficulties for convergence algorithms. To help PIPEPHASE solve such networks, you can allow or a linear broadening of the critical flow regime. You can prevent well flows from falling below the minimum required to transport fluid in a twophase system.
See...
Network Network
Pipe segments
Check valves
Network Network
Wells
Network
Calculation Methods
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...
Sources You must have only one source. Sinks Links If the source pressure and rate are known, a sink pressure and rate need not be defined. You do not need to specify the flowrate or pressure drop 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.
See...
1-27
Networks
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 number 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.
See...
To specify...
Sources and You must have at least one source and at least one sinks sink. Junctions You must have a junction at the point where two or more links meet. If your network is complex, you may speed up the solution by supplying estimates for the junction pressures. You must supply a unique name for each link. If your network is complex, you may speed up the solution by supplying estimates for flowrates through each link. PIPEPHASE can model preferential splitting at Tee junctions in pure distribution networks. These junctions can have only two outgoing and one incoming link.
Links
Steam networks
Junction
Subnetworks PIPEPHASE has a number of devices that invoke a special algorithm. You may specify the inlet conditions; PIPEPHASE breaks the flowsheet at the inlet and solves the resulting subnetworks simultaneously and sizes the device.
Mcompressor,
Mchoke Mregulator
The devices in the link must be added in the order in which they occur in the link as you move from the From node to the To node. The flow devices that PIPEPHASE can handle are given in Table 1-6.
Table 1-6: Flow Devices and Equipment Available in PIPEPHASE Device Flow Devices
Pipe Riser
Point Devices
Completion
- have no length
Bottomhole completion, the interface between the reservoir and a well. There are two types of completion: gravel-packed and open-perforated.
Fittings
Bend Check valve Choke valve A standard mitred bend or non-standard bend with defined angle and radius. Device that allows flow in only one direction. Restricts fluid flow. MCHOKE, a variant of CHOKE, introduces a discontinuity into a network which is solved using a special sub-networking method. Reduction in diameter from larger to smaller pipe. Variable angle. Entrance into a pipe from a larger volume such as a vessel. Exit from a pipe to a larger volume such as a vessel. Increase in diameter from smaller to larger pipe. Variable angle. Flow restriction used in metering. Orifice meter. Orifice plate can use thick or thin calculation formulae. Tee piece. Flow may be straight on or through the branch.
1-29
Description
Any type of valve, e.g., gate, globe, angle, ball, butterfly, plug, cock. Venturi flow meter.
Process Equipment
Compressor Multistage Compressor Cooler DPDT Expander Gaslift Valve Heater Injection Pump Regulator Simple single or multistage gas compressor. Rigorous single or multistage gas compressor with optional inlet pressure calculation. Uses a special sub-networking method. Removes heat from a stream. Any device that changes pressure and/or temperature with flowrate. Steam expander. Well gaslift valve. Adds heat to a stream. Re-introduces a stream from a compositional separator back into a link. Single or multistage liquid pump. An electric submersible pump may be modeled. Means of fixing maximum pressure at any point in the structure. MREGULATOR, a variant of REGULATOR, introduces a discontinuity into a network which is solved using a special sub-networking method. Splits some or all of one of the fluid phases from a link.
Separator
Unit Operations
Hydrates Calculator Predicts the temperature/pressure regime under which hydrates are prone to form. A utility that allows you to compute results from flowsheet parameters. These results can then be used as optimizer constraints or objective parameters.
See...
Pressure Drop
Flow Correlations
1-30
Getting Started
To specify...
See...
You may choose a different method for an individual Pressure Drop device. If you do not choose a method for a device, Flow PIPEPHASE will use the method you selected globally. Correlations
Table 1-7 lists the pressure drop methods recommended for multiphase flow in horizontal and inclined pipes.
Table 1-7: Applicability of Multiphase Flow Correlations
Pipe Method Beggs & Brill Beggs & Brill - Moody1 Beggs & Brill - No slip Beggs & Brill - Moody-Eaton
3 3
Horizontal and Upward Downward Riser Tubing Annulus Inclines <10o Incline Incline X X X
3