Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SELF-ADAPTING DIGITAL TWINS
Document Type and Number:
WIPO Patent Application WO/2020/231428
Kind Code:
A1
Abstract:
A system and method can be used for implementing self-adapting digital twins. The system may include operations for estimate a state matrix characterizing behavior of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool. Observed values of one or more sensors for at least one process parameter may be obtained from sensors deployed throughout the drilling environment. These sensors may be physical sensors acquiring information about physical changes within the drilling environment; and processes monitoring output of system functions and/or other processes. A data assimilation tool may be applied to the estimated state matrix and the observed values to produce an updated state matrix. The updated state matrix may be used as the previous state matrix in a subsequent time step, thus implementing a self-adapting digital twin model.

Inventors:
FILIPPOV ANDREY (US)
MAROTTA EGIDIO (US)
MCMULLIN DALE (US)
KHORIAKOV VITALY (CA)
Application Number:
PCT/US2019/032493
Publication Date:
November 19, 2020
Filing Date:
May 15, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
LANDMARK GRAPHICS CORP (US)
International Classes:
E21B44/00; E21B41/00; G07C3/14
Foreign References:
US20090166033A12009-07-02
US20030168257A12003-09-11
US20190137983A12019-05-09
US20180016875A12018-01-18
US20140039793A12014-02-06
Attorney, Agent or Firm:
GARDNER, Jason D. et al. (US)
Download PDF:
Claims:
Claims

What is claimed is:

1. A system comprising:.

a hydrocarbon recovery tool;

one or more sensors; and

a computing device in communication with the hydrocarbon recovery tool and the one or more sensors, the computing device including a non-transitory memory device comprising instructions that are executable by the computing device to cause the computing device to perform operations comprising:

estimating, using a digital twin of a hydrocarbon recovery process implemented by the hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process;

obtaining observed values from the one or more sensors for at least one process parameter;

applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix;

determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and

controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

2. The system of claim 1 , wherein determining, based on the updated state matrix, whether operations of the one or more components of the hydrocarbon recovery process should be altered comprises determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range.

3. The system of claim 2, wherein the operations further comprise:

determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and generating an alert message in response to determining that the value of the predicted parameter meets the threshold.

4. The system of claim 1 , wherein the hydrocarbon recovery process is a drilling process.

5. The system of claim 1 , wherein the hydrocarbon recovery process is a production process.

6. The system of claim 1 , wherein the data assimilation tool is an Ensemble Kalman Filter.

7. The system of claim 1 , wherein the one or more sensors are distributed in the hydrocarbon recovery process environment.

8. The system of claim 1 , wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

9. A method comprising:.

estimating, using a digital twin of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process;

obtaining observed values from one or more sensors for at least one process parameter;

applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix;

determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and

controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

10. The method of claim 9, wherein determining, based on the updated stat matrix, whether operations of the one or more components of the hydrocarbon recovery process should be altered, comprises determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range.

1 1 . The method of claim 10, further comprise:.

determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and

generating an alert message in response to determining that the value of the predicted parameter meets the threshold.

12. The method of claim 9, wherein the data assimilation tool is an Ensemble Kalman Filter.

13. The method of claim 9, wherein the one or more sensors are distributed throughout a hydrocarbon recovery process environment.

14. The method of claim 9, wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

15. A non-transitory computer-readable medium that includes instructions that are executable by a processing device for causing the processing device to perform a method comprising:

estimating, using a digital twin of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process;

obtaining observed values from one or more sensors for at least one process parameter;

applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix; determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and

controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

16. The non-transitory computer-readable medium of claim 15, wherein the operations for determining, based on the updated state matrix, whether operations of the one or more components of the hydrocarbon recovery tool should be altered to affect output of the one or more sensors, comprise operations for determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range.

17. The non-transitory computer-readable medium of claim 16, wherein the operations further comprise:.

determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and

generating an alert message in response to determining that the value of the predicted parameter meets the threshold.

18. The non-transitory computer-readable medium of claim 15, wherein the data assimilation tool is an Ensemble Kalman Filter.

19. The non-transitory computer-readable medium of claim 15, wherein the one or more sensors are distributed throughout a hydrocarbon recovery process environment.

20. The non-transitory computer-readable medium of claim 15, wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

Description:
SELF-ADAPTING DIGITAL TWINS

Technical Field

