Optimization Methods for Time–Rate–Pressure Production Data Analysis using Automatic Outlier Filtering and Bayesian Derivative Calculations
- David Fulford (Texas A&M University) | Thomas Blasingame (Texas A&M University)
- Document ID
- Society of Petroleum Engineers
- SPE Annual Technical Conference and Exhibition, 26-29 October, Virtual
- Publication Date
- Document Type
- Conference Paper
- 2020. Society of Petroleum Engineers
- 1.6.6 Directional Drilling, 1.6 Drilling Operations, 2 Well completion, 5 Reservoir Desciption & Dynamics, 5.6.11 Reservoir monitoring with permanent sensors, 2.3.2 Downhole Sensors & Control Equipment, 2.3 Completion Monitoring Systems/Intelligent Wells, 5.6 Formation Evaluation & Management
- pressure transient analysis, production data analysis, machine learning, rate transient analysis, data filtering
- 98 in the last 30 days
- 112 since 2007
- Show more detail
- View rights & permissions
|SPE Member Price:||USD 5.00|
|SPE Non-Member Price:||USD 28.00|
Production data analysis methods are reliant upon the quality of data — particularly the diagnostic aspects of these analyses. In particular, data artifacts that obscure the view of the reservoir signal limit the reliability of interpretation and subsequent analysis by even the most experienced evaluator. It is fact to state that the current algorithms used in the industry often amplify noise and are inherently unstable in the presence of outliers.
This work proposes to significantly improve data processing using modern algorithms for data filtering and statistical (Bayesian) methods for estimated derivative functions in the presences of random and biased noise. Put simply, this work will improve the ability to interpret time-rate-pressure data and increase confidence in the diagnosis of well performance behavior.
The cost of computational power available in common desktop computers, measured in dollars per floating point operation, has decreased more in the last ten years than in any preceding ten-year period. The level of computation available has inspired an immense amount of interest in the development of free open source software projects to make use of the newly available resources and enable access to legacy code for numerical processing with the features of modern programming languages. Having access to low-level libraries abstracted to high-level languages provides the capability to apply complex statistics with (relatively) simple computer modules. In turn, this capability gives rise to a new concept; specifically, the ability to create modules/programs that reason about our intentions, as opposed to our implementations.
In this work, we illustrate two applications:
First, outlier filtering that makes no assumptions about the distribution or density of the data, i.e. what is or is not an outlier; only that a regression of a known model to the data must be statistically robust (not influenced by outliers). We evaluate the method by application using publicly available data to every horizontal well in the Midland and Delaware basins put on production since January 2013.
Second, the evaluation of data derivatives by Bayesian inference. The use of Bayesian methods provides two advantages: 1) a distribution of non-unique results enables us to visualize uncertainty due to data quality, and 2) automatic hyperparameter optimization, which in this case is REGULARIZATION for smoothness of the derivative. We evaluate this methodology by com-parison to the existing methods for cases in the petroleum literature, and for field cases using permanent-downhole gauge data.
We observe that the data filtering method works well and applies generally to any data set for which we have an a priori model assumption (e.g., a function, y(x)). In a practical sense, we can incorporate the regression of the assumed model into the filtering algorithm or use a simpler model for filtering and pass the output along for further processing. We observe that the derivative computation method yields smoother, less noisy derivatives than existing sampling and smoothing methods.
We propose new methodologies for data smoothing and derivative analysis and illustrate the application of these methods to the petroleum literature. These new tools are relevant for any engineer performing production (and pressure) data analysis — whether empirical production decline analyses or physics-based rate-transient/pressure-transient analyses.
|File Size||2 MB||Number of Pages||64|
Agarwal, R.G.,Gardner, D.C.,Kleinsteiber, S.W., and Fussell, D.D. 1999. Analyzing Well Production Data Using Combined-Type-Curve and Decline-Curve Analysis Concepts. SPE Res Eval & Eng 2 (5): 478-486. SPE-57916-PA. https://doi.org/10.2118/57916-PA.
Arps, J.J. 1945. Analysis of Decline Curves. Trans AIME 160 (1): 228-247. SPE-945228-G. https://doi.org/10.2118/945228-G.
Allain, O., and Horne, R.N. 1990. Use of Artificial Intelligence in Well-Test Interpretation. JPT 42 (3): 342-349. SPE-18160-PA. https://doi.org/10.2118/18160-PA.
Bergstra, J.,Breuleux, O.,Bastien, F.,Lamblin, P.,Pascanu, R.,Desjardins, G.,Turian, J., Warde-Farley, D., and Bengio, Y. 2010. Theano: A CPU and GPU Math Compiler in Python. Proceedings of the 9th Python in Science Conference (SciPy 2010) in Austin, Texas, USA, 30 June - 3 July. https://arxiv.org/abs/1605.02688.
Bourdet, D.,Ayoub, J. A., and Pirard, Y. M. 1989. Use of Pressure Derivative in Well-Test Interpretation. SPE Form Eval 4 (2): 293-302. SPE-12777-PA. https://doi.org/10.2118/12777-PA.
Fair, W.B. Jr. 1981. Pressure Buildup Analysis with Wellbore Phase Redistribution. SPE J 21 (2): 259-270. SPE-8206-PA. https://doi.org/10.2118/8206-PA.
Fetkovich, M.J.,Vienot, M.E.,Bradley, M.D.,Kiesow, U.G. 1987. Decline-Curve Analysis Using Type Curves—Case Histories. SPE Form Eval 2 (4): 637-656. SPE-13169-PA. https://doi.org/10.2118/13169-PA.
Fulford, D.S. 2013. Evaluation of Time-Rate Performance of Shale Wells Using the Transient Hyperbolic Relation. Presented at SPE Unconventional Resources Conference Canada in Calgary, Alberta, Canada, 5-7 November. SPE-167242-MS. https://doi.org/10.2118/167242-MS.
Fulford, D.S. 2018. A Model-Based Diagnostic Workflow for Time-Rate Performance of Unconventional Wells. Presented at SPE/AAPG/SEG Unconventional Resources Conference in Houston, Texas, USA, 23-25 July. URTeC-2903036-MS. https://doi.org/10.15530/URTEC-2018-2903036.
gwr-inversion (software), 2020. Gaver-Wynn-Rho Algorithm, Petroleum Engineering Toolbox. https://github.com/ptebox-dev/gwr
Huber, P. J. 1964. Robust Estimation of a Location Parameter. The Annals of Mathematical Statistics 35 (1): 73-101. https://doi.org/10.1214/aoms/1177703732.
Ilk, D.,Valkó, P. P., and Blasingame, T. A. 2005. Deconvolution of Variable-Rate Reservoir Performance Data Using B-Splines. Presented at SPE Annual Technical Conference and Exhibition in Dallas, Texas, USA, 9-12 October. SPE-95571-MS. https://doi.org/10.2118/95571-MS.
Ilk, D.,Valkó, P. P., and Blasingame, T. A. 2006. Deconvolution of Variable-Rate Reservoir Performance Data Using B-Splines. SPE Res Eval & Eng 9 (5): 582-595. SPE-95571-PA. https://doi.org/10.2118/95571-PA.
Meunier, D.,Wittmann, M.J., and Stewart, G. 1985. Interpretation of Pressure Buildup Test Using In-Situ Measurement of Afterflow. JPT 37 (1): 143-152. https://doi.org/10.2118/11463-PA.
Niko, H. 1983. Well Test Interpretation in Heterogeneous Reservoirs with Skin and Afterflow: Some New Theoretical Solutions and General Field Experience. Presented at SPE Annual Technical Conference and Exhibition in San Francisco, California, USA, 5-8 October. SPE-11964-MS. https://doi.org/10.2118/11964-MS.
Ozkan, E., and Raghavan, R. 1991. New Solutions for Well-Test-Analysis Problems: Part 1 - Analytical Considerations. SPE Formation Eval 6 (3): 359-368. SPE-18615-PA. https://doi.org/10.2118/18615-PA.
Ozkan, E., and Raghavan, R. 1991. New Solutions for Well-Test-Analysis Problems: Part 2 - Computational Considerations and Applications. SPE Formation Eval 6 (3): 369-378. SPE-18616-PA. https://doi.org/10.2118/18616-PA.
Palacio, J.C., and Blasingame, T.A. 1993. Decline-Curve Analysis With Type Curves - Analysis of Gas Well Production Data. Presented at SPE Low Permeability Reservoirs Symposium in Denver, Colorado, USA, 26-18 April. SPE-25909-MS. https://doi.org/10.2118/25909-MS.
petbox-dca (software), 2020. Decline Curves, Petroleum Engineering Toolbox. https://github.com/petbox-dev/dca.
Pratikno, H.,Rushing, J. A., and Blasingame, T. A. 2003. Decline Curve Analysis Using Type Curves - Fractured Wells. Presented at SPE Annual Technical Conference and Exhibition in Denver, Colorado, USA, 5-8 October. SPE-84287-MS. https://doi.org/10.2118/84287-MS.
Rasmussen, C. E., and Williams, C. K. I. 2006. Gaussian Processes for Machine Learning. Cambridge: The MIT Press. https://doi.org/10.1007/978-3-540-28650-9_4.
Salvatier, J.,Wiecki, T.V., and Fonnesbeck, C. 2016. Probabilistic Programming in Python using PyMC3. PeerJ Computer Science 2 (55). https://doi.org/10.7717/peerj-cs.55.
Valkó, P., and Abate, J. 2002. Numerical Laplace Inversion. Wolfram Library Archive. http:// http://library.wolfram.com/infocenter/MathSource/4738.
Valkó, P. P., and Abate, J. 2004. Comparison of Sequence Accelerators for the Gaver Method of Numerical Laplace Transform Inversion. Computers and Mathematics with Application 48 (3): 629-636. https://doi.org/10.1016/j.camwa.2002.10.017.
van Everdingen, A. F., and Hurst, W. 1949. The Application of the Laplace Transformation to Flow Problems in Reservoirs. Pet. Trans. AIME 1 (12): 305-324. https://doi.org /10.2118/949305-G.
von Schroeter, T.,Hallaender, F., and Gringarten, A. C. 2002. Analysis of Well Test Data from Permanent Downhole Gauges by Deconvolution. Presented at SPE Annual Technical Conference and Exhibition in San Antonio, Texas, USA, 29 September - 2 October. SPE-77688-MS. https://doi.org/10.2118/77688-MS.
von Schroeter, T.,Hallaender, F., and Gringarten, A. C. 2004. Deconvolution of Well Test Data as a Nonlinear Total Least-Squares Problem. SPEJ 9 (4): 375-390. SPE-77688-PA. https://doi.org/10.2118/77688-PA.
Warren, J.E., and Root, P.J. 1963. The Behavior of Naturally Fractured Reservoir. SPE J 3 (3): 245-255. SPE-426-PA. https://doi.org/10.2118/426-PA.