A gas-liquid two-phase flow measurement method and device, computer equipment and storage medium
By employing static separation and data processing methods, the accurate density of gas-liquid two-phase flow is calculated and a fitting formula is used to solve the problems of high cost and low accuracy in gas-liquid two-phase flow measurement, thus achieving simple and efficient measurement.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PETROCHINA CO LTD
- Filing Date
- 2023-09-06
- Publication Date
- 2026-05-29
AI Technical Summary
Existing technologies for gas-liquid two-phase flow measurement suffer from high measurement costs, complex processes, and inaccurate measurement results, making it difficult to achieve continuous online measurement.
By allowing the gas and liquid two-phase flow to stand still, the target gas and liquid are obtained, their accurate densities are calculated, and the measurement data are processed using fitting formulas and mass separation formulas to obtain the mass flow rates of the target gas and liquid.
It reduces measurement costs, improves the convenience and accuracy of measurement, and avoids the use of bulky gas-liquid separators and complex separation systems.
Smart Images

Figure CN119573828B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of two-phase flow measurement technology, and in particular to a gas-liquid two-phase flow measurement method, apparatus, computer equipment, and storage medium. Background Technology
[0002] Currently, fluids in many fields, including energy, chemical engineering, and life sciences, are predominantly gas-liquid two-phase flows. Due to the complexity of gas-liquid two-phase flows and their susceptibility to numerous interferences, measuring the mass flow rate of each phase is challenging. In the natural gas industry, the main methods for measuring the mass flow rate of gas-liquid two-phase flows include the traditional separation method. Specifically, a gas-liquid separator is used to separate the two-phase flow into single-phase gas and liquid, which are then measured separately using single-phase mass flow meters. This method requires a large gas-liquid separator and corresponding level control systems and valve assemblies, resulting in a complex process, high costs, and the need for dedicated personnel for maintenance, making continuous online metering impossible. Furthermore, while there are methods based on two-phase flow meters to measure the mass flow rate of each phase, the lack of a reliable measurement principle leads to poor accuracy in field applications.
[0003] How to improve the convenience and accuracy of measurement results while reducing the measurement cost of each phase mass flow in a two-phase flow is an urgent problem to be solved in the existing technology. Summary of the Invention
[0004] To address the problems in the prior art, this specification provides a method, apparatus, computer equipment, and storage medium for measuring gas-liquid two-phase flow. Separation is achieved simply by allowing the flow to stand, which greatly reduces measurement costs. Furthermore, while reducing measurement costs, it improves the convenience of measurement and the accuracy of measurement results.
[0005] To solve the above-mentioned technical problems, the specific technical solution in this specification is as follows:
[0006] On the one hand, the embodiments of this specification provide a method for measuring gas-liquid two-phase flow, including,
[0007] Obtain the measured volumetric flow rate, measured mass flow rate, and measured density corresponding to the gas-liquid two-phase flow to be measured from the measuring equipment;
[0008] From the gas-liquid two-phase flow to be measured, the target gas and the target liquid are collected, and the first accurate density corresponding to the target liquid is calculated, and the second accurate density corresponding to the target gas is calculated based on the gas pressure, the gas temperature and the target gas.
[0009] Substituting the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into the fitting formula, the fitted data are obtained; and
[0010] The mass separation formula is used to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0011] Furthermore, the process of sampling the target liquid from the gas-liquid two-phase flow to be measured and calculating the first accurate density corresponding to the target liquid includes:
[0012] The gas-liquid two-phase flow to be measured is separated by allowing it to stand still, and the target liquid in the gas-liquid two-phase flow to be measured is obtained; and
[0013] The target liquid is processed using a liquid density determination model to obtain the first accurate density corresponding to the target liquid.
[0014] Furthermore, the process of collecting the target gas from the gas-liquid two-phase flow to be measured and calculating the second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas further includes,
[0015] The gas-liquid two-phase flow to be measured is separated by allowing it to stand still, and the target gas in the gas-liquid two-phase flow to be measured is obtained.
[0016] Component analysis is performed on the target gas to obtain at least one gaseous component included in the target gas; and
[0017] A gas density determination model is used to process the gas pressure, the gas temperature, and the gas composition to obtain the second accurate density corresponding to the target gas.
[0018] Furthermore, the process of determining the fitting formula further includes,
[0019] Multiple experimental conditions are determined, including the experimental liquid density and mass flow rate corresponding to the liquid used in the experiment, the experimental gas density and mass flow rate corresponding to the gas used in the experiment, and the experimental accurate volumetric flow rate corresponding to the experimental two-phase flow, wherein the experimental two-phase flow is the fluid after the liquid and the gas used in the experiment are mixed.
[0020] For each experimental condition, the experimentally measured mass flow rate and experimentally measured density are obtained from the measuring device; and
[0021] The experimental liquid density, experimental liquid mass flow rate, experimental gas density, experimental gas mass flow rate, experimental accurate volumetric flow rate, experimental measured mass flow rate, and experimental measured density corresponding to each experimental condition are fitted to determine the fitting formula.
[0022] Furthermore, the fitting formula further includes:
[0023]
[0024] Wherein, f(V) Ah , ρ Ag , ρ Al , ρ M ) characterizes the fitting formula, where m M The experiment characterizes the mass flow rate measured, m Al Characterizing the mass flow rate of the experimental liquid, the m Ag The V represents the mass flow rate of the experimental gas. Ah Characterizing the accurate volumetric flow rate of the experiment, the ρ Ag Characterizing the density of the experimental gas, the ρ Al The density of the experimental liquid, ρ M The density measured in the experiment is characterized.
[0025] Furthermore, the mass separation formula further includes,
[0026]
[0027] Wherein, m g The target gas mass flow rate is characterized by V, the measured volumetric flow rate is characterized by V, and ρ is characterized by V. l Characterizing the first accurate density, m characterizing the measured mass flow rate, f(V) h , ρ g , ρ l ρ) characterizes the fitting formula that determines the fitted data, ρ characterizes the measurement density, and V h The ρ characterizes the true volumetric flow rate. g The second accurate density is characterized, and the actual volumetric flow rate is the same as the measured volumetric flow rate.
[0028] Furthermore, the mass separation formula further includes,
[0029]
[0030] Wherein, m l The target liquid mass flow rate is characterized by V, the measured volumetric flow rate is characterized by ρ. lCharacterizing the first accurate density, m characterizing the measured mass flow rate, f(V) h , ρ g , ρ l ρ) characterizes the fitting formula that determines the fitted data, ρ characterizes the measurement density, and V h The ρ characterizes the true volumetric flow rate. g The second accurate density is characterized, and the actual volumetric flow rate is the same as the measured volumetric flow rate.
[0031] On the other hand, embodiments of this specification also provide a gas-liquid two-phase flow measurement system, including a two-phase flow calculation device and a measuring device connected to the two-phase flow calculation device. The measuring device includes a volumetric flow meter, a Coriolis mass flow meter, a pressure measuring device, and a temperature measuring device.
[0032] The volumetric flow meter is used to measure the measured volumetric flow rate of the gas-liquid two-phase flow to be measured, and sends the measured volumetric flow rate to the two-phase flow calculation device;
[0033] The Coriolis mass flow meter is used to measure the mass flow rate and density of the gas-liquid two-phase flow to be measured, and sends the mass flow rate and density to the two-phase flow computing device.
[0034] The pressure measuring device and the temperature measuring device are used to measure the gas pressure and gas temperature of the target gas in the gas-liquid two-phase flow to be measured, respectively, and send the gas pressure and the gas temperature to the two-phase flow calculation device;
[0035] The two-phase flow device receives the measured volumetric flow rate, measured mass flow rate, measured density, gas pressure, and gas temperature; determines a first accurate density corresponding to the target liquid, and calculates a second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas; substitutes the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into a fitting formula to obtain fitted data; and processes the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0036] On the other hand, embodiments of this specification also provide a gas-liquid two-phase flow measurement device, including,
[0037] The acquisition unit is used to acquire the measured volumetric flow rate, measured mass flow rate, and measured density corresponding to the gas-liquid two-phase flow to be measured, obtained from the measuring device.
[0038] The data acquisition and calculation unit is used to acquire the target gas and the target liquid from the gas-liquid two-phase flow to be measured, and to calculate the first accurate density corresponding to the target liquid, and to calculate the second accurate density corresponding to the target gas based on the gas pressure, gas temperature and the target gas.
[0039] The fitting calculation unit is used to substitute the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into the fitting formula to obtain fitting data; and
[0040] The processing unit is used to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0041] On the other hand, embodiments of this specification also provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.
[0042] On the other hand, embodiments of this specification also provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the above-described method.
[0043] On the other hand, embodiments of this specification also provide a computer program product, including a computer program / instructions, and a method implemented when the computer program / instructions are executed by a processor.
[0044] Using the embodiments of this specification, based on the measuring device, the measured volumetric flow rate, measured mass flow rate, and measured density of the gas-liquid two-phase flow to be measured are obtained; the target gas and target liquid are collected from the measured gas-liquid two-phase flow, and the first accurate density corresponding to the target liquid is calculated, and the second accurate density corresponding to the target gas is calculated based on the gas pressure, gas temperature, and target gas; the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density, and second accurate density are substituted into a pre-fitted fitting formula to obtain fitted data; and the first accurate density, second accurate density, measured volumetric flow rate, fitted data, and measured mass flow rate are processed using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid. Therefore, there is no need to use a bulky gas-liquid separator for high-standard separation; separation can be achieved simply by allowing the liquid to settle, greatly reducing measurement costs. Furthermore, while reducing measurement costs, the convenience of measurement and the accuracy of the measurement results are improved. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 The figure shown is a schematic diagram of the implementation system of a gas-liquid two-phase flow measurement method according to an embodiment of this specification;
[0047] Figure 2 The diagram shown is a flowchart of a gas-liquid two-phase flow measurement method according to an embodiment of this specification.
[0048] Figure 3 The diagram shown is a flowchart of a first accurate density determination method according to an embodiment of this specification;
[0049] Figure 4 The diagram shown is a flowchart of a second accurate density determination method according to an embodiment of this specification;
[0050] Figure 5 The diagram shown is a flowchart of a method for determining a fitting formula according to an embodiment of this specification;
[0051] Figure 6 The diagram shown is a schematic diagram of a gas-liquid two-phase flow measurement system according to an embodiment of this specification.
[0052] Figure 7 The diagram shown is a structural schematic of a gas-liquid two-phase flow measuring device according to an embodiment of this specification.
[0053] Figure 8 This is a schematic diagram of the structure of a computer device according to an embodiment of this specification.
[0054] [Explanation of Labels in the Attached Image]
[0055] 110. Measuring equipment;
[0056] 120. Two-phase flow computing device;
[0057] 601. Coriolis mass flow meter;
[0058] 602. Pressure measuring equipment;
[0059] 603. Temperature measuring equipment;
[0060] 604. Positive displacement flow meter;
[0061] 710. Acquisition Unit;
[0062] 720. Data Acquisition and Computation Unit;
[0063] 730. Fitting calculation unit;
[0064] 740. Processing Unit;
[0065] 802. Computer equipment;
[0066] 804. Processing equipment;
[0067] 806. Storage resources;
[0068] 808. Drive mechanism;
[0069] 810. Input / Output Module;
[0070] 812. Input devices;
[0071] 814. Output devices;
[0072] 816. Presentation equipment;
[0073] 818. Graphical User Interface;
[0074] 820. Network interface;
[0075] 822. Communication link;
[0076] 824. Communication bus. Detailed Implementation
[0077] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.
[0078] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, apparatus, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0079] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0080] Figure 1 The diagram illustrates an implementation system for a gas-liquid two-phase flow measurement method according to an embodiment of this specification. The system may include a measuring device 110 and a two-phase flow calculation device 120, which communicate via a network. The measuring device 110 may include, for example, a volumetric flow meter for measuring volumetric flow rate and a Coriolis mass flow meter for measuring mass flow rate and density. The measuring device 110 measures the volumetric flow rate, mass flow rate, and density from the gas-liquid two-phase flow to be measured and transmits these measurements to the two-phase flow calculation device 120. The two-phase flow calculation device 120 collects target gas and target liquid from the gas-liquid two-phase flow to be measured, calculates the first accurate density corresponding to the target liquid, and calculates the second accurate density corresponding to the target gas based on gas pressure, gas temperature, and the target gas. It then substitutes the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density, and second accurate density into a fitting formula to obtain fitted data. Finally, it uses a mass separation formula to process the first accurate density, second accurate density, measured volumetric flow rate, fitted data, and measured mass flow rate to obtain the target gas mass flow rate and the target liquid mass flow rate. It should be noted that the system may also include a display device, which is communicatively connected to the two-phase flow calculation device 120. After determining the target gas mass flow rate and the target liquid mass flow rate, the two-phase flow calculation device 120 can send these data to the display device for user viewing.
[0081] like Figure 2 The diagram shows a flowchart of a gas-liquid two-phase flow measurement method according to an embodiment of this specification. While the measurement process is depicted in this figure, it can include more or fewer steps based on conventional or non-inventive methods. The order of steps listed in the embodiment is merely one possible execution order among many and does not represent the only possible order. In actual system or device products, the methods shown in the embodiment or the accompanying drawings can be executed sequentially or in parallel. Specifically, as shown... Figure 2 As shown, the method may include:
[0082] S210, acquire the measured volumetric flow rate, measured mass flow rate and measured density corresponding to the gas-liquid two-phase flow to be measured from the measuring device;
[0083] S220: Collect the target gas and target liquid from the gas-liquid two-phase flow to be measured, calculate the first accurate density corresponding to the target liquid, and calculate the second accurate density corresponding to the target gas based on the gas pressure, gas temperature and target gas.
[0084] S230, substitute the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density and second accurate density into the fitting formula to obtain the fitted data;
[0085] S240 uses a mass separation formula to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0086] Using the embodiments of this specification, based on the measuring device, the measured volumetric flow rate, measured mass flow rate, and measured density of the gas-liquid two-phase flow to be measured are obtained; the target gas and target liquid are collected from the measured gas-liquid two-phase flow, and the first accurate density corresponding to the target liquid is calculated, and the second accurate density corresponding to the target gas is calculated based on the gas pressure, gas temperature, and target gas; the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density, and second accurate density are substituted into a pre-fitted fitting formula to obtain fitted data; and the first accurate density, second accurate density, measured volumetric flow rate, fitted data, and measured mass flow rate are processed using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid. Therefore, there is no need to use a bulky gas-liquid separator for high-standard separation; separation can be achieved simply by allowing the liquid to settle, greatly reducing measurement costs. Furthermore, while reducing measurement costs, the convenience of measurement and the accuracy of the measurement results are improved.
[0087] According to one embodiment of this specification, a measuring device is used to measure the gas-liquid two-phase flow to be measured, obtaining the volumetric flow rate, mass flow rate, and density, which are then used as the measured volumetric flow rate, measured mass flow rate, and measured density, respectively. The measuring device includes a first measuring device for measuring the volumetric flow rate, a second measuring device for measuring the mass flow rate, and a third measuring device for measuring the density. At least two of the first, second, and third measuring devices can be integrated into one device or disposed separately. For example, the first measuring device can be a volumetric flow meter, and the second and third measuring devices can be integrated into one device, which includes a Coriolis mass flow meter.
[0088] The gas-liquid two-phase flow to be measured is separated into gas and liquid, which are then used as the target gas and target liquid, respectively. It should be noted that this separation can be based on a relatively simple method, sufficient only for density measurement, without the need for high-precision separation, thus significantly reducing measurement costs. After separating the gas-liquid two-phase flow, the pressure and temperature of the target gas are measured to obtain the gas pressure and gas temperature.
[0089] For the target liquid, a density measurement is performed to obtain a first accurate density corresponding to the target liquid. Specifically, the density of the target liquid can be measured using a liquid density meter. For the target gas, a second accurate density is determined by combining the measured gas pressure and gas temperature. Since the target gas and target liquid are measured separately here, accurate densities corresponding to the target gas and target liquid are determined to correct the mass flow rate measured by the measuring equipment, thereby determining the mass flow rate corresponding to the target gas and target liquid respectively. A method for measuring the second accurate density is, for example, gas component analysis.
[0090] A fitting formula is constructed beforehand for the two-phase flow. Specifically, the density and mass flow rate of the liquid and gas used in the experiment are measured; then, the liquid and gas are mixed to obtain the experimental two-phase flow, and the volumetric flow rate of the experimental two-phase flow is measured; the mass flow rate and density of the experimental two-phase flow are measured using measuring equipment; based on the multiple measured data, a functional relationship is fitted between the results of the mass flow rate measurements of the liquid and gas used in the experiment and the corresponding mass flow rate measurements of the experimental two-phase flow, and this functional relationship is used as the fitting formula. The variables in this fitting formula include the volumetric flow rate, the density of the gas, the density of the liquid, and the density of the two-phase flow.
[0091] Substitute the measured volumetric flow rate, first accurate density, second accurate density, and measured density into the fitting formula to obtain the fitted data.
[0092] By using the mass separation formula determined through prior theoretical analysis, the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate are processed to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0093] According to another embodiment of this specification, the mass separation formula is as shown in the following formula (1). This formula (1) is used to determine the target gas mass flow rate corresponding to the target gas.
[0094]
[0095] Where, m gV represents the mass flow rate of the target gas, V represents the measured volumetric flow rate, and ρ represents the mass flow rate of the target gas. l The first accurate density is represented by m, and the measured mass flow rate is represented by f(V). h ,ρ g ,ρ l ,ρ) represents the fitting formula that determines the fitted data, ρ represents the measurement density, V h ρ represents the true volumetric flow rate. g It characterizes the second accurate density, and the true volumetric flow rate is the same as the measured volumetric flow rate.
[0096] According to another embodiment of this specification, the mass separation formula may also be as shown in the following formula (2).
[0097] Formula (2) is used to determine the target liquid mass flow rate corresponding to the target liquid.
[0098]
[0099] Where, m l V represents the mass flow rate of the standard liquid, and ρ represents the volumetric flow rate of the measured liquid. l The first accurate density is represented by m, and the measured mass flow rate is represented by f(V). h ,ρ g ,ρ l ,ρ) represents the fitting formula that determines the fitted data, ρ represents the measurement density, V h ρ represents the true volumetric flow rate. g It characterizes the second accurate density, and the true volumetric flow rate is the same as the measured volumetric flow rate.
[0100] It should be noted that, since this embodiment uses a volumetric flow meter as the measuring device for measuring volumetric flow rate, the measured volumetric flow rate is the accurate volumetric flow rate. If other volumetric flow rate measuring devices are used, the measured volumetric flow rate needs to be corrected to obtain the true volumetric flow rate. Because different volumetric flow rate measuring devices can be used, the correction method cannot be uniform. Here, an appropriate volumetric flow rate correction method can be selected based on the actual situation to correct the volumetric flow rate and determine the true volumetric flow rate based on the measured volumetric flow rate.
[0101] Figure 3 The diagram shown is a flowchart of a first accurate density determination method according to an embodiment of this specification. Figure 3 The text describes a process for determining the first accurate density, but based on routine or non-creative labor, it may include more or fewer operational steps. Specifically, for example... Figure 3 As shown, the method may include:
[0102] S3211, let the gas-liquid two-phase flow to be measured stand and separate to obtain the target liquid in the gas-liquid two-phase flow to be measured;
[0103] S3212, using a liquid density determination model to process the target liquid and obtain the first accurate density corresponding to the target liquid.
[0104] According to another embodiment of this specification, a static separation method is used to separate the two-phase flow to be measured, obtaining a target gas and a target liquid. Specifically, the two-phase flow to be measured is subjected to static stratification, and the liquid can be discharged from the valve at the lower end of the flow, thereby obtaining the target liquid. The target liquid is processed to obtain the density corresponding to the target liquid, and this density is used as the first accurate density.
[0105] Specifically, methods for determining the first accurate density may include a liquid density determination model. This model can be any liquid densitometer, such as a digital electronic densitometer, a float-type densitometer, a hydrostatic densitometer, a vibratory densitometer, or a radioactive isotope densitometer. The appropriate liquid densitometer can be selected based on the specific circumstances, and this specification does not impose any limitations on its selection.
[0106] Figure 4 The diagram shown is a flowchart of a second accurate density determination method according to an embodiment of this specification. Figure 4 The text describes a second accurate density determination process, but based on conventional or non-creative labor, it may include more or fewer operational steps. Specifically, for example... Figure 4 As shown, the method may include:
[0107] S4221, let the gas-liquid two-phase flow to be measured stand and separate to obtain the target gas in the gas-liquid two-phase flow to be measured;
[0108] S4222, Perform component analysis on the target gas to obtain at least one gas component included in the target gas;
[0109] S4223 utilizes a gas density determination model to process gas pressure, gas temperature, and gas composition to obtain a second accurate density corresponding to the target gas.
[0110] According to another embodiment of this specification, the two-phase flow to be measured is allowed to stand and separate into layers to obtain the gas located at the top, and this gas is used as the target gas.
[0111] Offline chromatography is used to perform component analysis on the target gas to obtain all gas components in the target gas, that is, which gases the target gas is a mixture of.
[0112] Then, based on the gas density determination model, the gas composition, and the gas pressure and temperature obtained from measurements of the target gas are processed to obtain a second accurate density corresponding to the target gas. This gas density determination model can be, for example, a property value calculation model, specifically, determining the second accurate density based on the ideal gas law. Alternatively, the second accurate density of the target gas can be determined using other methods, which are not limited in this specification.
[0113] Figure 5 The diagram shown is a flowchart of a method for determining a fitting formula according to an embodiment of this specification. This diagram describes the process of determining the fitting formula, but based on conventional or non-creative work, it may include more or fewer operational steps. Specifically, as shown... Figure 5 As shown, the method may include:
[0114] S531, determine multiple experimental conditions;
[0115] S532, for each experimental condition, obtains the experimental mass flow rate and experimental density obtained from the measuring equipment;
[0116] S533, fits the experimental liquid density, experimental liquid mass flow rate, experimental gas density, experimental gas mass flow rate, experimental accurate volumetric flow rate, experimental measured mass flow rate, and experimental measured density corresponding to each experimental condition, and determines the fitting formula.
[0117] According to another embodiment of this specification, the experimental conditions include the experimental liquid density and mass flow rate corresponding to the liquid used in the experiment, the experimental gas density and mass flow rate corresponding to the gas used in the experiment, and the experimental accurate volumetric flow rate corresponding to the experimental two-phase flow, where the experimental two-phase flow is the fluid after mixing the experimental liquid and the experimental gas. Furthermore, it should be noted that the experimental conditions may also include, for example, the gas-liquid ratio when mixed into the experimental two-phase flow. Adaptively, when the experimental conditions include a gas-liquid ratio, the specific ratio between the target gas and the target liquid also needs to be determined for the gas-liquid two-phase flow to be measured, in order to adapt to the fitting formula and determine accurate fitting data.
[0118] For each experimental two-phase flow obtained under each experimental condition, mass flow rate and density are measured using measuring equipment to obtain the experimental measured mass flow rate and experimental measured density corresponding to the experimental surface flow.
[0119] Based on multiple measured data, a functional relationship is fitted between the results of the experimental liquid and gas mass flow rate measurements (experimental liquid mass flow rate and experimental gas mass flow rate) and the results of the experimental two-phase flow mass flow rate measurements (experimental measured mass flow rate), and this functional relationship is used as the fitting formula. Specific fitting methods may include, for example, multi-parameter fitting regression and neural network intelligent modeling.
[0120] According to another embodiment of this specification, the fitting formula is as shown in the following formula (3).
[0121]
[0122] Where, f(V) Ah ,ρ Ag ,ρ Al ,ρ M Characterization of the fitting formula, m M Characterization experiment measures mass flow rate, m Al Characterizing the mass flow rate of the experimental liquid, m Ag Characterizing the mass flow rate of the experimental gas, V Ah Characterization of accurate volumetric flow rate, ρ Ag ρ characterizes the density of the experimental gas. Al ρ characterizes the density of the experimental liquid. M The density was measured in the characterization experiment.
[0123] Figure 6 The diagram shown is a schematic diagram of a gas-liquid two-phase flow measurement system according to an embodiment of this specification.
[0124] According to another embodiment of this specification, the gas-liquid two-phase flow measurement system includes a gas flow calculation device and a measuring device. Specifically, the measuring device includes a Coriolis mass flow meter 601, a pressure measuring device 602, a temperature measuring device 603, and a volumetric flow meter 604 arranged sequentially.
[0125] Volumetric flow meter 604 is used to measure the volumetric flow rate of the gas-liquid two-phase flow to be measured and sends the measured volumetric flow rate to the two-phase flow calculation device; Coriolis mass flow meter 601 is used to measure the mass flow rate and density of the gas-liquid two-phase flow to be measured and sends the measured mass flow rate and density to the two-phase flow calculation device; pressure measuring device 602 and temperature measuring device 603 are used to measure the gas pressure and gas temperature of the target gas in the gas-liquid two-phase flow to be measured, respectively, and send the gas pressure and gas temperature to the two-phase flow calculation device.
[0126] When the two-phase flow calculation device receives the measured volumetric flow rate, measured mass flow rate, measured density, gas pressure, and gas temperature, it determines the first accurate density corresponding to the target liquid and calculates the second accurate density corresponding to the target gas based on the gas pressure, gas temperature, and target gas. It then substitutes the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density, and second accurate density into the fitting formula to obtain the fitted data. Finally, it uses a mass separation formula to process the first accurate density, second accurate density, measured volumetric flow rate, fitted data, and measured mass flow rate to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0127] Specifically, the volumetric flow meter 604 operates on a constant displacement method. It utilizes mechanical measuring elements to continuously divide the fluid into individual, known volumes, and repeatedly fills and discharges these volumes to accumulate and measure the fluid flow rate. This measurement principle is unaffected by the measured medium; both gases and liquids can be measured using a volumetric flow meter. Therefore, a volumetric flow meter can accurately measure the total volume of a gas-liquid two-phase system. The volumetric flow meter 604 can be a Roots flow meter, a rotary impeller flow meter, a scraper flow meter, or a reciprocating piston flow meter, etc.
[0128] Therefore, the following equation (4) can be achieved based on the volumetric flow meter 604.
[0129] V = V h =V l +V g Formula (4)
[0130] Where V represents the measured volumetric flow rate, V h V represents the true volumetric flow rate. l Characterizing liquid volumetric flow rate and V g Characterizes gas volumetric flow rate.
[0131] The Coriolis mass flow meter 601 operates on the principle that, for single-phase fluids, it can accurately measure the mass flow rate and density of the medium. The density measurement principle is based on the resonant tube principle, while the mass flow rate measurement principle is based on the Coriolis effect. These two principles are independent and unrelated. According to theoretical analysis and experimental research, when a gas-liquid two-phase flow passes through a Coriolis mass flow meter, the output values of the mass flow rate measurement section and the density measurement section will show a significant deviation compared to when a single-phase gas or liquid flows through. In this case, the mass flow rate output value of the Coriolis mass flow meter is greater than the individual gas or liquid mass flow rate in the two-phase flow, but less than the total mass flow rate of the two-phase fluid. The density measurement output value of the Coriolis mass flow meter lies between the gas phase density and the liquid phase density.
[0132] Therefore, based on the Coriolis mass flow meter 601, the following inequalities (5) to (7) can be realized.
[0133] m l ≤m≤m l +m g Formula (5)
[0134] m g ≤m≤m l +m g Formula (6)
[0135] ρ g ≤ρ≤ρ l Formula (7)
[0136] Where, m l Characterizing the target liquid mass flow rate, m g The target gas mass flow rate is represented by m, and the measured mass flow rate is represented by ρ. l Characterizing the first accurate density, ρ g The second accurate density is represented by ρ, and the measured density is represented by ρ.
[0137] Through experimental analysis, the deviation between the mass flow rate measurement output value of the Coriolis mass flow meter 601 and the total mass flow rate of the gas and liquid phases during gas-liquid two-phase flow measurement is related to the gas phase flow rate, the gas-liquid density ratio (operating pressure), and the liquid phase content (liquid-gas ratio), exhibiting a functional relationship between these parameters. The density measurement output value of the Coriolis mass flow meter 601 during gas-liquid two-phase flow measurement is related to the gas-liquid density ratio (operating pressure), the gas phase flow rate, and the liquid phase content (liquid-gas ratio). The specific functional relationship is shown in the following formulas (8) to (9).
[0138]
[0139]
[0140] Where k represents the deviation correction coefficient function, m l Characterizing the target liquid mass flow rate, m g The target gas mass flow rate is represented by m, and the measured mass flow rate is represented by ρ. l Characterizing the first accurate density, ρ g The second accurate density is characterized by ρ, and the measured density is characterized by f. (1) The mass flow rate function, f (2) Characterizing density function.
[0141] For a gas-liquid two-phase flow in a pipe, the gas phase mass flow rate m in the pipe is... g Gas phase density (second accurate density) ρ g Liquid phase density (first accurate density) ρ l and the total volumetric flow rate V of the gas-liquid two-phase system h The relationship is as shown in the following formula (10).
[0142]
[0143] Among them, V h V represents the true volumetric flow rate. l V represents the volumetric flow rate of a liquid. g Characterized by gas volumetric flow rate, m l Characterizing the target liquid mass flow rate, m g Characterizing the target gas mass flow rate, ρ l Characterizing the first accurate density, and ρ g Characterizes the second accurate density.
[0144] After separating the target gas and target liquid and determining the values corresponding to the first and second accurate densities, the true volumetric flow rate V of the gas-liquid two-phase flow is obtained. h The target gas mass flow rate m g and liquid-gas ratio (m g / m l Since it is a function of ), formula (8) can be transformed to obtain the following formula (11).
[0145]
[0146] Where k represents the deviation correction coefficient function, m l Characterizing the target liquid mass flow rate, m g V represents the mass flow rate of the target gas. h ρ is the target gas mass flow rate. l Characterizing the first accurate density, ρ gCharacterizing the second accurate density, f (3) Characterizes the first transformation function.
[0147] Similarly, by using formula (10) to transform formula (9), we obtain the following formula (12).
[0148]
[0149] Where, m l Characterizing the target liquid mass flow rate, m g V represents the mass flow rate of the target gas. h ρ is the target gas mass flow rate. l Characterizing the first accurate density, ρ g The second accurate density is characterized by ρ, the measured density is characterized by f. (4) Characterizes the first transformation function.
[0150] Combining formulas (11) and (12), we get the following formula (13).
[0151]
[0152] Where k represents the deviation correction coefficient function, m l Characterizing the target liquid mass flow rate, m g V represents the mass flow rate of the target gas. h ρ is the target gas mass flow rate. l Characterizing the first accurate density, ρ g The second accurate density is represented by ρ, the measured density is represented by f, and the fitting formula is represented by f.
[0153] Based on the above analysis and summarization, it can be concluded that when the Coriolis mass flow meter measures the total mass flow rate of two-phase flow, the deviation correction coefficient k of the total mass flow rate of the gas and liquid phases is expressed as a multivariate function (fitting formula) of the total volumetric flow rate of the gas and liquid phases, the gas phase density (second accurate density), the liquid phase density (first accurate density), and the measured density. Specifically, using multiple experimental conditions such as... Figure 5 The method shown is used to fit the data to obtain the fitting formula as shown in formula (3). Then, in the actual gas-liquid two-phase flow measurement, the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density and second accurate density are substituted into the fitting formula to obtain the specific fitting data.
[0154] Specifically, the density, volumetric flow rate and mass flow rate of the target gas and the target liquid are related by the following formulas (14) and (15). Therefore, formula (13) can be processed to obtain the following formulas (16) to (17).
[0155]
[0156]
[0157]
[0158] m l +m g =k·m=f(V) h ,ρ g ,ρ l Formula (17) ,ρ)
[0159] Where, m g V represents the mass flow rate of the target gas, V represents the measured volumetric flow rate, and ρ represents the mass flow rate of the target gas. l The first accurate density is represented by m, and the measured mass flow rate is represented by f(V). h ,ρ g ,ρ l ,ρ) characterizes the fitting formula for determining the fitted data, ρ characterizes the measurement density, and the V h The ρ characterizes the true volumetric flow rate. g Characterizes the second accurate density.
[0160] Solving the equations (16) and (17) simultaneously yields the mass separation formulas (1) and (2).
[0161] This proves the theoretical rationality of the mass separation formula used to calculate the mass flow rate of the target gas and the mass flow rate of the target liquid.
[0162] In addition, it should be noted that, in order to further improve the accuracy of gas-liquid two-phase flow measurement, a sand removal filter can be installed before the Coriolis mass flow meter 601, thereby improving the purity of the gas-liquid two-phase flow to be measured.
[0163] Based on the above analysis, it can be seen that by combining a volumetric flow meter and a Coriolis mass flow meter, the mass flow rate and volumetric flow rate of a gas-liquid two-phase flow can be effectively determined. Furthermore, as the aforementioned analysis shows, the mass flow rate output value and density measurement output value of the Coriolis mass flow meter during two-phase flow measurement are related by equations (5) to (7). That is, the output value of the Coriolis mass flow meter when measuring gas-liquid two-phase flow has a boundary and will not diverge. Moreover, current experimental studies show that under extreme conditions, the maximum deviation between the mass flow rate output value of the Coriolis mass flow meter and the actual total mass of the gas-liquid two-phase flow is 20% to 30%. Correcting this deviation using this system is relatively easy, and the correction error of this system can be controlled within ±5%. Therefore, using this system to determine the gas and liquid mass flow rates of a gas-liquid two-phase flow can achieve high accuracy, which has significant advantages compared to other existing gas-liquid two-phase flow determination schemes.
[0164] Figure 7 The diagram shown is a structural schematic of a gas-liquid two-phase flow measuring device according to an embodiment of this specification. As shown in Figure 7, it includes:
[0165] The acquisition unit 710 is used to acquire the measured volumetric flow rate, measured mass flow rate and measured density corresponding to the gas-liquid two-phase flow to be measured, obtained by the measuring device.
[0166] The acquisition and calculation unit 720 is used to acquire the target gas and the target liquid from the gas-liquid two-phase flow to be measured, and calculate the first accurate density corresponding to the target liquid, and calculate the second accurate density corresponding to the target gas based on the gas pressure, gas temperature and the target gas.
[0167] The fitting calculation unit 730 is used to substitute the measured volumetric flow rate, measured mass flow rate, measured density, first accurate density, and second accurate density into the fitting formula to obtain the fitting data; and
[0168] The processing unit 740 is used to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid.
[0169] Since the principle of the above-mentioned device in solving the problem is similar to that of the above-mentioned method, the implementation of the above-mentioned device can refer to the implementation of the above-mentioned method, and the repeated parts will not be described again.
[0170] like Figure 8The diagram illustrates the structure of a computer device according to an embodiment of this specification. The apparatus described in this specification can be the computer device in this embodiment, performing the methods described above. The computer device 802 may include one or more processing devices 804, such as one or more central processing units (CPUs), each of which can implement one or more hardware threads. The computer device 802 may also include any storage resource 806 for storing information of any kind, such as code, settings, data, etc. Without limitation, for example, the storage resource 806 may include any one or more combinations of the following: any type of RAM, any type of ROM, flash memory, hard disk, optical disk, etc. More generally, any storage resource can use any technology to store information. Furthermore, any storage resource can provide volatile or non-volatile retention of information. Furthermore, any storage resource can represent a fixed or removable component of the computer device 802. In one case, when the processing device 804 executes associated instructions stored in any storage resource or combination of storage resources, the computer device 802 can perform any operation of the associated instructions. The computer device 802 also includes one or more drive mechanisms 808 for interacting with any storage resource, such as a hard disk drive mechanism, an optical disk drive mechanism, etc.
[0171] Computer device 802 may also include an input / output module 810 (I / O) for receiving various inputs (via input device 812) and providing various outputs (via output device 814). A specific output mechanism may include a presentation device 816 and an associated graphical user interface (GUI) 818. In other embodiments, the input / output module 810 (I / O), input device 812, and output device 814 may be omitted, and the device may function solely as a computer device within a network. Computer device 802 may also include one or more network interfaces 820 for exchanging data with other devices via one or more communication links 822. One or more communication buses 824 couple the components described above together.
[0172] Communication link 822 can be implemented in any way, such as via a local area network, a wide area network (e.g., the Internet), a point-to-point connection, or any combination thereof. Communication link 822 may include any combination of hardwired links, wireless links, routers, gateway functions, name servers, etc., governed by any protocol or combination of protocols.
[0173] This specification also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0174] This specification also provides a computer program product, which includes a computer program that, when executed by a processor, implements the above-described method.
[0175] Those skilled in the art will understand that embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0176] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0177] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0178] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0179] The above specific embodiments further illustrate the purpose, technical solutions, and beneficial effects of this specification. It should be understood that the above are merely specific embodiments of this specification and are not intended to limit the scope of protection of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this specification should be included within the scope of protection of this specification.
Claims
1. A method for measuring gas-liquid two-phase flow, characterized in that, include: Obtain the measured volumetric flow rate, measured mass flow rate, and measured density corresponding to the gas-liquid two-phase flow to be measured from the measuring equipment; From the gas-liquid two-phase flow to be measured, the target gas and the target liquid are collected, and the first accurate density corresponding to the target liquid is calculated, and the second accurate density corresponding to the target gas is calculated based on the gas pressure, the gas temperature and the target gas. Substituting the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into the fitting formula, the fitted data is obtained; as well as The mass separation formula is used to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid. The step of collecting the target liquid from the gas-liquid two-phase flow to be measured and calculating the first accurate density corresponding to the target liquid includes: The gas-liquid two-phase flow to be measured is separated by allowing it to stand still, and the target liquid in the gas-liquid two-phase flow to be measured is obtained; and The target liquid is processed using a liquid density determination model to obtain the first accurate density corresponding to the target liquid; The step of collecting the target gas from the gas-liquid two-phase flow to be measured and calculating the second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas includes: The gas-liquid two-phase flow to be measured is separated by allowing it to stand still, and the target gas in the gas-liquid two-phase flow to be measured is obtained. Component analysis is performed on the target gas to obtain at least one gaseous component included in the target gas; and A gas density determination model is used to process the gas pressure, gas temperature, and gas composition to obtain the second accurate density corresponding to the target gas; The process of determining the fitting formula includes: Multiple experimental conditions are determined, including the experimental liquid density and mass flow rate corresponding to the liquid used in the experiment, the experimental gas density and mass flow rate corresponding to the gas used in the experiment, and the experimental accurate volumetric flow rate corresponding to the experimental two-phase flow, wherein the experimental two-phase flow is the fluid after the liquid and the gas used in the experiment are mixed. For each experimental condition, the experimentally measured mass flow rate and experimentally measured density are obtained from the measuring device; and The experimental liquid density, experimental liquid mass flow rate, experimental gas density, experimental gas mass flow rate, experimental accurate volumetric flow rate, experimental measured mass flow rate, and experimental measured density corresponding to each experimental condition are fitted to determine the fitting formula.
2. The method according to claim 1, characterized in that, The fitting formula includes: Among them, the Characterizing the fitting formula, the The experiment characterized the mass flow rate measured. Characterizing the mass flow rate of the experimental liquid, the Characterizing the mass flow rate of the experimental gas, the Characterizing the accurate volumetric flow rate of the experiment, the Characterizing the density of the experimental gas, the Characterizing the density of the experimental liquid, the The density measured in the experiment is characterized.
3. The method according to claim 1, characterized in that, The mass separation formula includes: Among them, the Characterizing the mass flow rate of the target gas, the Characterizing the measured volumetric flow rate, the The first accurate density is characterized by m, and the measured mass flow rate is characterized by m. The fitting formula that characterizes and determines the fitted data, the Characterizing the measured density, the Characterizing the true volumetric flow rate, the The second accurate density is characterized, and the actual volumetric flow rate is the same as the measured volumetric flow rate.
4. The method according to claim 1, characterized in that, The mass separation formula also includes: Among them, the Characterizing the target liquid mass flow rate, the Characterizing the measured volumetric flow rate, the Characterizing the first accurate density, the Characterizing the measured mass flow rate, the The fitting formula that characterizes and determines the fitted data, the Characterizing the measured density, the Characterizing the true volumetric flow rate, the The second accurate density is characterized, and the actual volumetric flow rate is the same as the measured volumetric flow rate.
5. A gas-liquid two-phase flow measurement system, characterized in that, It includes a two-phase flow calculation device and measuring devices connected to the two-phase flow calculation device, the measuring devices including a volumetric flow meter, a Coriolis mass flow meter, a pressure measuring device, and a temperature measuring device. The volumetric flow meter is used to measure the measured volumetric flow rate of the gas-liquid two-phase flow to be measured, and sends the measured volumetric flow rate to the two-phase flow calculation device; The Coriolis mass flow meter is used to measure the mass flow rate and density of the gas-liquid two-phase flow to be measured, and sends the mass flow rate and density to the two-phase flow computing device. The pressure measuring device and the temperature measuring device are used to measure the gas pressure and gas temperature of the target gas in the gas-liquid two-phase flow to be measured, respectively, and send the gas pressure and the gas temperature to the two-phase flow calculation device; The two-phase flow device receives the measured volumetric flow rate, measured mass flow rate, measured density, gas pressure, and gas temperature; determines a first accurate density corresponding to the target liquid, and calculates a second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas; substitutes the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into a fitting formula to obtain fitted data; and processes the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid. The step of collecting a target liquid from the gas-liquid two-phase flow to be measured and calculating a first accurate density corresponding to the target liquid includes: separating the gas-liquid two-phase flow to be measured by static separation to obtain the target liquid in the gas-liquid two-phase flow to be measured; and processing the target liquid using a liquid density determination model to obtain the first accurate density corresponding to the target liquid. The step of collecting a target gas from the gas-liquid two-phase flow to be measured and calculating a second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas includes: separating the gas-liquid two-phase flow to be measured by static separation to obtain the target gas in the gas-liquid two-phase flow to be measured; performing component analysis on the target gas to obtain at least one gas component included in the target gas; and processing the gas pressure, the gas temperature, and the gas component using a gas density determination model. The process of determining the fitting formula includes: determining multiple experimental conditions, including experimental liquid density and experimental liquid mass flow rate corresponding to the liquid used in the experiment, experimental gas density and experimental gas mass flow rate corresponding to the gas used in the experiment, and experimental accurate volumetric flow rate corresponding to the experimental two-phase flow, wherein the experimental two-phase flow is a fluid after mixing the liquid used in the experiment and the gas used in the experiment; for each experimental condition, obtaining the experimental measured mass flow rate and experimental measured density obtained by the measuring device; and fitting the experimental liquid density, experimental liquid mass flow rate, experimental gas density, experimental gas mass flow rate, experimental accurate volumetric flow rate, experimental measured mass flow rate, and experimental measured density corresponding to each experimental condition to determine the fitting formula.
6. A gas-liquid two-phase flow measuring device, characterized in that, include: The acquisition unit is used to acquire the measured volumetric flow rate, measured mass flow rate, and measured density corresponding to the gas-liquid two-phase flow to be measured, obtained from the measuring device. The data acquisition and calculation unit is used to acquire the target gas and the target liquid from the gas-liquid two-phase flow to be measured, and to calculate the first accurate density corresponding to the target liquid, and to calculate the second accurate density corresponding to the target gas based on the gas pressure, gas temperature and the target gas. The fitting calculation unit is used to substitute the measured volumetric flow rate, the measured mass flow rate, the measured density, the first accurate density, and the second accurate density into the fitting formula to obtain the fitting data; as well as The processing unit is used to process the first accurate density, the second accurate density, the measured volumetric flow rate, the fitted data, and the measured mass flow rate using a mass separation formula to obtain the target gas mass flow rate corresponding to the target gas and the target liquid mass flow rate corresponding to the target liquid. The acquisition and calculation unit is further configured to: the step of acquiring a target liquid from the gas-liquid two-phase flow to be measured and calculating a first accurate density corresponding to the target liquid includes: allowing the gas-liquid two-phase flow to be measured to stand and separate, obtaining the target liquid in the gas-liquid two-phase flow to be measured; and processing the target liquid using a liquid density determination model to obtain the first accurate density corresponding to the target liquid; the step of acquiring a target gas from the gas-liquid two-phase flow to be measured and calculating a second accurate density corresponding to the target gas based on the gas pressure, the gas temperature, and the target gas includes: allowing the gas-liquid two-phase flow to be measured to stand and separate, obtaining the target gas in the gas-liquid two-phase flow to be measured; performing component analysis on the target gas to obtain at least one gas component included in the target gas; and processing the gas pressure, the gas temperature, and the gas component using a gas density determination model to obtain the second accurate density corresponding to the target gas; The fitting calculation unit is further configured to: determine multiple experimental conditions, including experimental liquid density and experimental liquid mass flow rate corresponding to the liquid used in the experiment, experimental gas density and experimental gas mass flow rate corresponding to the gas used in the experiment, and experimental accurate volumetric flow rate corresponding to the experimental two-phase flow, wherein the experimental two-phase flow is a fluid formed by mixing the liquid used in the experiment and the gas used in the experiment; for each experimental condition, obtain the experimental measured mass flow rate and experimental measured density obtained by the measuring device; and fit the experimental liquid density, experimental liquid mass flow rate, experimental gas density, experimental gas mass flow rate, experimental accurate volumetric flow rate, experimental measured mass flow rate, and experimental measured density corresponding to each experimental condition to determine the fitting formula.
7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1-4.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the method of any one of claims 1-4.
9. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the method according to any one of claims 1-4.