Gas channeling risk early warning method and device, equipment and storage medium

By detecting the gas-oil ratio and carbon dioxide content of crude oil mined in oil and gas fields, combining the correspondence between pre-stored conditions and risk levels, the gas-fuse risk level is determined and warning information is output, which solves the early warning problem of gas-fuse risk in carbon dioxide flooding technology and improves oil production efficiency.

CN119878117APending Publication Date: 2025-04-25PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311394411.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-25
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In oil and gas field development, there is a risk of gas traversing in carbon dioxide flooding technology, resulting in a reduction in the gas flooding effect, and it is difficult for the existing technology to effectively warn and prevent.

Method used

Through detection of the crude oil mining, the gas-oil ratio and carbon dioxide content of the target production well or layer are determined, and the target gas-fuse risk level is determined based on the correspondence between the pre-stored conditions and the risk level, and early warning information is output.

Benefits of technology

Timely warning of gas trapping risks has been achieved, helping oil production personnel to formulate and implement anti-trapping measures, improve oil production efficiency and carbon dioxide flooding effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119878117A_ABST
    Figure CN119878117A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a gas channeling risk early warning method, device and equipment and a storage medium, and belongs to the technical field of oil and gas field development. According to the method, when the carbon dioxide flooding technology is used for crude oil extraction of the production well, the current gas channeling risk of the target object is judged by detecting the gas-oil ratio and the carbon dioxide content, proper anti-channeling measures can be made and implemented in time according to the gas channeling risk, and the oil extraction rate can be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of oil and gas field development, and in particular to a method, device, equipment and storage medium for early warning of gas crossover risks. Background Art

[0002] In the field of oil and gas field development, carbon dioxide flooding technology is a commonly used oil recovery technology, which injects carbon dioxide into the reservoir to increase the pressure in the reservoir and promote oil displacement. Gas channeling refers to the formation of certain gas seepage channels in the reservoir due to the strong permeability of gas relative to liquid, resulting in a decrease in the gas displacement effect. Judging the risk of carbon dioxide flooding is of great significance for improving carbon dioxide flooding and increasing oil recovery efficiency. Therefore, a method is needed to warn of gas channeling risks. Summary of the invention

[0003] In order to solve the related technical problems, the embodiments of the present disclosure provide a method, device, equipment and storage medium for early warning of gas channeling risk. The technical solution is as follows:

[0004] In a first aspect, a method for early warning of gas channeling risk is provided, the method comprising:

[0005] In the process of producing crude oil in a target production well by using the carbon dioxide flooding technology, the gas-oil ratio and the carbon dioxide content of the crude oil corresponding to the target object are determined based on the detection of the produced crude oil, wherein the target object is a target production well or a target layer in the target production well, the gas-oil ratio is the volume of gas in the unit weight of crude oil, and the carbon dioxide content is the volume percentage of carbon dioxide in the gas;

[0006] Based on the pre-stored correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas crosstalk risk level, determining a target gas crosstalk risk level corresponding to a target gas-oil ratio condition to which the detected gas-oil ratio belongs and a target carbon dioxide content condition to which the detected carbon dioxide content belongs;

[0007] The target gas breakthrough risk level is output.

[0008] In a possible implementation, the gas channeling risk level includes a no gas channeling risk level, a gas channeling front risk level, a gas channeling formation risk level, and a significant gas channeling risk level.

[0009] In a possible implementation, before determining the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil, the method further includes:

[0010] Determine a first gas-to-oil ratio condition and a first carbon dioxide content condition corresponding to the no gas crosstalk risk level;

[0011] Determine a second gas-to-oil ratio condition and a second carbon dioxide content condition corresponding to the gas channeling front risk level;

[0012] Determine a third gas-to-oil ratio condition and a third carbon dioxide content condition corresponding to the gas channeling formation risk level;

[0013] Determine a fourth gas-to-oil ratio condition and a fourth carbon dioxide content condition corresponding to the significant gas channeling risk level;

[0014] Based on the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level, the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level, the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level, and the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level, a correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level is established.

[0015] In a possible implementation, determining the first gas-to-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas crosstalk risk level includes:

[0016] Before the target production well is used for crude oil production by using the carbon dioxide flooding technology, a first gas-oil ratio and a first carbon dioxide content of the crude oil in the target object are detected;

[0017] It is determined that the first gas-to-oil ratio condition corresponding to the no-gas crosstalk risk level is that the gas-to-oil ratio is equal to the first gas-to-oil ratio, and the first carbon dioxide content condition corresponding to the no-gas crosstalk risk level is that the carbon dioxide content is equal to the first carbon dioxide content.

[0018] In a possible implementation, determining the second gas-to-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level includes:

[0019] Calculating the saturated carbon dioxide production of the target object per unit time, wherein the saturated carbon dioxide production is the carbon dioxide production when the carbon dioxide dissolved in the produced oil-water mixture is in a saturated state;

[0020] Determining a second gas-oil ratio based on the carbon dioxide saturation state production and the volume of crude oil produced by the target object within the unit time;

[0021] summing the first gas-to-oil ratio and the second gas-to-oil ratio to obtain a third gas-to-oil ratio;

[0022] determining a second carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the third gas-to-oil ratio, and the first carbon dioxide content;

[0023] It is determined that the second gas-to-oil ratio condition corresponding to the gas channeling front risk level is that the gas-to-oil ratio is greater than the first gas-to-oil ratio and is less than or equal to the third gas-to-oil ratio, and the second carbon dioxide content condition is that the carbon dioxide content is greater than the first carbon dioxide content and is less than or equal to the second carbon dioxide content.

[0024] In a possible implementation, determining the third gas-to-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level includes:

[0025] Determine the volume ratio of free carbon dioxide to crude oil in the crude oil produced by the target production object based on the gas phase relative permeability value of the target object, the oil phase relative permeability value of the target object, the viscosity of carbon dioxide and the viscosity of crude oil of the target object;

[0026] Determining a fourth gas-oil ratio based on the volume ratio, the volume conversion coefficient, and the density of the crude oil of the target object, wherein the volume conversion coefficient is the volume ratio of the same mass of carbon dioxide underground and above ground;

[0027] summing the third gas-to-oil ratio and the fourth gas-to-oil ratio to obtain a fifth gas-to-oil ratio;

[0028] determining a third carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the fourth gas-to-oil ratio, the fifth gas-to-oil ratio, and the first carbon dioxide content;

[0029] It is determined that the third gas-oil ratio condition corresponding to the gas channeling formation risk level is that the gas-oil ratio is greater than the third gas-oil ratio and is less than or equal to the fifth gas-oil ratio, and the third carbon dioxide content condition is that the carbon dioxide content is greater than the second carbon dioxide content and is less than or equal to the third carbon dioxide content.

[0030] In a possible implementation, determining the fourth gas-to-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas cross-flow risk level includes:

[0031] It is determined that the fourth gas-to-oil ratio condition corresponding to the significant gas crosstalk risk level is that the gas-to-oil ratio is greater than the fifth gas-to-oil ratio, and the fourth carbon dioxide content condition is that the carbon dioxide content is greater than the third carbon dioxide content.

