Screening method, device and equipment for oil and gas metering and testing and storage medium

By screening the optimal test and measurement scheme in oil and gas scenarios, the existing oil and gas metering and test technologies have been solved, and the refined management and digital transformation of oil and gas wells have been achieved, reducing the measurement cost.

CN119720620AActive Publication Date: 2025-03-28PETROCHINA CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311280306.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

The existing oil and gas metering and testing technologies have problems such as poor accuracy, low frequency, high cost and imperfect management systems, which seriously restrict the digital transformation and intelligent development of oil fields.

Method used

A screening method and device for oil and gas metering and testing is provided. By determining the phase state, working conditions and parameter terms of the oil well under preset oil and gas scenarios, building an objective function and searching for optimization based on the optimization algorithm, the optimal test plan and the optimal metering plan are obtained, thereby generating an oil well testing strategy.

Benefits of technology

This method can comprehensively consider the applicability, economy and advanced technology, develop serialized and differentiated intelligent metrology technologies, help refined management and digital transformation of oil and gas wells, and reduce the metrology cost of oil and gas wells.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119720620A_ABST
    Figure CN119720620A_ABST
Patent Text Reader

Abstract

The invention provides a screening method, device and equipment for oil and gas metering and testing and a storage medium, and belongs to the technical field of oil and gas metering and testing. The method comprises the steps of determining an oil well phase state, an oil well working condition and an oil well parameter item in a preset oil and gas scene; constructing a target function according to the oil well parameter items and the pre-selected test scheme set; wherein the oil well parameter item and the pre-selected test scheme set are used as input parameters of the target function, and the pre-selected test scheme set comprises at least one test scheme and at least one metering scheme; constructing a screening constraint condition based on the oil well phase state and the oil well working condition; and based on a preset target optimization algorithm and the screening constraint condition, optimizing the target function to obtain an optimization result, the optimization result comprising an optimal verification scheme and an optimal measurement scheme. According to the invention, fine management and digital transformation of the oil and gas well are effectively assisted, and the metering cost of the oil and gas well is reduced.
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 metering and testing, and in particular to a screening method for oil and gas metering and testing, a screening device for oil and gas metering and testing, an electronic device and a computer-readable storage medium. Background Art

[0002] Multiphase metering and testing of oil and gas well output fluids is an indispensable daily task in oil fields and the basis for reservoir evaluation, dynamic analysis, and production optimization. China alone has more than 800,000 oil, gas and water wells, more than 20,000 metering rooms and testing stations, and 200,000 oil and gas metering and testing practitioners. Efficient and accurate online metering of multiphase flow is a major proposition for lean management, digital transformation, and quality and efficiency improvement in oil fields. Multiphase flow has complex components, changeable flow patterns, and harsh on-site testing environments. The development of efficient, high-precision, widely applicable, and low-cost multiphase metering methods and devices is a key technology to solve the above propositions, and it is also a global technical challenge.

[0003] At present, metering in the metering room by tipping bucket and manual sampling for testing of water content still dominate the market, with poor accuracy, low efficiency and high cost, which seriously restricts the digital transformation and intelligent development of oil fields. The present invention proposes to comprehensively promote serialized and differentiated multiphase flow online metering and testing technologies in oil fields, comprehensively consider the technical applicability, economy and advancement, and comprehensively cover low-yield and complex oil and gas wells; take the demonstration area as the guide to create accurate, efficient and economical metering and intelligent production models, mature technologies and management systems, and accelerate the promotion and application of suggestions. It is expected that after full promotion, a large amount of investment and cost can be saved every year by reducing the investment in metering room and pipeline construction and reducing the number of employees; by improving the intelligence level of oil and gas wells, reshaping the work connotation of oil producers, realizing the transformation of oil producers from blue-collar workers to white-collar workers, and promoting high-quality development of oil fields.

[0004] Whether it is an oil, gas or water production well or a test well, every well needs to be measured and tested every day. Measurement and testing data are the basis for evaluating reservoir capacity, understanding reservoir conditions, formulating production plans, and fine management of oil and gas wells; at the same time, as one of the important data for oilfield digital construction, measurement and testing data is the core data of oil and gas well digital twins and an important basis for production control. Its quality and abundance directly determine the accuracy, effectiveness and stability of oil well big data modeling.

