Safe mixed transportation judgment method and system for oil-gas mixed transportation process and equipment medium

By establishing a hydrothermal calculation simulation model of oil and gas mixed transportation pipelines, the maximum gas-oil ratio can be calculated, and the safety of the oil and gas mixed transportation process in Tarim Oilfield has been judged, which has solved the problems of complex oil and gas distribution process and high energy consumption in the existing technology, and has achieved the improvement of the safety and economics of the oil and gas mixed transportation process.

CN119918436APending Publication Date: 2025-05-02PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311433754.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing oil and gas distribution technology of Tarim Oilfield has problems such as complex transfer station technology, high energy consumption per unit oil production, and high operation and management, resulting in high investment and operation costs for ground engineering and supporting facilities. At the same time, the oil and gas mixed transportation process lacks mature safety mixed transportation judgment methods, and it is difficult to meet the safety mixed transportation needs of changes in operating parameters.

Method used

A method for judging the safe mixed transport of oil and gas mixing technology is proposed. By establishing a water-thermal calculation simulation model for oil and gas mixing pipelines, inputting different moisture content and output volumes, the maximum gas-oil ratio can be calculated, and whether the pipeline can be safely mixed transported. The method includes model establishment, pipeline calculation, gas-oil ratio adjustment, maximum output determination, different output calculation, maximum moisture content judgment, different moisture content calculation and mixed transport judgment modules, forming the oilfield mixed transport boundary calculation formula.

Benefits of technology

Through simulation and calculation, the collection and transmission boundary values ​​under different working conditions are determined, and the basis for safe mixing and transmission judgment is provided, the investment and operation costs of processing stations are reduced, the process is simplified, and the safety and efficiency of the oil and gas mixing and transmission process are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119918436A_ABST
    Figure CN119918436A_ABST
Patent Text Reader

Abstract

The invention discloses a safe mixed transportation judgment method and system for an oil-gas mixed transportation process and an equipment medium. The method comprises the steps that a pipeline model is established, and the water content, the transportation capacity and the gas-oil ratio are input; the input gas-oil ratio is adjusted according to whether various data meet requirements or not; obtaining the maximum transportable gas-oil ratio corresponding to the current transportation amount and the water content, judging whether the current transportation amount is the maximum transportation amount, and if not, increasing the transportation amount by 10%; inputting different transportation quantities to obtain the constant water content and the maximum transportable gas-oil ratio corresponding to different transportation quantities; judging whether the current moisture content is the maximum moisture content or not, and if not, increasing the moisture content by 10%; inputting different water contents to obtain the maximum transportable gas-oil ratio corresponding to different water contents and different transportation quantities, and fitting an oil field mixed transportation boundary calculation formula; and whether the actual gas-oil ratio of the actual pipeline under the current working condition is larger than the maximum gas-oil ratio capable of being conveyed or not is judged, if yes, mixed conveying of the pipeline under the current working condition cannot be achieved, and if not, mixed conveying of the pipeline under the current working condition can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of oil-gas mixed transportation technology, and relates to a method, system and equipment medium for judging safe mixed transportation of oil-gas mixed transportation technology. Background Art

[0002] The oil and gas separation and transportation technology currently used in the Tarim Oilfield has problems such as complex metering and transfer station technology, high energy consumption per unit of oil production, and greater difficulty in operation and management. These current situations will lead to high investment and operation costs for ground engineering and supporting facilities. According to preliminary demonstrations in the early stage, the use of oil and gas mixed transportation technology in ground engineering can significantly reduce the construction of pipelines, processing stations, equipment and supporting facilities, simplify the process, and reduce the investment and operation costs of processing stations. Therefore, the use of mixed transportation technology instead of separate transportation technology is a potential direction for optimizing the ground gathering and transportation technology of the oilfields on the north and south banks of the Tarim River. However, the oil and gas mixed transportation technology involves the complex hydraulic and thermal characteristics of multiphase flow of oil and gas. Whether it is to transform the existing oil and gas separation technology or to build a new oil and gas mixed transportation pipeline, as the operating parameters continue to change, whether it can meet the needs of safe mixed transportation, there is no mature judgment method for reference. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, system and equipment medium for judging the safe mixing of oil and gas mixed transportation process, which can provide the maximum gas-oil ratio that can be transported corresponding to different water contents and different transmission volumes, thereby providing a basis for judging whether the pipeline can be mixed.

[0004] In order to achieve the above object, the present invention adopts the following technical solutions:

[0005] A method for judging safe mixed transportation of oil and gas mixed transportation process includes the following steps:

[0006] S1, establishing a hydrothermal calculation simulation model of the oil-gas mixed pipeline according to the actual pipeline, and inputting the initial water content, initial flow rate and initial gas-oil ratio after oil-gas mixing into the model;

[0007] S2, calculate the temperature at the end of the pipeline and the pressure at the starting point through the model;

[0008] S3, according to whether the starting pressure, the end temperature, the gas flow rate, the liquid flow rate and the flow type meet the requirements, adjust the gas-oil ratio input in S1, and execute S2;