[0032] In a possible implementation, the target object is a target layer in a target production well;

[0033] The method of determining the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil also includes:

[0034] Detect the total gas production and total liquid production of the target production well within a specified period of time;

[0035] Based on the formula and Calculate the ratio of the gas production of the target layer to the total gas production and the ratio of the liquid production of the target layer to the total liquid production, where f gi is the proportion of the gas production of the i-th layer to the total gas production, f 1i is the ratio of the liquid production of the i-th layer to the total liquid production. The target layer is numbered i, K inji is the permeability of the i-th layer at the target injection well, K proi is the permeability of the i-th layer at the target production well, H inji is the thickness of the i-th layer at the target injection well, H proi is the thickness of the i-th layer at the target production well, G inji is the interlayer interference coefficient of the i-th layer located at the target injection well, G proi is the interlayer interference coefficient of the i-th layer located at the target production well, Z i is the connectivity coefficient of the i-th layer between the target injection well and the target production well, K shi is the sedimentary microfacies influence coefficient of the i-th layer between the target injection well and the target production well, i=1, ..., n, n is the total number of layers of the target production well, and the target injection well is the injection well corresponding to the target production well;

[0036] Based on the total gas production, the proportion of the gas production of the target layer to the total gas production, the total liquid production, and the proportion of the liquid production of the target layer to the total liquid production, the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target layer are determined.

[0037] In a second aspect, a device for early warning of gas channeling risk is provided, the device comprising:

[0038] A determination module is used to determine the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil during the process of crude oil production in the target production well through the carbon dioxide flooding technology, wherein the target object is the target production well or the target layer in the target production well, the gas-oil ratio is the volume of gas in the unit weight of crude oil, and the carbon dioxide content is the volume ratio of carbon dioxide in the gas; based on the correspondence between the pre-stored gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level, determine the target gas-oil ratio condition to which the detected gas-oil ratio belongs and the target carbon dioxide content condition to which the detected carbon dioxide content belongs;

[0039] An output module is used to output the target gas channeling risk level.

[0040] In a possible implementation, the gas channeling risk level includes a no gas channeling risk level, a gas channeling front risk level, a gas channeling formation risk level, and a significant gas channeling risk level.

[0041] In a possible implementation manner, the device further includes an establishing module, configured to:

[0042] Determine a first gas-to-oil ratio condition and a first carbon dioxide content condition corresponding to the no gas crosstalk risk level;

[0043] Determine a second gas-to-oil ratio condition and a second carbon dioxide content condition corresponding to the gas channeling front risk level;

[0044] Determine a third gas-to-oil ratio condition and a third carbon dioxide content condition corresponding to the gas channeling formation risk level;

[0045] Determine a fourth gas-to-oil ratio condition and a fourth carbon dioxide content condition corresponding to the significant gas channeling risk level;

[0046] Based on the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level, the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level, the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level, and the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level, a correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level is established.

[0047] In a possible implementation, the establishing module is used to:

[0048] Before the target production well is used for crude oil production by using the carbon dioxide flooding technology, a first gas-oil ratio and a first carbon dioxide content of the crude oil in the target object are detected;

[0049] It is determined that the first gas-to-oil ratio condition corresponding to the no-gas crosstalk risk level is that the gas-to-oil ratio is equal to the first gas-to-oil ratio, and the first carbon dioxide content condition corresponding to the no-gas crosstalk risk level is that the carbon dioxide content is equal to the first carbon dioxide content.

[0050] In a possible implementation, the establishing module is used to:

[0051] Calculating the saturated carbon dioxide production of the target object per unit time, wherein the saturated carbon dioxide production is the carbon dioxide production when the carbon dioxide dissolved in the produced oil-water mixture is in a saturated state;

[0052] Determining a second gas-oil ratio based on the carbon dioxide saturation state production and the volume of crude oil produced by the target object within the unit time;

[0053] summing the first gas-to-oil ratio and the second gas-to-oil ratio to obtain a third gas-to-oil ratio;

[0054] determining a second carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the third gas-to-oil ratio, and the first carbon dioxide content;

[0055] It is determined that the second gas-to-oil ratio condition corresponding to the gas channeling front risk level is that the gas-to-oil ratio is greater than the first gas-to-oil ratio and is less than or equal to the third gas-to-oil ratio, and the second carbon dioxide content condition is that the carbon dioxide content is greater than the first carbon dioxide content and is less than or equal to the second carbon dioxide content.

[0056] In a possible implementation, the establishing module is used to:

[0057] Determine the volume ratio of free carbon dioxide to crude oil in the crude oil produced by the target production object based on the gas phase relative permeability value of the target object, the oil phase relative permeability value of the target object, the viscosity of carbon dioxide and the viscosity of crude oil of the target object;

[0058] Determining a fourth gas-oil ratio based on the volume ratio, the volume conversion coefficient, and the density of the crude oil of the target object, wherein the volume conversion coefficient is the volume ratio of the same mass of carbon dioxide underground and above ground;

[0059] summing the third gas-to-oil ratio and the fourth gas-to-oil ratio to obtain a fifth gas-to-oil ratio;

[0060] determining a third carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the fourth gas-to-oil ratio, the fifth gas-to-oil ratio, and the first carbon dioxide content;

[0061] It is determined that the third gas-oil ratio condition corresponding to the gas channeling formation risk level is that the gas-oil ratio is greater than the third gas-oil ratio and is less than or equal to the fifth gas-oil ratio, and the third carbon dioxide content condition is that the carbon dioxide content is greater than the second carbon dioxide content and is less than or equal to the third carbon dioxide content.

[0062] In a possible implementation, the establishing module is used to:

[0063] It is determined that the fourth gas-to-oil ratio condition corresponding to the significant gas crosstalk risk level is that the gas-to-oil ratio is greater than the fifth gas-to-oil ratio, and the fourth carbon dioxide content condition is that the carbon dioxide content is greater than the third carbon dioxide content.

[0064] In a possible implementation, the target object is a target layer in a target production well; and the determination module is further configured to:

[0065] Detect the total gas production and total liquid production of the target production well within a specified period of time;

[0066] Based on the formula and Calculate the ratio of the gas production of the target layer to the total gas production and the ratio of the liquid production of the target layer to the total liquid production, where f gi is the proportion of the gas production of the i-th layer to the total gas production, f li is the ratio of the liquid production of the i-th layer to the total liquid production. The target layer is numbered i, K inji is the permeability of the i-th layer at the target injection well, K proi is the permeability of the i-th layer at the target production well, H inji is the thickness of the i-th layer at the target injection well, H proi is the thickness of the i-th layer at the target production well, G inji is the interlayer interference coefficient of the i-th layer located at the target injection well, G proi is the interlayer interference coefficient of the i-th layer located at the target production well, Z i is the connectivity coefficient of the i-th layer between the target injection well and the target production well, K shi is the sedimentary microfacies influence coefficient of the i-th layer between the target injection well and the target production well, i=1, ..., n, n is the total number of layers of the target production well, and the target injection well is the injection well corresponding to the target production well;

