Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
REAL-TIME ESTIMATION OF FORMATION HYDROCARBON MOBILITY FROM MUD GAS DATA
Document Type and Number:
WIPO Patent Application WO/2021/231273
Kind Code:
A1
Abstract:
Systems and methods include a method for generating a real-time permeability log. Historical mud gas-permeability data is received from previously-drilled and logged wells. The historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. A formation hydrocarbon mobility model is trained using machine learning and the historical mud gas data. Real-time gas measurements are obtained during drilling of a new well. A real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real-time gas measurements.

Inventors:
ANIFOWOSE FATAI A (SA)
MEZGHANI MOKHLES MUSTAPHA (SA)
ISMAIL JAVED (SA)
BADAWOOD SALEH M (SA)
Application Number:
PCT/US2021/031534
Publication Date:
November 18, 2021
Filing Date:
May 10, 2021
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SAUDI ARABIAN OIL CO (SA)
ARAMCO SERVICES CO (US)
International Classes:
E21B47/00
Domestic Patent References:
WO2019222129A12019-11-21
Foreign References:
US8714246B22014-05-06
US202016871825A2020-05-11
Other References:
TAO YANG ET AL: "SPE-195459-MS A Machine Learning Approach to Predict Gas Oil Ratio Based on Advanced Mud Gas Data", SOCIETY OF PETROLEUM ENGINEERS,, 1 January 2019 (2019-01-01), XP002802339
HUANG ZEHUI ET AL: "Permeability prediction with artificial neural network modeling in the Venture gas field, offshore eastern Canada", GEOPHYSICS, vol. 61, no. 2, 1 March 1996 (1996-03-01), US, pages 422 - 436, XP055833796, ISSN: 0016-8033, DOI: 10.1190/1.1443970
Attorney, Agent or Firm:
BRUCE, Carl E. et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A computer-implemented method, comprising: receiving historical mud gas-permeability data from previously-drilled wells, wherein the historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling; training, using machine learning and the historical mud gas-permeability data, a formation hydrocarbon mobility model; receiving real-time gas measurements obtained during drilling of a new well; and generating, using the formation hydrocarbon mobility model and real-time gas measurements, a real-time permeability log for the new well.

2. The computer-implemented method of claim 1, further comprising creating a calibration subset of the historical mud gas-permeability data and a validation subset of the historical mud gas-permeability data, wherein generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

3. The computer-implemented method of claim 2, further comprising: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters.

4. The computer-implemented method of claim 3, wherein the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients.

5. The computer-implemented method of claim 3, further comprising optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model.

6. The computer-implemented method of claim 1, wherein the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN),

Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL).

7. The computer-implemented method of claim 4, further comprising changing the weighting coefficients corresponding to inputs representing different gas measurements to generate different results in the machine learning.

8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising: receiving historical mud gas-permeability data from previously-drilled wells, wherein the historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling; training, using machine learning and the historical mud gas-permeability data, a formation hydrocarbon mobility model; receiving real-time gas measurements obtained during drilling of a new well; and generating, using the formation hydrocarbon mobility model and real-time gas measurements, a real-time permeability log for the new well.

9. The non-transitory, computer-readable medium of claim 8, the operations further comprising creating a calibration subset of the historical mud gas-permeability data and a validation subset of the historical mud gas-permeability data, wherein generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

10. The non-transitory, computer-readable medium of claim 9, the operations further comprising: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters.

11. The non-transitory, computer-readable medium of claim 10, wherein the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients.

12. The non-transitory, computer-readable medium of claim 10, the operations further comprising optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model.

13. The non-transitory, computer-readable medium of claim 8, wherein the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL).

14. The non-transitory, computer-readable medium of claim 11, the operations further comprising changing the weighting coefficients corresponding to inputs representing different gas measurements to generate different results in the machine learning. 15. A computer-implemented system, comprising: a database containing historical mud gas-permeability data from plural wells; a machine learning module configured to generate formation hydrocarbon mobility models using machine learning and the database; one or more processors; and a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming instructions for execution by the one or more processors, the programming instructions instructing the one or more processors to perform operations of the machine learning module comprising: receiving historical mud gas-permeability data from previously-drilled wells, wherein the historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling; training, using machine learning and the historical mud gas- permeability data, a formation hydrocarbon mobility model; receiving real-time gas measurements obtained during drilling of a new well; and generating, using the formation hydrocarbon mobility model and real time gas measurements, a real-time permeability log for the new well.

16. The computer-implemented system of claim 15, the operations further comprising creating a calibration subset of the historical mud gas-permeability data and a validation subset of the historical mud gas-permeability data, wherein generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

17. The computer-implemented system of claim 16, the operations further comprising: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters.

18. The computer-implemented system of claim 17, wherein the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients. 19. The computer-implemented system of claim 17, the operations further comprising optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model.

20. The computer-implemented system of claim 15, wherein the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL).

Description:
REAL-TIME ESTIMATION OF FORMATION HYDROCARBON MOBILITY

FROM MUD GAS DATA

CLAIM OF PRIORITY

[0001] This application claims priority to U.S. Patent Application No. 16/871,825 filed on May 11, 2020, the entire contents of which are hereby incorporated by reference.

BACKGROUND