[0001 ] The present disclosure relates generally to optimizing the performance of hydrocarbon recovery tools. More specifically, but not by way of limitation, this disclosure relates to the implementation of self-adapting digital twins for one or more hydrocarbon recovery processes implemented on one or more hydrocarbon recovery tools and/or their respective components or component processes to enable error detection.

Background

[0002] A digital twin is a representative digital replica of physical assets, processes, and systems. Digital twins have been proven useful in several industries, including aerospace, renewable energy and transportation. Benefits captured across these industries include improved quality and speed of decision- making, greater asset utilization, condition-based monitoring and prognostication, enhanced operational- efficiency, and improvements in preventive maintenance. Meanwhile, the concept of developing and applying digital twin-based solutions is slowly, but steadily expanding to other industries, including Oil and Gas industry.

[0003] A number of factors make digital twin implementation difficult within energy sector assets. For example, the complexity and scale of physical assets and the difficulty in reducing component parts and processes of physical assets to a set that can be easily modeled though numerical analysis. Implementing conventional digital twin techniques on the complex physical assets common in the energy sector would be inefficient and resource intensive.

Brief Description of the Drawings

[0004] FIG. 1 is a cross-sectional view of an example of a well system that includes a system for implementing a hydrocarbon recovery process according to some aspects.

[0005] FIG. 2 is block diagram of a computing device for implementing a hydrocarbon recovery process on a hydrocarbon recovery tool according to some aspects. [0006] FIG. 3A is a flowchart illustrating a process for implementing a self- adapting digital twin according some aspects.

[0007] FIG. 3B is a function listing illustrating a process for implementing a self- adapting digital twin according some aspects.

[0008] FIG. 4 is a graphical representation of a model fracture network with sensor data parameters corresponding to digital twins according to some aspects.

[0009] FIG. 5 is a flowchart illustrating a process by which a self-adapting twin uses sensor data to adapt according to some aspects.

Detailed Description

[0001 ] Certain aspects and features relate to a system that improves, and makes more efficient, the prediction of an optimized value for a process parameter using a self-adapting digital twins (DT). A DT can be a mathematical or numerical representation of a hydrocarbon recovery process or environment as implemented or affected by one or more hydrocarbon recovery tools. A DT model can be updated iteratively at time steps to produce observation-based corrections to the model parameters and information regarding the controllable process environment. The aspects described in the present can be applied to various stages of hydrocarbon recovery, including drilling and production.

[0002] There are several obstacles to DT implementation in the energy sector.

A first obstacle is that the complexity and multi-scale character of drilling processes and production of hydrocarbons, both in the reservoir and wellbore, result in significant complexity of corresponding mathematical and numerical models, making realizations of DT simulations numerically expensive for real-time applications.

[0003] The second obstacle is the spatial and temporal variation of hydrocarbon recovery parameters related, for example, to depletion of pressure and changing properties of reservoir. Thus, it may be necessary to update parameters of the DTs based on multiple channels of sensor data, which may have accuracy that varies with time.

[0004] A self-adapting DT may be generated using a steady-state DT by adding the sensor inputs and organizing the DT updating process based on minimization of the difference between the values of sensor output (i.e. , observed process parameters) and prediction of the DT model. DT, as a comprehensive representative model of real processes, contains a number of parameters, including those that may be of particular interest to engineers, as these values indicate the health of a hydrocarbon recovery tool, field of hydrocarbon recovery tools, process, or the overall drilling or production environment, such as the reservoir depletion, well bore geometry change, actual permeability of fractures, flow rates, overall site production and the like. Hydrocarbon recovery tools may include drilling tools and production tools including the physical components and components of assets within the hydrocarbon recovery environment.

[0005] The observed process parameters, which are also DT parameters, may be those for which sensor output or direct process monitoring can be obtained. These process parameters may have directly or indirectly observable values at any given time step. Historical values for the observed process parameters and DT parameters may be used to evaluate best guesses for DT parameters at the beginning of the DT sensor data-based updating processes.

[0006] Various numerical regression techniques may be used to identify the DT parameters that yield the minimal difference between the observed and predicted physical parameters. Iterative application of these techniques can result in a self- adapting DT that provides a comprehensive representation of the real process such as drilling.

[0007] Once the DT model and the corresponding parameter-regression algorithm are built, they can be used to monitor changes to DT parameters associated with a hydrocarbon recovery tool and also for the optimization of operations of the hydrocarbon recovery process. In this case, the regression methods can be used to minimize a process target function, such as the process time, total cost of the process etc.