[0005] There are many problems with existing metering technology, which restrict the refined management and intelligent development of oil fields. For example, at present, tipping buckets, glass tubes, and three-phase separators are still commonly used metering and testing methods in oil fields, and there are the following problems: (1) Poor accuracy. The average relative error of conventional oil well metering is 10%-20%, and the relative error of unconventional oil and gas well metering is 10%-100%; (2) Low frequency. A single well is tested once every 10 days on average, and the real-time data is poor; (3) High cost. The ground construction and procurement investment of metering rooms, test stations, metering vehicles, three-phase separators, water jacket furnaces, multi-way valves, flow meters, etc. accounts for a large proportion of ground investment; (4) The management system is imperfect, and there are a large number of errors, false and missing problems in production data, which affect the refined management of oil and gas wells and digital construction; In addition, oil and gas metering and testing practitioners are engaged in metering transcription, water content testing, equipment maintenance and other work every day, which is labor-intensive and has high labor costs.

[0006] In the past decade, multiphase flow online metering technology has become an international research hotspot. Various oil companies and service companies have also developed or purchased a number of online metering methods and equipment represented by multiphase flowmeters. However, the following problems exist in actual applications: (1) Digital metering technology still has limitations. Conventional oil well digital metering methods represented by "power diagram oil measurement" have become the main technology for companies to achieve low-cost, refined, and online metering. However, "power diagram oil measurement" cannot test the water content and cannot be applied to gas wells and rodless lift wells. (2) Multiphase flowmeters have technical bottlenecks. Multiphase flowmeters are the mainstream technology for online metering of complex oil and gas wells. There are many types of commercial multiphase flowmeters based on different technical principles such as capacitance, conductivity, microwave, ultrasound, electromagnetic, and radiation. However, each technology has its own scope of application and cannot effectively cover various complex working conditions. In particular, the technical applicability of unconventional oil and gas metering is still not high. (3) There is a lack of online metering standards. No online metering standards for multiphase flow have been formed at home and abroad. Conventional oil fields are mostly price-oriented, while unconventional oil fields use experiments to select technologies, which has high time costs and poor long-term applicability. Summary of the invention

[0007] The purpose of the present invention is to provide a screening method, device, equipment and storage medium for oil and gas metering and testing to solve the problem.

[0008] In order to achieve the above object, on the one hand, the present invention provides a screening method for oil and gas measurement and analysis, the method comprising:

[0009] Under the preset oil and gas scenario, determine the oil well phase state, oil well operating conditions and oil well parameter items;

[0010] Constructing an objective function according to the oil well parameter items and the pre-selected test scheme set; wherein the oil well parameter items and the pre-selected test scheme set serve as input parameters of the objective function, and the pre-selected test scheme set includes: at least one assay scheme and at least one metering scheme;

[0011] Construct screening constraints based on well phase and well operating conditions;

[0012] Based on the preset target optimization algorithm and screening constraints, the target function is optimized to obtain the optimization result, which includes: the optimal test plan and the optimal measurement plan.

[0013] Preferably, the method further comprises:

[0014] Generate oil well testing strategies under preset oil and gas scenarios based on the optimal testing scheme and optimal metering scheme;

[0015] Push the oil well testing strategy.

[0016] Preferably, the preset target optimization algorithm is a particle swarm optimization algorithm, a genetic algorithm or an ant colony algorithm.

[0017] Preferably, the preset oil production scenarios include: single well, metering room, platform, gathering and transportation station and oil and gas testing; the oil well phase states include: single-phase flow, oil-water two-phase flow, oil-water two-phase, low gas content three-phase and oil, gas and water three-phase; the oil well operating conditions include: low-yield oil wells, water wells, medium and high-yield oil wells, measure wells, tight oil and gas, shale oil and gas, heavy oil, carbon dioxide throughput and new energy.

[0018] Preferably, the objective function comprises: a measurement function;

[0019] According to the oil well parameter items and the pre-selected test plan set, the objective function is constructed, including:

[0020] Obtain the measurement reference accuracy of each measurement scheme and the measurement test accuracy of oil well parameter items;

[0021] A metrology function is constructed based on metrology reference accuracy, metrology test accuracy and corresponding metrology weights.

[0022] Preferably, the objective function comprises: an assay function;

