= +
3*(1 ) (1 )
DRY DRY
S = +
2
0 0
*
P
M V =
1 a S =
0 0
* *( 1) ( )
M f M
b S K K S M K
0
= +
0 0 0
*( )*( 1)
M M f
c S M K K K =
2
( 4 y b b ac = + ) 2a
K
0 0
(1 )*
B M
K y =
The values of
0 M
,
DRY
, and are calculated and printed on the Sand Parameters page
when theCalculate button is pressed:
0 B
K
AFI September 2004
26 Hampson-Russell Software Services
Step 2: Calculate the new fluid replaced values for Vp, Vs, and Density
The previous step is only performed once, based on the base sand parameters. The next step is
performed once for each realization generated from the stochastic model.
The input values for this step are:
0 M
= Matrix density of base sand layer (calculated in Step 1)
DRY
= dry rock Poissons ratio (calculated in Step 1)
0 B
K = dry rock Bulk Modulus (calculated in Step 1)
W
= output water density (from stochastic model)
W
S = output water saturation (from stochastic model)
= output porosity (from stochastic model)
H
= output hydrocarbon density (from stochastic model)
M
= output matrix density (from stochastic model)
W
K = output water bulk modulus (from stochastic model)
H
K = output hydrocarbon bulk modulus (from stochastic model)
The algorithm is:
0 0
/(1 1 )
p B
K K K
0 M
=
(1 ) (1 )
W W H W M
S S = + + (the desired output density)
1/( [1 ]/ )
f W W W H
K S K S K = +
1/( 1/ )
B P
K K K
M
= +
3 3(1 )
1
4 1
B DRY
B
DRY
K
=
+
( )
2
2
1
4
(1 )
3
B M
B
B
B M
M f
P
K K
K
K K
K K
V
+ +
+
= (the desired output P-wave velocity)
2
S B
V = (the desired output S-wave velocity)
AFI September 2004
AFI Menus 27
Clear Existing Depth
The Model / Clear Existing Depth option is used to remove all stochastic model information for
a specified depth level, which has already been previously defined. This step is not reversible.
The Model / Clear All Depths option removes all stochastic model information for all
previously defined depth levels.
AFI September 2004
28 Hampson-Russell Software Services
Copy Depth
The Model / Copy Depth option creates a new depth level at the specified depth by copying all
parameters from a previously defined depth level.
AFI September 2004
AFI Menus 29
Import (Export) ASCII Model
The options to Export / Import ASCII Model are used to create and read an ASCII file which
contains all the stochastic parameters currently defined in the model.
An example file is shown below, with 4 depth levels:
Note that all parameters in this file are in free format, so this option can either be used to store a
model created in AFI, or to start from scratch and create a new model externally.
AFI September 2004
30 Hampson-Russell Software Services
Simulations
The Simulations button contains all the options which create and manage simulations. By
simulations is meant a set of particular values for the stochastic model, generated from the
probability distributions, along with their corresponding calculated intercept and gradient values.
In order to run simulations, a model must already have been created at one or more depth levels,
using the options under the Model button. This step must be run before the Calibration or
Apply options may be run.
The options are:
Run Simulations: This option creates a simulation result by Monte-Carlo analysis, using the
existing model.
Display Simulation Result: This option displays the results of a previously generated
simulation run.
Delete Simulations: This option deletes the stored data from a previously generated simulation
run.
AFI September 2004
AFI Menus 31
Run Simulations
The Run Simulations option creates a new set of simulated points from the existing model. The
model must already have been defined for one or more depth levels using the options under the
Model button. The result of this process is a set of predicted values of intercept and gradient for
each of the 3 possible fluids: brine, oil, and gas. If the model contains more than one depth level,
simulations will be run for all depth levels at once.
The process consists of the following steps. First, a particular instance of the 3-layer model is
created for brine case. This uses the Biot-Gassmann theory described in the previous section,
Biot-Gassmann Calculations. Using that model, two synthetic traces are generated internally
as shown in this figure:
AFI September 2004
32 Hampson-Russell Software Services
Note that in this process a wavelet is assumed to be known. From the calculated synthetic traces,
the top of the sand (or alternatively, the base) is picked automatically. From the picked
amplitudes, the theoretical intercept and gradient are calculated. Note that although only the top
of the sand is picked, the sand thickness is still modeled because of wavelet interference from the
base.
This effectively has created a single point in the Intercept / Gradient space, corresponding to a
brine case. Now, the process is repeated two more times using Biot-Gassmann calculations to
replace the brine with oil and then with gas. At this point, there are three values in Intercept /
Gradient space. Finally, by repeating this 3-step process many times (typically 200), a cluster is
generated in Intercept / Gradient space for each of the fluid types at each depth level.
The parameters on this menu are:
Number of Simulations: This is the number of points which will be created in each of the fluid
clusters. There is never any harm in setting this to a very large number. It only affects
the run-time. Since the clusters are typically shaped as ellipsoids, the default value of
200 is usually enough.
Calculation Option: This refers to the algorithm which is used to calculate the synthetic
amplitudes. The options are Zoeppritz or Aki-Richards. This parameter does not
usually have a big influence on the results.
Near / Far Angle: These parameters set the two angles for the synthetic traces. Theoretically,
the resulting Intercept and Gradient should not be very sensitive to these values.
However, if the Far Angle is too large, the definition of Gradient may not be very
meaningful. It is recommended that the Far Angle should not exceed 45 degrees.
Model this Interface: The options here are to model the Top of Sand or the Base of Sand. In
applying these results to real data, it is critical to be consistent with the picked values on
the real data.
AFI September 2004
AFI Menus 33
Model Sand Thickness: This is the option to allow the thickness of the sand to influence the
result. If this is set to No, the thickness is effectively so large that there is no influence
from the base of the sand layer. In this case, the probability distribution for the thickness
will be ignored, and the wavelet will also not affect the result. If this option is set to Yes,
the thickness will be varied using the probability distribution for this parameter. Also,
the wavelet specified in the next field will be used to create the internal synthetics.
Use this wavelet: The field is only used if the option to Model Sand Thickness is set to Yes.
The list of available wavelets is the set of all wavelets in the project. Typically, a wavelet
should be extracted from the real data which is used in this project.
Simulation Name: This is a name, which is used to describe and refer to this simulation result
in subsequent processes. Many simulations may be created with varying parameters.
This is done by supplying different names. The default option is to keep using the same
name, which means that each time a new simulation run is performed, the old results will
be over-written.
AFI September 2004
34 Hampson-Russell Software Services
Display Simulation Result
The Display Simulation Result option is used to display the calculated Intercept / Gradient
results for a particular simulation run.
The options are:
Display this simulation: This is the name given to the simulation result to be displayed. This
name was chosen on the Run Simulations menu.
Display: This determines how many cross-plot windows will be displayed on the screen at
once. This is only available if the stochastic model contains more than one depth level.
Each window then shows one of the depth levels for this simulation. The parameter
starting at depth specifies the first depth which will be shown.
Automatic Scaling. This option determines whether the scales for the Intercept and Gradient
axes will be set automatically or manually. If this option is turned Off, then the
subsequent parameters are used to set the range for X (intercept) and Y (gradient) values
on the plot.
AFI September 2004
AFI Menus 35
Delete Simulations
The Delete Simulations option is used to delete all the stored data corresponding to one or more
simulation runs.
The parameters are:
All Simulations in Project: This lists all simulation results currently stored in the project.
Delete These Simulations: These are the simulation which you wish to delete. Note that this
step is irreversible.
AFI September 2004
36 Hampson-Russell Software Services
Simulation Plot
The Simulation Plot shows calculated simulations at one or more depths. The critical controls
for this plot are:
View: This pulldown has options specific to this plot. See the following sections for details.
Calibration: This option allows an extra menu to appear on the base of the plot which allows
interactive manipulation of the parameters used in the simulation runs.
Next >> / << Prev: These buttons are used to scroll the plot through different levels. This is
only useful if there are more depth levels calculated than are being currently displayed.
For example, if there are 6 depth levels, and only 4 display panels, then clicking on Next
will cause the plot be re-drawn with the next depth levels displayed.
AFI September 2004
AFI Menus 37
View
The View pullDown menu of the Simulation Plot has specific features for this type of plot.
These features are:
Set Axes Range: This brings up a menu which allows you to set the ranges for the Intercept
(X) and Gradient (Y) axes.
Gas / Oil / Brine / No Probability: These options allow you to display the calculated
probability for each fluid component as a color display behind the cluster points.
Classify Real Data: This option is only available if real data points are being plotted, ie, when
this plot is being used as a Calibration Plot. In that case, enabling this option will cause
each real data point to be classified according to its probability of being one of the fluid
types.
Real Data on Top: This option is only available if real data points are being plotted. In that
case, this option controls whether the real points are plotted over the simulation points, or
vice versa.
Show Legend / Titles / Color Bar: These options control the amount of annotation being used
on the display. When more than one cross-plot is being displayed, there is usually a need
to minimize annotation to increase the space available for the actual plot. By default all
of these annotation items are removed. These options allow you to turn each on
individually. The next option, Minimize Annotation, turns all of them off together.
AFI September 2004
38 Hampson-Russell Software Services
Set Axes Range
The Set Axes Range menu allows you to set the Minimum and Maximum values for the axes
for all the plots simultaneously. These parameters will be stored and used on all subsequent
plots. The option Use Automatic Scaling forces all the axes to be re-scaled automatically.
AFI September 2004
AFI Menus 39
Calibration
The Calibration option of the Simulation Plot is used to turn on and off a base menu:
This menu is used to interactively change a single parameter at all depth levels in the display.
For example, the figure shown above asks the program to change the Output Porosity to a
Uniform Distribution from 0.5 to 0.40. Clicking on the Update Model button will cause the
simulations to be re-run for all depth levels currently showing in the display. To control the
calculation time, the Number of Simulations defaults to 20 instead of 200, but this may be set
to any value. The new values used in the model are not saved, meaning that when the
Simulation Plot is removed, the changes are lost.
AFI September 2004
40 Hampson-Russell Software Services
Calibration
The Calibration option is used to simultaneously display simulation data and real data for the
purpose of calibrating, i.e., determining scalers which allow the two types of data to be
displayed on the same scale. For details on these scalers, see the section Calibration Display.
In order to run this process, two types of data must be available. The first is simulation data,
which is created by using the Simulations option. The second is real data values. The real data
are data slices derived from 3D seismic data. Two slices are always required, in either of these
two forms:
(1) An Intercept and Gradient slice
(2) An amplitude slice from a near-angle stack and an amplitude slice from a far-angle stack.
AFI September 2004
AFI Menus 41
These slices are usually generated in the AVO program. For more information on how to
generate amplitude slices, see the AVO documentation.
In addition to generating data slices, it is usually helpful to define zones on the slices to be used
in the analysis, as shown below:
These zones are areas of known fluid types, or areas of specific interest. The procedure for
defining zones on data slices is controlled by the View / Zones option of the Data Slice
Window.
The items on this menu are:
Number of cross plots: This can be set to 1, 2, or 4. This option is only useful if there are
several zones defined on the real data slices. Each cross plot contains the data from one
of these zones.
Zone List: This is the list of all zones defined for the selected cross plots. These zones must
have already been defined using the Data Slice options as described above.
Selected zone: This is the set of zones that will be displayed. There should be as many items
here as the Number of cross plots defined above. Note that <NO_ZONE> is an
allowable option, meaning that all of the real data points will be plotted in that cross plot.
Use this simulation: This is the name of the simulation data set which will be displayed. This
name has been set when the Run Simulations option was used.
AFI September 2004
42 Hampson-Russell Software Services
Select simulation depths this way: This option is only used when the stochastic model has
more than one depth level. Then the program must decide which depth level to use for
each of the cross plots. There are two options here. Use a constant depth means that
the depth value specified in the next field will be used for all the cross plots. Use a
depth slice means that there is a depth slice available which will be used. The name of
the depth slice is specified in the next field. This depth slice is used this way: all the
points for the Selected Zone in a particular cross plot are compared with the depth slice
to determine the average depth for those points. Then the depth level nearest the average
is used for that cross plot. Note that a depth slice may be calculated from a time horizon
in AVO or AFI using the option Horizon / Time-Depth Conversion.
Type of Calibration: There are two choices here. Intercept / Gradient means that the real data
slices are Intercept and Gradient. The names of these slices are then specified in the
fields Intercept Slice and Gradient Slice. Near Angle / Far Angle means that the real
data slices are the amplitude slice at a near angle and the amplitude slice at a far angle.
Then the subsequent fields specify the names of those slices and the angles at which they
were derived.
AFI September 2004
AFI Menus 43
Calibration Display
The Calibration Display shows cross plots of real data points (in black) and simulated points (in
color). The cross plot axes are Intercept and Gradient. The purpose of the cross plot is to set
scalers which allow the real and simulated data to be plotted simultaneously. These scalers are
also used in the subsequent step of predicting the fluid properties from the real data slices.
The reason why scalers are required is that, while the simulated data accurately reflect the real
range of intercept and gradient for reflection coefficients, the real data values typically have an
arbitrary scaling. There may also be an error in the gradient due to processing limitations.
AFI assumes that the correction of the real data is effected by two numbers:
global
S = a number which multiplies both the intercept and gradient values
gradient
S =a number which multiplies only the gradient values
If the input (unscaled) real data values are
input
I and , then the output scaled values will be:
input
G
*
output global input
I S I =
* *
output global gradient input
G S S G =
AFI September 2004
44 Hampson-Russell Software Services
The scalers may be specified in two ways. One way is to type them in manually, then click on
the Apply Manual Scaling button. The cross plots will be redrawn after applying the new
scalers to the real data. The second way is to ask the program to do an automatic scaling. This is
initiated by clicking on the Apply Auto Scaling button. This will cause a series of menus to
appear which are described in the following pages. Normally, the best procedure is to apply the
auto scaling first, followed by manual modifications.
If the scalers are modified in any way, and then the Ok button is clicked on this menu, the
following menu appears:
If you click Yes on this, the new scalers will be saved in the project and will available for
application to the real data in the next stage. Otherwise, the new scalers will be discarded.
AFI September 2004
AFI Menus 45
View
The View pulldown menu of the Calibration Plot has specific features for this type of plot.
These features are:
Set Axes Range: This brings up a menu which allows you to set the ranges for the Intercept
(X) and Gradient (Y) axes.
Gas / Oil / Brine / No Probability: These options allow you to display the calculated
probability for each fluid component as a color display behind the cluster points.
Classify Real Data: This option is only available if real data points are being plotted, ie, when
this plot is being used as a Calibration Plot. In that case, enabling this option will cause
each real data point to be classified according to its probability of being one of the fluid
types.
Real Data on Top: This option is only available if real data points are being plotted. In that
case, this option controls whether the real points are plotted over the simulation points, or
vice versa.
Show Legend / Titles / Color Bar: These options control the amount of annotation being used
on the display. When more than one cross-plot is being displayed, there is usually a need
to minimize annotation to increase the space available for the actual plot. By default all
of these annotation items are removed. These options allow you to turn each on
individually. The next option, Minimize Annotation, turns all of them off together.
AFI September 2004
46 Hampson-Russell Software Services
Apply Auto Scaling
The Apply Auto Scaling button is used to automatically calculate optimal scalers for the real
data intercept and gradient. The definition of the scalers is shown in the previous menu,
Calibration Display. This process works with the following steps:
(1) Select a series of wells which tie the current volume.
(2) For each well, select the default P-wave, S-wave, and density logs. If P-wave is not
available, ignore this well. If S-wave is not available, calculate it using Castagnas
equation. If density is not available, calculate it using Gardners equation.
(3) Using the current wavelet in the project, calculate two traces, one at incident angle 0
degrees and one at 45 degrees. From these traces, calculate the model intercept and
gradient,
M
I and
M
G . Note that each of these is a trace over the entire available time
range.
(4) Now, from the real data volume, collect pre-stack traces from bins around each well
location. This is very similar to the composite trace extraction in other AVO processes.
From these pre-stack traces, calculate the real intercept and gradient,
R
I and .
R
G
(5) Using a user-defined time window calculate the root-mean-square values for each of
these: , , ,
RMS
M
I
RMS
M
G
RMS
R
I
RMS
R
G
(6) Finally, calculate the desired scalers:
RMS RMS
global M R
S I I =
*
RMS RMS
gradient M global R
S G S G =
This menu has a series of pages. The first page selects the wells which will be used in the
analysis.
AFI September 2004
AFI Menus 47
Apply Auto Scaling (Page 2)
The second page of the Apply Auto Scaling menu specifies the parameters for extracting the
real data traces around each well location. This is identical to the Composite Trace extraction
menu for the process of Log Correlation or Wavelet Extraction Using Wells.
AFI September 2004
48 Hampson-Russell Software Services
Apply Auto Scaling (Page 3)
The third page of the Apply Auto Scaling menu sets the time window over which the analysis is
done. There are two options: the option to Apply to the complete seismic time window and
the option to Apply to a target zone. In the second case, that zone may be specified using
horizons. Note that since each of the wells in the project has a depth-time curve, the time
window on the seismic is that same as that on the well.
Ideally the window should be specified as several hundred milliseconds long, in a zone which
does not include the desired analysis horizon. It is not necessary that the analysis region contain
AVO anomalies in fact, it is probably better if it does not.
AFI September 2004
AFI Menus 49
Apply Auto Scaling (Page 4)
The fourth page of the Apply Auto Scaling menu is used to set the parameters for calculating
Intercept and Gradient on the real data traces. These parameters are identical to those used in
conventional AVO analysis. For details on this page, see the AVO documentation.
AFI September 2004
50 Hampson-Russell Software Services
Apply
The Apply button is used to analyze a set of real data slices and calculate fluid probabilities.
This is the last step in the AFI process, and it assumes that the following steps have already been
done:
(1) A stochastic model has already been created using options under the Model button.
(2) Simulations have been run for this model using the Simulations button.
(3) Real data slices have been extracted. These slices can be either Intercept and Gradient, or
amplitudes from Near Angle and Far Angle stacks.
(4) Calibration between the model and real data slices has been performed using the
Calibration button.
AFI September 2004
AFI Menus 51
The result of this process is to produce two types of maps:
(1) Indicator map. This is a map showing the most likely fluid (brine, oil, gas) at each
location.
(2) Probability maps. These show the calculated probability for each of the fluid types.
The parameters are:
Type: There are two choices here. Intercept / Gradient means that the real data slices are
Intercept and Gradient. The names of these slices are then specified in the fields
Intercept Slice and Gradient Slice. Near Angle / Far Angle means that the real data
slices are the amplitude slice at a near angle and the amplitude slice at a far angle. Then
the subsequent fields specify the names of those slices and the angles at which they were
derived.
Global / Gradient Scaler: These are the scalers which have been determined during the
calibration process. These cannot be changed in this menu. If you wish to change them,
use the Calibration button.
Use Depth Slice: This option is only used when the stochastic model has more than one depth
level. Then the program must decide which depth level to use for each of the data points
at which the fluid probability is calculated. There are two options here. If this option is
toggled Off then the depth value specified in the next field will be used for all the data
points. If this option is toggled On, then the depth slice specified in the next field will be
used. This depth slice is used this way: the depth for the selected point is determined by
referring to the depth slice. Then the depth level nearest that depth is used for that
calculation. Note that a depth slice may be calculated from a time horizon in AVO or AFI
using the option Horizon / Time-Depth Conversion.
Use this simulation: This is the name of the simulation data set which will be used in the
calculation. This name has been set when the Run Simulations option was used.
Output: These are the option maps which will be created. Note that the names may be
modified.
Minimum Acceptable Probability: This is a number between 0 and 1. If a non-zero number is
entered here, then as each point is calculated, the probability associated with the most
likely fluid is compared with this number. If that probability is less than this number, a
NULL value will be entered on the map, causing it not to be plotted. This useful for
discriminating points where the probabilities are all similar and no fluid can be reliably
determined.
AFI September 2004
52 Hampson-Russell Software Services
Probability Calculations
This section outlines the mathematical theory used to perform probability calculations in AFI.
The basic problem is this: We have three clusters of points, corresponding to brine, oil, and gas.
Given a new point, calculate the probability that this point belongs to each of the three clusters.
We assume that each of the clusters can be represented by a 2-dimensional probability
distribution. Consider, for example, the Gas distribution. Assuming that Gas was the only
cluster present, we could write
( ) ,
gas
P I G = probability that the point (I,G) is a gas.
There are many possible alternatives for the theoretical probability distribution. The one which
AFI uses is the Cauchy distribution.
Define the vector x as the 2-dimensional vector at the desired location:
1
2
x I
x
x G
= =
(1)
We also have the set of points in the gas cluster:
1
2
k k
k
k k
x I
x
x G
= =
=
the location of the k
th
point in the cluster (2)
AFI September 2004
AFI Menus 53
The vector is the vector containing the mean values of the cluster points along the I and G
directions for the gas cluster:
1
1 1
2
2
1
1
1
N
k
gas
k
N
gas k
k
x
I N
G
x
N
=
=
= = =
(3)
The matrix is the covariance matrix for the cluster:
=
22 12
12 11
(4)
where:
1
1
( )(
N
k k
ij i i j j
k
x x
N
)
=
=
(5)
Now define the Mahalanobis distance as:
) ( ) (
1 T 2
x x =
(6)
We can write that the probability associated with the point x, given a single gas cluster is:
1/2
2
1
( )
2 (1
gas
p
=
) +
x
(7)
Equation (7) is the 2-dimensional Cauchy distribution, and this is the probability distribution
which is plotted in color on the Simulation Display Maps.
To complete the process, we need to account for the fact that there are, in fact, three
distributions. The theory which allows us to handle this is Bayes theorem, written for this case
as:
( )
( )
( ) ( ) ( )
, *
| ,
, * , * , *
gas gas
gas gas oil oil brine brine
P I G P
P gas I G
P I G P P I G P P I G P
=
+ +
(8)
AFI September 2004
54 Hampson-Russell Software Services
In equation (8)
( | , P gas I G = ) the probability of gas at point (I,G) given all three clusters
( ) ,
gas
P I G = the probability of gas at point (I,G) given the gas cluster alone
(calculated previously)
gas
P = the prior probability of gas, i.e., the probability before doing any analysis.
Within AFI, the prior probabilities for each of the fluids are assumed to be 1/3,
i.e., no prior information.
For this reason, the preceding equation reduces to:
( )
( )
( ) ( ) ( )
,
| ,
, , ,
gas
gas oil brine
P I G
P gas I G
P I G P I G P I G
=
+ +
(9)
There are similar equations for the probability of oil and brine. Note that the denominator is the
same for all the equations.
AFI September 2004