Many downhole operations used in hydrocarbon exploration and production involve effective fluid pressure management. For example, managed pressure drilling operations require fluid pressure management to maintain fluid pressures relative to a formation fracture pressure. Hydraulic stimulation operations, such as matrix stimulation and hydraulic fracturing, are used to improve productivity of hydrocarbon formations. In such operations, it is important to monitor fluid pressure to avoid undesirable pressure conditions such as over-pressure events.
A method of monitoring and predicting measurement data includes: collecting a first plurality of measured data values over an initial time interval; calculating an initial predictive model based on the initial measured data values collected during the initial time interval, and calculating a prediction of data values over a prediction time window beyond the initial time interval based on the initial predictive model; collecting a second plurality of measured data values at a plurality of time values following the initial time interval; for each of the second plurality of time values, calculating a new predictive model based on: a current measured data value at a current time value, the first plurality of measured data values, and measured data values associated with time values between the current time value and the initial time interval; and for each of the second plurality of time values, calculating a prediction of data values over a prediction time window beyond the current time value based on the new predictive model. In one embodiment, the method includes verification of the model.
An apparatus for monitoring and predicting measurement data includes: at least one sensor configured to measure a parameter; and a processor configured to collect a first plurality of measured data values over an initial time interval and collect a second plurality of measured data values at a plurality of time values following the initial time interval. The processor is configured to perform: calculating an initial predictive model based on the initial measured data values collected during the initial time interval, and calculating a prediction of data values over a prediction time window beyond the initial time interval based on the initial predictive model; for each of the second plurality of time values, calculating a new predictive model based on: a current measured data value at a current time value, the first plurality of measured data values, and measured data values associated with time values between the current time value and the initial time interval; and for each of the second plurality of time values, calculating a prediction of data values over a prediction time window beyond the current time value based on the new predictive model. In one embodiment, the apparatus is configured to perform a verification of the model.
The subject matter, which is regarded as the invention, is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other features and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
Apparatuses and methods are disclosed for monitoring and/or analyzing data using predictive models based on measured data. A method includes generating a model based on initial measurement data and predicting future progression of the data over a selected prediction time interval. The model is updated or re-calculated, and a prediction is performed, at a plurality of subsequent consecutive times. The method may also include comparing each prediction to a threshold value, and triggering an alarm and/or some remedial action in response to predicted data values meeting or exceeding (or falling below) the threshold value within the prediction time interval.
Embodiments of the apparatuses and methods include management of downhole operational and/or measurement parameters such as fluid pressure and early detection of undesirable pressure events. A method for managing a downhole operation includes periodically or continuously monitoring a parameter such as fluid pressure (e.g., at surface and/or downhole locations), and generating a predictive model for detection of an event such as an over-pressure event prior to the onset of such an event. The method includes repeatedly updating or re-calculating a model, such as a recursive model, at selected times during a downhole operation. At each time, the model is used to predict the progression of pressure values over a prediction time interval or time horizon. If the modeled pressure exceeds a selected pressure value within the time horizon, a remedial action, alert or some other trigger may be generated to avoid the over-pressure event.
In one embodiment, the system 10 is configured as a hydraulic stimulation system. As described herein, “stimulation” may include any injection of a fluid into a formation. A fluid may be any flowable substance such as a liquid or a gas, or a flowable solid such as sand. In this embodiment, the string 14 includes a stimulation assembly 18 that includes one or more tools or components to facilitate stimulation of the formation 12. For example, the string 14 includes a fracturing assembly 20, such as a fracture or “frac” sleeve device, and/or a perforation assembly 22. Examples of the perforation assembly 24 include shaped charges, torches, projectiles and other devices for perforating the borehole wall and/or casing. The string may also include additional components, such as one or more isolation or packer subs 24.
One or more of the stimulation assembly 18, the fracturing assembly 20, the perforation assembly 22 and/or packer subs 24 may include suitable electronics or processors configured to communicate with a surface processing unit and/or control the respective tool or assembly.
An injection system 26 includes an injection device such as a high pressure pump 28 in fluid communication with a fluid tank 30 or other fluid source. The pump 28 injects fluid into the string 14 to introduce fluid into the formation 12, for example, to stimulate and/or fracture the formation 12. The pump 28 may be located downhole or at a surface location.
One or more flow rate and/or pressure sensors 32 are disposed in fluid communication with the pump 28 and the string 14 for measurement of fluid characteristics. The sensors 32 may be positioned at any suitable location, such as proximate to (e.g., at the discharge output) or within the pump 28, at or near the wellhead, or at any other location along the string 14 or the borehole 16. The sensors described herein are exemplary, as various types of sensors may be used to measure various parameters.
A processing and/or control unit 34 is disposed in operable communication with the sensors 32 and the pump 28. The processing and/or control unit is configured to receive, store and/or transmit data generated from the sensors 32 and/or the pump 28, and includes processing components configured to analyze data from the pump 28 and the sensors, provide alerts to the pump 28 or other control unit and/or control operational parameters. The processing and/or control unit 34 includes any number of suitable components, such as processors, memory, communication devices and power sources.
In the first stage 41, a downhole operation is commenced. For example, a stimulation operation is commenced by activating the pump 28 and pumping fluid into the borehole 16.
In the second stage 42, operational parameters are monitored for an initial selected time period. For example, the processing unit 34 receives flow rate and pressure signals from the sensors 32 and records flow rate and pressure measurements (i.e., samples) for a selected number of initial sample times.
In one embodiment, parameters are sampled over a time period at a selected sampling rate (e.g., samples per second). This rate can be selected, e.g., by an operator. An exemplary sampling rate for a stimulation operation is about 1-10 samples per second, which is usually sufficient for detecting overpressure events, although higher sampling rates can be used if desired.
In the third stage 43, an initial model is calculated based on all or a portion of the measurement data (also referred to as “initial data” or “initial samples”) taken during the initial time period. For example, the processing unit 34 uses all or a portion of the initial samples as input into a modeling algorithm to generate the initial model. The model is projected over a selected prediction time period or prediction window to predict the pressure and/or flow rate progression. The prediction window is an interval of time beginning at the end of the initial time period, and having a duration during which the model's prediction is considered to provide a reasonably accurate estimate of future behavior. Any suitable models can be used, including linear and non-linear models where appropriate. Examples of suitable non-linear models include Wiener models, neural networks, Recursive non-linear autoregressive models in general (RNAR), non-linear autoregressive moving average models with exogenous input (NARMAX) and output error (OE) polynomial models. Examples of suitable linear models include autoregressive moving average models with exogenous input (ARMAX), autoregressive models with exogenous input (ARX) and state space models.
In one embodiment, the model includes a threshold value, also referred to as an “alarm level”, which includes a maximum and/or minimum data value at which an alarm, warning or other action is triggered. For example, an alarm or other indication is provided to a control unit and/or a user to allow for remedial action to be taken. In one embodiment, the alarm level can directly trigger remedial action, e.g., the processing unit 34 can be triggered to take appropriate action and adjust operational parameters (e.g., change pump pressure or shut down pump). The alarm level, e.g., a pressure level, can be set by an operator to trigger an alarm, action or shut down event.
An exemplary non-limiting model algorithm is described in conjunction with equations (1) and (2) below. This algorithm uses sampled pressure and flow rate measurements (form, e.g., sensors 32) as inputs, although other data values could be used and the equations modified accordingly. For this model, it is assumed that pressure is a function of flow, i.e., Pressure=f (Flow). Pressure values are denoted as y(t) and flow rate values are denoted as x(t).
The identification problem can be set up using Least-Squares to find a Z-transform transfer function of the sampled flow rate and pressure measurements. The transfer function in the Z-transform domain is as follows:
where a0 . . . a(n-1) are coefficients for a difference equation for pressure, and b0 . . . b(n-1) are coefficients for a difference equation for flow rate.
The next algorithm task is to convert from Z-domain to discrete time. The Z-transform is taken to give a solution for pressure y(k), where k is a number of discrete time values:
These equations may be used by a processor (e.g., the processing unit 34) such as a digital computer, digital signal processor (DSP) or a fast microcontroller. These equations may be used to generate coefficients and plot the initial model.
In the fourth stage 44, measurement data is collected for a plurality of subsequent time periods, referred to herein as sample times. For each subsequent sample time, a new model is generated (or the current model is updated) using previously collected data, which includes data collected during the initial time period, data collected for the current sample time, and data collected for each previous sample time. Each new model includes a prediction over a selected time window starting at the current sample time. For example, the model shown in equation (2) is plotted once for each sample time to generate coefficients and yield a new predictive model at each sample time.
In one embodiment, previously collected or sampled data is used to verify that the new model is proper and can be used. This verification can be performed after each model is created or updated, and prior to providing predictions. The number of past samples to be used for verification can be any selected number, e.g., an operator can preset how many past samples are to be used for verification.
In the fifth stage 45, at each sample time, the updated or newly plotted model is analyzed over the prediction time period and compared to the alarm value. If the model is predicted to meet or exceed the alarm value during the prediction time period, an alarm and/or remedial action is triggered. In one embodiment, analysis of the model is performed upon receiving data for a sample time period and prior to receiving data for the next following time sample, so that predictions can be performed, and alarms generated, on a real time or near real time basis.
The alarm level and triggering mechanism is not limited to that described herein. Various alarm levels may be used and modified over the course of the operation based on operating conditions. In one embodiment, a sensitivity level can be set to mandate a number of times that the prediction hits the alarm level before an alarm or action is triggered.
The prediction time period or prediction window is also not limited to those described herein. Any suitable prediction horizon can be selected. For example, in a typical stimulation operation, a prediction window of between about 10 seconds and about 50 seconds can be selected.
In one embodiment, the processor (e.g., the processing unit 34) is configured to transmit model data (including the data modeled over the current time period and/or the prediction) to an external or remote processor for plotting, analysis, operational control and/or data logging. For example, the processor transmits the model's coefficients to an external PC for plotting, analysis, remote PC control and data logging purposes.
The method 40 may be used to analyze data and control an operation using such analysis. For example, the method 40 may be used in conjunction with a downhole operation, such as a measurement, stimulation or drilling operation, but is not so limited. The method can be used with any type of downhole or surface operation that can benefit from predictive data monitoring.
For example, the method can be used to facilitate a downhole stimulation operation, in which fluid is pumped and/or circulated in a borehole. During the operation, parameters such as pressure and flow rate are sampled and models are repeatedly generated and/or updated at each consecutive sample time (using the same modeling algorithm) over the course of the operation. At each sample time, if no “bad event,” such as an overpressure event, is predicted, the operation proceeds normally and fluid is injected as previously directed by an operator or controller. However, if a model generated at some sample time predicts a bad event within a prediction window, a processor or well sensor communicates to a pump or pump controller that a bad event is arriving and predicts its future impact.
The pump or pump controller, in response to the communication, prepares for the event arrival and makes operational corrections. For example, the pump may reduce the current flow rate or commence a shutdown procedure. Other actions and/or communications can be performed in response to the bad event. For example, other safety components can be activated, such as a blowout preventer. After the bad event is dealt with, the operation may continue or re-commence, and the processor continues monitoring and predicting future events.
For example, at power on and other instances when there is no active model, a first indicator 76 (e.g., a red LED) will turn ON and samples are collected for an initial time period. For example, data is collected for 60 sample times (which would translate to an initial time period of 60 seconds for a one-second sample time). A model is created and checked with data collected for the initial time period (e.g., the last 60 samples). If the model is valid, the red LED indicator 76 is turned OFF and a second indicator 78 (e.g., a green LED) will start blinking, which indicates that a model is active and the system is monitoring selected alarm levels. From this point on, at each time after a sample is taken, the model is recursively updated and checked again to verify that is a proper model, and if the model is proper, a prediction is made over a given horizon checking if an overpressure event is coming. If by any chance a model is checked that is not proper, the green LED indicator 78 stops blinking and remains ON indicating that the device 70 is still operating but with a non-updated model. As soon as a new model is created and found to be proper, the green LED indicator 78 starts blinking again.
When an alarm point is detected within the given horizon, a third indicator 80 (e.g., a blue LED) starts blinking to indicate that a rising overpressure event is detected. When the blue LED indicator 80 is turned ON, a dry contact 82 may also be activated. At this point, both the blue LED indicator 80 and the dry contact 82 are latched ON to send an alarm indication or control command to the pump or pump controller, until a reset command is send to the device 70 or a Reset button 84 is manually depressed.
In the examples described below, data points (flow and pressure) or samples are taken at time intervals of one second. After calculation of an initial model, at each interval or sample time (i.e., every second), a data point is fed to a processor (e.g., the processing unit 34 or device 70) and a new model is calculated using previously collected data. A new model is calculated at each second, thus the lifetime of each model is one second. It is noted that the sample time of one second for which each model is calculated may be different than the actual measurement sampling rate, which may be on the order of tens of samples per second. Various models can predict over a wide range of time, e.g., the method described in conjunction with
Various stages of the method 40 are shown, and calculated models are shown at selected sample times. The full response for the captured models is plotted against the original data to evaluate the model's prediction starting from the time at which each model is created (the critical-point) to the full extent of the simulation.
It is noted that the alarms or triggers can be modified or enabled/disabled by an operator if the model overreacts to pressure changes or if certain pressure changes are to be disregarded.
At the sample time shown in
It is noted that the types and applications of the models are not limited to those described herein. In addition to pressure and flow rate, various parameters and types of measurements can be used. For example, downhole operations can encompass many types of measurements and measurement parameters. Examples of measurements include resistivity, nuclear magnetic resonance (NMR), acoustic, seismic, nuclear (e.g., pulsed neutron, gamma sources, and the like) as well as other such technologies. Parameters associated with various aspects of formations and/or features may be used. Exemplary parameters include, for example, density, temperature, pressure, porosity, isotopic identity, chemical composition, pH, conductivity, resistivity, stress, strain and the like. Other exemplary parameters include tool-related parameters such as temperature, vibration, tool wear and remaining useful life parameters.
A number of benefits result from implementation of the methods and apparatuses disclosed herein. For example, the methods and apparatuses provide an effective way to detect impending over pressure events or other conditions that require some form of remedial action or warning. Substantially continuous, updated predictions can be generated at real time or near-real time to facilitate early detection of events.
In support of the teachings herein, various analysis components may be used, including a digital system and/or an analog system. The system 10 and/or other devices such as the device 70, processing unit 34, sensors 32 and/or the pump 28 may have components such as a processor, storage media, memory, input, output, communications link (wired, wireless, pulsed mud, optical or other), user interfaces, software programs, signal processors (digital or analog) and other such components (such as resistors, capacitors, inductors and others) to provide for operation and analyses of the apparatus and methods disclosed herein in any of several manners well-appreciated in the art. It is considered that these teachings may be, but need not be, implemented in conjunction with a set of computer executable instructions stored on a computer readable medium, including memory (ROMs, RAMs), optical (CD-ROMs), or magnetic (disks, hard drives), or any other type that when executed causes a computer to implement the method of the present invention. These instructions may provide for equipment operation, control, data collection and analysis and other functions deemed relevant by a system designer, owner, user or other such personnel, in addition to the functions described in this disclosure.
While the invention has been described with reference to exemplary embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications will be appreciated by those skilled in the art to adapt a particular instrument, situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed as the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims.