Screening method and apparatus for oil and gas metering and assay, and device and storage medium
By using screening methods in oil and gas metering and test technology, the phase state and working conditions of the oil well are determined, the objective function is constructed and optimized, and the optimal test and measurement scheme is obtained, the problems of poor accuracy, low efficiency and high cost in the existing technology are solved, and the refined management and digital transformation of oil and gas wells are realized.
Patent Information
- Application Number
- PCT/CN2023/142651
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-28
- Filing Date
- 2023-12-28
- Publication Date
- 2025-04-03
AI Technical Summary
The existing oil and gas metering and testing technologies have problems such as poor accuracy, low efficiency, high cost and imperfect management systems, which seriously restrict the digital transformation and intelligent development of oil fields.
A screening method for oil and gas measurement 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 finding optimization based on optimization algorithms, we obtain the optimal test and measurement scheme.
This method can comprehensively consider the applicability, economy and advanced technology, develop serialized and differentiated intelligent metrology technologies, helping to refine the management and digital transformation of oil and gas wells, and reducing metrology costs.
Smart Images

Figure CN2023142651_03042025_PF_FP_ABST
Abstract
Description
Screening method, device, equipment and storage medium for oil and gas measurement and testing 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 produced fluids from oil and gas wells is an essential daily task in oilfields and forms the foundation for reservoir evaluation, dynamic analysis, and production optimization. China alone boasts over 800,000 oil, gas, and water wells, over 20,000 metering rooms and testing stations, and 200,000 oil and gas metering and testing professionals. Efficient and accurate online multiphase flow measurement is a key challenge for lean oilfield management, digital transformation, and improving quality and efficiency. Multiphase flow has complex composition, variable flow patterns, and harsh field testing environments. Developing efficient, high-precision, widely applicable, and low-cost multiphase metering methods and devices is a key technology for addressing these challenges and a global technical challenge.
[0003] At present, metering in the metering room by tipping bucket and manual sampling for water content testing 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 applicability, economy and advancement of the technology, 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 each year by reducing investment in metering rooms 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's an oil, gas, or water production well, or a well undergoing trial production, every well requires daily metering and testing. Metering and testing data is fundamental to evaluating reservoir productivity, understanding reservoir conditions, formulating production plans, and ensuring refined oil and gas well management. Furthermore, as a key component of oilfield digitalization, metering and testing data is the core data for digital twins of oil and gas wells and a crucial 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, the commonly used metering and testing methods in oil fields are still the tipping bucket, glass tube, and three-phase separator oil measurement and sampling water content testing. 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 nature of the data is poor; (3) high cost, the ground construction and procurement investment of metering rooms, test stations, metering vehicles, three-phase separators, water-jacketed 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 the 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, there are the following problems in actual application: (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 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 multiphase flow online metering standards have been formed at home and abroad. Conventional oil fields mostly use price as the main factor, while unconventional oil fields use experimental methods to select technologies, which has high time costs and poor long-term applicability.
[0007] Summary of the Invention
[0008] The object 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 above-mentioned problems.
[0009] To achieve the above objectives, the present invention provides, in one aspect, a screening method for oil and gas measurement and analysis, comprising:
[0010] Under the preset oil and gas scenario, determine the oil well phase state, oil well operating conditions and oil well parameters;
[0011] Constructing an objective function based on oil well parameter items and a preselected test solution set; wherein the oil well parameter items and the preselected test solution set serve as input parameters of the objective function, and the preselected test solution set includes: at least one assay solution and at least one metering solution;
[0012] Establish screening constraints based on oil well phase and oil well operating conditions;
[0013] Based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain the optimization results, which include: the optimal test plan and the optimal measurement plan.
[0014] Preferably, the method further comprises:
[0015] Generate oil well testing strategies for preset oil and gas scenarios based on the optimal testing plan and optimal measurement plan;
[0016] Push the oil well testing strategy.
[0017] Preferably, the preset target optimization algorithm is a particle swarm optimization algorithm, a genetic algorithm or an ant colony algorithm.
[0018] 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.
[0019] Preferably, the objective function includes: a measurement function;
[0020] Based on the oil well parameters and the pre-selected test plan set, the objective function is constructed, including:
[0021] Obtain the measurement reference accuracy of each measurement scheme and the measurement test accuracy of oil well parameters;
[0022] A metrology function is constructed based on metrology reference accuracy, metrology test accuracy and corresponding metrology weights.
[0023] Preferably, the objective function comprises: an assay function;
[0024] Based on the oil well parameters and the pre-selected test plan set, the objective function is constructed, including:
[0025] Obtain the reference accuracy of each test plan and the test accuracy of oil well parameters;
[0026] An assay function is constructed based on the assay reference accuracy, the assay test accuracy, and the corresponding assay weights.
[0027] Preferably, based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain the optimization result, including:
[0028] Construct an evaluation function based on the accuracy, cost and corresponding weights of the pre-selected test solution set;
[0029] Based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain multiple suboptimal solutions;
[0030] Evaluate each optimal solution according to the evaluation function to obtain the evaluation value of each suboptimal solution;
[0031] Filter the maximum value among all evaluation values and take the suboptimal solution corresponding to the maximum value as the optimization result.
[0032] On the other hand, the present invention further provides an oil and gas metering and testing screening device for implementing the above-mentioned oil and gas metering and testing screening method, the device comprising:
[0033] A determination module is used to determine the oil well phase state, oil well operating conditions and oil well parameter items under a preset oil and gas scenario;
[0034] A first construction module is configured to construct an objective function based on oil well parameter items and a preselected test solution set; wherein the oil well parameter items and the preselected test solution set serve as input parameters of the objective function, and the preselected test solution set includes at least one assay solution and at least one metering solution;
[0035] The second construction module is used to construct screening constraints based on the oil well phase state and oil well operating conditions;
[0036] 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 solution and the optimal measurement solution.
[0037] 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.
[0038] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned oil and gas measurement and analysis screening method.
[0039] Through the above technical solution, the beneficial effects of the present invention are as follows:
[0040] The screening method of the present invention targets different working conditions, scenarios, and phase states, comprehensively considers technical applicability, economy, and advancement, and develops serialized and differentiated intelligent metering technologies, effectively assisting in the refined management and digital transformation of oil and gas wells, and reducing the cost of oil and gas well metering.
[0041] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] 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 detailed description, they are used to explain the embodiments of the present invention, but do not constitute a limitation of the embodiments of the present invention. In the accompanying drawings:
[0043] FIG1 is a flow chart of a screening method for oil and gas measurement and analysis provided by one embodiment of the present invention;
[0044] FIG2 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
[0045] The following describes the specific implementation of the embodiment of the present invention in detail with reference to the accompanying drawings. It should be understood that the specific implementation described herein 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.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the art to which the present invention belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings are intended to cover non-exclusive inclusions.
[0047] Example 1
[0048] FIG1 is a flow chart of a screening method for oil and gas measurement and testing provided by one embodiment of the present invention. As shown in FIG1 , this embodiment provides a screening method for oil and gas measurement and testing, the method comprising:
[0049] Step S101: Under a preset oil and gas scenario, determine the oil well phase state, oil well operating conditions and oil well parameter items.
[0050] In this embodiment, the preset oil production scenarios include: single well, metering room, platform, gathering station, and oil and gas testing;
[0051] 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;
[0052] 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.
[0053] Step S102: constructing an objective function based on oil well parameter items and a preselected test solution set; wherein the oil well parameter items and the preselected test solution set serve as input parameters of the objective function, and the preselected test solution set includes: at least one testing solution and at least one measurement solution.
[0054] In this embodiment, the metering scheme includes: one or more combinations of power diagram oil metering, electric parameter oil metering, differential pressure flowmeter, mass flowmeter and multiphase flowmeter; the testing scheme includes: one or more combinations of sampling tester, handheld tester and water content analyzer.
[0055] 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 item. The oil well parameter item includes: parameters and test types. The parameters include: fluid temperature, water content, gas content and oil content. The test types include: metering operation and testing operation.
[0056] As a further optimization of this embodiment, for the metering function, an objective function is constructed based on the oil well parameter items and the pre-selected test solution set, including:
[0057] Step a01: Obtain the measurement reference accuracy of each measurement scheme and the measurement test accuracy of oil well parameter items;
[0058] Step a02: Construct a metrology function based on metrology reference accuracy, metrology test accuracy and corresponding metrology weights.
[0059] Among them, the metrological reference accuracy is the standard accuracy of each measuring device, the design accuracy in the technical manual of the measuring device is the metrological reference accuracy, the metrological test accuracy is the actual measurement accuracy of the measuring device in different scenarios, which can be obtained based on the historical test data of the measuring device. The metrological weight of the metrological reference accuracy and the metrological weight of the metrological test accuracy can be determined according to the subjective weighting method. The sum of the metrological weight of the metrological reference accuracy and the metrological weight of the metrological test accuracy is 1.
[0060] As a further optimization of this embodiment, for the assay function, an objective function is constructed based on the oil well parameter items and the pre-selected test solution set, including:
[0061] Step b01: Obtain the reference accuracy of each test plan and the test accuracy of oil well parameters;
[0062] Step b02: Construct an assay function based on the assay reference accuracy, the assay test accuracy, and the corresponding assay weights.
[0063] 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, and 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.
[0064] Step S103: Constructing screening constraints based on the oil well phase state and oil well operating conditions.
[0065] 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.
[0066] Step S104: Based on the preset target optimization algorithm and the screening constraints, the objective function is optimized to obtain an optimization result, which includes: an optimal test solution and an optimal measurement solution.
[0067] In this embodiment, the preset target optimization algorithm is a particle swarm optimization algorithm, a genetic algorithm or an ant colony algorithm.
[0068] As a further optimization of this embodiment, based on the preset target optimization algorithm and screening constraints, the objective function is optimized to obtain the optimization results, including:
[0069] Step c01: Construct an evaluation function based on the accuracy, cost and corresponding weights of the pre-selected test solution set;
[0070] Step c02: Based on the preset target optimization algorithm and screening constraints, optimize the objective function to obtain multiple suboptimal solutions;
[0071] Step c03: Evaluate each optimal solution according to the evaluation function to obtain the evaluation value of each suboptimal solution;
[0072] Step c04: Filter the maximum value among all evaluation values, and take the suboptimal solution corresponding to the maximum value as the optimization result.
[0073] In this embodiment, a certain number of measuring equipment and testing equipment that meet the accuracy requirements are first selected as suboptimal solutions based on the accuracy of the testing solution and the measurement solution. 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 the optimal result, which can reduce the cost of testing and measurement and improve the rationality of measurement and testing operations.
[0074] 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.
[0075] As a further optimization of this embodiment, the method further includes:
[0076] Step d01: Generate an oil well testing strategy under a preset oil and gas scenario based on the optimal testing plan and the optimal measurement plan;
[0077] Step d02: Push the oil well testing strategy.
[0078] 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.
[0079] The screening method of this embodiment develops serialized and differentiated intelligent metering technologies for different working conditions, scenarios, and phases, taking into account the technical applicability, economy, and advancement, effectively assisting in the refined management and digital transformation of oil and gas wells, and reducing the cost of oil and gas well metering.
[0080] In this embodiment, the screening method of this embodiment is supplemented with the following implementation case.
[0081] 1. Digital metering technology: For low-yield oil wells, where the phase state is mainly oil and water, digital metering technologies such as "power diagram oil measurement" or "electric parameter oil measurement" are applied, and at the same time, "sampling water content testing" or "water content meter online testing" 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%.
[0082] Specifically, regarding flow measurement, ① for wells with pumping units and dynamometers installed, dynamometer oil metering can be used, with the maximum metering frequency equal to the dynamometer acquisition frequency. However, if "continuous pumping and gushing" occurs, dynamometer oil metering is not applicable. ② For wells with electric pumps, dynamometers are not installed, making dynamometer oil metering impossible. In this case, consider using electrical parameter oil metering, using a BP neural network to model the functional relationship between electrical parameters, wellhead back pressure, fluid temperature, and production, to achieve the purpose of electrical parameter production calculation. ③ For some special oil wells, such as those with large fluid production fluctuations and the presence of small amounts of associated gas, which leads to turbulent flow patterns, flow meters are required. Conventional orifice flowmeters, vortex flowmeters, turbine flowmeters, sonic wave flowmeters, differential pressure flowmeters, and mass flowmeters can all be used, and the choice can be made based on economic efficiency.
[0083] Regarding phase holdup analysis, when the liquid phase water cut is <40%, ① if the well water cut fluctuates slightly, with a daily variation rate not exceeding ±3%, sampling or handheld analysis can be performed once a day. When accuracy requirements are low (absolute error ±10%), sampling and laboratory testing can be performed, using electroelution techniques. When accuracy requirements are higher (±5%-±10%), handheld analysis can be used. Currently, only two handheld analysis technologies are available: microwave and capacitance, and the choice depends on the fluid state. If emulsification is present (such as in shale oil), capacitance techniques have large errors, so microwave techniques based on differences in fluid dielectric constants can be used. ② If the well water cut fluctuates significantly, with a daily variation rate exceeding ±3%, the frequency of sampling and handheld analysis cannot represent the daily average water cut, and an online water analyzer is required. Given the weak conductivity of liquids, conductivity-based techniques are not suitable. Water analyzers based on capacitance, X-ray, electromagnetic, microwave, or magnetic resonance technologies can be used.
[0084] When the liquid phase water content is greater than 40%, ① if the water content in the oil well fluctuates slightly, with a daily change rate not exceeding ±3%, sampling and testing or a handheld tester can be used for measurement, once a day. When the accuracy requirement is not high (absolute error ±10%), sampling and testing in a laboratory can be used, and the sampling test can use electrolysis technology; when the accuracy requirement is higher (±5%-±10%), a handheld tester can be used.
[0085] 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, where the phase state involves two phases of oil and water or three phases of oil, gas, and water with a small amount of gas, uses high-precision online metering technology with "high-precision flowmeter + water content meter" or "multiphase flowmeter" as the core. The investment is about 20,000 to 300,000 yuan per well, with an error of ±5% for the liquid phase and ±10% to 50% for the gas phase.
[0086] Specifically, in terms of flow metering, ① for medium and high-yield wells, the fluid flow rate 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 will bring greater production monitoring error 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, the 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 phase (sand production), the solid phase particles will cause impact damage to the U-shaped bend of the mass flowmeter, so a differential pressure flowmeter should be used. However, it should be noted that in order to achieve higher metering accuracy, the 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 referring to gas-bearing wells (gas wells, associated gas wells, carbon dioxide huff-and-puff wells, gas lift wells, etc.), when the operating gas phase volume is less than or equal to 20%, differential pressure flowmeters and mass flowmeters can still be used. 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 patterns that are difficult to measure. At this time, due to the pressure disturbance or drastic change in mass caused by the gas phase, the measurement accuracy of the differential pressure flowmeter and mass flowmeter will be reduced to a certain extent. Since the measurement of phase holdup at this time also faces great challenges, a multiphase flowmeter is required. The multiphase flowmeter itself has the ability to measure flow and test phase holdup at the same time, so the multiphase flowmeter should be selected for measurement.
[0087] For phase holdup testing, multiphase flowmeters should be used whenever possible, especially those using gamma ray and nuclear magnetic resonance technology. These can perform full-scale three-phase holdup testing from 0-100%. To save costs, moisture meters can also be used. Specifically, when the gas phase volume is 20% or less and the liquid phase moisture content is less than 40%, electromagnetic, acoustic, radiographic, or magnetic resonance moisture meters can be used. Electromagnetic and acoustic moisture meters are significantly affected by flow patterns and are recommended for vertical installation. Radiographic moisture meters can be installed horizontally, while magnetic resonance moisture meters must be installed horizontally due to the need for slice scanning. ② When the gas phase volume is less than or equal to 20% and the liquid phase water content is greater than 40%, electromagnetic technology fails because the fluid becomes a good conductor, and other technologies can be used. ③ When the gas phase volume is greater than 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 oil, gas, and water have different absorption rates for X-rays, the purpose of distinguishing fluids can be achieved. However, since the absorption rates of gas and oil for X-rays are 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 relatively low (1Hz), and its ability to identify more complex flow patterns is weak. It is necessary to upgrade to imaging technology, but it also brings higher costs.
[0088] 3. Metering technology for unconventional and other complex oil and gas wells. For unconventional wells and test wells, where the phase state involves two phases of gas and liquid or three phases of oil, gas and water, the unconventional metering technology with "high-precision multiphase flowmeter" as the core is fully applied. The investment is about RMB 500,000 to 1.5 million per well, with an error of ±5% for liquid phase and ±10% for gas phase.
[0089] 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 for measurement and testing, and the technology is locked in X-ray and magnetic resonance technology.
[0090] Example 2
[0091] FIG2 is a block diagram of an oil and gas metering and testing screening device provided by an embodiment of the present invention. As shown in FIG2 , based on the same inventive concept as in Example 1, this embodiment further provides an oil and gas metering and testing screening device, which is used to implement an oil and gas metering and testing screening method in Example 1. The device includes:
[0092] A determination module is used to determine the oil well phase state, oil well operating conditions and oil well parameter items under a preset oil and gas scenario;
[0093] A first construction module is configured to construct an objective function based on oil well parameter items and a preselected test solution set; wherein the oil well parameter items and the preselected test solution set serve as input parameters of the objective function, and the preselected test solution set includes at least one assay solution and at least one metering solution;
[0094] The second construction module is used to construct screening constraints based on the oil well phase state and oil well operating conditions;
[0095] 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 solution and the optimal measurement solution.
[0096] Based on the same inventive concept as embodiment 1, this embodiment also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above-mentioned oil and gas metering and testing screening method is implemented.
[0097] Based on the same inventive concept as in the first embodiment, this embodiment further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned oil and gas metering and testing screening method when executed by a processor.
[0098] The screening method of this embodiment develops serialized and differentiated intelligent metering technologies for different working conditions, scenarios, and phases, taking into account the technical applicability, economy, and advancement, effectively assisting in the refined management and digital transformation of oil and gas wells, and reducing the cost of oil and gas well metering.
[0099] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0100] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0101] These computer program instructions may also be stored in a computer-readable memory that can direct 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 a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0102] 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, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0103] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0104] 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.
[0105] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The 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 disc read-only memory (CD-ROM), digital versatile disc (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 transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.
[0106] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.
[0107] The above are merely embodiments of the present invention and are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.
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
Crude-oil water content on-line measurement model and construction method and application thereof
CN109359692A
Multiphase flow online real-time metering artificial intelligence model construction method
CN111460625A
Oil and gas drilling strategy prediction method and device based on multiple targets
CN112796747A
Method for predicting daily oil production and water content of oil well based on deep learning
CN115680615A
System and method for real-time monitoring and optimizing operation of connected oil and gas wells
US20220214474A1
Cited By
Intelligent monitoring method for operation of oil well system based on digital twinning
CN120216939A