[0002] The present disclosure applies to estimating formation hydrocarbon mobility while drilling a well. [0003] Formation hydrocarbon mobility is the ratio of the effective formation permeability to the phase viscosity of the fluid. Well productivity is a function of the mobility and the thickness of the fluid-bearing stratum, among other factors. Formation permeability can be measured from core samples, while fluid viscosity can be estimated from fluid samples. Typical sampling and measurement procedures can be time- consuming and expensive. Drilling typically needs to be stopped during the sampling process, leading to non-productive time. Further, sampling and measurement results are obtained are after-the-fact. Mobility, when it is known, can be combined with other reservoir properties to get an indication of the quality and productivity of a reservoir. However, the only data that is available during drilling is the mud log. Mud log information includes volumetric measurements of different gases that are liberated from the earth as the drill bit grinds through rock formations during drilling.

SUMMARY

[0004] The present disclosure describes techniques that can be used for generating real-time estimates of formation hydrocarbon mobility from mud gas data while drilling. For example, the term real-time can correspond to events that occur within a specified period of time, such as within a few seconds or minutes. In some implementations, a computer-implemented method includes the following. Historical mud gas-permeability data is received from previously-drilled and logged wells. The historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. A formation hydrocarbon mobility model is trained using machine learning and the historical mud gas data. Real-time gas measurements are obtained during drilling of a new well. A real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real-time gas measurements.

[0005] The previously described implementation is implementable using a computer-implemented method; a non-transitory, computer-readable medium storing computer-readable instructions to perform the computer-implemented method; and a computer-implemented system including a computer memory interoperably coupled with a hardware processor configured to perform the computer-implemented method/the instructions stored on the non-transitory, computer-readable medium. [0006] The subject matter described in this specification can be implemented in particular implementations, so as to realize one or more of the following advantages. First, techniques described in the present disclosure can be used to solve the challenge of generating a permeability log while drilling to enable real-time and on-time decision making. Second, permeability estimations can be improved, as real-time mud gas measurements can be plugged into a formation hydrocarbon mobility model to obtain a real-time permeability log. Third, permeability estimates can provide a better indication of reservoir quality. Fourth, machine learning (ML) techniques can be used to establish a nonlinear relationship between mud gas measurements and permeability of existing wells to estimate a real-time permeability log for a new well during drilling. Fifth, the estimation of permeability can be improved by using both organic and inorganic mud gas data. Sixth, a physical relationship can be formulated between gases and formation hydrocarbon mobility.

[0007] The details of one or more implementations of the subject matter of this specification are set forth in the Detailed Description, the accompanying drawings, and the claims. Other features, aspects, and advantages of the subject matter will become apparent from the Detailed Description, the claims, and the accompanying drawings.

DESCRIPTION OF DRAWINGS

[0008] FIG. 1 is a diagram of an example of a conventional mud gas measurement system, according to some implementations of the present disclosure. [0009] FIG. 2 is a flow diagram of an example of a workflow for generating a real-time permeability log, according to some implementations of the present disclosure. [0010] FIG. 3 is a flow diagram showing an example of a workflow for a machine learning module, according to some implementations of the present disclosure. [0011] FIG. 4A is a diagram showing an example of a training plot, according to some implementations of the present disclosure. [0012] FIG. 4B is a diagram showing an example of a testing plot, according to some implementations of the present disclosure.

[0013] FIG. 5 is a flowchart of an example of a method for estimating formation hydrocarbon mobility from mud gas data while drilling, according to some implementations of the present disclosure. [0014] FIG. 6 is a block diagram illustrating an example computer system used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure, according to some implementations of the present disclosure.

[0015] Like reference numbers and designations in the various drawings indicate like elements.

DETAILED DESCRIPTION

[0016] The following detailed description describes techniques for estimating formation hydrocarbon mobility from mud gas data while drilling. Both light and heavy organic and inorganic gas concentrations can be measured while drilling to establish a nonlinear relationship to estimate formation hydrocarbon mobility in real time while drilling. The term real time can correspond, for example, to events that occur within a specified period of time, such as within a few seconds or minutes. Real-time mobility estimation while drilling can enable faster decision making during drilling of a well.

[0017] Various modifications, alterations, and permutations of the disclosed implementations can be made and will be readily apparent to those of ordinary skill in the art, and the general principles defined may be applied to other implementations and applications, without departing from scope of the disclosure. In some instances, details unnecessary to obtain an understanding of the described subject matter may be omitted so as to not obscure one or more described implementations with unnecessary detail and inasmuch as such details are within the skill of one of ordinary skill in the art. The present disclosure is not intended to be limited to the described or illustrated implementations, but to be accorded the widest scope consistent with the described principles and features.

[0018] Techniques described in the present disclosure can be used to estimate mobility during drilling using mud gas data. Mud gas data of existing wells can be used to build and calibrate a formation hydrocarbon mobility model powered by the machine learning methodology that establishes a complex nonlinear relationship with their corresponding mobility estimations. While drilling, the formation hydrocarbon mobility model can use the mud gas measurements as input to estimate and generate a mobility log profile in real time. Use of the formation hydrocarbon mobility model can eliminate non-productive times, reduce cost, and enable more timely decision-making, including in the early stages of well development.

