_PETREL plug- in User Manual supplement
Trademark Information OLGA, be dynamic, DRILLBENCH, edpm, MEPO, IPOS and Academy of Petroleum Dynamics are registered trademarks of SPT Group. ECLIPSE and Petrel are registered trademarks of Schlumberger. Software Version MEPO plug-in for Petrel 1.0 Document Version MEPO33_UM-Supplement-Petrel_101102.pdf Date 02 Nov 2010
MEPO3 PETREL LINK
TABLE OF CONTENTS
Table of contents CHAPTER 1: Installation ...................................................................................................... Requirements ......................................................................................................................... Setup ...................................................................................................................................... License file ............................................................................................................................. Launching MEPO ...................................................................................................................
1 1 1 2 2
CHAPTER 2: Workflow - Petrel ........................................................................................... 3 General description ................................................................................................................ 3 MEPO setup ........................................................................................................................... 5 Cycle setup ....................................................................................................................... 5 Simulation configuration ................................................................................................... 7 Method setup .................................................................................................................... 7 Petrel setup ............................................................................................................................ 8 Importing a MEPO cycle to Petrel ..................................................................................... 8 Petrel workflow setup ........................................................................................................ 9 Launching the workflow ........................................................................................................ 12 Setup verification ............................................................................................................ 12 Method launching ........................................................................................................... 14 CHAPTER 3: Support ......................................................................................................... 15
i
ii
TABLE OF CONTENTS
MEPO3 PETREL LINK
MEPO3 PETREL PLUGIN
INSTALLATION
CHAPTER 1
Installation
Requirements Petrel 2010.X and above MEPO 3.2.4 or above Mapped filesystem Write access to the MEPO working directory is required on the machine running Petrel.
Setup Run setup.exe included in your ZIP file to install the MEPO for Petrel plugin. The setup wizard will guide you through the installation.
Note, check that your computer setup fulfils the requirements below before installing the MEPO for Petrel plug-in.
1
2
INSTALLATION
MEPO3 PETREL PLUGIN
License file Licensing Acresso Flex License Manager licensing software needs to be installed in order to run the MEPO plugin for Petrel. You need to set up Flex License manager and provide it with a valid license. Alternatively, an existing Flex License Manager can be used together with a valid ‘MEPO plugin for Petrel’ license. Refer to FlexLM documentation for information on installing the license manager on your system. You will need 11.3 or higher of the FlexLM suite for running the MEPO plugin for Petrel.
Launching MEPO To activate the Petrel link in MEPO, the MEPO.ini file needs to be changed. At the end of the file the flag AC TIVA TE_ PETR EL= tru e
needs to be added. If the flag is not defined in the MEPO.ini file, the Petrel launcher is not available in MEPO. The parameter is added by the system engineer installing MEPO once in the global MEPO.ini file. Changes to the call of MEPOserver and MEPOclient are not necessary. The MEPOserver can be launched manually or by using Start local in the MEPO startup window.
Note, if the user creates an own MEPO.ini file in his .mepo directory, the MEPO.ini file needs to contain the parameter as well. The user’s local MEPO.ini file is overwriting the global MEPO.ini file.
Note, the parameter ACTIVATE_PETREL=true is case sensitive. The parameter name needs to be in capitals while the values ‘true’ and ‘false’ are lower case. If the parameter name contains lower case characters, the feature is not activated.
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
CHAPTER 2
Workflow - Petrel
General description This demo is based on the synthetic NAGANI field. The intention of this demo is simply to illustrate how MEPO uncertainty parameters may be applied in a Petrel workflow. The NAGANI field •
Three main sand layers
•
Four main faults
•
Three production wells, one injector
•
The reservoir contains no free gas
•
11000 active grid cells
•
Production data from 01 Jan 99 – 18 Feb 2005
3
4
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Uncertainty parameters The uncertainties are related to anisotropy ranges and orientation in the Facies and Petrophysical modelling in Petrel. Four fault multipliers are also included as more traditional history matching uncertainties. Low
Initial
High
MajorDirection
1500
2000
2500
MinorDirection
250
500
750
Vertical
10
20
30
Azimuth
75
82
90
Dip
0
0
8
FaultMultiplier[1-4]
0.003
0.1
1.0
(Fault sealing factors)
Table 1: Uncertainty parameters.
Response parameters Watercuts in the three producers are used as matching parameters.
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
MEPO setup Cycle setup Create a new cycle “FACIES”. Make sure the cycle folder name is the same as the cycle name in MEPO.
Uncertainty parameters Uncertainty parameters are defined in MEPO as normal. All uncertainties are linked to the same TMPL file named “PETREL.TMPL”. The TMPL file can be left empty for now.
Figure 1: Uncertainty Parameters setup in MEPO.
Response parameters Response parameters are defined as normal in MEPO.
5
6
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Figure 2: Response parameters setup in MEPO.
Note, historical vectors are by default not written out in a Petrel simulation case. They can be added using the Keyword editor Also, make sure that the simulation result output type defined in MEPO matches the output type defined in Petrel (UNIFOUT/MULTOUT).
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
Simulation configuration The simulation task list in MEPO can be based on the default list with an additional WaitForPetrel task (both the MEPOserver and the MEPOclient have to be started with –activatePETREL as command line argument). It is not possible to use the standard Eclipse Launcher task; this task should be replaced by a Program Launcher task. •
Create directory
•
Preprocessor
•
WaitForPetrel o
•
Petrel timeout in seconds as argument
ProgramLauncher (Launch ECLIPSE) o
$eclipse –ver 2007.X CYCLENAME
•
Postprocessor
•
ResultSaver
•
RemoveFiles
Figure 3: Simulation Configuration in MEPO.
Method setup Add an experimental design method i.e. RANDOM(10). Note: methods where the number of runs per iteration varies are not supported by the automatic workflow launcher.
7
8
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Petrel setup Once the Petrel Model is created and the modelling workflow is established, MEPO uncertainties can be added to the Petrel project.
Importing a MEPO cycle to Petrel •
Open the Import Cycle process located in the MEPO processes folder.
•
Browse to the MEPO project file .MPRJ and click open.
•
Select a cycle from the drop down list and click import.
The contenst of the TMPL file may now be created by simply double clicking on the dialog. Open the PETREL.TMPL file and paste the contents from the clipboard. Save the TMPL file. Click OK to close the dialog.
Figure 4: Import MEPO cycle.
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
Petrel workflow setup The Petrel workflow may be defined as a standard Petrel workflow. The only MEPO specific workstep is the “Export case to MEPO” workstep which is required after a “Define Simulation Case” workstep. The simulation may be handled by MEPO or Petrel. If the simulation is handled by MEPO, make sure that both the “Export only” checkbox in the “Define Simulation Case” workstep and the “External Simulation” checkbox in the MEPO workstep are checked. Uncheck both if the simulation should be handled by Petrel. The simulation launcher workstep in the MEPO task list must then also be removed.
Figure 5: MEPODEMO Petrel workflow with MEPO uncertainties.
9
10
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Applying the MEPO uncertainties in the workflow The MEPO uncertainties may be applied directly in all Petrel processes that support $variable syntax in the workflow editor. The workflow uncertainty variables ($syntax) are inserted automatically when the workflow is launched. Two special variables are always inserted, the $experiment number and $iteration number. These two variables are required in the “Export simulation case to MEPO” workstep. The MEPO uncertainties are applied in the Facies and Petrophysical modelling processes. The fault multipliers are logarithmic and are therefore calculated in a numeric expression step before being applied in the Fault Analysis workstep.
Figure 6: MEPO uncertainties applied in Petrel facies modeling.
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
Figure 7: MEPO uncertainties applied in Petrel fault analysis.
11
12
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Launching the workflow Setup verification The workflow is now ready to be launched. In order to check that everything is set up correctly, an experiment can be manually created in MEPO and used as a test experiment. It is also recommended to deactivate all worksteps in the Petrel workflow where MEPO uncertainties are applied. Open the Launch MEPO workflow process in Petrel: •
Add the MEPO cycle object (FACIES).
•
Enter the correct values for number of iterations (1) and experiments (1).
•
Enter the name of the Petrel workflow (MEPODEMO).
•
Define a MEPO timeout value in seconds. If the simulation is handled by MEPO this value should be greater than the simulation time when running several experiments.
Figure 8: The MEPO workflow launcher in Petrel.
MEPO3 PETREL PLUGIN
WORKFLOW - PETREL
The workflow needs to be launched in both MEPO and Petrel. Petrel may be launched before MEPO, or vice versa, but the recommended procedure is to launch MEPO first, then Petrel. Go to the MEPO experiment list, select the manually created experiment, and click the launch button. Go back to Petrel and click the run button. Check the output in the Workflow Status window: Open the Workflows tab in Petrel. There should be a new “Automatic Copy of MEPODEMO” workflow there. Open the workflow and verify that all MEPO uncertainties are inserted correctly.
Figure 9: Automatic copy of the workflow with MEPO uncertainties.
A variable with the value -999 is not correctly initialised. If this is the case, check the uncertainty setup in MEPO, replace strings, etc, and also check that the uncertainties are mapped correctly in Petrel. If everything runs smoothly, activate all the worksteps in the Petrel workflow and run the test again before launching the workflow in a method run. Check for workflow errors.
13
14
WORKFLOW - PETREL
MEPO3 PETREL PLUGIN
Method launching In this case, a RANDOM method with 10 experiments is defined in MEPO. Open the MEPO workflow launcher in Petrel, add the cycle object, set number of iterations to 1, number of experiments to 10, and define the workflow name (MEPODEMO) and a timeout value. •
Go to MEPO and launch the method from the simulation launcher.
•
Go back to Petrel and click run in the workflow launcher dialog.
Monitoring the workflow Check the progress bar in the lower right corner in Petrel as well as the logger windows both in MEPO and Petrel.
MEPO3 PETREL PLUGIN
SUPPORT
CHAPTER 3
Support
MEPO first-level support is provided through our local offices worldwide. Please contact your SPT office for contact details. Second-level support is provided either from our headquarters in Oslo, Norway or by the MEPO development centre in Hamburg, Germany. E-mail support: The MEPO support e-mail address is
[email protected]. Use this address for support requests of any kind. Your support request will be registered in SPT's internal support database, a trouble ticket number will be sent to you by e-mail to confirm receipt of your request and your support request will be dealt with as quickly as possible. When reporting an error please provide as much detailed background information as possible (all input files for the test case that failed, specifications for suggested improvements, etc.). Please direct all MEPO related questions/bug reports/support to this email address:
[email protected]. Regional support: All regional offices offer MEPO support. Support requests sent to
[email protected] will be directed to either one of our regional offices or to global MEPO Support.
15
16
SUPPORT
MEPO3 PETREL PLUGIN
Suggestions: Contributions and suggestions regarding the development of MEPO should be sent to the following e-mail address:
[email protected].