[0023] According to the oil well parameter items and the pre-selected test plan set, the objective function is constructed, including:

[0024] Obtain the reference accuracy of each test plan and the test accuracy of oil well parameters;

[0025] An assay function is constructed based on the assay reference accuracy, the assay test accuracy and the corresponding assay weights.

[0026] Preferably, based on the preset target optimization algorithm and the screening constraints, the target function is optimized to obtain the optimization result, including:

[0027] Construct an evaluation function based on the accuracy, cost and corresponding weights of the pre-selected test solution set;

[0028] Based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain multiple suboptimal solutions;

[0029] Evaluate each optimal solution according to the evaluation function to obtain the evaluation value of each suboptimal solution;

[0030] Filter the maximum value among all evaluation values ​​and take the suboptimal solution corresponding to the maximum value as the optimization result.

[0031] On the other hand, the present invention also provides a screening device for oil and gas measurement and testing, which is used to implement the above-mentioned screening method for oil and gas measurement and testing, and the device comprises:

[0032] A determination module, used to determine the oil well phase state, oil well operating conditions and oil well parameter items under a preset oil and gas scenario;

[0033] A first construction module is used to construct an objective function according to oil well parameter items and a pre-selected test solution set; wherein the oil well parameter items and the pre-selected test solution set are used as input parameters of the objective function, and the pre-selected test solution set includes: at least one test solution and at least one metering solution;

[0034] The second construction module is used to construct screening constraints based on the oil well phase state and oil well operating conditions;

[0035] The optimization module is used to optimize the objective function based on the preset target optimization algorithm and the screening constraints to obtain the optimization results, which include: the optimal test plan and the optimal measurement plan.

[0036] On the other hand, the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil and gas metering and testing screening method when executing the computer program.

[0037] On the other hand, the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned screening method for oil and gas metering and testing.

[0038] Through the above technical solution, the present invention has at least the following technical effects:

[0039] The screening method of the present invention targets different working conditions, scenarios, and phases, comprehensively considers the technical applicability, economy, and advancement, and develops serialized and differentiated intelligent metering technologies, which effectively assists in the refined management and digital transformation of oil and gas wells, and reduces the cost of oil and gas well metering.

[0040] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:

[0042] Figure 1 It is a flow chart of a screening method for oil and gas measurement and analysis provided by one embodiment of the present invention;

[0043] Figure 2 It is a block diagram of a screening device for oil and gas metering and testing provided by one embodiment of the present invention. DETAILED DESCRIPTION

[0044] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.

[0045] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0046] Embodiment 1

[0047] Figure 1 is a flow chart of a screening method for oil and gas measurement and analysis provided by one embodiment of the present invention, such as Figure 1 As shown, this embodiment provides a screening method for oil and gas measurement and testing, the method comprising:

[0048] Step S101: Under a preset oil and gas scenario, determine the oil well phase state, oil well operating conditions and oil well parameter items.

[0049] In this embodiment, the preset oil production scenarios include: single well, metering room, platform, gathering and transportation station, and oil and gas testing;

[0050] The oil well phase states include: single-phase flow, oil-water two-phase flow, oil-water two-phase, low-gas three-phase and oil-gas-water three-phase;

[0051] The oil well operating conditions include: low-yield oil wells, water wells, medium- and high-yield oil wells, measure wells, tight oil and gas, shale oil and gas, heavy oil, carbon dioxide throughput and new energy.

[0052] Step S102: constructing an objective function according to oil well parameter items and a pre-selected test scheme set; wherein the oil well parameter items and the pre-selected test scheme set serve as input parameters of the objective function, and the pre-selected test scheme set includes: at least one assay scheme and at least one metering scheme.

[0053] In this embodiment, the metering scheme includes: one or more combinations of power diagram oil metering, electrical parameter oil metering, differential pressure flowmeter, mass flowmeter and multiphase flowmeter, and the testing scheme includes: one or more combinations of sampling tester, handheld tester and water content analyzer.

[0054] In this embodiment, the objective function includes two types: metering function and testing function. The corresponding objective function is automatically selected according to the type of oil well parameter items. The oil well parameter items include parameters and test types. The parameters include fluid temperature, water content, gas content and oil content. The test types include metering operations and testing operations.

