OLGA 6 GUI User Manual
OLGA 6 GUI User Manual
OLGA 6 GUI User Manual
V E R S I ON 6.0
be dynamic ®
O L G A GUI U S E R M A N U A L Page i
TABLE OF CONTENTS
Page
1. INTRODUCTION 1
5. GUI LAYOUT 12
5.1 Start page 12
5.2 The Graphic editor 13
5.2.1 Network view 13
5.2.2 Flow path view 25
5.2.3 3-D view 27
5.3 Model view 28
5.4 File view 29
5.5 Components view 30
5.6 Properties 31
5.7 Output view 32
6. CASE DESIGN 34
6.1 New project 34
6.2 New case 34
6.2.1 Build from empty template 35
6.2.1.1 Case information 35
6.2.1.2 Flowpath 35
6.2.1.3 Complete the defined objects 36
6.2.1.4 Changing a global label 36
6.2.1.5 Add new objects 38
6.2.1.6 Copy/Paste 38
6.2.1.7 Define output variables 39
6.2.1.8 Activate OLGA Viewer 44
6.3 Open existing projects/cases 45
6.3.1 Open project 45
6.3.2 Open case 45
7. INPUT EDITORS 46
7.1 Time series editor 46
7.2 INITIALCONDITIONS and HEATTRANSFER 47
7.2.1 Initial conditions 47
7.2.2 Heat transfer 51
13. SIMULATION 84
13.1 OLGA 6 Command Prompt 85
iii
O L G A GUI U S E R M A N U A L Page 1
1. INTRODUCTION
This document shall help you to get started with OLGA 6.0. OLGA 6 uses the same
Graphical User Interface (GUI) as OLGA 5 with some additional and some changed
features.
Graphical configuration of
• Controllers
• Bundles
• Separators
Plot templates
The main new features of the GUI compared to the old OLGA 2000 GUI are:
1
O L G A GUI U S E R M A N U A L Page 2
o Case-XY3
o
o Case-XYn etc.
2
O L G A GUI U S E R M A N U A L Page 3
In the OLGA GUI the Flowpath has only one keyword - namely its Label, while any
Branch has the same fixed label, i.e. BRANCH. In the model file that is sent to the
OLGA simulator the BRANCH key gets the label of the Flowpath.
3
O L G A GUI U S E R M A N U A L Page 4
When you open an OLGA 2000 .inp file with OLGA, ref. section 3.5, you will see that
the Flowpaths take the labels of the Branches in the original file.
Moreover, in the new GUI the Geometries must have separate labels. The
Geometries can be identical in all other respects, as before.
When the case is run, the OLGA output files are produced (.out, .tpl, .ppl and .rsw).
These are the same as for OLGA 5 and OLGA 2000. In addition a text-file with the
extension .genkey is also printed. This is an input-file used by the OLGA 6 simulation
engine. A corresponding file with the extension .geninp was created by OLGA 5. The
format of the .genkey is slightly different from .geninp.
The files with a ~ prefix e.g. ~Case-0.opi is the case file from the last save. With auto-
save on, ref. chapter 4, all case files in a project are saved with user-specified
intervals.
The OLGA GUI requires that you work with a project and here are some ground-
rules:
When you open the OLGA GUI all projects accessible with your user account on your
network are listed on the GUI Front-page (you can hide the list in
TOOLSÆOPTIONS).
When you make your first project (or a new one), you can select to create a normal
explorer folder for the project (the folder gets the same name as the project).
By the same token you may select not to create a new folder but use an existing one.
If you start your session by making a New Project– the GUI will first ask you for the
name of a new project (.opp), and then you may create a New Case.
4
O L G A GUI U S E R M A N U A L Page 5
The window below opens and you can select a blank case (to start from absolute
scratch), a single-branch template (OLGA Basic) or a three-branch template (OLGA
Basic Network). The two templates are runnable cases.
5
O L G A GUI U S E R M A N U A L Page 6
Below you see a Model view of the OLGA Basic Network template case.
You can create and keep the project files (.opp) and the case files (.opi) in separate
locations.
With “Save Project” you save the Project and the case files in their origins.
2
You can have several instances of OLGA with the same project open – actually working with
the same case. This should be used with great care.
6
O L G A GUI U S E R M A N U A L Page 7
You can add as many new cases as you like (FILE-menu) to your project. Existing
cases (from other Projects or OLGA 2000 .inp files) can be copied over to your
current project.
You can also remove a case from a project (case is not deleted, just de-coupled from
the project). All cases belonging to the project shall be visible in one of the GUI views
(Model or File- view).
When you have installed OLGA, you will notice that the OLGA 2000 input files have
been attributed with a special icon.
You can convert your OLGA 2000 input files (.inp) with the new GUI. The
straightforward way is to open an .inp file with the GUI which then makes a project
and a case with the name of the .inp file. If you open more .inp cases they will be
added to the project.
If you want to convert a folder of OLGA 2000 cases into OLGA format you can do as
illustrated below:
1. Select all the cases (e.g. shift left-click on the topmost case)
2. Drag the cases over to the e.g. Model view window in the OLGA GUI
The GUI will now make a project using the same name as one of the cases.
7
O L G A GUI U S E R M A N U A L Page 8
All *.opi files are stored with a version tag, indicating which version they were stored
with. This has the implications that when you are using the latest version to open a
case or project from earlier versions you will get a question about conversion.
If you for example have produced a case in version 5.3 and want to open it in version
6, start the OLGA 6 GUI, open the case and in the following question choose convert.
If you have produced a case in version 6 and want to open it in version 5, start the
OLGA 5 GUI and open the case and in the following question choose convert.
Note that all cases in one project must use the same version of the engine.
8
O L G A GUI U S E R M A N U A L Page 9
The General tab can also be used to specify if the program shall execute auto-save
at specified intervals.
In the OLGA version tab one can specify which version to use by marking one of the
displayed versions. It is possible to work with different simulation engines under the
same GUI (this includes OLGA 2000 versions as long as it accepts the keywords you
actually use). Refer to the ‘Installation Guide’ for a description on how to set up
several simulation engines in the OLGA 6 GUI.
External programs that should be available from the Tools menu can be specified
under the External Tools tab. Some programs are set by default during installation
and the user can specify additional programs like Excel, a text-editor etc.
The Default Units tab is used to select your preferred set of units. You can select
between three predefined sets (SI, metric and oilfield) or you may specify your own
set of units.
9
O L G A GUI U S E R M A N U A L Page 10
10
O L G A GUI U S E R M A N U A L Page 11
11
O L G A GUI U S E R M A N U A L Page 12
5. GUI LAYOUT
A new project can be started from the New Project button at the bottom of the screen.
12
O L G A GUI U S E R M A N U A L Page 13
Below you see a snapshot from the GUI with the template case Case0 loaded. All the
windows are described in the following sections. The windows may be moved around
(outside or inside the frame) and may be docked as described in section 16.1.
The central view in the figure above shows the Network view with its Graphical editor
functions.
Nodes and flow lines are drawn schematically. Network components (Nodes and
Flowpaths) can be dragged into this view from the “Components” window. Sources,
Pressure boundaries and Process equipment are visible and their properties may be
entered or modified by selecting the object (left-click) and filling in their “Properties”.
In the figure the properties of the NODE OUTLET are shown to the right.
13
O L G A GUI U S E R M A N U A L Page 14
Double click on
blue line:
The window above is the 2-dimensional Flowpath view which shows one Flowpath at
the time. The functions for "moving" the graph are the same as for the Network view,
ref. Chapter 5.2.2 for more details.
14
O L G A GUI U S E R M A N U A L Page 15
You can drag equipment to the canvas from the Process Equipment Components on the
left. When e.g. a valve is dropped on the canvas it "attach" to the middle of the Flowpath as
illustrated below. The actual position and other data for the valve can be entered in the
Properties window for the Valve which now is in focus (to the right).
By entering the data e.g. the PIPE and SECTIONBOUNDARY the valve will take its
specified position on the Flowpath.
Each graphic view has its own tab and if you click on the Case0-tab (see below) you get
back to the Network view.
Select NODE
and drag it onto
the canvas
Then you make a new Flowpath by following the instructions in the drawing below:
15
O L G A GUI U S E R M A N U A L Page 16
The new Node and Flowpath also appears in the Model View window, see below:
16
O L G A GUI U S E R M A N U A L Page 17
Select a FLOWPATH and drag it to the canvas. Then drag a new node to the canvas.
17
O L G A GUI U S E R M A N U A L Page 18
1
Right-click on
canvas and
select Network
Connections.
18
O L G A GUI U S E R M A N U A L Page 19
Move node(s) to
make the network
look better
Alternatively:
• Right-click on the view background and select Network Connections.
• Select the "from-to" nodes for each Flowpath and click OK. The network
should appear as specified.
19
O L G A GUI U S E R M A N U A L Page 20
Right-click within the blue square and move pointer towards NODE_0. Select Connect to
…and release mouse button.
20
O L G A GUI U S E R M A N U A L Page 21
Disconnect a Flowpath from a Node by left-clicking on the Flowpath and then point to the
green dot at the end of the Flowpath. Hold down the left mouse button while moving the
end of the Flowpath away from the node and release. The dot at the end of the Flowpath
should now be red, indicating that it is not connected.
Left-click on Flowpath, select green dot (left-click) and drag endpoint away from Node.
21
O L G A GUI U S E R M A N U A L Page 22
Right-click while pointing to an object in the Model view brings up various menus
depending on the object:
22
O L G A GUI U S E R M A N U A L Page 23
Text labels in the Network view (which reside in their separate text boxes) can be rotated
and scaled in addition to moved (except those for Flowpaths). Move is the default edit
mode.
m s r
or you can type one of the following letters to change the edit mode for the selected text
box.
You can add fixed points on a Flowpath by pressing Ctrl while double-clicking anywhere on
it. A fixed point, indicated by a small square, appears on the Flowpath.
The fixed points can be moved to shape the Flowpath (this does not change the actual
geometry of the Flowpath).
23
O L G A GUI U S E R M A N U A L Page 24
More points are added by repeating the Ctrl double clicking. You remove the fixed points
by Ctrl double click within its blue square.
Right-click in the Network view activates a menu with the following items:
Copy as picture: A "Case.jpg" file with the Network view is copied to the folder
where the project resides.
24
O L G A GUI U S E R M A N U A L Page 25
Network plot allows for a quasi-animated plotting of profiles in the Network view.
The actual profile of the geometry may be viewed by opening the flow path; double click
FLOWPATH in the “Model View”. This opens a new tab in the Graphical Editor
25
O L G A GUI U S E R M A N U A L Page 26
showing the selected flow path only (including equipment). In the Flowpath view equipment
may be added by drag and drop from the “Components” window (the available components
are now the ones that is located on a specific Flowpath).
Focus an object by a left mouse click to bring up the Property editor, and the properties of
the object can be entered or modified.
Focus is shifted away from selected objects by pointing to the background while holding
down the Shift key.
26
O L G A GUI U S E R M A N U A L Page 27
Zooming in and out is done by the mouse wheel and moving the mouse while the left
mouse button is held down will move the layout within the window.
Both the Network view and the Flowpath view are available in 3-D. Right click on the
view background and check 3D View in the menu. See Section 16.4 about moving
the "camera" position, moving the pipeline network and zooming in 3-D.
The Flowpath view will show the real pipeline profile. If the correct coordinates are
given for the nodes the network view will be correct. Otherwise a schematic view of
the network is transformed to 3D.
27
O L G A GUI U S E R M A N U A L Page 28
The Model View is used for navigation 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, Network Connections and
Network Components.
28
O L G A GUI U S E R M A N U A L Page 29
• Advanced thermal contains input to the FEMTherm and bundle models and
input to annulus calculations.
When selecting an object in the project explorer, the object is made active and its
properties may be edited in the “Properties” view.
The model view contains input for all cases in the project. Switching between the
different cases is done by clicking on the file name in model view.
By right clicking on a file the file can be removed or the input file can be opened in a
text editor. The format of the text file is the OLGA 6 simulation engines .key format.
This is slightly different from the OLGA 2000 .inp format. You may edit the text file
and reload it into the GUI by right-clicking the opi-file and select ‘Reload from text file’
29
O L G A GUI U S E R M A N U A L Page 30
Simulation objects may be fetched from the “Components” window by Drag & Drop
onto the Graphical Editor. Only objects available at the network level presented are
available. This means that e.g. process equipment can be introduced this way only
when the Flowpath is open.
30
O L G A GUI U S E R M A N U A L Page 31
5.6 Properties
31
O L G A GUI U S E R M A N U A L Page 32
• Information -
o Simulator state changes
o Progress during simulation
o Any messages during simulation (info previously directed to DOS
window)
The windows can be cleared from the context menu (right click).
3
Warnings from the OLGA interpretation of fluid files which takes place when the simulation has started are
categorized as Information
32
O L G A GUI U S E R M A N U A L Page 33
Which Output categories are active are indicated by the "orange" background around the
category names in the top bar of the output window. A left mouse click on the text will
activate and deactivate.
By default the output from the active case is shown. Output from other cases is selected
from the pull-down menu at the top of the output window.
33
O L G A GUI U S E R M A N U A L Page 34
6.CASE DESIGN
All cases reside inside projects, and projects may hold one or several cases. Project
files have extension .opp, case files have extension .opi.
• Select File/New/Project
• Ctrl+Shift+N
• Click the New Case icon or New Project at the base of the Start Page.
When starting a new project a new folder can optionally be created by checking the
“Create folder” box.
34
O L G A GUI U S E R M A N U A L Page 35
Enter a case name (or use default), fill inn location (or use default) and select
template.
Complete the information of the following elements by right click on the case in the
Model view and selecting from the drop down menu:
NOTE:
Software (e.g. PVTsim) for generation of fluid-files may be started from the GUI
through the Tools Menu. How to add programs to the Tools menu is described in
section 4.
6.2.1.2 Flowpath
A default Geometry is created. Refer to chapter 10 about the Geometry Editor for
modification of the Geometry,
The defined simulation objects must now be completed. Information that needs to be
given can be found as follows:
1. Verify by
a. Press F7 or
b. right click on the case in the Model View and select Verify or
c. Click the Verify button in the Simulate toolbar
2. View the instructions presented in the task list in the Output window
3. Double click the task to open the relevant object in the “Properties”
4. Complete the fields marked red
5. View the instructions given in “Errors”.
Once enough information is given to the simulator, the state will change from Not
Runnable to Ready to Simulate.
Ready to simulate does not necessarily mean that the case is completely perfect for
OLGA. This is because the rules applied through GUI are not covering all input
checks which may let incomplete specifications or wrong definitions slip through.
A typical example: if you have specified initial conditions for the individual pipes in a
Flowpath (Branch) and then add a pipe without specifying initial conditions for that,
the rules are not able to catch this before starting the simulation.
In the GUI the update of a modified object label is performed semi-automatically, e.g.
if you change a Wall label which has already been applied and you run verify, you get
an error message and a way to amend this as given below:
36
O L G A GUI U S E R M A N U A L Page 37
In the case outlined above the first 3 pipes and the 5th pipe have WALL-2. Now you
change the WALL-2 label to WALL-2B (for your own good reasons) and run Verify:
and the Properties window shows a "common key" where all instances of use of the
original key (WALL-2 in this case) are listed and checked, see below.
You can now change the WALL-2 to WALL-2B and run verify again:
37
O L G A GUI U S E R M A N U A L Page 38
The change of the WALL-label is now acknowledged (only the plotting specification
remains) as you also see from the PIPE-specifications, e.g. for PIPE-1:
• Right click on a FLOWPATH in the Model View and select from the appearing
groups
• Open the Flowpath view (double click on a FLOWPATH in the model view) and
drag & drop from the “Components”.
As new objects are introduced, the simulator state normally changes to Not
Runnable. Complete the definitions as described above.
6.2.1.6 Copy/Paste
By right clicking on an object in the model view it can be copied (alternatively by Ctrl-
C) and pasted at the desired location by right click and Paste (alternatively Ctrl-V).
38
O L G A GUI U S E R M A N U A L Page 39
Currently multiple select can be used within a Flowpath, but multiple select can not
be used on Flowpaths.
Variables can be specified on two levels: On a case level and on a flowpath (branch)
level.
Output intervals (DTOUT and DTPLOT) are usually defined on the case level.
Global variables are specified on the case level. You may also specify variables
common to all branches, equipment and modules on the case level.
Output definitions are set up by right clicking on either case or FLOWPATH and
selecting Add/Output and then select the relevant output function:
This introduces a case Output-key which contains the output definitions on the case
level.
Click on Output, select the time-unit for DTOUT in the Properties and enter e.g. 2:
39
O L G A GUI U S E R M A N U A L Page 40
You may now add the DTPLOT for profiles, trends and OLGA-viewer by right-clicking
on Output (or on the case label) select ADD Æ e.g. PROFILE,
and then fill in the DTPLOT in the properties window for PROFILE
(do the same for TREND).
You may select the case-Output again and select e.g. PROFILEDATA.
40
O L G A GUI U S E R M A N U A L Page 41
Click in the VARIABLE field in the Properties window and then the - box.
Select variables from the window shown below. The variables may be sorted:
The units for plotting variables can be changed when actually plotting, ref. Ch. 14.
When you check OK in the relevant variable selection window all selected variables
appear in the Properties window:
41
O L G A GUI U S E R M A N U A L Page 42
To specify e.g. local trend data you right-click Flowpath and select ADD etc., as
illustrated below.
You check the variable select-box in the Properties window and make the selection:
You can now give the selection a label and save it. This can then be re-used at
several positions.
In the Properties window you specify where to plot the variables. When checking the
box in the PIPE entry you get into the pipe selection window where you select the
pipe(s) you want. Then you specify the section(s). Observe that you also get an
indication of the absolute position – relative to the start of the Flowpath.
42
O L G A GUI U S E R M A N U A L Page 43
You may now add another trend definition by right clicking on the FLOWPATH-Output
key: (you can also define it by right clicking the FLOWPATH):
When you get back to the "Select output variables" window, you can click on the
orange pull-down to re-use the "Rates".
By clicking OK you return to the properties. You enter the pipe selection again and
complete the specification by giving the section(s), see below:
43
O L G A GUI U S E R M A N U A L Page 44
The OLGA Viewer is a stand-alone animation tool that is installed and defined as an
external tool by default, see the Tools – menu.
The PLOT-key is needed by the OLGA Viewer, and it is always specified on a case
level:
In the Properties window for the PLOT – key you specify both the plotting interval
DTPLOT and the variables. The variables are all plotted for all flow paths (branches)
and all sections of the case.
44
O L G A GUI U S E R M A N U A L Page 45
45
O L G A GUI U S E R M A N U A L Page 46
7. INPUT EDITORS
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).
46
O L G A GUI U S E R M A N U A L Page 47
Selecting "cancel" nullifies all actions performed within the time series editor.
A trick: to fill in the same value for several time points: enter the value in the column
for the last time-point and then enter.
You access these screens through the property editor button on the
INITIALCONDITION statements.
Note that these screens can only be used when entering data section-wise. However, by
selecting cells in the spreadsheet 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.
47
O L G A GUI U S E R M A N U A L Page 48
The property window for Initial Conditions (IC) comes up similar to the left window
below:
In the IC Editor the default pressure unit is used and you cannot change it within the
IC Editor. You must do it in the Section-wise part of the window below. To make the
unit change active, you must also enter a pressure value.
To activate the IC Editor you click the property button on top, see below:
48
O L G A GUI U S E R M A N U A L Page 49
We see the profile of the pipeline (ref GEOM-A in next section) and the constant pressure
that was entered (50 bara).
To enter a realistic pressure profile left-click on the top of a column (selects all) and then
right click and then left click in Interpolate. The Interpolate window below comes up.
Select interpolation method and then Start/Stop values and OK. Now all sections are
filled in e.g.
49
O L G A GUI U S E R M A N U A L Page 50
Fill in Temperature, Void Fraction, Watercut and MassFlow in the same manner (or by
applying a mix of manual input and automatic interpolation). When finished, the Initial
Conditions Property windows would look like below:
50
O L G A GUI U S E R M A N U A L Page 51
By clicking the properties icon of this window you enter the Heat Transfer Editor
(HT Editor).
51
O L G A GUI U S E R M A N U A L Page 52
The methods for manipulating the parameters are the same as for the Initial Conditions,
but here we shall illustrate how to enter two constant values for ambient temperature.
We assume that the temperature is changing from 6 to 4 C at the top of the first hill and
remains (sufficiently) constant at 4 C for the rest of the pipe distance. The first hill is at
about 25 km (X) and we can use the HT Editor to see in which PIPE that is (the X-column
to the left) namely at the end of PIPE-14 (i.e. beginning of PIPE-15).
52
O L G A GUI U S E R M A N U A L Page 53
Now you select all the pipes from PIPE-15 to the end by Left-clicking in the Tambient-
column for PIPE-15 and drag to the bottom.
Right click anywhere in the selected column and enter 4 C for start and stop-value, see
below:
You now see that the ambient temperature drops from 6 to 4 C on the first hill.
53
O L G A GUI U S E R M A N U A L Page 54
54
O L G A GUI U S E R M A N U A L Page 55
A signal component is a component that can send and/or receive a signal. A signal
component (e.g. a controller) is connected to other signal components (e.g. a flowpath) via
terminals.
Terminals are best explained with an example; A PID Controller has 3 terminals, 2 for
receiving signals (the setpoint signal terminal and the measured signal terminal) and one
for sending signals (the output signal terminal). Another signal component like a separator
can send its holdup value as a signal to the PID Controller. The holdup will be sent via the
measured signal terminal of the controller. The PID Controller will calculate an output signal
based on the measured value and send it via the output signal terminal to e.g. a valve.
A signal is just a value. There isn’t much difference between a signal in a signal network
and a flow in a flow network. The flow represents a physical flow of oil, gas or water while
the signal can represent anything – the meaning of the signal to the signal component
depends on which terminal that is used to send the signal. In the example above the signal
represented a measured value since it was sent via the measured signal terminal.
A flowpath may send measured values as signals. To do this one must add a transmitter to
the flowpath. The transmitter acts as an output signal terminal for the flowpath. Most inline
process equipment added to the flowpath can act as a signal terminal for the flowpath in
the same way as a transmitter (you may for example connect a controller directly to a
valve).
The drag and drop coupling between two signal components is done in the same manner
as between two multiphase network components:
1. Click a component and drag towards another component in the signal network (see list
of legal couplings above)
2. Release on the second component.
A context menu is shown with available terminals to connect from and to
3. Choose one of the available terminals to connect from (only OUTSIG_1 is available in
the figure above) and a terminal to connect to (MEASRD and SETPOINT is available in
the figure above). A connection between the two components is created.
56
O L G A GUI U S E R M A N U A L Page 57
It is possible to connect signal components using the connection view without seeing the
other components.
In the figure below the connections for a PID-controller is shown. All terminals (in-/out-
signals) for controller CNTRL-1 are listed in column one (Terminal). Column two
(Connected NC) and three (Connected terminal) lists which network components and
terminals the controller is connected to. If a user-chosen variable is supposed to be
transmitted column four (Variable) is used.
The connection view has two modes. The above figure shows connections for a selected
component. The other mode is for showing all connections in the case. In this mode it is
easier to see the direction of the signals (see figure below)
57
O L G A GUI U S E R M A N U A L Page 58
If you have connected a controller by mistake you may delete the connection by selecting it
and pressing the ‘Delete’ button. NOTE: If you delete a controller the connection is not
deleted automatically - you have to select the connection and press the ‘Delete’ button.
58
O L G A GUI U S E R M A N U A L Page 59
The separator has four types of terminals, INLET, GAS, OIL and WATER (only for three-
phase separator). One or more flowpaths leads into the separator and are connected to the
separator INLET terminals. It is required to connect at least one flowpath to each terminal
type. All terminals allow both in and out flow from the separator.
A separator is connected to flowpaths much the same way as nodes. Chapter 8.1 shows
how a separator is coupled to flowpaths and nodes.
Add a node and a separator to your case from the component view.
Connect a flowpath from one of the separator outlets to the node as follows:
1. Click the separator and drag.
59
O L G A GUI U S E R M A N U A L Page 60
60
O L G A GUI U S E R M A N U A L Page 61
To add a SOLIDBUNDLE right click the case level tab and choose Add >
ThermalComponent > SOLIDBUNDLE (see figure below).
A bundle in OLGA 6 consists of several components. The components of the bundle are
flowpaths, shapes and possibly internal bundles. Note that all the components that
constitute the bundle must be defined (added) elsewhere. Flowpaths and Lines must be
defined as FlowComponents, Shapes must be defined under Library and bundles must be
defined as ThermalComponents. Position labels to use for the specification of TO and
FROM must be defined for each flowpath under “Piping”.
To add a component to a bundle (i.e. to specify that it is a part of the current bundle)
choose Add > BundleComponents > COMPONENT in the Model View as shown in the
figure below.
Note that the position of the origin of any cross-sectional coordinates is irrelevant as long
as all coordinates within one and the same bundle refers to the same coordinate system. It
is only the relative cross-sectional position that matters.
To add a SHAPE to a case right click the Library in the Model View
and choose Add > SHAPE. In the property window for the new
shape, fill out the type of the shape (CIRCLE, ELLIPSE,
RECTANGLE, POLYGON) and the material. For any type of SHAPE
the layout of the cross-section must also be defined. As illustrated by
the property window to the right, a Circle requires the specification of
a radius, an ellipse requires a width and a height, a rectangle
requires the specification of coordinates of the lower left and upper
right corners, and a polygon must be defined by a series of
coordinates.
62
O L G A GUI U S E R M A N U A L Page 63
63
O L G A GUI U S E R M A N U A L Page 64
64
O L G A GUI U S E R M A N U A L Page 65
11.GEOMETRY EDITOR
11.1 Activating
Pipeline profiles are edited in the Geometry Editor. The tool can be started like this:
You may also select FLOWPATH (or GEOMETRY) in the Model-View and right click and
then select Properties:
You will now see this graph of the default geometry for the single branch template:
65
O L G A GUI U S E R M A N U A L Page 66
66
O L G A GUI U S E R M A N U A L Page 67
You should save this new Geometry with a new label while in the Geometry Editor (e.g.
GEOM-A. The saved geometry file has the extension .geo:
You must also give the new Geometry relevant sections, diameters, roughness and walls.
How to do this is described below.
Open the Excel-file with your profile-data, select the X-Y columns and copy.
Select the Start Point 0, 0 in the Geometry Editor with the default geometry open and then
Paste. You will get the question below. Answer yes and the data will be pasted directly
over to your open geometry.
67
O L G A GUI U S E R M A N U A L Page 68
Please observe that if your excel geometry contains fewer pipes than the one you
paste over, you must delete the obsolete pipes.
You can now save this Geometry (e.g. GEOM-B) and use it for one or several
Flowpaths in any model. First you must of course complete it with sections, diameters
etc., as you do in the window below.
68
O L G A GUI U S E R M A N U A L Page 69
New pipes are added, renamed or deleted, by right-clicking in the Pipe column and
selecting the relevant action.
X and Y in the table give the data for the end point of the pipe. Changing Length-
Elevation affects X-Y and vice-versa 4 .
Units are changed by right clicking in the title cell (e.g. “Diameter [m]”) and selecting a
unit.
You can also edit the Geometry by the following actions under the Actions menu:
4
There is a bug in OLGA v5.0. Entering X-values instead of Length should eliminate the problem.
69
O L G A GUI U S E R M A N U A L Page 70
You can check the angle distribution of a Geometry by selecting Tools -> Check
angle distribution. You can see the angle groups that are used by right clicking when
in the output window from the angle distribution calculation. You can also change the
angel groups.
70
O L G A GUI U S E R M A N U A L Page 71
The color of the bars and the % values in the output window indicate the difference
between the average angle of the pipes within a group and the mean value of the
angle group. Green (and a low % deviation) means a good relevance of the angle
group. The % value is a numerically calculated standard deviation divided by half of
the angle group span.
Select Tools/Filter. You have two options: a Box filter or a preservation of angle
distribution / total flowpath length (the algorithm is identical to the one used in the
OLGA 2000 Grid Generator).
Box filter: This filter is more relevant for removing relatively small disturbances from
a pipeline survey. Enter the horizontal sample distance and the vertical sample
height. These values define a moving rectangle (a box) within which all data points
will be filtered out. The filtered data appear as a new geometry which may be further
filtered/ edited.
Angel distribution: Enter the maximum pipe length that shall be used to filter the
profile while maintaining the angle distribution and the total pipe length.
When filtering has been completed it is a good idea to compare the angle
distributions of the original geometry and the filtered ones. The filter with the best
reproduction of the original geometry should be used – keeping in mind that the angel
groups should be representative.
All fields except the “Length of sections” are editable directly, and copy/paste may be
used for single cells. The "Length of sections" has its own input support-tools
In contrast to OLGA2000 all Pipes must have a Diameter, a Roughness and a Wall (if
relevant). You can use copy-paste functions to achieve this.
If defined in the OLGA case, walls may be selected from the drop down menu.
Within the Graph window the profile may be edited activating either of the four menu
functions (found under Actions -> Graphical):
11.3.6Define sectioning
1. Manually enter number of sections in the “# Sections” column. This gives you
equally long sections for a given pipe.
2. If you double click in the Length of Section list you enter a tool to distribute
sections of various lengths over the pipe-length.
71
O L G A GUI U S E R M A N U A L Page 72
Change (the nominal) no of sections to 3 and enter 4.75 m in Section 1 and click OK.
72
O L G A GUI U S E R M A N U A L Page 73
The main rule is that the tool ensures that you get a sum of sections which is equal to
the pipe length. Moreover, open section lengths mean that you repeat the value
above.
The "remaining of total" is the total pipe length minus length accumulated over the
section lengths specified (including the open ones).
You get the window below and you see that the remaining now is very close to zero.
73
O L G A GUI U S E R M A N U A L Page 74
3. Use the discretization tool (Tools/Discretize). Then all pipes are given the same
selected number of sections.
You can also exchange geometries between flow paths in the same case. Select the
flow path and its Property Page of the Geometry you want to distribute to other flow
paths. Then you select the flow paths that you want to import to and select Exchange
Geometry:
Select FLOWPATH and click on Properties. This opens the Geometry GEOM-1_2
74
O L G A GUI U S E R M A N U A L Page 75
11.3.8Menus
File
New New geometry
Import Import xy-data
Open Open geometry file (*.geo)
Close Close geometry
Save Save geometry
Save As Save geometry as new file
Print Print active window
Print Preview
Print Setup
<Recent File>
Send
Exit
Edit
Undo
Cut
Copy
Paste
Configure Configure graph window
View
Global Overview
Standard
Restrictions
Graph
Status Bar
Labels
Walls
Actions
Graphical Normal/Add/Move/Delete
Restrictions X Fixed/X Bound/Y Fixed/Y Bound/Recursive
Tools
Angle groups
Check Angle Distribution
Check section lengths calculate the length ratio of adjoining sections.
Discretize Automatic pipe sectioning (all equal)
Filter Filter data
Reset Pipe Labels Use default pipe labeling
Reverse geometry Creates a geometry that is the mirror image of the
original geometry (in x-direction).
Window
New window New window with active data (works on same data set)
New window Select graph or table representation
New Horizontal Tab Group
New Vertical Tab Group
More Windows
Help
Help Topics Not implemented
About Geometry Version Information
75
O L G A GUI U S E R M A N U A L Page 76
11.4 Limitations
The following important limitation applies:
1. For export to Excel, dot (“.”) must be selected as decimal separator for Excel
76
O L G A GUI U S E R M A N U A L Page 77
At present studies can only be performed on the local machine, but the number of
simultaneous simulation can be given (#Parallel simulations). This can be useful for
machines with multiple processors or multithreading.
77
O L G A GUI U S E R M A N U A L Page 78
78
O L G A GUI U S E R M A N U A L Page 79
This results in the definition of 4 cases ready for running. You may save the study by
clicking OK. The study is saved in a separate folder together with the Project/Case.
79
O L G A GUI U S E R M A N U A L Page 80
80
O L G A GUI U S E R M A N U A L Page 81
81
O L G A GUI U S E R M A N U A L Page 82
Select variables for plotting e.g. QLT at PIPE-86 (outlet total liquid flow):
82
O L G A GUI U S E R M A N U A L Page 83
More details on plotting are given in Ch. 11 and for more details on Matrix.. and XY-
Plot see Tutorial (accessed from the Help menu in GUI).
Add a new study and right click on the Case column to add new entries.
Right click on the column with (<Right click to select parameter>), select Source
and then Massflow.
Enter one value for mass flow for each case and press Run Study. When cases are
finished you can plot to see the results.
83
O L G A GUI U S E R M A N U A L Page 84
13. SIMULATION
Simulation is controlled by the simulation menu. There are some alternative ways to
run a simulation.
Run simulation
Press “Run simulation” for starting a simulation. Progress is visualized in the output
window and on the progress-bar in the lower right-hand corner.
Run in batch
Press ‘Run Batch’ to start the simulation in a separate command prompt. Output and
progress is shown in the command prompt
dependencies. Right click the project in the Model View and select ‘Project
Dependencies…’.
Run all cases that starts with the letter ‘a’ with a specific version of the OLGA engine
opi /recursive /version 6.0 a*.opi
The opi command may run opi-files, inp-files, key-files, geninp-files and genkey-files.
85
O L G A GUI U S E R M A N U A L Page 86
There are many ways to filter the content of the dialog above. Note that the filtering is
a tool for locating the variables. The selected variables are plotted even if they are
‘filtered away’.
86
O L G A GUI U S E R M A N U A L Page 87
The default time unit for a Trend plot is seconds which you change at the lower left.
87
O L G A GUI U S E R M A N U A L Page 88
You may now "play-back" the profile plot, either by dragging the slide or by clicking the
green triangle. You may also freeze a curve by clicking the "needle" button.
88
O L G A GUI U S E R M A N U A L Page 89
You get a frozen curve each time you click it. You "un-freeze" by disable the needle.
The play-back is stopped by clicking the blue square. You may play-back several profiles
simultaneously, but the speed will of course depend on your PC-capacity.
89
O L G A GUI U S E R M A N U A L Page 90
You may change or delete the note by right clicking it and select Edit Æ Edit Note
from the context menu.
5
You may also change default colours, text styles etc.
90
O L G A GUI U S E R M A N U A L Page 91
example need to run the same case several times or if you have several nearly identical
cases (e.g. restart cases).
To create a plot template you first configure the plot, and then select FileÆSave As
Template… The template is stored as a .tpl.tz/.ppl.tz file in the location you specify.
To use a plot template click on the arrow on the right side of the profile/trend plotting
buttons.
Select template from the drop down 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.
91
O L G A GUI U S E R M A N U A L Page 92
Trend:
All the variables marked in the selection dialog are copied to separate columns in the
Excel-worksheet.
92
O L G A GUI U S E R M A N U A L Page 93
Profile:
When exporting profile variables, there are some options. First, choose the points in time
that are of interest. Secondly, choose the output grouping. On time copies the variables
sorted on time, while the On variable option copies the variables sorted on variables. See
examples below:
FLOWPATH_1
TIME 0.000000 s
HOLHL PT TM
LENGTH[m] FLOWPATH_1[-] FLOWPATH_1[Pa] FLOWPATH_1[K]
25 0.267856 5020177 333.145386
66.666504 0.269094 5018455 333.140137
TIME 100.655602 s
HOLHL PT TM
LENGTH[m] FLOWPATH_1[-] FLOWPATH_1[Pa] FLOWPATH_1[K]
25 0.266281 5017835 333.145996
66.666504 0.252789 5016175 333.139435
Showing data sorted on time
93
O L G A GUI U S E R M A N U A L Page 94
PT[Pa] FLOWPATH_1
Time[s]: 0 30.892229 60.790829 90.689438
Pipeline length[m]
25 5020177 5017983 5017583 5017751
66.6665 5018455 5016377 5015958 5016098
HOLHL[-]
FLOWPATH_1
Time[s]: 0 30.892229 60.790829 90.689438
Pipeline length[m]
25 0.267856 0.252411 0.259354 0.264995
66.6665 0.269094 0.253909 0.249044 0.251571
Showing data sorted on variable
94
O L G A GUI U S E R M A N U A L Page 95
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.
You may use the freeze-function as for profile plots. You click the nail and then the green
triangle. You repeat clicking the nail to freeze more curves.
The default x-axis is temperature. You can change this 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).
95
O L G A GUI U S E R M A N U A L Page 96
96
O L G A GUI U S E R M A N U A L Page 97
14.10 Menus
File
Reload
Save Save chart configuration (tee) with link to data file
(tpl/ppl)
Print
Print Preview
Close
Options
Configuration Configure plot (Chart and Series display options)
Select Plot Variables Select data to be plotted
Help
About Not activated
97
O L G A GUI U S E R M A N U A L Page 98
14.11 Reports
A case report can be generated and viewed in WINDOWS Internet Explorer from
Tools Æ Generate Report. This is the first version of pre-defined report format and
has a limited content. This will be expanded in future versions. Since it has a java
script, you must accept the security warning you get in Windows Explorer, before the
functions in the report is activated.
Use the yellow labels to browse the report or check "Printer Friendly version” to
remove the menu system.
98
O L G A GUI U S E R M A N U A L Page 99
15.ONLINE HELP
OLGA is equipped with on-line help documentation 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
• Select Help/Help topics from the main menu
• Contents
• Index
• Search
99
O L G A GUI U S E R M A N U A L Page 100
In the picture below the blue area indicates where the window will end up if dropped
at the current location. If the cursor is moved over one of the arrows towards the
edge of the screen the window will dock on the corresponding border of the frame. If
dropped on one of the four arrows in the centre of the screen the window will dock
towards the corresponding side of the frame of the pipeline schematic window.
Double clicking on the top bar of a docked window makes it float and double clicking
on the top bar of a floating window makes it dock.
100
O L G A GUI U S E R M A N U A L Page 101
Camera manoeuvring:
• Mouse wheel Zoom in/out
• Arrows Move camera in/out/left/right
• Right shift Move up
• Left shift Move down (or: Insert move down)
Rotate/Move/Scale
Rotate Select object + key R + left mouse button + move mouse
Move Select object + key M + left mouse button + move mouse
Scale Select object + key S + left mouse button + move mouse
101
O L G A GUI U S E R M A N U A L Page 102
17.MENUS
17.1 File
New > Project… Create new project
New > Case… Create new case
Open > Project… Open project
Open > Case… Open case
Save Case Save case
Save Case As… Save a new case
Duplicate Case… Makes a copy of the selected case
Save Project Save project
Close Project Close (and save) project
Print… Disabled
Print Preview Disabled
Print setup…
Recent projects List of projects recently opened
Recent cases List of cases recently opened
Exit Exit
17.2 Edit
Standard windows commands
Undo
Redo
Cut Disabled
Copy
Paste
Paste special… Disabled
17.3 View
Select what windows and toolbars to be visible.
102
O L G A GUI U S E R M A N U A L Page 103
17.4 Project
Add New Item… Same as New Case
Add Existing Item… Open an existing file e.g. an .opi file
Project Dependencies
Close Project
17.5 Simulation
Run Start simulation (Start simulation in batch-
messages from simulation are sent to the Output
window)
Stop Stop simulation. Returns to initial state
Pause Pause simulation. Simulation may be resumed
(Not implemented for OLGA).
Run Project Start to run all cases in a project in a given order
Run Batch Start simulation in a DOS-control window.
Run Project Batch Start to run all cases in a project in a DOS-control
window
Verify Verify input
17.6 Tools
The tools available are listed below.
17.7 Windows
Standard windows operations.
17.8 Help
Help topics Online documentation
Getting started Opens pdf file with getting started document.
About Release information
103
O L G A GUI U S E R M A N U A L Page 104
18.TOOL BARS
18.1 Standard
New case
Open case
Save Saves Case
Save Project
Copy
Paste
Undo
Redo
Model view
Property editor
Components
File view
Output view
Connection view Disabled
18.2 Simulate
18.3 Plot
18.4 Layout
Fit window
Move Moves a graphic object
Scale Scales an object
Rotate Rotates an object
Circular For systems with defined
Grid Nodes placed in grid
104
O L G A GUI U S E R M A N U A L Page 105
105
www.sptgroup.com
A product by