Beruflich Dokumente
Kultur Dokumente
1. Presentation of Olga Scandpower Software 2. First steps with Olga 3. Some advises about the GUI 4. Some advises about the PVT file 5. General advises
Oil and Natural gas flowlines or transportation lines, Wet gas or condensate pipelines, Well stream from a reservoir, LNG / LPG/ NLG pipelines, Dense phase pipelines, Network of merging pipelines, Artificial lift and other mass source injections, Pipelines with process equipment ( compressor, heat exchanger, separators, check-valve, controller, mass source / sink), Single phase gas or liquid, Small diameter pipelines with various fluids, Laboratory experiments.
The input system of Olga consists in six files. Input file 1 & 2 are always required while 3,4,5 & 6 are optional. File 1 (name.inp): General case definition: name, reference, geometry, operational conditions, output variables File 2 (name.tab): Fluids properties definition ( also called PVT file ) Files 3, 4, 5 & 6: Optional files for compressor, pump & restart file. The version I used is an Olga Graphic User Interface (GUI) version called Olga 2000. The GUI allows the user to :
create the files 1, 3, 4, 5 & 6 directly via several modules (keywords), draw graphs, verify the TXV file (Fluid Properties button),
In a nutshell, the GUI simplifies considerably the using of Olga in defining the case in some windows and not in a text editor. Besides, even if you have an Olga GUI version, you can complete directly the files in a text editor of your choice (it also allow the user to control what he enters in the interface). Moreover, the GUI propose you two ways of launching the calculus : a batch version or a interactive version (in which you can reduce the time of your simulation without changing the file).
Then to implement networks of pipes, I used the second example (appendix D). In the following section, I give some advises relative to the major problems I encountered.
Launch the calculus, Create the case files (but not the PVT), Draw graphs (Trend or Profile).
Following some advises about problems I encountered. Founding the divers modules of the files To use correctly the Olga GUI, you have to press the 'keywords' button. In that way, all the basic modules you have to complete would appear. For the other modules, you can enter into a modules and press next until the desired module appears or (better) directly select the desire module via the upper tools bar, section Keywords . Entering divers values in a same line It is simple but I encountered some difficulties the first time I went to enter different time values. As example, I want to enter a mass flux time dependant. I enter three time values: at t = 0 s, t = 20.5 s and t = 40 s. I have to enter in the time line : 0.0 , 20.5 , 40 (without the parentheses, but they will be added in the text version of the file). For the other lines of the module, you have to enter 3 values of the property corresponding to the different times (always without parentheses). Remark: If Olga does not agree with your values, they will disappear instantaneously with a 'bip'. Selecting an item in a list (as example the pipe or branch ...) This is also simple but the first time it can be problematic. In fact, you cannot directly enter the name of your item, you have to select it on a list. When you have to select an item in a list, a special button is put at the end of the line. It is a rectangular button with three points or with a arrow pointing down. Press this button to obtain the list. Then select the item and click on replace (if this button appears). Avoiding the GUI Sometimes, the GUI refuses a value (this value disappear and you can hear a 'bip').
It can be because your value is not correct: you have entered divers time values so you have to enter a list for this line. If you think to have right, do not hesitate to open the .inp file in a text editor. In that way, you can verify your case and change what you want. Click HERE to see the GUI
In the first line, between quota, a code is written to identify the fluids. In the second line, enter the number of, respectively, pressure and temperature steps you want to define: NbP NbT
In the third line, enter respectively the pressure and temperature steps (in bar and degree Celsius): DeltaP DeltaT
In the fourth line, enter the 'initial' point: initial pressure (in bar) and initial temperature (in degree Celcius) Po To
In that way, you will defined the properties of your fluids in NbP * NbT points: P between Po and Po + deltaP * (NbP 1) T between To and To + deltaT * (NbT 1)
In the fifth and sixth lines, enter NbT numbers. Personally, I do not know what they represent and I let the numbers I found in the Olga example. Then, you will have to write a keyword representing a property of the liquid or gaseous phase. Below this keyword, you will have to give the value of this property at each points. You will write NbP lines of NbT values. You can consider that as a matrix. In the
line i and column j, you will write the value at Po + deltaP * (i - 1) bar and To + deltaT * (j - 1) degree celcius.
If you go to the help section of your manual about the second file (name.tab), you will see that some keywords do not correspond to the manual. In fact, in this file, as example, the evolution of the the volumic mass of the gas function of the temperature is represented by the keyword drogdt. Generally, you can assume that the gaseous phase is perfect and its density verifies the following equation:
General Advises
Incomprehensible error message Olga functions under Windows and both are unstable. Consequently, do not hesitate to close your case and reopen it to launch it if you have an error stating that you have no license or that the application is busy. Besides, if you close the Olga deamon then you have to reopen it to launch simulation in the Execution control mode. Debugging To debug your case, you can use the batch execution mode (run batch): it would write step by step the errors it encountered in your files. In that mode you can also launch the debugger of Olga (it will underline the non physical aspect of your case), you have only to select 'on' in the case OPTIONS module in front of DEBUG (keyword = ' OPTIONS'). Be simple at the beginning Personally, at the beginning, I only used the examples 1 and 2 of the Olga manual. With these examples, I simulated a vertical pipe and a network of pipes with one manifold for four wells. I only used sources to introduce flows. I introduce a valve but without checkvalve. In fact, I only create and use the principal files of Olga but not the equipment files. Simulation of a steady state Personally, I simulated steady state via launching the simulation for 20 or 5 seconds. In that way, the calculus converged to the steady state. Flows entry conditions With Olga, you have to enter the total mass flow rate (Qt) and the gas fraction (Gfraction). These quantities can be understand via the following formulas:
J is the surface velocity, Q the mass flow rate, S the surface of the section and rho the density.
The values keywords To edit value (via Trend, Profile or Output modules), you have to define them with their keywords. As example :
to edit the flow regime indicator, use ID, to access to the void fraction, write AL, to edit jg (the gas velocity or gas flux), enter USG, to edit the pressure, enter PT...
All these keywords are given at the end of the Olga principal manual. The output file You can visualize your results directly with the GUI (Trend or Profile sections) but you can also write the results in a text file with a .out extension. You can open this file in a text editor ( like Wordpad ). You can use the Output section of the .inp file to determine the values you want to write (with the keyword given in annexes). In the .out file, you will read the .inp file and the output results you have implemented in the Output section. You can also open this file with Excel and draw your own graphs. It is very interesting to open this file because you will discover what is really implemented in your case (in particular, you will see that some values are taken in the center of the cells and some other in the limits of the cells).