[0009] S4, obtaining the maximum gas-oil ratio that can be transported under the current output and water content, and judging whether the current output is the maximum output. If so, executing the next step; if not, increasing the output by 10% and executing S2;

[0010] S5, input different delivery rates in S1, repeat S2-S4, obtain the corresponding maximum gas-oil ratio that can be delivered under a certain water content and different delivery rates, and execute the next step;

[0011] S6, determine whether the current moisture content is the maximum moisture content, if so, execute the next step, if not, increase the moisture content by 10% and execute S2;

[0012] S7, input different water contents in S1, repeat S2-S6, obtain the maximum gas-oil ratio that can be transported corresponding to different water contents and different flow rates, fit the calculation formula of the oilfield mixed flow boundary, and obtain the mapping relationship between different flow rates, water contents and the maximum gas-oil ratio that can be transported in the block;

[0013] S8, judging whether the actual gas-oil ratio of the actual pipeline under the current working condition is greater than the maximum gas-oil ratio that it can transport. If it is greater than or equal to, the pipeline cannot transport mixed oil under the current working condition. If it is less than, the pipeline can transport mixed oil under the current working condition.

[0014] Preferably, in S3, it is determined whether the starting pressure is within the pressure range of the pipeline. If so, the next step is executed; if not, the gas-oil ratio is reduced by 10% and S2 is executed.

[0015] Preferably, in S3, it is determined whether the end point temperature satisfies 3 to 5° C. above the freezing point. If so, the next step is executed. If not, the gas-oil ratio is reduced by 10% and S2 is executed.

[0016] Preferably, in S3, it is determined whether the gas flow rate and flow velocity exceed the maximum speed specified in the specification. If not, the next step is executed. If exceeded, the gas-oil ratio is reduced by 10% and S2 is executed.

[0017] Preferably, in S3, check whether slug flow occurs in the flow pattern. If not, execute step 10. If it occurs, reduce the gas-oil ratio by 10% and execute S2.

[0018] Preferably, in S3, it is determined whether the gas-oil ratio is the same as that of the previous cycle. If so, the next step is executed. If not, the gas-oil ratio is increased by 10% and S2 is executed.

[0019] Preferably, in S8, the formula for calculating the mixed flow boundary of the oil field is: z=A+B*exp(-x / C)*exp(-y / D), wherein x, y and z represent the flow rate, water content and the maximum transportable gas-oil ratio, respectively, and A, B, C and D are constant coefficients, and the specific values ​​are obtained according to the fitting results.

[0020] A system for judging safe mixed transportation of oil and gas mixed transportation process, comprising:

[0021] The model building module is used to build a hydrothermal calculation simulation model of the oil and gas mixed pipeline according to the actual pipeline, and input the initial water content, initial flow rate and initial gas-oil ratio into the model;

[0022] Pipeline calculation module, used to calculate the temperature at the end point of the pipeline and the pressure at the starting point through the model;

[0023] The gas-oil ratio adjustment module is used to adjust the gas-oil ratio input in the model establishment module and execute the pipeline calculation module process according to whether the starting pressure, end temperature, gas flow rate, liquid flow rate and flow type meet the requirements;

[0024] The maximum output judgment module is used to obtain the maximum gas-oil ratio that can be transported under the current output and water content, and judge whether the current output is the maximum output. If so, execute the next module. If not, increase the output by 10% and execute the pipeline calculation module process;

[0025] The different throughput calculation module is used to input different throughputs in the model building module, repeat the process from the pipeline calculation module to the maximum throughput judgment module, obtain the corresponding maximum gas-oil ratio that can be transported under a certain water content and different throughputs, and execute the next module;

[0026] The maximum moisture content judgment module is used to judge whether the current moisture content is the maximum moisture content. If so, the next module is executed. If not, the moisture content is increased by 10% and the pipeline calculation module is executed.

[0027] The different water content calculation module is used to input different water content in the model building module, repeat the process from the pipeline calculation module to the maximum water content judgment module, obtain the maximum gas-oil ratio that can be transported corresponding to different water content and different flow rates, fit the calculation formula of the oil field mixed flow boundary, and obtain the mapping relationship between different flow rates, water content and the maximum gas-oil ratio that can be transported in the block;

[0028] The mixed transportation judgment module is used to judge whether the actual gas-oil ratio of the actual pipeline is greater than the maximum gas-oil ratio it can transport under the current working conditions. If it is greater than or equal to, the pipeline cannot carry mixed transportation under the current working conditions. If it is less than, the pipeline can carry mixed transportation under the current working conditions.

[0029] A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for determining safe mixed transportation of oil and gas mixed transportation process when executing the computer program.

[0030] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for determining safe mixed transportation of oil and gas mixed transportation process are implemented.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] The present invention arranges and combines a variety of transmission volumes, water contents, gas-oil ratios, etc., takes the flow safety of the gathering and transportation system as a constraint condition, and simulates to obtain corresponding gathering and transportation boundary values, thereby forming a system including obtaining and recording mixed transportation boundaries through a large number of simulations, and providing gathering and transportation boundary values ​​under different combination working conditions, providing relevant basis for the transformation or design of safe mixed transportation in oil fields, providing important reference for on-site mixed transportation planning and design, and ensuring that the optimization decision results meet the gathering and transportation boundary requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The mixed input boundary calculation flow chart of the present invention;