[0008] Certain aspects and features of the present disclosure relate to the implementation of self-adapting DTs of a hydrocarbon recovery process implemented on one or more hydrocarbon recovery tools. Aspects may estimate a state matrix characterizing behavior of a hydrocarbon recovery process implemented on one or more hydrocarbon recovery tools such as a physical drilling apparatus or production apparatus, a group of physical apparati, using a DT of the hydrocarbon recovery process as applied to a previous state matrix. Observed values of one or more sensors for at least one process parameter may be obtained from sensors deployed throughout the hydrocarbon recovery environment (e.g., a wellbore or fracture network). These sensors may be physical sensors acquiring information about physical changes within the hydrocarbon recovery environment. The sensors may also be processes monitoring output of system functions and/or other processes. A data assimilation tool such as an Ensemble Kalman Filter (EnKF), may be applied to update the DT parameters (which are part of the state matrix) and the observed values of the process parameters to produce an updated state matrix. The updated state matrix may be used as the previous state matrix in a subsequent time step, thus implementing a self- adapting DT model.

[0009] Certain aspects and features of the present disclosure may use the self- adapting DT to identify the hydrocarbon recovery operations that are not performing optimally. Similarly, the self-adapting DT may be used to detect an impending catastrophic failure that requires engineer intervention. Thus, the operations of components of a hydrocarbon recovery tool may be tweaked or modified without human intervention, unless a catastrophic failure even tis predict to occur.

[0010] For example, a computing device implementing the self-adapting DT of a hydrocarbon recovery process can determine, based on the updated state matrix, whether operations of one or more components of the hydrocarbon recovery tool implementing the hydrocarbon recovery process should be altered to affect a DT parameter. For example, an estimate of a DT parameter within the updated state matrix may be compared to an expected value or range for the DT parameter, which may be an operational range for the DT parameter. If the estimated DT parameter value falls within a predetermined acceptable range, the hydrocarbon recovery tool may be permitted to continue operating without modification. Flowever, if the estimated DT parameter value falls outside of the acceptable range, then the computing device can initiate a change in operations of the hydrocarbon recovery tool. Observed values of sensor output may provide an indication as to which parameters correlated to the DT parameter require attention or adjust. The operations of hydrocarbon recovery tool components that impact or affect these observed values can then be adjusted to increase or decrease the observed values and bring estimates of the DT parameter within acceptable ranges. [001 1 ] In certain aspects, if the estimated DT parameter value exceeds a threshold, and is sufficiently far outside of the acceptable range, this can be an indication that a catastrophic failure event may be occurring or likely to occur. An alert message can be generated and provided to an engineer or attendant of the hydrocarbon recovery tool. The alert message may be displayed on a screen of an edge device collocated with the hydrocarbon recovery tool, transmitted to a remote computing device such as a remote monitoring station or an edge device of another hydrocarbon recovery tool within a field. The alert message may take the form of an auditory alert initiated within the hydrocarbon recovery tool environment or a remote monitoring location.

[0012] Using some examples of the present disclosure can result in rapid analysis of the health and efficacy of the hydrocarbon recovery process environment and hardware. Some examples of the present disclosure accurately and robustly predict changes in DT parameters the correlate to health and efficiency of the hydrocarbon recovery tool. If done manually, by an engineer or attendant, such monitoring would require around the clock visual analysis of a number of DT parameters, some of which may be the result of monitored digital processes and therefore not easily trackable. Certain aspects enable rapid detection of operational problems and rapid adjustment or modification of corresponding hydrocarbon recovery tool components.

[0013] These illustrative examples are given to introduce the reader to the general subject matter discussed here and are not intended to limit the scope of the disclosed concepts. The following sections describe various additional features and examples with reference to the drawings in which like numerals indicate like elements, and directional descriptions are used to describe the illustrative aspects but, like the illustrative aspects, should not be used to limit the present disclosure.

[0014] FIG. 1 is a cross-sectional side view of an example of a hydrocarbon recovery tool as a well system 100 according to some aspects. The well system 100 includes a wellbore 102 extending through a hydrocarbon bearing subterranean formation 104. In this example, the wellbore 102 is vertical, but in other examples the wellbore 102 can additionally or alternatively be horizontal or deviated.

