Despite longstanding interest in the oil and gas industry, automatic history-matching has seldom been used in practice due to obstacles related to computational efficiency. Because of this, manual history-matching has been the norm, and as a consequence, reservoir engineers have frequently made changes to reservoir simulation models that resulted in a history-matched reservoir model inconsistent with static data and geologic information and interpretation. Thus the model obtained by history-matching often gave unreliable predictions of future reservoir performance.
When implemented into the software, the algorithms and technology developed in this research project will provide a platform for data integration with the history-matching process in order to obtain a history-matched reservoir model that is consistent with all data and information. This will result in better predictions of future production and quantification of uncertainty in predicted reservoir performance and lead to improvements in reservoir management. More importantly, these algorithms will be embedded into software with easy to use GUIs and be available to smaller companies that normally would not have access to reservoir simulation/automatic history-matching tools.
Results
To date, the following milestones have been accomplished:
- An expectation-maximization (EM) algorithm has been successfully applied to characterize the measurement error for both seismic data and production data. The current algorithm is a modification of the EM algorithm found in the statistical learning literature. This modified algorithm groups data by both value and coordinates and automatically selects an appropriate number of groups, which leads to vastly improved estimates of the covariance of measurement errors obtained by using smoothing algorithms. The code has been successfully tested on a large number of synthetic examples, and it gives good approximations of the covariance of the measurement errors for both production and time-lapse seismic data. It has also been tested on field seismic and production data and appears to give a reliable characterization of the measurement errors. Based on results to date, it should be possible to develop a code for field use. Researchers expect this algorithm to have applications to other reservoir characterization problems, such as grouping permeability/porosity measurements by rock type.
- A code has been developed that allows for the adjustment of relative permeability curves during the history-matching process. The code has been tested for several synthetic examples. Although not directly supported by the DOE project, the researchers’ work on estimating relative permeability curves by history-matching production data motivated them to design a well test specifically for the purpose of estimating relative permeabilities in-situ. A paper on this method (SPE 103271) was presented at the 2006 SPE Annual Technical Conference and Exhibition. Although not yet tested in the field, tests on synthetic cases suggest the method could become a practical tool for maximizing the information content of well-test pressure data.
- A methodology and code for the automatic history-matching of time-lapse seismic data have been completed.
- The Graphical User Interface (GUI) has been developed using Visual Basic for the CLASS simulator and most parts of the automatic history-matching code.
Benefits
This project will advance the reservoir modeling and reservoir management capabilities of the petroleum industry by providing a practical tool in the form of user-friendly software for data integration, reservoir simulation, and automatic history-matching. Students trained with support from this project will be prepared for employment in the oil industry and bring with them expertise in advanced tools for reservoir management.
Summary
The seven tasks delineated in the original proposal were:
Task 1 – Development of an algorithm for history-matching with facies; Task 2: Automatic history-matching of time-lapse seismic data; Task 3: Determination of the relative weighting of data mismatch terms; Task 4: Adjustment of relative permeability curves by history-matching; Task 5: Multi-scale history-matching; Task 6: Graphical user interface user manual; and Task 7: Examples applications.
Task 1 – History-matching of facies boundaries using gradient-based methods was found to be relatively inefficient. Consequently, the researchers began work on history-matching with facies using the ensemble Kalman filter. The method has been developed and implemented in code for three-dimensional problems. Initial tests on using the method to adjust facies boundaries by matching production data have been successful, but the problems tested were relatively simple and much research remains to be done.
Task 2 – A methodology and code for the automatic history-matching of time-lapse seismic data have been completed. This methodology has been embedded in the overall code so that one can simultaneously match time-lapse seismic and production data.
Task 3 – Researchers have developed methods to determine the relative weighting of data mismatch terms. To integrate dynamic data into a geologic model by automatic history-matching, it is important to determine the proper relative weighting of data in the objective function that is minimized. The relative weighting is determined by the covariance functions describing measurement errors. For estimation of the covariance functions for different types of production data, the team’s implementation of Savitzky-Golay filters and soft-threshold de-noising using the wavelet transform both yield reasonable estimates of covariance functions, but results are less accurate when the errors are correlated or non-stationary. A modified EM algorithm was implemented to characterize measurement error in time-lapse seismic and production data. Extensive testing indicates that the modified EM algorithm gives reliable results for determining the covariance functions for production data (pressure, producing water-oil and gas-oil ratios) as well as time-lapse seismic data. The modified algorithm groups data by value and coordinates and automatically determines the number of groups. By smoothing within groups, the project performer is able to obtain a reliable characterization of measurement errors. Researchers have also developed a modification that allows them to consider two data types together, e.g., acoustic impedance and Poisson’s ratio. This modification results in a more reliable grouping. Preliminary tests on synthetic data indicate that the modified EM algorithm can be applied to separate porosity and permeability measurements by rock type.
Task 4 – Code for estimating relative permeability curves, together with gridblock porosities and absolute permeabilities, has been completed and successfully tested with several synthetic examples. Tests indicate that, in many cases, production data will not be sufficient for accurate estimation of the control points in a B-spline parameterization of relative permeability curves, so this representation should be used with caution. Estimation based on power law models for relative permeability curves is more robust.
Task 5 – Essentially no work has yet been done on multi-scale history-matching because the student who was scheduled to work on this project was engaged in the development of the EM algorithm. The discovery of this promising algorithm was unexpected when the project was initiated. The intent was to work on Task 5 during the final year of the project, but because Federal funding was not provided for the third year of the project, this task has been deleted.
Task 6 – A GUI was developed. The GUI can be used to run the CLASS reservoir simulator and to estimate permeability and porosity fields and parameters describing relative permeability curves by the automatic history-matching of production data and time-lapse acoustic impedance data. Final testing of the code is underway. This code is publicly available on the TUPREP website, http://www.tuprep.utulsa.edu [external site].
Task 7 – Several synthetic cases related to history-matching production and seismic data have been done. A field case on integrating time lapse seismic data has also been completed. This history-matching software has been compared with the ensemble Kalman filter for the PUNQ-S3 problem; both methods gave similar results in terms of the estimates of permeability and porosity fields obtained and the quantification of uncertainty in predicted reservoir performance. The EM algorithm has been applied to field cases to estimate measurement errors in both time-lapse seismic data and production data.