You are on page 1of 19

US011512580B2

( 12 ) Anifowose
United etStates Patent ( 10) Patent No .: US 11,512,580 B2
al . (45 ) Date of Patent : Nov. 29 , 2022
( 54 ) REAL - TIME ESTIMATION OF RESERVOIR ( 56 ) References Cited
POROSITY FROM MUD GAS DATA
U.S. PATENT DOCUMENTS
( 71 ) Applicant: Saudi Arabian Oil Company, Dhahran 5,663,499 A 9/1997 Semmelbeck et al .
( SA) 8,714,246 B2 5/2014 Pop et al.
9,810,062 B2 11/2017 Akkurt et al .
( 72 ) Inventors : Fatai A. Anifowose, Al Khobar ( SA) ; 2013/0304679 Al 11/2013 Fleming
Mokhles Mustapha Mezghani, 2016/0231462 A1 * 8/2016 Ramsay G06F 17/11
Dhahran ( SA) ; Walid K. Hussein , (Continued )
Dhahran ( SA) ; Jean - Francois FOREIGN PATENT DOCUMENTS
Mengual , Dhahran ( SA )
EP 2772775 9/2014
( 73 ) Assignee : Saudi Arabian Oil Company, Dhahran WO 2005119303 12/2005
( SA) (Continued )
( * ) Notice: Subject to any disclaimer, the term of this OTHER PUBLICATIONS
patent is extended or adjusted under 35
U.S.C. 154 ( b ) by 284 days . Melo , “ Formation fluid prediction through gas while drilling analy
sis relationship between mud gas data and downhole fluid samples ,"
( 21 ) Appl. No .: 16 /871,813 Thesis to obtain Master of Science Degree in Petroleum Engineer
ing, Tecnico Lisboa , Feb. 2016 , 89 pages .
(22) Filed : May 11 , 2020 (Continued )
( 65 ) Prior Publication Data Primary Examiner — Mischita L Henson
US 2021/0348495 A1 Nov. 11 , 2021
(74 ) Attorney, Agent, or Firm - Fish & Richardson P.C.
( 57 ) ABSTRACT
(51 ) Int. C1.
E21B 47/00 ( 2012.01 ) Systems and methods include a method for generating a
G06N 20/00 ( 2019.01 ) real- time reservoir porosity log . Historical gas -porosity data
GOIV 99/00 (2009.01 ) is received from previously -drilled and logged wells . The
GOOK 9/62 ( 2022.01 ) historical gas -porosity data identifies relationships between
gas measurements obtained during drilling and reservoir
(52) U.S. CI. porosity determined after drilling. A gas - porosity model is
CPC E21B 47/00 (2013.01 ) ; GOIV 99/005 trained using machine learning and the historical gas -poros
(2013.01 ) ; G06K 9/6256 ( 2013.01 ) ; GO6K ity data . Real - time gas measurements are obtained during
9/6262 (2013.01 ) ; G06N 20/00 (2019.01 ) drilling of a new well . A real- time reservoir porosity log is
( 58 ) Field of Classification Search generated for the new well using the gas - porosity model and
CPC E21B 47/00 ; GOIV 99/005 ; GO6K 9/6256 ; real - time gas measurements .
G06K 9/6262 ; GOON 20/00
See application file for complete search history . 20 Claims , 7 Drawing Sheets
RIG
PLATFORM
102
100

FRESH MUD IS EXHAUST


PUMPED INTO 126
WELLBORE SEPARATOR GAS
106 TANK MIXTURE
114 116
GAS SAMPLER
!
h

SHAKER 118
FILTER GAS
110 CHROMATOGRAPH
122
CUTTINGS FID
GAS MASS 7
112 120 SPECTROMETER COLUMN
O
104
MUD MIXED WITH
GAS AND DEBRIS 108 AF,CO.,H2,HE, CH ,4 CH ,CzHg, 124
FLOWS OUT OF
WELLBORE
MUD TANK N2,02.CHA -CHAD,, -CHIO
US 11,512,580 B2
Page 2

( 56 ) References Cited Beda et al., “ An Innovative Approach for Estimating the Sw and
Porosity Using Gas and Mud Logging Data in Real Time” , AAPG
U.S. PATENT DOCUMENTS International Conference and Exhibition , Oct. 31 , 2011 , 17 pages .
Beda et al . , “ Gas While Drilling (GWD ); A Real Time Geologic and
2016/0348480 A1 * 12/2016 Zuo E21B 47/10 Reservoir Interpretation Tool ” , SPWLA 40th Annual Logging Sym
2017/0260855 A1 9/2017 Yang et al . posium , 1999 , 14 pages .
2017/0337302 Al 11/2017 Mezghani et al . Dashti et al . , “ Use of Advanced Mud Gas Chromatography for
2019/0112914 A1 4/2019 Chen et al . Reservoir Quality Prediction While Drilling ”, International Petro
2019/0169986 Al 6/2019 Storm et al . leum Technology Conference, Nov. 2016 , 15 pages .
2019/0392851 A1 12/2019 Kim et al . Dashti et al., “ Use of Mud Gas Chromatograph for Reservoir
2020/0401951 A1 12/2020 Ranganathan et al . Quality Prediction While Drilling - A Case Study ”, SPE Kuwait Oil
2021/0110280 A1 4/2021 Akkurt et al .
2021/0310345 A1 * 10/2021 Aqeel G06K 9/6267 and Gas Show and Conference, 2015 , 17 pages .
2021/0349001 A1 11/2021 Anifowose et al . Erzinger et al . , “ Real -time mud gas logging during drilling of the
SAFOD Pilot Hole in Parkfield , CA ” , Geophysical Research Let
FOREIGN PATENT DOCUMENTS ters, Jun . 24 , 2004 , vol . 31 , 4 pages .
Hammerschmidt et al . , “ Real -time drilling mud gas monitoring for
WO WO 2018208634 11/2018 qualitative evaluation of hydrocarbon gas composition during deep
WO WO 2019222129 11/2019 sea drilling in the Nankai Trough Kumano Basin ” , Geochemical
Transactions, 2014 , 15 pages .
OTHER PUBLICATIONS
Haworth et al . , “ Interpretation of Hydrocarbon Shows Using Light
( C1 - C5 ) Hydrocarbon Gases from Mud -Log Data ”, The American
Yang et al ., “ A machine learning approach to predict gas oil ratio Association of Petroleum Geologists Bulletin, Aug. 1985 , V. 69 , No.
8 , pp. 1305-1310 .
based on advanced mud gas data ,” SPE 195459 , Society of Petro Hurst et al . , “ Predicting Reservoir Characteristics From Drilling and
leum Engineers , Jan. 2019 , 17 pages. Hydrocarbon -Gas Data Using Advanced Computational Mathemat
Zehui et al . , “ Permeability prediction with artificial neural network ics ” , 2009 SPE Offshore Europe Oil & Gas Conference & Exhibi
tion, Sep. 2009 , 10 pages.
modeling in the venture gas field , offshore eastern Canada,” Geo
physics, Mar. 1996 , 61 ( 2 ) : 422-436 , 16 pages. Monsen et al . , “ Quantitative 3D Outcrop Interpretation ” SEG
PCT International Search Report and Written Opinion in Interna Technical Program Expanded Abstracts, 2006 , 5 pages .
tional Appln. No. PCT /US2021/031534 , dated Aug. 30 , 2021 , 18 Saidian et al ., “ Qualitative and Quantitative Reservoir Bitumen
pages. Characterization : A Core to Log Correlation Methodology ”, 2014
PCT International Search Report and Written Opinion in Interna SSSS SPWLA Conference Paper, 16 pages .
tional Appln. No. PCT /US2021/031538, dated Aug. 10 , 2021 , 13 Zhao et al . , “ Estimating permeability of shale - gas reservoirs from
pages. porosity and rock compositions ” , GEOPHYSICS , vol . 83 , No. 5 ,
Abouelresh , " Quantitative and Qualitative Evaluation of Micro 2018, 12 pages .
Porosity in Qusaiba Hot Shale , Saudi Arabia ” , 3rd Unconventional Wikipedia.com [ online ] , “ Artificial neural network , ” available on or
Resources Technology Conference, Jul. 2015 , 10 pages. before May 2020 , retrieved on May 10 , 2020 , retrieved from URL :
Alakeely et al ., “ Application of Artificial Intelligence for Fluid < https://en.wikipedia.org/w/index.php?title=Artificial neural network
Typing using Calibrated Compositional Data ” , 11th Middle East & oldid = 955889246 > , 27 pages.
Geosciences Conference and Exhibition ( GEO 2014 ) , Mar. 2014 , 25
pages. * cited by examiner
U.S. Patent Nov. 29 , 2022 Sheet 1 of 7 US 11,512,580 B2