[0019] Reservoir quality evaluation is a critical step in the petroleum reservoir development workflow. One of the reservoir quality indicators is mobility. Formation mobility is a function of rock permeability and fluid viscosity. Reservoir rock permeability is measured from core samples, while fluid viscosity is measured from fluid samples using specialized tools. For these procedures to be done, drilling has to be completed or suspended. Suspension of drilling leads to non-production time while waiting until drilling is completed, resulting in further delays in reservoir quality evaluation and creating additional costs. Some aspects of reservoir quality evaluation can occur while drilling, such as by using logging while drilling (LWD) and measurement while drilling (MWD), both of which can be expensive. Coring and fluid sampling processes can involve collecting cylindrical rock (called cores) and fluid samples from the subsurface at certain sections of a well. The samples (rock and fluid) can be taken to a laboratory to be analyzed using specialized tools. The measurements can be recorded as point datasets.

[0020] Conventional uses of mud gas data in formation logging are limited to correlation with geological or petrophysical information, evaluation of wells, and formation fluid typing. Previous attempts have been made in the industry to extend the utility of mud gas data to characterize lithological changes, porosity variations, permeability barriers, gas/oil and hydrocarbon/water contacts, and vertical changes in fluid over a thick mono-layer pay zone. However, such efforts have been largely qualitative. Some attempts to utilize mud gas data have been limited to the use of only the lightest gas, methane (Cl). More recent attempts have focused on only the light hydrocarbon gases (Cl to C5) to predict reservoir fluid types using pressure/volume/temperature (PVT) data.

[0021] Focus in the petroleum industry is currently shifting from qualitative geological characterization to quantitative geological characterization. Techniques described in the present disclosure for relating mud gas data with reservoir permeability can produce improved results. Generating a permeability log during drilling and ahead of the logging process can positively impact the reservoir quality evaluation process by saving time and expense. The ability to make reservoir management decisions at early stages of development can be advantageous. Machine learning can be used to handle the high nonlinearity and the embedded noise in mud gas data for the estimation and generation of a real-time permeability log while drilling. Machine learning methodologies can be used to integrate organic and inorganic mud gas data for the estimation of permeability.

[0022] FIG. 1 is a diagram of an example of a conventional mud gas measurement system 100, according to some implementations of the present disclosure. The system 100 includes a rig platform 102 used when drilling a well, for example, an oil well. During drilling, mud 104 mixed with gas and debris flows out of the wellbore of the well. While drilling occurs, fresh mud 106 is pumped into the wellbore. The fresh mud 106 can be pumped from a mud tank 108 that contains mud filtered using a shaker/filter 110. Cuttings 112, including rock from the wellbore, can also be separated by the shaker/filter 110. A separator tank 114 can separate a gas mixture 116 from mud that flows from the wellbore, while providing mud to the shaker/filter 110. The gas mixture 116 can be sampled by a gas sampler 118. A gas mass spectrometer 120 and a gas chromatograph 122 can be used to analyze the gas. Results can be provided to a user through a user interface 124. Remaining unused gas can exit the system 100 as exhaust 126.

[0023] The proposed methodology is based on a machine learning approach that establishes nonlinear relationships between available mud gas data and permeability estimated for logged wells. This disclosure extends the utility of the gas measurements to estimate reservoir permeability as a real-time log by building a gas-permeability database from the abundant data obtained from previously-drilled and logged wells. Machine learning technology used to generate a real-time permeability profile for a new well being drilled. The integrated gas-permeability database is used to build and calibrate a machine learning (ML) model. The trained ML model is then used to generate a real-time permeability log for a new well. The ability to generate permeability log ahead of the conventional logging process is a big benefit to the reservoir management and field development process. [0024] FIG. 2 is a flow diagram of an example of a workflow 200 for generating a real-time permeability log, according to some implementations of the present disclosure. At 202, historical mud gas-permeability data from drilled and logged wells is obtained. At 204, permeability that is estimated from logged wells is obtained. At 206, the received data can be combined into a permeability database used for model calibration and used in a machine learning model 208.

[0025] Processes involved in using the ML model 208 that can be used in the workflow 200 are further illustrated in FIG. 3. ML models can use techniques such as Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL). Mud gas permeability from previously drilled and logged wells can be split to form two separate data subsets for calibration and validation that are used, respectively, to build and optimize the ML engine. For example, optimization can refer to achieving ML engine results that indicate a performance greater than a predefined threshold. [0026] The optimization process can involve adjusting appropriate parameters, such as the learning rate, number of neurons, activation function, and weight coefficients, to their optimal values. In this way, the error between the model prediction and the actual permeability estimations from the validation data subset can be kept within a pre-set threshold. If the error is within the threshold, the model can be considered optimized and can receive real-time gas measurements from a new well without the need for logging to predict the real-time permeability log profile for the entire well. Otherwise, the learning parameters can be re-adjusted. This process of matching the model prediction with the action validation data can be referred to as a feed-forward process. The process of re-adjusting the model parameters to increase the match and reduce the error between the model prediction and the actual validation measurements can be referred to as a back-propagation. It can be noted that these feed forward and back-propagation processes have the capability to remove the bias embedded in the original thin section analysis. The iteration can continue until the error comes within the threshold or a maximum number of iterations is reached. The best model at that point is used for the prediction.

[0027] Further description of step 208 in FIG. 2 is presented in FIG. 3. The machine learning module can use techniques such as ANN, support vector machine, radial basis function, fuzzy logic, or decision tree. The description that follows applies specifically to ANN. The steps involved in typical ML technique can include, for example, training/calibration, validation, and prediction. Gas measurements obtained from already drilled wells can consist of organic gases 210 and inorganic gases 212. The ML model 208 can use the permeability database and the inputs 210 and 212 to generate a real-time permeability log 214.