[0055] As a further optimization of this embodiment, for the metering function, an objective function is constructed according to the oil well parameter items and the pre-selected test scheme set, including:

[0056] Step a01: Obtain the measurement reference accuracy of each measurement scheme and the measurement test accuracy of oil well parameter items;

[0057] Step a02: Construct a metrology function based on metrology reference accuracy, metrology test accuracy and corresponding metrology weights.

[0058] Among them, the metrology reference accuracy is the standard accuracy of each metrology device, the design accuracy in the technical manual of the metrology device is the metrology reference accuracy, the metrology test accuracy is the actual measurement accuracy of the metrology device in different scenarios, which can be obtained based on the historical test data of the metrology device. The metrology weight of the metrology reference accuracy and the metrology weight of the metrology test accuracy can be determined according to the subjective weighting method, and the sum of the metrology weight of the metrology reference accuracy and the metrology weight of the metrology test accuracy is 1.

[0059] As a further optimization of this embodiment, for the assay function, an objective function is constructed according to the oil well parameter items and the pre-selected test scheme set, including:

[0060] Step b01: Obtaining the reference accuracy of each test plan and the test accuracy of oil well parameters;

[0061] Step b02: Construct an assay function based on the assay reference accuracy, the assay test accuracy and the corresponding assay weights.

[0062] Among them, the test reference accuracy is the standard accuracy of each test equipment, the design accuracy in the technical manual of the test equipment is the test reference accuracy, the test test accuracy is the actual test accuracy of the test equipment in different scenarios, which can be obtained based on the historical test data of the test equipment; the test weight of the test reference accuracy and the test weight of the test test accuracy can be determined according to the subjective weighting method, and the sum of the test weight of the test reference accuracy and the test weight of the test test accuracy is 1.

[0063] Step S103: constructing screening constraints based on the oil well phase state and oil well operating conditions.

[0064] In this embodiment, different oil well phases and different oil well operating conditions have different requirements for metering accuracy and testing accuracy, and different metering accuracy and testing accuracy requirements are used as screening constraints.

[0065] Step S104: Based on the preset target optimization algorithm and the screening constraints, the target function is optimized to obtain an optimization result, which includes: an optimal test solution and an optimal metering solution.

[0066] In this embodiment, the preset target optimization algorithm is a particle swarm optimization algorithm, a genetic algorithm or an ant colony algorithm.

[0067] As a further optimization of this embodiment, based on the preset target optimization algorithm and the screening constraint conditions, the target function is optimized to obtain the optimization result, including:

[0068] Step c01: construct an evaluation function based on the accuracy, cost and corresponding weights of the pre-selected test solution set;

[0069] Step c02: Based on the preset target optimization algorithm and screening constraints, the target function is optimized to obtain multiple suboptimal solutions;

[0070] Step c03: Evaluate each optimal solution according to the evaluation function to obtain the evaluation value of each suboptimal solution;

[0071] Step c04: Filter the maximum value among all evaluation values, and take the suboptimal solution corresponding to the maximum value as the optimization result.

[0072] In this embodiment, a certain number of metering equipment and testing equipment that meet the accuracy requirements are first selected as suboptimal solutions based on the accuracy of the testing and metering solutions. The suboptimal solutions are then evaluated using an evaluation function, and a comprehensive consideration is made from the two dimensions of accuracy and cost to obtain an optimal result, which can reduce the cost of testing and metering and improve the rationality of metering and testing operations.

[0073] Among them, the accuracy weight and the cost weight are preferably both 50%, and the accuracy weight and the cost weight can also be flexibly adjusted according to actual needs.

[0074] As a further optimization of this embodiment, the method further includes:

[0075] Step d01: Generate an oil well testing strategy under a preset oil and gas scenario based on the optimal testing scheme and the optimal metering scheme;

[0076] Step d02: Push the oil well testing strategy.

[0077] In this embodiment, it is used to select corresponding metering equipment and testing equipment according to the oil well testing strategy to perform testing operations.

[0078] The screening method of this embodiment targets different working conditions, scenarios, and phases, comprehensively considers the technical applicability, economy, and advancement, and develops serialized and differentiated intelligent metering technologies to effectively assist in the refined management and digital transformation of oil and gas wells, and reduce the cost of metering of oil and gas wells.

[0079] In this embodiment, the screening method of this embodiment is supplemented with the following implementation case.

[0080] 1. Digital metering technology: For low-yield oil wells, the phase state is mainly oil and water. Digital metering technologies such as "power diagram oil measurement" or "electric parameter oil measurement" are used, and at the same time, "sampling water content test" or "water content meter online test" are used to achieve low-cost digital metering and testing. The investment is about 5,000 to 20,000 yuan per well, and the error is ±5% to 10%.

[0081] Specifically, in terms of flow metering, ① for pumping wells, where a dynamometer has been installed, the dynamometer can be used to measure oil, and the highest measurement frequency is equal to the dynamometer acquisition frequency. However, if the phenomenon of "pumping and spraying" occurs, the dynamometer is not applicable; ② for electric pump wells, no dynamometer is installed, so it is impossible to measure oil with a dynamometer. At this time, consider using the electric parameter oil measurement method, and use the BP neural network to model the functional relationship between electrical parameters, wellhead back pressure, fluid temperature and production to achieve the purpose of electric parameter production calculation; ③ for some special oil wells, such as when the fluid production fluctuates greatly and contains a small amount of associated gas, resulting in turbulent flow patterns, a flow meter is required for measurement. Conventional orifice flowmeters, vortex streets, turbines, sonic waves, differential pressure, and mass flowmeters can all be used, and can be selected based on economic efficiency.

[0082] In terms of phase content testing, when the liquid phase water content is <40%, ① if the water content of the oil well fluctuates slightly and the daily change rate does not exceed ±3%, sampling testing or handheld testing instruments can be used for measurement, once a day. When the accuracy requirement is not high (absolute error ±10%), sampling can be used for laboratory testing, and sampling testing can use electrical desorption technology; when the accuracy requirement is high (±5%-±10%), a handheld testing instrument can be used. Currently, only two technologies can be used for handheld testing instruments, one is microwave technology and the other is capacitance technology, which needs to be selected according to the fluid state. If emulsification exists (such as shale oil), the capacitance technology has a large error, and microwave technology based on the difference in fluid dielectric constant can be used; ② if the water content of the oil well fluctuates greatly and the daily change rate exceeds ±3%, the measurement frequency of sampling testing and handheld testing instruments cannot represent the daily average water content, and an online water content meter is required. Considering that the conductivity of the liquid is weak, conductivity technology is not applicable. A water content analyzer based on capacitance, radiation, electromagnetic, microwave, and magnetic resonance technology can be used.

[0083] When the liquid phase water content is >40%, ① if the oil well water content fluctuates slightly and the daily change rate does not exceed ±3%, sampling and testing or handheld testers can be used for measurement, once a day. When the accuracy requirement is not high (absolute error ±10%), sampling and testing in the laboratory can be used, and sampling and testing can use electrolysis technology; when the accuracy requirement is high (±5%-±10%), a handheld tester can be used.

[0084] 2. High-precision metering technology, for medium and high-yield oil wells and measure wells, especially those with large fluctuations in liquid volume or water content, the phase state involves oil and water or a small amount of oil, gas and water. The high-precision online metering technology with "high-precision flow meter + water content meter" or "multiphase flow meter" as the core is used, with an investment of about 20,000 to 300,000 yuan per well, and an error of ±5% for liquid phase and ±10% to 50% for gas phase.

[0085] Specifically, in terms of flow metering, ① for medium and high-yield wells, the flow rate of the fluid is faster, and the pressure and mass changes corresponding to the flow rate changes are more obvious, and the metering accuracy requirements of large-flow wells are often higher (the same metering error brings a greater impact on production monitoring errors than low-yield wells). It is necessary to use differential pressure flowmeters and mass flowmeters with high-frequency metering capabilities, and rely on the following methods to select: When the fluid flow fluctuates greatly, such as when there is a slug, a differential pressure flowmeter should not be used because its flow measurement range is narrow (the range ratio is usually only 1:3); when the liquid contains solid phases (sand production), a differential pressure flowmeter should be used because the solid phase particles cause impact damage to the U-bend of the mass flowmeter. However, it should be noted that in order to achieve higher metering accuracy, a differential pressure technology based on Venturi should be used to avoid the use of flowmeters with lower accuracy such as orifice flowmeters. ② For measure wells, mainly gas-bearing wells (gas wells, associated gas wells, carbon dioxide huff-and-puff wells, gas lift wells, etc.), when the working gas phase volume is less than or equal to 20%, differential pressure flowmeters and mass flowmeters can still be used, and the specific selection of which of the two technologies is the same as the above method. However, when the gas phase volume is greater than 20%, the gas will cause bubbly flow, annular flow, turbulent flow, slug flow and other flow types that are not easy to measure. At this time, due to the pressure disorder or drastic change in mass caused by the gas phase, the measurement accuracy of the differential pressure flowmeter and the mass flowmeter will decrease to a certain extent. Since the measurement of phase content at this time also faces great challenges, a multiphase flowmeter is required, and the multiphase flowmeter itself has the ability to measure flow and test phase content at the same time, so the multiphase flowmeter should be selected for measurement.