[0034] Figure 2 The simulation result of the present invention is a schematic diagram of pressure drop at different flow rates when the water content, gathering and transportation distance and pipe diameter are fixed;

[0035] Figure 3 A schematic diagram of the distribution of oil field blocks for determining mixed transportation boundaries according to the present invention;

[0036] Figure 4 A schematic diagram of a method for viewing a reference table of mixed transportation process operation parameter boundaries of the present invention;

[0037] Figure 5 For the present invention Figure 3 Topographic data of Block C;

[0038] Figure 6 This is the curve diagram of the maximum gas-oil ratio that can be transported corresponding to the water content of 5% in the C block of the present invention. DETAILED DESCRIPTION

[0039] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0040] It should be noted that the words "front", "rear", "left", "right", "up" and "down" used in the following description refer to directions in the drawings, and the words "inside" and "outside" refer to directions toward or away from the geometric center of a specific component, respectively.

[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0042] Compared with single-phase transportation, in oil and gas multiphase mixed pipelines, the gas-liquid medium not only has forces on the pipe wall of the transportation pipeline, but also the forces between the gas and liquid phases make the mutual forces between multiphase mixed fluids more complicated than those in uniform fluids, resulting in complex and variable factors affecting key process parameters such as pipeline pressure, flow rate, and temperature. Therefore, the calculation of multiphase flow pressure drop and temperature drop is complex, and it is difficult to establish an optimization model based on water-thermal constraints such as pressure drop and temperature drop formulas. A large number of multiphase flow hydraulic-thermal coupling simulation calculations and process scheme optimization demonstration based on this are required. The convenience of the software allows us to make judgments on different working conditions through a large number of simulations, and the calculation module embedded in the software has higher scientificity, accuracy and efficiency than manual experience. The dynamic simulation of multiphase mixed pipelines mainly includes the pressure drop and temperature drop simulation of multiphase mixed pipelines. Most engineering practices have shown that the calculation results of the pressure drop and temperature drop prediction of multiphase mixed pipelines using OLGA software and PIPESIM software are good.

[0043] The determination of the gathering and transportation boundary can provide a reference for the construction of mixed transportation technology. The concept of the gathering and transportation boundary comes from the experience of a certain oil field. my country's oil fields are scattered and the working conditions are different. The method is not of reference significance to oil fields with other geographical conditions and product properties. For example, the laws summarized by the above-mentioned Daqing Oilfield based on field experience and physical property experiments cannot be directly applied to other oil fields that have no experience in large-scale mixed transportation projects, such as the Tarim Oilfield and Changqing Oilfield. Therefore, the large size of the oilfield mixed transportation boundary is given based on the field operation management experience, the physical properties of crude oil itself, and the results of indoor rheological tests. It itself cannot fully reflect the actual flow characteristics of oil, gas and water in the gathering and transportation pipeline. A more scientific and more general method should be adopted to determine the gathering and transportation boundary. In addition, the above gathering and transportation boundary research based on experience judgment and experimental testing was mostly before 2010. With the rapid development of contemporary computer simulation technology, the research on this issue can also be further promoted.

[0044] Taking the Tarim Oilfield as an example, this study proposes a method to study the boundary of mixed transportation process operation parameters, and achieves the purpose of accurately predicting whether the mixed transportation process can be safely carried out by determining the boundary parameters. According to the oilfield development data, the boundary of the oilfield mixed transportation process operation parameters is proposed through multiphase flow simulation software (OLGA or PIPESIM), including the mixed transportation boundary of the maximum gas-oil ratio that can be transported under different pipe diameters, flow rates, and water content. In this study, many parameter changes were considered, including the differences in oil and gas physical properties and gas-oil ratios in different blocks, the changes in flow rate in the same block with the decline of production years or the increase of flow rate due to production demand, and the influence of water injection development in the middle and late stages of the oilfield on the water content of the pipe flow transported materials. Through the method used in this study, a rich reference table of mixed transportation process operation parameter boundaries can be formed for the oilfield where it is located. The recorded operation boundaries have application reference value for the mixed transportation pipeline design work of different blocks of the oilfield, and the modification of simulation software parameters is relatively convenient. Therefore, the proposed mixed transportation process operation parameter boundary research method can also provide a reference for the mixed transportation process design of other oilfields.

[0045] The specific process of the method for determining safe mixed transportation of oil and gas mixed transportation process described in this application includes the following steps:

[0046] In order to achieve the above purpose, the present invention has designed a set of technical solutions, which can be carried out according to the following steps when used:

[0047] (1) Data Collection

[0048] The relevant data of the oil field are collected by consulting materials and collecting on-site data, mainly including:

[0049] ① Physical properties of oil products: carbon number distribution, density, viscosity, water content, pour point, wax precipitation point of crude oil; relative density and carbon number distribution of natural gas.

[0050] ② Pipeline data: pipe diameter, pipe length, wall thickness, pipe material, insulation material, and design pressure.

[0051] ③Operation data: pressure and temperature at the pipeline starting point, pressure and temperature at the pipeline end point.

[0052] ④Topographic data: elevation along the pipeline.

[0053] ⑤ Environmental data: extreme maximum ground temperature, extreme minimum ground temperature, average ground temperature (monthly, quarterly).

[0054] (2) Figure 1 As shown, it is the mixed input boundary calculation

[0055] Step 1: Establish a pipeline model in the multiphase flow simulation software (PIPESIM or OLGA) and input the following basic parameters, mainly including:

[0056] ① Physical properties of oil products: carbon number distribution, density, and pour point of crude oil; relative density and carbon number distribution of natural gas.

[0057] ②Pipeline data: pipe diameter, pipe length, wall thickness, roughness, and heat transfer coefficient.

[0058] ③Operation data: pressure and temperature at the pipeline starting point, pressure and temperature at the pipeline end point.

[0059] ④Topographic data: elevation along the pipeline.

[0060] ⑤Environmental data: ambient temperature.

[0061] ⑥ Coefficient: pipeline heat transfer coefficient, hydraulic friction coefficient.

[0062] ⑦ Constant value: end pressure and starting temperature.

[0063] Step 2: Input the initial water content after oil and gas mixing into the software model (the initial water content is selected based on field data, and the water content range is usually 5% to 75%, which can also be modified based on actual conditions).

[0064] Step 3: Input the initial flow rate after oil and gas mixing into the software model (the initial flow rate is selected based on the field data, and the flow rate range is usually 25 to 3000m 3 / d, which can also be modified according to actual conditions).

[0065] Step 4: Input the initial gas-oil ratio after oil-gas mixing into the software model (the initial gas-oil ratio is selected according to the field data, and it is usually stipulated that the gas-oil ratio should be greater than 0m 3 / m 3 , cannot be negative).

[0066] Step 5: Run the model established in the above steps to calculate the temperature at the end point of the pipeline and the pressure at the starting point;

[0067] Step 6: Figure 2 As shown, determine whether the starting pressure is within the pipeline pressure range (the pipeline pressure range is determined according to the pipeline design specifications). If so, execute the next step. If not, reduce the gas-oil ratio by 10% and execute step 5.

[0068] Step 7: Determine whether the end temperature is 3-5°C above the freezing point. If so, proceed to the next step. If not, reduce the gas-oil ratio by 10% and proceed to step 5.

[0069] Step 8: Determine whether the gas flow rate and liquid flow rate do not exceed the maximum speed specified in the specification (generally, the gas flow rate is less than 8m / s, the liquid flow rate is less than 2m / s, and the gas and liquid flow rates do not exceed the erosion speed, which can also be modified according to actual conditions). If so, proceed to the next step, reduce the gas-oil ratio by 10%, and execute step 5.

[0070] Step 9: Check whether the flow pattern does not have slugging flow. If so, proceed to step 10. If not, reduce the gas-oil ratio by 10% and proceed to step 5.

[0071] Step 10: Determine whether the gas-oil ratio is the same as that of the previous cycle. If so, proceed to the next step. If not, increase the gas-oil ratio by 10% and proceed to step 5.

[0072] Step 11: Obtain the maximum gas-oil ratio that can be transported under the current flow rate and water content, record the result in the corresponding EXCEL table, and execute step 12.

[0073] Step 12: Determine whether the current input is the maximum input. If so, proceed to the next step. If not, increase the input by 10% and proceed to step 4.

[0074] Step 13: Summarize the results recorded in each execution of step 11 in an EXCEL table to obtain the corresponding maximum gas-oil ratio values ​​for a certain water content and different output rates, draw the output rate-maximum gas-oil ratio curve under the current water content, and proceed to the next step.

[0075] Step 14: Determine whether the current moisture content is the maximum moisture content. If so, proceed to the next step. If not, increase the moisture content by 10%, and proceed to step 4, and then proceed to step 2.

[0076] Step 15: Summarize the results recorded in each execution of step 13 in an EXCEL table to obtain the values ​​of the maximum gas-oil ratio that can be transported corresponding to different water cuts and different transmission rates. Fit the oil field mixed transmission boundary calculation formula through EXCEL or ORIGIN related functions to obtain the mapping relationship between different transmission rates, water cuts and the maximum gas-oil ratio that can be transported in the block, and execute the next step.

[0077] The basic form of the formula for calculating the mixed transportation boundary of an oil field is z=A+B*exp(-x / C)*exp(-y / D), where x, y, and z represent the flow rate, water content, and maximum gas-oil ratio that can be transported, respectively. x and y are independent variables, which are input by the user in the step of "mixed transportation determination"; z is the dependent variable, and the specific value can be calculated according to the formula. A, B, C, and D are constant coefficients, and specific values ​​must be obtained based on the fitting results. If the setting values ​​of the basic parameters are different in different cases, the values ​​of the constant coefficients will also be different; exp represents an exponential function. The main purpose of "fitting the calculation formula for the mixed transportation boundary of an oil field through EXCEL or ORIGIN related functions" in step 15 is to determine the specific values ​​of the constant coefficients A, B, C, and D in the formula.

[0078] Step 16: End