[0015] In this example, the wellbore 102 includes a casing string 106 (e.g., a metal casing) extending from the well surface 108 into the subterranean formation 104. The casing string 106 can provide a conduit via which formation fluids, such as production fluids produced from the subterranean formation 104, can travel from the wellbore 102 to the well surface 108. In other examples, the wellbore 102 can lack the casing string 106.

[0016] The wellbore 102 can include a well tool 1 14 for performing one or more tasks in the wellbore 102. Examples of the well tool 1 14 can include a safety tool, valve tool, packer tool, monitoring tool, formation testing tool, a logging while hydrocarbon recovery tool, or any combination of these. In some examples, the well tool 1 14 is deployed in the wellbore 102 using a wireline 1 10, slickline, or coiled tube, which can be wrapped around a winch 1 18 or pulley at the well surface 108.

[0017] The well system 100 can also include a computing device 1 12. The computing device 1 12 can be positioned at the well surface 108 or elsewhere (e.g., offsite). The computing device 1 12 may be in communication with the well tool 1 14, a camera, one or more sensors, or another electronic device for gathering information from which a schematic of the wellbore can be produced. For example, the computing device 1 12 can have a communication interface for transmitting information to and receiving information from another communication interface 1 16 of the well tool 1 14.

[0018] In some examples, the computing device 1 12 can receive information from downhole (or elsewhere) in substantially real time, which can be referred to as real-time data. The real-time data can include information related to the well system 100. For example, the well tool 1 14 can stream real-time data to the computing device 1 12, where the real-time data includes information about the formation or location of the well tool 1 14 in the wellbore 102.

[0019] FIG. 2 depicts an example of a computing device 1 12. The computing device 1 12 may be an edge device located on or near a hydrocarbon recovery tool, or in loT or network asset models, the computing device 1 12 may be a computing device in the Cloud. The computing device 1 12 can include a processing device 202, a bus 204, a communication interface 206, a memory device 208, a user input device 224, and a display device 226. In some examples, some or all of the components shown in FIG. 2 can be integrated into a single structure, such as a single housing. In other examples, some or all of the components shown in FIG. 2 can be distributed (e.g., in separate housings) and in communication with each other. [0020] The processing device 202 can execute one or more operations for generating self-adapting DT and using the DTs to optimize control of a wellbore operation. The processing device 202 can execute instructions stored in the memory device 208 to perform the operations. The processing device 202 can include one processing device or multiple processing devices. Non-limiting examples of the processing device 202 include a field-programmable gate array (“FPGA”), an application-specific integrated circuit (“ASIC”), a microprocessing device, etc.

[0021 ] The processing device 202 can be communicatively coupled to the memory device 208 via the bus 204. The non-volatile memory device 208 may include any type of memory device that retains stored information when powered off. Non limiting examples of the memory device 208 include electrically erasable and programmable read-only memory (“EEPROM”), flash memory, or any other type of non volatile memory. In some examples, at least some of the memory device 208 can include a non-transitory computer-readable medium from which the processing device 202 can read instructions. A computer-readable medium can include electronic, optical, magnetic, or other storage devices capable of providing the processing device 202 with computer-readable instructions or other program code. Non-limiting examples of a computer-readable medium include (but are not limited to) magnetic disk(s), memory chip(s), read-only memory (ROM), random-access memory (“RAM”), an ASIC, a configured processing device, optical storage, or any other medium from which a computer processing device can read instructions. The instructions can include processing device-specific instructions generated by a compiler or an interpreter from code written in any suitable computer-programming language, including, for example, C, C++, C#, etc.

[0022] In this example, the memory device 208 includes at least one DT 210.

The memory device 208 in this example also includes a sensor observing model 21 1 to sample sensor data obtained from sensors deployed within the drilling environment that can be accessed and used to continuously determine, evaluate, and learn parameters associated with the DT 210. In this example, the memory device 208 includes computer program code instructions 212 for acquiring data from sensors within the drilling environment and controlling the well tool 1 14. The memory device 208 in this example includes a filter 220. The filter can be, for example, computer program code instructions to implement a filtering algorithm and produce optimum values for DT parameters of the DT. Results from the filter can be stored as an updated DT, which may replace the DT 210 in the memory device 208.