[0028] In some implementations, gas measurement data can be measured at the rate of 1.0-foot intervals. The mud gas data can be paired with their corresponding permeability estimations for the same wells to build a mud gas-permeability calibration database. The database can typically be divided into two subsets: training/calibration and validation. The training/calibration subset can usually be much more than the validation, such as in the ratio 70:30, in which 70% goes for training and the remaining 30% is used for validation. The training/calibration data subset can be used to create a sophisticated nonlinear mathematical relationship between the mud gas data and the permeability estimates. This can be done by multiplying each mud gas log by a certain weight factor determined by the outcome of nonlinear mapping using a pre-determined activation function. This weight factor, typically ranging from 0 to ±1, can be obtained from the degree of nonlinear correlation or significance between the gas and the permeability. A weighting process can be used to determine the effect that a gas measurement has on an overall relationship (now called the model). [0029] In some implementations, a certain function, such as a sigmoid, can be used to transform the input space to a multi-dimensional nonlinear space to match the nature of the subsurface data. In a simplified form, a typical mathematical equation can be simplified as shown in Equation (1):

Y = f {a C + a 2 ¾ 3 - f a 6 ^e (1) where Y is the target variable (permeability in this case), cii ... <¾ are the weighting factors, Xi -Xe are the input gas measurements, and /is the activation function (such as Gaussian or sigmoid). [0030] A Gaussian function can be in the form of Equation (2):

/(x) = e c2 (2) where x is each of the input wireline logs.

[0031] A sigmoid function can be in the form of Equation (3): where x is each of the input wireline logs.

[0032] Parameters such as the number of layers and number of neurons in the hidden layer(s) are set to fit (or “tune”) the nonlinear equation to the calibration data. The input part of the validation data subset (gas measurements) is passed to the model while keeping the target variable hidden. The model is used to estimate the corresponding target to the input gas measurements. The estimated target values can then be compared to the actual target values kept hidden from the model. If the residual is more than a certain threshold, then the parameters can be changed and the entire process can be repeated. The cycle can continue until the residual is within the defined threshold. At this point, it can be said that a “trained” model exists that is ready for automated estimation of permeability for a new well. The prediction process can involve porting the gas measurements for a new well being drilled to the trained model (the calibrated mathematical equation) to estimate and generate a new permeability log. The validated model can process the gas measurements as input and generate predictions from a log of permeability in the same depth interval as the gas measurements. Model re-calibration can also optionally occur. When new or additional data (gas measurements and their corresponding permeability log from newly-drilled and logged wells) is available, the new or additional data can be added to the calibration database. With the updated calibrated database, the same set of tuning parameters may no longer be adequate to fit the model to the newly-updated data. As needed, new sets of the tuning parameters can be derived to establish a good fit between the updated gas measurements and the new set of permeability logs.

[0033] FIG. 3 is a flow diagram showing an example of a workflow 300 for a machine learning module, according to some implementations of the present disclosure. At 302, a database of mud gas permeability from previously drilled and logged wells can be divided into a calibration subset 304 and a validation subset 306. A machine learning engine 308 can use the calibration subset 304 to create a trained/calibrated model 310 (formation hydrocarbon mobility model). Other inputs can include optimized learning parameters 314 (for example, including a learning rate, a number of neurons, an activation function, and weighting coefficients). At 316, a determination can be made whether an error associated with the trained/calibrated model 310 is within a threshold. If not, learning parameters 312 are adjusted to update the trained/calibrated model 310. If the error associated with the trained/calibrated model 310 is within a threshold, then a validated model 318 can use organic and inorganic gas measurements while drilling 320 to generate a real-time permeability log 322. [0034] FIG. 4A is a diagram showing an example of a training plot 400, according to some implementations of the present disclosure. The training plot 400 can be an RF training plot, for example. Actual permeability 402 and predicted permeability 404 are plotted relative to permeability 406 and depth 408, for example, in feet (ft).

[0035] FIG. 4B is a diagram showing an example of a testing plot 450, according to some implementations of the present disclosure. The testing 450 plot can be an RF testing plot, for example. Actual permeability 402 and predicted permeability 404 are plotted relative to permeability 406 and depth 408.

[0036] FIGS. 4A and 4B show examples of results that were obtained using tests conducted for model testing, according to some implementations of the present disclosure. FIG. 4A shows the model calibration result, which is the result of the model when tested on the same data used to calibrate the model. FIG. 4B shows the performance of the model when tested on well data that was not included in the calibration. The permeability log can be generated by importing gas measurements from a new well being drilled. [0037] FIG. 5 is a flowchart of an example of a method 500 for estimating formation hydrocarbon mobility from mud gas data while drilling, according to some implementations of the present disclosure. For clarity of presentation, the description that follows generally describes method 500 in the context of the other figures in this description. However, it will be understood that method 500 can be performed, for example, by any suitable system, environment, software, and hardware, or a combination of systems, environments, software, and hardware, as appropriate. In some implementations, various steps of method 500 can be run in parallel, in combination, in loops, or in any order. [0038] At 502, historical mud gas-permeability data is received from previously- drilled wells. The historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. As an example, the historical mud gas-permeability data associated with multiple rig platforms 102 can be received, including the results from each rig’s gas mass spectrometer 120 and gas chromatograph 122. The corresponding permeability determined after drilling for each rig can also be received. From 502, method 500 proceeds to 504.

[0039] At 504, a formation hydrocarbon mobility model is trained using machine learning and the historical mud gas-permeability data. The machine learning can be performed using techniques of one or more of ANN, SVM, RT, RF, ELM, and T1FL/T2FL. From 504, method 500 proceeds to 506.

[0040] At 506, real-time gas measurements are obtained during drilling of a new well. The real time gas measurements for the new rig can include the results from the gas mass spectrometer 120 and gas chromatograph 122 of the new rig.

[0041] In some implementations, method 500 can further include determining whether the formation hydrocarbon mobility model meets an error threshold. Upon determining that the formation hydrocarbon mobility model does not meet the error threshold, learning parameters used in the machine learning are adjusted, and the formation hydrocarbon mobility model is calibrated based on the adjusted learning parameters. The learning parameters can include, for example, a learning rate, a number of neurons, an activation function, and weighting coefficients. In some implementations, the learning parameters can be optimized to reduce a number of iterations needed to train and calibrate the formation hydrocarbon mobility model. In some implementations, the weighting coefficients corresponding to inputs representing different gas measurements can be changed to generate different results in the machine learning. From 506, method 500 proceeds to 508.

[0042] At 508, a real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real-time gas measurements. As an example, the real-time permeability log 322 can be generated for the new well.

[0043] In some implementations, method 500 can further include creating a calibration subset of the historical mud gas-permeability data and a validation subset of the historical mud gas-permeability data. Generating the formation hydrocarbon mobility model can include training the formation hydrocarbon mobility model using the calibration subset. After 508, method 500 can stop.

[0044] In some implementations, method 500 can be programmed as a toolbox used for real-time estimation of permeability during drilling. The toolbox can be installed on workstations used onsite and in a central location (such as an office)...

[0045] In some implementations, improved results using method 500 can occur when certain quality control (QC) techniques are improved or met. For example, the techniques can include performing QC on historical mud gas-permeability data to remove all the effects of rate of penetration, hole size, oil-based mud, and cracking of drilling fluid.

[0046] FIG. 6 is a block diagram of an example computer system 600 used to provide computational functionalities associated with described algorithms, methods, functions, processes, flows, and procedures described in the present disclosure, according to some implementations of the present disclosure. The illustrated computer 602 is intended to encompass any computing device such as a server, a desktop computer, a laptop/notebook computer, a wireless data port, a smart phone, a personal data assistant (PDA), a tablet computing device, or one or more processors within these devices, including physical instances, virtual instances, or both. The computer 602 can include input devices such as keypads, keyboards, and touch screens that can accept user information. Also, the computer 602 can include output devices that can convey information associated with the operation of the computer 602. The information can include digital data, visual data, audio information, or a combination of information. The information can be presented in a graphical user interface (UI) (or GUI).

[0047] The computer 602 can serve in a role as a client, a network component, a server, a database, a persistency, or components of a computer system for performing the subject matter described in the present disclosure. The illustrated computer 602 is communicably coupled with a network 630. In some implementations, one or more components of the computer 602 can be configured to operate within different environments, including cloud-computing-based environments, local environments, global environments, and combinations of environments.

[0048] At a top level, the computer 602 is an electronic computing device operable to receive, transmit, process, store, and manage data and information associated with the described subject matter. According to some implementations, the computer 602 can also include, or be communicably coupled with, an application server, an email server, a web server, a caching server, a streaming data server, or a combination of servers.

[0049] The computer 602 can receive requests over network 630 from a client application (for example, executing on another computer 602). The computer 602 can respond to the received requests by processing the received requests using software applications. Requests can also be sent to the computer 602 from internal users (for example, from a command console), external (or third) parties, automated applications, entities, individuals, systems, and computers. [0050] Each of the components of the computer 602 can communicate using a system bus 603. In some implementations, any or all of the components of the computer 602, including hardware or software components, can interface with each other or the interface 604 (or a combination of both) over the system bus 603. Interfaces can use an application programming interface (API) 612, a service layer 613, or a combination of the API 612 and service layer 613. The API 612 can include specifications for routines, data structures, and object classes. The API 612 can be either computer-language independent or dependent. The API 612 can refer to a complete interface, a single function, or a set of APIs.

[0051] The service layer 613 can provide software services to the computer 602 and other components (whether illustrated or not) that are communicably coupled to the computer 602. The functionality of the computer 602 can be accessible for all service consumers using this service layer. Software services, such as those provided by the service layer 613, can provide reusable, defined functionalities through a defined interface. For example, the interface can be software written in JAVA, C++, or a language providing data in extensible markup language (XML) format. While illustrated as an integrated component of the computer 602, in alternative implementations, the API 612 or the service layer 613 can be stand-alone components in relation to other components of the computer 602 and other components communicably coupled to the computer 602. Moreover, any or all parts of the API 612 or the service layer 613 can be implemented as child or sub-modules of another software module, enterprise application, or hardware module without departing from the scope of the present disclosure.

[0052] The computer 602 includes an interface 604. Although illustrated as a single interface 604 in FIG. 6, two or more interfaces 604 can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. The interface 604 can be used by the computer 602 for communicating with other systems that are connected to the network 630 (whether illustrated or not) in a distributed environment. Generally, the interface 604 can include, or be implemented using, logic encoded in software or hardware (or a combination of software and hardware) operable to communicate with the network 630. More specifically, the interface 604 can include software supporting one or more communication protocols associated with communications. As such, the network 630 or the interface’s hardware can be operable to communicate physical signals within and outside of the illustrated computer 602.

[0053] The computer 602 includes a processor 605. Although illustrated as a single processor 605 in FIG. 6, two or more processors 605 can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. Generally, the processor 605 can execute instructions and can manipulate data to perform the operations of the computer 602, including operations using algorithms, methods, functions, processes, flows, and procedures as described in the present disclosure.

[0054] The computer 602 also includes a database 606 that can hold data for the computer 602 and other components connected to the network 630 (whether illustrated or not). For example, database 606 can be an in-memory, conventional, or a database storing data consistent with the present disclosure. In some implementations, database 606 can be a combination of two or more different database types (for example, hybrid in-memory and conventional databases) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. Although illustrated as a single database 606 in FIG. 6, two or more databases (of the same, different, or combination of types) can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. While database 606 is illustrated as an internal component of the computer 602, in alternative implementations, database 606 can be external to the computer 602.

[0055] The computer 602 also includes a memory 607 that can hold data for the computer 602 or a combination of components connected to the network 630 (whether illustrated or not). Memory 607 can store any data consistent with the present disclosure. In some implementations, memory 607 can be a combination of two or more different types of memory (for example, a combination of semiconductor and magnetic storage) according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. Although illustrated as a single memory 607 in FIG. 6, two or more memories 607 (of the same, different, or combination of types) can be used according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. While memory 607 is illustrated as an internal component of the computer 602, in alternative implementations, memory 607 can be external to the computer 602.

[0056] The application 608 can be an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer 602 and the described functionality. For example, application 608 can serve as one or more components, modules, or applications. Further, although illustrated as a single application 608, the application 608 can be implemented as multiple applications 608 on the computer 602. In addition, although illustrated as internal to the computer 602, in alternative implementations, the application 608 can be external to the computer 602.

[0057] The computer 602 can also include a power supply 614. The power supply 614 can include a rechargeable or non-rechargeable battery that can be configured to be either user- or non-user-replaceable. In some implementations, the power supply 614 can include power-conversion and management circuits, including recharging, standby, and power management functionalities. In some implementations, the power-supply 614 can include a power plug to allow the computer 602 to be plugged into a wall socket or a power source to, for example, power the computer 602 or recharge a rechargeable battery.

[0058] There can be any number of computers 602 associated with, or external to, a computer system containing computer 602, with each computer 602 communicating over network 630. Further, the terms “client,” “user,” and other appropriate terminology can be used interchangeably, as appropriate, without departing from the scope of the present disclosure. Moreover, the present disclosure contemplates that many users can use one computer 602 and one user can use multiple computers 602. [0059] Described implementations of the subj ect matter can include one or more features, alone or in combination.

[0060] For example, in a first implementation, a computer-implemented method includes the following. Historical mud gas-permeability data is received from previously-drilled and logged wells. The historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. A formation hydrocarbon mobility model is trained using machine learning and the historical mud gas data. Real-time gas measurements are obtained during drilling of a new well. A real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real-time gas measurements.

[0061] The foregoing and other described implementations can each, optionally, include one or more of the following features:

[0062] A first feature, combinable with any of the following features, the method further including creating a calibration subset of the historical mud gas-permeability data and a validation subset of the historical mud gas-permeability data, where generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

[0063] A second feature, combinable with any of the previous or following features, the method further including: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters. [0064] A third feature, combinable with any of the previous or following features, where the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients.

[0065] A fourth feature, combinable with any of the previous or following features, the method further including optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model.

[0066] A fifth feature, combinable with any of the previous or following features, where the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL).

