Differential pressure type metering method and system based on flow pattern discrimination
By using a differential pressure metering method based on flow pattern discrimination, combined with Lockheed Martin parameters and a virtual height model, the problem of insufficient metering accuracy of differential pressure flowmeters under high liquid-to-gas ratio conditions is solved, and accurate calculation and rapid computation of gas and liquid flow rates are achieved.
Patent Information
- Application Number
- CN202310604202.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-05-26
AI Technical Summary
Existing differential pressure flow meters have insufficient measurement accuracy under high liquid-to-gas ratio conditions and are prone to damage to internal components.
By using a differential pressure metering method based on flow pattern discrimination, flow pattern operating conditions are set, and gas phase and liquid phase metering models are established using Lockheed Martin parameters and a virtual height model. Accurate calculations are then performed using dynamic test data.
It enables accurate calculation of gas and liquid flow rates under high liquid-to-gas ratio conditions, reduces damage to internal components, and improves metering accuracy and calculation speed.
Smart Images

Figure CN119026302A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy metering optimization, and in particular to a differential pressure metering method and system based on flow pattern discrimination. Background Art
[0002] In recent years, the production enhancement and transformation technology of oil and gas fields has been continuously improved. While the production of volume fracturing transformation wells has been greatly improved, the return fluid and sand production of gas wells has also increased significantly. Wet gas flowmeters or two-phase flowmeters are widely used on site. According to the structural characteristics of the equipment and the metering principle, they can be roughly divided into two categories. The first type of flowmeter requires the installation of internal components related to metering. After 1-2 months of field application, the internal components will be damaged and the single well production cannot be accurately measured. The second type is based on the differential pressure metering principle. There are no structural parts inside, but its metering model does not consider the impact of different flow types in the metering section on the metering results. Under high liquid-gas ratio conditions, the accuracy of this two-phase metering method is difficult to meet the engineering metering needs.
[0003] The information disclosed in the background technology section of the present invention is only intended to deepen the understanding of the general background technology of the present invention, and should not be regarded as acknowledging or suggesting in any form that the information constitutes the prior art known to those skilled in the art. Summary of the invention
[0004] To solve the above problems, the present invention provides a differential pressure metering method based on flow pattern discrimination. In one embodiment, the method includes:
[0005] Flow pattern working condition setting steps: set the test flow pattern based on the demand, determine the gas-liquid flow working condition range of the metering pipe section corresponding to the test flow pattern according to the preset flow pattern discrimination condition data, and form a flow pattern working condition list;
[0006] Gas-liquid metering test steps: Use the set metering test calibration system to carry out metering tests under different flow patterns according to the flow pattern working condition list, and record the dynamic test data during the test;
[0007] The Lockheed Martin parameter determination step includes: calculating the gas phase density according to the dynamic test data of the metrological test, and then determining the Lockheed Martin parameter calculation model based on the gas phase density and the associated flow data;
[0008] The steps of determining the virtual height model are as follows: the virtual height ratio is calculated according to the dynamic test data, and the optimal virtual height calculation model under different flow patterns is established according to the virtual height ratio and Lockheed Martin parameter fitting;
[0009] Metering model determination step: after using the optimal virtual height calculation model to calculate the optimal virtual height ratio corresponding to different flow types, determine the gas phase metering model of different flow types based on the optimal virtual height calculation model combined with the flow data, and further establish the gas phase metering model of different flow types based on the gas phase flow rate and Lockheed Martin parameters;
[0010] Metering application steps: Determine the on-site initial flow type based on the on-site pressure difference data and flow type discrimination condition data, calculate the on-site gas density based on the on-site initial flow type and test data, use the Lockheed Martin parameter calculation model to calculate the on-site Lockheed Martin parameters, and then use the optimal virtual height calculation model to determine the on-site optimal virtual height ratio, and then substitute it into the gas phase metering model and liquid phase metering model to determine the gas phase flow rate and liquid phase flow rate that match the flow type.
[0011] Preferably, in one embodiment, before the flow pattern working condition setting step, the method further comprises a flow pattern discrimination condition data determination step, comprising the following operations:
[0012] Step A1. Use multiphase flow simulation software to establish a flow calculation model that meets the set requirements as a flow model for the metrology test calibration system;
[0013] Step A2. Based on the gas volume parameters and liquid volume parameters that meet the simulation requirements, the values are equally divided. For each gas volume parameter value, different liquid volume parameter values are applied to perform simulation calculations using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0014] Step A3. Select the gas volume parameter range for flow pattern transformation according to the obtained pressure difference and flow pattern, further adopt the dichotomy method to split the values, and for each gas volume parameter value after splitting, apply different liquid volume parameter values to perform simulation calculation using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0015] Step A4. Select the liquid volume parameter range for flow pattern transformation, use the dichotomy method to split the value, and further use the flow model of the measurement test calibration system to perform simulation calculations to obtain the corresponding test pipe section pressure difference and flow pattern;
[0016] Step A5. Determine whether the change value of the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements. If so, record the gas volume parameter and liquid volume parameter range of each current flow pattern transition, the test pipe section pressure difference and flow pattern as flow pattern discrimination condition data;
[0017] If not, step A4 is executed again until the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements.
[0018] Optionally, in one embodiment, in step A1, the process of establishing a flow model of a metrology test calibration system using multiphase flow simulation software includes:
[0019] The measurement test calibration system is simplified according to the key flow pipe components, the air intake boost unit is simplified to the air source air intake point, the water intake boost unit is simplified to the water source water intake point, the gas-liquid outflow separation unit is simplified to the gas-liquid outflow point, and the flowmeters on the first and third test pipes are simplified to throttling elements;
[0020] The pipeline module and throttling module of the multiphase flow simulation software are used to build the basic framework of the simplified flow model of the metering test calibration system;
[0021] According to the structural parameters in the actual metrology test and calibration system, the input structural parameters of the flow model of the metrology test and calibration system are determined, and the construction of the simplified flow model of the metrology test and calibration system is completed.
[0022] Further, in a preferred embodiment, in step A1, the process of establishing a flow model of a metrology test calibration system using multiphase flow simulation software further includes:
[0023] Step A11. Set the operating parameters of different flow types according to the calculation data of the flow model of the constructed metrology test and calibration system, conduct experiments using the set metrology test and calibration system, and correct the flow model of the constructed metrology test and calibration system according to the pressure difference data and temperature data obtained from the experiment, so that the error between the simulation calculation data and the experimental data is controlled within the set range.
[0024] Optionally, in one embodiment, in the gas-liquid metering test step, the metering test calibration system adopts a gas-liquid two-phase metering test calibration system, including an air compressor, an air storage tank, a liquid storage tank, a test pipeline, a temperature control component, a gas-liquid mixer, a sensing component, a gas-liquid separator, a test data transmission system, and a data processing and controller; the test pipeline includes a first test pipeline, a second test pipeline, and a third test pipeline;
[0025] The first test pipeline and the second test pipeline are connected to the third test pipeline through a gas-liquid mixer; the third test pipeline is provided with a third pressure sensor, a second temperature sensor, a second flow meter, and a fourth pressure sensor in sequence, and the second flow meter is a differential pressure flow meter;
[0026] A differential pressure monitoring pipe section is provided in front of the third pressure sensor. The differential pressure monitoring pipe section is provided with a differential pressure sensor. The differential pressure sensor is connected to a data processing and control system.
[0027] Further, in one embodiment, the Lockheed Martin parameter determination step includes the following operations:
[0028] Gas phase density determination steps: Calculate gas phase density based on measured single-phase gas flow, pressure, temperature and liquid phase flow data;
[0029] Initial Lockheed Martin parameter calculation steps: Calculate the initial Lockheed Martin parameters based on the gas flow rate, the liquid flow rate and the gas phase density as the gas phase Lockheed Martin parameters;
[0030] The steps of determining the optimized Lockheed Martin parameters are as follows: the Lockheed Martin parameter relationship is obtained by fitting the pressure test data and the obtained initial Lockheed Martin parameter values; and then the optimized Lockheed Martin parameter operation model under different flow types is determined according to the initial Lockheed Martin parameters and the parameter relationship to calculate the liquid phase Lockheed Martin parameters.
[0031] In an optional embodiment, in the step of determining the optimized Lockheed Martin parameters, the optimized Lockheed Martin parameter calculation model under different flow patterns is determined as follows:
[0032] min(X′ i -X) 2
[0033]
[0034] Where m1 and m2 are weight coefficients; X i ' is the calculated value of Lockheed Martin parameters under the required flow pattern, i = 1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow, respectively, X is the initial Lockheed Martin parameter, A, B, C are fitting coefficients.
[0035] Preferably, in one embodiment, an optimal virtual height calculation model described in the following formula is established:
[0036]
[0037]
[0038] In the formula, Q g * It is based on the differential pressure flowmeter test flow Q g 'Compute with virtual high ratio, Q g It is a vortex flowmeter that tests single-phase gas flow. i It is the ratio of virtual height under different flow types, i=1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow respectively, and k1 and k2 are the virtual height weight coefficients.
[0039] Based on other aspects of the method described in any one or more of the above embodiments, the present invention further provides a storage medium storing program codes that can implement the method described in any one or more of the above embodiments.
[0040] Based on the application aspects of the method described in any one or more of the above embodiments, the present invention further provides a differential pressure metering system based on flow type discrimination, which executes the method described in any one or more of the above embodiments.
[0041] Compared with the closest prior art, the present invention also has the following beneficial effects:
[0042] The present invention provides a differential pressure metering method and system based on flow pattern discrimination. The method determines a list of working conditions of different flow patterns according to the flow pattern discrimination conditions of multiphase flow in a horizontal pipe section, connects the differential pressure flow meter to a metering test and calibration system, and conducts testing according to the working condition list; the metering test and calibration system is used to simulate engineering parameters of different flow pattern working conditions with high quality, ensure the authenticity of dynamic test data, and provide accurate data support for the establishment of subsequent multi-level operation models;
[0043] Then, the gas phase density is calculated according to the dynamic test data, and then the two-phase Lockheed Martin parameter operation model is determined based on it and the related flow data; the virtual height ratio is calculated according to the dynamic test data, and the optimal virtual height operation model under different flow types is established in combination with the Lockheed Martin parameter fitting; the gas phase metering model of different flow types is determined by using the model to calculate the optimal virtual height ratio and combine it with the flow data, and the gas phase metering model is established in combination with the calculated Lockheed Martin parameters; when applied, the gas phase density is directly calculated according to the on-site flow type and test data, and the Lockheed Martin parameter operation model, the optimal virtual height operation model, the gas phase metering model and the gas phase metering model are used to realize the calculation. This solution constructs a two-phase metering model based on the flow type discrimination basis and dynamic test data, takes into account the influence of the flow type on the metering virtual height, and realizes the accurate calculation of the gas and liquid phase flow rates. When applied, the operation is simple, the operation speed is fast, and the accuracy of the calculation results can be improved.
[0044] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0046] Figure 1 It is a flow chart of a differential pressure metering method based on flow pattern discrimination provided by one embodiment of the present invention;
[0047] Figure 2 It is a simplified schematic diagram of the flow model structure of the measurement test calibration system of the differential pressure measurement method based on flow type discrimination provided in an embodiment of the present invention;
[0048] Figure 3 It is a structural schematic diagram of a measurement test and calibration system used in a differential pressure measurement method based on flow pattern discrimination provided in an embodiment of the present invention;
[0049] Figure 4 It is a schematic diagram of setting pressure value points of a differential pressure flowmeter of a differential pressure metering method based on flow pattern discrimination provided in an embodiment of the present invention;
[0050] Figure 5 It is a structural schematic diagram of a differential pressure metering system based on flow type discrimination provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will describe the implementation methods of the present invention in detail in conjunction with the accompanying drawings and embodiments, so that the implementers of the present invention can fully understand how the present invention applies technical means to solve technical problems and achieve the implementation process of technical effects and implement the present invention specifically according to the above implementation process. It should be noted that as long as there is no conflict, the various embodiments and various features of the embodiments in the present invention can be combined with each other, and the technical solutions formed are all within the protection scope of the present invention.
[0052] Although the flowcharts describe the operations as sequential processes, many of the operations may be performed in parallel, concurrently, or simultaneously. The order of the operations may be rearranged. A process may be terminated when its operations are completed, but may also have additional steps not included in the accompanying drawings. A process may correspond to a method, function, procedure, subroutine, subprogram, etc.
[0053] Computer devices include user devices and network devices. Among them, user devices or clients include but are not limited to computers, smart phones, PDAs, etc.; network devices include but are not limited to a single network server, a server group consisting of multiple network servers, or a cloud composed of a large number of computers or network servers based on cloud computing. Computer devices can be operated alone to implement the present invention, or they can be connected to the network and implement the present invention through interactive operations with other computer devices in the network. The network where the computer device is located includes but is not limited to the Internet, wide area network, metropolitan area network, local area network, VPN network, etc.
[0054] The terms "first", "second", etc. may be used herein to describe various units, but these units should not be limited by these terms, and these terms are used only to distinguish one unit from another unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items. When a unit is referred to as being "connected" or "coupled" to another unit, it can be directly connected or coupled to the other unit, or there can be intermediate units.
[0055] The terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments. Unless the context clearly indicates otherwise, the singular forms "one", "one" and "item" used herein are also intended to include plural numbers. It should also be understood that the terms "include" and / or "comprise" used herein specify the existence of stated features, integers, steps, operations, units and / or components, without excluding the existence or addition of one or more other features, integers, steps, operations, units, components and / or combinations thereof.
[0056] With the continuous development of oil and gas field production enhancement and transformation technology, while the output of volume fracturing transformation wells has been greatly improved, the amount of sand produced by gas wells has also increased significantly. The wet gas flowmeter or two-phase flowmeter is more commonly used on site. The former requires the setting of internal components related to metering. After 1-2 months of field application, the internal components will be damaged and accurate measurement of single well production cannot be achieved. The latter is a flowmeter based on the differential pressure metering principle. There are no structural parts inside, but its metering model does not consider the impact of different flow types in the metering section on the metering results. Under high liquid-gas ratio conditions, the accuracy of this two-phase metering method is difficult to meet the engineering metering needs.
[0057] In order to solve the above problems, based on the demand for sand protection, the flow meter related to the differential pressure metering principle was taken as the research object, and a two-phase metering model construction method based on flow type discrimination was proposed. The influence of flow type on the false high metering was taken into account to improve the accuracy of the two-phase metering results.
[0058] Next, the detailed process of the method of the embodiment of the present invention is described in detail based on the accompanying drawings. The steps shown in the flowchart of the accompanying drawings can be executed in a computer system including a set of computer executable instructions. Although the logical order of each step is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0059] Embodiment 1
[0060] Figure 1 The flow chart of the differential pressure metering method based on flow pattern discrimination provided by the first embodiment of the present invention is shown. Figure 1 It can be seen that the method includes the following steps.
[0061] Flow pattern working condition setting steps: set the test flow pattern based on the demand, determine the gas-liquid flow working condition range of the metering pipe section corresponding to the test flow pattern according to the preset flow pattern discrimination condition data, and form a flow pattern working condition list;
[0062] Gas-liquid metering test steps: Use the metering test calibration system to carry out metering tests under different flow patterns according to the flow pattern working condition list, and record the dynamic test data during the test;
[0063] The Lockheed Martin parameter determination step includes: calculating the gas phase density according to the dynamic test data of the metrological test, and then determining the two-phase Lockheed Martin parameter calculation models respectively based on the gas phase density and the associated flow data;
[0064] The steps of determining the virtual height model are as follows: the virtual height ratio is calculated according to the dynamic test data, and the optimal virtual height calculation model under different flow patterns is established according to the virtual height ratio and Lockheed Martin parameter fitting;
[0065] Metering model determination step: after using the optimal virtual height calculation model to calculate the optimal virtual height ratio corresponding to different flow types, determine the gas phase metering model of different flow types based on the flow data, and establish the gas phase metering model of different flow types based on the gas phase flow rate and the Lockheed Martin parameters;
[0066] Metering application steps: Determine the initial flow type on site based on the field pressure difference data and flow type discrimination condition data, calculate the field gas density based on the field initial flow type and test data, and then use the Lockheed Martin parameter calculation model to calculate the two-phase Lockheed Martin parameters on site. Then use the optimal virtual height calculation model to determine the optimal virtual height ratio on site, and then substitute it into the gas phase metering model and the liquid phase metering model to determine the gas phase flow rate and liquid phase flow rate that match the flow type.
[0067] In a preferred embodiment, since the subsequent process needs to test the parameters related to metering by changing the operating conditions based on the actual test system, in advance in the flow type condition setting step, the flow type discrimination conditions of the multiphase flow in the horizontal pipe section are used to determine the range of gas-liquid flow conditions in the metering pipe section under four test flow types: stratified flow, bubbly flow, annular mist flow, and plug flow. Among them, the number and types of test flow types can be set according to the needs of actual engineering applications.
[0068] Optionally, in one embodiment, before the flow pattern working condition setting step, the method further includes a flow pattern discrimination condition data determination step, including the following operations:
[0069] Step A1. Use multiphase flow simulation software to establish a flow calculation model that meets the set requirements as a flow model for the metrology test calibration system;
[0070] In a preferred embodiment, in step A1, the process of establishing a flow model of a metrology test and calibration system using multiphase flow simulation software includes:
[0071] Furthermore, in order to ensure the accuracy of the calculation results of the flow model of the metrology test calibration system, in a preferred embodiment, in step A1, the process of establishing the flow model of the metrology test calibration system using the multiphase flow simulation software also includes:
[0072] Step A11. Set the operating parameters of different flow types according to the calculation data of the flow model of the constructed metrology test and calibration system, conduct experiments using the set metrology test and calibration system, and correct the flow model of the constructed metrology test and calibration system according to the pressure difference data and temperature data obtained from the experiment, so that the error between the simulation calculation data and the experimental data is controlled within the set range.
[0073] Step A2. Based on the gas volume parameters and liquid volume parameters that meet the simulation requirements, the values are equally divided. For each gas volume parameter value, different liquid volume parameter values are applied to perform simulation calculations using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0074] Step A3. Select the gas volume parameter range for flow pattern transformation according to the obtained pressure difference and flow pattern, further adopt the dichotomy method to split the values, and for each gas volume parameter value after splitting, apply different liquid volume parameter values to perform simulation calculation using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0075] Step A4. Select the liquid volume parameter range for flow pattern transformation, use the dichotomy method to split the value, and further use the flow model of the measurement test calibration system to perform simulation calculations to obtain the corresponding test pipe section pressure difference and flow pattern;
[0076] Step A5. Determine whether the change value of the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements. If so, record the gas volume parameter and liquid volume parameter range of each current flow pattern transition, the test pipe section pressure difference and flow pattern as flow pattern discrimination condition data;
[0077] If not, step A4 is executed again until the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements.
[0078] Based on this, the test flow pattern can be set according to needs in the flow pattern working condition setting step, and the range of gas-liquid flow working conditions of the metering pipe section corresponding to the test flow pattern can be determined according to the flow pattern discrimination condition data of the multiphase flow in the horizontal pipe section to form a list of flow pattern working conditions.
[0079] In actual application, before calculating the field gas phase density based on the field flow pattern and test data, in an optional embodiment, the initial field flow pattern can be determined according to the following operations: using experimental test data and multiphase flow simulation software to establish a flow calculation model that meets the set requirements as the flow model of the metrological test calibration system.
[0080] The process of establishing the flow model of the metrology test calibration system using experimental test data and multiphase flow simulation software includes:
[0081] Step B1, simplify the measurement test calibration system according to the key flow pipe elements. In an optional embodiment, the air intake boost unit is simplified to the air source air intake point, the water intake boost unit is simplified to the water source water intake point, the gas-liquid outflow separation unit is simplified to the gas-liquid outflow point, and the flowmeters on the first and third test pipes are simplified to throttling elements, such as Figure 2 As shown;
[0082] Step B2, using the pipeline module and throttling module of the multiphase flow simulation software to build a simplified basic framework of the flow model of the metering test calibration system;
[0083] It should be noted that the flow meter in the second test pipeline is not simplified as a throttling element because an electromagnetic flow meter is used in the second test pipeline. The pipe diameter at the flow meter position does not change and there is no throttling effect, which is the same as the general pipe flow.
[0084] After simplification, the pressures at the gas source inlet point and the water source inlet point are both the pressures after pressurization, and the pressure at the gas-liquid outflow point is the pressure after the flow meter on the third test pipeline.
[0085] Step B3, according to the structural parameters of the actual metrology test and calibration system established in the experiment, determine the input structural parameters of the flow model of the metrology test and calibration system, which may optionally include the pipe material, pipe diameter, wall thickness, heat transfer coefficient of the fluid in the pipe, heat transfer coefficient of the environment outside the pipe, thermal conductivity of the pipe, ambient temperature and diameter of the throttling element in the model, and complete the construction of the simplified flow model of the metrology test and calibration system.
[0086] In a preferred embodiment, it also includes: model calibration and correction based on the pressure and temperature data collected in the experiment, so as to control the error between the simulation calculation data and the experimental data within 5%, ensure the accuracy of the flow model calculation results of the measurement test calibration system, and provide a reliable basis for the subsequent calculation simulation of different operating parameters.
[0087] Furthermore, based on the pressure and temperature data collected from the experiment, the process of model verification and correction includes:
[0088] Step C1, according to the corresponding test parameters under the four flow patterns, the flow rate of the gas source inlet point, the flow rate of the water source inlet point, the pressure and temperature of the gas-liquid outflow point are respectively input into the software, and the multiphase flow simulation software is run to calculate the pressure of the gas source inlet point, the pressure of the water source inlet point, and the pressure after throttling of the throttling element on the first and third test pipelines by using the pipeline model and the throttling model;
[0089] Step C2, extracting the calculation results after the calculation is completed, the results include: the pressure at the air inlet point of the gas source, the pressure at the water inlet point of the water source, and the pressure after throttling of the throttling element on the first and third test pipelines;
[0090] Step C3, based on the extracted calculation results, the pressure data collected before the flow meter on the first test pipeline, before the flow meter on the third test pipeline, after the flow meter on the first test pipeline, and after the flow meter on the third test pipeline are respectively compared. If the error is controlled within 5%, it means that the calculation data of the flow model of the constructed measurement test calibration system is basically consistent with the data obtained in the test;
[0091] If the error exceeds 5%, the flow model of the measurement test calibration system needs to be corrected. The correction operation mainly adjusts the roughness of the inner wall of the tube, the heat transfer coefficient of the fluid in the tube, the heat transfer coefficient of the environment outside the tube, the thermal conductivity of the tube, the ambient temperature, and the friction coefficient between gas and liquid in the model;
[0092] Step C4, after the flow model of the metrological test calibration system is corrected, run the software again to calculate the parameters in step (2) and determine the error between the calculated data and the test data. If the error exceeds 5%, continue to correct the model. If the calculation results under the four flow patterns all have errors controlled within 5%, the model correction is completed.
[0093] Among them, the pressure drop and temperature drop in the pipeline model in the optional embodiment are calculated using the following equations:
[0094]
[0095] Where Q h It represents the heat dissipation from unit mass of fluid to the environment, kJ / kg; k represents the heat transfer coefficient, W / (m 2 ·℃); D represents the diameter of the pipeline, m; T represents the temperature of the pipeline fluid, ℃; T0 represents the ambient temperature, ℃; M represents the gas-liquid mass flow rate, kg / s; l represents the length of the pipeline, m;
[0096] In the differential equation for calculating pipeline pressure drop, p represents pipeline pressure, MPa; ρ represents density, kg / m 3 ; λ is the friction coefficient; v is the fluid velocity, m / s; g is the gravitational acceleration, m / s 2 ; h represents the pipeline elevation, m.
[0097] The pressure drop and temperature calculation equations in the throttling model,
[0098]
[0099] Where q represents the gas flow rate, 10 4 m 3 / d;p j , T j , Z j Respectively represent the pressure, temperature and compression coefficient at the inlet of the throttling element; p z , T z 、vz They represent the pressure, temperature and flow rate at the outlet of the throttling element respectively; k' represents the natural gas insulation coefficient; d represents the inner diameter of the pipeline, m; R represents the gas constant, 8.314 J / (mol·K); and γ represents the relative density of the gas.
[0100] The embodiment of the present invention adopts the above-mentioned pressure difference flow type discrimination method. Compared with another Tettel flow type discrimination method, it can quickly make a preliminary judgment on the flow type. The Tettel flow type discrimination method performs accurate flow type discrimination, which to a certain extent reduces the repeated iterative calculation of the flow type discrimination formula under different flow types using the Tettel flow type discrimination method, quickly identifies the flow type and reduces the calculation workload.
[0101] Based on this, the gas volume parameter range and liquid volume parameter range of the experimental input working condition designed according to the requirements are equally divided into values, the gas volume parameter range is equally divided into an even number of parts, for example, 2N equal parts, and the liquid volume parameter range is equally divided into M equal parts;
[0102] The limit values of each gas volume parameter sub-range obtained based on equal division are respectively used as gas volume parameter values, the gas volume parameter remains unchanged, the liquid volume parameter is changed, and the pressure difference and flow pattern in the pressure difference monitoring pipe section under each gas volume parameter are calculated using the flow model of the metering test calibration system;
[0103] In actual application, while maintaining the gas volume Q gn Under the same conditions, the liquid volume changes from Q w1 , Q w2 ...Q wm Increase in sequence, simulate and calculate the pressure difference and flow pattern in the pressure difference monitoring pipe section 215 under different working conditions;
[0104] According to the calculated pressure difference and flow pattern, a parameter range of working condition for flow pattern transformation is selected, and the gas volume parameter sub-range is further split by dichotomy. The liquid volume parameter is changed based on the limit value of each gas volume parameter sub-range after splitting, and the pressure difference and flow pattern in the pressure difference monitoring pipe section under the corresponding gas volume parameter are calculated by using the flow model of the metering test calibration system;
[0105] Optionally, the gas volume value can be split by dichotomy, according to Q gn / 2 , Q g2n , Q g3n / 4 , Q gn / 4 , Q g5n / 4 , Q g7n / 4 ...sequence, simulate and calculate the liquid volume from Q to w1 , Q w2 ...Q wm Increase in sequence, simulate and calculate the pressure difference and flow pattern in the pressure difference monitoring pipe section 215 under different working conditions;
[0106] Simulate and calculate the liquid volume from Q to w1 , Qw2 ...Q wm The pressure difference and flow pattern in the pressure difference monitoring pipe section 215 under different working conditions are simulated and calculated.
[0107] Furthermore, according to the calculated pressure difference and flow pattern, the working condition parameters of the flow pattern transformation are selected, the liquid volume is split by binary division, the working conditions after the splitting are simulated, and under the condition of keeping the gas volume parameters unchanged, based on the limit values of the liquid volume parameter range after each splitting, the flow model of the metering test calibration system is used to calculate the pressure difference and flow pattern in the pressure difference monitoring pipe section under the corresponding liquid volume parameters;
[0108] Determine whether the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure differential monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements. If so, determine that the pressure difference value obtained under the current operating parameters is the critical pressure difference for flow pattern transition; if not, further use the binary division method to split the liquid volume, and under the condition of keeping the gas volume parameters unchanged, based on the limit values of the liquid volume parameter range after each splitting, use the flow model of the metering test calibration system to calculate the pressure difference and flow pattern in the pressure differential monitoring pipe section under the corresponding liquid volume parameters, until the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure differential monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements, and record the corresponding pressure difference value as the critical pressure difference for flow pattern transition.
[0109] In actual application, the operating condition parameters of the flow pattern transformation are first selected, the liquid volume is split by dichotomy, the operating conditions after splitting are simulated, the operating condition parameters of the flow pattern transformation after splitting are selected, the liquid volume is split by dichotomy again, and the operating conditions after the simulation of splitting are refined; until the ratio of the change value of the previous simulated pressure difference and the current simulated pressure difference in the pressure differential monitoring pipe section to the previous simulated pressure difference is less than 0.1, then the pressure difference value at this operating point is determined to be the effective critical pressure difference for flow pattern transformation and is recorded.
[0110] Next, execute the gas-liquid metering test steps, use the set metering test calibration system, carry out metering tests under different flow types according to the flow type working condition list, and record the dynamic test data during the test.
[0111] In an optional embodiment, in the gas-liquid metering test step, the gas-liquid two-phase metering test calibration system includes a vortex flowmeter for testing single-phase gas flow, a pressure sensor for testing pressure, a temperature sensor for testing temperature, and a current flowmeter for testing liquid phase flow.
[0112] The gas-liquid two-phase metering test calibration system includes an air compressor 101, an air storage tank 102, a liquid storage tank 104, a test pipeline, a gas-liquid mixer 106, a sensing component, a temperature control component 216, a gas-liquid separator 301, a test data transmission system, and a data processing and controller 404; the test pipeline includes a first test pipeline 201, a second test pipeline 202 and a third test pipeline 203.
[0113] The first test pipeline and the second test pipeline are connected to the third test pipeline through a gas-liquid mixer;
[0114] The air compressor 101 is connected to the first test pipeline 201 through a gas phase pipeline 107 , and a gas storage tank 102 is disposed on the gas phase pipeline 107 .
[0115] The first test pipeline 201 is provided with a first pressure sensor 211 , a first temperature sensor 212 , a swirl flowmeter 241 , a second pressure sensor 213 , and a test reserved section 214 in sequence.
[0116] The liquid storage tank 104 is connected to the second test pipeline 202 through a liquid phase pipeline 108 , and the second test pipeline 202 is provided with an electromagnetic flowmeter 243 and a fifth pressure sensor 217 .
[0117] The first test pipeline 201 and the second test pipeline 202 are connected to the third test pipeline 203 via the gas-liquid mixer 106;
[0118] The third test pipeline 203 is provided with a third pressure sensor 221, a second temperature sensor 222, a second flow meter 242, and a fourth pressure sensor 223 in sequence; the second flow meter is a differential pressure flow meter.
[0119] A differential pressure monitoring pipe section is provided in front of the third pressure sensor. The differential pressure monitoring pipe section is provided with a differential pressure sensor. The differential pressure sensor is connected to a data processing and control system.
[0120] The third test pipeline is connected to the gas-liquid separator through a test pipeline.
[0121] The data processing and controller 404 is connected to the sensing component and the temperature control component 216 via the test data transmission system 401 .
[0122] The system further includes a gas phase vent pipe 302 , which is connected to the top of the gas-liquid separator 301 .
[0123] The liquid storage tank 104 is connected to the bottom of the gas-liquid separator 301 through a liquid phase reflux pipe 303; Figure 3 shown.
[0124] The length of the test reserved section (214) is the same as that of the third test pipeline, and the position of the test reserved section (214) can be exchanged with that of the third test pipeline.
[0125] The first pressure sensor 211, the first temperature sensor 212, the swirl flowmeter 241, and the second pressure sensor 213 are connected to the data processing and controller 404 through the first test data transmission system 401. In actual application, the first test data transmission system 401 obtains the real-time monitoring pressure data of the first test pipeline 201 through the first pressure sensor 211 and the second pressure sensor 213, collects the real-time monitoring temperature of the first test pipeline 201 through the first temperature sensor 212, and obtains the real-time monitoring gas phase flow of the first test pipeline 201 through the swirl flowmeter 241.
[0126] The electromagnetic flowmeter 243 is connected to the data processing and controller 404 through the second test data transmission system 402. Based on this, the second test data transmission system 402 transmits the monitoring liquid phase flow of the second test pipeline 202 through the electromagnetic flowmeter 243.
[0127] The third pressure sensor 221, the second temperature sensor 222, the differential pressure flowmeter 242, and the fourth pressure sensor 223 are connected to the data processing and controller 404 through the third test data transmission system 403. Based on this, the third test data transmission system 403 transmits the monitoring pressure of the third test pipeline 203 through the third pressure sensor 221 and the fourth pressure sensor 223, transmits the monitoring temperature of the third test pipeline 203 through the second temperature sensor 222, and transmits the monitoring gas phase flow of the third test pipeline 203 through the differential pressure flowmeter 242.
[0128] Preferably, in one embodiment, a flow regulating valve 103 , a first pressure regulating valve 206 and a first stop valve 204 are sequentially provided on the gas phase pipeline 107 ; the flow regulating valve 103 is connected to the output gas path of the gas storage tank 102 .
[0129] In actual application, the pressure of the gas entering the first test pipeline 201 is controlled by adjusting the first pressure regulating valve 206, and the flow rate of the gas entering the first test pipeline 201 is controlled by adjusting the flow regulating valve 103;
[0130] The liquid phase pipeline 108 is provided with a booster pump 105 , a second pressure regulating valve 207 and a second stop valve 205 in sequence.
[0131] The pressure of water entering the second testing pipeline 202 is controlled by adjusting the second pressure regulating valve 207 .
[0132] The third test pipeline is provided with a differential pressure monitoring pipe section 215 in front of the third pressure sensor, and the length of the pipe section is more than 0.5 m.
[0133] The differential pressure monitoring pipe section is provided with a differential pressure sensor 218, which is connected to the data processing and control system. The starting point and the end point of the differential pressure monitoring pipe section are the pressure points of the differential pressure sensor. Figure 4 As shown; pressure points are set at four positions of 0°, 90°, 180°, and 270° on the same cross section of the test pipeline (1, 2, 3, or 4 of the four positions can be selected as pressure points).
[0134] The test reserved section provided in the embodiment of the present invention can be used to calibrate a natural gas single-phase metering flow meter and a gas-liquid two-phase flow meter;
[0135] (1) The exchange test reserved section 214 and the third test pipeline position can be used to calibrate the natural gas single-phase metering flow meter. The following formula is used to fit and calculate the corrected actual flow rate Q of the single-phase flow meter to be calibrated. gs , the flowmeters on the first test pipeline and the third test pipeline may be different, and may be orifice flowmeter, swirl flowmeter, V-cone flowmeter, or conical orifice flowmeter;
[0136]
[0137] (2) The positions of the test reserved section 214 and the third test pipeline are not exchanged, and can be used to calibrate the gas-liquid two-phase flowmeter. The flowmeters on the first test pipeline and the third test pipeline can be flowmeters of different models and types. In actual application, orifice flowmeters, swirl flowmeters, V-cone flowmeters, and conical orifice flowmeters can be used.
[0138] In an optional embodiment, the temperature control assembly includes a heating element and a thermal insulation sleeve;
[0139] The heating element is spirally wound around the pipe along the pipe wall and is encapsulated on the pipe by a thermal insulation sleeve;
[0140] The heating element adopts a temperature-controllable electric heating wrapping belt, and the insulation pipe sleeves that can be used include: polyurethane foam insulation pipe sleeves, rubber-plastic insulation pipe sleeves and glass wool insulation pipe sleeves.
[0141] Furthermore, in a preferred embodiment, the third pressure sensor 221 sets one or more pressure points at different positions on the same cross section of the test pipeline, and the pressure points of the second temperature sensor 222 and the fourth pressure sensor 223 are set in the same manner as the third pressure sensor 221.
[0142] In an optional embodiment, the third pressure sensor (221) sets pressure points at four positions of 0°, 90°, 180°, and 270° on the same cross-section of the test pipeline (one, two, three, or four of the four positions can be selected as pressure points).
[0143] The first pressure sensor 211, the first temperature sensor 212, the first flow meter 241, and the second pressure sensor 213 are connected to the data processing and controller 404 through the first test data transmission system 401. In actual application, the first test data transmission system 401 obtains the real-time monitoring pressure data of the first test pipeline 201 through the first pressure sensor 211 and the second pressure sensor 213, collects the real-time monitoring temperature of the first test pipeline 201 through the first temperature sensor 212, and obtains the real-time monitoring gas phase flow of the first test pipeline 201 through the first flow meter 241.
[0144] The data processing and controller is connected to the second pressure regulating valve via the test data transmission system. The data processing and controller compares the pressures transmitted by the first pressure sensor and the fifth pressure sensor tests, controls the opening size of the second pressure regulating valve, and finally achieves the test pressure of the first pressure sensor being equal to the test pressure of the fifth pressure sensor.
[0145] Setting up a test reserved section in the gas-liquid metering test and calibration system can realize flexible calibration of natural gas single-phase metering flowmeters and gas-liquid two-phase flowmeters, and automatically realize precise temperature and pressure regulation control by real-time monitoring of temperature control data and pressure status in the pipeline through data processing and controller.
[0146] In actual application, the gas-liquid metering test and calibration system is used to perform experiments and obtain test data. The specific experimental process includes the following operations:
[0147] S11, start the air compressor 101, fully open the first pressure regulating valve 206, then open the flow regulating valve 103 and the first stop valve 204 in sequence, after the gas is pressurized by the first pressure regulating valve, the gas passes through the first test pipeline 201 and enters the third test pipeline 203.
[0148] S12, open the second stop valve 205, fully open the second pressure regulating valve 207, start the booster pump 105, and the water in the liquid storage tank 104 is pressurized by the booster pump and then enters the third test pipeline 203 through the second test pipeline 202.
[0149] S13, the gas from the first test pipeline 201 and the water from the second test pipeline 202 are mixed in the gas-liquid mixer 106 and enter the third test pipeline 203 for metering test, and are separated in the gas-liquid separator 301 after the test; during the experiment, the gas separated by the gas-liquid separator 301 is discharged through the gas phase vent pipe 302, and the water enters the liquid storage tank 104 through the liquid phase reflux pipe 303 for recycling.
[0150] S14, the vortex flowmeter 241 measures the single-phase gas flow entering the first test pipeline 201, the electromagnetic flowmeter 243 measures the liquid phase flow entering the second test pipeline 202, and the differential pressure flowmeter 242 measures the wet gas flow entering the third test pipeline 203; during the experiment, the flow and pressure are adjusted to complete the metering test experiment simulating different working conditions.
[0151] S15, the first test data transmission system 401, the second test data transmission system 402, and the third test data transmission system 403 transmit the collected flow, pressure, and temperature data to the data processing and controller 404 respectively.
[0152] In actual application, based on the above two-phase metering test and calibration system, metering tests under four flow types are carried out respectively, and the test data are transmitted to the preset data processing system.
[0153] Next, the gas phase density is calculated according to the dynamic test data of the metrological test through the Lockheed Martin parameter determination step, and then the Lockheed Martin parameter calculation model is determined based on the gas phase density and the associated flow data.
[0154] Further, in a preferred embodiment, the Lockheed Martin parameter determination step includes the following operations:
[0155] Gas phase density determination steps: Calculate gas phase density based on measured single-phase gas flow, pressure, temperature and liquid phase flow data;
[0156] Initial Lockheed Martin parameter calculation steps: Calculate the initial Lockheed Martin parameters based on the gas flow rate, the liquid flow rate and the gas phase density as the gas phase Lockheed Martin parameters;
[0157] The steps of determining the optimized Lockheed Martin parameters are as follows: the Lockheed Martin parameter relationship is obtained by fitting the pressure test data and the obtained initial Lockheed Martin parameter values; and then the optimized Lockheed Martin parameter operation model under different flow types is determined according to the initial Lockheed Martin parameters and the parameter relationship to calculate the liquid phase Lockheed Martin parameters.
[0158] Among them, in the gas phase density determination step, the process of calculating the initial Lockheed Martin parameters based on the gas flow rate, liquid flow rate and gas phase density includes: testing the single-phase gas flow rate Q according to the vortex flowmeter g , the first pressure sensor tests the pressure, the first temperature sensor tests the temperature and the electromagnetic flowmeter tests the liquid phase flow Ql Calculate the gas phase density ρ g ; Then calculate the Lockheed Martin parameter X according to the following formula:
[0159]
[0160] In the formula, Q g It is a vortex flowmeter that tests single-phase gas flow, Q l is the electromagnetic flowmeter testing liquid phase flow, ρ l , g are the densities of the liquid and gas phases, respectively.
[0161] Further, in an optional embodiment, in the step of optimizing the Lockheed Martin parameter determination, the Lockheed Martin parameter X relationship is fitted according to the following formula:
[0162]
[0163]
[0164] In the formula, △p1 is the difference between the pressure at point a and point b of the test pipe section, △p2 is the difference between the pressure at point b and point c of the test pipe section, and A, B, and C are fitting coefficients.
[0165] During the calculation process, the formula form of the Lockheed Martin parameter X in formula (2) and formula (3) is the same, but different coefficients A1 and A2 are used respectively because the values of the variable x considered in the formula fitting are different. Formula (2) is the relationship between the throttling pressure difference Δp1 between the throttling device inside the flow meter before throttling and the throttling device throat, and the throttling pressure difference Δp2 between the throttling device throat and after throttling, the ratio of the two pressure differences and the Lockheed Martin parameter. Formula (3) is the relationship between the difference of the two pressure differences and the ratio of the throttling pressure difference between the throttling device throat and after throttling and the Lockheed Martin parameter.
[0166] At present, some scholars have proposed a linear relationship between the ratio of the two pressure differences and the Lockheed Martin parameter as shown in the following formula (a), and a linear relationship between the difference of the two pressure differences and the ratio of the throttling pressure difference between the throat of the throttling device and the throttling pressure after throttling as shown in formula (b). However, in flow states such as slug flow and bubbly flow, the pressure difference ratio and the Lockheed Martin parameter are no longer linearly related, resulting in inaccurate calculation of the Lockheed Martin parameter X, making it impossible to accurately calculate the liquid phase flow rate in the two-phase flow, resulting in large errors in the gas and liquid phase flow rates measured by the flowmeter.
[0167]
[0168]
[0169] To this end, taking into account the complexity of flow conditions, the relationship between the pressure difference ratio and the Lockheed Martin parameter polynomial is proposed on the basis of existing research. At the same time, the two relationships are applicable to different working conditions, which reduces the problem of large errors and poor adaptability to working conditions caused by using one formula for calculation. The Lockheed Martin parameter Xi' model is used to calculate the Lockheed Martin parameters, and the calculation results can adapt to any flow type under different working conditions.
[0170] In a preferred embodiment, the distance from point a of the test pipe section to the throat is D (1 times the pipe diameter) or more, point b of the test pipe section is in the middle of the throat, and the distance from point c of the test pipe section to the throat is 2D or more.
[0171] According to the test data and the initial Lockheed Martin parameter X calculated by formula (1), the Lockheed Martin parameter X relationship is fitted according to formula (2) and formula (3).
[0172] Furthermore, in one embodiment, in the step of determining the optimized Lockheed Martin parameters, according to the Lockheed Martin parameter X calculated by formula (1), the optimized Lockheed Martin parameter operation model under different flow patterns is determined as follows:
[0173] min(X′ i '-X) 2
[0174]
[0175] Where m1 and m2 are weight coefficients; X i ' is the calculated value of Lockheed Martin parameters under the required flow pattern, i = 1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow, respectively, X is the initial Lockheed Martin parameter, A, B, C are fitting coefficients.
[0176] Furthermore, the virtual height model is determined through the following steps: the virtual height ratio is calculated according to the dynamic test data, and the optimal virtual height calculation model under different flow types is established according to the virtual height ratio and Lockheed Martin parameter fitting.
[0177] In a preferred embodiment, in the step of determining the virtual high ratio, the virtual high ratio is calculated based on the single-phase gas flow rate and the gas flow rate test data; in actual application, the single-phase gas flow rate Q is tested by the vortex flowmeter. g , Differential pressure flowmeter test gas flow Q g ', calculate the virtual height ratio Φ according to the following formula:
[0178]
[0179] Furthermore, according to the virtual height ratio Φ and the Lockheed Martin parameter X calculated by formula (1), the relationship between the virtual height ratio Φ and the Lockheed Martin parameter X is fitted according to formula (6) and formula (7) respectively. In actual application, the relationship between the virtual height ratio and the Lockheed Martin parameter is fitted according to the following formula:
[0180] Φ1=D1+E1·X (6)
[0181]
[0182] Where Φ is the false height ratio, X is the Lockheed Martin parameter, D1, E1, E2, n1, n2 are fitting coefficients, ρ l , g are the liquid and gas phase densities respectively. Among them, Φ1 and Φ2 are the intermediate operation vectors of the virtual height ratio. The formula forms of Φ1 and Φ2 are different. The variable X here is the calculated value of the optimized Lockheed Martin parameter operation model.
[0183] Furthermore, in an optional embodiment, the following formula (8) is used to fit the optimal virtual height model according to the test parameters under different flow patterns:
[0184]
[0185]
[0186] In the formula, Q g * It is based on the differential pressure flowmeter test flow Q g 'Compute with virtual high ratio, Q g It is a vortex flowmeter that tests single-phase gas flow. i It is the ratio of virtual height under different flow types. When i=1, 2, 3, and 4, they represent stratified flow, bubbly flow, annular mist flow, and slug flow respectively. k1 and k2 are the virtual height weight coefficients.
[0187] Next, the metering model determination step is performed. After the optimal virtual height ratio corresponding to different flow types is calculated using the optimal virtual height operation model, the gas phase metering model of different flow types is determined based on the flow data. Further, the gas phase metering model of different flow types is established based on the gas phase flow rate and Lockheed Martin parameters; they are used to calculate the gas phase flow data and liquid phase flow data respectively.
[0188] In the embodiment of the present invention, the gas phase flow rate is calculated according to the following formula based on the optimal virtual height ratio under different flow patterns. Specifically, in the optional embodiment, in the metering model determination step, the gas phase metering model is established as follows:
[0189]
[0190] in,
[0191] In the formula, is the gas phase flow rate, Q' g is the gas flow rate tested by the differential pressure flowmeter, Φ iThe optimal virtual height ratio under the flow pattern corresponding to number i, C u is the outflow coefficient of the flowmeter, β is the throttling ratio of the flowmeter, D is the diameter of the pipe section before the throttling of the flowmeter, ρ g is the gas phase density and ε is the dimensionless gas phase expansion coefficient.
[0192] Further, the liquid flow rate is calculated based on the gas phase flow rate data and the optimized Lockheed Martin parameters under different flow patterns. In an optional embodiment, in the metering model determination step, a liquid phase metering model described in the following formula is established based on the gas phase flow rate and the optimized Lockheed Martin parameters:
[0193]
[0194] In the formula, Q l is the liquid phase flow rate value, X′ i is the calculated optimal Lockheed Martin parameter for the flow pattern corresponding to number i, is the gas phase flow rate corresponding to the flow pattern, ρ l is the liquid density, ρ g is the gas phase density.
[0195] Furthermore, when the project site has a need for gas or liquid metering, the following metering application steps can be performed: after calculating the on-site gas density based on the on-site flow pattern and test data, the two-phase Lockheed Martin parameters of the site are calculated using the Lockheed Martin parameter calculation model, and then the optimal virtual height ratio of the site is determined using the optimal virtual height calculation model. The ratio is then substituted into the gas metering model and the liquid metering model to determine the gas flow rate and liquid flow rate that match the flow pattern.
[0196] By adopting the differential pressure metering method based on flow type discrimination of the embodiment of the present invention, a two-phase metering model is constructed based on the flow type discrimination basis and dynamic test data to realize the accurate calculation of gas and liquid phase flow rates. When applied, the operation is simple, the calculation speed is fast, and the accuracy of the calculation results can be improved.
[0197] For the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0198] It should be pointed out that in other embodiments of the present invention, the method can also obtain a new differential pressure metering method based on flow type discrimination by combining one or several of the above embodiments to achieve accurate optimization of engineering gas and liquid metering technology.
[0199] It should be noted that, based on the method in any one or more of the above-mentioned embodiments of the present invention, the present invention also provides a storage medium, on which is stored a program code that can implement the method as described in any one or more of the above-mentioned embodiments, and when the code is executed by the operating system, it can implement the differential pressure metering method based on flow type discrimination as described above.
[0200] Embodiment 2
[0201] The method is described in detail in the embodiments disclosed in the present invention. The method of the present invention can be implemented by various devices or systems. Therefore, based on other aspects of the method described in any one or more embodiments, the present invention also provides a differential pressure metering system based on flow pattern discrimination, which is used to execute the differential pressure metering method based on flow pattern discrimination described in any one or more embodiments. Specific embodiments are given below for detailed description.
[0202] Specifically, Figure 5 FIG. 4 shows a schematic diagram of the structure of a differential pressure metering system based on flow pattern discrimination provided in an embodiment of the present invention. Figure 5 As shown, the system includes:
[0203] A flow pattern working condition setting module is configured to set the test flow pattern based on demand, determine the gas-liquid flow working condition range of the metering pipe section corresponding to the test flow pattern according to the preset flow pattern discrimination condition data, and form a flow pattern working condition list;
[0204] The gas-liquid metering test module is configured to use the set metering test calibration system to carry out metering tests under different flow patterns according to the flow pattern working condition list and record dynamic test data during the test process;
[0205] A Lockheed Martin parameter determination module configured to calculate gas phase density based on dynamic test data of the metrological test, and then determine a Lockheed Martin parameter calculation model based on the gas phase density and associated flow data;
[0206] A virtual height model determination module is configured to calculate a virtual height ratio according to dynamic test data, and to establish an optimal virtual height calculation model under different flow patterns according to the virtual height ratio and Lockheed Martin parameter fitting;
[0207] A metering model determination module, configured to use the optimal virtual height calculation model to calculate the optimal virtual height ratio corresponding to different flow types, determine the gas phase metering model of different flow types based on the optimal virtual height ratio in combination with the flow data, and further establish the gas phase metering model of different flow types based on the gas phase flow rate and Lockheed Martin parameters;
[0208] The metering application module is configured to determine the on-site initial flow pattern based on the on-site pressure difference data and the flow pattern discrimination condition data, calculate the on-site gas phase density according to the on-site initial flow pattern and the test data, calculate the on-site Lockheed Martin parameters using the Lockheed Martin parameter operation model, and then determine the on-site optimal virtual height ratio using the optimal virtual height operation model, and then substitute it into the gas phase metering model and the liquid phase metering model to determine the gas phase flow rate and liquid phase flow rate that match the flow pattern.
[0209] Preferably, in one embodiment, the system further comprises a flow pattern discrimination condition data determination module, which is configured to perform the following operations to determine the flow pattern discrimination condition data:
[0210] Step A1. Use multiphase flow simulation software to establish a flow calculation model that meets the set requirements as a flow model for the metrology test calibration system;
[0211] Step A2. Based on the gas volume parameters and liquid volume parameters that meet the simulation requirements, the values are equally divided. For each gas volume parameter value, different liquid volume parameter values are applied to perform simulation calculations using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0212] Step A3. Select the gas volume parameter range for flow pattern transformation according to the obtained pressure difference and flow pattern, further adopt the dichotomy method to split the values, and for each gas volume parameter value after splitting, apply different liquid volume parameter values to perform simulation calculation using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern;
[0213] Step A4. Select the liquid volume parameter range for flow pattern transformation, use the dichotomy method to split the value, and further use the flow model of the measurement test calibration system to perform simulation calculations to obtain the corresponding test pipe section pressure difference and flow pattern;
[0214] Step A5. Determine whether the change value of the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements. If so, record the gas volume parameter and liquid volume parameter range of each current flow pattern transition, the test pipe section pressure difference and flow pattern as flow pattern discrimination condition data;
[0215] If not, step A4 is executed again until the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements.
[0216] Furthermore, the flow pattern discrimination condition data determination module is configured to establish a flow model of a metrology test calibration system using multiphase flow simulation software according to the following operations:
[0217] The measurement test calibration system is simplified according to the key flow pipe components, the air intake boost unit is simplified to the air source air intake point, the water intake boost unit is simplified to the water source water intake point, the gas-liquid outflow separation unit is simplified to the gas-liquid outflow point, and the flowmeters on the first and third test pipes are simplified to throttling elements;
[0218] The pipeline module and throttling module of the multiphase flow simulation software are used to build the basic framework of the simplified flow model of the metering test calibration system;
[0219] According to the structural parameters in the actual metrology test and calibration system, the input structural parameters of the flow model of the metrology test and calibration system are determined, and the construction of the simplified flow model of the metrology test and calibration system is completed.
[0220] Furthermore, in order to ensure the accuracy of the flow model calculation results of the constructed measurement test calibration system, the flow type discrimination condition data determination module is further configured to perform the following operations:
[0221] Step A11. Set the operating parameters of different flow types according to the calculation data of the flow model of the constructed metrology test and calibration system, conduct experiments using the set metrology test and calibration system, and correct the flow model of the constructed metrology test and calibration system according to the pressure difference data and temperature data obtained from the experiment, so that the error between the simulation calculation data and the experimental data is controlled within the set range.
[0222] Preferably, in one embodiment, the metering test calibration system applied by the gas-liquid metering test module adopts a gas-liquid two-phase metering test calibration system, including an air compressor, an air storage tank, a liquid storage tank, a test pipeline, a temperature control component, a gas-liquid mixer, a sensing component, a gas-liquid separator, a test data transmission system, and a data processing and controller; the test pipeline includes a first test pipeline, a second test pipeline, and a third test pipeline;
[0223] The first test pipeline and the second test pipeline are connected to the third test pipeline through a gas-liquid mixer; the third test pipeline is provided with a third pressure sensor, a second temperature sensor, a second flow meter, and a fourth pressure sensor in sequence, and the second flow meter is a differential pressure flow meter;
[0224] A differential pressure monitoring pipe section is provided in front of the third pressure sensor. The differential pressure monitoring pipe section is provided with a differential pressure sensor. The differential pressure sensor is connected to a data processing and control system.
[0225] Further, in an optional embodiment, the Lockheed Martin parameter determination module operates the Lockheed Martin parameter determination steps according to the following operations:
[0226] Gas phase density determination steps: Calculate gas phase density based on measured single-phase gas flow, pressure, temperature and liquid phase flow data;
[0227] Initial Lockheed Martin parameter calculation steps: Calculate the initial Lockheed Martin parameters based on the gas flow rate, the liquid flow rate and the gas phase density as the gas phase Lockheed Martin parameters;
[0228] The steps of determining the optimized Lockheed Martin parameters are as follows: the Lockheed Martin parameter relationship is obtained by fitting the pressure test data and the obtained initial Lockheed Martin parameter values; and then the optimized Lockheed Martin parameter operation model under different flow types is determined according to the initial Lockheed Martin parameters and the parameter relationship to calculate the liquid phase Lockheed Martin parameters.
[0229] Further, the Lockheed Martin parameter determination module is configured to determine the optimized Lockheed Martin parameter operation model under different flow patterns as follows;
[0230] min(X′ i -X) 2
[0231]
[0232] Where m1 and m2 are weight coefficients; X i ' is the calculated value of Lockheed Martin parameters under the required flow pattern, i = 1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow, respectively, X is the initial Lockheed Martin parameter, A, B, C are fitting coefficients.
[0233] Preferably, in one embodiment, the virtual height model determination module is configured to establish the optimal virtual height calculation model described in the following formula:
[0234]
[0235]
[0236] In the formula, Q g * It is based on the differential pressure flowmeter test flow Q g 'Compute with virtual high ratio, Q g It is a vortex flowmeter that tests single-phase gas flow. i It is the ratio of virtual height under different flow types, i=1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow respectively, and k1 and k2 are the virtual height weight coefficients.
[0237] In the differential pressure metering system based on flow pattern discrimination provided by the embodiment of the present invention, each module or unit structure can operate independently or in combination according to the actual flow pattern setting requirements and data calculation requirements to achieve corresponding technical effects.
[0238] It should be understood that the embodiments disclosed in the present invention are not limited to the specific structures, processing steps or materials disclosed herein, but should be extended to equivalent substitutions of these features understood by ordinary technicians in the relevant field. It should also be understood that the terms used herein are only used for the purpose of describing specific embodiments and are not meant to be limiting.
[0239] The "one embodiment" mentioned in the specification means that a particular feature, structure or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. Therefore, the phrase "one embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment.
[0240] Although the embodiments disclosed in the present invention are as above, the above contents are only embodiments adopted for facilitating the understanding of the present invention and are not intended to limit the present invention. Any technician in the technical field to which the present invention belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in the present invention, but the patent protection scope of the present invention shall still be subject to the scope defined in the attached claims.
Claims
1. A differential pressure metering method based on flow pattern discrimination, It is characterized in that The method comprises: Flow pattern working condition setting steps: set the test flow pattern based on the demand, determine the gas-liquid flow working condition range of the metering pipe section corresponding to the test flow pattern according to the preset flow pattern discrimination condition data, and form a flow pattern working condition list; Gas-liquid metering test steps: Use the set metering test calibration system to carry out metering tests under different flow patterns according to the flow pattern working condition list, and record the dynamic test data during the test; The Lockheed Martin parameter determination step includes: calculating the gas phase density according to the dynamic test data of the metrological test, and then determining the Lockheed Martin parameter calculation model based on the gas phase density and the associated flow data; The steps of determining the virtual height model are as follows: the virtual height ratio is calculated according to the dynamic test data, and the optimal virtual height calculation model under different flow patterns is established according to the virtual height ratio and Lockheed Martin parameter fitting; Metering model determination step: after using the optimal virtual height calculation model to calculate the optimal virtual height ratio corresponding to different flow types, determine the gas phase metering model of different flow types based on the optimal virtual height calculation model combined with the flow data, and further establish the gas phase metering model of different flow types based on the gas phase flow rate and Lockheed Martin parameters; Metering application steps: Determine the on-site initial flow type based on the on-site pressure difference data and flow type discrimination condition data, calculate the on-site gas density based on the on-site initial flow type and test data, use the Lockheed Martin parameter calculation model to calculate the on-site Lockheed Martin parameters, and then use the optimal virtual height calculation model to determine the on-site optimal virtual height ratio, and then substitute it into the gas phase metering model and liquid phase metering model to determine the gas phase flow rate and liquid phase flow rate that match the flow type.
2. The method according to claim 1, It is characterized in that Before the flow pattern working condition setting step, the method further includes a flow pattern discrimination condition data determination step, including the following operations: Step A1. Use multiphase flow simulation software to establish a flow calculation model that meets the set requirements as a flow model for the metrology test calibration system; Step A2. Based on the gas volume parameters and liquid volume parameters that meet the simulation requirements, the values are equally divided. For each gas volume parameter value, different liquid volume parameter values are applied to perform simulation calculations using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern; Step A3. Select the gas volume parameter range for flow pattern transformation according to the obtained pressure difference and flow pattern, further adopt the dichotomy method to split the values, and for each gas volume parameter value after splitting, apply different liquid volume parameter values to perform simulation calculation using the flow model of the metering test calibration system to obtain the corresponding test pipe section pressure difference and flow pattern; Step A4. Select the liquid volume parameter range for flow pattern transformation, use the dichotomy method to split the value, and further use the flow model of the measurement test calibration system to perform simulation calculations to obtain the corresponding test pipe section pressure difference and flow pattern; Step A5. Determine whether the change value of the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements. If so, record the gas volume parameter and liquid volume parameter range of each current flow pattern transition, the test pipe section pressure difference and flow pattern as flow pattern discrimination condition data; If not, step A4 is executed again until the change value between the previous simulated pressure difference and the current simulated pressure difference in the pressure difference monitoring pipe section and the ratio of the previous simulated pressure difference meet the set requirements.
3. The method according to claim 1, It is characterized in that In step A1, the process of establishing a flow model of a metrology test and calibration system using multiphase flow simulation software includes: The measurement test calibration system is simplified according to the key flow pipe components, the air intake boost unit is simplified to the air source air intake point, the water intake boost unit is simplified to the water source water intake point, the gas-liquid outflow separation unit is simplified to the gas-liquid outflow point, and the flowmeters on the first and third test pipes are simplified to throttling elements; The pipeline module and throttling module of the multiphase flow simulation software are used to build the basic framework of the simplified flow model of the metering test calibration system; According to the structural parameters in the actual metrology test and calibration system, the input structural parameters of the flow model of the metrology test and calibration system are determined, and the construction of the simplified flow model of the metrology test and calibration system is completed.
4. The method according to claim 1, It is characterized in that In step A1, the process of establishing a flow model of a metrology test calibration system using multiphase flow simulation software also includes: Step A11. Set the operating parameters of different flow types according to the calculation data of the flow model of the constructed metrology test and calibration system, conduct experiments using the set metrology test and calibration system, and correct the flow model of the constructed metrology test and calibration system according to the pressure difference data and temperature data obtained from the experiment, so that the error between the simulation calculation data and the experimental data is controlled within the set range.
5. The method according to claim 1, It is characterized in that In the gas-liquid metering test step, the metering test calibration system adopts a gas-liquid two-phase metering test calibration system, including an air compressor, an air storage tank, a liquid storage tank, a test pipeline, a temperature control component, a gas-liquid mixer, a sensing component, a gas-liquid separator, a test data transmission system, and a data processing and controller; the test pipeline includes a first test pipeline, a second test pipeline, and a third test pipeline; The first test pipeline and the second test pipeline are connected to the third test pipeline through a gas-liquid mixer; the third test pipeline is provided with a third pressure sensor, a second temperature sensor, a second flow meter, and a fourth pressure sensor in sequence, and the second flow meter is a differential pressure flow meter; A differential pressure monitoring pipe section is provided in front of the third pressure sensor. The differential pressure monitoring pipe section is provided with a differential pressure sensor. The differential pressure sensor is connected to a data processing and control system.
6. The method according to claim 1, It is characterized in that The Lockheed Martin parameter determination steps include the following operations: Gas phase density determination steps: Calculate gas phase density based on measured single-phase gas flow, pressure, temperature and liquid phase flow data; Initial Lockheed Martin parameter calculation steps: Calculate the initial Lockheed Martin parameters based on the gas flow rate, the liquid flow rate and the gas phase density as the gas phase Lockheed Martin parameters; The steps of determining the optimized Lockheed Martin parameters are as follows: the Lockheed Martin parameter relationship is obtained by fitting the pressure test data and the obtained initial Lockheed Martin parameter values; and then the optimized Lockheed Martin parameter operation model under different flow types is determined according to the initial Lockheed Martin parameters and the parameter relationship to calculate the liquid phase Lockheed Martin parameters.
7. The method according to claim 1, It is characterized in that In the step of determining the optimized Lockheed Martin parameters, the optimized Lockheed Martin parameter calculation model under different flow patterns is determined as follows; min(X′ i -X) 2 In the formula, m 1 、m 2 is the weight coefficient; X i ' is the calculated value of Lockheed Martin parameters under the required flow pattern, i = 1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow, respectively, X is the initial Lockheed Martin parameter, A, B, C are fitting coefficients.
8. The method according to claim 1, It is characterized in that The optimal virtual height calculation model described in the following formula is established: In the formula, Q g * It is based on the differential pressure flowmeter test flow Q g 'Compute with virtual high ratio, Q g It is a vortex flowmeter that tests single-phase gas flow. i is the virtual height ratio under different flow patterns, i = 1, 2, 3, 4, representing stratified flow, bubbly flow, annular mist flow, and slug flow, respectively, k 1 , k 2 It is an artificially high weight coefficient.
9. A storage medium, It is characterized in that The storage medium stores program codes that can implement the method as claimed in any one of claims 1 to 8.
10. A differential pressure metering system based on flow pattern discrimination, It is characterized in that The system executes the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Wet gas flow online measurement method and device based on piecewise characteristic of pressure loss ratio of V cone
CN110793585A
Moisture flow real-time measuring device and method based on forced annular flow technology
CN111323087A
Moisture measurement method, moisture uncertainty prediction method, moisture measurement and moisture uncertainty prediction system based on long-throat-neck Venturi tube
CN112964316A
Virtual height numerical simulation method for wet natural gas Venturi tube flowmeter
CN114444343A
On-line slug flow two-phase flow measuring device and method based on multi-sensor fusion
CN115307696A
Cited By
Method for testing flow of high-vacuum negative-pressure pipeline
CN119714446A
