Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DETERMINING RESERVOIR FLUID PROPERTIES FROM DOWNHOLE FLUID ANALYSIS DATA USING MACHINE LEARNING
Document Type and Number:
WIPO Patent Application WO/2020/131996
Kind Code:
A1
Abstract:
Methods for determining in situ the value of a formation fluid parameter using a downhole fluid analysis (DFA) tool. The methods utilize advanced statistical learning tools to build a predictive model to estimate a fluid property given a set of input parameters. In one embodiment the fluid saturation pressure parameter is determined by using the DFA tool to obtain the fluid and to obtain weight fractions of at least C 1 , C 6+ , and CO 2 of the fluid. The weight fractions and a reservoir temperature are input into a trained statistical learning machine to obtain a determination of the saturation pressure of the fluid.

Inventors:
MOLLA SHAHNAWAZ (US)
MOSTOWFI FARSHID (US)
Application Number:
PCT/US2019/067060
Publication Date:
June 25, 2020
Filing Date:
December 18, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SCHLUMBERGER TECHNOLOGY CORP (US)
SCHLUMBERGER CA LTD (CA)
SERVICES PETROLIERS SCHLUMBERGER (FR)
SCHLUMBERGER TECHNOLOGY BV (NL)
International Classes:
G01V8/10; E21B41/00; E21B47/06; E21B49/08; E21B49/10; G01J3/02
Domestic Patent References:
WO2006063094A12006-06-15
Foreign References:
US8619256B12013-12-31
US7966273B22011-06-21
US20130327522A12013-12-12
US20090182693A12009-07-16
Attorney, Agent or Firm:
LAFFEY, Bridget M. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A method of determining in situ a value of a parameter of a reservoir fluid taken from a formation traversed by a borehole, comprising:

drawing the fluid into a tool located in the borehole, said tool having an optical module including a spectrometer;

shining light through the fluid and sensing with the spectrometer a plurality of resulting signals;

applying indications of the resulting signals as inputs to a trained statistical learning machine; and

taking the output of the trained statistical learning machine as a determination of the value of the parameter while the tool is in the borehole.

2. The method according to claim 1, wherein:

the parameter is a saturation pressure of the reservoir fluid at downhole conditions.

3. The method according to claim 2, wherein:

said indications of the resulting signals are obtained by processing the resulting signals to obtain weight fractions of at least Ci , ( V , CO 2 , wherein said weight fractions and a reservoir temperature are said inputs to said trained statistical learning machine.

4. The method according to claim 3, wherein:

said statistical learning machine is a support vector machine using a regression model.

5. The method according to claim 3, wherein:

said drawing the fluid is done at a first drawdown pressure, and said method further comprises

drawing additional fluid into the tool;

shining light through the additional fluid and sensing with the spectrometer a plurality of resulting signals related to the additional fluid; applying indications of the resulting signals related to the additional fluid as inputs to a trained statistical learning machine;

taking the output of the trained statistical learning machine as a determination of the value of the saturation pressure of the additional fluid; and

modifying said first drawdown pressure to a second drawdown pressure different than said first drawdown pressure based on the relative values obtained for the saturation pressure of the fluid and the additional fluid.

6. The method according to claim 5, wherein:

said modifying comprises increasing the drawdown pressure such that the second drawdown pressure is greater than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid is the same.

7. The method according to claim 5, wherein:

said modifying comprises decreasing the drawdown pressure such that the second drawdown pressure is less than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid has changed.

8. The method according to claim 2, wherein:

said indications of the resulting signals are optical density indications of a plurality of channels of a spectrometer, wherein said optical density indications and a reservoir temperature are said inputs to said trained statistical learning machine.

9. The method of claim 8, wherein:

said statistical learning machine is a support vector machine using a regression model.

10. The method according to claim 8, wherein:

said drawing the fluid is done at a first drawdown pressure, and said method further comprises

drawing additional fluid into the tool; shining light through the additional fluid and sensing with the spectrometer a plurality of resulting signals related to the additional fluid;

applying indications of the resulting signals related to the additional fluid as inputs to a trained statistical learning machine;

taking the output of the trained statistical learning machine as a determination of the value of the saturation pressure of the additional fluid; and

modifying said first drawdown pressure to a second drawdown pressure different than said first drawdown pressure based on the relative values obtained for the saturation pressure of the fluid and the additional fluid.

11. The method according to claim 8, wherein:

said modifying comprises increasing the drawdown pressure such that the second drawdown pressure is greater than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid is the same.

12. The method according to claim 8, wherein:

said modifying comprises decreasing the drawdown pressure such that the second drawdown pressure is less than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid has changed.

13. A method, comprising:

obtaining samples of reservoir fluid from one or more formations at measured formation temperatures;

analyzing the saturation pressures of the samples in a laboratory;

analyzing the samples for optical density as a function of wave-length to obtain indicative information of the different makeups of the samples;

using the measured formation temperatures, saturation pressures and indicative information as at least training data to train a statistical learning machine;

drawing new fluid into a tool located in a borehole, said tool having an optical module including a spectrometer, and said new fluid taken from a downhole formation at a measured downhole formation temperature; shining light through the fluid and sensing with the spectrometer a plurality of resulting signals;

applying indications of the resulting signals and said measured downhole formation temperature as inputs to the trained statistical learning machine; and

taking the output of the trained statistical learning machine as a determination of a saturation pressure of the new fluid.

14. The method of claim 13, wherein:

said statistical learning machine is a support vector machine using a regression model.

15. The method of claim 13, wherein:

said indications of the resulting signals are obtained by processing the resulting signals to obtain weight fractions of at least Ci , ( V , CO 2 , wherein said weight fractions are said inputs to said trained statistical learning machine.

16. The method of claim 13, wherein:

said indications of the resulting signals are optical density indications of a plurality of channels of a spectrometer, wherein said optical density indications are said inputs to said trained statistical learning machine.

17. The method according to claim 13, wherein:

said drawing the new fluid is done at a first drawdown pressure, and said method further comprises

drawing additional fluid into the tool;

shining light through the additional fluid and sensing with the spectrometer a plurality of resulting signals related to the additional fluid;

applying indications of the resulting signals related to the additional fluid as inputs to a trained statistical learning machine;

taking the output of the trained statistical learning machine as a determination of the value of the saturation pressure of the additional fluid; and modifying said first drawdown pressure to a second drawdown pressure different than said first drawdown pressure based on the relative values obtained for the saturation pressure of the fluid and the additional fluid.

18. The method according to claim 17, wherein:

said modifying comprises increasing the drawdown pressure such that the second drawdown pressure is greater than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid is the same.

19. The method according to claim 17, wherein:

said modifying comprises decreasing the drawdown pressure such that the second drawdown pressure is less than said first drawdown pressure when the saturation pressure of the fluid and the additional fluid has changed.

Description:
DETERMINING RESERVOIR FLUID PROPERTIES FROM DOWNHOLE FLUID ANALYSIS DATA USING MACHINE LEARNING

CROSS-REFERENCE TO RELATED APPLICATION(S)

[0001] The application claims priority from El.S. Serial No. 62/783842, filed December 21, 2018, the complete disclosure of which is hereby incorporated by reference herein.

FIELD

[0002] The subject disclosure generally relates to methods and systems for assessing hydrocarbon reservoirs and for performing wellsite operations. More particularly, the subject disclosure relates to methods for assessing reservoir fluid properties in situ such as the saturation pressure of a reservoir fluid by utilizing machine learning techniques, although the disclosure is not limited thereto and may be used to assess other fluid properties.

BACKGROUND

[0003] In the development of oil and gas fields, it is common for oil and gas companies to explore formations in order to find, assess, produce, and sell fluid hydrocarbons. Throughout the process, the oil and gas companies desire information associated with the value of the reservoir fluids and a quantification of the uncertainty associated therewith.

[0004] One manner of obtaining and providing useful information regarding the hydrocarbons in an earth formation is to drill one or more boreholes and to run borehole tools into the formation. The InSitu Fluid Analyzer (a trademark of Schlumberger) is a downhole tool that extracts test samples of hydrocarbons from a formation and conducts a real-time downhole fluid analysis (DFA) through the use of optical absorption spectroscopy. More particularly, the InSitu Fluid Analyzer may use a grating spectrometer in addition to a conventional filter array spectrometer. The filter array spectrometer measures wavelengths in the visible (VIS) to near-infrared (NIR) range from 400 to 2100 nm across twenty channels that indicate the color and molecular vibration absorptions of the reservoir fluid and also show the main absorption peaks of water and carbon dioxide. The grating spectrometer has sixteen channels focused on the 1600 to 1800 nm range where reservoir fluid has characteristic absorptions that reflect molecular structure. The fluid analysis may include determinations of fluid hydrocarbon composition (Cl, C2, C3-C5, C6+), gas/oil ratio (GOR), live- oil density, carbon dioxide (C02) content, fluid color, free-gas, reservoir water resistivity and pH, oil-base mud filtrate contamination, etc. See, e.g., co-owned U.S. Patent Nos. 6,476,384, 6,956,204, 8,805,617, 7,458,258, 7,526,953, 7,305,306, all of which are hereby incorporated by reference herein in their entireties. Other borehole tools may be run in conjunction with the InSitu Fluid Analyzer, including, by way of example only, sonic tools, neutron tools, and gamma-ray tools which may provide additional information about the formation geology and fluid content. The InSitu Fluid Analyzer tool and/or one or more other tools may include temperature and pressure sensors.

SUMMARY

[0005] This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.

[0006] It is desirable to know the fluid saturation pressure of downhole fluids in a formation being analyzed. The fluid saturation pressure is the pressure of the fluid when the vapor is in equilibrium with its liquid; i.e., the pressure at which the gas and liquid phases do not separate. The fluid saturation pressure is a particularly important factor in the sampling of formation fluids by a downhole fluid analyzer because the speed at which formation fluids may be collected is related to the pressure differential between the downhole fluid analyzer tool and the formation. If, in order to quickly conduct fluid sampling, the pressure of the DFA tool is dropped below the fluid saturation pressure of the formation fluids, the fluid sample obtained may not be representative of the fluid in the formation; e.g., a higher percentage of gas than is representative of the fluid as a whole may be obtained. On the other hand, if the pressure of the DFA tool is kept very close to the formation pressure, significant amounts of time may be required to collect a representative fluid sample, thereby significantly increasing the expense of the procedure. Accordingly, in one aspect, it is desirable to know the fluid saturation pressure so as to set the sampling pressure slightly above the fluid saturation pressure in order to obtain a good sample as quickly as possible.

[0007] As previously suggested, downhole fluid analyzer tools use downhole spectrometry to collect optical information of fluid flowing in a flow line of the tool, and the optical information is used to make determinations of fluid hydrocarbon composition, gas/oil ratio (GOR), live-oil density, carbon dioxide content, fluid color, free-gas, reservoir water resistivity and pH, oil-base mud filtrate contamination, etc. However, neither DFA tools nor other borehole tools have been able to provide information regarding the fluid saturation pressure of the formation fluid while the tool is functioning downhole (in situ).

[0008] In one aspect, methods are provided herein to determine in situ the fluid saturation pressure of formation fluid using a DFA tool. The methods utilize advanced statistical learning tools to build a predictive model to estimate fluid properties given a set of input parameters from a DFA tool. More particularly, in one embodiment, a dataset of fluid properties for fluid samples including reservoir pressure (Pres) and reservoir temperature (T re s) for the sample, as well as lab- obtained fluid composition ( C , C2, C3-C5, ( V , CO 2 wt%) and saturation pressure (P sa t) are collected for multiple samples. The dataset or a subset thereof are then used as input parameters for a statistical model. Feature selection may be guided by correlations between P sa t and other parameters. The dataset may be randomly split into a training set subset and a testing set subset. The training set may then be used to train an SVM (support vector machine) regression model which estimates the saturation pressure of samples based on the input parameters. Once the regression model is trained, a DFA tool may be located downhole, actuated to collect a sample, and the parameters, as determined by the DFA tools may be input into the trained regression model in order to determine in situ the formation fluid saturation pressure. The determined Psat may then be used to adjust the drawdown pressure of the tool.

[0009] Further features and advantages of the subject disclosure will become more readily apparent from the following detailed description when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The subject disclosure is further described in the detailed description which follows, in reference to the noted plurality of drawings by way of non-limiting examples of the subject disclosure, in which like reference numerals represent similar parts throughout the several views of the drawings, and wherein:

[0011] Figure 1 is a schematic diagram of a tool string having a downhole fluid analysis (DFA) module; [0012] Figure 2 is a schematic diagram of the DFA module of Fig. 1 ;

[0013] Figures 3a and 3b are block diagrams respectively showing workflows for training a machine learning model and for estimating fluid properties in situ from data obtained from a downhole tool using a trained machine learning model;

[0014] Figure 4a is a plot showing predicted saturation pressure versus laboratory measured values for a training data set;

[0015] Figure 4b is a plot showing predicted saturation pressure versus laboratory measured values for a test data set;

[0016] Figure 5 is graph showing the optical spectra of a plurality of hydrocarbons and carbon dioxide at different wavelengths; and

[0017] Figure 6 is a block diagram of showing use of an in situ saturation pressure determination during downhole sampling of formation fluids.

DETAILED DESCRIPTION

[0018] The particulars shown herein are by way of example and for purposes of illustrative discussion of the examples of the subject disclosure only and are presented in the cause of providing what is believed to be the most useful and readily understood description of the principles and conceptual aspects of the subject disclosure. In this regard, no attempt is made to show structural details in more detail than is necessary, the description taken with the drawings making apparent to those skilled in the art how the several forms of the subject disclosure may be embodied in practice. Furthermore, like reference numbers and designations in the various drawings indicate like elements.

[0019] Turning to Fig. 1, a petroleum reservoir analysis system 1 is shown. The system 1 includes a borehole tool 10 suspended in the borehole 12 from the lower end of a typical multi conductor cable 15 that is spooled in a usual fashion on a suitable winch on the formation surface. The cable 15 is electrically coupled to an electrical control system 18 on the formation surface. The borehole tool 10 includes an elongated body 19 which carries a selectively extendable fluid admitting assembly 20 and a selectively extendable tool anchoring member 21 which are respectively arranged on opposite sides of the tool body. The fluid admitting assembly 20 is equipped for selectively sealing off or isolating selected portions of the wall of the borehole 12 such that fluid communication with the adjacent earth formation 14 is established. The fluid admitting assembly 20 and borehole tool 10 include a flowline leading to a fluid analysis module 25. The formation fluid obtained by the fluid admitting assembly 20 flows through the flowline and through the fluid analysis module 25. The fluid may thereafter be expelled through a port or it may be sent to one or more fluid collecting chambers 22 and 23 which may receive and retain the fluids obtained from the formation. With the fluid admitting assembly 20 sealingly engaging the formation 14, a short rapid pressure drop can be used to break the mudcake seal. Normally, the first fluid drawn into the downhole tool 10 will be highly contaminated with mud filtrate. As the tool continues to draw fluid from the formation 14, the area near the fluid admitting assembly 20 cleans up and reservoir fluid becomes the dominant constituent. The time required for cleanup depends upon many parameters, including formation permeability, fluid viscosity, the pressure differences between the borehole and the formation, and overbalanced pressure difference and its duration during drilling. Increasing the pump rate can shorten the cleanup time, but the rate must be controlled carefully to preserve formation pressure conditions.

[0020] The fluid analysis module 25 includes means for measuring the temperature and pressure of the fluid in the flowline as described in more detail with respect to Fig. 2. The fluid analysis module 25 derives properties that characterize the formation fluid sample at the flowline pressure and temperature. In one embodiment, the fluid analysis module 25 measures absorption spectra and translates such measurements into concentrations of several alkane components and groups in the fluid sample. In an illustrative embodiment, the fluid analysis module 25 provides measurements of the concentrations (e.g., weight percentages) of carbon dioxide (CO2), methane (CH4), ethane (C2H6), the C3-C5 alkane group, the lump of hexane and heavier alkane components (C6+), and asphaltene content. The C3-C5 alkane group includes propane, butane, and pentane. The C6+ alkane group includes hexane (C6H14), heptane (C7H16), octane (CsHis), nonane (C9H20), decane (C10H22), hendecane (C11H24) - also referred to as endecane or undecane, dodecane (C12H26), tridecane (C13H28), tetradecane (C14H30), pentadecane (C15H32), hexadecane (C16H34), etc. The fluid analysis module 25 also provides a means that measures live fluid density (p) at the flowline temperature and pressure, live fluid viscosity (m) at flowline temperature and pressure (in cp), formation pressure, and formation temperature.

[0021] Control of the fluid admitting assembly 20 and fluid analysis module 25, and the flow path to the collecting chambers 22, 23 is maintained by the control system 18. As will be appreciated by those skilled in the art, the fluid analysis module 25 and the surface-located electrical control system 18 include data processing functionality (e.g., one or more microprocessors, associated memory, and other hardware and/or software) to implement the invention as described herein. The electrical control system 18 can also be realized by a distributed data processing system wherein data measured by the downhole tool 10 is communicated (preferably in real-time) over a communication link (typically a satellite link) to a remote location for data analysis as described herein. The data analysis can be carried out on a workstation or other suitable data processing system (such as a computer cluster or computing grid).

[0022] Formation fluids sampled by the downhole tool 10 may be contaminated with mud filtrate. That is, the formation fluids may be contaminated with the filtrate of a drilling fluid that seeps into the formation 14 during the drilling process. Thus, when fluids are withdrawn from the formation 14 by the fluid admitting assembly 20, they may include mud filtrate. In some examples, formation fluids are withdrawn from the formation 14 and pumped into the borehole or into a large waste chamber in the downhole tool 10 until the fluid being withdrawn becomes sufficiently clean. A clean sample is one where the concentration of mud filtrate in the sample fluid is acceptably low so that the fluid substantially represents native (i.e., naturally occurring) formation fluids. In the illustrated example, the downhole tool 10 is provided with fluid collecting chambers 22 and 23 to store collected fluid samples.

[0023] The system of Fig. 1 is adapted to make in-situ determinations regarding hydrocarbon bearing geological formations by downhole sampling of reservoir fluid at one or more measurement stations within the borehole 12, conducting downhole fluid analysis of one or more reservoir fluid samples for each measurement station (including spectral and/or compositional analysis such as estimating concentrations of a plurality of compositional components of a given sample as well as other fluid properties), and applying the data from the fluid analysis to a trained learning module (e.g., support vector machine) which has been trained on spectral and/or compositional data in order to characterize the reservoir fluid at different locations within the reservoir as is described hereinafter. The characterization of the reservoir fluid may then be used to adjust the drawdown or flowline pressure of the tool.

[0024] Details of one embodiment of a downhole fluid analysis module 25 (such as the InSitu Fluid Analyzer of Schlumberger) is seen in Fig. 2 where module 25 shows a flow line 230 with fluid 230a therein, a light source 232 providing light in the visible and near infrared spectrum (e.g., 400 to 2100 nm), a filter array spectrometer 236 that receives light passed through the fluid flowline and measures optical absorbance of the fluid across multiple (e.g., twenty) wavelength channels in the VIS-NIR spectrum, a grating spectrometer 238 that also receives light passed through the fluid flowline and measures optical absorbance over a narrower wavelength range (e.g., sixteen channels in the 1600 to 1800 nm range), a fluorescence detector 242, a pressure and temperature gauge 244, and resistivity and density/viscosity sensors 246, 248. Absorbance data from one or both of the spectrometers may be used to identify the fluid type and quantify the weight fraction of CO2 and methane, ethane, propane, n-butane, n-pentane (or C 3 -C 5 ) and hexane plus (C 6+ ). Other determinations regarding the formation may likewise be made. See, e.g., co-owned U.S. Patent Nos. 8,825,408; 7,920,970; 7,822,554; 8,434,356; 7,996,154; 9,10,434; and 10,228,325 which are hereby incorporated by reference herein in their entireties. See, also, co-owned PCT/IB2011/051230 entitled“Methods for Characterization of Petroleum Reservoirs Employing Property Gradient Analysis of Reservoir Fluids; and Dong, C. et al., New Downhole-Fluid- Analysis Tool for Improved Reservoir Characterization. SPE Reservoir Evaluation & Engineering, 2008. 11(6): p. 1107 - 1116 (2008).

[0025] According to one embodiment, the data obtained by the downhole fluid analysis module may be used to determine the saturation pressure P sa t of the formation fluid as well as other formation fluid properties such as gas-oil ratio, molecular weight of hexane-plus fraction, etc. According to one aspect, such a determination or determinations may be made using advanced statistical learning tools which builds one or more predictive models to estimate one or more fluid properties with one or more given sets of parameters. Statistical learning refers to a wide range of tools for exploring and understanding data through statistical models.

[0026] A database containing fluid properties of fluids previously obtained from reservoirs was used to build, train and test a statistical model. Exploratory data analysis techniques were used to identify the set of input parameters that are relevant for the model. Input parameters were selected based on their respective influence on the output of the model. These statistical tools provide a means to connect the distinct measurements from the DFA sensor module to the different physical properties of the reservoir fluid.

[0027] For purposes of example, a method of estimating saturation pressure based on measurements obtained from the DFA tool 10 is hereinafter described.

[0028] A dataset was collected of fluid properties containing data such as reservoir pressure (Pres) and temperature (7i Cs ), composition ( Ci , C2 , C 3 , C4, Cs, ( V , CO2 wt%), saturation pressure (Psat) etc, although only a subset of these parameters was used for determining saturation pressure. For each sample, the abovementioned fluid properties were collected from various sources, such as downhole measurements (e.g., for reservoir pressure ( P res ) and temperature (Ti es )), and conventional PVT laboratory measurements (for composition and saturation pressure {P sat ) - which were obtained at the reservoir pressure and temperatures at which the sample was obtained).

[0029] In this example, a workflow was developed to estimate saturation pressure of a fluid sample. It was found that the only input parameters to a statistical model required for such an estimation were Ti es , Ci, ( , and CO 2 wt%. This feature selection was guided by the correlations between P sat and other parameters.

[0030] Details regarding the building and training of a trained machine learning model and the subsequent use of that model are seen in Figs. 3a and 3b. See, also, James, G., et al., An Introduction to Statistical Learning with Applications in R. Springer Texts in Statistics, Springer- Verlag New York (2013). In particular, at 350, external data from three hundred eighty samples were obtained. The external data included data from DFA modules and from a PVT laboratory and provided ( P res ) and temperature (7i Cs ), composition ( Ci , C2 , C3, C4, Cs, ( V , CO 2 wt%) and the saturation pressure {P sat ) for each sample. From that data, the Ci , the ( V , the CO2 and the T res were culled 352 and provided to an SVM regression model at 354 for data processing and ingestion. At 356, outliers were removed from the dataset based on a consistency check to generate a qualified dataset. Then, at 358, the dataset was randomly split into two parts: 75% of the dataset (i.e., the training set 360) was reserved for training; and the remaining 25% of the dataset (i.e., test set 362) was used for testing the model. At 364, the regression model was trained and optimized to estimate the saturation pressure ( sa t ) of samples based on the input parameters (Pres, Ci, ( 7 , CO2). The SVM regression model used a radial kernel (radial basis function) and was optimized using 10- fold cross-validation. See, Lazaro, M., et al., Support Vector Regression for the simultaneous learning of a multivariate function and its derivatives. Neurocomputing, 2005, 69(1): p. 42-61 (2005), and Hastie, T., R. Tibshirani, and J. Friedman, The Elements of Statistical Learning. Springer Series in Statistics; Springer-Verlag New York. 745 (2009). The radial kernel was selected due to its superior performance over other kernels. The radial kernel parameters (gamma and cost) were optimized for best performance. The learning performance of the trained model is shown in Fig. 4a. The parity plot of Fig. 4a shows comparison between the predicted saturation pressure using the regression model versus the laboratory measured saturation pressure of the samples in the training set. The model predictions for the training set agreed reasonably well with the laboratory measurements, except for a few cases. The absolute error (|/ J S at.Lab-/ J sat.svM|) of the predicted values were less than 200 psi for 67% of the samples and less than 500 psi for 91% of the samples. The model was then used at 366 to predict the saturation pressure of the test set data 362; i.e., output validation. Results are shown on a parity plot in Fig. 4b. The absolute error (|F , sat,Lab-F’sat,svM|) in the predicted values were less than 200 psi for 66% of the samples and less than 500 psi for 89% of the samples. The prediction on the test set was in agreement with the model performance for the training set, thereby confirming at 368 that the regression model was properly trained.

[0031] Once the machine learning model (e.g., the SVM regression model) has been trained, a determination of saturation pressure may be made by running one or more borehole tools to collect at least the necessary information for the model and applying data to the model and running the model to provide a determination. Thus, as seen in Fig. 3b, a DFA borehole tool is run at 370 to collect information regarding the reservoir temperature as well as specific formation fluid data including at least weight percentages of carbon dioxide, methane, and C 6+ in the formation fluid at 372. The information is provided at 374 to the trained machine learning (e.g., SVM regression) model which is typically embodied in a processor on the DFA borehole tool 10 or uphole, and the model is run to provide an estimation or determination of saturation pressure at 376.

[0032] According to one aspect, while an SVM algorithm or model was described as being used for machine learning, it will be appreciated that other statistical learning algorithms can be implemented in this workflow. The statistical model selection is guided by the features present in the training data as well as the desired output of the model. Thus, while a supervised learning approach was described, unsupervised learning algorithms could be utilized. Similar workflow can be developed to estimate other fluid properties from DFA measurements.

[0033] In one embodiment, instead of providing a trained learning machine that uses Ties, Ci, ( 7 , CO 2 as inputs, the learning machine may be trained on optical density data from a multiplicity of wavelength channels of a DFA tool as well as other information such as formation and/or sample temperature information. As seen in Fig. 5, carbon dioxide and each specific hydrocarbon has a different optical spectrum. As is well-known, DFA tools use this fact in order to make determinations regarding the weight percentage of the different hydrocarbons (or hydrocarbon groups) present in the sample. For example, the InSitu Fluid Analyzer of Schlumberger uses a filter array spectrometer as well as a grating spectrometer. The filter array spectrometer measures wavelengths in the visible (VIS) to near-infrared (NIR) range from 400 to 2100 nm across twenty channels that indicate the color and molecular vibration absorptions of the reservoir fluid and also show the main absorption peaks of water and carbon dioxide, while the grating spectrometer has sixteen channels focused on the 1600 to 1800 nm range where reservoir fluid has characteristic absorptions that reflect molecular structure. Regardless of whether one or both of the filter array and grating spectrometer are utilized, rather than using the absorption (or transmission) information to generate weight percentages, in this embodiment, the absorption (or transmission) information may be used directly to train the learning machine. Then, once the learning machine has been trained, downhole optical (spectral) data obtained from a DFA tool such as the InSitu Fluid Analyzer of Schlumberger may be input directly into a trained model to provide a desired output such as a determination of fluid saturation pressure. It should be noted that during the learning steps of the machine learning model, the model may find that only certain channels of optical data are required to make desired determinations. In that case, when the DFA tool is run, only the data from specifically required channels would typically be input into the model.

[0034] Turning now to Fig. 6, a block diagram is provided showing one use of an in situ saturation pressure determination during downhole sampling of formation fluids. At 680, a downhole tool (such as tool 10 of Fig. 1) is located in a borehole adjacent a reservoir in the earth formation. At 682, the fluid admitting assembly of the tool is caused to engage the formation and a pump pressure P p is set so that the drawdown pressure P dd equals the reservoir pressure P res minus the pump pressure; i.e., P dd = P res - P p. Typically, the initial drawdown pressure will be chosen to be small. As fluid flows at 684 through the DFA module of the tool, at 686, the module measures optical density information (absorption and/or transmission) and the system processes the information (downhole and/or uphole) in order to determine the hydrocarbon composition of the fluid as well as the carbon dioxide weight percentage. In addition, the tool measures the reservoir temperature. At 688, specific determinations of the system (e.g., Ci , ( V , CO 2 , I res ) are provided to a trained machine learning model to make a determination of P sat. Based on the P sat determination, the pump pressure, and hence the drawdown pressure, may then be changed under control of a controller (18 in Figure 1). According to one embodiment, the determination of P sat may be made over a predefined time interval (e.g., ten seconds). The determination made at one time may then be compared at 690 to a previous determination. If the estimated P sat remains unchanged as indicated at 692, the lack of change can be taken as an indication that the reservoir fluid is in a single phase; i.e., the flowing pressure is above P sat , and the drawdown pressure can be increased in order to increase the rate at which a representative fluid sample can be collected. Conversely, if the estimated P sat decreases over a timeframe as indicated at 694, the change can be taken as an indication that the fluid is flowing at a pressure below the saturation pressure of the fluid, and the drawdown pressure should be decreased in order to obtain a representative fluid sample.

[0035] Some of the methods and processes described above, including processes, as listed above, can be performed by a processor. The term“processor” should not be construed to limit the embodiments disclosed herein to any particular device type or system. The processor may include a computer system. The computer system may also include a computer processor (e.g., a microprocessor, microcontroller, digital signal processor, or general-purpose computer) for executing any of the methods and processes described above.

[0036] The computer system may further include a memory such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), a PC card (e.g., PCMCIA card), or other memory device.

[0037] Some of the methods and processes described above can be implemented as computer program logic for use with the computer processor. The computer program logic may be embodied in various forms, including a source code form or a computer executable form. Source code may include a series of computer program instructions in a variety of programming languages (e.g., an object code, an assembly language, or a high-level language such as C, C++, or JAVA). Such computer instructions can be stored in a non-transitory computer readable medium (e.g., memory) and executed by the computer processor. The computer instructions may be distributed in any form as a removable storage medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over a communication system (e.g., the Internet or World Wide Web).

[0038] Alternatively or additionally, the processor may include discrete electronic components coupled to a printed circuit board, integrated circuitry (e.g., Application Specific Integrated Circuits (ASIC)), and/or programmable logic devices (e.g., a Field Programmable Gate Arrays (FPGA)). Any of the methods and processes described above can be implemented using such logic devices.

[0039] It should be appreciated that according to one aspect,“machine learning” requires a processor and cannot be conducted by human calculation without a processor.

[0040] Although only a few examples have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the examples without materially departing from this subject disclosure. For example, while the specification has discussed making a determination of fluid saturation pressure, it will be appreciated that other determinations of fluid properties may be accomplished in situ by training a predictive model to estimate those fluid properties given a set of input parameters from a DFA tool. By way of example, determinations of properties such as the gas-oil ratio (GOR), fluid density, and formation volume factor may be made in a similar fashion. Also, a particular learning machine was described (i.e., an SVM regression model using a radial kernel), other supervised and unsupervised learning machines may be utilized. Accordingly, all such modifications are intended to be included within the scope of this disclosure as defined in the following claims. In the claims, means-plus-function clauses are intended to cover the structures described herein as performing the recited function and not only structural equivalents, but also equivalent structures. Thus, although a nail and a screw may not be structural equivalents in that a nail employs a cylindrical surface to secure wooden parts together, whereas a screw employs a helical surface, in the environment of fastening wooden parts, a nail and a screw may be equivalent structures. It is the express intention of the applicant not to invoke 35 U.S.C. § 1 12, paragraph 6 for any limitations of any of the claims herein, except for those in which the claim expressly uses the words‘means for’ together with an associated function.