[0067] A sixth feature, combinable with any of the previous or following features, the method further including changing the weighting coefficients corresponding to inputs representing different gas measurements to generate different results in the machine learning.

[0068] In a second implementation, a non-transitory, computer-readable medium stores one or more instructions executable by a computer system to perform operations including the following. Historical mud gas-permeability data is received from previously-drilled and logged wells. The historical mud gas-permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. A formation hydrocarbon mobility model is trained using machine learning and the historical mud gas data. Real-time gas measurements are obtained during drilling of a new well. A real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real time gas measurements.

[0069] The foregoing and other described implementations can each, optionally, include one or more of the following features:

[0070] A first feature, combinable with any of the following features, the operations further including creating a calibration subset of the historical mud gas- permeability data and a validation subset of the historical mud gas-permeability data, where generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

[0071] A second feature, combinable with any of the previous or following features, the operations further including: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters. [0072] A third feature, combinable with any of the previous or following features, where the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients. [0073] A fourth feature, combinable with any of the previous or following features, the operations further including optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model.

[0074] A fifth feature, combinable with any of the previous or following features, where the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL).

[0075] A sixth feature, combinable with any of the previous or following features, the operations further including changing the weighting coefficients corresponding to inputs representing different gas measurements to generate different results in the machine learning.

