# Patent

## Title
Real time monitoring and control of thermal recovery operations for heavy oil reservoirs

## Abstract

Systems and techniques, including computer programs, for monitoring and controlling thermal recovery involve generating input parameters for use in real time monitoring and controlling of a thermal recovery operation for a reservoir. The input parameters to a thermal generator are generated using a reservoir simulator and an economic model, and the input parameters have a corresponding predicted output of the thermal recovery operation. Data indicative of actual output from the reservoir is received, and the reservoir simulator is automatically updated based on a comparison of the data indicative of the actual output with the predicted output.

## Background
TECHNICAL FIELD
This description relates to recovery operations for subsurface geological formations, and more particularly to real time monitoring and control of thermal recovery operations for heavy oil reservoirs.
BACKGROUND
Fluids in hydrocarbon reservoirs may be accessed via wellbores that extend down into the ground toward the targeted reservoirs. In some cases, the hydrocarbon reservoirs may contain fluid with a lower viscosity such that crude oil flows relatively freely from the reservoir, through production tubing, and toward the production equipment at the ground surface. Some hydrocarbon reservoirs comprise fluids having a higher viscosity, which may not freely flow from the reservoir and through the production tubing. These high viscosity fluids in the hydrocarbon reservoirs are occasionally referred to as “heavy oil deposits.” In the past, the high viscosity fluids in the hydrocarbon reservoirs remained untapped due to the inability and expense of recovering them. More recently, as the demand for crude oil has increased, commercial operations have expanded to the recovery of such heavy oil deposits.
In some circumstances, the application of heat (e.g., using steam) to the hydrocarbon reservoir may reduce the viscosity of the fluids in the reservoir so as to permit the extraction of crude oil and other liquids from the reservoir. This process is referred to as thermal recovery and can include continuous steam flooding, cyclic steam stimulation, and in-situ combustion. In steam flooding, steam is pumped into injection wells to heat up the reservoir and the heavy oil deposits contained in the reservoir. As a result, heavy oil and other liquids can be recovered through production wells.
Cyclic steam stimulation, or “huff'n puff”, involves injecting steam into a well during an injection (or huff) phase that may last days or weeks followed by a soak phase during which the well is shut in for a period of days or weeks to allow the heat to dissipate and to reduce the viscosity of the heavy oil in the reservoir. Finally, during a production (or puff) phase heavy oil is pumped from the same well used for injecting steam.
In-situ combustion involves burning subsurface oil in a reservoir. High temperature air is injected into the reservoir to initiate burning of the subsurface oil, which, in turn, heats up the reservoir and the heavy oil deposits that it contains. Water can also be injected in addition to air. The burning oil heats the water to produce steam, further heating the reservoir, reducing the viscosity of the heavy oil deposits, and allowing heavy oil to be recovered through a production well.
SUMMARY
The described systems and techniques include real-time or right-time monitoring and control of steam production rates and heat content for improved or optimal thermal recovery of heavy oil using feedback from a production well and/or a steam generator to update and tune a reservoir simulator and/or thermal control parameters. In addition, feedback from an economic model can also be used to tune the thermal control parameters to achieve increased or at least relatively optimized economic efficiency.
In one general aspect, input parameters for use in controlling a thermal recovery operation for a reservoir are generated. The input parameters are generated using a reservoir simulator, and the input parameters have a corresponding predicted output of the thermal recovery operation. Data indicative of actual output from the reservoir is received, and the reservoir simulator is manually or automatically updated based on a comparison of the data indicative of the actual output with the predicted output.
Implementations can include one or more of the following features. The reservoir simulator is manually or automatically updated in response to a detected change in the data indicative of the actual output, economic parameters, and/or reservoir conditions, and the change exceeds a corresponding predetermined threshold. The reservoir simulator includes a reservoir model defining multiple reservoir parameters. The thermal recovery operation uses a thermal generator operable to introduce steam into the reservoir. The input parameters define amounts of air, water, and/or fuel. The output of the thermal recovery operation is an amount of water, petroleum, and/or flue gas. The data indicative of actual output from the reservoir is received in real time. Generating input parameters involves performing an automated economic analysis involving the input parameters and the corresponding predicted output. The automated economic analysis involves tuning the input parameters to improve a predicted economic output. The thermal recovery operation involves using a downhole thermal generator. The reservoir simulator is manually or automatically updated by tuning the reservoir simulator based on historical input parameters, corresponding historical data indicative of actual output, and/or predicted output corresponding to the historical input parameters. The reservoir simulator is tuned by adjusting one or more reservoir parameters to improve matching between an actual output from the reservoir and a predicted output from the reservoir.
In another general aspect, a system includes a thermal generator, a reservoir simulator, and a data collection subsystem. The reservoir simulator models thermal operations in a subsurface reservoir. The thermal operations are performed using the thermal generator. The data collection subsystem collects data indicative of output levels predicted using the reservoir simulator and data indicative of actual output levels. The predicted output levels correspond to selected input parameters for the thermal generator. The data indicative of actual output levels is collected in real time. The reservoir simulator is tuned based on a comparison between the collected data indicative of predicted output levels and the collected data indicative of actual output levels.
Implementations can include one or more of the following features. The input parameters for the thermal generator are selected, at least in part, by the reservoir simulator. The reservoir simulator is tuned in response to a detected change in conditions and/or a detected difference between the predicted output levels and the actual output levels. The predicted output levels and the actual output levels define amounts of fluids recovered from the reservoir. The reservoir is a heavy oil reservoir. The thermal generator is a steam generator, and the selected input parameters are control parameters for the steam generator. The steam generator is a surface or a downhole steam generator. An economic model models economic results corresponding to one or more sets of input parameters, and the selected input parameters are determined, at least in part, using the economic model. Sensors detect input levels for the thermal generator, output levels from the thermal generator, and/or output levels from the reservoir.
In another general aspect, a predicted output level for a thermal recovery operation in a reservoir is calculated using a set of reservoir modeling parameters. A set of input parameters corresponding to the predicted output level are identified. Real-time monitoring of an actual output level for the reservoir is performed, and the set of reservoir modeling parameters is updated based on the real-time monitoring of actual output.
Implementations can include one or more of the following features. The set of reservoir modeling parameters are updated based on detected input levels for a surface or a downhole steam generator used in the thermal recovery operation. An economic result associated with one or more set of input parameters is calculated, and the set of input parameters and the corresponding predicted output level are tuned based on the calculated economic result. The set of reservoir modeling parameters are updated in response to identifying a difference in excess of a threshold level between the predicted output level and the actual output level. The predicted output level is a rate and/or a composition of fluids recovered from the reservoir.
The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims.