[0067] Based on the total gas production, the proportion of the gas production of the target layer to the total gas production, the total liquid production, and the proportion of the liquid production of the target layer to the total liquid production, the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target layer are determined.

[0068] In a third aspect, a computer device is provided, comprising a memory and a processor, wherein the memory is used to store computer instructions, and the processor executes the computer instructions stored in the memory so that the computer device executes the method provided by the first aspect and its possible implementation methods.

[0069] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a computer device, the computer device executes the method provided by the first aspect and its possible implementation methods.

[0070] In a fifth aspect, a computer program product is provided. The computer program product includes a computer program code. When the computer program code is executed by a computer device, the computer device executes the method provided by the first aspect and its possible implementation methods.

[0071] In the disclosed embodiment, when the carbon dioxide flooding technology is used to produce crude oil in a production well, the current gas channeling risk level of the target object is determined and output by detecting the gas-oil ratio and the carbon dioxide content. In this way, an early warning of the gas channeling risk can be provided according to the gas channeling risk level, and relevant personnel can formulate and implement appropriate anti-channeling measures in a timely manner, which is conducive to improving oil production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 is a structural schematic diagram of a computer device provided by an embodiment of the present disclosure;

[0073] Figure 2 It is a flow chart of a method for early warning of gas channeling risk provided by an embodiment of the present disclosure;

[0074] Figure 3 It is a schematic diagram of a processing flow for establishing a corresponding relationship between a gas-oil ratio condition, a carbon dioxide content condition and a gas cross-flow risk level provided by an embodiment of the present disclosure;

[0075] Figure 4 It is a schematic diagram of a processing flow for determining a first gas-to-oil ratio condition and a first carbon dioxide content condition corresponding to a no-gas cross-flow risk level provided by an embodiment of the present disclosure;

[0076] Figure 5 It is a schematic diagram of a processing flow for determining a second gas-oil ratio condition and a second carbon dioxide content condition corresponding to a gas channeling front risk level provided by an embodiment of the present disclosure;

[0077] Figure 6 It is a schematic diagram of a processing flow for determining a third gas-oil ratio condition and a third carbon dioxide content condition corresponding to a gas channeling formation risk level provided by an embodiment of the present disclosure;

[0078] Figure 7 It is a schematic diagram of a processing flow for determining the gas-oil ratio and carbon dioxide content of crude oil corresponding to a target object provided by an embodiment of the present disclosure;

[0079] Figure 8 It is a schematic diagram of the structure of a device for performing gas cross-talk risk warning provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0080] In the field of oil and gas field development, carbon dioxide flooding technology is a commonly used oil recovery technology, which injects carbon dioxide into the reservoir to increase the pressure in the reservoir and promote oil displacement. Judging the risk of carbon dioxide flooding gas channeling is of great significance for formulating and implementing anti-channeling measures, improving carbon dioxide flooding and improving oil recovery efficiency. Therefore, a method is needed to warn of gas channeling risks.

[0081] The embodiment of the present disclosure provides a method for early warning of gas channeling risk. The method can be applied to a computer device, which can be a terminal or a server. The terminal can be a mobile phone, a tablet computer, a notebook computer, a desktop computer, etc. The server can be a single device or a device group consisting of multiple devices.

[0082] From the perspective of hardware composition, the structure of the above computer equipment can be as follows Figure 1 As shown, it includes a processor 110 , a memory 120 and a display 130 .

[0083] The processor 110 may be a central processing unit (CPU) or a system on chip (SoC), etc. The processor 110 may be used to execute various instructions involved in the method, etc.

[0084] The memory 120 may include various volatile memories or non-volatile memories, such as a solid state disk (SSD), a dynamic random access memory (DRAM), etc. The memory 120 may be used to store pre-stored data, intermediate data, and result data in the execution of business processing, for example, a corresponding relationship table between gas-oil ratio conditions, carbon dioxide content conditions, and gas cross-talk risk levels, etc.

[0085] The display 130 may be an independent screen, or a screen integrated with the terminal body, a projector, etc. The screen may be a touch screen or a non-touch screen. The display 130 may be used to display the gas channeling risk level, etc.

[0086] Some concepts involved in the embodiments of the present disclosure are introduced below:

[0087] Injection and production wells

[0088] In the mining area, the earth's crust has several strata (which can be referred to as layers for short). Miners can first drill wells in the earth's crust, including at least one injection well and at least one production well. The injection well is used to inject carbon dioxide gas, and the production well is used to produce crude oil. After injecting carbon dioxide gas into the injection well, the gas pressure in the injection well and the strata near the injection well will gradually increase, and the carbon dioxide gas will enter each layer. Because the gas pressure at the production well is lower, the crude oil contained in each layer will flow to the production well under the pressure of carbon dioxide and flow out through the production well. Injection wells and production wells generally appear in pairs. Of course, one injection well can correspond to multiple production wells, or multiple injection wells can correspond to one production well.

[0089] Permeability

[0090] Permeability refers to absolute permeability, which is the volume of a certain fluid that can permeate in a specific formation per unit area per unit time. The specific method for detecting the permeability of a formation may be: N cores are collected in the formation in a dispersed manner, and for each core, the volume of a certain fluid that can permeate in the core per unit area per unit time is detected, and the average permeability corresponding to these cores is calculated, which is the permeability of the formation. The specific method for detecting the permeability of a production well may be: N cores are collected in the production well in a dispersed manner, and for each core, the volume of a certain fluid that can permeate in the core per unit area per unit time is detected, and the average permeability corresponding to these cores is calculated, which is the permeability of the production well.

[0091] Vapor permeability

[0092] The gas phase relative permeability refers to the ratio of the effective permeability of a gas to the absolute permeability. The effective permeability is the volume that a certain fluid can penetrate when a mixed fluid of multiple fluids seeps in a certain formation. The specific detection method can be: when a mixed fluid of multiple fluids seeps in a certain formation, detect the volume that a certain fluid (which can be called the first fluid) among the multiple fluids can penetrate in the formation per unit area per unit time to obtain the effective permeability of the first fluid; when the first fluid not mixed with other fluids seeps in the formation, detect the volume that the first fluid can penetrate in the formation per unit area per unit time to obtain the absolute permeability of the first fluid; calculate the ratio of the effective permeability to the absolute permeability to obtain the relative permeability. If the first fluid is a gas, the relative permeability is the gas phase relative permeability. In the embodiment of the present disclosure, the first fluid is carbon dioxide.

[0093] Oil phase permeability

[0094] The oil phase relative permeability value refers to the ratio of the effective permeability of the oil body to the absolute permeability. The effective permeability is the volume that a certain fluid can penetrate when a mixed fluid of multiple fluids seeps in a certain formation. The specific detection method can be: when a mixed fluid of multiple fluids seeps in a certain formation, detect the volume that a certain fluid (which can be called the second fluid) among the multiple fluids can penetrate in the formation per unit area per unit time to obtain the effective permeability of the second fluid; when the second fluid not mixed with other fluids seeps in the formation, detect the volume that the second fluid can penetrate in the formation per unit area per unit time to obtain the absolute permeability of the second fluid; calculate the ratio of the effective permeability to the absolute permeability to obtain the relative permeability value. If the second fluid is an oil body, the relative permeability value is the oil phase relative permeability value. In the embodiment of the present disclosure, the second fluid is crude oil.

[0095] Volume conversion factor

[0096] The volume conversion factor is the volume ratio of the same mass of carbon dioxide underground and above ground. Due to the different pressures underground and above ground, the volume of carbon dioxide changes when it moves from underground to above ground.

[0097] Inter-layer interference coefficient

[0098] Since the formation media of each layer are different, the permeability of each layer is different. After the fluid is injected into the injection well, the distribution of the fluid in each layer is different. Each layer has a corresponding interlayer interference coefficient to reflect the difference in the distribution of the fluid. In this embodiment, it is a parameter indicating the different distribution of carbon dioxide in each layer.

[0099] Connectivity coefficient

[0100] The connectivity coefficient is a parameter indicating the degree of permeability of each layer. Generally, a connectivity coefficient of 1 represents the average permeability of various formation media. The connectivity coefficient of formation media with weak permeability is less than 1. For example, the rock content in a certain formation is relatively high, and the connectivity coefficient is 0.8. The connectivity coefficient of formation media with weak permeability is less than 1. For example, the sand content in a certain formation is relatively high, and the connectivity coefficient is 1.1.

[0101] Sedimentary microfacies influence coefficient

[0102] The sedimentary microfacies influence coefficient is a parameter that reflects the degree of dissimilarity of the internal media of a certain layer. The higher the degree of dissimilarity of the media within the layer, the smaller the sedimentary microfacies influence coefficient. For example, if the media of a certain layer is rock and sand, the corresponding sedimentary microfacies influence coefficient is 0.8, and if the media of a certain layer is all sand, the corresponding sedimentary microfacies influence coefficient is 1.1.

[0103] The present disclosure provides a method for early warning of gas channeling risk. The processing flow of the method can be as follows: Figure 2 As shown, the following steps are included:

[0104] 201. In the process of producing crude oil from a target production well by using a carbon dioxide flooding technology, the gas-oil ratio and the carbon dioxide content of the crude oil corresponding to the target object are determined based on the detection of the produced crude oil.

[0105] Among them, the target object is the target production well or the target layer in the target production well, the gas-oil ratio is the volume of gas per unit weight of crude oil, and the carbon dioxide content is the volume percentage of carbon dioxide in the gas. The calculation formula for the target gas-oil ratio R is:

[0106] For example, the formation temperature of a certain reservoir is 82.5℃, the original formation pressure is 20MPa, and the original gas-oil ratio is 161.21m 3 / t, the density of crude oil is 0.85g / cm3 , the viscosity of crude oil is 2.5mPa·s; at a certain production time, the bottom flow pressure of the production well is 15MPa, and the daily oil production is 3.82m 3 / d, daily water production is 0.35m 3 / d, at this time the carbon dioxide density at the bottom of the well is 398kg / m 3 (ground density is 1.82kg / m 3 , the volume coefficient from the bottom of the well to the ground is 219), the viscosity of carbon dioxide is 0.0333mPa·s, and the solubility of carbon dioxide in water is 17.23m 3 / m 3 , the solubility in crude oil is 180.31m 3 / m 3 .

[0107] When the total gas production is 3000m 3 / d and single-layer gas drive, the target gas-oil ratio can be calculated as

[0108]

[0109] 202 , based on the pre-stored correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas crosstalk risk level, determine a target gas crosstalk risk level corresponding to a target gas-oil ratio condition to which the detected gas-oil ratio belongs and a target carbon dioxide content condition to which the detected carbon dioxide content belongs.

[0110] The gas channeling risk level includes the no gas channeling risk level, the gas channeling front risk level, the gas channeling formation risk level and the significant gas channeling risk level. Among them, the no gas channeling risk level is the stage before the injection of carbon dioxide into the production well, the gas channeling front risk level is the stage from the injection of carbon dioxide into the production well to the appearance of free carbon dioxide in the production well, the gas channeling formation risk level is the stage from the appearance of free carbon dioxide in the production well to the percentage of oil production decline reaching the decline threshold, which can be determined by technical personnel and is generally 5%-10%, and the significant gas channeling risk level is the stage when the percentage of oil production decline is greater than the decline threshold.

[0111] A correspondence table of gas-oil ratio conditions, carbon dioxide content conditions and gas crosstalk risk levels as shown in Table 1 may be established in advance, the target gas-oil ratio conditions to which the target gas-oil ratio belongs and the carbon dioxide content conditions to which the target carbon dioxide content belongs may be found in Table 1, and the corresponding gas crosstalk risk level may be found in Table 1.

[0112] Table 1 Correspondence between gas-oil ratio conditions, carbon dioxide content conditions and gas cross-flow risk levels

[0113]

[0114] 203, output the target gas breakthrough risk level.

[0115] The gas channeling risk level found in Table 1 in step 202 is determined as a target risk level, and the target gas channeling risk level is output.

[0116] In a possible implementation, the processing flow for establishing the corresponding relationship between the gas-oil ratio condition, the carbon dioxide content condition and the gas cross-flow risk level can be as follows: Figure 3 As shown, the following steps are included:

[0117] 301, determining a first gas-to-oil ratio condition and a first carbon dioxide content condition corresponding to a no-gas crosstalk risk level.

[0118] 302, determining a second gas-to-oil ratio condition and a second carbon dioxide content condition corresponding to the gas breakthrough front risk level.

[0119] 303, determining a third gas-to-oil ratio condition and a third carbon dioxide content condition corresponding to the gas channeling formation risk level.

[0120] 304, determining a fourth gas-to-oil ratio condition and a fourth carbon dioxide content condition corresponding to the significant gas crosstalk risk level.

[0121] When determining the gas-oil ratio conditions and carbon dioxide content conditions corresponding to each risk level, the conditions can be set by technicians based on experience, or calculated based on the measured information of various factors of the target production well.

[0122] 305. Based on the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level, the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level, the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level, and the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level, a corresponding relationship between the gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level is established.

[0123] The gas-oil ratio condition and carbon dioxide content condition for each risk level pair calculated in the above steps may be an item in a corresponding relationship table of gas-oil ratio conditions, carbon dioxide content conditions and gas cross-flow risk levels. This information may be entered into Table 1 in the above step 202 to obtain Table 2.

[0124] Table 2 Correspondence between gas-oil ratio conditions, carbon dioxide content conditions and gas channeling risk levels

[0125]

[0126] In a possible implementation, the process of determining the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas cross-flow risk level can be as follows: Figure 4As shown, the following steps are included:

[0127] 401, before the target production well is subjected to crude oil production by using the carbon dioxide flooding technology, a first gas-oil ratio and a first carbon dioxide content of the crude oil in the target object are detected.

[0128] The gas-oil ratio and carbon dioxide content of the target production well are tested when the carbon dioxide flooding technology is used and there is no gas channeling, and the first gas-oil ratio R is determined. 1 and the first carbon dioxide content x 1 The gas, oil and water can be separated by a three-phase separator, and the gas-oil ratio and carbon dioxide content can be obtained by phase state software.

[0129] For example, the first gas-fuel ratio R is detected 1 =161.21m 3 / t and the first carbon dioxide content x 1 =4.4%.

[0130] 402 , determining that a first gas-to-oil ratio condition corresponding to the no-gas crosstalk risk level is that the gas-to-oil ratio is equal to the first gas-to-oil ratio, and a first carbon dioxide content condition corresponding to the no-gas crosstalk risk level is that the carbon dioxide content is equal to the first carbon dioxide content.

[0131] For example, the first gas-fuel ratio R in the detection target object 1 and the first carbon dioxide content x 1 , determine the first gas-oil ratio condition corresponding to the no gas channeling risk level as R 1 =161.21, the first carbon dioxide content condition is x 1 =4.4.

[0132] In a possible implementation, the process of determining the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level can be as follows: Figure 5 As shown, the following steps are included:

[0133] 501, calculating the saturated carbon dioxide production of the target object per unit time.

[0134] The saturated carbon dioxide production refers to the carbon dioxide production when the carbon dioxide dissolved in the produced oil-water mixture is in a saturated state.

[0135] Step 1: Calculate the solubility of carbon dioxide in formation water based on bottom hole temperature, bottom hole pressure and formation water salinity Relevant personnel can measure the actual bottom hole temperature, bottom hole pressure and formation water mineralization of the target object at the target time. After obtaining the measurement results, they can look up the carbon dioxide solubility table to find the carbon dioxide solubility corresponding to the actually measured bottom hole temperature, bottom hole pressure and formation water mineralization.

[0136] Step 2: Based on the volume of produced water per unit time q w , calculate the production of dissolved carbon dioxide per unit time in water

[0137] For example, the solubility of carbon dioxide in water is 17.23 m 3 / m 3 , daily water production is 0.35m 3 / d, the production of dissolved carbon dioxide in water per unit time is

[0138]

[0139] Step 3: Calculate the solubility of carbon dioxide in crude oil based on bottom hole temperature, bottom hole pressure, and the viscosity, density, and solubility of crude oil. Relevant personnel can measure the actual bottom hole temperature, bottom hole pressure and crude oil viscosity, density, solubility, etc. of the target object at the target time. After obtaining the measurement results, they can look up the carbon dioxide solubility table to find the carbon dioxide solubility corresponding to the actually measured bottom hole temperature, bottom hole pressure and crude oil viscosity, density, solubility, etc.

[0140] Step 4: Based on the output volume of crude oil per unit time q o , calculate the production of carbon dioxide dissolved in oil per unit time

[0141] For example, the solubility of carbon dioxide in crude oil is 180.31m 3 / m 3 , daily oil production is 3.82m 3 / d, the production of carbon dioxide dissolved in crude oil per unit time is

[0142]

[0143] Step 5: Production per unit time based on dissolved carbon dioxide in water and the production of carbon dioxide dissolved in oil per unit time Calculate the carbon dioxide saturation production of the target object per unit time

[0144] For example, the above has been obtained and So we can calculate

[0145] 502 : Determine a second gas-oil ratio based on the carbon dioxide saturation production and the volume of crude oil produced by the target object per unit time.

[0146] The production per unit time of carbon dioxide dissolved in oil and water and the volume of crude oil produced per unit time q o , calculate the second gas-fuel ratio The second gas-oil ratio is the volume of carbon dioxide per unit weight of crude oil in the saturated state of carbon dioxide of the target object per unit time.

[0147] For example, the above Daily oil production volume q o =3.82m 3 / d, so the second gas-oil ratio can be calculated

[0148]

[0149] 503 , sum the first gas-to-oil ratio and the second gas-to-oil ratio to obtain a third gas-to-oil ratio.

[0150] Based on the first gas-fuel ratio R 1 and the second gas-oil ratio R 2 , calculate the third gas-oil ratio R 3 =R 2 +R 1 .

[0151] For example, the third gas-oil ratio is calculated to be

[0152]

[0153] 504 , determining a second carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the third gas-to-oil ratio, and the first carbon dioxide content.

[0154] Based on the first gas-fuel ratio R 1 , the second gas-oil ratio R 2 、The third gas-oil ratio R 3 and the first carbon dioxide content x 1 , calculate the second carbon dioxide content

[0155] For example, the second carbon dioxide content is calculated to be

[0156]

[0157] 505, determining that the second gas-oil ratio condition corresponding to the gas channeling front risk level is that the gas-oil ratio is greater than the first gas-oil ratio and is less than or equal to the third gas-oil ratio, and the second carbon dioxide content condition is that the carbon dioxide content is greater than the first carbon dioxide content and is less than or equal to the second carbon dioxide content.

[0158] Determine the second gas-oil ratio condition corresponding to the gas channeling front risk level as R 1 <R≤R 3, the second carbon dioxide content condition is x 1 <x≤x 2 .

[0159] For example, based on the above steps, R 1 , R 3 、x 1 、x 2 , the second gas-oil ratio condition is obtained to be 161.21<R≤375.2, and the second carbon dioxide content condition is obtained to be 4.4<x≤58.92.

[0160] In a possible implementation, the process of determining the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling risk level may be as follows: Figure 6 As shown, the following steps are included:

[0161] 601, determining the volume ratio of free carbon dioxide and crude oil in the crude oil produced by the target object based on the gas phase relative permeability value of the target object, the oil phase relative permeability value of the target object, the viscosity of carbon dioxide and the viscosity of crude oil of the target object.

[0162] Assuming that the oil and gas properties are stable under the bottom hole conditions, based on the Darcy formula, the production formulas of underground crude oil per unit time and underground carbon dioxide per unit time can be obtained: and Further obtain the volume ratio of free carbon dioxide and crude oil in the crude oil produced by the target object Will Denoted as P.

[0163] K is the permeability, K rg , K ro are the gas phase permeability and oil phase permeability, A is the permeability area, ΔL is the seepage length, ΔP is the pressure difference, μ g , μ o are the viscosity of carbon dioxide and the viscosity of crude oil respectively.

[0164] For example,

[0165] 602 : Determine a fourth gas-oil ratio based on the volume ratio, the volume conversion coefficient, and the density of the target crude oil.

[0166] The volume conversion factor is the volume ratio of the same mass of carbon dioxide underground and above ground.

[0167] From the perspective of the impact of gas channeling on oil production, the standard for significant gas channeling is a 5%-10% decrease in oil production, which is equivalent to a 5%-10% decrease in the oil phase relative permeability due to gas channeling. The gas phase relative permeability can be obtained based on the gas-oil relative permeability curve.

[0168] Based on the above formula, the gas-oil ratio of free carbon dioxide generated by gas channeling is calculated as the fourth gas-oil ratio R 4 =V g *P.

[0169] For example, when the oil production drops by 5%-10%, the oil phase permeability value K is determined based on the gas-oil phase permeability curve. ro =0.73, gas phase relative permeability K rg =0.029. The fourth gas-oil ratio is calculated to be R 4 =V g *P=219*2.98243=653.152665.15m 3 / m 3 =768.42m 3 / t.

[0170] 603 , sum the third gas-to-fuel ratio and the fourth gas-to-fuel ratio to obtain a fifth gas-to-fuel ratio.

[0171] The three gas-oil ratio R calculated based on the above steps 3 and the fourth gas-oil ratio R 4 , calculate the fifth gas-fuel ratio R 5 =R 3 +R 4 .

[0172] For example, R 5 =R 3 +R 4 =375.2+768.42=1143.62m 3 / t.

[0173] 604 , determining a third carbon dioxide content based on the first gas-to-fuel ratio, the second gas-to-fuel ratio, the fourth gas-to-fuel ratio, the fifth gas-to-fuel ratio, and the first carbon dioxide content.

[0174] Based on the first gas-fuel ratio R 1 , the second gas-oil ratio R 2 , the fourth gas-oil ratio R 4 、Fifth gas-oil ratio R 5 and the first carbon dioxide content x 1 , calculate the third carbon dioxide content

[0175] For example, based on the above steps, we can calculate

[0176]

[0177] 605, determining that the third gas-oil ratio condition corresponding to the gas channeling risk level is that the gas-oil ratio is greater than the third gas-oil ratio and is less than or equal to the fifth gas-oil ratio, and the third carbon dioxide content condition is that the carbon dioxide content is greater than the second carbon dioxide content and is less than or equal to the third carbon dioxide content.

[0178] Determine the third gas-oil ratio condition corresponding to the gas channeling risk level as R 3 <R≤R 5 , the third carbon dioxide content condition is x 2 <x≤x 3 .

[0179] For example, based on the above steps, it can be calculated that the third gas-oil ratio condition corresponding to the gas channeling formation risk level is 375.2<R≤1143.62, and the third carbon dioxide content condition is 58.92<x≤86.52.

[0180] In a possible implementation, the processing flow for determining the fourth gas-to-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas crosstalk risk level is as follows:

[0181] The fourth gas-oil ratio condition corresponding to the significant gas crosstalk risk level is determined to be that the gas-oil ratio is greater than the fifth gas-oil ratio, and the fourth carbon dioxide content condition is that the carbon dioxide content is greater than the third carbon dioxide content.

[0182] For example, based on the above steps, it can be calculated that the fourth gas-to-oil ratio condition corresponding to the significant gas crosstalk risk level is R>1143.62, and the fourth carbon dioxide content condition is x>86.52.

[0183] Based on the above process of determining the four gas channeling risk levels, the corresponding relationship between the gas-oil ratio conditions, carbon dioxide content conditions and the gas channeling risk levels can be obtained as shown in Table 3:

[0184] Table 3 Correspondence between gas-oil ratio conditions, carbon dioxide content conditions and gas channeling risk levels

[0185]

[0186] In a possible implementation, when the target object is a target layer in a target production well, the processing flow for determining the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object can be as follows: Figure 7 As shown, the following steps are included:

[0187] 701, detecting the total gas production and total liquid production of the target production well within a specified time period.

[0188] For example, the total gas production is 3000m 3 / d, the total number of target production wells is three. The first gas-oil ratio of the first, second and third layers is 150m3 / t、160m 3 / t、170m 3 / t, the first carbon dioxide content of each layer is 2%, 4% and 6% respectively, the permeability of each layer of the target injection well is 1md, 2md and 3md respectively, the permeability of each layer of the target production well is 5md, 6md and 7md respectively, the thickness of the target injection well is 10m, 20m and 30m respectively, the thickness of the target production well is 25m, 15m and 5m respectively, the interlayer interference coefficient, connectivity coefficient and sedimentary microfacies influence coefficient are all 1.

[0189] 702, based on the formula and Calculate the ratio of the target layer's gas production to the total gas production and the ratio of the target layer's liquid production to the total liquid production.

[0190] Among them, f gi is the proportion of the gas production of the i-th layer to the total gas production, f li is the ratio of the liquid production of the i-th layer to the total liquid production. The target layer is numbered i, K inji is the permeability of the i-th layer at the target injection well, K proi is the permeability of the i-th layer at the target production well, H inji is the thickness of the i-th layer at the target injection well, H proi is the thickness of the i-th layer at the target production well, G inji is the interlayer interference coefficient of the i-th layer located at the target injection well, G proi is the interlayer interference coefficient of the i-th layer located at the target production well, Z i is the connectivity coefficient of the i-th layer between the target injection well and the target production well, K shi is the sedimentary microfacies influence coefficient of the i-th layer between the target injection well and the target production well, i=1, ..., n, n is the total number of layers of the target production well, and the target injection well is the injection well corresponding to the target production well.

[0191] For example, the first gas-oil ratios of the first, second, and third layers are 150m 3 / t、160m 3 / t、170m 3 / t, the first carbon dioxide content of the 1st, 2nd and 3rd layers is 2%, 4% and 6% respectively, the permeability of each layer of the target injection well is 1md, 2md and 3md respectively, the permeability of each layer of the target production well is 5md, 6md and 7md respectively, the thickness of the target injection well is 10m, 20m and 30m respectively, the thickness of the target production well is 25m, 15m and 5m respectively, and the interlayer interference coefficient, connectivity coefficient and sedimentary microfacies influence coefficient are all 1. In this way, based on the above formula, it can be calculated that the proportion of gas production of each layer to the total gas production is 0.071, 0.286 and 0.643 respectively, and the proportion of liquid production of each layer to the total liquid production is 0.604, 0.310 and 0.086 respectively.

[0192] 703, determining the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target layer based on the total gas production, the ratio of the gas production of the target layer to the total gas production, the total liquid production, and the ratio of the liquid production of the target layer to the total liquid production.

[0193] Based on the first gas-oil ratio r of each layer in the target production well 1 、r 2 ,......,r n , the proportion of each layer's liquid production to the total liquid production l1 、f l2 ,......,f ln , the mixed gas-fuel ratio can be calculated The average gas-oil ratio can be considered as: the gas-oil ratio of the mixed crude oil after the crude oil of each layer is mixed according to the ratio calculated in step 702 in the unexploited state. The total gas production E and total liquid production F can be used to calculate the volume of injected carbon dioxide carried by the crude oil produced per unit time. The injected CO2 volume is the volume of all CO2 carried by crude oil minus the CO2 carried by crude oil in the unexploited state. Then, based on D and the proportion of gas production of each layer to the total gas production, f g1 、f g2 ,......,f gn , the volume of injected carbon dioxide carried in the crude oil produced in each layer per unit time can be calculated i =D*f gi Then, the gas-oil ratio of each layer can be calculated β is the density of crude oil.

[0194] For example, the first gas-oil ratios of the first, second, and third layers are 150m 3 / t、160m 3 / t、170m 3 / t, daily water production is 3000m 3 / d, daily oil production is 3.82m 3 / d, the above steps have shown that the ratio of gas production in each layer to the total gas production is 0.071, 0.286, and 0.643, respectively, and the ratio of liquid production in each layer to the total liquid production is 0.604, 0.310, and 0.086, respectively. The average value of the first gas-oil ratio of the above three layers can be calculated as R o =150*0.604+160*0.31+170*0.086=154.82m 3 / t, based on the average value of the first gas-oil ratio, the daily production of carbon dioxide injected into the oil can be calculated as 3000-154.82*3.82=2408.59m 3 / d. After that, based on the production of carbon dioxide injected into the daily oil production and the proportion of the liquid production of each layer to the total liquid production, the production of carbon dioxide injected into each layer can be calculated to be 2408.59*0.071=171.01m 3 / d, 2408.59*0.286=688.857m 3 / d, 2408.59*0.643=1548.72m 3 / d, then the gas-oil ratio of each layer can be calculated as