[0079] Note: Multiple steps in this process need to be executed in a loop, and the results obtained from each loop calculation are recorded and summarized in steps 11, 13, and 15.

[0080] The mixed transportation boundary is the maximum gas-oil ratio that can be transported as the boundary for judging whether mixed transportation is possible.

[0081] (3) Mixed input determination

[0082] Step 1: In the oil field mixed flow boundary calculation formula, input the current flow rate (x) and water content (y) of the oil field, and calculate the maximum gas-oil ratio (z) that can be transported in the block.

[0083] Step 2: Determine whether the current operating condition is within the safe mixed transportation boundary (if the actual gas-oil ratio exceeds the maximum gas-oil ratio that can be transported, the current operating condition is not within the safe mixed transportation boundary; if the actual gas-oil ratio is less than the maximum gas-oil ratio that can be transported, the current operating condition is within the safe mixed transportation boundary). If so, proceed to the next step; if not, proceed to step 4.

[0084] Step 3: Output the conclusion. This working condition can be mixed.

[0085] Step 4: Output the conclusion. This working condition cannot be mixed.

[0086] like Figure 3 As shown, the mixed transportation boundary of pipelines between each oil field block marked with letters is calculated, so as to realize the mixed transportation judgment of the entire oil field area.

[0087] like Figure 4 As shown, this is a reference table of mixed transportation process operating parameter boundaries, in which the recorded operating boundaries have application reference value for the mixed transportation pipeline design work in different blocks of the oil field.

[0088] In this study, changes in many parameters were taken into account, including the differences in oil and gas physical properties and gas-oil ratios in different blocks, the changes in the flow rate in the same block due to the decline in production years or the increase in flow rate due to production demand, and the impact of water injection development in the middle and late stages of the oil field on the water content of the material transported by the pipe flow.

[0089] This study has formed a rich reference table of mixed transportation process operating parameter boundaries for the oil field. The recorded operating boundaries have application reference value for the mixed transportation pipeline design work in different blocks of the oil field, and the modification of simulation software parameters is relatively convenient. Therefore, the proposed mixed transportation process operating parameter boundary research method can also provide a reference for the mixed transportation process design of other oil fields.

[0090] The following will take the actual situation of an oil field as an example. Figure 3 As shown, mixed input judgment includes the following process:

[0091] (1) Basic data

[0092] by Figure 3 Taking Block C as an example, the physical properties of the oil are shown in Table 1 and Table 2:

[0093] Table 1 Physical properties of oil products produced in Block C

[0094]

[0095]

[0096] Table 2 Physical properties of natural gas produced in Block C

[0097]

[0098] The pipeline data is shown in Table 3:

[0099] Table 3 Basic parameters of pipeline in Block C

[0100]

[0101] Operation data: starting temperature 50℃; end pressure 0.5Mpa. Topographic data of Block C are as follows: Figure 5 shown.

[0102] Environmental data: Average ground temperature 10℃.

[0103] (2) Boundary calculation

[0104] Step 1: Enter basic parameters, including:

[0105] ① Physical properties of oil products: carbon number distribution, density, viscosity, water content, pour point, wax precipitation point of crude oil; relative density and carbon number distribution of natural gas.

[0106] ② Pipeline data: pipe diameter, pipe length, wall thickness, pipe material, insulation material, and design pressure.

[0107] ③Operation data: pressure and temperature at the pipeline starting point, pressure and temperature at the pipeline end point.

[0108] ④Topographic data: elevation along the pipeline.

[0109] ⑤ Environmental data: extreme maximum ground temperature, extreme minimum ground temperature, average ground temperature (monthly, quarterly).

[0110] Step 2: Set the initial moisture content to 5%.

[0111] Step 3: Set the initial block input to 25m 3 / d.

[0112] Step 4: Set the initial gas-fuel ratio to 10sm 3 / sm 3 .

[0113] Step 5: According to the hydrothermal calculation software (PIPESIM or OLGA), the temperature at the end point is calculated to be 22°C and the pressure at the starting point is 2.75 MPa.

[0114] Step 6: After judging that the starting pressure is within the pipeline pressure range (5.5MPa), proceed to the next step.

[0115] Step 7: After judging that the end point temperature is 3 to 5°C above the freezing point, proceed to the next step.

[0116] Step 8: The software calculates the gas flow rate to be 4.77 m / s and the liquid flow rate to be 1.68 m / s, both of which do not exceed the maximum speed specified in the specification (generally the gas flow rate is less than 8 m / s, the liquid flow rate is less than 2 m / s, and the gas and liquid flow rates do not exceed the erosion speed of 14.2 m / s). Go to the next step.

[0117] Step 9: Check that the flow pattern is transition-intermittent and there is no slug flow along the entire line. Go to the next step.

[0118] Step 10: Return to step 4, increase the gas-oil ratio by 10% each time, and repeat steps 5 to 9. Recalculate the end temperature and starting pressure of the pipeline, and determine whether it meets the requirements for safe pipeline transportation, until the gas-oil ratio that meets the above conditions is the same for two consecutive cycles. At this time, the corresponding gas-oil ratio is 8000sm 3 / sm 3 , proceed to the next step.