DESCRIPTION OF DRAWINGS
FIG. 1 is a block diagram of a thermal recovery system for a hydrocarbon reservoir, such as a heavy oil reservoir.
FIG. 2 is a flow diagram of a process for monitoring and controlling thermal recovery operations in a subsurface reservoir.
FIG. 3 is a flow diagram of an example of a process for tuning reservoir modeling parameters.
FIG. 4 is a block diagram illustrating an example data processing system in which one or more components of a system for controlling thermal recovery operations can be implemented.



Like reference symbols in the various drawings indicate like elements.
DETAILED DESCRIPTION
FIG. 1 is a block diagram of a thermal recovery system 100 for a hydrocarbon reservoir, such as a heavy oil reservoir 105. The system 100 includes a reservoir simulator 110 for modeling a reservoir description and fluid distribution in the reservoir 105 and predicting recovery based on adjustable inputs. The reservoir simulator 110 is implemented as a software model of the reservoir 105. For example, the reservoir simulator 110 can be implemented using STARS (Steam, Thermal, and Advanced Processes Reservoir Simulator) available from Computer Modeling Group, Ltd., VIP available from Landmark Graphics Corporation, ECLIPSE available from Schlumberger, or some other commercially available or proprietary model. The reservoir simulator 110 can include, for example, a black oil simulator module, a compositional simulator module, a thermal simulator module, and/or other modules, which can work together to produce a more comprehensive model of the reservoir.
The reservoir simulator 110 is initialized with reservoir properties data, which can include geologic data and/or data from production and/or injection wells. The geologic data can include log data, core data from core samples, and spectral density log (SDL) data as well as seismic data. The log data, core data, and SDL data can be pre-processed using computer programs such as Petroworks available from Landmark Graphics, Prizm by Geographix, and DPP by Halliburton to obtain, for example, water and oil saturations, porosity, and clay content. The data can also be processed in stratigraphy programs such as Stratworks available from Landmark Graphics and may be further pre-processed to map the reservoir, such as by using a Z-Map program available from Landmark Graphics.
The geologic data can include conventional or real-time 4D seismic data (i.e., time lapsed seismic, in which incremental differences in seismic data are used to detect dynamic reservoir fluid movement). Seismic data may be collected conventionally by periodically placing an array of hydrophones and geophones at selected places in the reservoir or 4D seismic may be collected on a real-time basis using geophones placed in wells. The seismic data is processed and interpreted using programs, such as Seisworks and Earthcube available from Landmark Graphics to obtain hydrocarbon indicators, stratigraphy, and structure.
Output from pre-processing of the log data, core data, and SDL data and from processing of seismic data is further pre-processed to obtain geostatistics, such as by using Sigmaview available from Landmark Graphics. The geostatistics, the output from processing of seismic data, and mapping of the reservoir are input into Geocellular (Earthmode) programs and processed using, for example, the Stratamodel application available from Landmark Graphics. The output of the Geocellular programs is then upscaled using, for example, Geolink available from Landmark Graphics to obtain a reservoir simulation model, which is a static representation of the reservoir 105. The reservoir simulation model can include porosity, water saturation, oil saturation, gas saturation, viscosity, and permeability.
The production and/or injection data can include downhole production data, seabed production data (for subsea petroleum reservoirs), and surface production data (for land-based petroleum reservoirs). The production/injection data is pre-processed using pressure transient analysis in computer programs such as Saphir by Kappa Engineering or PTA by Geographix to output, for example, reservoir permeability, reservoir pressure, permeability-feet, and the distance to the reservoir boundaries.
Once the reservoir simulator 110 is initialized, it is used to forecast the amount, properties, rate, and composition of oil and other fluids and conditions produced and/or recovered from the reservoir 105 based on adjustable thermal control inputs. For example, the reservoir simulator 110 predicts the temperature and pressure levels, the resulting changes in viscosity of heavy oil, and the ultimate recovery of oil and other fluids that will result from introducing particular amounts of heat into the reservoir 105. Typically, the forecasts, as with the initialization data for the reservoir simulator 110, are specified by ranges because of difficulties in determining precise reservoir properties.
An economic model 115 is used iteratively with the reservoir simulator 110 to analyze profitability based on the cost of inputs and the value of the corresponding predicted recovery. Iterations of the reservoir simulator 110 and the economic model 115 produce a relatively optimized or efficient set of inputs, which can include the properties and rates of air, water, and fuel (e.g., methane or natural gas), for a steam generator 120. The inputs control valves that regulate the rates in which air, water, and fuel are supplied to the steam generator 120. In some implementations, the steam generator 120 can be located at the surface in which case steam is produced using steam boilers and conveyed down a wellbore to a targeted reservoir through a long tube, for example, wellbore casing or production tubing. In other implementations, the steam generator 120 can be a downhole catalyst-based combustor that is wireline-conveyed or a wellhead catalyst-based combustor in which steam is conveyed downhole using tubing. The steam generator 120 can be a combustor produced, for example, by Precision Combustion, Inc. In some implementations, other types of heated-fluid generators or thermal generators can also be used.
The levels of inputs to the steam generator 120 are provided to a data center 125, which stores the input data for correlating with detected conditions in the reservoir 105 and data regarding the resulting recovery from the reservoir 105. The data center 125 can also or alternatively use sensors 130 to detect the actual inputs to the steam generator 120 by, for example, measuring the flow rate of water, fuel, and air inputs. The inputs to the steam generator 120 control the amount (or rate) and properties (e.g., temperature, pressure, and heat content) of steam produced by the steam generator 120 and introduced into the reservoir 105. The amount and properties of the generated steam can have a range that can be determined based on the input parameters for air, fuel, and water. In addition, for downhole steam generators 120, the inputs to the steam generator 120 impact the amount of flue gas (e.g., carbon dioxide, carbon monoxide, and nitrogen) produced and introduced into the reservoir 105. In particular, the stoichiometry of the inputs to the steam generator 120 determine the amount of steam and flue gas as well as affecting the composition and flow rate of heavy oil in the reservoir 105.
The generated steam and any flue gas injected into or produced in the reservoir 105, in turn, facilitate the recovery of fluids from one or more production wells for the reservoir 105. For example, heat from the injected steam decreases the viscosity of heavy oil in the reservoir 105 to allow it to be recovered, along with water (e.g., injected steam that has condensed) and any flue gas from downhole steam generators 120. The rate, amount, composition, and/or properties of water, oil, and flue gas recovered through a production well 140, as well as temperature, pressure, and volume data (e.g., for flue gas, steam, water, etc. in the reservoir), is detected by sensors 135 at the surface or downhole in the production and/or injection wells. For example, the sensors 135 can take periodic samples to determine recovery rates and/or fluid properties and to detect conditions in the reservoir. In some cases, data from surface sensors 135 can be extrapolated to calculate estimated downhole or reservoir values. Data from the sensors 135 is provided to the data center 125 for use in performing analyses. Thus, the data center 125 stores or otherwise has access to data indicating the input parameters for the steam generator 120 and the corresponding output into or from the reservoir 105.
The data center 125 maintains data for one reservoir 105 or, if multiple reservoirs 105 are associated with the data center 125, data for each reservoir 105 is segmented within the data center 125 to enable separate analyses of each reservoir 105. Typically, each reservoir 105 includes multiple injection wells and multiple production wells (e.g., in a five-spot pattern). Input data for each injection well can be individually tracked in cases where different inputs are applied depending on the location of the injection well. Similarly, output data for each production well can also be individually tracked. Individualized input and output data, along with stored knowledge of the relative or absolute locations of the wells, allows inputs to be correlated with outputs on a region-specific or well-specific basis. For example, inputs to a particular injection well can have an effect on the recovery from multiple production wells depending on the distance between the injection well and each production well, the porosity and permeability of the reservoir, and the like.
The data center 125 preprocesses time-varying input and output data to put it in a proper format for use by the reservoir simulator 110, to filter out noise, obtain average amounts, and the like. The input and output data from the data center 125 can be used to compare the actual air, water, and fuel input with the corresponding water, oil, and flue gas that is produced or recovered. In addition, data from the data center 125 can be used to compare rates, compositions, temperatures, and pressures predicted or forecasted by the reservoir simulator 110 with actual rates, compositions, temperatures, and pressures measured using the downhole or surface sensors 135.
The input and output data are collected in real time using, for example, the sensors 130 and 135 and/or control signals for controlling inputs to the steam generator 120. Real time, in this context, can mean that the data is available to the data center 125 on demand or that the data is automatically provided to the data center 125 (e.g., using a communication network that includes a wireline connection to downhole sensors). For example, the data center 125 can be in periodic or continuous communication with the sensors 130 and 135 and can automatically request and/or receive sample readings from the sensors 130 and 135 at predetermined intervals or at intervals determined by the data center 125. The intervals (e.g., every three seconds or every one hour) can be established by the data center 125 or otherwise based on factors such as how quickly sample values change (currently or historically), how input controls have changed or are changing, or the type of parameter being measured. In some implementations, some control signals (e.g., for changing the inputs to the steam generator 120) can be a communication (e.g., voice, text message, or otherwise) to an operator. For example, a control signal can be a message to send an operator to a well to make an adjustment.
Typically, the effect of changes on the inputs can take days or weeks to produce a corresponding change in output. In some implementations, the data center 125 can monitor for changes in the output and correlate those changes with input conditions. In response to a change in excess of a predetermined threshold or at a predetermined or arbitrary time, the system 100 can selectively and automatically update modeling parameters and forecasts of the reservoir simulator 110, change input parameters for the steam generator 120, and/or record such changes and correlations for future analysis. In some implementations, updating of parameters and forecasts, changes in input parameters, and/or recording such changes and correlations can be performed manually. Modeling parameter updates and/or forecasts of the reservoir simulator 110 can also be performed in response to a detected change in the actual output, economic parameters, and/or reservoir conditions, in response to a difference between a predicted output level and an actual output level, or based on some other factor or factors.
In general, the system 100 uses the data stored in the data center 125 for tuning the reservoir simulator 110. In particular, the system 100 includes a feedback loop for evaluating and modifying performance of the reservoir simulator 110. For example, the system 100 compares the actual outputs (e.g., temperature, pressure, steam, flue gas, water, and oil) with the outputs predicted by the reservoir simulator 110 for a certain set of inputs (e.g., air, water, and fuel supplied to the steam generator 120). Based on this comparison, the reservoir simulator 110 can be tuned by adjusting the initial reservoir modeling parameters in an effort to match the reservoir simulator 110 more closely to the actual behavior and characteristics of the reservoir 105, as measured and/or interpolated from the data in the data center 125. In some cases, the system 100 can also compare the actual inputs (i.e., as measured by sensors 130) with the control inputs to tune the control system.
FIG. 2 is a flow diagram of a process 200 for monitoring and controlling thermal recovery operations in a subsurface reservoir. After a reservoir is identified as a target for thermal recovery operations, reservoir modeling parameters are determined (205). The reservoir modeling parameters generally include values representing static or initial characteristics and properties of the reservoir and the fluid contained therein, such as porosity, permeability, water saturation, oil saturation, gas saturation, viscosity (e.g., of the oil), temperature, and pressure. The reservoir modeling parameters can include characteristics and properties defining a prediction of how the reservoir will respond to changing conditions (e.g., changes in thermal conditions, composition, or pressure).
The reservoir modeling parameters can be determined using core samples, logs, information from production, injection, and/or test wells, seismic analyses, and the like. The reservoir modeling parameters can be defined as a range or distribution curve, which represents an uncertainty in the precise reservoir characteristics. For example, if a core sample suggests a thirty percent porosity for a particular reservoir, the modeling parameter for porosity might be a range from twenty-eight to thirty-two percent to account for sampling errors and/or for potential or statistically probable variations throughout the reservoir.
The reservoir modeling parameters are used to initialize a reservoir simulator (210). The reservoir modeling parameters enable the reservoir simulator to model the state of the reservoir, including any fluids contained in the reservoir, and predict how the reservoir will react responsive to changes of conditions in the reservoir. The reservoir simulator can include different modules that model different aspects of the reservoir (e.g., a black oil module for reservoirs that contain a relatively small amount of gas, a compositional module for reservoirs that contain more gas, and a thermal module for modeling the effects of introducing heat into the reservoir).
An initial set of input parameters are identified (215). The input parameters can be selected arbitrarily or based on some preliminary prediction, past experience, or empirical data relating to the level of inputs necessary to produce favorable results and/or output. The input parameters generally include rates, relative or absolute proportions, or other measures of inputs to a thermal process used to introduce heat into the reservoir. For example, the inputs can include relative amounts of water, fuel in the form of methane or natural gas, and air that are supplied to a steam generator that produces steam in a wellbore or for injection into the reservoir. In some cases, the input parameters can be defined as ranges or distributions to provide a starting point for subsequent economic analysis and/or to account for imprecise delivery or control systems, fluctuations in rates, efficiency variations in the thermal process, and the like.
The reservoir simulator predicts output levels corresponding to the current set of input parameters (220). The output levels can include outputs from a thermal generator (e.g., steam and flue gas), changes in reservoir conditions (e.g., temperature and pressure in the reservoir and composition and viscosity of fluids in the reservoir) resulting from the thermal generator output, and outputs (e.g., rates and compositions of fluids) that are recovered from the reservoir (e.g., through a production well). In general, the focus of reservoir simulation is to model changes in the fluids injected into or already in the reservoir (i.e., the dynamic characteristics) based on the inputs and the static characteristics (e.g., porosity, permeability, etc.). The predicted output levels can define a range or distribution corresponding to ranges or distributions of the input parameters.
By injecting steam or otherwise introducing thermal changes in the reservoir, the composition and/or thermal properties of the reservoir change. These changes are modeled by the reservoir simulator. Among other things, the reservoir simulator performs a pressure, volume, and temperature (PVT) analysis based on the reservoir modeling parameters and the input parameters. The results of the PVT analysis are used to model subsequent changes in the reservoir. Typically, the PVT analysis and other modeling is performed using a Monte Carlo simulation using the ranges or distributions of input parameters and reservoir modeling parameters to obtain a range or distribution of outputs.
An economic analysis is performed using the input parameters and the output levels from the reservoir simulator (225). For example, an economic analysis module is used to predict economic consequences of the set of input parameters. The economic analysis module can use economic modeling parameters (e.g., ranges or distributions of costs, market values, market variables, and the like) along with a software model for predicting total costs, revenues, return on investment, profits, or other economic indicators or benchmarks. In general, the results of the economic analysis relate to financial or intangible measures, while the output levels predicted by the reservoir simulator relate to physical amounts produced or by-products of production, in the reservoir and/or extracted from the reservoir. In an initial iteration of the process 200, the economic analysis can be used to select preferred (e.g., optimum or relatively optimum) values from the ranges or distributions of input parameters. In subsequent iterations of the process 200 (i.e., after obtaining some historical information regarding how well predicted outputs matched actual outputs), the economic analysis can be used to identify the predicted economic outcome of previously identified input parameters.
Based on the economic analysis, a determination is made as to whether the input parameters should be adjusted (230). In some implementations, it is unnecessary to adjust the input parameters in an initial iteration of the process 200. For subsequent iterations, however, it may be desirable to adjust the input parameters if the economic analysis determines that the predicted economic outcome of the previously identified input parameters is undesirable. For example, if the predicted costs exceed some predetermined threshold or if the predicted return on investment is below some predetermined threshold, it may be necessary or desirable to adjust the set of input parameters. The criteria for determining whether the input parameters should be adjusted can be selected based on the desired outcome. For example, maximizing revenue may lead to undesirably high costs and maximizing return on investment may lead to unacceptably low total profit. Accordingly, multiple economic parameters can be used to determine whether the input parameters should be adjusted.
If it is determined that the set of input parameters should be adjusted, the set of input parameters are changed (235). The set of input parameters can be adjusted in increments according to a predetermined pattern or can be intelligently adjusted based on prior iterations (e.g., increasing fuel input beyond a certain level increases costs at a rate that exceeds increases in revenue) or on information that can be deduced from the economic analysis (e.g., revenue is too low for the current set of inputs and reducing steam production cannot increase revenue). In some implementations, the input parameters can be adjusted such that the predicted economic result is acceptable, meets one or more requirements or preferences, or is relatively optimized (i.e., in that it is better than other possible options, although not necessarily the best possible result).
In some implementations, predicted output levels and predicted economic results are calculated for multiple possible sets of input parameters and input parameters that produce a relatively optimal set of results is selected. For example, a multi-dimensional matrix, with each dimension corresponding to different values for a particular input (e.g., fuel, water, or air), can be used to store the predicted results of different combinations of inputs. Thus, predicted outputs and economic results are calculated for ranges of input values, and a specific combination of inputs is selected that is predicted to result in an improved or relatively optimal set of outputs and/or economic results.
Once a set of input parameters is selected for actual use in the thermal recovery operations, the set of input parameters and the corresponding set of predicted outputs are stored (240), although in cases where the input changes and predicted outputs remain unchanged from previously stored values it is unnecessary to store the information again. The current set of input parameters are applied (245) to a thermal generation process (i.e., to control the amount of heat and other properties and substances introduced into the reservoir). For example, the set of input parameters are used to adjust valves that control the air, water, and fuel inputs for a downhole or surface steam generator. In some cases, the set of input parameters that are stored (at 240) can include quantities or rates measured by sensors (e.g., at or near the valves). The stored data (settings values and measured values) can be used to accurately track the inputs (and changes therein) to the thermal generation process in real time.
The outputs of the thermal generation process are measured (250). The outputs can include, for example, steam and flue gas injected into the reservoir and water, oil, and flue gas recovered by a production well. For example, flue gas is injected into (and therefore may be recovered from) the reservoir in the case of downhole steam generation. The outputs can be measured in real time using sensors in injection, production, and/or observation wells. The output measurements are then stored (255) for use in accurately tracking the outputs (and changes therein) in real time.
The actual outputs are compared with the predicted outputs to determine if they differ (260). Typically, the comparison is performed for a particular set of input parameters. However, the input parameters can change over time, and a change in input parameters applied at a particular time can take a period of time to result in a corresponding change in outputs. Moreover, the effect on the outputs can also have a time-varying component. As a simple example, an input at time t=0 results in a detectable change in output beginning at time t=1, increasing until time t=2, and disappearing at time t=3. Thus, the comparison can include a relatively complex analysis of actual and predicted outputs over a period of time.
In addition, the comparison of actual outputs to predicted outputs can include a range of error. In other words, the actual and predicted outputs may not be considered different unless they differ by more than some threshold amount. In some cases, the error range can be included in the predicted output itself if the reservoir simulator generates a range of predicted output values. In addition or as an alternative, an error interval (e.g., defined by an absolute variance or based on a percentage variance from one or more predicted values) can be defined around the predicted output values.
The comparison can be performed, for example, at regular intervals, based on some other predetermined schedule, at times selected by a user or a computer control system, and/or in response to a change in a detected input or output that exceeds some threshold rate or amount. In some implementations, the comparison can be performed in real time. Because of the delay between a change in input parameters and a corresponding change in outputs, however, real-time comparisons do not generally imply use of the real-time input data as it is collected. Instead, input parameters and the corresponding predicted outputs can be stored and used for comparisons at an appropriate time when actual outputs are detected.
In addition, quasi-real-time comparisons can be delayed from a real-time collection of output data. For example, as actual output data is collected, it can be averaged or filtered over a period of time. Similarly, the input parameters and the corresponding predicted outputs can be averaged or filtered over a corresponding period of time. The averaged or filtered, predicted and actual data can be compared at regular intervals, according to some other schedule, or in response to detected changes in conditions. Quasi-real-time comparisons, therefore, can rely upon a real-time collection of data in which collected data (averaged, filtered, or otherwise) is available on-demand for use in an automated comparison and tuning analysis.
If it is determined that there is not a difference between the actual and predicted outputs (at 260), the process 200 returns to applying the current input parameters (at 245), detecting and storing outputs (at 250 and 255), and performing comparisons of actual and predicted (at 260). In general, these aspects of the process 200 are performed continuously, relatively continuously, or periodically rather than merely an iterative process, which might be more applicable in a static process. Accordingly, multiple changes in the input parameters can be applied and stored, and/or output levels can be continuously monitored, between successive comparisons of actual and predicted outputs. Alternatively, individual processing steps can be performed in parallel on an ongoing basis.
If it is determined that there is a difference between the actual and predicted outputs (at 260), the reservoir simulator can be tuned (265) to improve the performance of the reservoir simulator. Tuning of the reservoir simulator can involve adjusting the reservoir modeling parameters and can be performed, for example, in real time, on a periodic basis, or upon detecting a change in conditions. The reservoir modeling parameters can be tuned by making adjustments so that predicted outputs match actual outputs for a given set of input parameters. In particular, the actual outputs corresponding to a particular set of input parameters (from 240, 250, and 255) can be used to perform a hindsight prediction of outputs using modeling parameters that are iteratively tuned until the reservoir simulator produces a prediction that matches the actual output. In some implementations, sets of actual and predicted outputs (i.e., varying outputs detected or predicted over a period of time) and corresponding sets of input parameters (i.e., that are also varying over a corresponding period of time) are used in a more complex tuning procedure.
Each reservoir modeling parameter can be tuned by shifting, narrowing, expanding, or otherwise modifying a range or distribution curve that represents the modeling parameter. Reservoir modeling parameters can also be separately tuned for different regions within the reservoir. For example, actual output data from two different wells can be used to tune local reservoir modeling parameters in different ways. Accordingly, the feedback provided by the process 200 can be used to obtain a more accurate and realistic model of a reservoir by detecting location-specific differences between actual and predicted outputs and performing location-specific parameter tuning.
In some cases, it is possible to perform some tuning of reservoir modeling parameters even if there is not a difference between the actual and predicted outputs (at 260). For example, if there is not a difference, the range or distribution curve for one or more of the modeling parameters may unnecessarily account for too much uncertainty in the reservoir characteristics. Accordingly, it may be possible to tune the reservoir simulator by narrowing a range or distribution curve for one or more of the modeling parameters.
Once the reservoir simulator is tuned, a new prediction of output levels corresponding to the current set of input parameters is calculated (220) and the process 200 continues. For example, the new prediction can result in changes in the predicted economic results, which causes a different set of input parameters to be selected. Changes in the set of input parameters can also occur other than in response to changes in the reservoir modeling parameters. For example, changes in economic parameters or goals can lead to an update in input parameters independent of any change in modeling parameters. Accordingly, the reservoir simulator can be tuned, and new input parameters and predicted outputs can be determined, continuously, in real time, or periodically. In addition, this tuning and determining of new input parameters and predicted outputs can be performed in parallel with other processes.
Additional closed-loop controls can be applied to tune the input levels to the steam generator 120. For example, the economic model 115 may determine that a valve should be set at a level that allows a five cubic feet per minute flow rate. The steam generator 120 can include additional sensors to measure the actual flow rate. These additional sensors can be used to determine if the actual flow rate matches the desired flow rate and to tune the valve accordingly (i.e., until it produces a five cubic meter per minute flow rate).
The reservoir simulator 110 and the economic model 115 can be used to predict outputs and economic results and interactions between the two on one or more different horizons. For example, the reservoir simulator 110 and/or the economic model can predict both short-term and long-term effects of input parameter changes and strategies on the reservoir, recovery, and economic impact. This capability allows the system 100 to avoid applying input parameters that might have a short-term benefit but that cause long-term profits or revenues to plummet. Among other things, flue gas can have an impact on the reservoir because it tends to change the composition of oil in the reservoir as the flue gas and oil mix. In some cases, flue gas can have a beneficial impact on the reservoir, while in other cases it can have a detrimental impact. Physical and economic models can take into account the impact of flue gas during the modeling process.
FIG. 3 is a flow diagram of an example of a process 300 for tuning reservoir modeling parameters. A difference between a predicted output and an actual output is detected (305). In response, one or more modeling parameters relating to relative permeability is adjusted (310) to improve matching between the predicted and actual output (e.g., to make the reservoir simulator produce a prediction that is closer to the actual output for a particular set of input parameters). Modeling parameters relating to a porosity distribution are tuned (315), and modeling parameters relating to fluid saturation are adjusted to improve matching (320). Modeling parameters relating to fluid properties are also adjusted (325), and other parameters (e.g., relating to constraints on the oil, reservoir, steam, and the like) are tuned (330).
Modeling parameters can be adjusted, at each step or for the overall process 300, to improve matching for water first and then for oil, or vice versa. In addition, tuning can be performed using multiple sets of historical parameters. For example, over time, more data is collected regarding input parameters and corresponding outputs. In some implementations, the tuning process may attempt to adjust the model to obtain the best matching for all of the historical samples, for only the most recent n samples, or for some other subset of samples. The effect of certain historical data or on certain modeling parameters can be gradually or quickly reduced over time. For example, some modeling parameters may relate to properties that can change over time, such as relative composition, which can change as oil is extracted and water, in the form of steam, is injected. The effect of at least older historical data on tuning of such modeling parameters can be reduced or eliminated.
The described techniques can be used for both cyclic steam stimulation and continuous steam flooding thermal operations, although the type of thermal operation can affect the sampling frequency of input and/or output measurements, the frequency of updates to the input parameters, the modeling frequency, and the like. For example, in cyclic steam stimulation, modeling parameters are generally tuned periodically, following at least a portion of the production phase, although data can be collected in real time. In continuous steam flooding, modeling and modeling parameter updates can be performed periodically or relatively continuously.
The functional operations described in this specification can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structural means disclosed in this specification and structural equivalents thereof, or in combinations of them. The techniques can be implemented using one or more computer program products, i.e., one or more computer programs tangibly embodied in an information carrier, e.g., in a machine readable storage device or in a propagated signal, for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers. A computer program (also known as a program, software, software application, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file. A program can be stored in a portion of a file that holds other programs or data, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, the processor will receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non volatile memory, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
To provide for interaction with a user, the techniques can be implemented using a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, for displaying information to the user and a keyboard and a pointing device, e.g., a mouse or a trackball, by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
The techniques can be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the described techniques, or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (“LAN”) and a wide area network (“WAN”), e.g., the Internet.
The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
FIG. 4 is a block diagram illustrating an example data processing system 400 in which one or more components of a system for controlling thermal recovery operations can be implemented. The data processing system 400 includes a central processor 410, which executes programs, performs data manipulations, and controls tasks in the system 400. The central processor 410 is coupled with a bus 415 that can include multiple busses, which may be parallel and/or serial busses.
The data processing system 400 includes a memory 420, which can be volatile and/or non-volatile memory, and is coupled with the communications bus 415. The system 400 can also include one or more cache memories. The data processing system 400 can include a storage device 430 for accessing a storage medium 435, which may be removable, read-only, or read/write media and may be magnetic-based, optical-based, semiconductor-based media, or a combination of these. The data processing system 400 can also include one or more peripheral devices 440(1)440(n) (collectively, devices 440), and one or more controllers and/or adapters for providing interface functions.
The system 400 can further include a communication interface 450, which allows software and data to be transferred, in the form of signals 454 over a channel 452, between the system 400 and external devices, networks, or information sources. The signals 454 can embody instructions for causing the system 400 to perform operations. The system 400 represents a programmable machine, and can include various devices such as embedded controllers, Programmable Logic Devices (PLDs), Application Specific Integrated Circuits (ASICs), and the like. Machine instructions (also known as programs, software, software applications or code) can be stored in the machine 400 and/or delivered to the machine 400 over a communication interface. These instructions, when executed, enable the machine 400 to perform the features and functions described above. These instructions represent controllers of the machine 400 and can be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. Such languages can be compiled and/or interpreted languages.
A number of implementations have been described. Nevertheless, it will be understood that various modifications may be made. For example, the described systems and techniques can be used for tuning modeling parameters of a thermal reservoir simulator used to control air input for in-situ combustion and/or for thermal operations for recovery of other types of petroleum or other substances. In addition, one or more of the operations described in FIGS. 2 and 3 can be performed in parallel or in a different order than that shown or described. Accordingly, other implementations are within the scope of the following claims.

## Claims

1. A method for controlling thermal recovery, the method comprising:
generating, by a computer, input parameters for use in controlling a thermal recovery operation for a reservoir, the input parameters generated using a reservoir simulator and the input parameters having a corresponding predicted output of the thermal recovery operation;
continually receiving data indicative of actual output from the reservoir;
automatically comparing the received data indicative of actual output with the predicted output; and
automatically updating the reservoir simulator based on the comparison of the data indicative of the actual output with the predicted output.

2. The method of claim 1 wherein automatically updating the reservoir simulator based on the comparison comprises automatically updating the reservoir simulator in response to a detected change in at least one of the data indicative of the actual output, economic parameters, or reservoir conditions, the change exceeding a corresponding predetermined threshold.

3. The method of claim 1 wherein the reservoir simulator comprises a reservoir model defining a plurality of reservoir parameters.

4. The method of claim 1 wherein the thermal recovery operation comprises using a thermal generator operable to introduce steam into the reservoir.

5. The method of claim 1 wherein the input parameters comprise amounts of at least two substances selected from the group consisting of air, water, and fuel.

6. The method of claim 1 wherein the output of the thermal recovery operation comprises amounts of at least two substances selected from the group consisting of water, oil, and flue gas.

7. The method of claim 1 wherein comparing the received data indicative of actual output from the reservoir with the predicted output comprises comparing the received data indicative of actual output from the reservoir with the predicted output in real-time.

8. The method of claim 1 wherein generating input parameters includes performing an automated economic analysis involving the input parameters and the corresponding predicted output.

9. The method of claim 8 wherein the automated economic analysis comprises tuning the input parameters to improve a predicted economic output.

10. The method of claim 1 wherein the thermal recovery operation comprises using a downhole thermal generator.

11. The method of claim 1 wherein the thermal recovery operation comprises using a surface thermal generator.

12. The method of claim 1 wherein automatically updating the reservoir simulator comprises tuning the reservoir simulator based on at least two of historical input parameters, corresponding historical data indicative of actual output, or predicted output corresponding to the historical input parameters.

13. The method of claim 12 wherein tuning the reservoir simulator comprises adjusting at least one reservoir parameter to improve matching between an actual output from the reservoir and a predicted output from the reservoir.

14. A system comprising:
a thermal generator;
a reservoir simulator operable to model thermal operations in a subsurface reservoir, the thermal operations performed using the thermal generator;
a data collection subsystem operable to collect data indicative of output levels predicted using the reservoir simulator, the predicted output levels corresponding to selected input parameters for the thermal generator, and data indicative of actual output levels, the data indicative of actual output levels continually collected, wherein the reservoir simulator is automatically tuned based on an automatic comparison between the collected data indicative of predicted output levels and the collected data indicative of actual output levels.

15. The system of claim 14 wherein the input parameters for the thermal generator are selected, at least in part, by the reservoir simulator.

16. The system of claim 14 wherein the reservoir simulator is automatically tuned in response to at least one of a detected change in conditions or a detected difference between the predicted output levels and the actual output levels.

17. The system of claim 14 wherein the predicted output levels and the actual output levels comprise amounts of fluids recovered from the reservoir.

18. The system of claim 14 wherein the reservoir comprises a heavy oil reservoir.

19. The system of claim 14 wherein the thermal generator comprises a steam generator and the selected input parameters comprise control parameters for the steam generator.

20. The system of claim 19 wherein the steam generator comprises a surface steam generator.

21. The system of claim 19 wherein the steam generator comprises a downhole steam generator.

22. The system of claim 14 further comprising an economic model operable to model economic results corresponding to at least one set of input parameters, the selected input parameters determined, at least in part, using the economic model.

23. The system of claim 14 further comprising sensors operable to detect at least one of input levels for the thermal generator, output levels from the thermal generator, or output levels from the reservoir.

24. An article comprising a computer-executable program tangibly embodied on a computer-readable storage medium, the program comprising instructions for causing data processing apparatus to perform operations comprising:
calculating a predicted output level for a thermal recovery operation in a reservoir using a set of reservoir modeling parameters;
identifying a set of input parameters corresponding to the predicted output level;
performing continual monitoring of a difference between an actual output level for the reservoir and the predicted output level; and
automatically updating the set of reservoir modeling parameters based on the monitored difference.

25. The article of claim 24 wherein automatically updating the set of reservoir modeling parameters is further based on detected input levels for a downhole steam generator used in the thermal recovery operation.

26. The article of claim 24 wherein the instructions further cause data processing apparatus to perform operations comprising:
calculating an economic result associated with at least one set of input parameters; and
tuning the set of input parameters and the corresponding predicted output level based on the calculated economic result.

27. The article of claim 24 wherein automatically updating the set of reservoir modeling parameters based on the monitored difference is performed in response to identifying a difference in excess of a threshold level between the predicted output level and the actual output level.

28. The article of claim 24 wherein the predicted output level comprises at least one of a rate or a composition of fluids recovered from the reservoir.

29. A system comprising:
means for generating input parameters for use in controlling a thermal recovery operation for a reservoir, the input parameters generated using a means for simulating the reservoir and the input parameters having a corresponding predicted output of the thermal recovery operation;
means for substantially continuously receiving data indicative of actual output from the reservoir;
means for automatically comparing the received data indicative of actual output from the reservoir and the predicted output; and
means for automatically updating the means for simulating the reservoir based on the comparison of the data indicative of the actual output with the predicted output.

30. The system of claim 29 wherein the means for generating input parameters includes means for performing an automated economic analysis involving the input parameters and the corresponding predicted output.

31. The system of claim 29 wherein the means for automatically updating tunes the means for simulating the reservoir based on at least two of historical input parameters, corresponding historical data indicative of actual output, or predicted output corresponding to the historical input parameters, wherein at least one of the historical input parameters or the historical data indicative of actual output are collected in real time.

32. The method of claim 1, further comprising:
performing a first thermal recovery operation;
determining that the comparison does not exceed a predetermined threshold difference; and
performing a second thermal recovery operation based on the reservoir simulator without updating the reservoir simulator based on the comparison of the data indicative of the actual output with the predicted output.