[0023] In some examples, the computing device 1 12 includes a communication interface 206. The communication interface 206 can represent one or more components that facilitate a network connection or otherwise facilitate communication between electronic devices. Examples include, but are not limited to, wired interfaces such as Ethernet, USB, IEEE 1394, and/or wireless interfaces such as IEEE 802.1 1 , Bluetooth, near-field communication (NFC) interfaces, RFID interfaces, or radio interfaces for accessing cellular telephone networks (e.g., transceiver/antenna for accessing a CDMA, GSM, UMTS, or other mobile communications network).

[0024] In some examples, the computing device 1 12 includes a user input device 224. The user input device 224 can represent one or more components used to input data. Examples of the user input device 224 can include a keyboard, mouse, touchpad, button, or touch-screen display, etc.

[0025] In some examples, the computing device 1 12 includes a display device

226. The display device 226 can represent one or more components used to output data. Examples of the display device 226 can include a liquid-crystal display (LCD), a television, a computer monitor, a touch-screen display, etc. In some examples, the user input device 224 and the display device 226 can be a single device, such as a touch screen display.

[0026] FIGs. A and 3B are a flowchart and accompanying function listing illustrating an example process 300 for implementing a self-adapting DT of a hydrocarbon recovery process implemented on one or more hydrocarbon recovery tools according some aspects. The process 300 is carried out in some aspects by computer program instructions 212. At block 302 of process 300, computing device 1 12 may generate a state vector X 1 t -i, which includes unknown DT parameters. These DT parameters may not change often. For example, reservoir permeability, or fracture dimensions may be considered constant for certain fast processes, but their variations needs to be taken into account on longer time scale and they need to be considered transient parameters, which need to be regularly updated. The state vector X 1 t may indicate an actual value of these process parameters at a time t-1, the time step before the current timestamp t. [0027] The process parameters of the state vector X 1 t -i may be based on a set of observations represented by a vector X 2 t -i that can be predictions of measureable process parameters such as flow rates, temperatures, and pressures in a reservoir or wellbore. The vectors are time dependent and thus a state vector of the DT at a time t may be represented by the function Xt = { X 1 t , X 2 t }. The processing device 202 may determine the current state vector for time t using the combination of DT parameters or expected outputs and observed sensor values of process parameters.

[0028] At block 304, processing device 202 of computing device 1 12 apply a

DT function M to a set of N realizations of the state vector X t -i (i.e. , the state vector a the time step prior to the current time step t). In some aspects, the DT function is a mathematical model characterizing a relationship between the observed process parameters and the DT parameters. In this way, the DT is a representation of a hydrocarbon recovery process, component operation, or field operation associated with the hydrocarbon recovery tool. At the initial time step t = 1 , the N realizations of the state vector can be chosen randomly distributed around estimated values of the state vector based, for example, on field measurements or geophysical observations.

[0029] At block 306, processing device 202 of the computing device 1 12 can predict an estimated future state vector X f t and a covariance matrix C. The future state vector X f t may be result of applying the DT function M to the N realizations of the state vector X t -i. This prediction may be accomplished using the prediction function 350 illustrated in FIG. 3B.

[0030] In block 312, computing device 1 12, using processing device 202 may collect observed process parameters for the current time step t. For example, the processing device may receive input from sensors deployed throughout the drilling environment. These sensors may provide feedback such as: pump output, voltage and current or frequency of a motor of an ESP, pressure in a reservoir, fracture, or wellbore, flow rate within the reservoir, fracture or well bore, temperate, permeability parameters, chemical and physical parameters, geometry, and input pH. These process parameters may be included in observation matrix H. The processing device may similarly receive any updates to the DT parameters, e.g., output correlating to observed process parameters. The DT parameters may be included in a data matrix D.

[0031 ] At block 308, computing device 1 12, using processing device can execute a data assimilation tool on the predicted future state vector X f t. The data assimilation tool can be a filter function gain G applied to the future state vector X f t , the data matrix D, and the observation matrix H. The update function 375 illustrated in FIG. 3B may characterize the execution of data assimilation using the Ensemble Kalman Filter algorithm. The result of executing the EnKF is the generation of an updated state vector X u t by the processing device 202 in block 310.

[0032] The operations illustrated in FIGs. A and 3B repeat at the next time step t+1. The time steps are not necessarily equidistant and can be defined by the moments of obtaining the DT parameters of data matrix Dt, whose accuracy and dimension can vary with time. This allows significant flexibility of the EnKF in adaptation of the DT to transient environment.