[0119] Step 11: Output is 25m 3 / d, the maximum gas-oil ratio that can be transported when the water content is 5% is 8000sm 3 / sm 3 , record the result in the corresponding EXCEL table and proceed to the next step.

[0120] Step 12: After judging 25m 3 / d is not the maximum output (in this case, the maximum output is set to 2100m 3 / d, different values ​​can be set according to actual conditions), return to step 3, increase the pipeline flow rate by 10% each time, and execute steps 4 to 11 cyclically, recalculate the pipeline terminal temperature and starting pressure, and determine whether they meet the requirements for safe pipeline transportation, and obtain the maximum gas and oil that can be transported at different flow rates when the water content is 5%, and execute the next step.

[0121] Step 13: Summarize the output results recorded in each execution of step 11 and plot the output when the water content is 5% and the flow rate is 25m 3 / d~2100m 3 / d The flow rate when the range changes ~ The maximum gas-oil ratio curve that can be transported is as follows Figure 6 as shown, and proceed to the next step.

[0122] Step 14: It is determined that 5% is not the maximum water content (in this case, the maximum water content is set to 75%, and different values ​​can be set according to actual conditions. Return to step 2, increase the water content by 10% each time, and loop through steps 3 to 13. Recalculate the end temperature and starting pressure of the pipeline, and determine whether it meets the requirements for safe pipeline transportation. Draw the relationship curve between the output corresponding to different water contents and the maximum gas-oil ratio that can be transported, and proceed to the next step.

[0123] Step 15: Summarize the output results recorded in each execution of step 13 to obtain the value of the transmission capacity ~ the maximum gas-oil ratio that can be transmitted when the water cut varies between 5% and 75%. Through the ORIGIN related function, the calculation formula for the oil field mixed transmission boundary is fitted as z=90.37+7280.34*exp(-x / 275.85)*exp(-y / 1), where x, y, and z represent the transmission capacity, water cut, and the maximum gas-oil ratio that can be transmitted, respectively. The mapping relationship between different transmission capacities, water cuts, and the maximum gas-oil ratio that can be transmitted in this block is obtained, and the next step is executed.

[0124] Step 16: End.

[0125] (3) Mixed input determination

[0126] Step 1: Sorting out the basic information of the oil field, the actual production of the block is 1073m 3 / d, the actual water content is 15%, and the actual gas-oil ratio GOR is 189sm 3 / sm 3 .

[0127] Step 2: Set the input x to 1073 m 3 / d, water content y=15% Input the oil field mixed transportation boundary calculation formula z=90.37+7280.34*exp(-x / 275.85)*exp(-y / 1) fitted in the boundary calculation.

[0128] Step 3: The maximum gas-oil ratio that can be transported in this block is 136sm 3 / sm 3 , less than the actual gas-oil ratio of 189sm 3 / sm 3 , indicating that the current gas-oil ratio of the block exceeds the safe mixed transportation limit.

[0129] Step 4: Output the conclusion. This working condition cannot be mixed.

[0130] The following are device embodiments of the present invention, which can be used to perform method embodiments of the present invention. For details not disclosed in the device embodiments, please refer to the method embodiments of the present invention.

[0131] In yet another embodiment of the present invention, a system for judging the safety of oil and gas mixed transportation process is provided. The system for judging the safety of oil and gas mixed transportation process can be used to implement the above-mentioned method for judging the safety of oil and gas mixed transportation process. Specifically, the system for judging the safety of oil and gas mixed transportation process includes a model building module, a pipeline calculation module, a gas-oil ratio adjustment module, a maximum output judgment module, a different output calculation module, a maximum water content judgment module, a different water content calculation module and a mixed transportation judgment module.

[0132] Among them, the model building module is used to establish a hydrothermal calculation simulation model of the oil and gas mixed pipeline according to the actual pipeline, and input the initial water content, initial flow rate and initial gas-oil ratio into the model.

[0133] The pipeline calculation module is used to calculate the temperature at the end point of the pipeline and the pressure at the starting point through the model.

[0134] The gas-oil ratio adjustment module is used to adjust the gas-oil ratio input in the model establishment module and execute the pipeline calculation module process according to whether the starting pressure, end temperature, gas flow rate, liquid flow rate and flow type meet the requirements.

[0135] The maximum output judgment module is used to obtain the maximum gas-oil ratio that can be transported under the current output and water content, and to determine whether the current output is the maximum output. If so, the next module is executed. If not, the output is increased by 10% and the pipeline calculation module process is executed.

[0136] The different throughput calculation module is used to input different throughputs in the model building module, repeat the pipeline calculation module to the maximum throughput judgment module process, obtain the corresponding maximum gas-oil ratio that can be transported under a certain water content and different throughputs, and execute the next module.

[0137] The maximum water content judgment module is used to judge whether the current water content is the maximum water content. If so, the next module is executed. If not, the water content is increased by 10% and the pipeline calculation module is executed.

[0138] The different water content calculation modules are used to input different water contents in the model building module, repeat the process from the pipeline calculation module to the maximum water content judgment module, obtain the maximum transportable gas-oil ratio corresponding to different water contents and different transmission rates, fit the calculation formula of the oilfield mixed transmission boundary, and obtain the mapping relationship between different transmission rates, water contents and the maximum transportable gas-oil ratio of the block.

[0139] The mixed transportation judgment module is used to judge whether the actual gas-oil ratio of the actual pipeline is greater than the maximum gas-oil ratio it can transport under the current working conditions. If it is greater than or equal to, the pipeline cannot be mixed under the current working conditions. If it is less than, the pipeline can be mixed under the current working conditions.

[0140] In another embodiment of the present invention, a terminal device is provided, the terminal device includes a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGAs), or other processors. GateArray, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions to implement the corresponding method flow or corresponding functions; the processor described in the embodiment of the present invention can be used for the operation of the oil and gas mixed transportation process safe mixed transportation judgment method, including: S1, establishing an oil and gas mixed transportation pipeline water and heat calculation simulation model of the pipeline according to the actual pipeline, and inputting the initial water content, initial flow rate and initial gas-oil ratio into the model; S2, calculating the temperature of the pipeline end point and the pressure of the starting point through the model; S3, adjusting the gas-oil ratio input in S1 according to whether the starting point pressure, end point temperature, gas flow rate, liquid flow rate and flow type meet the requirements, and executing S2; S4, obtaining the maximum gas-oil ratio that can be transported corresponding to the current flow rate and water content, and judging Whether the current output is the maximum output, if so, execute the next step, if not, increase the output by 10% and execute S2; S5, input different outputs in S1, repeat S2-S4, obtain the value of the maximum gas-oil ratio that can be transported under a certain water content and different outputs, and execute the next step; S6, determine whether the current water content is the maximum water content, if so, execute the next step, if not, increase the water content by 10%, and execute S2; S7, input different water contents in S1, repeat S2-S6, obtain the maximum gas-oil ratio that can be transported corresponding to different water contents and different outputs, fit the calculation formula for the mixed transportation boundary of the oil field, and obtain the mapping relationship between different outputs, water contents and the maximum gas-oil ratio that can be transported in the block; S8, determine whether the actual gas-oil ratio of the actual pipeline is greater than the maximum gas-oil ratio that can be transported under the current working condition, if it is greater than or equal to, the pipeline cannot be mixed under the current working condition, if it is less than, the pipeline can be mixed under the current working condition.

