Method and device for determining water saturation, electronic device and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA PETROLEUM & CHEMICAL CORP
- Filing Date
- 2022-04-29
- Publication Date
- 2026-06-19
Smart Images

Figure CN117009707B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of shale gas reservoir development, and in particular to a method, apparatus, electronic device and storage medium for determining water saturation. Background Technology
[0002] Shale gas wells obtain industrial oil and gas flow through fracturing horizontal well technology. During flowback and the initial production phase, fracturing fluid and gas are produced together, resulting in a gas-water co-flow state. Water saturation is fundamental to the study of two-phase flow and is an indispensable data point for numerical simulation and dynamic analysis of shale gas fields. Currently, water saturation is mainly obtained through numerical simulation technology, but this method is time-consuming and labor-intensive, while research on calculating water saturation using production data is relatively limited. How to quickly and accurately calculate water saturation using field production data is of great significance for conducting numerical simulation and dynamic analysis, further adjusting development plans, and improving the efficiency of shale gas reservoir extraction.
[0003] Currently, the core issue in determining water saturation in shale gas reservoirs lies in calculating the impact of fracturing fluid on reservoir water saturation during fracturing. The calculation of water saturation distribution mainly combines percolation theory and numerical simulation methods. Methods for calculating percolation include the Handy model, the Shembreet method, and the K. Makhanov method. The Handy model is widely used and applicable to gas-liquid two-phase flow; the percolation rate is proportional to the square root of the percolation time, but it does not consider the lateral flow characteristics between capillaries. The Shembreet method, based on the Handy model, considers factors such as capillary pressure and derives a proportional relationship between percolation rate and the square root of time. Numerical simulation methods require combining percolation experimental test results and the continuity equation of gas-liquid two-phase flow to establish a numerical model of fracturing fluid percolation into the shale reservoir during fracturing. While capable of reflecting the redistribution of water saturation around the well after fracturing, this process is complex, time-consuming, and labor-intensive, making it difficult to improve shale gas extraction efficiency. Summary of the Invention
[0004] To address the aforementioned issues, this application provides a method, apparatus, electronic device, and storage medium for determining water saturation.
[0005] This application provides a method for determining water saturation, comprising:
[0006] Obtain the target production time of the target well;
[0007] The target production time is input into a pre-established formula for calculating water saturation to obtain the water saturation value corresponding to the target production time. The formula for calculating water saturation includes the relationship between production time and water saturation.
[0008] In some embodiments, the method further includes:
[0009] Obtain the production time of the target well, the daily gas production, daily water production, relative permeability of the gas phase, relative permeability of the water phase, and water saturation corresponding to the production time;
[0010] Based on the production time, the daily gas production, and the daily water production, a first relationship curve between the water-gas ratio and the production time is fitted.
[0011] The primary relationship between the relative permeability ratio and time is determined based on production time, gas phase relative permeability data, and water phase relative permeability data.
[0012] The conversion relationship between the water-air ratio and the relative permeability ratio is determined based on the first relationship and the first relationship curve.
[0013] Based on the aforementioned gas phase relative permeability data, water phase relative permeability data, and water saturation, a second relationship between the relative permeability ratio and water saturation is fitted.
[0014] The relationship between water saturation and production time is determined based at least on the transformation relationship and the second relationship, resulting in a formula for calculating water saturation.
[0015] In some embodiments, fitting a first relationship curve between the water-gas ratio and the production time based on the production time, the daily gas production, and the daily water production includes:
[0016] The water-to-gas ratio is determined based on the daily gas production and daily water production.
[0017] Select a target water-gas ratio from the water-gas ratios that is greater than the preset water-gas ratio and has a continuous production time to obtain the first relationship curve.
[0018] In some embodiments, the first relationship curve is: WGR = alan(t) + b, where a and b are dimensionless quantities.
[0019] In some embodiments, the second relationship is: Where, k rw k is the relative permeability of the aqueous phase. rg Where S is the relative permeability of the gas phase, c and d are dimensionless quantities, and S is the relative permeability of the gas phase. w This represents the water saturation level.
[0020] In some embodiments, the formula for calculating the water saturation is:
[0021] in, ρ w ρ is the density of water. g For gas density; μ w The viscosity of water is μ.g B represents gas viscosity. w B is the volume coefficient of water; g is the volume coefficient of gas.
[0022] This application provides an apparatus for determining water saturation, comprising:
[0023] The second acquisition module is used to acquire the production time of the target well, the daily gas production, daily water production, relative permeability data of the gas phase, relative permeability data of the water phase, and water saturation corresponding to the production time;
[0024] The first determining module is used to fit a first relationship curve between the water-gas ratio and the production time based on the production time, the daily gas production, and the daily water production.
[0025] The second determining module is used to determine the first relationship between the relative permeability ratio and time based on production time, gas phase relative permeability data, and water phase relative permeability data;
[0026] The third determining module is used to determine the conversion relationship between the water-air ratio and the relative permeability ratio based on the first relationship and the first relationship curve.
[0027] The fourth determining module is used to fit a second relationship between the relative permeability ratio and the water saturation based on the gas phase relative permeability data, water phase relative permeability data and water saturation.
[0028] The fifth determining module is used to determine the relationship between water saturation and production time based at least on the transformation relationship and the second relationship, and to obtain the water saturation calculation formula.
[0029] This application provides an electronic device, including a memory and a processor. The memory stores a computer program, which, when executed by the processor, performs any of the above-described methods for determining water saturation.
[0030] This application provides a storage medium storing a computer program that can be executed by one or more processors and can be used to implement the method for determining water saturation described above.
[0031] This application provides a method, apparatus, electronic device, and storage medium for determining water saturation. By pre-establishing a water saturation calculation formula, the target production time of the target well can be obtained and input into the water saturation calculation formula to quickly calculate the water saturation value, thereby improving calculation efficiency. Attached Figure Description
[0032] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings.
[0033] Figure 1 A schematic diagram illustrating the implementation process of a method for determining water saturation provided in this application embodiment;
[0034] Figure 2 A schematic diagram illustrating the implementation flow of another method for determining water saturation provided in this application embodiment;
[0035] Figure 3 A schematic diagram illustrating the change of production data over time, provided as an embodiment of this application;
[0036] Figure 4 A schematic diagram illustrating the relationship between relative permeability ratio and water saturation provided in this application embodiment;
[0037] Figure 5 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application.
[0038] In the accompanying drawings, the same parts are referred to by the same reference numerals, and the drawings are not drawn to scale. Detailed Implementation
[0039] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0040] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0041] If the application documents contain similar descriptions such as "first, second, third", the following explanation shall be added: In the following description, the terms "first, second, third" are used only to distinguish similar objects and do not represent a specific order of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0043] To address the problems existing in related technologies, this application provides a method for determining water saturation. This method is applied to electronic devices, such as computers and mobile terminals. The function implemented by the water saturation determination method provided in this application can be achieved by the processor of the electronic device calling program code, wherein the program code can be stored in a computer storage medium.
[0044] Example 1
[0045] This application provides a method for determining water saturation. Figure 1 A schematic diagram illustrating the implementation flow of a method for determining water saturation provided in this application embodiment is shown below. Figure 1 As shown, it includes:
[0046] Step S101: Obtain the target production time of the target well.
[0047] In this embodiment, the target production time of a target well can be obtained through input from an input device. The target production time is typically measured in days, and the target well can be any well selected by the user. For example, the target production time can be 10 days, 50 days, 100 days, etc.
[0048] Step S102: Input the target production time into the pre-established water saturation calculation formula to obtain the water saturation value corresponding to the target production time, wherein the water saturation calculation formula includes the relationship between production time and water saturation.
[0049] This application provides a method for determining water saturation. By pre-establishing a water saturation calculation formula, the target production time of the target well can be obtained and input into the water saturation calculation formula to quickly calculate the water saturation value, thereby improving calculation efficiency.
[0050] Example 2
[0051] Based on the foregoing embodiments, this application further provides a method for determining water saturation, including:
[0052] Step S1: Obtain the production time of the target well, the daily gas production, daily water production, relative permeability data of the gas phase, relative permeability data of the water phase, and water saturation corresponding to the production time.
[0053] Step S2: Fit a first relationship curve between the water-gas ratio and the production time based on the production time, the daily gas production, and the daily water production.
[0054] The water-to-gas ratio can be determined based on the daily gas production and daily water production; a target water-to-gas ratio that is greater than the preset water-to-gas ratio and has continuous production time is selected from the water-to-gas ratios to obtain the first relationship curve.
[0055] In this embodiment, the water-air ratio can be calculated according to the definition of the water-air ratio, see the calculation formula. Then, a logarithmic fit is performed on the relationship between the water-to-gas ratio and production time to obtain the first relationship curve. The first relationship curve is: WGR = alan(t) + b, where a and b are dimensionless quantities, and WGR is the water-to-gas ratio. WGR is the water-to-gas ratio, with units of cubic meters per 10,000 cubic meters (m³). 3 / 10 4 m 3 ); cubic meters (m 3 ); t represents production time in days. In this embodiment, the preset water-to-air ratio can be 0.5m. 3 / 10 4 m 3 .
[0056] Step S3: Determine the first relationship between the relative permeability ratio and time based on production time, gas phase relative permeability data, and water phase relative permeability data.
[0057] In this embodiment of the application, the relative permeability ratio can be determined based on gas phase relative permeability data and water phase relative permeability data. The relative permeability ratio is... k rw k is the relative permeability of the aqueous phase. rg This represents the relative permeability of the gas phase.
[0058] Step S4, based on the conversion relationship between the water-air ratio and the relative permeability ratio determined based on the first relationship and the first relationship curve.
[0059] The conversion relationship between the relative water-air ratio and the relative permeability ratio can be determined based on time. For the same time, there are corresponding water-air ratio and relative permeability ratio values, so the conversion relationship between the water-air ratio and the relative permeability ratio can be determined based on the water-air ratio and the relative permeability ratio.
[0060] Step S5: Based on the gas phase relative permeability data, water phase relative permeability data, and water saturation, fit a second relationship between the relative permeability ratio and water saturation.
[0061] In this embodiment of the application, the relative permeability ratio can be obtained by exponential fitting. With water saturation S w The relationship curve, the second relationship is: Where, k rw k is the relative permeability of the aqueous phase. rgWhere S is the relative permeability of the gas phase, c and d are dimensionless quantities, and S is the relative permeability of the gas phase. w Let c be the water saturation level. The values of c and d can be obtained through fitting.
[0062] Step S6: Determine the relationship between water saturation and production time based at least on the conversion relationship and the second relationship, and obtain the formula for calculating water saturation.
[0063] In the embodiments of this application, in, ρ w ρ is the density of water. g For gas density; μ w The viscosity of water is μ. g B represents gas viscosity. w B is the volume coefficient of water; g is the volume coefficient of gas.
[0064] Step S7: Obtain the target production time of the target well.
[0065] In this embodiment, the target production time of a target well can be obtained through input from an input device. The target production time is typically measured in days, and the target well can be any well selected by the user. For example, the target production time can be 10 days, 50 days, 100 days, etc.
[0066] Step S8: Input the target production time into the pre-established water saturation calculation formula to obtain the water saturation value corresponding to the target production time, wherein the water saturation calculation formula includes the relationship between production time and water saturation.
[0067] This application provides a method for determining water saturation. By pre-establishing a water saturation calculation formula, the target production time of the target well can be obtained and input into the water saturation calculation formula to quickly calculate the water saturation value, thereby improving calculation efficiency.
[0068] Example 3
[0069] Based on the foregoing embodiments, this application further provides a method for determining water saturation. Utilizing the gas-water two-phase flow law, the relationship between the water-gas ratio and water saturation is derived. All relationships are linear and exponential formulas, the calculation process is simple, and rapid conversion between production data and water saturation is achieved. Figure 2 A schematic diagram illustrating the implementation flow of another method for determining water saturation provided in this application embodiment is shown below. Figure 2 As shown, the method includes:
[0070] Step S201, Production data collection.
[0071] Collect on-site production data from the target well, including production time, daily gas production, and daily water production.
[0072] Step S202: Determine if the air-to-water ratio is greater than 0.5m. 3 / 10 4 m 3 .
[0073] In this embodiment of the application, if yes, then step S203 is executed; otherwise, step S204 is executed.
[0074] Step S203: Filter production data to obtain gas production and water production.
[0075] Select a water-to-air ratio (WGR) greater than 0.5m. 3 / 10 4 m 3 Furthermore, points where production data are continuous are considered valid production time points.
[0076] Step S205 is executed after step S203.
[0077] Step S204: Data removal.
[0078] Step S205: Determine the water-to-air ratio vs. time (i.e., the first relationship curve).
[0079] The water-gas ratio WGR is calculated based on the definition of the water-gas ratio. The relationship curve between the water-gas ratio WGR and the production time t is logarithmically fitted to obtain the values of a and b in formula (1):
[0080]
[0081] Where: WGR—water-gas ratio, per 10,000 cubic meters (m³) 3 / 10 4 m 3 );Q w —Surface water production, cubic meters (m³) 3 );Q g —Surface gas production, 10,000 cubic meters (10 4 m 3 ); t—production time, days (d).
[0082] Calculate parameter D using formula (2):
[0083]
[0084] In the formula: ρ w —Water density, kilograms per cubic meter (kg / m³) 3 );ρ g —Gas density, kilograms per cubic meter (kg / m³) 3 );μ w—Water viscosity, millipascal-seconds (mPa·s); μ g —Gas viscosity, millipascal-seconds (mPa·s); B w —Volume coefficient of water, dimensionless; B g —The volume coefficient of gas, dimensionless;
[0085] Step S206: Determine the relative permeability ratio VS time (i.e., the first relationship).
[0086] The conversion relationship between the first relationship curve and the first relationship water-air ratio and the relative permeability ratio is obtained through the first relationship curve.
[0087] Step S207: Obtain experimental data.
[0088] The experimental data include: relative permeability curve data and water saturation.
[0089] Based on the experimental results of the relative permeability curve, the exponentially fitted relative permeability ratio was determined. With water saturation S w From the relationship curve, we can obtain the values of c and d in formula (3):
[0090]
[0091] In the formula: k rw —Relative permeability of the aqueous phase, dimensionless; k rg —Relative permeability of the gas phase, dimensionless; S w —Water saturation, percentage (%).
[0092] Step S208: Determine the relationship between the relative permeability ratio and the water saturation (i.e., the water saturation calculation formula in the above embodiment).
[0093] In this embodiment of the application, by combining Company (1), (2) and (3), the water saturation expression of Formula (4) can be obtained, that is,
[0094] Substituting the values of parameters D, a, b, c, and d into formula (4), we obtain the formula for calculating water saturation:
[0095]
[0096] Select the target time and substitute it into formula (4) to calculate the water saturation value for that day.
[0097] The method for determining water saturation provided in this application, based on field production data and simple formula derivation, can quickly calculate water saturation, significantly reducing calculation time and improving the efficiency of numerical simulation and dynamic analysis of shale gas fields.
[0098] Example 4
[0099] Based on the foregoing embodiments, the embodiments of this application will be explained and illustrated with specific examples:
[0100] Well X1, a shale gas well in a certain province, was selected as the target well. Well X1 is located in a reservoir with a pressure of 78 MPa and a temperature of 135℃. Under these temperature and pressure conditions, the gas volume coefficient B... g =0.00033, water volume factor B w =0.9, gas viscosity μ g =0.023 mPa·s, water viscosity μ g =1.216 MPa·s, gas density ρ under ground conditions g =0.65kg / m 3 water density ρ g =1000kg / m 3 .
[0101] Collect data on production time, daily gas production, and daily water production. Figure 3 This application provides a schematic diagram illustrating the change of production data over time, as shown in the embodiments. Figure 3 As shown.
[0102] The relationship between the water-to-air ratio (WGR) and time is shown in formula (5). Logarithmic fitting yields a = -1.9994 and b = 12.63.
[0103] WGR=-1.994ln(t)+12.63 (5);
[0104] Select a water-to-air ratio (WGR) greater than 0.5m. 3 / 10 4 m 3 Furthermore, points with continuous production data are considered valid production time points, specifically the period from November 25, 2017 to July 17, 2019, which is the target production time period.
[0105] The parameter D = 0.0096 is calculated using formula (2).
[0106] Based on the experimental results of the relative permeability curve, the exponentially fitted relative permeability ratio was determined. With water saturation S w From the relationship curve, we can obtain c = 4 × 10 in formula (3). -16 d = 0.3914 Figure 4 A schematic diagram illustrating the relationship between relative permeability ratio and water saturation is provided for an embodiment of this application, as shown below. Figure 4 As shown.
[0107]
[0108] Substituting the values of parameters D, a, b, c, and d into formula (4), we obtain the formula for calculating water saturation:
[0109]
[0110] Choosing t=100 days as the calculation target, a rapid prediction is obtained. The water saturation level Sw = 87%. Therefore, after 100 days of production, the water saturation level of this well will be 87%.
[0111] The water-gas ratio WGR of well X1 was calculated to be 0.5m. 3 / 10 4 m 3 When the critical time t = 402 days, the water saturation Sw = 76%, close to the bound water saturation, and the gas flow is approximately considered to be single-phase. Actual oilfield production experience shows that the water-to-gas ratio WGR ≤ 0.5m 3 / 10 4 m 3 When the flow is approximately a single-phase gas flow, the calculation results match the actual production, proving the reliability of the invention.
[0112] This application provides a method for determining water saturation, addressing the problem of long prediction times for water saturation in high-flowback shale gas wells. It proposes a method for rapidly calculating water saturation based on field production data and seepage equations. The method mainly includes data collection, data screening, and establishing the relationship between the water-gas ratio and water saturation using the relative permeability ratio as an intermediary. Specifically, it involves collecting field production data and calculating the water-gas ratio. Data with a water-gas ratio greater than 0.5m is selected. 3 / 10 4 m 3 Furthermore, points with continuous production data are considered effective production time points. Based on the gas-water two-phase flow law and the definition of the water-gas ratio, the relationship between the relative permeability ratio and the water-gas ratio is derived. Combining experimental test results, the relationship between the relative permeability ratio and water saturation is quantified, and the relationship between the gas-water ratio and water saturation is further derived. Field application results show that the method proposed in this patent can quickly calculate water saturation, effectively solving the problem of time-consuming and labor-intensive numerical simulation methods, and further improving the efficiency of shale gas reservoir exploitation.
[0113] Example 5
[0114] Based on the foregoing embodiments, this application provides a device for determining water saturation. The various modules and units included in the device can be implemented by a processor in a computer device; of course, they can also be implemented by specific logic circuits. In the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0115] This application provides a device for determining water saturation. The device for determining water saturation includes:
[0116] The first acquisition module is used to acquire the target production time of the target well.
[0117] The calculation module is used to input the target production time into a pre-established water saturation calculation formula to obtain the water saturation value corresponding to the target production time, wherein the water saturation calculation formula includes the relationship between production time and water saturation.
[0118] In this embodiment, the target production time of a target well can be obtained through input from an input device. The target production time is typically measured in days, and the target well can be any well selected by the user. For example, the target production time can be 10 days, 50 days, 100 days, etc.
[0119] In some embodiments, the apparatus for determining water saturation further includes:
[0120] The second acquisition module is used to acquire the production time of the target well, the daily gas production, daily water production, relative permeability data of the gas phase, relative permeability data of the water phase, and water saturation corresponding to the production time;
[0121] The first determining module is used to fit a first relationship curve between the water-gas ratio and the production time based on the production time, the daily gas production, and the daily water production.
[0122] The second determining module is used to determine the first relationship between the relative permeability ratio and time based on production time, gas phase relative permeability data, and water phase relative permeability data;
[0123] The third determining module is used to determine the conversion relationship between the water-air ratio and the relative permeability ratio based on the first relationship and the first relationship curve.
[0124] The fourth determining module is used to fit a second relationship between the relative permeability ratio and the water saturation based on the gas phase relative permeability data, water phase relative permeability data and water saturation.
[0125] The fifth determining module is used to determine the relationship between water saturation and production time based at least on the transformation relationship and the second relationship, and to obtain the water saturation calculation formula.
[0126] The water-to-gas ratio can be determined based on the daily gas production and daily water production; a target water-to-gas ratio that is greater than the preset water-to-gas ratio and has continuous production time is selected from the water-to-gas ratios to obtain the first relationship curve.
[0127] In this embodiment, the water-air ratio can be calculated according to the definition of the water-air ratio, see the calculation formula. Then, a logarithmic fit is performed on the relationship between the water-to-gas ratio and production time to obtain the first relationship curve. The first relationship curve is: WGR = alan(t) + b, where a and b are dimensionless quantities, and WGR is the water-to-gas ratio. Specifically, WGR represents the water-to-gas ratio, measured in cubic meters per 10,000 cubic meters (m³). 3 / 10 4 m 3 ); cubic meters (m 3 ); t represents production time in days. In this embodiment, the preset water-to-air ratio can be 0.5m. 3 / 10 4 m 3 .
[0128] In this embodiment of the application, the relative permeability ratio can be determined based on gas phase relative permeability data and water phase relative permeability data. The relative permeability ratio is... k rw k is the relative permeability of the aqueous phase. rg This represents the relative permeability of the gas phase.
[0129] In this embodiment of the application, the relative permeability ratio can be obtained by exponential fitting. With water saturation S w The relationship curve, the second relationship is: Where, k rw k is the relative permeability of the aqueous phase. rg Where S is the relative permeability of the gas phase, c and d are dimensionless quantities, and S is the relative permeability of the gas phase. w Let c be the water saturation level. The values of c and d can be obtained through fitting.
[0130] In the embodiments of this application, in, ρ w ρ is the density of water. g For gas density; μ w The viscosity of water is μ.g B represents gas viscosity. w B is the volume coefficient of water; g is the volume coefficient of gas.
[0131] It should be noted that, in the embodiments of this application, if the above-mentioned method for determining water saturation is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0132] Accordingly, this application provides a storage medium storing a computer program thereon, characterized in that the computer program, when executed by a processor, implements the steps in the method for determining water saturation provided in the above embodiments.
[0133] Example 6
[0134] This application provides an electronic device; Figure 5 This is a schematic diagram of the composition structure of the electronic device provided in the embodiments of this application, such as... Figure 5 As shown, the electronic device 700 includes: a processor 701, at least one communication bus 702, a user interface 703, at least one external communication interface 704, and a memory 705. The communication bus 702 is configured to enable communication between these components. The user interface 703 may include a display screen, and the external communication interface 704 may include standard wired and wireless interfaces. The processor 701 is configured to execute a program stored in the memory for determining water saturation, to implement the steps in the method for determining water saturation provided in the above embodiment.
[0135] The descriptions of the display device and storage medium embodiments above are similar to those of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the computer device and storage medium embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0136] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0137] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely descriptive and do not represent the superiority or inferiority of the embodiments.
[0138] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0139] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.
[0140] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.
[0141] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.
[0142] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0143] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a controller to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0144] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of determining water saturation, characterized by, The method includes: Obtain the target production time of the target well; The target production time is input into a pre-established formula for calculating water saturation to obtain the water saturation value corresponding to the target production time. The formula for calculating water saturation includes the relationship between production time and water saturation. The method further includes: Obtain the production time of the target well, the daily gas production, daily water production, relative permeability of the gas phase, relative permeability of the water phase, and water saturation corresponding to the production time; Based on the production time, the daily gas production, and the daily water production, a first relationship curve between the water-gas ratio and the production time is fitted. The primary relationship between the relative permeability ratio and time is determined based on production time, gas phase relative permeability data, and water phase relative permeability data. Based on the first relationship and the first relationship curve, the conversion relationship between the water-air ratio and the relative permeability ratio is determined; the first relationship curve is: Where a and b are dimensionless quantities, and t is the production time. The water-to-air ratio; Based on the aforementioned gas phase relative permeability data, water phase relative permeability data, and water saturation, a second relationship is fitted between the relative permeability ratio and water saturation; the second relationship is: ; where k rw k is the relative permeability of the aqueous phase. rg Where S is the relative permeability of the gas phase, c and d are dimensionless quantities, and S is the relative permeability of the gas phase. w Water saturation; This represents the relative penetration ratio. The relationship between water saturation and production time is determined based at least on the conversion relationship and the second relationship, resulting in a formula for calculating water saturation. The formula for calculating the water saturation is: , where the parameters , ρ w ρ is the density of water. g For gas density; μ w The viscosity of water is μ. g B represents gas viscosity. w B is the volume coefficient of water; g is the volume coefficient of gas.
2. The method of claim 1, wherein, Based on the production time, daily gas production, and daily water production, a first relationship curve between the water-gas ratio and the production time is fitted, including: The water-to-gas ratio is determined based on the daily gas production and daily water production. Select a target water-gas ratio from the water-gas ratios that is greater than the preset water-gas ratio and has a continuous production time to obtain the first relationship curve.
3. A device for determining water saturation, characterized in that A method for determining water saturation according to any one of claims 1 to 2, comprising: The first acquisition module is used to acquire the target production time of the target well. The calculation module is used to input the target production time into a pre-established water saturation calculation formula to obtain the water saturation value corresponding to the target production time, wherein the water saturation calculation formula includes the relationship between production time and water saturation.
4. The apparatus for determining water saturation according to claim 3, characterized in that, The device for determining water saturation includes: The second acquisition module is used to acquire the production time of the target well, the daily gas production, daily water production, relative permeability data of the gas phase, relative permeability data of the water phase, and water saturation corresponding to the production time; The first determining module is used to fit a first relationship curve between the water-gas ratio and the production time based on the production time, the daily gas production, and the daily water production. The second determining module is used to determine the first relationship between the relative permeability ratio and time based on production time, gas phase relative permeability data, and water phase relative permeability data; The third determining module is used to determine the conversion relationship between the water-air ratio and the relative permeability ratio based on the first relationship and the first relationship curve. The fourth determining module is used to fit a second relationship between the relative permeability ratio and the water saturation based on the gas phase relative permeability data, water phase relative permeability data and water saturation. The fifth determining module is used to determine the relationship between water saturation and production time based at least on the transformation relationship and the second relationship, and to obtain the water saturation calculation formula.
5. An electronic device, comprising: It includes a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, performs the method for determining water saturation as described in any one of claims 1 to 2.
6. A storage medium, characterized by The computer program stored in the storage medium can be executed by one or more processors, and can be used to implement the water saturation determination method according to any one of claims 1 to 2.