[0033] FIG. 4 is a graphical representation of a model fracture network 400 with a well and four equidistant identical fractures. In the model fracture network 400, the fluid asset may be natural gas, in an initial homogeneous isobaric state. A processing device 202 of the computing device 112 can build a DT of the model fracture network based on data obtained from sensors distributed throughout the reservoir.

[0034] A DT of the model fracture network 400 can be a numerical function based on a fracture production model. The model fracture network is characterized by Nk = 5 values of average absolute fracture permeability K for ki (/ = 1 , ...5). That is, there are five regions of the well separated by four fractures and having 5 different values of absolute fracture permeability K. The absolute fracture permeability is the DT parameter that will be included in a state vector or state matrix X u t , but not in the data matrix D representing observed process parameters.

[0035] The observed (e.g., measured) process parameters at each time step t, can be five values of pressure P at midpoints between two neighboring fractures indicated by arrows; and the total production rate Qt and production rate from the first fracture Q1. These observed process parameters are estimated at each time step and added to the data matrix D. Therefore, the total number of process parameters in the model is A/cf =12, K1-5, P1-5, Qi, and Qt.

[0036] At each time step, a number of realizations Nr of process parameters are estimated or observed. Thus an augmented state matrix X u t , has dimensions Nd x Nr , while the measurement data matrix Dt has dimensions {Nd - Nk) x Nr . These matrices cam have the following form: a -th column of matrix X u t corresponds to a step of numerical simulation with permeabilities \\kij\\ with / =1 , ..5. The columns of the measurement matrix Dt are identical. In the illustrated example, the observed process parameters are synthesized by running simulations. The simulations may use the same DT model with a pre-set vector of“true” permeabilities and adding 2% of random noise to obtained values of pressures P and production rates Q. At the initial step t = 0 the seed permeabilities \\kij\\ were chosen randomly with the mean value equal to some characteristic absolute permeabilities. At each time step, the matrix \\kij\\ is updated.

[0037] Convergence of the algorithm is illustrated in Table 1 , where the first,

“0”, column represents the initial (seed) zonal permeabilities and each of columns 1 -7 represents an estimate of the permeability at subsequent time steps. A first approximation of zonal permeabilities to their“true” values (last column) is obtained already during the prediction made during the first step ( t =1 ). With each new time step, the predicted permeability K may move closer to the“true” value. This illustrates fast convergence typical for an Ensemble Kalman Filter. This property allows using the Ensemble Kalman Filter in situations, in which the process parameters are changing rapidly. For example, such a situation can may occur, when the permeabilities change due to the change of rock porosity caused by reservoir depletion.

Table 1

[0038] FIG. 5 is a graphical representation illustrating a process 500 by which a self-adapting twin uses sensor data to adapt according to some aspects. In this example, a processing device 202 of the computing device 1 12 may use a generated DT to predict future behavior of a hydrocarbon recovery tool such as a well, a reservoir, a field of wells, subcomponents of a hydrocarbon recovery tool, or processes carried out by a hydrocarbon recovery tool.

[0039] In block 502, the processing device 202 may, estimate, using a DT of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process. The previous state matrix estimate may have been generated based on“best guess” process parameters or previously obtained process parameters. If the current execution of the operations is the first execution, then the previous state matrix is generated using seed values for DT parameters and observed process parameters. The processing device 202 may apply DT 210 to the previous state matrix based on process parameters previously obtained from the sensor observing module 21 1 , using instructions 212. These parameters may include DT parameters (e.g., predicted output) and observed process parameters for a time t-1 occurring just prior to the current time step t.

[0040] In block 504, the processing device 202 may obtain from one or more sensors, observed values for at least one process parameter. The processing device 202 may use the sensor observing module 21 1 and instructions 212 to obtain feedback or output from sensors deployed throughout the hydrocarbon recovery environment. These sensors may be integrated with, coupled to, in communication with, or otherwise associated with the hydrocarbon recovery tool on which the hydrocarbon recovery. Process is implemented. Alternatively, the hydrocarbon recovery tool may have no communication with the sensors, which may communicate directly with the computing device 1 12. For example, some sensors may be deployed as integrated components of the hydrocarbon recovery tool. In another example, in which the hydrocarbon recovery tool is a field of wells, the sensors may be sensors of each well within the field. These sensors may communicate wirelessly with the wells within the field and/or computing deice 1 12. Thus, the sensor observing module 21 1 may receive feedback from a single nearby sensor, or may sensors distributed across a large area, depending on the DT parameters associated with the DT. Each of the observed process parameters is represented in the DT model 210.