[0141] In another embodiment, the present invention further provides a computer-readable storage medium (Memory), which is a memory device in a terminal device for storing programs and data. It is understandable that the computer-readable storage medium here can include both the built-in storage medium in the terminal device and the extended storage medium supported by the terminal device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by the processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory.

[0142] One or more instructions stored in a computer-readable storage medium can be loaded and executed by a processor to implement the corresponding steps of the method for determining safe mixed transportation of oil and gas mixed transportation process in the above-mentioned embodiment; one or more instructions in the computer-readable storage medium are loaded by the processor and the following steps are executed: S1, a hydrothermal calculation simulation model of the oil and gas mixed transportation pipeline of the pipeline is established according to the actual pipeline, and the initial water content, initial flow rate and initial gas-oil ratio are input into the model; S2, the temperature at the end point of the pipeline and the pressure at the starting point are calculated by the model; S3, according to whether the starting point pressure, the end point temperature, the gas flow rate, the liquid flow rate and the flow type meet the requirements, the gas-oil ratio input in S1 is adjusted, and S2 is executed; S4, the maximum gas-oil ratio that can be transported corresponding to the current flow rate and water content is obtained, and it is judged whether the current flow rate is the maximum flow rate, if so, the next step is executed, if not, the flow rate is increased. The amount is increased by 10%, and S2 is executed; S5, different delivery amounts are input in S1, S2-S4 are repeated, the values ​​of the maximum gas-oil ratio that can be transported corresponding to the fixed water content and different delivery amounts are obtained, and the next step is executed; S6, whether the current water content is the maximum water content is determined, if so, the next step is executed, if not, the water content is increased by 10%, and S2 is executed; S7, different water content is input in S1, S2-S6 are repeated, the maximum gas-oil ratio that can be transported corresponding to different water content and different delivery amounts is obtained, the calculation formula for the mixed transportation boundary of the oil field is fitted, and the mapping relationship between different delivery amounts, water content and the maximum gas-oil ratio that can be transported in the block is obtained; S8, whether the actual gas-oil ratio of the actual pipeline is greater than the maximum gas-oil ratio that can be transported under the current working condition, if it is greater than or equal to, the pipeline cannot be mixed under the current working condition, if it is less than, the pipeline can be mixed under the current working condition.

[0143] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0144] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0145] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0147] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0148] It should be understood that the above description is for illustration and not for limitation. Many embodiments and many applications beyond the examples provided will be apparent to those skilled in the art upon reading the above description. Therefore, the scope of the present teachings should not be determined with reference to the above description, but rather with reference to the foregoing claims and the full scope of equivalents to which such claims are entitled. For the purpose of comprehensiveness, all articles and references, including disclosures of patent applications and publications, are incorporated herein by reference. The omission of any aspect of the subject matter disclosed herein in the foregoing claims is not intended to be a waiver of such subject matter, nor should it be considered that the applicant has not considered such subject matter to be part of the disclosed inventive subject matter.