[0076] In a third implementation, a computer-implemented system includes a database containing historical mud gas-permeability data from plural wells; a machine learning module configured to generate formation hydrocarbon mobility models using machine learning and the database; and one or more processors and a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming instructions for execution by the one or more processors. The programming instructions instruct the one or more processors to perform operations of the machine learning module including the following. Historical mud gas-permeability data is received from previously-drilled and logged wells. The historical mud gas- permeability data identifies relationships between gas measurements obtained during drilling and permeability determined after drilling. A formation hydrocarbon mobility model is trained using machine learning and the historical mud gas data. Real-time gas measurements are obtained during drilling of a new well. A real-time permeability log is generated for the new well using the formation hydrocarbon mobility model and real time gas measurements.

[0077] The foregoing and other described implementations can each, optionally, include one or more of the following features: [0078] A first feature, combinable with any of the following features, the operations further including creating a calibration subset of the historical mud gas- permeability data and a validation subset of the historical mud gas-permeability data, where generating the formation hydrocarbon mobility model includes training the formation hydrocarbon mobility model using the calibration subset.

[0079] A second feature, combinable with any of the previous or following features, the operations further including: determining whether the formation hydrocarbon mobility model meets an error threshold; and upon determining that the formation hydrocarbon mobility model does not meet the error threshold: adjusting learning parameters used in the machine learning; and calibrating the formation hydrocarbon mobility model based on the adjusted learning parameters.

