CN-122014217-A - Method, device, equipment, medium and product for determining oil well distance fault distance
Abstract
The invention discloses a method, a device, equipment, a medium and a product for determining the fault distance between oil wells. The method comprises the steps of determining a wellhead yield curve, a bottom hole flow pressure curve and wellhead yield curve segmentation results, establishing a first virtual well according to wellhead yield curve segmentation results, establishing a second virtual well corresponding to the first oil well according to wellhead yield data, determining a second bottom hole flow pressure curve according to first virtual well pressure and second virtual well pressure, iterating a first distance through a genetic algorithm to optimize the second bottom hole flow pressure curve until an error value of the second bottom hole flow pressure curve and the first bottom hole flow pressure curve is smaller than a preset threshold value, and obtaining a target value of the first distance. According to the technical scheme, the problem that the distance between the oil well and the fault can be calculated only through the well closing test at present is solved, the distance between the oil well and the fault can be automatically determined through the pressure data of normal production under the condition that the well is not closed, the accuracy of distance determination is improved, and meanwhile, the production loss of well closing is avoided.
Inventors
- DAI WEIHUA
- YANG LI
- LIU HUI
- LI CHANGYONG
- SUN ZHAOBO
Assignees
- 中海石油国际能源服务(北京)有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260227
Claims (10)
- 1. A method for determining a distance between an oil well and a fault, comprising: Acquiring wellhead yield data and bottom hole flow pressure data of a first oil well in a first period, determining a wellhead yield curve of the wellhead yield data changing along with time and a first bottom hole flow pressure curve corresponding to the bottom hole flow pressure data, wherein the position of the first oil well is in a preset range of a first fault of an oil reservoir; segmenting the wellhead yield curve to obtain a wellhead yield curve segmentation result; Establishing at least one first virtual well corresponding to the first oil well according to the wellhead production curve segmentation result based on Du Hamei theory, and calculating first virtual well pressure of the first virtual well according to the wellhead production curve segmentation result and oil well characteristic data of the first oil well, wherein the positions of the first virtual well and the first oil well are the same; determining a first candidate value of a first distance according to a preset distance value interval, wherein the first distance is the distance between the first oil well and the first fault; establishing a second virtual well corresponding to the first oil well according to the wellhead yield data, and calculating the second virtual well pressure of the second virtual well according to the first candidate value and the oil well characteristic data, wherein the second virtual well is a mirror image virtual well of the first oil well; and determining a second bottom hole flow pressure curve according to the first virtual well pressure and the second virtual well pressure, iterating the first distance through a genetic algorithm to optimize the second bottom hole flow pressure curve until the error value of the second bottom hole flow pressure curve and the first bottom hole flow pressure curve is smaller than a preset threshold value, obtaining a target value of the first distance, and taking the target value as the distance between the first oil well and the first fault.
- 2. The method of claim 1, wherein the segmenting the wellhead yield curve results in wellhead yield curve segmentation results comprising: Determining a segmented time point of the wellhead yield curve according to a genetic algorithm and a preset yield fluctuation threshold value, so that the difference value between the yield of the segmented time point and the yield of the next time point adjacent to the segmented time point in the wellhead yield curve is smaller than the preset yield fluctuation threshold value; And segmenting the wellhead yield curve according to the segmentation time point to obtain a wellhead yield curve segmentation result.
- 3. The method of claim 2, wherein the establishing at least one first virtual well corresponding to the first well based on Du Hamei theory from the wellhead yield curve segmentation results comprises: Determining a first yield corresponding to a first time interval taking the segmentation time point as an interval end point and a second yield corresponding to a second time interval taking the segmentation time point as an interval starting point according to the segmentation result of the wellhead yield curve; And constructing a first virtual well corresponding to the segmentation time point, taking the difference value of the second yield minus the first yield as the yield of the first virtual well, and taking the segmentation time point as the starting time of the first virtual well.
- 4. The method of claim 3, wherein the determining a second bottom hole flow pressure curve from the first virtual well pressure and the second virtual well pressure comprises: Summing the first virtual well pressures according to the starting time and the time intervals to obtain first virtual well pressures and values corresponding to each time interval, wherein the time intervals are intervals between the segmented time points; and summing the first virtual well pressure sum value and the second virtual well pressure of the same time interval to obtain second bottom hole flow pressure of each time interval, and obtaining a second bottom hole flow pressure curve according to the second bottom hole flow pressure.
- 5. The method of claim 4, wherein summing the first virtual well pressures according to the activation time and time intervals results in a first virtual well pressure sum value for each of the time intervals, comprising: judging at least one started first virtual well in each time interval according to the starting time of the first virtual well; and summing the first virtual well pressures of all started first virtual wells in each time interval to obtain a first virtual well pressure sum value corresponding to each time interval.
- 6. The method of claim 1, wherein calculating a first virtual well pressure for the first virtual well based on the wellhead production curve segmentation results and well characterization data for the first well comprises: determining a first production time interval of a first virtual well according to the wellhead production curve segmentation result, wherein the starting point of the first production time interval is the starting time of the first virtual well; Determining at least one first time point in the first production time interval according to a preset step length, calculating first pressure at the first time point according to the first time point, oil well characteristic data of the first oil well and a preset seepage mechanics analysis formula, obtaining a pressure curve of the first virtual well according to the first pressure at all the first time points, and taking the pressure curve of the first virtual well as first virtual well pressure of the first virtual well.
- 7. An oil well fault distance determination apparatus, comprising: the data acquisition module is used for acquiring wellhead yield data and bottom hole flow pressure data of a first oil well in a first period, determining a wellhead yield curve of the wellhead yield data changing along with time and a first bottom hole flow pressure curve corresponding to the bottom hole flow pressure data, wherein the position of the first oil well is in a preset range of a first fault of an oil reservoir; the production segmentation module is used for segmenting the wellhead production curve to obtain wellhead production curve segmentation results; A first virtual well determining module, configured to establish at least one first virtual well corresponding to the first oil well according to the wellhead yield curve segmentation result based on Du Hamei theory, and calculate a first virtual well pressure of the first virtual well according to the wellhead yield curve segmentation result and oil well characteristic data of the first oil well, where the first virtual well is the same as the first oil well in position; the distance candidate value determining module is used for determining a first candidate value of a first distance according to a preset distance value interval, wherein the first distance is the distance between the first oil well and the first fault; the second virtual well determining module is used for establishing a second virtual well corresponding to the first oil well according to the wellhead production data, and calculating the second virtual well pressure of the second virtual well according to the first candidate value and the oil well characteristic data, wherein the second virtual well is a mirror image virtual well of the first oil well; And the distance target value determining module is used for determining a second bottom hole flow pressure curve according to the first virtual well pressure and the second virtual well pressure, iterating the first distance through a genetic algorithm to optimize the second bottom hole flow pressure curve until the error value of the second bottom hole flow pressure curve and the first bottom hole flow pressure curve is smaller than a preset threshold value, obtaining a target value of the first distance, and taking the target value as the distance between the first oil well and the first fault.
- 8. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the well fault distance determination method of any one of claims 1-6.
- 9. A computer readable storage medium storing computer instructions for causing a processor to perform the method of determining the distance to fault of an oil well according to any one of claims 1 to 6.
- 10. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of determining the distance to fault of an oil well according to any one of claims 1-6.
Description
Method, device, equipment, medium and product for determining oil well distance fault distance Technical Field The embodiment of the invention relates to the technical field of oil and gas reservoir exploitation, in particular to a method, a device, equipment, a medium and a product for determining the distance between oil wells and faults. Background Currently, according to the related theory of seepage mechanics and oil reservoir engineering, well distance fault distance calculation is usually obtained based on conventional or modern well test interpretation analysis. And the well test interpretation needs to shut in and shut out the production of the target oil well so as to test the continuous recovery data of the bottom hole flowing pressure, and the oil well fault distance is calculated on the basis of the continuous recovery data. That is, conventional methods require well shut-in testing to calculate the well distance to fault, which directly results in reduced rates and lost production from the well. Disclosure of Invention The embodiment of the invention provides a method, a device, equipment, a medium and a product for determining the distance between an oil well and a fault, which are used for solving the problem that the distance between the oil well and the fault can be calculated only through a well closing test at present, automatically determining the distance between the oil well and the fault through pressure data of normal production under the condition of not closing the well, improving the accuracy of distance determination and avoiding the production loss of well closing. In a first aspect, an embodiment of the present invention provides a method for determining a distance between an oil well and a fault, where the method includes: Acquiring wellhead yield data and bottom hole flow pressure data of a first oil well in a first period, determining a wellhead yield curve of wellhead yield data changing along with time and a first bottom hole flow pressure curve corresponding to the bottom hole flow pressure data, wherein the position of the first oil well is within a preset range of a first fault of an oil reservoir; Segmenting a wellhead yield curve to obtain a wellhead yield curve segmentation result; Establishing at least one first virtual well corresponding to the first oil well according to wellhead production curve segmentation results based on Du Hamei theory, and calculating first virtual well pressure of the first virtual well according to wellhead production curve segmentation results and oil well characteristic data of the first oil well, wherein the positions of the first virtual well and the first oil well are the same; Determining a first candidate value of a first distance according to a preset distance value interval, wherein the first distance is the distance between a first oil well and a first fault; Establishing a second virtual well corresponding to the first oil well according to wellhead production data, and calculating second virtual well pressure of the second virtual well according to the first candidate value and the oil well characteristic data, wherein the second virtual well is a mirror image virtual well of the first oil well; And determining a second bottom hole flow pressure curve according to the first virtual well pressure and the second virtual well pressure, iterating the first distance through a genetic algorithm to optimize the second bottom hole flow pressure curve until the error value of the second bottom hole flow pressure curve and the first bottom hole flow pressure curve is smaller than a preset threshold value, obtaining a target value of the first distance, and taking the target value as the distance between the first oil well and the first fault. In a second aspect, the embodiment of the invention also provides a device for determining the distance between oil wells and faults, which comprises a data acquisition module, a fault detection module and a fault detection module, wherein the data acquisition module is used for acquiring wellhead yield data and bottom hole flow pressure data of a first oil well in a first period, determining a wellhead yield curve of the wellhead yield data changing along with time and a first bottom hole flow pressure curve corresponding to the bottom hole flow pressure data, and the position of the first oil well is in a preset range of a first fault of an oil reservoir; the production segmentation module is used for segmenting a wellhead production curve to obtain wellhead production curve segmentation results; The first virtual well determining module is used for establishing at least one first virtual well corresponding to the first oil well according to wellhead production curve segmentation results based on Du Hamei theory, and calculating first virtual well pressure of the first virtual well according to wellhead production curve segmentation results and oil well characteristic data of the first oil well,