[0086] In terms of phase content testing, if conditions permit, multiphase flow meters should be used as much as possible, especially multiphase flow meters using gamma rays and nuclear magnetic resonance technology, which can achieve full-scale testing of three-phase 0-100% phase content. In order to save costs, water content meters can also be used for testing, including: ① When the gas phase volume is less than or equal to 20% and the liquid phase water content is <40%, electromagnetic, acoustic, ray, and magnetic resonance water content meters can be used. Among them, electromagnetic and acoustic water content meters are significantly affected by flow patterns and are recommended to be installed vertically. Ray water content meters can be installed horizontally, and magnetic resonance water content meters must be installed horizontally because they require slice scanning. ② When the gas phase volume is less than or equal to 20% and the liquid phase water content is >40%, the electromagnetic technology fails because the fluid becomes a good conductor and other technologies can be used; ③ When the gas phase volume is >20%, only X-ray and magnetic resonance water content meters can be used. Since the technical principle of X-ray technology is to detect the attenuation rate of gamma rays, and the absorption rate of oil, gas and water to X-rays is different, the purpose of distinguishing fluids can be achieved. However, since the absorption rate of gas and oil to X-rays is relatively close, it is recommended to install a gas-liquid cyclone separator in front of the X-ray water content meter to reduce the gas-liquid ratio of the fluid to be measured. The measurement frequency of magnetic resonance technology is low (1Hz), and the ability to identify more complex flow patterns is weak, and it needs to be upgraded to imaging technology, but it will also bring higher costs.

[0087] 3. Metering technology for unconventional and other complex oil and gas wells. For unconventional wells and test wells, the phase state involves gas and liquid or oil, gas and water. The unconventional metering technology with "high-precision multiphase flowmeter" as the core is fully applied, with an investment of about RMB 500,000 to 1.5 million per well, and an error of ±5% for liquid phase and ±10% for gas phase.

[0088] Specifically, in terms of flow measurement, ① for unconventional gas wells, the gas content is generally >30%, and the water content is often >40%. Therefore, multiphase flow meters are used in both measurement and testing, and the technology is locked in X-ray and magnetic resonance technology.

[0089] Embodiment 2

[0090] Figure 2 is a block diagram of a screening device for oil and gas metering and testing provided by one embodiment of the present invention, such as Figure 2 As shown, based on the same inventive concept as in the first embodiment, this embodiment further provides a screening device for oil and gas metering and testing, the device is used to implement a screening method for oil and gas metering and testing in the first embodiment, the device comprising:

[0091] A determination module, used to determine the oil well phase state, oil well operating conditions and oil well parameter items under a preset oil and gas scenario;

[0092] A first construction module is used to construct an objective function according to oil well parameter items and a pre-selected test solution set; wherein the oil well parameter items and the pre-selected test solution set are used as input parameters of the objective function, and the pre-selected test solution set includes: at least one test solution and at least one metering solution;

[0093] The second construction module is used to construct screening constraints based on the oil well phase state and oil well operating conditions;

[0094] The optimization module is used to optimize the objective function based on the preset target optimization algorithm and screening constraints to obtain the optimization results, which include: the optimal test plan and the optimal measurement plan.

[0095] Based on the same inventive concept as in the first embodiment, this embodiment further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned oil and gas metering and testing screening method when executing the computer program.

[0096] Based on the same inventive concept as in the first embodiment, this embodiment further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned oil and gas metering and testing screening method is implemented.