[0080] A third feature, combinable with any of the previous or following features, where the learning parameters include a learning rate, a number of neurons, an activation function, and weighting coefficients.

[0081] A fourth feature, combinable with any of the previous or following features, the operations further including optimizing the learning parameters to reduce a number of iterations needed to calibrate the formation hydrocarbon mobility model. [0082] A fifth feature, combinable with any of the previous or following features, where the machine learning is performed using techniques including one or more of Artificial Neural Network (ANN), Support Vector Machine (SVM), Regression Tree (RT), Random Forest (RF), Extreme Learning Machine (ELM), and Type I and Type II Fuzzy Logic (T1FL/T2FL). [0083] Implementations of the subject matter and the functional operations described in this specification can be implemented in digital electronic circuitry, in tangibly embodied computer software or firmware, in computer hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Software implementations of the described subject matter can be implemented as one or more computer programs. Each computer program can include one or more modules of computer program instructions encoded on a tangible, non-transitory, computer-readable computer-storage medium for execution by, or to control the operation of, data processing apparatus. Alternatively, or additionally, the program instructions can be encoded in/on an artificially generated propagated signal. For example, the signal can be a machine-generated electrical, optical, or electromagnetic signal that is generated to encode information for transmission to a suitable receiver apparatus for execution by a data processing apparatus. The computer-storage medium can be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of computer-storage mediums.

[0084] The terms “data processing apparatus,” “computer,” and “electronic computer device” (or equivalent as understood by one of ordinary skill in the art) refer to data processing hardware. For example, a data processing apparatus can encompass all kinds of apparatuses, devices, and machines for processing data, including by way of example, a programmable processor, a computer, or multiple processors or computers. The apparatus can also include special purpose logic circuitry including, for example, a central processing unit (CPU), a field-programmable gate array (FPGA), or an application-specific integrated circuit (ASIC). In some implementations, the data processing apparatus or special purpose logic circuitry (or a combination of the data processing apparatus or special purpose logic circuitry) can be hardware- or software- based (or a combination of both hardware- and software-based). The apparatus can optionally include code that creates an execution environment for computer programs, for example, code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of execution environments. The present disclosure contemplates the use of data processing apparatuses with or without conventional operating systems, such as LINUX, UNIX, WINDOWS, MAC OS, ANDROID, or IOS. [0085] A computer program, which can also be referred to or described as a program, software, a software application, a module, a software module, a script, or code, can be written in any form of programming language. Programming languages can include, for example, compiled languages, interpreted languages, declarative languages, or procedural languages. Programs can be deployed in any form, including as stand-alone programs, modules, components, subroutines, or units for use in a computing environment. A computer program can, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data, for example, one or more scripts stored in a markup language document, in a single file dedicated to the program in question, or in multiple coordinated files storing one or more modules, sub-programs, or portions of code. A computer program can be deployed for execution on one computer or on multiple computers that are located, for example, at one site or distributed across multiple sites that are interconnected by a communication network. While portions of the programs illustrated in the various figures may be shown as individual modules that implement the various features and functionality through various objects, methods, or processes, the programs can instead include a number of sub-modules, third-party services, components, and libraries. Conversely, the features and functionality of various components can be combined into single components as appropriate. Thresholds used to make computational determinations can be statically, dynamically, or both statically and dynamically determined.

[0086] The methods, processes, or logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform functions by operating on input data and generating output. The methods, processes, or logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, for example, a CPU, an FPGA, or an ASIC.

[0087] Computers suitable for the execution of a computer program can be based on one or more of general and special purpose microprocessors and other kinds of CPUs. The elements of a computer are a CPU for performing or executing instructions and one or more memory devices for storing instructions and data. Generally, a CPU can receive instructions and data from (and write data to) a memory.

[0088] Graphics processing units (GPUs) can also be used in combination with CPUs. The GPUs can provide specialized processing that occurs in parallel to processing performed by CPUs. The specialized processing can include artificial intelligence (AI) applications and processing, for example. GPUs can be used in GPU clusters or in multi-GPU computing.

[0089] A computer can include, or be operatively coupled to, one or more mass storage devices for storing data. In some implementations, a computer can receive data from, and transfer data to, the mass storage devices including, for example, magnetic, magneto-optical disks, or optical disks. Moreover, a computer can be embedded in another device, for example, a mobile telephone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive.

