# US 2010/0169020 A1 · Method and apparatus for real time oil based mud contamination monitoring

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0169020 A1
- Document ID: US20100169020A1
- Status: Published application
- Kind: A1
- Application number: 12/344,683
- Filed: 2008-12-29
- Published: 2010-07-01
- Earliest claimed: 2008-12-29
- Assignees: Schlumberger Technology Corporation
- Inventors: YuQiang Niu; Robert North; Chen Lin
- Web page: https://patentgrep.com/patent/US20100169020A1

## CPC

- G01V 11/00: Prospecting or detecting by methods combining techniques covered by two or more of main groups G01V1/00 - G01V9/00
- E21B 49/008: {by injection test; by analysing pressure variations in an injection or production test, e.g. for estimating the skin factor (measuring pressure E21B47/06)}
- E21B 49/10: using side-wall fluid samplers or testers
- G01V: GEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS (means for indicating the location of accidentally buried, e.g. snow-buried, persons A63B29/02)
- E21B: EARTH OR ROCK DRILLING; OBTAINING OIL, GAS, WATER, SOLUBLE OR MELTABLE MATERIALS OR A SLURRY OF MINERALS FROM WELLS

## Abstract

The present invention is a method and apparatus for determining oil based mud contamination of a hydrocarbon fluid obtained from a wellbore during a formation testing. The invention includes receiving a model for simulating the contamination and receiving an empirical equation for computing the contamination. At a given pumping time, a simulated contamination is generated based on the model and an empirically computed contamination is generated based on the first empirical equation. The simulated contamination and empirically computed contamination are compared and a determination as to which is more reliable is made. Revision of the first model or first empirical equation based is then performed.

## Claims

### Claim 1

A method of determining oil based mud contamination of a hydrocarbon fluid obtained from a wellbore during formation testing, the method comprising:
receiving a reservoir model for simulating the contamination;
receiving an empirical equation for computing the contamination;
for a first pumping time, separately generating a simulated contamination based on the reservoir model and an empirically computed contamination based on the empirical equation;
comparing the simulated contamination and the empirically computed contamination;
selecting one of the reservoir model and the empirical equation as more reliable and another one as less reliable for the first pumping time; and
revising the less reliable one of the reservoir model and the empirical equation based on a result of the comparing.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
revising the less reliable one based on a result of the selecting; and
for a second pumping time, repeating the generating, comparing, selecting and determining operations.

### Claim 3 (depends on 1)

The method according to claim 1, wherein in the case the empirical equation is selected as the less reliable one, revising at least one of: a fitting parameter, or a power of the first pumping time.

### Claim 4 (depends on 1)

The method according to claim 1 wherein the empirical equation for computing the contamination comprises
Fitted_Optical

_Density
=
C
-
D
×
t
-
5
12
wherein t equals time, C and D are solved by using a parameter estimation method to fit aquired data and the percent of contamination is computed by:
Contamination
=
100
×
C
-
Fitted_Optical

_Density
C
.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the simulated contamination generating includes:
building a history-matching model based on the reservoir model; and
implementing history-matching using the history-matching model.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the reservoir model is a semi-analytical simulator.

### Claim 7 (depends on 1)

The method according to claim 1, wherein in a case that the simulated contamination and the empirically computed contamination are sufficiently consistent according to a preset threshold, further comprising determining whether the contaminations are sufficiently small such that the hydrocarbon fluid qualifies as a representative fluid sample for the formation testing.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the generating, comparing, selecting and determining operations are implemented in substantially real time with the formation testing.

### Claim 9 (depends on 5)

The method according to claim 5, wherein the comparing is iterated until the simulated contamination obtained from the history-matching model matches the empirically computed contamination to a preset extent.

### Claim 10 (depends on 1)

The method according to claim 1 wherein receiving the reservoir model for simulating the contamination comprises:
(a) receiving input data characterizing a reservoir;
(b) producing the reservoir model in response to said input data representing said reservoir in multi dimensions;
(c)verifying the reservoir model; and
(d) using said reservoir model, generating said prediction of the oil based mud contamination in said reservoir in response to the verifying step.