[0097] The screening method of this embodiment targets different working conditions, scenarios, and phases, comprehensively considers the technical applicability, economy, and advancement, and develops serialized and differentiated intelligent metering technologies to effectively assist in the refined management and digital transformation of oil and gas wells, and reduce the cost of metering of oil and gas wells.

[0098] 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.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0103] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0104] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0105] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0106] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A screening method for oil and gas measurement and analysis, characterized in that: The method comprises: Under the preset oil and gas scenario, determine the oil well phase state, oil well operating conditions and oil well parameter items; Constructing an objective function according to the oil well parameter items and the pre-selected test scheme set; wherein the oil well parameter items and the pre-selected test scheme set serve as input parameters of the objective function, and the pre-selected test scheme set includes: at least one assay scheme and at least one metering scheme; Construct screening constraints based on well phase and well operating conditions; Based on the preset target optimization algorithm and screening constraints, the target function is optimized to obtain the optimization result, which includes: the optimal test plan and the optimal measurement plan.

2. The method according to claim 1, characterized in that The method further comprises: Generate oil well testing strategies under preset oil and gas scenarios based on the optimal testing scheme and optimal metering scheme; Push the oil well testing strategy.

3. The method according to claim 1, characterized in that The preset target optimization algorithm is a particle swarm optimization algorithm, a genetic algorithm or an ant colony algorithm.

4. The method according to claim 1, characterized in that: The preset oil production scenarios include: single well, metering room, platform, gathering and transportation station, and oil and gas testing; the oil well phase states include: single-phase flow, oil-water two-phase flow, oil-water two-phase, low gas content three-phase, and oil, gas, and water three-phase; the oil well operating conditions include: low-yield oil wells, water wells, medium- and high-yield oil wells, measure wells, tight oil and gas, shale oil and gas, heavy oil, carbon dioxide throughput, and new energy.

5. The method according to claim 1, characterized in that: The objective function includes: a measurement function; According to the oil well parameter items and the pre-selected test plan set, the objective function is constructed, including: Obtain the measurement reference accuracy of each measurement scheme and the measurement test accuracy of oil well parameter items; A metrology function is constructed based on metrology reference accuracy, metrology test accuracy and corresponding metrology weights.

6. The method according to claim 1, characterized in that The objective function includes: an assay function; According to the oil well parameter items and the pre-selected test plan set, the objective function is constructed, including: Obtain the reference accuracy of each test plan and the test accuracy of oil well parameters; An assay function is constructed based on the assay reference accuracy, the assay test accuracy and the corresponding assay weights.

7. The method according to claim 1, characterized in that Based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain the optimization results, including: Construct an evaluation function based on the accuracy, cost and corresponding weights of the pre-selected test solution set; Based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain multiple suboptimal solutions; Evaluate each optimal solution according to the evaluation function to obtain the evaluation value of each suboptimal solution; Filter the maximum value among all evaluation values ​​and take the suboptimal solution corresponding to the maximum value as the optimization result.

8. A screening device for oil and gas measurement and analysis, used to implement the screening method for oil and gas measurement and analysis as claimed in any one of claims 1 to 7, characterized in that: The device comprises: A determination module, used to determine the oil well phase state, oil well operating conditions and oil well parameter items under a preset oil and gas scenario; A first construction module is used to construct an objective function according to oil well parameter items and a pre-selected test solution set; wherein the oil well parameter items and the pre-selected test solution set are used as input parameters of the objective function, and the pre-selected test solution set includes: at least one test solution and at least one metering solution; The second construction module is used to construct screening constraints based on the oil well phase state and oil well operating conditions; The optimization module is used to optimize the objective function based on the preset target optimization algorithm and screening constraints to obtain the optimization results, which include: the optimal test plan and the optimal measurement plan.

9. An electronic 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 oil and gas measurement and analysis screening method described in any one of claims 1-7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the oil and gas measurement and analysis screening method described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Overall optimization method for energy consumption of water-flooding oilfield injection-production system

    CN110795893A

  • Oil well productivity prediction method and device and apparatus

    CN111144542A

  • Oil and gas drilling strategy prediction method and device based on multiple targets

    CN112796747A

  • Method and device for metering yield of rod-pumped well

    CN114790885A

  • CNN-Transform-based oil well oil production prediction method

    CN115345352A