[0041 ] A number of representations of the feedback or output of each sensors for the period between a previous measurement time and the current time. For example, a time step of 10 seconds and a sample rate of five samples per second, produces 50 measurements or representations of the sensor output. This output may be incorporated into a data matrix D.

[0042] In block 506, the processing device may apply a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix. The data assimilation tool can be an EnKF correction applied, as illustrated in FIG. 3B to the estimated state matrix combining the DT parameters and the observed process parameters to produce an updated state matrix. The data assimilation tool may thus remove measurement or signal noise associated with observed measurements, from the estimated state vector to produce the updated state matrix.

[0043] In block 508, the processing device may determine based on the updated state matrix, whether operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter. The updated state matrix can include updated estimates of the DT parameters affected by the observed process parameters. Any of the updated DT parameters may be parameters of interest to an engineer or administrator of the hydrocarbon recovery tool. The instructions 212 may compare one or more of the updated DT parameters contained within the updated state matrix to an expected value for each of the one or more updated DT parameters. In the example illustrated in FIG. 4, the updated estimate of absolute fracture production rate may be compared against a desired or expected production rate. The instructions 213 may further determine whether any discrepancy between the updated estimate of the fracture production and the expected value is within a normal or acceptable range. If the production rate is within a normal range, then the instructions 212 may determine that no change to operations is required, otherwise the instructions 212 may determine that changes to production should be implemented. For example, one or more components of the hydrocarbon recovery tool should be controlled to modify their operations to affect a change in the absolute fracture permeability.

[0044] In response to determining that the operations of one or more components of the hydrocarbon recovery process should be altered to affect the process parameter (i.e. , block 508=“Yes”), the processing device 202 may in block 512, control to alter operations of the one or more components. The instructions 212 may enable the processing device 202 to control or request control of components of the hydrocarbon recovery process may altering operations of the hydrocarbon recovery tool implementing the hydrocarbon recovery process.

[0045] In various aspects, the processing device 202 may determine which components should be controlled and their operations altered by reviewing the updated state matrix. If a DT parameter does not fall within a normal range of discrepancy from an expected value, then the processing device 202 may review the updated state matrix to identify whether any observed process parameters have values lying outside a normal range The computing device 1 12 can incrementally adjust the operations of an identified component to alter the updated estimate of a process parameter at the next time step t. For example, the processing device 202 may use instructions 21 1 to change a drilling bit speed to reduce temperature within a wellbore or the wellhead pressure in the case of production.

[0046] Once operations of the identified component of the DT have been altered, the processing device may return to block 502, using the updated state matrix as the previous state matrix. New sensor data may be gathered, the data assimilation tool applied, and a new updated state matrix obtained. This new updated state matrix may be evaluated in block 512 to determine whether the DT parameter is now within a normal range, or if further modification to operations of a component are needed. In some aspects, different components may be controlled in different iterations of the process 500 based on changes to the observed parameters during each iteration. In drilling, in a first iteration a drill bit speed may be adjusted based on an observed process parameter that appears to be outside of a normal range. At a second iteration, another observed process parameter may appear to be further outside a normal range than the observed process parameter associated with the drill bit, resulting in the selection of another component for control and operations modification.

[0047] In some aspects, if the DT parameter is outside of the normal range, or meets a threshold of discrepancy or differentiation from the expected value, then an alert may be generated. The processing device 202 may signal via the display device 226 that a DT parameters is outside an acceptable range and that engineer attention is recommended. Similarly, the processing deice 202 may transmit via communication interface 206 an alert message to one or more remote computing devices indicating that engineering intervention is recommended. In an example, a well within a field of wells may experience a situation in which a DT parameter lies outside of the normal range, and an edge computing device (e.g., computing device 1 12) may communicate to other wells within the field that a problem has occurred. Receipt of this communication may initiate a change in operations of nearby wells to mitigate the impact of their operations on the DT parameter within the first well.

[0048] In response to determining that the operations of the one or more components of hydrocarbon recovery process should not be altered to affect output of the one or more sensors (i.e. , block 508=“No”), the processing device 202 may return to block 502 and continue predicting future states of the component of the process settings.