[0195]

[0196]

[0197] After determining the target gas crosstalk risk level to which the target object belongs, appropriate anti-crosstalk measures can be taken based on the target gas crosstalk risk level, for example, changing the injection method (alternating injection of water and carbon dioxide), injecting foam, injecting gel, etc.

[0198] In the disclosed embodiment, when the carbon dioxide flooding technology is used to produce crude oil in a production well, the current gas channeling risk level of the target object is determined and output by detecting the gas-oil ratio and the carbon dioxide content. In this way, an early warning of the gas channeling risk can be provided according to the gas channeling risk level, and relevant personnel can formulate and implement appropriate anti-channeling measures in a timely manner, which is conducive to improving oil production efficiency.

[0199] Based on the same technical concept, the embodiment of the present disclosure provides a device for early warning of gas channeling risk, which is applied to computer equipment, such as Figure 8 As shown, the device comprises:

[0200] The determination module 810 is used to determine the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil during the process of crude oil production in the target production well through the carbon dioxide flooding technology, wherein the target object is the target production well or the target layer in the target production well, the gas-oil ratio is the volume of gas per unit weight of crude oil, and the carbon dioxide content is the volume ratio of carbon dioxide in the gas; based on the correspondence between the pre-stored gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level, determine the target gas-oil ratio condition to which the detected gas-oil ratio belongs and the target carbon dioxide content condition to which the detected carbon dioxide content belongs. Specifically, the processing functions of the above steps 201 and 202, as well as other implicit steps, can be realized.

[0201] The output module 820 is used to output the target gas channeling risk level, and can specifically implement the processing functions of the above steps 203 and 301, as well as other implicit steps.

[0202] In a possible implementation, the gas channeling risk level includes a no gas channeling risk level, a gas channeling front risk level, a gas channeling formation risk level, and a significant gas channeling risk level.

[0203] In a possible implementation, the device further includes an establishment module 830, which is used to: determine the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level; determine the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level; determine the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level; determine the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level; based on the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level, the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level, the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level, and the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level, establish a corresponding relationship between the gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level. Specifically, the processing functions of the above steps 301, 302, 303, 304, and 305, as well as other implicit steps, can be realized.

[0204] In a possible implementation, a module 830 is established for: before the target production well is produced by the carbon dioxide flooding technology, detecting the first gas-oil ratio and the first carbon dioxide content of the crude oil in the target object; determining that the first gas-oil ratio condition corresponding to the no-gas channeling risk level is that the gas-oil ratio is equal to the first gas-oil ratio, and the first carbon dioxide content condition corresponding to the no-gas channeling risk level is that the carbon dioxide content is equal to the first carbon dioxide content. Specifically, the processing functions of the above steps 401 and 402, as well as other implicit steps, can be implemented.

[0205] In a possible implementation, a module 830 is established for: calculating the saturated carbon dioxide production of the target object per unit time, wherein the saturated carbon dioxide production is the carbon dioxide production when the carbon dioxide dissolved in the produced oil-water mixture is in a saturated state; determining the second gas-oil ratio based on the saturated carbon dioxide production and the volume of crude oil produced by the target object per unit time; summing the first gas-oil ratio and the second gas-oil ratio to obtain a third gas-oil ratio; determining the second carbon dioxide content based on the first gas-oil ratio, the second gas-oil ratio, the third gas-oil ratio and the first carbon dioxide content; determining the second gas-oil ratio condition corresponding to the gas channeling front risk level is that the gas-oil ratio is greater than the first gas-oil ratio and is less than or equal to the third gas-oil ratio, and the second carbon dioxide content condition is that the carbon dioxide content is greater than the first carbon dioxide content and is less than or equal to the second carbon dioxide content. Specifically, the processing functions of the above steps 501, 502, 503, 504, and 505, as well as other implicit steps, can be implemented.

[0206] In a possible implementation, a module 830 is established for: determining the volume ratio of free carbon dioxide and crude oil in the crude oil produced by the target mining object based on the gas phase permeability value of the target object, the oil phase permeability value of the target object, the viscosity of carbon dioxide, and the viscosity of crude oil of the target object; determining the fourth gas-oil ratio based on the volume ratio, the volume conversion coefficient, and the density of the crude oil of the target object, wherein the volume conversion coefficient is the volume ratio of the same mass of carbon dioxide underground and on the ground; summing the third gas-oil ratio and the fourth gas-oil ratio to obtain the fifth gas-oil ratio; determining the third carbon dioxide content based on the first gas-oil ratio, the second gas-oil ratio, the fourth gas-oil ratio, the fifth gas-oil ratio, and the first carbon dioxide content; determining the third gas-oil ratio condition corresponding to the gas channeling formation risk level is that the gas-oil ratio is greater than the third gas-oil ratio and is less than or equal to the fifth gas-oil ratio, and the third carbon dioxide content condition is that the carbon dioxide content is greater than the second carbon dioxide content and is less than or equal to the third carbon dioxide content. Specifically, the processing functions of the above steps 601, 602, 603, 604, and 605, as well as other implicit steps, can be implemented.

[0207] In a possible implementation, a module is established for determining that the fourth gas-to-oil ratio condition corresponding to the significant gas crosstalk risk level is that the gas-to-oil ratio is greater than the fifth gas-to-oil ratio, and the fourth carbon dioxide content condition is that the carbon dioxide content is greater than the third carbon dioxide content.

[0208] In a possible implementation, the target object is a target layer in a target production well; the determination module 810 is further used to: detect the total gas production and total liquid production of the target production well within a specified time period; based on the formula and Calculate the ratio of the target layer’s gas production to the total gas production and the ratio of the target layer’s liquid production to the total liquid production, where fgi is the proportion of the gas production of the i-th layer to the total gas production, f li is the ratio of the liquid production of the i-th layer to the total liquid production. The target layer is numbered i, K inji is the permeability of the i-th layer at the target injection well, K proi is the permeability of the i-th layer at the target production well, H inji is the thickness of the i-th layer at the target injection well, H proi is the thickness of the i-th layer at the target production well, G inji is the interlayer interference coefficient of the i-th layer located at the target injection well, G proi is the interlayer interference coefficient of the i-th layer located at the target production well, Z i is the connectivity coefficient of the i-th layer between the target injection well and the target production well, K shi is the sedimentary microfacies influence coefficient of the i-th layer between the target injection well and the target production well, i=1, ..., n, n is the total number of layers of the target production well, and the target injection well is the injection well corresponding to the target production well. Based on the total gas production, the ratio of the gas production of the target layer to the total gas production, the total liquid production, and the ratio of the liquid production of the target layer to the total liquid production, the gas-oil ratio and the carbon dioxide content of the crude oil corresponding to the target layer are determined. Specifically, the processing functions of the above steps 701, 702, and 703, as well as other implicit steps, can be realized.