[0090] Computer-readable media (transitory or non-transitory, as appropriate) suitable for storing computer program instructions and data can include all forms of permanent/non-permanent and volatile/non-volatile memory, media, and memory devices. Computer-readable media can include, for example, semiconductor memory devices such as random access memory (RAM), read-only memory (ROM), phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), and flash memory devices. Computer-readable media can also include, for example, magnetic devices such as tape, cartridges, cassettes, and intemal/removable disks. Computer-readable media can also include magneto-optical disks and optical memory devices and technologies including, for example, digital video disc (DVD), CD-ROM, DVD+/-R, DVD-RAM, DVD-ROM, HD-DVD, and BLU-RAY. The memory can store various objects or data, including caches, classes, frameworks, applications, modules, backup data, jobs, web pages, web page templates, data structures, database tables, repositories, and dynamic information. Types of objects and data stored in memory can include parameters, variables, algorithms, instructions, rules, constraints, and references. Additionally, the memory can include logs, policies, security or access data, and reporting files. The processor and the memory can be supplemented by, or incorporated into, special purpose logic circuitry.

[0091] Implementations of the subject matter described in the present disclosure can be implemented on a computer having a display device for providing interaction with a user, including displaying information to (and receiving input from) the user. Types of display devices can include, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), a light-emitting diode (LED), and a plasma monitor. Display devices can include a keyboard and pointing devices including, for example, a mouse, a trackball, or a trackpad. User input can also be provided to the computer through the use of a touchscreen, such as a tablet computer surface with pressure sensitivity or a multi-touch screen using capacitive or electric sensing. Other kinds of devices can be used to provide for interaction with a user, including to receive user feedback including, for example, sensory feedback including visual feedback, auditory feedback, or tactile feedback. Input from the user can be received in the form of acoustic, speech, or tactile input. In addition, a computer can interact with a user by sending documents to, and receiving documents from, a device that the user uses. For example, the computer can send web pages to a web browser on a user’s client device in response to requests received from the web browser. [0092] The term “graphical user interface,” or “GUI,” can be used in the singular or the plural to describe one or more graphical user interfaces and each of the displays of a particular graphical user interface. Therefore, a GUI can represent any graphical user interface, including, but not limited to, a web browser, a touch-screen, or a command line interface (CLI) that processes information and efficiently presents the information results to the user. In general, a GUI can include a plurality of user interface (UI) elements, some or all associated with a web browser, such as interactive fields, pull-down lists, and buttons. These and other UI elements can be related to or represent the functions of the web browser. [0093] Implementations of the subject matter described in this specification can be implemented in a computing system that includes a back-end component, for example, as a data server, or that includes a middleware component, for example, an application server. Moreover, the computing system can include a front-end component, for example, a client computer having one or both of a graphical user interface or a Web browser through which a user can interact with the computer. The components of the system can be interconnected by any form or medium of wireline or wireless digital data communication (or a combination of data communication) in a communication network. Examples of communication networks include a local area network (LAN), a radio access network (RAN), a metropolitan area network (MAN), a wide area network (WAN), Worldwide Interoperability for Microwave Access (WIMAX), a wireless local area network (WLAN) (for example, using 802.11 a/b/g/n or 802.20 or a combination of protocols), all or a portion of the Internet, or any other communication system or systems at one or more locations (or a combination of communication networks). The network can communicate with, for example, Internet Protocol (IP) packets, frame relay frames, asynchronous transfer mode (ATM) cells, voice, video, data, or a combination of communication types between network addresses.

[0094] The computing system can include clients and servers. A client and server can generally be remote from each other and can typically interact through a communication network. The relationship of client and server can arise by virtue of computer programs running on the respective computers and having a client-server relationship.

[0095] Cluster file systems can be any file system type accessible from multiple servers for read and update. Locking or consistency tracking may not be necessary since the locking of exchange file system can be done at application layer. Furthermore, Unicode data files can be different from non-Unicode data files.

[0096] While this specification contains many specific implementation details, these should not be construed as limitations on the scope of what may be claimed, but rather as descriptions of features that may be specific to particular implementations. Certain features that are described in this specification in the context of separate implementations can also be implemented, in combination, in a single implementation. Conversely, various features that are described in the context of a single implementation can also be implemented in multiple implementations, separately, or in any suitable sub- combination. Moreover, although previously described features may be described as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can, in some cases, be excised from the combination, and the claimed combination may be directed to a sub-combination or variation of a sub combination. [0097] Particular implementations of the subject matter have been described.

Other implementations, alterations, and permutations of the described implementations are within the scope of the following claims as will be apparent to those skilled in the art. While operations are depicted in the drawings or claims in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed (some operations may be considered optional), to achieve desirable results. In certain circumstances, multitasking or parallel processing (or a combination of multitasking and parallel processing) may be advantageous and performed as deemed appropriate.

[0098] Moreover, the separation or integration of various system modules and components in the previously described implementations should not be understood as requiring such separation or integration in all implementations. It should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.

[0099] Accordingly, the previously described example implementations do not define or constrain the present disclosure. Other changes, substitutions, and alterations are also possible without departing from the spirit and scope of the present disclosure.

[00100] Furthermore, any claimed implementation is considered to be applicable to at least a computer-implemented method; a non-transitory, computer-readable medium storing computer-readable instructions to perform the computer-implemented method; and a computer system including a computer memory interoperably coupled with a hardware processor configured to perform the computer-implemented method or the instructions stored on the non-transitory, computer-readable medium.