124

EXHAUST 126 CHROMATGP


GAS 122 FID
7

A
...

COLUMN .

100 tem

118
(
MGASAS
SPECTROM Ar
H2
CO2
,
CH4
He
C2H6
CzHgC4H10
-
n
1
,
CH4
O2
.
N2

1
.
FIG
SGAMPLSER ?? CUTINGS
120
112
GAS 116 2MIXTURE /SHAKER 110
FILTER
SEPARTO TANK 114
108 MUDTANK

WELBORE
MUDISFRESH IPUNMPTEOD 106

RIG
PLATFORM 102 104
WMIUXTEDH GASANDDEBRIS OUTOFFLOWS WELBORE
U.S. Patent Nov. 29 , 2022 Sheet 2 of 7 US 11,512,580 B2
200

HISTORICAL HISTORICAL
202 GAS DATA FROM POROSITY LOG FROM 204
DRILLED WELLS DRILLED WELLS

206 GAS -POROSITY DATABASE LIGHT GASES FROM L 210


FOR MODEL CALIBRATION GAS CHROMATOGRAPH
+ WHILE DRILLING
208 MACHINE LEARNING MODEL HEAVY GASES FROM 212
MASS SPECTROMETER
POROSITY LOG

xx300

214

Xx400 -

Xx500

FIG . 2
U.S. Patent Nov. 29 , 2022 Sheet 3 of 7 US 11,512,580 B2
300
302
GAS -POROSITY DATABASE FROM PREVIOUSLY DRILLED AND LOGGED WELLS

304 CALIBRATION SUBSET

MACHINE LEARNING ENGINE


(ARTIFICIAL NEURAL 314 306
308 NETWORK, SUPPORT VECTOR
MACHINE, REGRESSION OPTIMIZE LEARNING VALIDATION
TREE , RANDOM FOREST, ETC.) PARAMETERS: SUBSET
• LEARNING RATE
• NUMBER OF NEURONS
ACTIVATION FUNCTION
310 TRAINED /CALIBRATED MODEL • WEIGHT COEFFICIENTS
312 316 GAS MEASUREMENTS WHILE DRILLING
ADJUST LEARNING NO ERROR = <
PARAMETERS THRESHOLD
?
YES +
318 VALIDATED MODEL

NEW REAL - TIME POROSITY LOG


m unduh rever
Xx300
namunAhment
320

322
xx400

Xx500
FIG . 3
U.S. Patent Nov. 29 , 2022 Sheet 4 of 7 US 11,512,580 B2
400
x104
SUPPORT VECTOR
MACHINE CALIBRATION
/
0.9

1.1

402
1.2 -

1.3
) ACTUAL
DEPTH
ft
( 7 404 POROSITY
402 2. PREDICTED
POROSITY
1.4
408
404

1.5

1.6

1.7

1.8 FIG . 4A
0 0.1 0.2 0.3 0.4 0.5
406 POROSITY
U.S. Patent Nov. 29 , 2022 Sheet 5 of 7 US 11,512,580 B2
450
SUPPORT VECTOR
0.9
x104 MACHINE PREDICTION
404 402

0.95 -

1.05

1.1

DEPTH
)
ft
(
1.15 -

408 1.2
ACTUAL
404 POROSITY
402 2 PREDICTED
1.25 POROSITY

1.3 -

1.35

1.4 FIG . 4B
0 0.1 0.2 0.3 0.4 0.5
406 POROSITY
U.S. Patent Nov. 29 , 2022 Sheet 6 of 7 US 11,512,580 B2

500

RECEIVE HISTORICAL GAS -POROSITY


DATA FROM PREVIOUSLY -DRILLED
AND LOGGED WELLS , WHERE THE
502 HISTORICAL GAS -POROSITY DATA
IDENTIFIES RELATIONSHIPS BETWEEN
GAS MEASUREMENTS OBTAINED DURING
DRILLING AND RESERVOIR POROSITY
DETERMINED AFTER DRILLING

504 TRAIN , USING MACHINE LEARNING


AND THE HISTORICAL GAS - POROSITY
DATA, A GAS -POROSITY MODEL

RECEIVE REAL- TIME GAS


506 MEASUREMENTS OBTAINED
DURING DRILLING OF A NEW WELL

GENERATE, USING THE GAS


POROSITY MODEL AND REAL
508 TIME GAS MEASUREMENTS, A
REAL - TIME RESERVOIR POROSITY
LOG FOR THE NEW WELL

FIG . 5
U.S. Patent Nov. 29 , 2022 Sheet 7 of 7 US 11,512,580 B2

600
"

630 NETWORK

602

INTERFACE COMPUTER
605
PROCESSOR 604
607
MEMORY

APPLICATION DATABASE
608
API 606
612
SERVICE LAYER
-603
613
POWER SUPPLY
614

FIG . 6
US 11,512,580 B2
1 2
REAL - TIME ESTIMATION OF RESERVOIR obtained during drilling of a new well . A real - time reservoir
POROSITY FROM MUD GAS DATA porosity log is generated for the new well using the gas
porosity model and real - time gas measurements .
BACKGROUND The previously described implementation is implement
5 able using a computer - implemented method ; a non - transi
The present disclosure applies to estimating reservoir tory, computer -readable medium storing computer -readable
porosity while drilling a well . instructions to perform the computer - implemented method ;
Conventional methodologies for reservoir evaluation and a computer -implemented system including a computer
typically require the acquisition of well logs after drilling is memory interoperably coupled with a hardware processor
completed. Well logging acquisition programs and well data 10 configured to perform the computer -implemented method /
analysis usually take between one to four weeks after the instructions stored on the non - transitory, computer
drilling is completed . In some cases , logging while drilling readable medium .
can be used . However, logging while drilling can have its The subject matter described in this specification can be
own limitations , for example, due to lower data quality and
expensive logging rates. For this reason , well logging is15 implemented in particular implementations, so as to realize
remains being the usual way to determine reservoir quality. one or more of the following advantages. First , real - time
Porosity logs provide an understanding of the productive reservoir porosity values can be combined with surface
and non - productive sections of a well . Combined with other drilling parameters to determine reservoir quality and esti
logs , the porosity log gives an indication of whether a mate reservoir rock strength. The information can be used ,
section of aa well is composed of gas , oil , or water. The only 20 for example, to plan the well completion and stimulation
available data during drilling is the mud log . Mud log is a processes. Also , knowing the reservoir porosity as drilling
volumetric measure of different gases that are liberated from progresses can help drillers and wellsite geologists to iden
the earth as the drill bit grinds through the rock formation tify target productive sections to use for multilateral drilling .
during drilling Second, techniques described in the present disclosure can
Evaluation of the quality of a reservoir is a critical step in 25 be used to solve the challenge of generating a porosity log
the petroleum reservoir development workflow . Evaluation while drilling for real -time and on- time decision -making.
is usually done after drilling is completed using specialized Third , productive and non -productive sections of a well can
tools . Performing evaluation while drilling is possible be identified . Fourth , real -time reservoir porosity values can
through LWD and MWD methods but can be expensive . be used in geo - steering, such as in horizontal and multilat
Logging processes can involve lowering a probe equipped 30 eral wells . For example, knowing the reservoir porosity
with sensors into the drilled borehole. The probe can record while drilling can help drillers remain within the productive
data from the bottom of the borehole upwards until it reaches zone for maximum productivity. Fifth , permeability estima
the surface . Recordings can include responses of rock for- tions can be improved, as real - time reservoir porosity values
mation to different signals, such as sound and radioactive can be plugged in to permeability estimation models to
materials. As a device such as a probe moves upward in the 35 obtain a real- time permeability log . Permeability estimates
borehole, the device can continuously record a constant combined with porosity can provide a better indication of
stream of data relating to the formation . The information can reservoir quality, reducing uncertainties that may occur
be digitally cataloged and presented in a standardized log when using only porosity as a reservoir quality indicator.
spreadsheet. Sixth , machine learning ( ML ) techniques can be used to
Conventional uses of mud gas data in formation logging 40 establish a nonlinear relationship between mud gas mea
are typically limited to correlations of geological or petro- surements and porosity of existing wells to estimate the
physical information, evaluation of wells , and formation porosity log for a new well while drilling. The use of ML
fluid typing. Past attempts to extend the utility of mud gas techniques can also overcome the limitations of static equa
data to characterize lithological changes, porosity variations, tions and basic statistics , such as Monte Carlo . Seventh ,
permeability barriers, gas /oil and hydrocarbon /water con- 45 estimation of reservoir porosity can be improved by using
tacts , and vertical changes in fluid over a thick mono - layer both light (basic ) and heavy ( advanced) gas measurements
2

pay zone are typically qualitative. Few attempts to utilize in real -time and employing ML techniques to build sophis
mud gas data have been limited to the use of only the lightest ticated nonlinear relationships between gas measurements
gas , methane ( C1 ) . More recent attempts use only the light and their corresponding porosity values .
hydrocarbon gases ( C1 to C5 ) to predict reservoir fluid types 50 The details of one or more implementations of the subject
using PVT data . matter of this specification are set forth in the Detailed
Description , the accompanying drawings, and the claims .
SUMMARY Other features, aspects , and advantages of the subject matter
will become apparent from the Detailed Description , the
The present disclosure describes techniques that can be 55 claims , and the accompanying drawings.
used for generating real -time estimates of reservoir porosity
from mud gas data while drilling. For example, the term DESCRIPTION OF DRAWINGS
real - time can correspond to events that occur within a
specified period of time , such as within a few seconds or FIG . 1 is a diagram of an example of a conventional mud
minutes. In some implementations, a computer - imple- 60 gas measurement system , according to some implementa
mented method includes the following. Historical gas -po- tions of the present disclosure .
rosity data is received from previously - drilled and logged FIG . 2 is aa flow diagram of an example of a workflow for
wells . The historical gas -porosity data identifies relation- generating a porosity log while drilling, according to some
ships between gas measurements obtained during drilling implementations of the present disclosure .
and reservoir porosity determined after drilling. A gas- 65 FIG . 3 is a flow diagram showing an example of a
porosity model is trained using machine learning and the workflow for a machine learning model , according to some
historical gas -porosity data . Real - time gas measurements are implementations of the present disclosure .
US 11,512,580 B2
3 4
FIG . 4A is a diagram showing an example of a calibration months, the generated porosity log can be used to determine
plot , according to some implementations of the present the quality of the well as drilling progresses.
disclosure. While focus in the petrochemical drilling industry is
FIG . 4B is a diagram showing an example of a prediction currently shifting from qualitative geological characteriza
plot , according to some implementations of the present 5 tion to quantitative in the petroleum industry, techniques of
disclosure . the present disclosure can be used to relate mud gas data
with reservoir porosity . Generating a porosity log during
FIG . 5 is a flowchart of an example of a method for drilling
estimating reservoir porosity from mud gas data while impact the and ahead of the logging process can positively
drilling, according to some implementations of the present 10 time and costreservoir quality evaluation process by saving
. Ability to make reservoir management deci
disclosure . sions at the early stage of development is a big advantage.
FIG . 6 is a block diagram illustrating an example com ML techniques can be applied to adequately handle the
puter system used to provide computational functionalities nonlinearity and the embedded noise in mud gas data for the
associated with described algorithms, methods, functions, estimation and generation of porosity log while drilling.
processes, flows, and procedures as described in the present 15 FIG . 1 is aa diagram
disclosure , according to some implementations of the pres gas measurement systemof an example of a conventional mud
100 , according to some implemen
ent disclosure . tations of the present disclosure . The system 100 includes a
Like reference numbers and designations in the various rig platform 102 used when drilling a well , for example, an
drawings indicate like elements . oil well . During drilling, mud 104 mixed with gas and debris
20 flows out of the wellbore of the well . While drilling occurs ,
DETAILED DESCRIPTION fresh mud 106 is pumped into the wellbore . The fresh mud
106 can be pumped from aa mud tank 108 that contains mud
The following detailed description describes techniques filtered using a shaker / filter 110. Cuttings 112 , including
for estimating reservoir porosity from mud gas data while rock from the wellbore, can also be separated by the
drilling. Both light (basic) and heavy ( advanced ) gas mea- 25 shaker / filter 110. A separator tank 114 can separate a gas
surements can be measured while drilling and used with mixture 116 from mud that flows from the wellbore , while
machine learning ( ML ) techniques to establish a nonlinear providing mud to the shaker/ filter 110. The gas mixture 116
relationship to estimate reservoir porosity in real time while can be sampled by a gas sampler 118. A gas mass spectrom
drilling. The term real time can correspond, for example, to eter 120 and a gas chromatograph 122 can be used to analyze
events that occur within a specified period of time , such as 30the gas . Results can be provided to a user through user
within a few seconds or minutes . interface 124. Remaining unused gas can exit the system 100
Various modifications , alterations, and permutations of as exhaust 126 .
the disclosed implementations can be made and will be The proposed methodology is based on ML approaches
readily apparent to those of ordinary skill in the art, and the that establish nonlinear relationships between available mud
general principles defined may be applied to other imple- 35 gas data and porosity from previously -drilled wells . The
mentations and applications, without departing from scope present disclosure extends the utility of the gas measure
of the disclosure . In some instances , details unnecessary to ments to estimate reservoir porosity as a log by building a
obtain an understanding of the described subject matter may gas -porosity database from the abundant data obtained from
be omitted so as to not obscure one or more described previously -drilled wells . ML technologies can be employed
implementations with unnecessary detail and inasmuch as 40 to generate a continuous porosity profile for a new well
such details are within the skill of one of ordinary skill in the being drilled . An integrated gas - porosity database can be
art. The present disclosure is not intended to be limited to the used to build and calibrate ML models . Trained ML models
described or illustrated implementations, but to be accorded can then be used to generate a continuous porosity log for a
the widest scope consistent with the described principles and new well . The ability to generate porosity ahead of a
features . 45 conventional logging process can be a big benefit to reser
The estimation of reservoir porosity from mud gas data voir management and field development processes .
can be a useful tool used to determine reservoir quality at FIG . 2 is a flow diagram of an example of a workflow 200
early stages during borehole development. Conventional for generating a porosity log while drilling, according to
techniques that include logging while drilling ( LWD ) or some implementations of the present disclosure. At 202 ,
measurement while drilling ( MWD ) can be expensive. Wait- 50 historical gas data is received from drilled wells . At 204 ,
ing up to six months, for example, to obtain logging data can porosity log data is received from drilled wells . At 206 , the
result in corresponding degrees of cost . Using techniques of received data can be combined into a gas - porosity database
the present disclosure can help to extend the utility of mud used for model calibration and used in a machine learning
gas data beyond current practices that include reservoir fluid model 208 .
typing in pseudo ( or indirect) generation of petrophysical 55 Processes involved in using the ML model 208 that can be
logs . Using techniques of the present disclosure can ulti- used in the workflow 200 are further illustrated in FIG . 3 .
mately reduce the cost of logging . ML models can perform techniques such as Artificial Neural
Conventional techniques lack the identification and use of Network (ANN ), Support Vector Machine ( SVM ) , Regres
physical relationships between gases and reservoir quality sion Tree (RT ), Random Forest (RF ) , Extreme Learning
measures . Techniques of the present disclosure include 60 Machine ( ELM ) , and Type I and Type II Fuzzy Logic
methodologies that make it possible to estimate porosity (T1FL/T2FL ) . A gas-porosity database can be split to form
during drilling using mud gas data . Mud gas data of existing two separate data subsets for calibration and validation that
wells can be used to build aa model powered by ML meth- are used , respectively, to build and optimize the ML engine.
odologies that establish nonlinear relationships with corre- For example, optimization can refer to achieving ML engine
sponding porosity logs . While drilling, model can use mud 65 results that indicate a performance greater than a predefined
gas measurements as input to estimate and generate a threshold . The optimization process can involve adjusting
porosity log in real time . Instead of waiting for up to three appropriate parameters , such as the learning rate , number of
US 11,512,580 B2
5 6
neurons, activation function, and weight coefficients, to their A sigmoid function can be in the form of Equation ( 3 ) :
optimal values . In this way, the error between the model
prediction and the actual porosity estimations from the
validation data subset can be kept within a pre - set threshold . f ( x) =
1 (3 )
If the error is within the threshold , the model can be 5 1 + e -x
considered optimized and can receive real - time gas mea
surements from a new well without the need for logging to
predict the porosity log profile for the entire well . Otherwise, where x is each of the input wireline logs .
the learning parameters can be re -adjusted. This process of neurons in thesuch
Parameters as the number of layers and number of
hidden layer( s ) are set to fit (or “ tune” ) the
matching the model prediction with the action validation 10 nonlinear equation to the calibration data . The input part of
data can be referred to as a feed - forward process . The
process of re -adjusting the model parameters to increase the the validation data subset ( gas measurements) is passed to
match and reduce the error between the model prediction the model while keeping the target variable hidden . The
and the actual validation measurements can be referred to as model is used to estimate the corresponding target to the
a back -propagation . It can be noted that these feed - forward 15 input gas measurements . The estimated target values can
and back -propagation processes have the capability to then be compared to the actual target values kept hidden
remove the bias embedded in the original thin section from the model . If the residual is more than a certain
analysis . The iteration can continue until the error comes threshold , then the parameters can be changed and the entire
within the threshold or a maximum number of iterations is process can be repeated . The cycle can continue until the
reached . The best model at that point is used for the 20 residual is within the defined threshold . At this point, it can
prediction. be said that a " trained ” model exists that is ready for
Further description of step 208 in FIG . 2 is presented in automated estimation of grain size for a new well . The
FIG . 3. The machine learning model can use techniques such prediction process can involve porting the gas measurements
as ANN , support vector machine , radial basis function , for a new well being drilled to the trained model ( the
fuzzy logic , or decision tree . The description that follows 25 calibrated mathematical equation ) to estimate and generate
applies specifically to ANN . The steps involved in typical a new porosity log . The validated model can process the gas
ML technique can include , for example , training /calibration , measurements as input and generate predictions from a log
validation , and prediction. Gas measurements obtained from of porosity in the same depth interval as the gas measure
already drilled wells can consist of light (basic ) gases 210 ments . Model re - calibration can also optionally occur. When
and heavy ( advanced ) gases 212. The ML model 208 can use 30 new or additional data (gas measurements and their corre
the gas -porosity database and the inputs 210 and 212 to sponding porosity log from newly -drilled and logged wells )
generate a porosity log 214 . is available , the new or additional data can be added to the
In some implementations, gas measurement data can be calibration database . With the updated calibrated database ,
measured at the rate of 1.0 - foot intervals . The gas data can the same set of tuning parameters may no longer be adequate
be paired with their corresponding porosity logs for the same 35 to fit the model to the newly -updated data. As needed, new
wells to build a gas -porosity calibration database . The sets of the tuning parameters can be derived to establish a
database can typically be divided into two subsets: training good fit between the updated gas measurements and the new
calibration and validation . The training/calibration subset set of porosity logs .
can usually be much more than the validation, such as in the FIG . 3 is a flow diagram showing an example of a
ratio 70:30 , in which 70 % goes for training and the remain- 40 workflow 300 for aa machine learning model , according to
ing 30 % is used for validation . The training/calibration data some implementations of the present disclosure . The
subset can be used to create a sophisticated nonlinear machine learning model corresponds to the gas - porosity
mathematical relationship between the gas data and the model that is trained and calibrated using techniques of the
porosity log . This can be done by multiplying each mud gas present disclosure . At 302 , a gas -porosity database from
log by a certain weight factor determined by the outcome of 45 previously -drilled and logged wells can be divided into a
nonlinear mapping using a pre - determined activation func- calibration subset 304 and a validation subset 306. A
tion . This weight factor, typically ranging from 0 to +1 , can machine learning engine 308 can use the calibration subset
be obtained from the degree of nonlinear correlation or 304 to create a trained / calibrated model 310. Other inputs
significance between the gas and the porosity. A weighting can include optimized learning parameters 314 ( for
process can be used to determine the effect that a gas 50 example , including a learning rate, a number of neurons, an
measurement has on an overall relationship (now called the activation function , and weighting coefficients ). At 316 , a
model ). determination can be made whether an error associated with
In some implementations, a certain function , f such as a the trained /calibrated model 310 is within a threshold . If not ,
sigmoid , can be used to transform the input space to a learning parameters 312 are adjusted to update the trained /
multi -dimensional nonlinear space to match the nature of the 55 calibrated model 310. If the error associated with the trained /
subsurface data . In a simplified form , a typical mathematical calibrated model 310 is within aa threshold , then a validated
equation can be simplified as shown in Equation ( 1 ) : model 318 uses gas measurements while drilling 320 to
Y = f(a X1 +a2X2 + ... +a6X ) (1)
generate a real - time porosity log 322 .
FIG . 4A is a diagram showing an example of aa calibration
where Y is the target variable (porosity in this case) , a , 60 plot 400 , according to some implementations of the present
ag are the weighting factors , X -X , are the input gas mea- disclosure . The calibration plot 400 can be a support vector
surements, and f is the activation function ( such as Gaussian machine ( SVM ) calibration plot , for example. Actual poros
or sigmoid ) . ity 402 and predicted porosity 404 are plotted relative to
A Gaussian function can be in the form of Equation ( 2 ) : porosity 406 and depth 408 , for example , in feet ( ft ).
2

f(t) e (2)
65 FIG . 4B is a diagram showing an example of a prediction
plot 450 , according to some implementations of the present
where x is each of the input wireline logs . disclosure. The prediction plot 450 can be a support vector
US 11,512,580 B2
7 8
machine ( SVM) prediction plot , for example . Actual poros- data. Generating the gas - porosity model can include training
ity 402 and predicted porosity 404 are plotted relative to the gas -porosity model using the calibration subset. After
porosity 406 and depth 408 . 508 , method 500 can stop .
FIGS . 4A and 4B show examples of results that were In some implementations, method 500 can be pro
obtained using tests conducted for model testing , according 5 grammed as a toolbox used for real- time estimation of
to some implementations of the present disclosure . FIG . 4A reservoir porosity during drilling. The toolbox can be
shows the model calibration result , which is the result of the installed on workstations used onsite and in aa central loca
model when tested on the same data used to calibrate the tion ( such as an office ).
model . FIG . 4B shows the performance of the model when In some implementations, improved results using method
tested on well data that was not included in the calibration. 10 500 can occur when certain
. Forquality control
, the (QC ) techniques
The porosity log can be generated by porting gas measure are improved
include
or met
performing QC on
example
mud gas data to
techniques
remove all
can
the
ments from a new well being drilled to the calibrated model . effects of rate of penetration, hole size , oil - based mud, and
FIG . 5 is a flowchart of an example of a method 500 for
estimating reservoir porosity from mud gas data while 15 cracking of drilling fluid .
FIG . 6 is a block diagram of an example computer system
drilling, according to some implementations of the present 600 used to provide computational functionalities associated
disclosure . For clarity of presentation , the description that with described algorithms, methods, functions, processes ,
follows generally describes method 500 in the context of the flows, and procedures described in the present disclosure,
other figures in this description. However, it will be under- according to some implementations of the present disclo
stood that method 500 can be performed , for example, by 20 sure . The illustrated computer 602 is intended to encompass
any suitable system , environment, software, and hardware , any computing device such as a server , a desktop computer,
or a combination of systems , environments , software , and a laptop /notebook computer, a wireless data port, a smart
hardware, as appropriate . In some implementations, various phone, a personal data assistant ( PDA ) , a tablet computing
steps of method 500 can be run in parallel, in combination , device, or one or more processors within these devices ,
in loops, or in any order . 25 including physical instances, virtual instances , or both . The
At 502 , historical gas -porosity data is received from computer 602 can include input devices such as keypads,
previously -drilled and logged wells . The gas -porosity data keyboards, and touch screens that can accept user informa
identifies relationships between gas measurements obtained tion . Also , the computer 602 can include output devices that
during drilling and reservoir porosity determined after drill can convey information associated with the operation of the
ing . As an example, the historical gas-porosity data associ- 30 visual
computer 602. The information can include digital data ,
data , audio information , or a combination of infor
ated with multiple rig platforms 102 can be received , includ mation . The information can be presented in a graphical user
ing the results from each rig's gas mass spectrometer 120 interface (UI ) ( or GUI).
and gas chromatograph 122. The corresponding reservoir The computer 602 can serve in a role as a client, a network
porosity determined after drilling for each rig can also be 35 component , a server, a database , a persistency, or compo
received . From 502 , method 500 proceeds to 504 . nents of a computer system for performing the subject
At 504 , a gas -porosity model is trained using machine matter described in the present disclosure . The illustrated
learning and the historical gas - porosity data. The machine computer 602 is communicably coupled with a network 630 .
learning can be performed using techniques of one or more In some implementations, one or more components of the
of ANN , SVM , RT, RF, ELM , and T1FL/ T2FL . From 504 , 40 computer 602 can be configured to operate within different
method 500 proceeds to 506 . environments, including cloud computing-based environ
At 506 , real - time gas measurements are obtained during ments, local environments, global environments, and com
drilling of a new well . The real time gas measurements for binations of environments .
the new rig can include the results from the gas mass At a top level , the computer 602 is an electronic comput
spectrometer 120 and gas chromatograph 122 of the new rig . 45 ing device operable to receive , transmit, process , store , and
In some implementations, method 500 can further include manage data and information associated with the described
determining whether the gas -porosity model meets an error subject matter. According to some implementations, the
threshold. Upon determining that the gas - porosity model computer 602 can also include , or be communicably coupled
does not meet the error threshold, learning parameters used with, an application server, an email server , a web server, a
in the machine learning are adjusted, and the gas - porosity 50 caching server, a streaming data server, or a combination of
model is calibrated based on the adjusted learning param servers .
eters . The learning parameters can include, for example, a The computer 602 can receive requests over network 630
learning rate, a number of neurons, an activation function , from aa client application ( for example, executing on another
and weighting coefficients. In some implementations, the computer 602 ) . The computer 602 can respond to the
learning parameters can be optimized to reduce aa number of 55 received requests by processing the received requests using
iterations needed to train and calibrate the gas - porosity software applications . Requests can also be sent to the
model . In some implementations, the weighting coefficients computer 602 from internal users ( for example, from a
corresponding to inputs representing different gas measure- command console ) , external ( or third ) parties, automated
ments can be changed to generate different results in the applications , entities, individuals, systems, and computers .
machine learning. From 506 , method 500 proceeds to 508. 60 Each of the components of the computer 602 can com
At 508 , a real - time reservoir porosity log is generated for
municate using a system bus 603. In some implementations,
the new well using the gas -porosity model and real - time gas any or all of the components of the computer 602 , including
2

measurements . As an example, the real - time porosity log hardware or software components, can interface with each
322 can be generated for the new well . other or the interface 604 (or a combination of both) over the
In some implementations, method 500 can further include 65 system bus 603. Interfaces can use an application program
creating a calibration subset of the historical gas -porosity ming interface (API ) 612 , a service layer 613 , or a combi
data and a validation subset of the historical gas - porosity nation of the API 612 and service layer 613. The API 612
US 11,512,580 B2
9 10
can include specifications for routines, data structures, and The computer 602 also includes a memory 607 that can
object classes . The API 612 can be either computer - language hold data for the computer 602 or a combination of com
independent or dependent. The API 612 can refer to a ponents connected to the network 630 (whether illustrated or
complete interface, a single function , or a set of APIs . not ) . Memory 607 can store any data consistent with the
The service layer 613 can provide software services to the 5 present disclosure . In some implementations, memory 607
computer 602 and other components ( whether illustrated or can be a combination of two or more different types of
not) that are communicably coupled to the computer 602 . memory ( for example, a combination of semiconductor and
The functionality of the computer 602 can be accessible for magnetic storage ) according to particular needs , desires , or
all service consumers using this service layer. Software particular implementations of the computer 602 and the
services, such as those provided by the service layer 613 , can 10 described functionality . Although illustrated as a single
provide reusable, defined functionalities through a defined memory 607 in FIG . 6 , two or more memories 607 (of the
interface . For example , the interface can be software written same, different, or combination of types ) can be used accord
in JAVA , C ++ , or a language providing data in extensible ing to particular needs, desires, or particular implementa
markup language (XML ) format. While illustrated as an tions of the computer 602 and the described functionality .
integrated component of the computer 602 , in alternative 15 While memory 607 is illustrated as an internal component of
implementations, the API 612 or the service layer 613 can be the computer 602 , in alternative implementations, memory
stand - alone components in relation to other components of 607 can be external to the computer 602 .
the computer 602 and other components communicably The application 608 can be an algorithmic software
coupled to the computer 602. Moreover, any or all parts of engine providing functionality according to particular needs,
the API 612 or the service layer 613 can be implemented as 20 desires , or particular implementations of the computer 602
child or sub -modules of another software module , enterprise and the described functionality. For example, application
application , or hardware module without departing from the 608 can serve as one or more components , modules, or
scope of the present disclosure . applications . Further, although illustrated as a single appli
The computer 602 includes an interface 604. Although cation 608 , the application 608 can be implemented as
illustrated as a single interface 604 in FIG . 6 , two or more 25 multiple applications 608 on the computer 602. In addition,
interfaces 604 can be used according to particular needs, although illustrated as internal to the computer 602 , in
desires , or particular implementations of the computer 602 alternative implementations, the application 608 can be
and the described functionality. The interface 604 can be external to the computer 602 .
used by the computer 602 for communicating with other The computer 602 can also include a power supply 614 .
systems that are connected to the network 630 (whether 30 The power supply 614 can include a rechargeable or non
illustrated or not ) in a distributed environment. Generally, rechargeable battery that can be configured to be either user
the interface 604 can include , or be implemented using, or non - user- replaceable. In some implementations, the
logic encoded in software or hardware ( or a combination of power supply 614 can include power - conversion and man
software and hardware ) operable to communicate with the agement circuits , including recharging, standby, and power
network 630. More specifically, the interface 604 can 35 management functionalities. In some implementations, the
include software supporting one or more communication power - supply 614 can include a power plug to allow the
protocols associated with communications. As such, the computer 602 to be plugged into a wall socket or a power
network 630 or the interface's hardware can be operable to source to , for example, power the computer 602 or recharge
communicate physical signals within and outside of the a rechargeable battery.
illustrated computer 602 . 40 There can be any number of computers 602 associated
The computer 602 includes a processor 605. Although with, or external to , a computer system containing computer
illustrated as a single processor 605 in FIG . 6 , two or more 602 , with each computer 602 communicating over network
processors 605 can be used according to particular needs, 630. Further, the terms " client," " user, " and other appropri
desires, or particular implementations of the computer 602 ate terminology can be used interchangeably, as appropriate ,
and the described functionality. Generally, the processor 605 45 without departing from the scope of the present disclosure.
can execute instructions and can manipulate data to perform Moreover, the present disclosure contemplates that many
the operations of the computer 602 , including operations users can use one computer 602 and one user can use
using algorithms, methods, functions, processes, flows, and multiple computers 602 .
procedures as described in the present disclosure. Described implementations of the subject matter can
The computer 602 also includes a database 606 that can 50 include one or more features, alone or in combination .
hold data for the computer 602 and other components For example, in a first implementation, a computer
connected to the network 630 (whether illustrated or not ). implemented method includes the following. Historical gas
For example, database 606 can be an in -memory, conven- porosity data is received from previously -drilled and logged
tional, or a database storing data consistent with the present wells . The historical gas -porosity data identifies relation
disclosure . In some implementations, database 606 can be a 55 ships between gas measurements obtained during drilling
combination of two or more different database types ( for and reservoir porosity determined after drilling. A gas
example , hybrid in -memory and conventional databases) porosity model is trained using machine learning and the
according to particular needs, desires , or particular imple- historical gas -porosity data . Real - time gas measurements are
mentations of the computer 602 and the described function- obtained during drilling of a new well . A real- time reservoir
ality. Although illustrated as a single database 606 in FIG . 6 , 60 porosity log is generated for the new well using the gas
two or more databases ( of the same, different, or combina- porosity model and real - time gas measurements .
tion of types) can be used according to particular needs , The foregoing and other described implementations can
desires , or particular implementations of the computer 602 each, optionally, include one or more of the following
and the described functionality. While database 606 is features:
illustrated as an internal component of the computer 602 , in 65 A first feature, combinable with any of the following
alternative implementations, database 606 can be external to features, the method further including creating a calibration
the computer 602 . subset of the historical gas -porosity data and a validation
US 11,512,580 B2
11 12
subset of the historical gas - porosity data, where generating A fifth feature , combinable with any of the previous or
the gas-porosity model includes training the gas -porosity following features, where the machine learning is performed
model using the calibration subset. using techniques including one or more of Artificial Neural
A second feature, combinable with any of the previous or Network (ANN ), Support Vector Machine ( SVM ) , Regres
following features, the method further including: determin- 5 sion Tree (RT ), Random Forest (RF ) , Extreme Learning
ing whether the gas -porosity model meets an error threshold ; Machine ( ELM ), and Type I and Type II Fuzzy Logic
and upon determining that the gas -porosity model does not ( T1FL / T2FL ).
meet the error threshold : adjusting learning parameters used A sixth feature, combinable with any of the previous or
in the machine learning, and calibrating the gas - porosity following features, the operations further including chang
2

model based on the adjusting. 10 ing the weighting coefficients corresponding to inputs rep
A third feature , combinable with any of the previous or resenting different gas measurements to generate different
following features, where the learning parameters include a results in the machine learning.
learning rate, a number of neurons, an activation function , In a third implementation , a computer -implemented sys
and weighting coefficients . tem includes aa database containing historical gas measure
A fourth feature , combinable with any of the previous or 15 ment information and reservoir porosity information for
following features, the method further including optimizing plural wells ; machine learning algorithms configured to
the learning parameters to reduce a number of iterations generate gas - porosity models using machine learning and
needed to calibrate the gas - porosity model. the database ; and one or more processors and a non
A fifth feature , combinable with any of the previous or transitory computer - readable storage medium coupled to the
following features, where the machine learning is performed
using techniques including one or more of Artificial Neural
20 tions
one orformore processors and storing programming instruc
execution by the one or more processors . The
Network (ANN ), Support Vector Machine ( SVM) , Regres- programming instructions instruct the one or more proces
sion Tree (RT ), Random Forest ( RF ), Extreme Learning sors to perform operations of the machine learning algo
Machine ( ELM ) , and Type I and Type II Fuzzy Logic rithms including the following. Historical gas -porosity data
( T1FL / T2FL ) . 25 is received from previously -drilled and logged wells . The
A sixth feature, combinable with any of the previous or historical gas -porosity data identifies relationships between
following features, the method further including changing gas measurements obtained during drilling and reservoir
the weighting coefficients corresponding to inputs represent- porosity determined after drilling. A gas -porosity model is
ing different gas measurements to generate different results trained using machine learning and the historical gas -poros
in the machine learning. 30 ity data . Real - time gas measurements are obtained during
In a second implementation, a non - transitory, computer- drilling of a new well . A real -time reservoir porosity log is
readable medium stores one or more instructions executable generated for the new well using the gas - porosity model and
by a computer system to perform operations including the real - time gas measurements .
following. Historical gas -porosity data is received from The foregoing and other described implementations can
previously -drilled and logged wells . The historical gas- 35 each, optionally, include one or more of the following
porosity data identifies relationships between gas measure- features:
ments obtained during drilling and reservoir porosity deter- A first feature, combinable with any of the following
mined after drilling. A gas - porosity model is trained using features, the operations further including creating a calibra
machine learning and the historical gas - porosity data . Real- tion subset of the historical gas -porosity data and a valida
time gas measurements are obtained during drilling of a new 40 tion subset of the historical gas - porosity data , where gener
well . A real -time reservoir porosity log is generated for the ating the gas - porosity model includes training the gas
new well using the gas -porosity model and real -time gas porosity model using the calibration subset.
measurements . A second feature, combinable with any of the previous or
The foregoing and other described implementations can following features, the operations further including : deter
each , optionally, include one or more of the following 45 mining whether the gas - porosity model meets an error
features : threshold ; and upon determining that the gas -porosity model
A first feature, combinable with any of the following does not meet the error threshold : adjusting learning param
features, the operations further including creating a calibra- eters used in the machine learning; and calibrating the
tion subset of the historical gas -porosity data and a valida- gas -porosity model based on the adjusting.
tion subset of the historical gas-porosity data , where gener- 50 A third feature, combinable with any of the previous or
ating the gas -porosity model includes training the gas- following features, where the learning parameters include a
porosity model using the calibration subset . learning rate , a number of neurons, an activation function ,
A second feature , combinable with any of the previous or and weighting coefficients .
following features, the operations further including: deter- A fourth feature, combinable with any of the previous or
mining whether the gas - porosity model meets an error 55 following features, the operations further including optimiz
threshold ; and upon determining that the gas - porosity model ing the learning parameters to reduce a number of iterations
does not meet the error threshold : adjusting learning param- needed to calibrate the gas - porosity model.
eters used in the machine learning; and calibrating the A fifth feature, combinable with any of the previous or
gas -porosity model based on the adjusting. following features, where the machine learning is performed
A third feature , combinable with any of the previous or 60 using techniques including one or more of Artificial Neural
following features, where the learning parameters include a Network ( ANN ), Support Vector Machine ( SVM ) , Regres
learning rate, a number of neurons, an activation function , sion Tree (RT ), Random Forest (RF ) , Extreme Learning
and weighting coefficients . Machine ( ELM ) , and Type I and Type II Fuzzy Logic
A fourth feature , combinable with any of the previous or (T1FL/T2FL ) .
following features , the operations further including optimiz- 65 Implementations of the subject matter and the functional
ing the learning parameters to reduce a number of iterations operations described in this specification can be imple
needed to calibrate the gas - porosity model . mented in digital electronic circuitry, in tangibly embodied
US 11,512,580 B2
13 14
computer software or firmware, in computer hardware, third -party services, components, and libraries . Conversely,
including the structures disclosed in this specification and the features and functionality of various components can be
their structural equivalents , or in combinations of one or combined into single components as appropriate . Thresholds
more of them . Software implementations of the described used to make computational determinations can be statically,
subject matter can be implemented as one or more computer 5 dynamically, or both statically and dynamically determined .
programs. Each computer program can include one or more The methods, processes, or logic flows described in this
modules of computer program instructions encoded on a specification can be performed by one or more program
tangible , non - transitory, computer -readable computer - stor- mable computers executing one or more computer programs
age medium for execution by, or to control the operation of, to perform functions by operating on input data and gener
data processing apparatus. Alternatively, or additionally , the 10 ating output. The methods, processes , or logic flows can also
program instructions can be encoded in /on an artificially be performed by, and apparatus can also be implemented as ,
generated propagated signal. For example , the signal can be special purpose logic circuitry, for example, a CPU , an
a machine- generated electrical, optical , or electromagnetic FPGA , or an ASIC .
signal that is generated to encode information for transmis- Computers suitable for the execution of a computer
sion to a suitable receiver apparatus for execution by a data 15 program can be based on one or more of general and special
processing apparatus. The computer - storage medium can be purpose microprocessors and other kinds of CPUs . The
a machine - readable storage device, a machine -readable stor- elements of a computer are a CPU for performing or
age substrate, a random or serial access memory device , or executing instructions and one or more memory devices for
a combination of computer - storage mediums. storing instructions and data . Generally, a CPU can receive
The terms " data processing apparatus," " computer , ” and
>
20 instructions and data from ( and write data to ) a memory.
“ electronic computer device ” (or equivalent as understood Graphics processing units ( GPUs ) can also be used in
by one of ordinary skill in the art) refer to data processing combination with CPUs . The GPUs can provide specialized
hardware . For example, a data processing apparatus can processing that occurs in parallel to processing performed by
encompass all kinds of apparatuses, devices, and machines CPUs . The specialized processing can include artificial
for processing data, including by way of example , a pro- 25 intelligence (AI ) applications and processing, for example .
grammable processor, a computer, or multiple processors or GPUs can be used in GPU clusters or in multi -GPU com
computers . The apparatus can also include special purpose puting
logic circuitry including, for example , a central processing A computer can include , or be operatively coupled to , one
unit (CPU) , a field -programmable gate array ( FPGA ), or an or more mass storage devices for storing data. In some
application - specific integrated circuit (ASIC ). In some 30 implementations, a computer can receive data from , and
implementations, the data processing apparatus or special transfer data to , the mass storage devices including, for
purpose logic circuitry ( or a combination of the data pro- example, magnetic, magneto -optical disks , or optical disks .
cessing apparatus or special purpose logic circuitry ) can be Mor er, a computer can be embedded in another device,
hardware- or software - based ( or a combination of both for example , a mobile telephone, a personal digital assistant
hardware- and software -based ). The apparatus can option- 35 (PDA) , a mobile audio or video player, a game console , a
ally include code that creates an execution environment for global positioning system (GPS ) receiver, or a portable
computer programs, for example, code that constitutes pro- storage device such as a universal serial bus (USB ) flash
cessor firmware , a protocol stack , a database management drive.
system , an operating system , or a combination of execution Computer - readable media ( transitory or non - transitory, as
environments. The present disclosure contemplates the use 40 appropriate) suitable for storing computer program instruc
of data processing apparatuses with or without conventional tions and data can include all forms of permanent/non
operating systems, such as LINUX , UNIX , WINDOWS , permanent and volatile /non - volatile memory , media , and
MAC OS , ANDROID , or IOS . memory devices . Computer -readable media can include , for
A computer program , which can also be referred to or example , semiconductor memory devices such as random
described as a program , software , a software application, a 45 access memory (RAM ), read - only memory ( ROM) , phase
module , a software module , a script, or code, can be written change memory (PRAM ), static random access memory
in any form of programming language . Programming lan- (SRAM ), dynamic random access memory (DRAM ), eras
guages can include, for example, compiled languages, inter- able programmable read - only memory (EPROM ), electri
preted languages, declarative languages , or procedural lan- cally erasable programmable read -only memory (EE
guages . Programs can be deployed in any form , including as 50 PROM) , and flash memory devices . Computer - readable
stand - alone programs, modules, components, subroutines, media can also include , for example, magnetic devices such
or units for use in a computing environment. A computer as tape , cartridges, cassettes, and internal/removable disks .
program can, but need not , correspond to a file in a file Computer -readable media can also include magneto -optical
system . A program can be stored in a portion of a file that disks and optical memory devices and technologies includ
holds other programs or data, for example, one or more 55 ing , for example, digital video disc (DVD ) , CD -ROM ,
scripts stored in a markup language document, in a single DVD +/- R , DVD -RAM , DVD - ROM , HD - DVD , and BLU
file dedicated to the program in question, or in multiple RAY .
coordinated files storing one or more modules, sub -pro- The memory can store various objects or data , including
grams, or portions of code . A computer program can be caches, classes , frameworks, applications, modules , backup
deployed for execution on one computer or on multiple 60 data , jobs , web pages , web page templates, data structures,
computers that are located , for example, at one site or database tables , repositories, and dynamic information .
distributed across multiple sites that are interconnected by a Types of objects and data stored in memory can include
communication network . While portions of the programs parameters, variables, algorithms, instructions, rules, con
illustrated in the various figures may be shown as individual straints, and references. Additionally, the memory can
9

modules that implement the various features and function- 65 include logs , policies , security or access data, and reporting
ality through various objects, methods, or processes , the files . The processor and the memory can be supplemented
programs can instead include a number of sub -modules , by, or incorporated into , special purpose logic circuitry.
US 11,512,580 B2
15 16
Implementations of the subject matter described in the Cluster file systems can be any file system type accessible
present disclosure can be implemented on a computer hav- from multiple servers for read and update . Locking or
ing a display device for providing interaction with a user, consistency tracking may not be necessary since the locking
including displaying information to ( and receiving input of exchange file system can be done at application layer.
from ) the user . Types of display devices can include, for 5 Furthermore , Unicode data files can be different from non
example, a cathode ray tube (CRT ), a liquid crystal display Unicode data files.
( LCD ) , a light- emitting diode (LED ) , and aa plasma monitor. While this specification contains many specific imple
Display devices can include a keyboard and pointing devices mentation details , these should not be construed as limita
including , for example, a mouse , a trackball, or a trackpad . tions on the scope of what may be claimed , but rather as
User input can also be provided to the computer through the 10 descriptions of features that may be specific to particular
use of aa touchscreen , such as a tablet computer surface with implementations. Certain features that are described in this
pressure sensitivity or a multi -touch screen using capacitive specification in the context of separate implementations can
or electric sensing . Other kinds of devices can be used to also be implemented, in combination , in a single implemen
provide for interaction with a user, including to receive user tation . Conversely, various features that are described in the
feedback including , for example, sensory feedback includ- 15 context of a single implementation can also be implemented
ing visual feedback , auditory feedback, or tactile feedback . in multiple implementations, separately, or in any suitable
Input from the user can be received in the form of acoustic , sub - combination . Moreover, although previously described
speech , or tactile input. In addition , a computer can interact features may be described as acting in certain combinations
with a user by sending documents to , and receiving docu- and even initially claimed as such, one or more features from
ments from , a device that the user uses . For example, the 20 a claimed combination can , in some cases , be excised from
computer can send web pages to a web browser on a user's the combination, and the claimed combination may be
client device in response to requests received from the web directed to a sub - combination or variation of a sub -combi
browser. nation .
The term “ graphical user interface , ” or “GUI,” can be Particular implementations of the subject matter have
used in the singular or the plural to describe one or more 25 been described . Other implementations, alterations, and
graphical user interfaces and each of the displays of a permutations of the described implementations are within
particular graphical user interface . Therefore, a GUI can the scope of the following claims as will be apparent to those
represent any graphical user interface, including , but not skilled in the art. While operations are depicted in the
limited to , a web browser, a touch -screen, or a command line drawings or claims in a particular order, this should not be
interface ( CLI ) that processes information and efficiently 30 understood as requiring that such operations be performed in
presents the information results to the user . In general, a GUI the particular order shown or in sequential order, or that all
can include a plurality of user interface (UI ) elements, some illustrated operations be performed ( some operations may be
or all associated with a web browser, such as interactive considered optional ) , to achieve desirable results . In certain
fields, pull - down lists , and buttons . These and other UI circumstances , multitasking or parallel processing ( or a
elements can be related to or represent the functions of the 35
web browser.
combination of multitasking and parallel processing )may be
advantageous and performed as deemed appropriate .
Implementations of the subject matter described in this Moreover, the separation or integration of various system
specification can be implemented in a computing system that modules and components in the previously described imple
includes a back - end component, for example , as a data mentations should not be understood as requiring such
server, or that includes a middleware component, for 40 separation or integration in all implementations. It should be
example, an application server . Moreover, the computing understood that the described program components and
system can include a front - end component, for example, a systems can generally be integrated together in a single
client computer having one or both of a graphical user software product or packaged into multiple software prod
interface or a Web browser through which a user can interact ucts .
with the computer. The components of the system can be 45 Accordingly, the previously described example imple
interconnected by any form or medium of wireline or mentations do not define or constrain the present disclosure .
wireless digital data communication ( or a combination of Other changes, substitutions, and alterations are also pos
data communication ) in a communication network . sible without departing from the spirit and scope of the
Examples of communication networks include a local area present disclosure.
network (LAN ), a radio access network (RAN ), a metro- 50 Furthermore, any claimed implementation is considered
politan area network (MAN ), a wide area network (WAN ), to be applicable to at least a computer- implemented method;
Worldwide Interoperability for Microwave Access a non -transitory, computer - readable medium storing com
(WIMAX ), a wireless local area network ( WLAN ) ( for puter - readable instructions to perform the computer - imple
example, using 802.11 a /b / g / n or 802.20 or a combination of mented method ; and a computer system including a com
protocols ), all or a portion of the Internet, or any other 55 puter memory interoperably coupled with a hardware
communication system or systems at one or more locations processor configured to perform the computer - implemented
( or a combination of communication networks ). The net- method or the instructions stored on the non - transitory,
work can communicate with , for example, Internet Protocol computer - readable medium .
( IP ) packets, frame relay frames, asynchronous transfer What is claimed is :
mode (ATM ) cells , voice , video , data , or a combination of 60 1. A computer - implemented method, comprising :
communication types between network addresses . receiving historical gas -porosity data from previously
The computing system can include clients and servers . A drilled and logged wells , wherein the historical gas
client and server can generally be remote from each other porosity data identifies relationships between gas mea
and can typically interact through a communication net- surements obtained during drilling and reservoir
work . The relationship of client and server can arise by 65 porosity determined after drilling;
virtue of computer programs running on the respective training, using machine learning and the historical gas
computers and having a client- server relationship . porosity data , a gas -porosity model ;
US 11,512,580 B2
17 18
receiving real -time gas measurements obtained during employing machine learning techniques to build non
drilling of a new well , wherein the real - time gas linear relationships between the light (basic ) and
measurements include both light (basic ) and heavy heavy ( advanced ) gas measurements and corre
( advanced ) gas measurements; and sponding porosity values ; and
generating, using the gas -porosity model and real - time 5 estimating reservoir porosity using the nonlinear rela
gas measurements , a real - time reservoir porosity log tionships between the light (basic ) and heavy (ad
for the new well , including: vanced ) gas measurements and their corresponding
employing machine learning techniques to build non porosity values .
linear relationships between the light (basic ) and 9. The non - transitory , computer -readable medium of
heavy ( advanced ) gas measurements and corre 10 claim 8 , the operations further comprising creating a cali
bration subset of the historical gas - porosity data and a
sponding porosity values ; and validation subset of the historical gas - porosity data, wherein
estimating reservoir porosity using the nonlinear rela generating the gas -porosity model includes training the
tionships between the light (basic ) and heavy (ad gas -porosity model using the calibration subset .
vanced ) gas measurements and their corresponding 15 10. The non - transitory, computer- readable medium of
porosity values . claim 9 , the operations further comprising:
2. The computer -implemented method of claim 1 , further determining whether the gas -porosity model meets an
comprising creating a calibration subset of the historical error threshold ; and
gas -porosity data and a validation subset of the historical upon determining that the gas -porosity model does not
gas -porosity data , wherein generating the gas -porosity 20 meet the error threshold :
model includes training the gas -porosity model using the adjusting learning parameters used in the machine
calibration subset . learning, and
3. The computer - implemented method of claim 2 , further calibrating the gas-porosity model based on the adjust
comprising : ing.
determining whether the gas -porosity model meets an 25 11. The non - transitory, computer -readable medium of
error threshold ; and claim 10 , wherein the learning parameters include a learning
upon determining that the gas -porosity model does not rate , a number of neurons, an activation function , and
meet the error threshold : weighting coefficients .
adjusting learning parameters used in the machine 12. The non - transitory, computer - readable medium of
learning; and 30
claim 10, the operations further comprising optimizing the
9

calibrating the gas - porosity model based on the adjust- learning parameters to reduce a number of iterations needed
ing. to calibrate the gas -porosity model .
4. The computer - implemented method of claim 3 , 13. The non - transitory, computer - readable medium of
wherein the learning parameters include a learning rate, a claim 8 , wherein the machine learning is performed using
number of neurons, an activation function , and weighting 35 techniques including one or more of Artificial Neural Net
coefficients . work (ANN ), Support Vector Machine ( SVM) , Regression
5. The computer - implemented method of claim 3 , further Tree (RT ), Random Forest (RF ) , Extreme Learning Machine
comprising optimizing the learning parameters to reduce a (ELM) , and Type I and Type II Fuzzy Logic ( T1FL/T2FL) .
number of iterations needed to calibrate the gas - porosity 14. The non - transitory , computer -readable medium of
model . 40 claim 11 , the operations further comprising changing the
6. The computer -implemented method of claim 1 , weighting coefficients corresponding to inputs representing
wherein the machine learning is performed using techniques different gas measurements to generate different results in
including one or more of Artificial Neural Network (ANN ), the machine learning .
Support Vector Machine ( SVM) , Regression Tree (RT ), 15. A computer - implemented system , comprising:
Random Forest (RF ), Extreme Learning Machine ( ELM ) , 45 a database containing historical gas measurement infor
and Type I and Type II Fuzzy Logic ( T1FL/T2FL) . mation and reservoir porosity information for plural
7. The computer - implemented method of claim 4 , further wells ;
comprising changing the weighting coefficients correspond- machine learning algorithms configured to generate gas
ing to inputs representing different gas measurements to porosity models using machine learning and the data
generate different results in the machine learning. 50 base ;
8. A non - transitory , computer - readable medium storing one or more processors ; and
one or more instructions executable by a computer system to a non -transitory computer-readable storage medium
perform operations comprising: coupled to the one or more processors and storing
receiving historical gas- porosity data from previously- programming instructions for execution by the one or
drilled and logged wells , wherein the historical gas- 55 more processors, the programming instructions
porosity data identifies relationships between gas mea- instructing the one or more processors to perform
surements obtained during drilling and reservoir operations of the machine learning algorithms compris
porosity determined after drilling; ing :
training, using machine learning and the historical gas- receiving historical gas -porosity data from previously
porosity data, a gas - porosity model ; 60 drilled and logged wells , wherein the historical gas
receiving real - time gas measurements obtained during porosity data identifies relationships between gas
drilling of a new well , wherein the real - time gas measurements obtained during drilling and reservoir
measurements include both light (basic ) and heavy porosity determined after drilling;
( advanced ) gas measurements; and training, using machine learning and the historical
generating, using the gas -porosity model and real - time 65 gas -porosity data , a gas -porosity model ;
gas measurements, a real - time reservoir porosity log receiving real - time gas measurements obtained during
for the new well , including : drilling of a new well , wherein the real -time gas
US 11,512,580 B2
19 20
measurements include both light (basic ) and heavy upon determining that the gas-porosity model does not
( advanced ) gas measurements; and meet the error threshold :
generating, using the gas -porosity model and real - time adjusting learning parameters used in the machine
gas measurements, a real - time reservoir porosity log learning; and
for the new well , including: 5 calibrating the gas -porosity model based on the adjust
employing machine learning techniques to build ing .
nonlinear relationships between the light ( basic) 18. The computer - implemented system of claim 17 ,
and heavy ( advanced ) gas measurements and cor wherein the learning parameters include a learning rate, a
responding porosity values; and
estimating reservoir porosity using the nonlinear 10 number of neurons, an activation function , and weighting
relationships between the light ( basic ) and heavy coefficients .
(advanced ) gas measurements and their corre- 19. The computer -implemented system of claim 17 , the
sponding porosity values. operations further comprising optimizing the learning
16. The computer -implemented system of claim 15 , the parameters to reduce a number of iterations needed to
operations further comprising creating a calibration subset 15 calibrate the gas - porosity model.
of the historical gas -porosity data and a validation subset of 20. The computer - implemented system of claim 15 ,
the historical gas -porosity data , wherein generating the wherein the machine learning is performed using techniques
gas -porosity model includes training the gas -porosity model including one or more of Artificial Neural Network (ANN ),
using the calibration subset. Support Vector Machine ( SVM) , Regression Tree (RT ),
17. The computer - implemented system of claim 16 , the 20 Random Forest (RF ) , Extreme Learning Machine (ELM) ,
operations further comprising: and Type I and Type II Fuzzy Logic (T1FL/T2FL ) .
determining whether the gas - porosity model meets an
error threshold ; and * *

You might also like