[0209] The above-mentioned determination module 810, output module 820, and establishment module 830 may be implemented by a processor, or by a processor in conjunction with a memory and a display.

[0210] In the disclosed embodiment, when the carbon dioxide flooding technology is used to produce crude oil in a production well, the current gas channeling risk level of the target object is determined and output by detecting the gas-oil ratio and the carbon dioxide content. In this way, an early warning of the gas channeling risk can be provided according to the gas channeling risk level, and relevant personnel can formulate and implement appropriate anti-channeling measures in a timely manner, which is conducive to improving oil production efficiency.

[0211] When the device for early warning of gas channeling risk provided in the above embodiment is in operation, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the device for early warning of gas channeling risk provided in the above embodiment and the method embodiment for early warning of gas channeling risk belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0212] The embodiments of the present disclosure also provide a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk). The computer-readable storage medium includes instructions that instruct a computing device to perform a method for business processing, or instructs a computing device to perform a method for business processing.

[0213] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the protection scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for early warning of gas channeling risk, characterized in that: The method comprises: In the process of producing crude oil in a target production well by using the carbon dioxide flooding technology, the gas-oil ratio and the carbon dioxide content of the crude oil corresponding to the target object are determined based on the detection of the produced crude oil, wherein the target object is a target production well or a target layer in the target production well, the gas-oil ratio is the volume of gas in the unit weight of crude oil, and the carbon dioxide content is the volume percentage of carbon dioxide in the gas; Based on the pre-stored correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas crosstalk risk level, determining a target gas crosstalk risk level corresponding to a target gas-oil ratio condition to which the detected gas-oil ratio belongs and a target carbon dioxide content condition to which the detected carbon dioxide content belongs; The target gas breakthrough risk level is output.

2. The method according to claim 1, characterized in that The gas channeling risk level includes a no gas channeling risk level, a gas channeling front risk level, a gas channeling formation risk level and a significant gas channeling risk level.

3. The method according to claim 2, characterized in that Before determining the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil, the method further includes: Determine a first gas-to-oil ratio condition and a first carbon dioxide content condition corresponding to the no gas crosstalk risk level; Determine a second gas-to-oil ratio condition and a second carbon dioxide content condition corresponding to the gas channeling front risk level; Determine a third gas-to-oil ratio condition and a third carbon dioxide content condition corresponding to the gas channeling formation risk level; Determine a fourth gas-to-oil ratio condition and a fourth carbon dioxide content condition corresponding to the significant gas channeling risk level; Based on the first gas-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas channeling risk level, the second gas-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level, the third gas-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level, and the fourth gas-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level, a correspondence between the gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level is established.

4. The method according to claim 3, characterized in that The determining of the first gas-to-oil ratio condition and the first carbon dioxide content condition corresponding to the no gas crosstalk risk level includes: Before the target production well is used for crude oil production by using the carbon dioxide flooding technology, a first gas-oil ratio and a first carbon dioxide content of the crude oil in the target object are detected; It is determined that the first gas-to-oil ratio condition corresponding to the no-gas crosstalk risk level is that the gas-to-oil ratio is equal to the first gas-to-oil ratio, and the first carbon dioxide content condition corresponding to the no-gas crosstalk risk level is that the carbon dioxide content is equal to the first carbon dioxide content.

5. The method according to claim 4, characterized in that The determining of the second gas-to-oil ratio condition and the second carbon dioxide content condition corresponding to the gas channeling front risk level includes: Calculating the saturated carbon dioxide production of the target object per unit time, wherein the saturated carbon dioxide production is the carbon dioxide production when the carbon dioxide dissolved in the produced oil-water mixture is in a saturated state; Determining a second gas-oil ratio based on the carbon dioxide saturation state production and the volume of crude oil produced by the target object within the unit time; summing the first gas-to-oil ratio and the second gas-to-oil ratio to obtain a third gas-to-oil ratio; determining a second carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the third gas-to-oil ratio, and the first carbon dioxide content; It is determined that the second gas-to-oil ratio condition corresponding to the gas channeling front risk level is that the gas-to-oil ratio is greater than the first gas-to-oil ratio and is less than or equal to the third gas-to-oil ratio, and the second carbon dioxide content condition is that the carbon dioxide content is greater than the first carbon dioxide content and is less than or equal to the second carbon dioxide content.

6. The method according to claim 5, characterized in that The determining of the third gas-to-oil ratio condition and the third carbon dioxide content condition corresponding to the gas channeling formation risk level includes: Determine the volume ratio of free carbon dioxide and crude oil in the crude oil produced by the target object based on the gas phase relative permeability value of the target object, the oil phase relative permeability value of the target object, the viscosity of carbon dioxide and the viscosity of crude oil of the target object; Determining a fourth gas-oil ratio based on the volume ratio, the volume conversion coefficient, and the density of the crude oil of the target object, wherein the volume conversion coefficient is the volume ratio of the same mass of carbon dioxide underground and above ground; summing the third gas-to-oil ratio and the fourth gas-to-oil ratio to obtain a fifth gas-to-oil ratio; determining a third carbon dioxide content based on the first gas-to-oil ratio, the second gas-to-oil ratio, the fourth gas-to-oil ratio, the fifth gas-to-oil ratio, and the first carbon dioxide content; It is determined that the third gas-oil ratio condition corresponding to the gas channeling formation risk level is that the gas-oil ratio is greater than the third gas-oil ratio and is less than or equal to the fifth gas-oil ratio, and the third carbon dioxide content condition is that the carbon dioxide content is greater than the second carbon dioxide content and is less than or equal to the third carbon dioxide content.

7. The method according to claim 6, characterized in that The determining of the fourth gas-to-oil ratio condition and the fourth carbon dioxide content condition corresponding to the significant gas channeling risk level includes: It is determined that the fourth gas-to-oil ratio condition corresponding to the significant gas crosstalk risk level is that the gas-to-oil ratio is greater than the fifth gas-to-oil ratio, and the fourth carbon dioxide content condition is that the carbon dioxide content is greater than the third carbon dioxide content.

8. A device for early warning of gas channeling risk, characterized in that: The device comprises: A determination module is used to determine the gas-oil ratio and carbon dioxide content of the crude oil corresponding to the target object based on the detection of the produced crude oil during the process of crude oil production in the target production well through the carbon dioxide flooding technology, wherein the target object is the target production well or the target layer in the target production well, the gas-oil ratio is the volume of gas in the unit weight of crude oil, and the carbon dioxide content is the volume ratio of carbon dioxide in the gas; based on the correspondence between the pre-stored gas-oil ratio condition, the carbon dioxide content condition and the gas channeling risk level, determine the target gas-oil ratio condition to which the detected gas-oil ratio belongs and the target carbon dioxide content condition to which the detected carbon dioxide content belongs; An output module is used to output the target gas channeling risk level.

9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein the memory is used to store computer instructions; The processor executes the computer instructions stored in the memory to enable the computer device to perform the method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program code. When the computer program code is executed by a computer device, the computer device executes the method according to any one of claims 1 to 8.