[0049] As used below, any reference to a series of examples is to be understood as a reference to each of those examples disjunctively (e.g., "Examples 1-4" is to be understood as "Examples 1 , 2, 3, or 4").

[0050] Example 1 : A system comprising: a hydrocarbon recovery tool; one or more sensors; and a computing device in communication with the hydrocarbon recovery tool and the one or more sensors, the computing device including a non- transitory memory device comprising instructions that are executable by the computing device to cause the computing device to perform operations comprising: estimating, using a digital twin of a hydrocarbon recovery process implemented by the hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process; obtaining observed values from the one or more sensors for at least one process parameter; applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix; determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

[0051] Example 2: the system of example 1 , wherein determining, based on the updated state matrix, whether operations of the one or more components of the hydrocarbon recovery process should be altered comprises determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range.

[0052] Example 3: the system of example 2, wherein the operations further comprise:determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and generating an alert message in response to determining that the value of the predicted parameter meets the threshold. [0053] Example 4: the system of any of examples 1-3, wherein the hydrocarbon recovery process is a drilling process.

[0054] Example 5: the system of any of exmaples 1-4, wherein the hydrocarbon recovery process is a production process.

[0055] Example 6: the system of any of examples 1-5, wherein the data assimilation tool is an Ensemble Kalman Filter.

[0056] Example 7: the system of any of examples 1-6, wherein the one or more sensors are distributed in the hydrocarbon recovery process environment.

[0057] Example 8: the system of any of examples 1-7, wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

[0058] Example 9: A method comprising: estimating, using a digital twin of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process; obtaining observed values from one or more sensors for at least one process parameter; applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix; determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

[0059] Exmaple 10: the method of example 9, wherein determining, based on the updated stat matrix, whether operations of the one or more components of the hydrocarbon recovery process should be altered, comprises determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range.

[0060] Example 11 : the method of example 10, further comprise: determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and generating an alert message in response to determining that the value of the predicted parameter meets the threshold.

[0061] Example 12: the method of any of exampels 9-11 , wherein the data assimilation tool is an Ensemble Kalman Filter.

[0062] Example 13: the method of any of exmaples 9-12, wherein the one or more sensors are distributed throughout a hydrocarbon recovery process environment.

[0063] Example 14: the method of any of examples 9-13, wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

[0064] Example 15: A non-transitory computer-readable medium that includes instructions that are executable by a processing device for causing the processing device to perform a method comprising: estimating, using a digital twin of a hydrocarbon recovery process implemented by a hydrocarbon recovery tool, as applied to a previous state matrix, a state matrix characterizing behavior of the hydrocarbon recovery process; obtaining observed values from one or more sensors for at least one process parameter; applying a data assimilation tool to the estimated state matrix and the observed values to produce an updated state matrix; determining, based on the updated state matrix, that operations of one or more components of the hydrocarbon recovery process should be altered to affect a process parameter; and controlling the hydrocarbon recovery tool to alter operations of the one or more components in response to determining, based on the updated state matrix that the operations of the one or more components should be altered to affect the process parameter.

[0065] Example 16: the non-transitory computer-readable medium of example 15, wherein the operations for determining, based on the updated state matrix, whether operations of the one or more components of the hydrocarbon recovery tool should be altered to affect output of the one or more sensors, comprise operations for determining, whether a value of a predicted parameter within the updated state matrix is within an acceptable range. [0066] Example 17: the non-transitory computer-readable medium of example 16, wherein the operations further comprise: determining whether the value of the predicted parameter meets a threshold, in response to determining that the value of the predicted parameter within the updated state matrix is within an acceptable range; and generating an alert message in response to determining that the value of the predicted parameter meets the threshold.

[0067] Example 18: the non-transitory computer-readable medium of eany of examples 15-17, wherein the data assimilation tool is an Ensemble Kalman Filter.

[0068] Example 19: the non-transitory computer-readable medium of any of examples 15-18, wherein the one or more sensors are distributed throughout a hydrocarbon recovery process environment.

[0069] Example 20: the non-transitory computer-readable medium of any of examples15-19, wherein the state matrix includes estimates of one or more DT parameters and the observed values of the one or more process parameters sampled during a time step.

[0070] The foregoing description of certain examples, including illustrated examples, has been presented only for the purpose of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Numerous modifications, adaptations, and uses thereof will be apparent to those skilled in the art without departing from the scope of the disclosure.