### Claim 11 (depends on 10)

The method according to claim 10 wherein the producing includes the steps of:
(b1) calculating the oil based mud contamination of a hydrocarbon fluid obtained from a wellbore in one dimension associated with a single layer in said reservoir, each of the oil based mud contamination existing at a single point in space in said reservoir and at a single point in time in said reservoir,
(b2) calculating the oil based mud contamination in said one dimension associated with multiple layers in said reservoir, each of the oil based mud contamination in each of said multiple layers existing at a single point in space in said reservoir and at a single point in time in said reservoir,
(b3) calculating the oil based mud contamination in three dimensions associated with said multiple layers in said reservoir, each of the oil based mud contamination in each of said multiple layers in said three dimensions existing at a single point in space in said reservoir and at a single point in time in said reservoir,
(b4) calculating the oil based mud contamination in said three dimensions as a function of time, said values being associated with said multiple layers in said reservoir, each of the oil based mud contamination in each of said multiple layers in said three dimensions existing at a single point in space in said reservoir, said each of the oil based mud contamination in said each of said multiple layers in said three dimensions existing at any future point in time in said reservoir, said reservoir model being produced in response to the calculating step (b4).

### Claim 12

A computer readable medium having a computer program product stored thereon for determining oil based mud contamination of a hydrocarbon fluid obtained from a wellbore during formation testing that when executed on a computer comprises:
receiving a reservoir model for simulating the contamination;
receiving an empirical equation for computing the contamination;
for a first pumping time, separately generating a simulated contamination based on the reservoir model and an empirically computed contamination based on the empirical equation;
comparing the simulated contamination and the empirically computed contamination;
selecting one of the reservoir model and the empirical equation as more reliable and another one as less reliable for the first pumping time; and
revising the less reliable one of the reservoir model and the empirical equation based on a result of the comparing.

### Claim 13 (depends on 12)

The computer readable medium according to claim 12, further comprising:
revising the less reliable one based on a result of the selecting; and
for a second pumping time, repeating the generating, comparing, selecting and determining operations.

### Claim 14 (depends on 12)

The computer readable medium according to claim 12, wherein in the case the empirical equation is selected as the less reliable one, revising at least one of: a fitting parameter, or a power of the first pumping time.

### Claim 15 (depends on 12)

The computer readable medium according to claim 12 wherein the empirical equation for computing the contamination comprises
Fitted_Optical

_Density
=
C
-
D
×
t
-
5
12
wherein t equals time, C and D are solved by using a parameter estimation method to fit aquired data and the percent of contamination is computed by:
Contamination
=
100
×
C
-
Fitted_Optical

_Density
C
.

### Claim 16 (depends on 12)

The computer readable medium according to claim 12, wherein the simulated contamination generating includes:
building a history-matching model based on the reservoir model; and
implementing history-matching using the history-matching model.

### Claim 17 (depends on 12)

The computer readable medium according to claim 12, wherein the reservoir model is a semi-analytical simulator.

### Claim 18

An apparatus comprising:
a) a system for implementing a reservoir model for simulating the contamination;
b) a system for implementing an empirical equation for computing the contamination, for a first pumping time, separately generating a simulated contamination based on the reservoir model and an empirically computed contamination based on the empirical equation;
c) a system for comparing the simulated contamination and the empirically computed contamination;
d) a system for selecting one of the reservoir model and the empirical equation as more reliable and another one as less reliable for the first pumping time;
e) a system for revising the less reliable one of the reservoir model and the empirical equation based on a result of the comparing until the simulated contamination and the empirically computed contaimination are within a preset limit; and
f) a system determining whether the simulated contamination and the empirically computed contaimination are sufficiently small such that the hydrocarbon fluid qualifies as a representative fluid sample for the formation testing, and if not implementing the system for selecting for a second pumping time.

### Claim 19 (depends on 18)

The apparatus according to claim 18, wherein the system for generating simulating contamination includes:
building a history-matching model based on the reservoir model; and
implementing history-matching using the history-matching model.

### Claim 20 (depends on 18)

The apparatus according to claim 18, wherein the reservoir model is a semi-analytical simulator.
