Professional Documents
Culture Documents
OLGA 2015
Version 2015.1
GUI manual
Table of Contents
OLGA GUI User manual..................................................................................... 2
Copyright notice ................................................................................................. 3
Relationship between OLGA GUI and OLGA Simulation engine ....................... 5
Introduction to projects and cases ...................................................................... 6
Dataflow in the OLGA GUI together with editors ................................................ 7
Files and file extensions ................................................................................... 10
Case toolbar ..................................................................................................... 12
File menu ......................................................................................................... 17
New .................................................................................................................. 19
Recent .............................................................................................................. 21
Tools ................................................................................................................ 22
Help .................................................................................................................. 23
Options ............................................................................................................. 24
Moving windows ............................................................................................... 26
Diagram view ................................................................................................... 27
Editing a case using the Diagram view............................................................. 29
Context menus for the Diagram view ............................................................... 30
Network connection overview ........................................................................... 34
Configuration of separator/phase split nodes ................................................... 35
Configuration of controller connections ............................................................ 36
Shortcut keys ................................................................................................... 40
Model Browser ................................................................................................. 41
Adding variables ............................................................................................... 43
Time series editor ............................................................................................. 44
Centrifugal pump .............................................................................................. 47
Case overview .................................................................................................. 52
Flowpath geometry data view ........................................................................... 53
Output view ...................................................................................................... 57
Simulation ........................................................................................................ 59
Reports............................................................................................................. 61
Plots ................................................................................................................. 62
Common behaviour in trend, profile and fluid plots .......................................... 63
3D Plots............................................................................................................ 68
Fluid plots ......................................................................................................... 71
Interactive trend and profile plots ..................................................................... 72
Profile plots ...................................................................................................... 77
Trend plots ....................................................................................................... 79
Tools available with OLGA ............................................................................... 83
OLGA Command Prompt ................................................................................. 85
OLGA Viewer ................................................................................................... 86
Risk management and optimisation (RMO)...................................................... 87
Parametric study .............................................................................................. 94
Fluid Definition Tool/Fann table........................................................................ 99
Mud properties - model description ................................................................ 101
IO Configuration Tool ..................................................................................... 104
Add configurations ......................................................................................... 105
Multiphase Toolkit .......................................................................................... 118
-1-
All documents listed above are available from the Start menu (Start - All Programs - Schlumberger - OLGA
x.x.- Documentation).
The OLGA User manual is also available from the Help menu in the GUI. User Manuals for other tools
included with the installation (e.g. FEMTherm, Rocx, OLGA Namespace Explorer, etc.) are available from
the Help menus in the tools.
Release information
Please refer to the Release notes for detailed release information.
Online help
OLGA is equipped with a context sensitive help document which can be opened directly from the user
interface. The help can be reached in several ways:
Click the Properties view and press F1 -> leads to the information on the relevant model
Operating system
The program is available on PCs with Microsoft Windows operating systems (Windows Vista, Windows 7,
Windows 8, Windows Server 2008 and 2012). Several versions of OLGA may be installed in parallel.
Support centre
The Support Portal provides useful information about frequently asked questions and known issues.
Please contact OLGA support if problems or missing functionality are encountered when using OLGA or
any of the related tools included in the OLGA software package.
-2-
Copyright notice
Copyright notice
Copyright 2015 Schlumberger. All rights reserved.
This work contains the confidential and proprietary trade secrets of Schlumberger and may not be copied
or stored in an information retrieval system, transferred, used, distributed, translated or retransmitted in
any form or by any means, electronic or mechanical, in whole or in part, without the express written
permission of the copyright owner.
Trademarks & Service Marks
Schlumberger, the Schlumberger logotype, and other words or symbols used to identify the products and
services described herein are either trademarks, trade names or service marks of Schlumberger and its
licensors, or are the property of their respective owners. These marks may not be copied, imitated or used,
in whole or in part, without the express prior written permission of Schlumberger. In addition, covers, page
headers, custom graphics, icons, and other design elements may be service marks, trademarks, and/or
trade dress of Schlumberger, and may not be copied, imitated, or used, in whole or in part, without the
express prior written permission of Schlumberger. Other company, product, and service names are the
properties of their respective owners.
An asterisk (*) is used throughout this document to designate a mark of Schlumberger.
Security Notice
The software described herein is configured to operate with at least the minimum specifications set out by
Schlumberger. You are advised that such minimum specifications are merely recommendations and not
intended to be limiting to configurations that may be used to operate the software. Similarly, you are
advised that the software should be operated in a secure environment whether such software is operated
across a network, on a single system and/or on a plurality of systems. It is up to you to configure and
maintain your networks and/or system(s) in a secure manner. If you have further questions as to
recommendations regarding recommended specifications or security, please feel free to contact your local
Schlumberger representative.
-3-
-4-
-5-
-6-
An editor contains one or more input pages customized for a specific domain
There are three editors in OLGA: the Pipeline editor, the Well editor and the Bundle editor. Details for
working in these editors are given in specific user manuals. In the following topic, the overall workflow is
described.
The model you build in an editor can be saved in a library. The library will contain a domain specific
representation of the model, not using the OLGA keywords. This model can be reused in different
simulation scenarios. Before you run a simulation, you will convert this model into a keyword/key based
model which can then be further edited in the keyword based GUI or sent as is to the OLGA simulator. You
control the discretization when converting the model to a keyword/key model. This is illustrated in the
figure below.
The conversion from editor to keyword/key model is a one-way transition. The generated keyword/key
model can be further edited in the keyword based GUI. Any changes made here will not be transferred
back into the editor. If you return to the editor after making changes in the keyword based GUI, a warning
is issued since when you regenerate the keyword based model, you will overwrite your changes.
-7-
Not all changes done in the keyword/key model is overwritten when you regenerate the model from the
editor. The following principle is used:
Changes done to the keywords and keys generated by the editor will be overwritten when you regenerate.
Changes done to keywords and keys which are NOT generated by the editor will not be overwritten.
There are some exceptions to this principle:
Changes done to keys on equipment are not overwritten by the Pipeline editor, except for the keys that
control the location of the equipment
Flow connections are not overwritten by either the Pipeline editor or the Well editor
Modelling this in the keyword based GUI, you will add PIPE keywords and divide it into a number of
sections. In order to position the pump exactly where you want (780 meters into the pipe in this example)
you must make sure there is a section boundary at 780 meters. Using the Pipeline editor to model this, you
define that the pump is positioned at 780 meter. When you generate the OLGA keyword/key model, the
editor ensures there is a section boundary at that position and inserts a pump there.
Since the discretization is vital to the results and the simulation speed , you should consider this when
working in the editors. Both the Pipeline editor and Well editor have a Discretization page where you
tune and preview the discretized model before creating it.
Workflow for building a pipeline in OLGA using the Pipeline editor and Profile generator
An overview of the basic workflow for building a pipeline in OLGA including the different tools that support
this workflow is shown in the figure below.
-8-
The Profile generator is a stand-alone tool which is used to simplify a detailed profile into a profile that is
used in an OLGA simulation. Too many pipes and sections will reduce the performance of the OLGA
simulator. The Profile generator offers a box filter to remove noise and an angle distribution algorithm to
create simplified profiles without compromising the simulation results.
The pipeline profile created in the Profile generator can be imported into the Pipeline editor. In the Pipeline
editor, you can add material to the pipeline, add equipment and specify ambient conditions. The model can
then be converted into an OLGA keyword/key model. The model can then be further detailed in the
keyword based GUI before running the simulation.
When you save the OLGA case into an *opi file, both the input to the editor and the generated model is
saved.
Workflow for editing an existing OLGA model
If you have a case not created by using the Pipeline editor, you have two options:
1.
You can continue to edit the case using the keyword based GUI.
2.
Double-click the flowpath to open it in the Flowpath geometry data view. This is a view of all PIPE
keywords in the flowpath. In this view, you can edit all properties of the PIPES. You can also import a
geometry to replace the one you already have.
To connect a flowpath to the Pipeline editor, click the Open in editor. Note that when you connect an
existing flowpath to the editor, only the profile is transferred. The material given by the WALL keywords
and other information is not transferred. You can edit the pipeline in the Pipeline editor and then
regenerate the model. The original flowpath is then replaced with the generated model. If you want to use
the old WALLS, you must select them again using the Flowpath geometry data view. Also note that any
signal connections to or from the model will be removed and must be reconnected. Connections to nodes
and all equipment are kept.
Workflow for building a well in OLGA using the Well editor
The workflow for creating a well using the Well editor is similar to using the Pipeline editor. The Well editor
contains some basic functionality for filtering the well trajectory.
You cannot transfer the geometry from an existing flowpath into the Well editor as you can with the
Pipeline editor. There is a separate library for wells created by the Well editor.
-9-
- 10 -
Output files
During the simulation, the simulator will produce several types of output files. The most common are trend
plots (*.tpl), profile plots (*.ppl), general output information (*.out) and restart files (*.rsw).
The files with a ~ prefix e.g. ~Case-0.opi is the case file from the last save. With auto-save turned on for all
case files in a project, files are saved at user-specified intervals.
- 11 -
Case toolbar
Toolbar
Tool tip
icon
Shortcut
Description
key
Duplicate case
Remove case
Save
Ctrl+S
Save as
Copy
Opens a window with the option to save the case with a new
name
Ctrl+C
Paste
Ctrl+V
Delete
Delete
button
Undo/Redo
Ctrl+Z to
undo
Ctrl+Y to
redo
Change keywords
Change units
Auto-arrange items
Paste actions
Connections
Text changed in Comment field
Show Grid
Snap to Grid
Snaps items to the grid when moving them; will work even
when the grid is not visible
Straight lines
set the default mode. Select Straight line to use this on all
new flowpaths and signal lines.
- 12 -
Case toolbar
Toolbar
Tool tip
icon
Shortcut
Description
key
flowpaths and signal lines as well, by using the context menu
instead
Right angles
right angles.
set the default mode. Select Right angle to use this on all
new flowpaths and signal lines.
Arrange
Horizontally
Arrange
Vertically
Local instances
Global instances
Duplicate to all
flowpaths
Network
connections
Submodel
connections
Add to Users
Library
Import from
Users Library
- 13 -
Toolbar
Tool tip
icon
Shortcut
Description
key
Show user's
library
Parametric
Studies
Copy as image
Well library
location
Opens a window where you can browse for the well library
Pipeline library
location
Profile generator
I/O
Configuration
tool
Risk
Management
and
Optimisation
(RMO)
FEMTherm
editor
Pipeline editor
OLGA Well
editor
Opens the Well editor which can be used to add a well to the
case. Click the arrow to the right to view already open well
cases.
Run Batch
F4
Run Interactive
F5
Pause
F9
Step
Ctrl+F5
Runs one step (only interactively). Note that this setting does
not override the OLGA time step setting.
Step length
Stop
- 14 -
Case toolbar
Toolbar
Tool tip
icon
Shortcut
Description
key
Verify
F7
Clear errors
Clear all error messages in the Diagram view. You can also
select Clear errors from the Context menu of the Output
window.
Multiple Plots
Adds a plot tab to the case with the option to select and
configure multiple plots
Trend Plot
Profile Plot
3D Plot
Fluid Plot
Report
Save Restart
F3
Output File
- 15 -
- 16 -
File menu
File menu
When starting OLGA the File menu will appear with New in focus. From the New page, a case can be
created by selecting an empty case or selecting a sample. The samples are complete cases that are ready
to simulate.
The File menu can be accessed by clicking on File at any point in time. To exit the File menu click either
on the File tab again or on a case tab.
Shortcut key
Save Project
Description
Saves the project and all open cases
Save Project as
(Ctrl+Shift+S)
Saves the project and all open cases with a new name
Open Case
(Ctrl+O)
Open Project
(Ctrl+Shift+O)
Import
Close Project
New
Recent
Tools
- 17 -
Shortcut key
Description
Help
Options
Exit
- 18 -
New
New
There are two ways to select a sample for a new case: From the carousel view or from the icon view. The
Sample view is selected with the two toggle buttons in the top right.
In carousel view, the samples can be navigated sequentially and shows a preview of the network and a
description of the sample. The selected sample is the front most sample highlighted in the orange selection
colour. Navigation is done by clicking to the right or left of the selected sample which will scroll the new
selected sample to the front. This can also be done using the left and right arrow keys on the keyboard.
- 19 -
In Categories view, the sample categories are shown on the left side of the window and the samples in
each category are shown on the right.
The name and location of the new case can be set at the bottom of the window. Use the Browse button to
bring up a file window to choose a different location of the case. The default location of new cases can be
changed in the Option window. When selecting a sample, OLGA suggests a default case name based on
the sample selected and a number if a case with that name already exists. The new case is created by
clicking the Create button or double-clicking on the sample.
The new case will be added to the currently open project. If no project is open, a new project with the same
name as the case is created.
- 20 -
Recent
Recent
Previously opened projects and cases can be accessed from the Recent page.
Selecting a recent project will open all cases from that project in separate tabs. Selecting a recent case will
open it and add it to the currently open project or create a default project if no project is open.
- 21 -
Tools
The Tools page is accessed through the File menu.
This page gives access to useful utilities which are installed with OLGA. These tools are documented
separately. Other external tools may be added to this page via the Options window.
- 22 -
Help
Help
The Help page is accessed through the File menu.
Help option
Description
OLGA Help
Wells Help
Getting started
Support Centre
Link to the support centre on the Internet. This option requires Internet access.
Send to support Zips the projects with all cases and data files and attaches it to an e-mail template.
About OLGA
- 23 -
Options
The overall simulator settings are specified under Options. The Options window is located under the File
menu
Settings on the General tab are:
External programs that should be available from the Tools page can be specified under the External
Tools tab. Some programs are set by default during installation and additional programs like Excel, a texteditor etc. can be specified. Select Add to browse for an external tool to include in this list.
The Default Units tab is used to select the preferred set of units. Units can select from three predefined
sets (SI, Metric and Oilfield) or a customized set may be specified. The default units affect the none-given
properties and the default values in the property editor and also which units the plotting variables are
shown in.
- 24 -
Options
- 25 -
Moving windows
Windows may be hidden and re-opened through the View menu. They may be detached from the frame
(floating) and may be docked again by moving the window to the border of the frame.
You can drag and drop windows anywhere in the Diagram view. Click the mouse cursor in the top bar of a
window and drag to relocate. If you drag the window to any border in the Diagram view, the window will
snap to place by the border. Click the crosses located in the top bar to minimize and maximize the
windows.
- 26 -
Diagram view
Diagram view
When a case is opened or created the central window of the GUI displays a graphical view of the case.
Below is a snapshot from the GUI with the Basic sample case loaded. The Diagram view displays
pipelines, nodes, process equipment and more. All visible objects are listed in the components view.
In the Diagram view, nodes and flow lines are drawn schematically, not reflecting the real geometry of the
case. Sources, pressure boundaries and process equipment are also visible.
- 27 -
Mark the relevant label. A rotation wheel is displayed above the label:
2.
Left- or right-click the mouse pointer and drag the wheel in the direction you want to set the label. Note
that you can undo and redo the label editing.
3.
- 28 -
- 29 -
Icon
Option
Suboption
Description
Rearrange the graphical layout with mainly horizontal flow lines.
Arrange
diagram
horizontally
Arrange
diagram
vertically
Fit to page
(Ctrl+Q)
Show grid
Snap to grid
Snaps items to the grid when moving them; will work even when
the grid is not visible.
Opens the network overview/connection window.
Network
connections
Submodel
connections
Paste
Undo/Redo
action
Filter layout
Use filter
(Ctrl+H)
User
define
filters
- 30 -
Icon
Option
Suboption
Description
All objects are added to the same layout filer and the content of
the user defined layout filter is case specific.
Show all
Copy as image
Select profile
variables
Sub-option
Description
Copies selected item. The label consists of the original label and a
suffix and is globally unique.
Paste
Delete
Undo/Redo
action
Arrange
- 31 -
Icon Option
Sub-option
Description
Brings the selected object forward.
Bring
forward
Bring to
front
Send
backward
Send to
back
Choose to show or hide visual objects.
Filter layout
Use filter
(Ctrl+H)
User
define
filters
objects that equals the selected objects type to the filter. Note
that only on object can be selected to access this item.
Choose Clear filter to clear the user defined filter.
All objects are added to the same layout filer and the content of
the user defined layout filter is case specific.
Show all
Select visible
signals...
Set colour
- 32 -
Icon Option
Sub-option
Description
colour you selected.
View the colours used on the flowpath canvas.
Show
legend
Note: The selected colours are saved in the case file and in the
central settings file and can be used for other cases.
Select trend
variables
Select profile
variables
Right angled
change all flowpaths and signal lines from slanted lines to right
angles.
set the default mode. Select Right angle to use this on all new
flowpaths and signal lines.
Straight line
Distribute
Inline
equipment
evenly
Local
instances
Global
instances
Add to users
library
Import from
users library
library.
Properties
Starts the property editor for the selected object. For a flowpath
this would be the Flowpath geometry data view.
Open in editor
Opens the Well editor if the flowpath is created via the Well editor.
If the flowpath is created via the Diagram view, the Pipeline editor
opens.
Edit label
- 33 -
- 34 -
3.
Click on the outlet terminals of the separator one at the time (gas, water and oil) and drag
- 35 -
The variable required from the separator must be specified as a property (key) on the transmitter.
Coupling of signal components is possible with two different techniques in the graphical user interface;
i.
ii.
- or -
Hover over the component which the output signal is taken from. Click one of the component's green
circles (connection point(s)) and drag towards another component in the network. Green circles that
appear when dragging over a component are available connection points for the other component.
- 36 -
2.
Release on any of the second components connection points. Normally you would select the closest
connection point to make the signal line as short as possible. A dialog appears with all available in and
out signals. Select the signals you would like to connect and click Ok. A signal connection is made
between the two components. In the figures shown the out signal (equal to the variable listed for the
transmitter at its position) from a transmitter is connected to a PID controller's measured input signal.
By clicking on a signal line, you will see what signals are connected. By double clicking on a signal line,
you will see the dialog for selecting terminals (signals). You can change the terminal using this dialog. You
can also move the signal line from one connection point to another. This is only for tidying your case, the
selected connection point does not decide what terminals are connected.
All valid output and input signals are by default displayed for all components. Several components have
many input and output signals, which you can filter away, using the Edit visible signals option on the
Context menu, see illustration below. In this window, you can configure which signal should be
accessible/visible in the Diagram view for each type of controller. The configuration will be saved with the
case. Both the input signals and the output signals can be configured. By default, all signals are available.
Select which signals to configure, in or out. Then, select the type of controller if the selected one is not the
correct one. A selected check box indicate that the signal will be available when connecting in the
Diagram view. Note that all connected signals will be visible in the Diagram view independently of the
check marks.
- 37 -
3.
Select the check boxes for the terminals you want to display in the Diagram view.
The terminals you select, apply to all HEATTRANSFER, TUNING or CORROSION nodes in your case and
are stored when you save the case.
You can only have one CORROSION item per flowpath.
Illustration
This is an illustration of a user dragging a new connection from the manual controller to CORROSION. The
connection points appear when the mouse is close to the component. The dialoig for selecting terminals is
displayed when a connection point is selected.
- 38 -
- 39 -
Shortcut keys
Given below is a list of some shortcut keys. For more information regarding shortcut keys, see Case
toolbar.
Shortcut
Description
Mouse wheel
Ctrl+/Ctrl-
Ctrl+0
Ctrl+A
Delete
Shift+left drag
Pans
Ctrl+left click/drag
- 40 -
Model Browser
Model Browser
The Model view, File view and Property editor windows appear when you double-click a component in the
Diagram view. The window is named Model Browser.
You can also open this window via the
View list in the upper right corner of the Diagram view. Select the File view or Model Browser.
Using the shortcut keys Ctrl+1, Ctrl+2, Ctrl+5, Ctrl +Enter or Ctrl+Space.
The Model Browser is used for navigating between the objects of the system. The objects are ordered
hierarchically with a project on top comprising one or more cases. A case contains Case Definitions,
Libraries, Output and Network Components.
Note that the Model Browser lists all objects in the case whereas the Diagram view only shows the visual
objects. Non-visual objects (for instance case options) are not shown in the diagram view but are listed in
the Model Browser.
Case Definitions describe information common to the whole system being simulated.
Network Components describe the properties of the flow network (currently either a node or a flow
path).
Libraries contain keywords that can be accessed globally (for instance Material and Wall).
Output contains global output definitions, such as plotting intervals for trend, profile and output.
Thermal Components contains input to the FEMTherm and bundle models and input to annulus
calculations.
When you select an object in the Model Browser, the object is made active and its properties may be
edited in the Properties view.
- 41 -
The Model Browser contains input for all cases in the project. Switching between the different cases is
done by clicking on the file name in Model Browser.
Right-click while pointing to an object in the Model Browser brings up various menus depending on the
object:
Menu item
Description
Add
Verify
Checks input file and reports errors and missing input in the Output view.
Copy
Paste
Delete
Local instances
Shows all local instances of the selected object in an editor table. E.g. all valves on
one flowpath.
Global instances
Shows all instances within the case of the selected object in an editor table.
Properties
Starts the Property editor for the selected object. For a flowpath, this is the
Flowpath geometry data view.
- 42 -
Adding variables
Adding variables
This is how to add variables:
1.
Click in the VARIABLE field in the Properties window and then the
2.
Select variables from the window displayed. The variables may be sorted:
Alphabetically (by name or description)
- box.
The units for plotting variables can be changed when actually plotting.
There is also an option to specify a label for the variable selection and save it. These variables can then
easily be re-used at several positions.
By clicking OK in the relevant variable selection window, all selected variables will appear in the
Properties window:
By clicking OK, the window closes and focus is returned to the Properties window. Enter the pipe
selection again and complete the specification by giving the sections.
- 43 -
If there are several independent time-varying parameters within one keyword the graph of these can be
displayed by checking them in the graph legend (which shows the minimum necessary input parameters).
- 44 -
Custom windows
Special editors are available for editing initial conditions and heat transfer statements. The input is
graphically displayed together with the data. An example of an initial condition is shown in some detail
below. An example of a heat transfer specification is also given.
Initial conditions
You can access the custom window for initial conditions through the property editor button on the
INITIALCONDITION statement. Note that this custom window can only be accessed if only one initial
conditions statement (keyword) exists.
This custom window can only be used when entering data section-wise. However, by selecting cells in a
spread sheet and right-clicking, a number of interpolation options are available. These will help input the
desired data. Also, if incomplete data is given it will automatically be completed when exiting the editor.
To activate the custom window click the property button on top of the properties page, see below:
Heat transfer
You can access the custom window for heat transfer through the property editor button on the
HEATTRANSFER statement. Note that this custom window can only be accessed if only one heat transfer
statement (keyword) exists.
This custom window can only be used when entering data section-wise. However, by selecting cells in the
spread sheet and right-clicking, a number of interpolation options are available. These will help input the
desired data. Also, if incomplete data is given it will automatically be completed when exiting the editor.
The heat transfer properties can be as shown below:
- 45 -
By clicking the properties icon of this window, the heat transfers custom window is presented.
- 46 -
Centrifugal pump
Centrifugal pump
Pump curves are required input for the centrifugal pump. To help the user with the input, the pump curves
together with some key parameters can be specified in a custom window. This can be accessed in one of
the following ways:
Select the centrifugal pump, right-click and select Properties from the Context menu
Select the centrifugal pump and press the property page button in the Properties editor
If phase mode = liquid (single phase), the option One speed per curve is given. This means that the
only single phase curve will be used in the simulation. The multiplier for two-phase will be ignored.
Curve input
Description
Single curve
This scenario is straight forward. The best efficiency point is used as rated values for
the centrifugal pump.
Multiple speeds This scenario is straight forward if the input data follow the pump laws. If the data
and one speed
per curve
deviate from the pump laws, the generated pump curves will become bumpy, and
might be difficult to use in simulation. An option to generate multiple homologous
curves, which will be interpolated in speed, will therefore be added
If phase mode = two (two phase), the input data will be one curve per GVF (gas volume fraction), the
options to choose between are:
Calc multipliers - generates single phase curves from input with GVF=0.
Calc multipliers and degraded head - generates single phase curves from input with GVF=0.
Generate degraded head curves from maximum GVF given in.
Interpolation in gas volume fraction - generates one single phase curve per GVF, and
interpolate the curves using actual GVF
- 47 -
Secondly, decide to specify the rated values or chose the option to auto generate them. The auto generate
option can be used if rated data is not available.
Next, click on Add in the Pump curve frame to enter the pump curve data. First, enter the gas volume
fraction and density. Note that the gas volume fraction needs to be 0 if phase mode = liquid (single phase
no gas present).
Further, choose which type of input data the pump curves should be specified in (head/delta pressure, and
efficiency/head/torque), and then enter the data. At least three data sets need to be entered. When this is
done, more pump curves can be added. Note that only the pump curves with a check mark will be used for
the selected centrifugal pump.
The centrifugal pump curve is a keyword named CENTPUMPCURVE, located on the library level. Several
pump curves can exist. One pump curve can be used by several centrifugal pumps or not used at all.
The Update plots button in the Normalized pump curves frame to the right will be enabled when enough
information is given. The conversion of centrifugal pump curves to homologous curves will be then be
performed. These curves are only for information; this is the input that will be used for the OLGA
simulation. Several plots are shown:
Torque vs Volume flow - one static curve per centrifugal pump curve
Note that the pump curves data can contain large errors that may give the curves a strange form. I order to
avoid bad data, plot the input curves and the generated homologous curves to adjust the input data.
Navigating in the pump curve grid
In the pump curve grid, use the tab button to move from left to right and use enter to move from top to
bottom.
- 48 -
Centrifugal pump
File view
You open the File view by clicking the File view option in the View menu. The File view shows the files
associated with the project. This will typically be the input file as well as PVT files and other files used in
the case. However, any type of file can be added to the project (Word-files, Excel-files, etc.).
By right-clicking on a file, the file can be removed or the input file can be opened in a text editor. The text
file may be edited and reloaded into the OLGA GUI by right-clicking the .opi file and selecting Reload from
text file. Note that the graphical layout will be recreated on reload from a text file as the text file does not
contain any information about the layout. This information is stored in the .opi file.
- 49 -
Components view
The Components view contains a library of objects that can be used to build the case. Simulation objects
may be dragged from the Components window and dropped onto the Diagram view. You can hide the
Components view with the cross located in the upper right corner of the window. You can hide the labels to
make room for more components. This way you do not have to scroll to find the component you are
looking for. Alternatively you can use the search box to filter the content of the Components view. Start
typing the name of the component you are looking for and the Components view only shows components
that matches your search criteria
- 50 -
Centrifugal pump
Group
Description
covering boundary nodes and node type equipment like separator, phase
split node, etc.
Flowpaths
Valves
Other equipment
Boundary conditions
- 51 -
Case overview
The Case overview window is used for helping with orientation in the Diagram view for larger network
cases. The white frame shows what is visible in the Diagram view; the size of the frame is dependent on
the zoom level. The visible area can be moved by clicking and dragging (left mouse button) the white area.
You can zoom in and out of the Diagram via the Overview view: Draw a rectangle in the Overview to
zoom to that area in the Diagram view. Also panning the same rectangle in the overview will pan the
Diagram view.
If the case overview window is not visible it can be opened from the View menu, in the upper right corner,
or to the right of the zoom buttons in the lower right corner.
- 52 -
Reverse geometry
Click this button to reverse the geometry. Note that the reverse functionality varies depending on how the
geometry is given:
Length/Elevation
The Reverse geometry button reverses the pipes and flips the elevation. In the example below, you can
see in the table that the sequence of the pipes is changed. You can reset the pipe labels. The elevation for
each pipe is changed from positive to negative and vice versa.
- 53 -
XYZ
The Reverse geometry reverses the pipes and adjusts the XYZ coordinates. The start points become the
end point. In an XY plot, this can be illustrated as follows:
The plot in the Flowpath geometry data view is a horizontal distance and elevation plot which always
starts with zero. The XYZ geometry illustrated above is displays as follows in the Flowpath geometry
data view:
- 54 -
Mixed geometry
If the geometry is specified with a mix of Length/Elevation and XYZ, then the reverse functionality first
calculates the complete XYZ geometry. The length direction is x. Then the XYZ geometry is reversed. A
Length/Elevation geometry with the geometry keys XStart, YStart and ZStart different from zero is treated
as a mixed geometry.
Section lengths
If the section lengths are specified in a list, the list is reversed.
Reset pipe labels
Click this button to change all the labels of the pipes. The pipes will be labelled Pipe-1, Pipe-2, , Pipe-n.
This is useful if you have used the reverse geometry function.
Discretize geometry
Click this button to automatically fill in the section lengths of all pipes. Note that any existing sections will
be overwritten. The discretization algorithm takes two parameters as input: Minimum number of sections
per pipe and Maximum section length. The algorithm gives all pipes the same selected number of sections.
The algorithm also tries to make sure that two adjacent sections does not have a length ratio higher than
1:2 (i.e: one section will be less than double the length of any adjacent sections).
Open in editor
Click the Open in editor button to open the Well editor if the flowpath is created via this editor. If the
flowpath is created via the Diagram view, the Pipeline editor opens.
This option is also available via the Context menu in the Diagram view.
- 55 -
- 56 -
Output view
Output view
The Output view (not to be confused with the OUTPUT keyword/OUTPUT file) gives information about the
state of the cases, modelling and simulations. The information is divided into three categories: Errors,
Warnings and Info.
Warnings
The simulation may still be performed This symbol is displayed:
Information (
) is given regarding:
- 57 -
Connections view
The connections view gives information about the signal connections between transmitters, controllers,
process equipment and boundary conditions.
There are two modes: Display case and Display current object.
Display case will show all signal connections for the entire case. Display current object will only show the
signal connections for the selected object on the Diagram view.
The sample below shows that a PID controllers output signal (CONTR) is connected to VALVE-1s input
signal (VALVESIG). The VALVESIG for a valve is the same as the valve opening. The transmitters (TM-1)
output signal (which depends on the variable specified for the transmitter e.g. pressure) is connected to the
PID controllers measured input signal (MEASRD).
You can view the direction of the signal connection on the Display current object tab to get a quick
overview of all signals and their impact on the model parts. Inbound signal connections are coloured
orange while outbound signal connections are coloured blue.
See also
Configuration of controller connections
- 58 -
Simulation
Simulation
There are some alternative ways to run a simulation, Run interactive and Run batch case by case or the
entire project.
Run interactive
Run interactive makes it possible to open and view output results while running. An interactive simulation
may be paused and continued. If you use the Step functionality in interactive simulations, note that the
OLGA time steps override the Step functionality settings.
Run in batch
Click Run Batch to start the simulation in the background. This will open a command prompt showing
output and progress. A batch simulation is running in a separate process than the GUI which means that it
is possible to close down the GUI without disrupting the simulation. All open cases are saved when you
click this button.
Run Project and Run Project Batch
If the project contains more than one case there are two alternative options, Run Project and Run Project
Batch. These options are available in the project menu located in the upper right corner, and will run all
cases in the current project in sequence. The sequence can be specified by setting the project
dependencies.
Project Dependencies can be access either from the
Project menu or
- 59 -
- 60 -
Reports
Reports
A case report is generated and viewed in the default web browser from Report on the case toolbar. The
menu system in the report uses JavaScript which may trigger a security warning from the web browser.
Allow the blocked content to activate the menus in the report.
Use the buttons on the top to jump to specific sections in the report or select Printer Friendly version to
remove the menu system.
- 61 -
Plots
There are several types of plots that can be activated in OLGA. These are described below.
Trend plots
Profile plots
Fluid plots
3D plots
Interactive plots
OLGA viewer
- 62 -
Change or delete the note by right-clicking it and select Edit - Edit Note from the Context menu. The notes
can be toggle on and off by the notes button on the toolbar.
Use of the plotting Context menu
The plotting tool is a sophisticated program and provides access to several functions for modifying graphs.
Most functionality is accessed through the Context menu (right-click on the plot to bring up the Context
menu)
File menu
Save As Image
Displays a window for saving current plot to an image file
- 63 -
Print Setup
Displays a window for modifying print settings like portrait/landscape, margins etc.
Edit menu
Select
This option is used to add and remove plot variables. This window can also be brought up using the Select
button in the toolbar.
Copy
There are two options: copy the underlying data for the plot (to clipboard) or copy the current graph as an
image (to clipboard). The size of the plot can be adjusted so that all copied images will get the same size
(this can be useful when copying several plots into a report).
Note(s)
A descriptive note may be added to the plot by selecting Edit - Add Note from the Context menu. The
window allows text to be entered and attached to the case to one of the series in the graph.
Min/max values
The minimum and maximum values can be adjusted on the axis to zoom in on a subset of the graph. By
default the minimum and maximum values are reset when the plot file is reloaded. This can however, be
turned off.
Series...
This option brings up the window below which enables changes to the title used for the series and change
the colour and line style for the series.
Legend...
This option brings up the window below which enables setting the font, font-size and position of the
legends.
- 64 -
Axis...
This option brings up the window below which enables editing the name of the axis, the format on the
numbering, the position (top/bottom or left/right) and the colour of the axis. Note that for collapsed axis,
only the position can be edited (the other options will be disabled for collapsed axis).
Titles...
This option brings up the window below which enables editing of the header and footer. The visibility of the
header and/or footer can also be set.
- 65 -
View menu
Black/White
Collapse Axes
If two variables use the same unit the axes for these variables will by default be collapsed. This option is
used to switch between collapsed axes and individual axes for each variable.
Legend
This option is used to hide/show the plot legends.
Track Values
This option is used to see the numerical values used as basis for the plot.
Notes
This option is used to hide/show notes added to the plot (see Edit-Notes above).
Plot templates
If the same plot is to be generated several times, the plot configuration may be saved as a plot template.
A plot template includes information about the selected variables, sequence of selected variables, colours,
units and more. Plot templates are convenient when running the same case several times or when several
nearly identical cases exist (e.g. restart cases).
To create a plot template the plot must first be configure, and then select File - Save As Template,
located on the Context menu. The template is stored as a .tpl.tz/.ppl.tz file in the location specified.
To use a plot template, click on the arrow on the right side of the profile/trend plotting buttons.
Select template from the list with recent templates or select Browse to locate a template not in the list.
A plot template can also be opened from within the plot (File - Open Template). Note that a plot template
will overwrite the current plot when opened this way.
- 66 -
Note that for profile plots where different plotting intervals have been used in the different files, the profile
closest to the selected time will be used and no interpolation is currently applied.
- 67 -
3D Plots
The 3D plot shows the holdup for liquid along a single flowpath (pipeline length) in a three dimensional
view. The plot is activated by defining the keyword ANIMATE at the case level:
3D plot toolbar
- 68 -
3D Plots
Tool
Description
Reset view
Reset the x-y ratio and diameter sliders and fit the plot to the page.
Fit to page
Point view
Pan view
Rotate
view
Zoom view
X/Y ratio
Use this slider to change the ratio between the x-axis and y-axis. The default value is
automatically set up by the 3D Plot view. It is also possible to enter the ratio directly in the
input field next to the slider. The range for the slider is 0.01-100 (1:100-100:1).
Diameter
Use this slider to scale the relative size of a pipe diameter. The X/Y ratio is not affected by
the changes you make here. Note that flowpath sections can overlap if you adjust the X/Y
ratio or Diameter settings. Click Reset view to return to the original settings.
Show 3phase
Select this check box to visualize all three phases in the 3D Plot view. Water is coloured
blue and oil is coloured brown. Gas is not coloured. If you clear this check box, the flow is
visualized in two phases.
Uniform
diameter
Select this check box to use one single diameter for all pipes. The actual pipe diameter is
not used.
Show slugs Select this check box to visualize slugs in the 3D Plot view. Note that slug data must be
available for this check box to be available.
Show
legend
Select this check box to display the colours of the phases in the flow in the Diagram view.
If slugs are visualised, the legend also displays the slug colour.
Context menu
Menu item
Description
Select Branch
Display Options
Toggles the title or the tool bar for the plot. Select Smoothing to visualize any
holdup with smooth edges. If you clear this check box, the holdups are discretizised.
Load Layout
from File...
Save Layout to
File
Add Plot
Remove Plot
Copy
Layout
Save As Video
Clip (.avi)...
View
- 69 -
Time slider
Use the time slider located in the lower part of the 3D Plot view to control the 3D playback. Drag the time
slider to a specific time in the animation, or click the various buttons to start, stop and pause the animation.
You can also set the speed with the Realtime list on the right side of the slider.
Note that the time slider is only displayed when interactive profile plots or 3D plots are present in the
custom plot.
- 70 -
Fluid plots
Fluid plots
The plot-tool can be used to plot fluid-properties. Select Fluid Plot from the Case toolbar and then open a
fluid-properties file (.tab). Select the variables to plot and press OK.
The freeze-function as for profile plots can be used. Click the nail and then the play button. Clicking the
nail multiple times allows for the freezing of more curves.
The default x-axis is temperature. It can be changed by moving the column header fields in the right-hand
side window to locate the X-Axis field (which is in the far right position by default) and select Pressure
instead of Temperature (see figure below).
- 71 -
After the plot variables are defined, interactive plots can either be added to the Diagram view by dragging
from the component list or opened as separate plot tabs. Plot tabs are created by pressing the Interactive
plot button on the case toolbar or pressing the + on the right side of the tabs.
For profile plots you can only see the last available profile, no history is saved.
In the plot tabs within the case, you can add several plots to one frame. An example is shown below. Each
individual plot can be configured through the Context menu.
- 72 -
- 73 -
How to use it
Adjustable sliding window functionality can be used on the horizontal (time) axis of interactive trend plots
in OLGA. To define a sliding window select the menu item Max/Min Settings.. in an interactive trend plot
Context menu:
You define the sliding window setting for a plot in the Time axis sliding window section:
- 74 -
Note
The sliding window settings for a plot are saved to the case file.
Explanation of fields
Activate
Select this check box to enable the sliding window in current plot.
Span
This field is only accessible when Activate is selected. In this field, you define the width of the window used
on the horizontal axis, given in the horizontal axis unit.
For example: If you specify a sliding window span to be 1000s and the simulation has run for more than
the given time span, data points are removed at start to allow place for the new data points. This reduces
the amount of points to be updated in the plot.
Use this setting for all plots in case
Select this check box to force all plots in this case to use the current sliding window setting. All new
interactive trend plots are also initialised with this setting. Note that you can still change the setting locally:
Define the local setting, clear Use this setting for all plots in case and submit change by clicking Ok or
Apply.
- 75 -
Context menu
These are the menu items on the Context menu:
Menu item
Description
Edit/select
Variables
Remove All
Variables
Show variable
selector
Toggles automatic pop-up of the Variable selection window (only used for the
plot and value on Diagram view)
Max/Min Settings
Opens a window to set the max and min values of the axis
Show border
Save Layout to
File
Add Plot
Remove Plot
Edit Title
Layout->
Copy
Configuration
View->
The Context menu for the plots added to the Diagram view contains a subset of the above menu. Single
values added to the Diagram view have the following Context menu:
Menu item
Description
Edit/select
Variables...
Show variable
selector
Show border
Show Name
- 76 -
Profile plots
Profile plots
Profile plots are variables plotted along a distance (flowpath). There are many different profile variables. A
list of the different profile variables are given in the variable section.
A profile variable needs to be added to the case before the simulation is started to be able to plot it
afterwards. Profile variables can be added on case level and on flow component level through the keyword
PROFILEDATA. In the profile data statement the user has to select a variable e.g. VARIABLE = PT
(pressure). One can read more about the PROFILEDATA in the Keywords section.
The plotting frequency is given through the keyword PROFILE on case level. All profile variables use the
same plotting frequency. Note that the plotting frequency can never be lower than the time step of the
OLGA simulation.
To view the profile plot, select the profile button on the case toolbar and then select the variables to plot:
- 77 -
It is possible to "play-back" the profile plot, either by dragging the slide or by clicking play. The keyboard
arrows can also be used to navigate; in the profile plot integrated in the case tabs use the key ctrl in
combination with the right and left arrows.
You can also freeze a curve by clicking the nail
stored. To "un-freeze" a curve, disable the nail
can be played back simultaneously; however, the speed will depend on the capabilities of the PC.
- 78 -
Trend plots
Trend plots
Trend plots are variables varying with time e.g. how the pressure varies with time at a given location.
There are many different trend variables. A list of the different trend variables are given in the variable
section.
A trend variable needs to be added to the case before the simulation is started to be able to plot it
afterwards. Trend variables can be added at the case level and at the flow component level through the
keyword TRENDDATA. In the trend data statement the user has to select a variable and then a position
e.g. VARIABLE = PT (pressure) and position given e.g. by ABPSPOSITION = 100 m. One can read more
about the TRENDDATA in the Keywords section.
The plotting frequency is given through the keyword TREND on case level. All trend variables use the
same plotting frequency. Note that the plotting frequency can never be lower than the time step of the
OLGA simulation.
After the simulation is run, select trend plot from the button in the case toolbar. This gives the Select
variable window below. Select the variables to plot. Double click on the selection or right-click and choose
one of the options displayed. Click OK to see the graph.
There are many ways to filter the content of the window above. Note that filtering is a tool for locating the
variables. The selected variables are plotted even if they are filtered away.
Slug statistics
It is possible to plot slug statistics using the plots. This is done by adding the plot variables LSLEXP (slug
length) and LSBEXP (bubble length) to the trend data. Based on these plot variables two synthetic
variables are calculated; LSLEXP_STAT and LSBEXP_STAT. By plotting these variables, a bar chart will
be created that shows the distribution of slugs/bubbles that have a duration which is a multiplicity of the
given slug duration interval.
- 79 -
The slug duration interval and calculation time span can be changed using the window below.
- 80 -
Trend plots
Surge Volume
The plot will calculate and plot the surge volume if the plot variable ACCLIQ is included (accumulated
liquid volume flow) as a plot variable in the trend data. The surge volume variables can be plotted as surge
liquid volume (SURGELIQ), surge oil volume (SURGEOIQ) and surge water volume (SURGEWAQ).
The default calculation interval is from the simulation start to the end time. Default Qmax is given as:
- 81 -
(ACCLIQ@endtime - ACCLIQ@starttime)/(Endtime-starttime)
Start time, end time and Qdrain can be changed in the Surge Volume Options window (see below). Setting
empty values in an option field causes default values to be used for this field, i.e. an empty value in end
time cause last simulation time step to be used as end time.
- 82 -
Tool
Started
from
Documentation
FEMThem Viewer
OLGA viewer
Multiflash
OLGA Namespace
Explorer
Profile Generator
Rocx
Parametric study
- 83 -
Tool
Started
from
Documentation
within
OLGA
GUI
Multiphase toolkit
- 84 -
When you run the OPI command from the OLGA Command Shell, the following log files are created:
BatchExecutionSummary.txt - for a general simulation status overview.
BatchExecutionSummary.txt.simOut - for the OLGA simulation output.
- 85 -
OLGA Viewer
The OLGA Viewer is a stand-alone animation tool that is installed and defined as an external tool by
default; see the File menu/Tools > External tools.
The PLOT keyword is needed by the OLGA Viewer, and it is always specified on case level:
In the Properties window for the PLOT, both the plotting frequency DTPLOT and the variables must be
specified. All variables are plotted for all flowpaths (branches) and all sections of the case.
A *.plt file is generated during the OLGA simulation. After opening the OLGA viewer, select the appropriate
.plt file.
The figure below shows a snap-shot from the OLGA viewer. A separate help document is available from
the Help menu within the tool.
- 86 -
The sensitivity analysis allows you to find out which of your input parameters have the greatest
When you tune/optimize, the input parameters automatically changes to minimize or maximize the
difference between specified measurements and simulation results.
For a detailed description of RMO; launch RMO and select the Analysis manual tab.
Define input parameters
This is how you define the input parameters to be used in the RMO analysis :
1.
Select Risk Management and Optimisation (RMO) in the case toolbar of the case you want to do the analysis
for:
- 87 -
By setting the precision to 0, you can use integers for OLGA keys with a label value in the sensitivity
cycle.
If you want to run a study with 11 different geometries, define the different geometries with label from 0 to
10 as shown below (other numeric labels will also work as long as the string represent a numeric value).
Select New in the RMO input parameters window. Then select GEOMETRY on the flowpath:
- 88 -
A new parameter is defined in the RMO input parameters window which can be used to run a study on
the different geometries.
- 89 -
- 90 -
Explanation of fields
Parameter name
This is the name of the parameter (Default value is the same as Parameter). The parameter name can be
edited by the user. You click on a cell to edit a cell and then move out of the cell to accept edited name.
The following characters are illegal to use in the parameter name:
( ) > < & | = _- * / " ' . ? + $ % ! { } ^ , (+space)
An error message is given if illegal characters are used in a parameter name, and the Launch RMO button
is disabled.
Parameter
This is the type of parameter (key).
Unit
The unit is the same as the unit used in the property editor. If you want a different unit, this must be
changed in the property editor for the specific parameter. The unit cannot be changed within the RMO
analysis.
Location
This field specifies the location (parent container, i.e. flowpath name) of the defined parameter.
Keyword(s)
This field defines the keywords to which a parameter belongs.
Notification area
This field shows errors and information, i.e. if an illegal character is used in the parameter name.
- 91 -
Action buttons
New
Use this button to add new input parameters to use in RMO simulation. When you click this button, the
Select Parameter window opens. Choose flowpath, node, separator, controller, case or library in
accordance with where the parameter change belong.
In this window, you choose the keyword from the list on the right side by double-clicking a keyword or with
the arrows between the lists. Then you choose Click to select parameter header in the list of selected
keywords. A list with all parameters for the selected keyword is displayed, but you can only select the keys
shown in black. Select a parameter and press OK.
Note: For pipe, it is possible to choose several pipes. I.e. the parameter selected for this keyword is
commonly changed for all pipes selected.
Edit
Use this button to change the selected row. When you click this button, the Select parameter window
opens. The same procedure as for the New button applies.
Delete
Use this button to delete selected parameters.
Clear
Use this button to delete all parameters in the list.
Launch RMO
Use this button to start RMO with the parameters as defined in the list.
This button is not available if:
- 92 -
Troubleshooting
Illegal characters
In folders:
RMO has restrictions regarding legal characters in case file name and path. The following characters are
not allowed:
()><&|=-*/"'.?+$%!{}^,
An error message is displayed in the Notification area if illegal characters are used in a folder name, and
the Launch RMO button is disabled.
In parameter names:
Parameter names can be changed by the user in the RMO input parameters window. The following
characters are illegal to use in the parameter name:
( ) > < & | = _- * / " ' . ? + $ % ! { } ^ ,
An error message is displayed in the Notification area if illegal characters are used in a parameter name,
and the Launch RMO button is disabled.
Missing result files
Note that the base case must have been run prior to the RMO launch since the results from the TPL and
PPL files are used in further analysis. An error message is displayed in the Notification area if TPL and
PPL files are missing, and the Launch RMO button is disabled.
RMO already running
Only one instance of RMO can run at the same time. If an instance is already running, the Launch RMO
button is disabled.
Hibernate
Do not to set the PC in hibernate mode during study. This will make the simulations for the RMO tuning
optimization cycle fail.
- 93 -
Parametric study
A parametric study is a way to set up a series of OLGA cases based on a current case where each case
has one or more parameters that change. A typical example is to define four cases where everything is the
same except for the mass inflow through the source. The inflow increases incrementally in each case. The
parametric study makes it easy to define and run these cases. You can use up to 50 parameters.
The Parametric studies page is opened from the Case toolbar, where new studies can be added or
previously performed studies reopened.
The input window for parametric studies is shown below.
Studies can only be performed on the local machine; however, the number of simultaneous simulation can
be given (#Parallel simulations). This can be useful for machines with multiple processors or
multithreading.
Use the Duplicate button to create a new study. All cases and parameters are copied from the original
study. This simplifies the process of entering the same parameters for several studies.
You cannot run parallel simulations in batch, i.e. you can only use Run study with parallel simulations.
When saving the case, the parametric study is saved in a separate folder together with the Project/Case.
- 94 -
Parametric study
Naming of cases
The naming of the cases can be changed by selecting an alternative Decoration.
%N will be replaced by case number
%1 will be replaced by name of parameter 1
Custom decorations can be created. The name applied as a result of the selected decoration is displayed
in the list below.
- 95 -
Creating a study
First, click on the button Add.
Secondly, decide how many parameters/properties that should be varied in the parametric study. Enter the
number in the #Parameter field.
Then select the parameters to change by right-clicking in the header of the table, where it says <Right-click
to select parameter>, then Select Parameter . In the window that appears, choose the flowpath, node,
separator, controller, case or library to where the parameter to change belongs.
Next choose the keyword from the list shown on the right by double clicking on the keyword or by using the
arrows between the lists. Then, in the list of selected keyword(s), click in the header where it says Click to
select parameter. A list all parameters for the selected keyword will show, only the keys shown in black
can be selected. Select one parameter and press OK.
Note that for pipe, it is possible to choose several pipes. This means that the parameter chosen for this
keyword will be commonly changed for all pipes selected.
When all parameters to change have been selected, add values to the parameters. There are several
ways of entering data:
Typing values directly into the table. Right-clicking the case column will bring up the option to insert
more cases.
Right-click on one of the parameter headings and choose Set Value(s) . This gives the option of
giving a range of values; start, end and step. The case table will then automatically be filled in for the
selected parameter.
- 96 -
Parametric study
Clicking on the Matrix button. This option is only available if more than one parameter is given. In
the matrix window gives the option of entering a list of values for each parameter, which then again will
update the case table with all combinations of parameters specified.
When all data are specified, run the study. The Run Study Batch button will start a command shell which
will run independently of the OLGA GUI and only report status while running in the command shell window.
While the Run Study button will start the simulations more integrated with GUI, meaning that the status
will be shown in the case table.
Note that only the cases with a check mark will be run. The check marks are removed after the simulations
have completed if the Run Study option is used.
- 97 -
Viewing results
After the parametric study has been run, several different plots can be used to view the results. Below is a
short description for each of the options
Trend Plot
Click on the Trend Plot button and the Select variables window appears. The functionality here is
similar to the one described in general for plots. Select the variables that should be plotted, press OK and
the plot will appear.
Profile Plot
Click on the Profile Plot button and the Select variables window appears. The functionality here is
similar to the one described in general for plots. Select the variables that should be plotted, press OK and
the plot will appear.
XY Plot
Click on the XY Plot button and a window appears. First, select variable type, trend or profile. Then, select
the parameter for the x-axis. Then select the 2nd parameter. This parameter will be constant for each
curve plotted, meaning that there will be a curve for each value of this parameter. The variable for the yaxis then needs to be selected, choose one of the listed items in the left part of the window. Press Plot and
the plot will be created.
Within the XY plot, the time for trend plot variables and the time and pipeline length for profile variables
can be changed by the lists shown at the bottom of the plot. The option Tabulate shows the value of the
variable as function of parameter 1 and parameter 2 at selected time/pipeline length in a table. Several
tables can be added. The values in the tables can easy be copied out by clicking on the Copy tables
button.
Note that this option only makes sense if one or more parameters are kept constant while other
parameters are varying. This will be obtained if the Matrix option is used to add data to the case table.
- 98 -
Fluid definition
This part of the fluid definition tool is used to generate different mud tables by modifying an existing PVT
file. The physical properties of the base fluid are substituted with the values from simple correlations. The
base fluid can either be oil, gas, or water. You can specify the type of base fluid, density and viscosity of
the base fluid at the standard conditions. Optionally yield stress can also be given to oil or water based
mud.
Procedure
1.
2.
Browse to select an existing .tab file. If there are more than one fluid definition in this file, one of them
can be selected as the base fluid to be used as a starting point for the generated fluid. Both keyword
based PVT files and fixed format PVT files are supported as base fluids.
Define the properties that will be used when generate the resulting PVT file: Mud type, Density, Plastic
viscosity and yield stress. Select Custom to give values for all these properties. You may also select
one of the preset options: Nitrogen, Air or Sea Water. Note that these pre-set options only fill in
default values for the input. The same correlations are used as if you select Custom.
- 99 -
3.
4.
Yield stress is an optional input for oil- and water mud types. Type a negative value if you do not want
the yield stress in the resulting table.
Click Save file to give a name and location for the resulting PVT file. The generated PVT file will be
added to the list of fluids in Fluid & PVT. Note that the generated PVT file will be fixed format even if
the base PVT file is keyword based.
FANN definition
This part of the fluid tool is used to generate a file containing Fann readings. The Fann file is specified as
an input file in the FILES keyword and it is used by OLGA to automatically create a Rheology file. The
format of the Fann file is described in the Fann table file.
The Fann readings are entered in the table (manually or pasted from Excel or a text file). If some data is
not given (empty cells), the values for that column are not included in the Fann file, i.e. it is not possible to
have partial input in a column.
When the Fann readings are entered you create the Fann file by clicking the Save file button. Note that
due to a limitation of the current implementation in OLGA the Pressures and Temperatures of the
measurements must be given in a rectangular grid. If not, a warning is displayed when you try to save the
file.
- 100 -
Density derivatives
From the equation of state:
Gas viscosity
There are two options for viscosity - Vogel or Simple
Simple
Vogel
- Viscosity (pa.s)
- Viscosity (N7m) at standard condition
and
- are constants, specified through the VISCOSITYBCONST and VISCOSITYCCONST keys,
respectively.
- 101 -
Oil phases
Oil density
Oil viscosity
Simple
Vogel
and
respectively.
Oil thermal capacity
Water phases
Water density
Water viscosity
Simple
Vogel
- 102 -
and
- are constants, specified through the VISCOSITYBCONST and VISCOSITYCCONST keys,
respectively.
Water thermal capacity
- 103 -
IO Configuration Tool
Use the IO Configuration Tool in an OLGA model to fast and easy define plot variables and to efficiently
populate variables on the OLGA OPC server.
The configurations you set up can be general, such as defining one or several trend variables on all
sources in a model. These configurations can also be specific, such as setting up the OPC server with the
valve opening variable for valves only with a label matches a given text filter.
The set of configurations is saved together with the current case file. The configuration set is reapplied
when you open the case. The set is model specific, meaning it creates inputs and outputs only if there is a
correct match in the current model. However, you can save the configurations to file (and load from file) to
allow reuse between different models and projects.
Note: It is not recommended to edit the saved file manually. This is due to the strictly structured file
format.
You start the IO Configuration Tool from the Tools menu in the OLGA Case tool bar:
- 104 -
Add configurations
Add configurations
Add configuration:
1.
2.
Plot
Use this configuration to define plot variables in the OLGA model. This configuration maps to the
TRENDDATA or PROFILEDATA keyword in the OLGA model, depending on the selection: Global trend,
Trend data or Profile data.
Trend data: A keyword must be set before the plot variables are selected. To set a trend variable on a
specific position on the flowpath, define the POSITION keyword with relevant position. Then use
POSITION as keyword when you define trend data output.
Profile data: FLOWPATH is the only keyword available.
Global trend: Defines GLOBAL trend variables (there is no keyword selection).
Examples
Example 1: Add trend variable TM to all SOURCE keywords
1. Define the configuration.
a. Click the Keywords button to select keyword. The Select keyword window opens.
b. Select Source from the list of keywords. Then click OK.
c. Click the Variables button to define variables. The Select variables window contains variables
based on a user selection (e.g. configuration type, trend type and keywords)
- 105 -
- 106 -
Add configurations
a.
Click the Variables button to define variables. Notice that only the Variables button is
available and the Keywords field is set to FLOWPATH.
- 107 -
1. Define the configuration. Notice that only the Variables button is available and the Subgroup column is
indicating Global.
Interactive plot
Use this configuration to define interactive plot variables in the OLGA model. The configuration maps to
SERVERDATA in the OLGA model. In Interactive mode, you can display variables in an interactive plot or
interactive variable values.
- 108 -
Add configurations
Trend data: A keyword must be selected before the plot variables are selected. To set a trend variable on
a specific position on the flowpath, define the POSITION keyword with relevant position. Then use
POSITION as keyword when you define trend data output.
Profile data: FLOWPATH is the only keyword available.
Global trend: Defines GLOBAL trend variables.
Examples
Example 1: Add interactive trend variable PT on SOURCE
1. Define the configuration.
a. Click the Keywords button to select keyword. The Select keyword window opens.
b. Select Source from the list of keywords. Then click OK.
c. Click the Variables button to define variables. The Select variables window contains variables
based on a user selection (e.g. configuration type, trend type and keywords)
- 109 -
- 110 -
Add configurations
OPC
Use this configuration to define input and output items on the OPC server in the OLGA model. This
configuration maps to SERVERDATA or EXPOSE in the OLGA model, depending on the Trend data
selection.
Trend data: A keyword must be selected before the actual plot variables are selected.
Profile data: FLOWPATH is the only keyword available.
Global trend: Defines GLOBAL trend variables.
Expose input data: A keyword must be selected before you can select the key to be exposed on the OPC
server.
Examples
Example 1: Expose PRESSURE key on SOURCE keyword
1. Define the configuration.
Note: The selection in the Select variables window are the keys available for SOURCE.
- 111 -
- 112 -
Add configurations
The Filter on label field is optional. If you enter text in this field, it only applies to the keyword labels
matching the filter text. You can use the wildcards * and ? to specify subsets.
For example: To select all sources starting with IN, write IN*. If you enter IN?, it only matches the
labels with exactly IN and one character after it. E.g. IN1 or INA will match, but not IN12, nor IN.
You can also combine the wildcards *?.
In this example, only nodes with labels ending in let are used:
- 113 -
Open
When you select Open in the Tool bar, you must specify an IO Configuration file (.json) to be loaded.
When loading configurations from a file, the current configurations are erased and replaced with the
configurations in the file. If any errors occur during file load, for instance wrong version number or syntax,
these are reported in the Output view. Click Apply when a new configurations is loaded.
Note: It is not recommended to edit the saved file or to create a new (.json) file manually. This is due to
its strictly structured file format.
Save
When you select Save in the Tool bar, you must specify an IO Configuration file (.json) to save the current
configurations. Saved configurations can be re-loaded with the Open command.
The Select keyword window
When you click the Keyword button, the Select keyword window opens. Use this window to select one
single keyword or group.
The Select variables window
When you click the Variables button, the Select variables window opens. Use this window to select
variables. You can search for variables in the Search field. You can sort each column by double-clicking
the column header.
- 114 -
Add configurations
1. You add two configurations and click Apply. The OLGA case now includes these IO configurations.
2. You add two more configurations and click Apply. The OLGA case now includes these new IO
configurations.
- 115 -
- 116 -
Add configurations
Limitations
Variables that require input that is not available through the IO configuration tool cannot be specified
using this tool. E.g. Tracer tracking variables, Compositional Tracking variables, Layers, Slug Tracking
variables and Bundle..
For OPC configurations, you can only use the Expose input data option for flow components (e.g.
Controllers. NODE, SOURCE, VALVE) with the key EXPOSE available. I.e. you cannot use this option
for Library or Case definition keywords.
- 117 -
Multiphase Toolkit
With the Multiphase Toolkit it is possible to analyse fully developed steady state operating conditions in a
pipe by utilizing the OLGAS point model. This model contains the same basic physical flow models as
used in OLGA. It can be quite useful to use the tool ahead of pipeline simulations to learn about your
system.
E.g. for gas condensate pipelines the prediction of steady state holdup as function of inclination for
different production rates should be calculated. If you know your pipeline angle distribution (e.g. from the
Profile generator) you can then estimate liquid content in the pipeline for the different production rates.
Investigation of flow regimes for different conditions (inclination, diameter, flow rates) can also be useful.
How to use
The following features are available:
Parametric studies
Input
Input to OLGAS can be grouped into three parts: ( you can change the color for each group through Tools
-> Group Colors. )
Fluid properties
Pipe description: Diameter, inclination, roughness, length (optional)
The input is stored in an Input Panel (spread sheet). Each row represents the input to one OLGAS
simulation. There are currently two options for specifying the input:
Sample cases: Under: File -> Samples, a 2-Phase Case and a 3-Phase Case can be chosen.
Units for the input variables can be changed by right-clicking the variable name. This does not change the
values in the Input Panel.
Options
Under Tools -> Options, it is possible to adjust the 3-Phase Calculations
Single or multiple OLGAS simulations
OLGAS is run for all rows and the results are stored in an Output Panel. Units can be changed by rightclicking the variable name. This also changes the values in the Output Panel.
Input rows and output rows are connected through their Case#. As one Input (or Output) row is selected,
the corresponding Output (or Input) row is highlighted.
Parametric study
A Parametric Study for the case highlighted in the Input Panel is chosen. A panel appears and variables
with start and end values are specified. After OK OLGAS is run for N # of steps (cases). The effect on
different variables can be shown in x-y
plots. In the plots axis units are chosen by holding the mouse cursor over an axis and right-clicking. When
closing the Parametric Study the results of all runs are stored in the Output Panel.
- 118 -
Multiphase Toolkit
- 119 -
Flow regime transitions are based partly on mechanistic models and partly on correlations.
Limitations
Multiphase Toolkit uses the OLGAS point model. This model contains the same basic physical models as
used in OLGA. However, in OLGAS steady state fully developed flow in a straight pipe is assumed. In a
real pipeline this situation is not always achieved
due to development along the line or due to variations with time. The OLGA pipeline model includes these
deviations from the fully developed state. Direct comparisons between OLGAS and OLGA predictions in a
point along the pipeline should therefore
be done with care. However, OLGAS can give you a good estimate of the steady state situation.
- 120 -