Claims

1. A method for judging safe mixed transportation of oil and gas mixed transportation process, characterized in that: The process includes: S1, establishing a hydrothermal calculation simulation model of the oil-gas mixed pipeline according to the actual pipeline, and inputting the initial water content, initial flow rate and initial gas-oil ratio after oil-gas mixing into the model; S2, calculate the temperature at the end of the pipeline and the pressure at the starting point through the model; S3, according to whether the starting pressure, the end temperature, the gas flow rate, the liquid flow rate and the flow type meet the requirements, adjust the gas-oil ratio input in S1, and execute S2; S4, obtaining the maximum gas-oil ratio that can be transported under the current output and water content, and judging whether the current output is the maximum output. If so, proceed to the next step. If not, increase the output by 10% and execute S2; S5, input different delivery rates in S1, repeat S2-S4, obtain the corresponding maximum gas-oil ratio that can be delivered under a certain water content and different delivery rates, and execute the next step; S6, determine whether the current moisture content is the maximum moisture content, if so, execute the next step, if not, increase the moisture content by 10% and execute S2; S7, input different water contents in S1, repeat S2-S6, obtain the maximum gas-oil ratio that can be transported corresponding to different water contents and different flow rates, fit the calculation formula of the oilfield mixed flow boundary, and obtain the mapping relationship between different flow rates, water contents and the maximum gas-oil ratio that can be transported in the block; S8, judging whether the actual gas-oil ratio of the actual pipeline under the current working condition is greater than the maximum gas-oil ratio that it can transport. If it is greater than or equal to, the pipeline cannot transport mixed oil under the current working condition. If it is less than, the pipeline can transport mixed oil under the current working condition.

2. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S3, it is determined whether the starting pressure is within the pressure range of the pipeline. If so, the next step is executed. If not, the gas-oil ratio is reduced by 10% and S2 is executed.

3. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S3, it is determined whether the end point temperature satisfies 3 to 5°C above the freezing point. If so, the next step is executed. If not, the gas-oil ratio is reduced by 10% and S2 is executed.

4. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S3, it is determined whether the gas flow rate and flow velocity exceed the maximum speed specified in the specification. If not, the next step is executed. If exceeded, the gas-oil ratio is reduced by 10% and S2 is executed.

5. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S3, check whether slug flow occurs in the flow pattern. If not, execute step 10. If it occurs, reduce the gas-oil ratio by 10% and execute S2.

6. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S3, it is determined whether the gas-oil ratio is the same as that of the previous cycle. If so, the next step is executed. If not, the gas-oil ratio is increased by 10% and S2 is executed.

7. The method for determining safe mixed transportation of oil and gas mixed transportation according to claim 1, characterized in that: In S8, the formula for calculating the mixed flow boundary of the oil field is: z = A + B*exp(-x / C)*exp(-y / D), where x, y and z represent the flow rate, water content and the maximum transportable gas-oil ratio, respectively, and A, B, C and D are constant coefficients. The specific values ​​are obtained based on the fitting results.

8. A system for judging safe mixed transportation of oil and gas mixed transportation, characterized in that: include: The model building module is used to build a hydrothermal calculation simulation model of the oil and gas mixed pipeline according to the actual pipeline, and input the initial water content, initial flow rate and initial gas-oil ratio into the model; Pipeline calculation module, used to calculate the temperature at the end point of the pipeline and the pressure at the starting point through the model; The gas-oil ratio adjustment module is used to adjust the gas-oil ratio input in the model establishment module and execute the pipeline calculation module process according to whether the starting pressure, end temperature, gas flow rate, liquid flow rate and flow type meet the requirements; The maximum output judgment module is used to obtain the maximum gas-oil ratio that can be transported under the current output and water content, and judge whether the current output is the maximum output. If so, execute the next module. If not, increase the output by 10% and execute the pipeline calculation module process; The different throughput calculation module is used to input different throughputs in the model building module, repeat the process from the pipeline calculation module to the maximum throughput judgment module, obtain the corresponding maximum gas-oil ratio that can be transported under a certain water content and different throughputs, and execute the next module; The maximum moisture content judgment module is used to judge whether the current moisture content is the maximum moisture content. If so, the next module is executed. If not, the moisture content is increased by 10% and the pipeline calculation module is executed. The different water content calculation module is used to input different water content in the model building module, repeat the process from the pipeline calculation module to the maximum water content judgment module, obtain the maximum gas-oil ratio that can be transported corresponding to different water content and different flow rates, fit the calculation formula of the oil field mixed flow boundary, and obtain the mapping relationship between different flow rates, water content and the maximum gas-oil ratio that can be transported in the block; The mixed transportation judgment module is used to judge whether the actual gas-oil ratio of the actual pipeline is greater than the maximum gas-oil ratio it can transport under the current working conditions. If it is greater than or equal to, the pipeline cannot carry mixed transportation under the current working conditions. If it is less than, the pipeline can carry mixed transportation under the current working conditions.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for determining safe mixed transportation of oil and gas mixed transportation process as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for determining safe mixing of oil and gas mixed transportation process as claimed in any one of claims 1 to 7 are implemented.