Introduction To Cmgs Tutorial
Introduction To Cmgs Tutorial
Modelling Workflows
Tutorial
Table of Contents
SCENARIOS OF PREDICTION.............................................................................................................. 33
1
Introduction to CMG’s Modelling Workflows - Tutorial
WATER INJECTION ........................................................................................................................... 43
USE OF TRIGGERS............................................................................................................................. 67
2
Introduction to CMG’s Modelling Workflows - Tutorial
Creating a “Black Oil” Model Using Builder
The first exercise will go through the steps of creating a black oil IMEX dataset using builder. In
addition to getting familiar with CMG software, this tutorial will also go through the procedure of
performing a history match. Once a history match is obtained, a few prediction scenarios will be
modelled.
Opening Builder
2. Open Builder by double clicking on the appropriate icon in the Launcher.
3
Introduction to CMG’s Modelling Workflows - Tutorial
Importing a Rescue File (Structural and Property Data)
6. Click on File (on the menu bar, top left), then Import from another file… a RESCUE
model.
7. Select the RESCUE file from the DATA REQUIRED folder. The RESCUE file is in a binary
format and will have a .bin extension, select EXERCISE_3_RESCUE.bin.
8. Click OK in the dialogue box related to the description of RESCUE model and accept the
Grid creation options by default as shown in the following figure.
A rescue file can be generated with any geological commercial software (E.g., PETREL,
GOCAD, etc.). Typically a rescue file includes the grid, faults and properties (E.g. porosity
and permeability).
9. A new window will appear with the original properties defined in the RESCUE file (left
window) and a list of properties to match the CMG software (right window). Select a
property (for example Porosity) from the RESCUE file and the corresponding CMG
property. Click on the Add to Selected List button to add the property from the rescue
file into the Builder model. Repeat this for the three other properties available in the
RESCUE file: NULL Blocks, Pinchout Array, and Permeability I (md). Click OK.
4
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 3: Panel for selection of properties from RESCUE file
10. A new grid with properties will be displayed. Change the view from IJ-2D Areal to 3D View
in the upper left corner.
11. Click on the Rotate (3D View) button (from the toolbar) to rotate the display by holding
down the left mouse button and using the cursor to move the model. Hold down the Ctrl
key and the left mouse button and move the mouse toward the bottom of the screen to
zoom in or move the mouse to the top of the screen to zoom out. If a mouse has a scroll
wheel, this can also be used to zoom in and out by scrolling the wheel forward (zoom out)
or backward (zoom in).
5
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 4: 3D View of the imported grid and distribution of porosity
Note: Depending on the purpose of the simulation and resources available, a full geological model
complete with grid and properties may not always be available. Therefore a grid will need to be
manually generated, which can be done using Builder. There are several options available when building
a grid from simple box models (Cartesian) to complex corner point grids. Frequently, the grid top and
thickness data for the reservoir may be given as an aerial contour map. A map can be used to size and
properly orient the simulation grid as well as populate the properties in the grid blocks. A sample map
file has been provided in the Required Data Folder. If time allows, the instructor will demonstrate the
steps of how a map file can be used to create and populate a grid.
12. Change display control to Probe mode by clicking on this toolbar button on the top
tool bar.
13. Click on the Specify Property button (top middle of the screen) to open the General
Property Specification spreadsheet as shown below.
6
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 5: General Property Specification Spreadsheet
14. In the Specify Property window, from the Go to Property dropdown menu, select
Permeability J. Right click in the Whole Grid box and select EQUALSI then click OK to
the window that appears.
15. Similarly for Permeability K, right click in the Whole grid Cell and select EQUALSI. In the
window that appears select * in the EQUALSI dropdown. Next enter 0.1 in the second
field (this applies a Kv/Kh ratio of 0.1). Press the OK button.
16. Press OK in the Specify property window. Next the Block / Corner Value Calculation
window will pop up. Click OK to populate the grid with these new properties.
17. Double click on Rock Compressibility in the tree view menu and input 7.25E-6 1/kPa in
the Rock Compressibility (CPOR) box, 20,000 kPa in the Reference Pressure
(PRPOR) box and click OK. Units will be applied automatically. You should now have the
green check mark for Reservoir section.
18. This would be a good point to save the data set you are working on. Click File, and then
Save As. Save the file as IMEX_TUTORIAL.DAT under your STUDENT
SOLUTION/HISTORY MATCH folder.
19. Analyze different cross sections IK-2D X-Sec to display the properties distribution, layer
thickness and become familiar with the model.
20. To display the dimensions of some grid cells in the models, right click on the main screen
and select Properties. In the Properties Window that appears select Probe Display
and check the box for Block Dimensions. Click OK.
7
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 6: Builder properties (probe display option)
21. Clicking on a grid cell will now display its dimensions. Select the property of Grid Top
and using the plane slider select different cross sections of the model in 2-D views.
8
Introduction to CMG’s Modelling Workflows - Tutorial
Creating PVT Data Using Correlations
22. Click on the Components tab in the tree view and double click on MODEL.
23. Check on Launch Dialog to Create a Quick BLACKOIL Model Using Correlations,
and then press the OK button.
24. Enter 50 (°C implied) in the Reservoir Temperature box. Generate data up to the maximum
pressure of 35,000 kPa. For Bubble Point Pressure Calculation, select the Value provided
option and enter 9,000 kPa. For the Oil Density at STC, select Stock tank oil gravity (API)
as the type of gravity value to use and enter 18 in the data entry window. Change the Gas
Density box at STC to display Gas Gravity (Air=1) and type 0.70 in the data entry window.
25. In the Reference Pressure for Water properties box, enter 101 kPa and leave the rest
of the options at their default values. Click OK.
9
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 10: Parameters for a quick black-oil model
26. Double click on PVT Region: 1 in the tree view and select the PVT Table tab to view the
BLACKOIL PVT data. For this example, the data shown in this table was generated using
the information entered in the Quick black oil model window. However, it is also possible
to enter directly or edit values in the PVT Table.
These values can also be updated by using your mouse to select points on the plots
associated with the PVT Region, and dragging the points to the desired location. Please
note that the IMEX PVT Regions window has to be open while using your mouse to change
the points on the plot.
27. Uncheck the Include Oil compressibility in PVT table box to use constant oil
compressibility.
10
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 11: IMEX PVT table with the values generated using the quick black-oil model
28. Go to the General tab and input the value of 5e-06 1/kPa for the Undersaturated Co
(CO). Click on Apply and OK.
29. The Component section should have a green check mark now.
11
Introduction to CMG’s Modelling Workflows - Tutorial
33. Enter the following parameters for the analytical relative permeability curves generation.
SWCON 0.2
SWCRIT 0.2
SOIRW 0.4
SORW 0.4
SOIRG 0.2
SORG 0.2
SGCON 0.05
SGCRIT 0.05
KROCW 0.2
KRWIRO 0.8
KRGCL 0.8
KROGCG 0.2
Exponent for Krw 2.0
Exponent for Krow 4.0
Exponent for Krog 4.0
Exponent for Krgcl 4.0
34. Press Apply and then OK. Press OK again to get out of the Rock Types window. A
graph containing the relative permeability curves will appear.
35. The Rock Fluid section should have a green check mark. Save the file at this time. You
cannot be in the Rock-Fluid section to save.
0.80
0.64
kr - relative permeability
0.48
krw vs Sw krow vs Sw
0.32
0.16
0.00
0.20 0.28 0.36 0.44 0.52 0.60
Sw
12
Introduction to CMG’s Modelling Workflows - Tutorial
Creating Initial Conditions
36. Click the Initial Conditions button on the tree view of Builder.
37. Double click on Initial Conditions.
38. Select Water, Oil as the initial fluid in the reservoir to perform a Gravity-Capillary
Equilibrium Calculation.
39. Type in the following values in the available fields:
20,000 (kPa implied) in the Reference Pressure (REFPRES) box
1,605 (m implied) in the Reference Depth (REFDEPTH) box
1,750 (m implied) in the Water-Oil Contact (DWOC) box
9,000 (kPa implied) in Constant Bubble Point Pressure (PB) box
40. Leave the other boxes blank. Initial Conditions interface should look like this:
13
Introduction to CMG’s Modelling Workflows - Tutorial
41. Click Apply, and then OK.
42. You should now be back in the main Builder window with all tabs showing a green
checkmark in the tree view, except for the Wells & Recurrent tab.
43. At this point it is advisable to save the data again by selecting File from the top menu
and clicking Save.
44. Go to the Builder main menu and select Well Well Trajectories Well
Trajectories…. The "Import well trajectory wizard. Step 1 of 3" window will pop up.
45. You need to choose the Trajectory File Type and appropriate Units for it (3 Steps
Wizard).
46. Choose "Table Format" and "m" for X, Y and Z, MD, then browse for the file
"IMEX_TRAJECTORIES.wdb".
Open, and press Next (Step 1 of 3).
14
Introduction to CMG’s Modelling Workflows - Tutorial
47. The following window will open. Make sure all wells are selected, uncheck Automatic
data point reduction and check the box Clear all existing trajectories, then press Next
(Step 2 of 3).
15
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 16: Trajectory perforations window after reading perforation file
53. Change the 2-D view to 3D view in the upper left hand corner.
54. Right-click anywhere on the screen and select 3D settings. Change transparency
setting from 0 to 0.6. Select Apply All. The reservoir should now be completely
transparent and the well trajectories and perforations should be visible.
16
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 17: Trajectory and perforations after increasing transparency
56. Go to the main Builder menu and select Well Import Production/Injection Data (this is
the wizard used to import production/injection data into the well & recurrent data for the
simulator and it also defines the status of each well).
57. STEP 1: First step of this wizard is to provide the type and name of the production file. In
our case, we will use General and select the file named IMEX_PROD_HISTORY.prd from
the DATA REQUIRED folder. Press the Next button.
58. STEP 2: Follow the instructions and highlight the first line containing the production data
(top window) and well name (lower window) (as shown in the following figure). Press
Next.
17
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 18: Step 2 of the production data wizard
59. STEP 3: If the delimiters look good and separate the columns correctly, click Next to go
to STEP 4.
60. STEP 4: Go through Columns 1 to 5 and in the identifier row, choose Well/Group name,
Date/Time, Oil Produced, Water Produced and Gas Produced for each column
respectively. Leave other cells under each identifier as default as they pop up, and then
click Next to go to the next step.
18
Introduction to CMG’s Modelling Workflows - Tutorial
61. STEP 5: This step indicates which well production data has been picked up and which one
has not. In this section the primary constraint can be selected for the wells. The primary
constraint controls the amount of oil or liquid that will be produced during the simulation
based on the production history.
62. Change the primary constraint from oil to liquid by highlighting the list of wells and right click
to select the liquid constraint.
19
Introduction to CMG’s Modelling Workflows - Tutorial
Creating Average Monthly Production / Injection Recurrent Well Data
If averaging of production-injection data needs to be done, it can be done as described below. It
is not needed for the tutorial as the data is already set on a monthly basis and we want to keep
it monthly.
65. On the main Builder menu, select Well Average Production/Injection Data.
66. Next, move your mouse and right click on the x-axis. The pop-up menu will allow you to
change the average interval from this point on to monthly, bi-annually, yearly, etc.
20
Introduction to CMG’s Modelling Workflows - Tutorial
67. Select Reset all intervals to every month and press the OK button. Once again, click
Close on the Simulations Dates window that pops up.
68. Go to the top menu again and select Well > Create Field History File…, then provide a
file name (IMEX_PRODUCTION_HISTORY.fhf) for the production data. Press OK.
Input/Output information
69. If everything is correct, all of the tabs in the tree view should have a green checkmark.
The Dates under Wells & Recurrent tab may still have a yellow exclamation mark. This
can be resolved by removing the Alters added on date at 2010-02-01. They can be deleted
in the Well Events window.
70. Go to the I/O Control and double click on the Simulation Results Output. The Simulation
Results File Writing window will open. For a well variable, under OUTSRF table, select
Well values for all layers at reservoir and surface conditions (LAYER ALL
DOWNHOLE).
71. Change the Output Type to IMRF. Click OK to close the window.
Figure 23: Changing frequency of writing and items in the result file
21
Introduction to CMG’s Modelling Workflows - Tutorial
72. Please Save the file one more time.
22
Introduction to CMG’s Modelling Workflows - Tutorial
We now have a completed dataset so we can exit Builder and drag and drop the
IMEX_TUTORIAL.DAT file onto the IMEX icon to run it. You will be able to make prediction
runs without having to rerun the historical data portion as a result of using the Restart Run
feature.
23
Introduction to CMG’s Modelling Workflows - Tutorial
We can now look at the simulation run and compare it with the historical data and see how the
reservoir performs.
88. Click on all the well names in the Project Navigation section to compare the simulation
results to the historical data
24
Introduction to CMG’s Modelling Workflows - Tutorial
90. Click on Time Series in Project Navigation and in the Curve Selector section, select
Sectors for the Data Type. Select Imex_Tutorial.sr3 in the Data Sources section and
select the Ave Pres POVO SCTR parameter for the Entire Field. Lastly, click Add to New
Plot:
Click on Time Series in Project Navigation and in the Curve Selector section, select Sectors for
the Data Type. Select IMEX_RESERVOIR_PRESSURE_HISTORY.fhf in the Data Sources and
select the Ave Pres POVO SCTR parameter for the Field. Lastly, click Add Curve:
25
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 28: Window in Results to plot historical reservoir pressure
26
Introduction to CMG’s Modelling Workflows - Tutorial
1. Open the IMEX TUTORIAL.DAT file in TextPad and search for CPOR. Change the rock
compressibility (CPOR) value to 2.9e-6 1/kPa. Save the file as
IMEX_TUTORIAL_HM_CR1.DAT under your HISTORY MATCH folder.
2. Repeat the same steps to create the two additional files listed on Table 1.
3. Using the CMG Launcher, submit/run the datasets by dragging and dropping the *.dat
files onto the IMEX icon. This time submit your jobs in the Scheduler using 1 processor.
27
Introduction to CMG’s Modelling Workflows - Tutorial
Reviewing the Simulation Results using Results
4. Open IMEX_TUTORIAL_HM.results and click on Data Sources and select Add Files.
Select the three new .sr3 files and click Open.
5. Click on the pre-created Ave Pres POVO SCTR plot in the Time Series section of
Project Navigation.
6. Using the Curve Selector, add the curve for Ave Pres POVO SCTR for the three .sr3
files that were just imported:
Figure 31: Window in Results Graph to add a curve for reservoir pressure
7. Based on the pressure behaviour, case 3 had the best match with the historical data.
Therefore, we will use the compressibility value for this case for subsequent simulations.
8. In the same Results file, navigate to the individual well plots in the Plots section to view
the production rates per well. You should observe a group of plots similar to this:
28
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 32: Simulated production vs. real data, best case for reservoir pressure HM
9. As it can be observed, the only parameter that improved in relation to the real data trend
was the water cut, but for the rest of parameters the effect was minimal. The next step is
to change the relative permeability curves in order to improve the production.
10. Open the IMEX_TUTORIAL_HM_CR3.DAT file in Builder and save the file as
IMEX_TUTORIAL_HM_CR3_KRS.DAT.
11. Go to the Rock Fluid section and double click on Rock Fluid Types, click on the Tools
button and select Generate Tables Using Correlations. Change the value of the end-
29
Introduction to CMG’s Modelling Workflows - Tutorial
point for the Oil curve, KROCW and KROGCG from 0.2 to 0.4, click on Apply button and
OK.
30
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 34: Effect of relative permeability curves on production
16. There is an improvement in the production rates after modification of the relative
permeability curve. See the rest of the wells and check the history match; some of them
require more work. Try more parameters of the relative permeability curves and see the
effect on the history match.
17. Due to limited time, the final history match will be provided by the instructor
(IMEX_TUTORIAL_HM_MATCHED.DAT). Run this file in IMEX, plot the simulation
results (IMEX_TUTORIAL_HM_MATCHED.sr3 in Results Graph and add the historical
data (FHF file).
31
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 35: Final History Match for the model
32
Introduction to CMG’s Modelling Workflows - Tutorial
Scenarios of Prediction
As previously observed from the historical data, the oil production is declining with time as a result
of lack of pressure support in the reservoir.
In order to provide extra support into the reservoir, the injection of fluids will be performed by
converting some producer wells into injectors.
For this tutorial, a base case and two different scenarios of injection will be considered: water
injection and gas injection. The results will be compared to quantify the benefit in terms of the
recovery factor.
Base Case
This scenario considers the prediction under primary depletion with the same number of
production wells and constraints based on the stage of history. This scenario will be used as a
reference to compare the effect of additional predictions under secondary recovery.
33
Introduction to CMG’s Modelling Workflows - Tutorial
Adding New Well Constraints for the Producer Wells
5. Under the Well & Recurrent section, expand the Wells section and double click on the
wl1 name to display Well Events. Click on the Calendar button and input the first date of
prediction, 2010/02/01 to define new constraints for the prediction. Press OK.
6. Go to the constraints tab and check the Constraint Definition box. Remove the first
constraint related to the liquid production by using the button. Leave the Well Bottom
Hole Pressure BHP as a main constraint (200 KPa) and include a MONITOR as a second
constraint to prevent unnecessary results when the well is producing below the limit of 3
m3/day of oil production. Click on the Apply button.
7. Scroll down to the end of the list of events in the 2010/02/01 well and highlight the events
previously generated (PRODUCER and constraints). Right click and select Copy Events
Using Filter in order to copy the same constraints to the rest of the producer wells.
8. Select all the producer wells.
9. Go to the Dates tab, select 2010/02/01 and check the Create new dates for selected
Wells box. Click on the Search & Add button.
34
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 38: Copying constraints for all the producer wells
10. Review the producer wells and make sure all of these are using the same constraints for
the prediction, 2010/02/01. Click OK to close the Well Events window and Save your file.
11. In order to generate realistic predictions for the wells, it will be required to use the Well
Bottom Hole Pressure values (BHP) calculated by the simulator at the end of the stage of
history.
12. Go to the CMG launcher and open the IMEX_TUTORIAL_HM_MATCHED.sr3 by
dragging and dropping the file onto the Results Graph icon. Plot the property of Well
Bottom-hole Pressure for all the wells.
35
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 39: Plot of calculated values of BHP
36
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 40: Tabulated values of BHP in Excel
15. In Builder expand the Wells section under Wells & Recurrent and double click on the
wl1 name to open the Well Events section, scroll down to find the constraints for
2010/02/01 and paste the value of BHP obtained from the Excel file for well wl1.
Figure 41: Assigning calculated values of BHP from the stage of history
16. In order to copy the value of Bottom Hole Pressure for the rest of the wells, we can sort
them by date. Use the Filter in Excel to jump to Time = 6240 for all the wells. Paste the
values of BHP from Excel to Builder for each of the wells.
37
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 42: Well constraints sorted by date
21. In the CMG launcher run the file by dragging and dropping the *.dat file into the IMEX icon.
Run immediately using 4 processors.
38
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 44: Submitting the job immediately window.
39
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 45: Basecase Prediction Results – wl1
26. Analyze the behavior of all the wells and make sure the prediction rates look reasonable.
27. Add two independent plots to the session: the first one displaying the Oil Rate SC (Sector)
and Oil Recovery factor (Sector) and the second one indicating Average Pressure for the
entire field (Sector).
Click on the title at the top of the plot and change it to Oil Rate & RF
40
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 46: Field production results for the base case
41
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 47: Reservoir pressure results for the base case
42
Introduction to CMG’s Modelling Workflows - Tutorial
Water Injection
Observations of the pressure behavior within the time period show evidence that this parameter
declines by more than 60% of its original value. Since pressure represents the main source of
energy for production wells, the decline of pressure and oil production reduction are related.
Therefore, we need to provide extra support in the reservoir in order to increase the reservoir
pressure and hence oil production in the wells.
Analysis in Results
We can use the Results to display different properties that can be useful to take decisions for the
stage of prediction.
Figure 48: Water saturation at the end of history, w16 cross section.
6. The previous analysis indicates that, based on the position of the water oil contact, one of
the candidate wells for conversion from the producer to the injector is wl16. For more
43
Introduction to CMG’s Modelling Workflows - Tutorial
analysis you can go back to the plots section add a plot of Water Cut per well in order to
have an idea of the amount of water produced by this well.
The criteria for the second candidate for injection will be based on those with less oil
production rates and location. The base case results indicate that one of the wells with
less oil production is wl5; additionally, this well is located on the other side of the reservoir,
which can be an advantage from the pressure distribution perspective.
44
Introduction to CMG’s Modelling Workflows - Tutorial
7. Go to the CMG launcher and open in Builder the dataset related to the base case option
(IMEX_TUTORIAL_PRED_BASE.DAT ).
8. Save the file as IMEX_TUTORIAL_PRED_WATER.DAT under the Prediction folder
9. Go to the Wells and recurrent section, and choose the Copy Well option.
10. From the list of producers, select wl16 and wl5. Click on next button.
11. Accept the options by default for step 2 and check the boxes to Copy Geometry and
Trajectory in steps 3 and 4. In step 5 under New Well Date select 2010/03/01.
12. Two new wells have been created to switch from production to injection.
16. Go to the Injected Fluid tab and select WATER. Click on Yes to Apply the Changes.
45
Introduction to CMG’s Modelling Workflows - Tutorial
17. Now we need to copy the specified events for well wl5_inj. To do this, select the events
(INJECTOR, constraints, injected fluid), right click and select the option Copy Events
Using Filter….
18. In the window that will pop-up, select wl5_inj under the Wells tab. Under Dates, select
2010-03-01. Click on Search & Add. Click OK and OK again to close the Well Event
window.
21. In order to perform injection using different wells in the reservoir, we need to attach the
injector wells to a group. In the Wells & Recurrent tree view, right click on the Groups (0)
and select New.
22. The Create New Group dialog window pops up. In the Definition tab, name the group
“FIELD” as the top-level group. Click on the Calendar button and input the date 2010-03-
01. The window must look like in the following figure.
46
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 53: Creation of a parent group
23. Click on the Add New Group button and create a new group with the name “G_INJ”.
Make sure FIELD is the parent group as shown in the following figure. Click OK.
47
Introduction to CMG’s Modelling Workflows - Tutorial
24. In the Wells & Recurrent tree view, expand the groups attached to FIELD, and double
click on the G_INJ to open the Group Events dialog window. Then click on the Attach
Wells… button to open the Well-Group Attachment dialog. Select “wl5_inj” and
“wl16_inj” and click OK.
25. Go to the Injection tab, check the GCONI group injection box and select GTARGET
(Under type) from the available options and a water constant rate (STW surface water
rate) of 4000 m3/day. This option will be used to inject a maximum water rate per group;
this option is useful especially when a fixed amount of water is available for the entire
reservoir. Press Apply.
48
Introduction to CMG’s Modelling Workflows - Tutorial
26. In the Apportionment tab check the box for water injection. Leave the default
apportionment method as Instantaneous Potential. This will distribute the injection
between the wells based on the potential for each well.
Analysis of Results
29. Open IMEX_Tutorial_Predictions.results
30. Go to Data Sources Open CMG simulation results to open the results for the water
injection case (IMEX_TUTORIAL_PRED_WATER.sr3).
31. Go to the Plots section in Project Navigation and click on the individual wells to see the
increase in oil production
49
Introduction to CMG’s Modelling Workflows - Tutorial
32. Click on the Oil Rate & RC plot that was created for the basecase and add the following
curves for the IMEX_TUTORIAL_PRED_WATER.sr3 case:
Figure 58: Comparison between base and water injection cases, production
33. Click on the Ave Pres POVO SCTR plot that was created for the basecase and add the
following curves for the IMEX_TUTORIAL_PRED_WATER.sr3 case:
50
Introduction to CMG’s Modelling Workflows - Tutorial
For Reservoir Pressure, select:
Data Type (SECTOR), Data Sources (IMEX_TUTORIAL_PRED_WATER.sr3), Data
(Entire Field), Parameter (Ave Pres POVO SCTR), Add Curve
Figure 59: Comparison between base and water injection cases, pressure
51
Introduction to CMG’s Modelling Workflows - Tutorial
Gas Injection
Another possibility to increase the reservoir pressure is by injecting gas instead of water. As the
saturation pressure was reached during the historical period, we can tentatively inject gas in the
gas cap in order to increase the pressure.
Analysis in Results
We can use Results to display different properties that can be useful to take decisions for the
stage of prediction.
1. Open IMEX_Tutorial_Predictions.results
2. In the Reservoir section of Project Navigation, select the Aerial View for
IMEX_TUTORIAL_PRED_BASE.sr3
3. Display the property of Gas Saturation for the end of the stage of history, 2010-02-01.
4. In the areal map we can observe a region of gas in the top of the structure (K layer 1).
Some well locations have been covered by this gas, wl12 and wl19.
5. Display the same property for the rest of the layers in the model.
6. For more analysis you can go back to the plots section and look at the gas production
through wl12 for the basecase
52
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 61: Production results for wl12
7. From this it can be concluded that wl12 should be converted into a gas injector.
53
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 62: Conversion of wl12 from producer to injector
Figure 63: Well constraints for the new converted well, wl12
16. Go to the Injected Fluids tab and select and change from WATER to GAS. Click OK.
54
Introduction to CMG’s Modelling Workflows - Tutorial
18. Select the Options tab, check the Status box and change the condition from OPEN to
SHUTIN. Click Apply and OK.
Analysis of Results
21. Open IMEX_Tutorial_Predictions.results
22. Go to Data Sources Open CMG simulation results to open the results for the water
injection case (IMEX_TUTORIAL_PRED_GAS.sr3).
23. Go to the Plots section in Project Navigation and click on the individual wells to see the
increase in oil production
Figure 64: Comparison between base case, water injection, and gas injection
55
Introduction to CMG’s Modelling Workflows - Tutorial
24. Similarly compare the results per field, oil production, oil recovery factor and reservoir
pressure.
25. Click on the Oil Rate & RC plot that was created for the basecase and add the following
curves for the IMEX_TUTORIAL_PRED_GAS.sr3 case:
For Reservoir Pressure, click on the Ave Pres POVO SCTR plot and select:
Data Type (SECTOR), Data Sources (IMEX_TUTORIAL_PRED_GAS.sr3), Data (Entire
Field), Parameter (Ave Pres POVO SCTR), Add Curve
56
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 66: Comparison of the three different scenarios of prediction, pressure
26. Based on the previous outcomes, the scenario with water injection generates better
results in terms of recovery factor, now the question is why. In order to understand the
results, we are going to analyze parameters such as saturations at the end of the
prediction.
27. In the Reservoir section of Project Navigation, click on
IMEX_TUTORIAL_PRED_GAS.sr3 to get access to the 3D view of the reservoir
28. Change the Property being shown to Gas Saturation and start animation from 2010-
Feb-01.
57
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 67: Gas Saturation distribution for gas injection scenario
29. It can be observed that the gas injection scenario generates an extended gas cap in the
reservoir. As a consequence, the gas production increases and most of the injected gas
is produced by the wells (Fig.72), reducing the effect of pressure support (see the reservoir
pressure comparison in Results Graph). This scenario is due to the flat condition in the
structure and open production intervals in the top layers.
30. Click on Time Series in the Plots section of Project Navigation and add two curves
(Sector – Gas Inje Rate & Sector – Gas Prod Rate SCTR)
58
Introduction to CMG’s Modelling Workflows - Tutorial
Horizontal Wells
Based on the above results, it was concluded that the water injection option is more attractive
from the point of view of oil recovery factor. Now we will analyze the possibility of developing the
field by adding new wells, in order to maximize the recovery factor.
Top Left Window – Property (Water Saturation), Plane (17), Date (2020-Jan-01)
Top Right Window - Property (Oil Saturation), Plane (17), Date (2020-Jan-01)
Bottom Left Window - Property (Permeability I), Plane (17), Date (2020-Jan-01)
Bottom Right Window - Property (Porosity), Plane (17), Date (2020-Jan-01)
59
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 69: Definition of new locations based on Sw, So, Permeability I, and Porosity
60
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 70: Definition of new well in Builder
8. In order to assign an appropriate group of constraints for the new well, we need to look at
other producer wells located in the same area. As can be observed in Figure , Wl9 is
located in the same area of the new proposed well, so we will use the same Bottom Hole
Pressure values for prediction, BHP=5794Kpa
61
Introduction to CMG’s Modelling Workflows - Tutorial
9. In Builder, in the Constraints tab, check the Constraint Definition box. Select the
OPERATE BHP Bottom Hole Pressure as the primary constraint: MIN: 5794 kPa; CONT
REPEAT. Also enter a MONITOR constraint of STO surface oil rate of MIN 3 m3/day and
select SHUTIN as the action.
10. Click OK to exit from the Create New Well panel.
11. Well wl20 should appear on the Wells & Recurrent tree view. There should be a red dot
next to this well indicating that there is a data problem.
12. Right click on this well and select Validate to display any errors or warning messages.
The message should indicate that there are no valid perforations defined for this well. Click
OK to close the window.
13. Using the plane slider display layer K=17 and change the property display to Permeability
I.
62
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 73: Areal view used for the location of the new well
14. Click on the + sign next to wl20 and double click on 2010-03-01 PERF to open the Well
Completion Data (PERF) window.
15. Click on the Perforations tab and click the Begin button to add perfs with the mouse.
Then click on the tool button for Advanced options to select perforate all intermediate
blocks between mouse clicks.
16. Check the Perforate All Intermediate Blocks box. Click OK.
17. Move the Well Completion Data (PERF) panel to the side so that the model grid can be
viewed.
63
Introduction to CMG’s Modelling Workflows - Tutorial
18. Move to K Plane 17. Click on grid blocks 21 5 17 and 28 5 17 to create horizontal
perforations.
19. Click Stop to end the perforations. Go to the general tab and change the well direction to
I axis. Click Apply and OK to exit. Change from areal view to IK-2D cross section and
click on the perforation date 2010-03-01 of well wl20 to display the horizontal section.
64
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 76: Cross section view, horizontal trajectory
20. Save the file one more time. Run the file with IMEX.
Analysis of Results
21. Open IMEX_Tutorial_Predictions.results
22. Go to Data Sources Open CMG simulation results to open the results for the water
injection case (IMEX_TUTORIAL_PRED_WATER_ADD_WELLS.sr3).
23. Click on the Oil Rate & RC plot that was created for the basecase and add the following
curves for the IMEX_TUTORIAL_PRED_WATER_ADD_WELLS.sr3 case:
65
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 77: Comparison of different production scenarios including additional wells
66
Introduction to CMG’s Modelling Workflows - Tutorial
Use of Triggers
If we have a limitation in our facilities to handle a maximum of 2,500 m3/day of produced water then
we need, in our simulations, a way to monitor this maximum production. Since most of this water
comes from the injector wells, we also need to monitor reservoir pressure in order to avoid a
reduction in pressure below 7,500 kPa.
We are going to use the Trigger feature to shut-in the injector wells (16 and 5) when the water
production increases above 2,500 m3/day and open the same injector wells if the reservoir pressure
decreases below 7,500 kPa.
1. Open " IMEX_TUTORIAL_PRED_WATER_ADD_WELLS.dat " model using Builder
2. Click File in the main Builder menu and select Save As. Name this file ".
IMEX_TUTORIAL_PRED_WATER_ADD_WELLS_TRIGGER.dat ".
3. Click on the Wells & Recurrent section in the tree view and double‐click on the
Triggers (0) option.
4. Select the Date 2010-03-01 for the trigger definition date.
5. Input the following Trigger Name: WATER_RATE
6. Select Field under Apply On dropdown menu.
7. Select STW-RP: Stock Tank Water – Rate of Production under When dropdown
menu and define the trigger value higher than > 2,500 m3/day
8. Under Options input a value of 10 for the Maximum number of times that the actions
specified with the trigger can be taken.
9. Type the following inside Actions box:
SHUTIN 'wl5_inj'
SHUTIN 'wl16_inj'
10. The well management Trigger interface should include the following information.
67
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 78: Well management for triggers.
68
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 17: Well management for triggers.
19. Click on Apply and OK. Save and run the file in IMEX.
20. Open the .sr3 file in Results
21. Click on the Time Series in Project Navigation and add the following curves:
(Sector --- Water Prod Rate SCTR --- Entire Field) and (Sector – Ave Pres POVO SCTR
– Entire Field) to see the effect of the trigger.
69
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 80: Combined effect of two triggers in simulation results.
70
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 81: Selection of cells around well wl10 to extract a sub-model
4. In order to extract a sub-model, go to Reservoir, then Edit grid and Extract Sub-
model… Click OK to accept the selection (I=9 to I=13), (J=15 to J=19) and (K=1 to
K=20). In the pop-up window click Yes to recalculate tolerances.
5. In order to reproduce the effect of water coning, you will be required to change the
position of the water oil contact and perforations.
6. In the Initial Conditions section change the Water Oil Contact to 1650m.
7. Under Wells & Recurrent, expand the Wells section and double click on the
perforation date wl10, 1995-03-01. Go to the Perforations tab and remove
perforations in layers 1 to 16 and 18 to 20 by using the button . Leave perforations
in layer 17. Click on Apply and OK.
71
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 82: Removing perforations in the well
8. Double click on the well name wl10 to open the Well Events window. Remove the events
from 1995-04-01 to 2010-02-01. To do this, highlight the events, right click and select
Delete Events Selected in the List and click Yes to apply the changes.
9. Click on Constraints and remove the original one, related to BHP=200 kPa, by
highlighting the constraint and using the button .
10. Define a new constraint for the well: OPERATE, STL surface liquid rate = 150m3/day,
CONT REPEAT. Click on Apply button.
11. Go to the Options tab and under status change the condition to OPEN. Press Apply and
OK.
12. Go to the I/O control and remove the restart file by unchecking the Restart box. Click OK.
72
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 83: Removing restart file
73
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 85: Selection of number of layers to refine
20. Then select Cartesian as the Type of Refinement and click Next. Specify the number
of block divisions in each direction as the following figure.
21. Click Finish. Select the Probe Mode to exit the Edit Grid mode. Save the file one more
time.
22. Run the file using the scheduler and 1 processor
74
Introduction to CMG’s Modelling Workflows - Tutorial
23. Drag and drop the corresponding .sr3 file onto Results. Also open
IMEX_TUTORIAL_SUBMODEL.sr3 in Results by clicking on Add Files – Open…
24. From the Reservoir section in Project Navigation, drag and drop both JK 2D views onto
the same dashboard window to be able to compare results side-by-side.
25. In the Dashboard section of the ribbon menu, change the layout to a 1 by 2 grid to be
able to visualize the models properly.
26. In the Display section of the ribbon menu, change the slider to Plane 3. Then select the
property Water Saturation and compare two models for distribution of water saturation
around the wl10 well. Make the changes for both views individually.
75
Introduction to CMG’s Modelling Workflows - Tutorial
Extra Exercise – Water Saturation vs. Distance Plot
In Results, we can plot the water saturation along the length of the well in order to see the
difference made by adding refinements.
76
Introduction to CMG’s Modelling Workflows - Tutorial
Hydraulic Fractures
We want to see how much production could be achieved if the reservoir was much tighter. To see
this comparison, we will reduce the permeability of the reservoir by a factor of 10. We will also
examine the effect of adding a hydraulic fracture to a well in the tight reservoir.
To have an accurate comparison between the differing permeability cases, we will remove the
production rate constraints and operate the wells with a constant bottom-hole pressure. This is
commonly done when predicting performance in new fields where no production has yet occurred.
5. In the 2. –Dates tab select All. In the 3.- Search conditions select ALTER and click on
Search & Add button. Click OK
77
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 89: Selection of wells to delete CONSTRAINTS using events filter
6. In the new window that will appear, click on constraints for the well, wl1, 1993-01-01.
Change the value of the first constraint (STL) to be 150 m3/day and for the second one
(BHP) change the value to 1000 kPa. Set the Action to be CONT REPEAT for both
constraints:
7. Copy these two constraints for the rest of producer wells by using the button Tools > Copy
Events using filter. In the 1.- Wells tab, (In case it is needed, remove the previous
selection by using the Clear List button).
8. On the 2.- Dates tab, click on Search & Add button, keep checked the dates for all the
wells. Click on OK. Make sure the well constraints are the same in the rest of the wells.
9. Save this file as IMEX_TUTORIAL_CONS_BHP.DAT in the Additional Exercises folder
and run this file.
78
Introduction to CMG’s Modelling Workflows - Tutorial
Modify Reservoir Permeability
To modify the reservoir permeability we will assign the current permeability array to a custom
property and then use a formula to apply a modification. The reason that we assign the
permeability to a custom property first is so that we can keep the original perm definition and so
we don’t run into problems of circular dependency.
You will notice that the variable X0 has been assigned to the property Permeability I.
13. Click on Insert Selected into Formula button. This will be the formula to assign
permeability to the custom property.
79
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 92: Assigning the original Permeability to a temporary custom property
14. Repeat the previous steps to generate an additional formula and name it “Por_Orig”.
Select the property of Porosity and insert into the formula definition.
80
Introduction to CMG’s Modelling Workflows - Tutorial
18. Right click on the Whole Grid Cell for the CMGLCUSTOM_PERM property and select
Formula.
19. In the window that appears select Formula. The Formula Manager window will appear
where you should select the Perm_Orig Formula and click OK.
20. Click OK again and then perform the same task for the custom property
CMGLCustom_POR and choose the formula Por_Orig.
81
Introduction to CMG’s Modelling Workflows - Tutorial
21. Click OK in the General Property Specification window. Click OK in the next two
windows that appear. There should now be two custom properties where there values
are equal to the original property arrays.
22. Re-open the Formula Manager window by going to Tools>Formula Manager.
23. First create a new formula called “Perm_mod”
24. Add the property CMGLCustom_Perm and multiply this property (X0) by a value of 0.1
(use the calculator buttons). This will reduce the original permeability by a factor of ten.
Click on Apply button and OK to the message related to the formula and the property.
25. Repeat the previous steps to generate an additional formula and name it “Por_mod”.
Select the property of CMGLCUSTOM_Por and multiply this by a factor of 0.1. Click on
Apply. You should see the following information.
82
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 97: Formula to change porosity
28. Click OK to the message that will appear. Click on the Formula button and select the
formula Perm_Mod.
83
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 99: Selection of formula NAME from formula manager.
32. Click OK in the General Property Specification window and OK to the message
relating to circular dependency. In the Block/Corner Value Calculation window that will
appear, be sure to uncheck the boxes relating to the two custom properties
84
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 101: Uncheck the Custom Properties
This will ensure that the custom properties will not be recalculated. This is to guarantee
that we always save our original permeability and porosity data.
33. Go to the Launcher and run the file using IMEX.
34. Plot the oil production rates per well. It can be observed that the production per well is low
as typically happens in tight reservoirs.
85
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 102: Production profile per well for tight reservoir.
86
Introduction to CMG’s Modelling Workflows - Tutorial
Addition of Hydraulic Fracture
We will examine how much of an increase in production rates can be seen if a well is hydraulically
fractured. The Hydraulically Fractured Wells wizard performs Local Grid Refinement to bring the
grid-block size close to the actual fracture width, to model the fracture more explicitly than using
something like skin factor.
The low production rate in the hypothetical reservoir of lower permeability can be remedied by
implementing hydraulic fractures in some wells.
37. In the new window that will appear, click on the Non-Darcy Option tab at the top of the
wizard. Select General Correlation as the Non-Darcy Flow Option. The following
values will be applied for each phase:
Alpha: 1.485e9
N1: 1.021
N2: 0
Forch_max: 10,000
Forchheimer Number Weighting Factor: 0.5
87
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 104: Non-Darcy flow options for hydraulically fractured wells
38. Click on the Templates tab and select to create a new template. Enter in the
following Properties:
Fracture width: 0.005m
Intrinsic Permeability: 60000 mD
Orientation: J –Direction.
Number of refinements in the I direction: 5
Number of refinements in the J direction: 5
Number of refinements in the K direction: 1
Half Length: 250m
Number of layers above perforation: 1
Number of layers below perforation: 1
88
Introduction to CMG’s Modelling Workflows - Tutorial
Figure 106: Creating a new fracture Template
39. Click the Apply button and navigate to the Fractures tab.
40. Select the date 1993-06-15 for well ‘wl5’ and then select New Planar Fracture Stage.
41. Select Planar Template for the Fracture Template. Click Apply and then close the
“Hydraulically Fractured Wells” window.
42. In the tree view under Numerical double click on Numerical Controls. Adjust the
following settings:
DTWELL: 1e-4
DTMIN: 1e-6
89
Introduction to CMG’s Modelling Workflows - Tutorial
NCUTS: 7
43. You can zoom in to see the refinement for the fracture and how the Permeability and
Forchheimer Equation Beta Correction properties have been modified for the grid
blocks corresponding to the fracture.
90
Introduction to CMG’s Modelling Workflows - Tutorial
Extra Exercise
1. Using the Horizontal Wells case as a base case, implement a development plan for the
reservoir.
2. Extend the prediction period until 2027-01-01.
3. Convert one or two wells from producers to injectors in 2010-03-01.
4. Use groups to control the injection rate. Try different injection rates.
5. Drill new horizontal wells and define an estimate of the maximum number of new wells for
this reservoir.
6. Compare your scenarios per well and per field in terms of the oil recovery factor.
7. Create conclusions of your different scenarios of prediction.
91
Introduction to CMG’s Modelling Workflows - Tutorial