Documente Academic
Documente Profesional
Documente Cultură
|
|
.
|
\
|
=
Pkrw
oirw wcrit
wcrit w
rwiro rw
S S 1
S S
K K
(
(
|
|
.
|
\
|
=
Pkro
orw wcon
orw o
rocw row
S S 1
S S
K K
Since we are not changing the endpoints, the only variable that we will change in this case is the
Pkrw and the Pkro.
3. Given the following parameters:
Swcrit = 0.306
Soirw = 0
Sorw = 0.313
Swcon = 0.306
Krwiro = 1
Krocw = 0.9062
So, the first krw value is defined as follow (using Pkrw = 3):
0
0 . 0 306 . 0 1
306 . 0 306 . 0
1 K
3
rw
=
(
(
|
|
.
|
\
|
=
And the second value is:
5
3
rw
10 0398 . 4
0 . 0 306 . 0 1
306 . 0 329813 . 0
1 K
=
(
(
|
|
.
|
\
|
=
Since CMOST allows for the definition of a parameter as a function, we will now input the
corey equation for each of the Krw and Krow values in the SWT table. The only number
that changes as you move down the Krw column is the
|
|
.
|
\
|
orw wcon
orw o
S S 1
S S
value.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 24
So you can manually put this in yourself, or copy and paste the tables from the CMOST-SWT.txt
file.
4. Once this is completed, scroll down the the end of the first SLT table and enter the following
lines:
KRWIRO <cmost>this[1]=Krwiro</cmost>
KROCW <cmost>this[0.9062]=Krocw</cmost>
This allows to change the end point scaling of the rel-perm curves.
5. Rename the file as ASP_WF.cmm file. It is important to have the extension to be .cmm now so
that it can be read by CMOST.
Open up Launcher and double click on the CMOST Studio 2011.** icon to open up CMOST
Studio.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 25
6. Click on File >> New . Under the Task Type menu, select History Matching. Click on Browse
ands elect the base irf file (ASP_WF.irf). Click OK once finished.
7. Next is the CMOST main screen. On the left are the different sections that will need to be
completed before CMOST can be run.
For the Master dataset, browse and select the ASP_WF.cmm file. The base dataset should be
ASP_WF.dat and the base session file should be ASP.ses. Once these are selected, there should
be a green check mark next to the General Properties at the bottom of the window.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 26
8. Click on Parameters on the left hand side of the screen. This is where the parameters their
ranges of values will be set.
Click on the Import button. This import all the parameters from the CMM file. Alternatively,
you can also set up new parameters either directly in the CMM file or using Builder.
Once you have clicked Import, there should be 4 parameters that show up. They are:
- Krocw
- Krwiro
- Pkro
- Pkrw
The range of values for these parameters can be set in the candidate values section at the
bottom of the window.
Select Krocw and under the enter 1.0, 0.9062, and 0.8 as it's candidate values.
9. Select Krwiro and enter values of 1.0, 0.8, 0.6, 0.4, 0.35, 0.3, 0.25 for it's candidate values.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 27
10. Select Pkro, and click on the Generate button. Enter the Minimum Value as 1.5, Maximum
Value as 2.5, and the number of values as 11. This will enter a range of values from 1.5 to 2.5 in
0.1 increments.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 28
11. Repeat the steps for Pkrw. Once this is done, the red x should disappear from the parameter
section and we can move on to the next section.
12. For the Optimization, we will leave is as DECE. Note the other potential optimization methods
that are also available.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 29
13. Next thing that will be defined will be the objective functions. Objective functions are what will
be matched in the task. In this case we want to match 2 things: oil production and injection
pressure.
Click on Insert on the right handside to define a new objective function. Rename the objectie
function to CumOil. At the bottom is the objective function terms that make up the objective
functions. For this term, leave the Origin Type as Well, Origin Name to PRODN, Property to
Cumulative Oil SC, and select the Prod.fhf as the field history file.
Click Insert again to defined a new objective function and this time name it BHP. For the
objective function terms, set it as Well - INJTR - Well Bottom-Hole Pressure . Select the
Inject.fhf as the field history file.
There should now be 2 objective functions (CumOil and BHP) and each with one objective
function terms.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 30
14. The Influence matrix will be leave as default.
15. Results observers allows for graphs of results from different runs to be displayed as CMOST is
running. For this case we want to see the cummulative oil produced as well as the injector BHP
(the 2 objective functions) during the CMOST run.
Click on the Import button, then select all the objective functions then click OK
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 31
16. Once that is done, the final step is to set up the Run Configurations. For this case, leave the
runs on the local machine and run 2 simultaneous jobs at a time.
Select STARS 2011.** as the simulator version and leave everything as default.
17. Save the task as Waterflood-HM.cmt. Then click Start Task to start the CMOST run.
Once CMOST is completed, check the results and compare the most optimized runs to the historical data.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 32
EXERCISE #3 - ASP History Match with CMOST
1. Load the base waterflood model (ASP-WF.dat) into text editor. Remove the STOP keyword at
2006-01-02.125. Save the dataset as ASP_HM.dat and re-run the dataset.
2. Once the history match is done, load the best matched waterflood dataset into text editor.
Enter the following after the DTRAPW and DTRAPN keywords for the 2nd interpolation set:
DTRAPW <cmost>this[-3.5]=DTRAP2</cmost>
DTRAPN <cmost>this[-3.5]=DTRAP2</cmost>
3. Repeat the same process for the 3rd interpolation set.
DTRAPW <cmost>this[-2]=DTRAP3</cmost>
DTRAPN <cmost>this[-2]=DTRAP3</cmost>
4. After the SLT table for the 2nd interpolation set, enter the following:
KRWIRO <cmost>this[0.3]=krwiro</cmost>
KROCW <cmost>this[1.0]=krocw</cmost>
SORW <cmost>this[0.3]=SORW</cmost>
5. Locate the KEYCOMP keyword and replace the values with:
KVTABLE 'Surfact'
KEYCOMP
**$
0 0
0 0
KEYCOMP
**$
<cmost>this[200]=KvTab</cmost> <cmost>this[200]=KvTab</cmost>
<cmost>this[200]=KvTab</cmost> <cmost>this[200]=KvTab</cmost>
This value controls the amount of reversible partitioning of the surfactant into the oil phase.
6. Find the keyword FREQFAC for surfactant. This value controls the reaction rate for irreversible
partitioning of the surfactant into the oil phase. There is also a reaction that governs the
decomposition of the polymer so make sure to locate the one for the surfactant (normally it is
reaction #2). Enter the following:
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 33
FREQFAC <cmost>this[0.110672]=FreqFacsurf</cmost>
Repeat the process for the reaction involving polymer:
FREQFAC <cmost>this[0.02284]=frefacpoly</cmost>
7. Finally locate the ADMAXT keyword. This value controls the maximum adsorption capacity of a
rock to a certain component. Once again, there will be one for polymer and surfactant. Replace
the ADMAXT value with the following:
ADMAXT <cmost>this[10.1688]=AdMaxSur</cmost>
ADMAXT <cmost>this[0.299081]=AdMaxPol</cmost>
8. Remove the STOP keyword that was placed at the end of the water flood. Save the file with a
.cmm extension in the same folder as the previous .cmm file for water flood.
9. Open up the .cmt file used for the waterflood match. In the general task pane, change the
master dataset file to the newly created asp history match .cmm file. Also change the base
dataset to ASP_HM.dat and the base irf to ASP_HM.irf.
10. In the Parameters section, delete all the parameters, then click Import to bring in the new
parameters that were created from steps 1-6. The range for candidate values are as follow:
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 34
AdmaxPol: 0.05 to 0.3 (in 0.025 intervals)
AdmaxSurf: 1, 1.5, 2, 3, 5
DTRAP2: -3.4 to -2.2 (in 0.1 intervals)
DTRAP3: -2 to -0.4 (in 0.1 intervals)
KvTab: 10, 20, 50, 100
SORW: 0.18, 0.21, 0.24, 0.27
krwiro: 0.4 to 0.8 (in 0.1 intervals)
krocw: 0.7 to 1 (in 0.1 intervals)
FreqFacSurf: 0.06, 0.08, 0.1, 0.15, 0.2
freqfacpoly: 0.01 to 0.1 (in 0.01 intervals)
11. In the Objective Function screen, add a new objective function and name it CumSurf. For the
objective function term, the Origins = WELLS, Origin Name = PRODN, Property = Cumulative
Water Mass (Surfact) SC.
Add 2 more objective functions, one for cumulative polymer and one for cumulative alkaline by
repeating the process above.
Finally, the end date for all the objective function terms need to be changed to 2006-01-
06T21:13:03.
12. In the Results Observers section, click the import button and add new plots of cumulative
surfactant, cumulative alkaline and cumulative polymer.
13. Save the cmt file as Chemflood.cmt and click on Start Task.
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 35
Exercise #4 Add Shear Dependence Viscosity
1. Using the table below, calculate the velocity from the shear rate by using the following
equation:
( )
10066 *
* * * *
SRF
Sl kr k SR |
v =
where v = velocity (cm/sec)
SR = shear rate (1/sec)
K = Absolute Permeability in Darcy = 2.591 D
= Porosity (factor) = 0.2494
Sl = fractional liquid saturation
SRF = C*((3n+1)/4n)^((n-1)/n)
where n =shear thinning power exponent (default = 0.5)
C = constant value (usually equal to 6
Shear
Rate
1/S
Slug viscosity (cp) Velocity
cm/sec
Velocity
m/day
500ppm
Polymer
1000ppm
Polymer
1500ppm
Polymer
0.6624 5.2 7 10
1.10206E-05 0.009522
6.624 4.8 5 9.2
0.000110206 0.095218
66.24 3.2 3.8 6.1
0.001102057 0.952177
2. Next, the polymer viscosity required to achieve the viscosities in the table above must be
calculated using the STARS mixing rule:
3. ( ) ( ) | | =
i i
fx u ln ln
where = phase viscosity
= viscosity of component i
=
poly
surf surf alk alk w w
poly
fx
R x R x R x
ln ln ln ln
exp
Notice that the R ratio needs to be multiplied to the mole fraction of individual components
to scale it to that specific mole fraction.
= 5.2
u
w
= u
alk
= u
surf
= 0.8177
fx
poly
= 0.54157
R = 0.45843
x
w
= 0.9994977650
x
alk
= 0.00045144/
x
surf
= 0.00004965900
Using the numbers above, the polymer concentration should come out to be 24.89.
Repeat this same calculations for the other shear rates, and the velocity versus polymer
concentration should look as follow:
**Velocity Viscosity
**m/day cp
0.009522 24.89
0.095218 21.34
0.952177 9.99
Create a table using the keyword SHEARTAB and add this table to the dataset using the text
editor.
The dataset should look something like this:
ASP Modelling using STARS
Sudanese Petroleum Corporation-CPL October, 2012 Page 37
The SHEARTAB will be applied to the last component specified with the VSMIXCOMP
keyword so make sure that polymer is the last component specified with this keyword.
Run the dataset and compare the results. Note that in the core lab flood, the velocity is
constant so there will not be much effect on this. When this data is used in a field model, the
injection rate will be mostly positively affected (increase injectivity due to lower viscosity).