Metering application operation method and system based on gas-liquid metering test calibration system
Through the method based on the gas-liquid metering test calibration system, the gas phase flow rate is analyzed and optimized, combined with the influence of gas-liquid flow, the problem of large metering error in the moisture meter is solved, and the accurate metering of the gas well is achieved and the improvement of the improvement of the gas well's liquid production is improved. The reliability and timeliness of the metrology model are achieved.
Patent Information
- Application Number
- CN202310604241.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
The existing flowmeters have large metering errors in moisture metering, and the impact of gas-liquid flow cannot be effectively considered, resulting in inflated measurement results and insufficient accuracy, which cannot meet the metrological needs of the project site.
The metering application calculation method based on the gas-liquid metering test calibration system is adopted. By analyzing the errors of the calculated value of the single-phase pressure difference and the measured value of the pressure difference, combined with the neural network model to analyze the corrected gas phase flow rate and Luo-Ma parameters, the gas phase flow rate operation is optimized. The model is introduced and the influence of gas-liquid flow is introduced to construct gas-phase and liquid phase metering models to achieve accurate gas well liquid production metering.
It effectively reduces metrology errors, improves the reliability and timeliness of the metrology model, and ensures the accuracy and authenticity of two-phase flow metering.
Smart Images

Figure CN119023035A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of energy metering optimization, and in particular to a metering application calculation method and system based on a gas-liquid metering test and calibration system. Background Art
[0002] Wet gas is a special form of gas-liquid two-phase flow, which is commonly found in the production processes of petrochemical industry, natural gas industry, etc. In order to better understand the production dynamics of each gas well, the metering mode of gas field stations has gradually changed from rotation separation metering to single-well gas-liquid two-phase metering.
[0003] Single-phase flow meters are widely used in wellhead wet gas metering. However, according to the actual test results of flow meters used in engineering sites, the influence of gas-liquid two-phase flow on wet gas metering is not considered in the metering model of flow meter application, resulting in inflated measurement results. In addition, errors in data calculation and processing cannot be verified, and the accuracy is insufficient to meet the metering needs of engineering sites.
[0004] 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
[0005] In order to solve the above problems and overcome the problem of large metering errors of flow meters in wet gas metering, the present invention proposes a metering application operation method based on a gas-liquid metering test and calibration system, and implements testing and metering model reconstruction based on the set gas-liquid metering test and calibration system, wherein the error between the single-phase pressure difference calculation value and the pressure difference measured value is analyzed, and the corrected gas phase flow and Lockheed Martin parameters are analyzed using a neural network model in combination with the test data, and then the error between the corrected gas phase flow and the actual test flow is repeatedly optimized, and the gas phase flow operation model is analyzed based on the optimized gas phase flow using a neural network training method; the gas-liquid two-phase flow influence of the metering pipe section is introduced into the gas phase metering model, while achieving reliable gas well liquid production metering. Preferably, in one embodiment, a metering application operation method based on a gas-liquid metering test and calibration system is characterized in that the method comprises:
[0006] Test parameter setting steps: set the corresponding test flow and test pressure parameters according to the requirements of different working conditions, and form a test parameter configuration list for various working conditions;
[0007] Test execution steps, using the set gas-liquid metering test system to perform the test according to the test parameter configuration list, and the test data transmission system transmits the collected flow, pressure, and temperature data to the data processing and controller;
[0008] The single-phase flow fitting step is to determine the single-phase pressure difference of the pipe section based on the test data by the data processing and controller, and then use the nonlinear fitting method to fit the relationship between the single-phase gas flow and the single-phase pressure difference and temperature of the pipe section to calculate the gas phase flow of the test pipe section;
[0009] The gas phase flow correction step, analyzes the error between the calculated single-phase pressure difference and the measured pressure difference, uses the neural network model to analyze the corrected gas phase flow and Lockheed Martin parameters in combination with the test data, determines the error between the corrected gas phase flow and the actual test flow, and repeatedly optimizes until the target corrected gas phase flow and Lockheed Martin parameters that meet the set requirements are obtained;
[0010] The gas phase metering model construction steps, using the neural network training method, determine the relationship between the target corrected gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment, and form the target gas phase flow rate calculation model;
[0011] The liquid phase metering model construction step forms a target liquid phase flow rate calculation model based on the target gas phase flow rate metering calculation model and required data;
[0012] The metering application steps are as follows: for working conditions with metering requirements, the virtual high data of actual tests are introduced, and the corresponding real gas phase flow rate and liquid phase flow rate are calculated respectively using the gas phase flow rate calculation model and the liquid phase flow rate calculation model.
[0013] In an optional embodiment, in the test execution step, the gas-liquid metering test system used includes:
[0014] An air compressor (101), an air storage tank (102), a liquid storage tank (104), a test pipeline, a temperature control component (216), a gas-liquid mixer (106), a sensing component, a gas-liquid separator (301), a test data transmission system, and a data processing and controller (404);
[0015] The test pipeline comprises a first test pipeline (201), a second test pipeline (202) and a third test pipeline (203); the first test pipeline (201), the second test pipeline (202) and the third test pipeline (203) are respectively provided with matching sensing components, and the second test pipeline (202) is provided with a temperature control component (216);
[0016] 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);
[0017] The air compressor (101) is connected to the first test pipeline (201) via a gas phase pipeline (107), and a gas storage tank (102) is provided on the gas phase pipeline;
[0018] The first test pipeline is provided with a first pressure sensor (211), a first temperature sensor (212), a first flow meter (241), a second pressure sensor (213), and a test reserved section (214) in sequence;
[0019] The liquid storage tank is connected to a second test pipeline via a liquid phase pipeline (108), and an electromagnetic flowmeter (243) and a fifth pressure sensor (217) are provided on the second test pipeline;
[0020] The first test pipeline and the second test pipeline are connected to the third test pipeline via a gas-liquid mixer (106);
[0021] The third test pipeline 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 third test pipeline is connected to the gas-liquid separator through the test pipeline;
[0022] The liquid phase pipeline is provided with a booster pump (105), a second pressure regulating valve (207) and a second stop valve (205) in sequence, and the pressure of water entering the second test pipeline is controlled by adjusting the second pressure regulating valve;
[0023] The system further comprises a gas phase vent pipe (302), wherein the gas phase vent pipe (302) is connected to the top of the gas-liquid separator (301);
[0024] The liquid storage tank is connected to the bottom of the gas-liquid separator (301) via a liquid phase reflux pipe (303).
[0025] Further, in one embodiment, in the gas-liquid metering test system, the temperature control component includes a heating element and a heat-insulating pipe sleeve;
[0026] The heating element is spirally wound around the pipe along the pipe wall and is encapsulated on the pipe by a thermal insulation sleeve;
[0027] The heating element adopts a temperature-controllable electric heating wrapping belt, and the insulation pipe sleeve can adopt the following types of insulation pipe sleeves: polyurethane foam insulation pipe sleeve, rubber and plastic insulation pipe sleeve and glass wool insulation pipe sleeve;
[0028] The length of the test reserved section (214) is the same as that of the third test pipeline, and the test reserved section (214) can be exchanged with the third test pipeline.
[0029] In a preferred embodiment, in the single-phase flow fitting step, the relationship between the fitted single-phase gas flow and the pipe section pressure, the single-phase pressure difference, and the temperature is as follows:
[0030]
[0031] In the formula, △p 1 is the single-phase pressure difference in the pipe section, p 1 is the pressure tested by the first pressure sensor, p 2 is the pressure tested by the second pressure sensor, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, T 1 is the temperature tested by the first temperature sensor.
[0032] Specifically, in an optional embodiment, the measurement model correction step includes:
[0033] Step A1, calculate the pressure difference calculation value of the third test pipe section under the single-phase metering condition by combining the gas phase flow value and temperature data of the flow meter, and proceed to step A2;
[0034] Step A2, obtaining the actual pressure before and after the flow meter on the third test pipe section measured by the pressure sensor, calculating and determining the actual pressure difference value, and proceeding to step A3;
[0035] Step A3: The error value between the measured pressure difference value and the calculated pressure difference value under the single-phase metering condition is used to calculate the corrected gas phase flow rate and Lockheed Martin parameters of the test pipe section by using the neural network relationship model in combination with the gas phase flow rate, pressure and temperature of the test pipe section, and then proceed to step A4;
[0036] Step A4, calculating the error value between the corrected gas phase flow rate and the actual test gas phase flow rate, and judging whether the error value is within the set range. If so, determining the current gas phase flow rate as the target gas phase flow rate, and using it to construct a target gas phase flow rate calculation model; otherwise, executing step A5;
[0037] Step A5, assign the calculated corrected gas phase flow value to the gas phase flow value of the flow meter, and return to execute step S2 until the error value between the corrected gas phase flow and the actual tested gas phase flow is within the set range.
[0038] Furthermore, in one embodiment, in the metering model correction step, the corrected gas phase flow rate and Lockheed Martin parameters are analyzed by using the neural network model described in the following formula in combination with the test data:
[0039]
[0040] In the formula, △p m is the error between the measured pressure difference and the calculated pressure difference under single-phase metering conditions, Q g2 Test the gas flow rate of the test pipe section, p 3 is the test pipe section pressure, T 3 Temperature of the test pipe section, Q' g2 and Q g1 represents the corrected gas phase flow rate, and X is the corrected Lockheed Martin parameter.
[0041] Further, in an optional embodiment, in the gas phase metering model construction step, the relationship between the gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment is determined according to the following formula:
[0042]
[0043] In the formula, p 4 is the pressure of the fourth pressure sensor test, Q g2 is the single-phase gas flow rate obtained by the second flowmeter test, △p m is the pressure difference between wet gas metering and single-phase metering, p 3 is the pressure measured by the third pressure sensor, T 3 is the temperature measured by the second temperature sensor; △p 1 is the single-phase pressure difference of the pipe section between the first pressure sensor and the second pressure sensor, X is the Lockheed Martin parameter, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, Q l is the electromagnetic flowmeter testing liquid flow rate, ρ l , g are the densities of the liquid and gas phases, respectively.
[0044] In an optional embodiment, in the gas phase metering model construction step, the input neuron parameters of the neural network include the single-phase gas flow rate obtained by the second flow meter test, the pressure difference between wet gas metering and single-phase metering, the pressure obtained by the third pressure sensor test, and the temperature obtained by the second temperature sensor test; the output neuron parameters include the single-phase gas flow rate tested by the first flow meter and the Lockheed Martin parameters.
[0045] 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.
[0046] Based on the application aspects of the method described in any one or more of the above embodiments, the present invention also provides a metering application computing system based on a gas-liquid metering test and calibration system, which executes the method described in any one or more of the above embodiments.
[0047] Compared with the closest prior art, the present invention also has the following beneficial effects:
[0048] The present invention provides a metering application operation method and system based on a gas-liquid metering test and calibration system. The method uses a set gas-liquid metering test system to perform a test according to the test parameter configuration list, calculates the pressure difference according to the test data, and uses a nonlinear fitting method to fit the operation relationship of the single-phase gas flow rate; the adopted test system includes a first test pipeline, a second test pipeline and a third test pipeline provided with a sensing component, the first test pipeline and the second test pipeline are connected to the third test pipeline through a gas-liquid mixer, and the data processing and controller are connected to the sensing component through a test data transmission system. The system is provided with a test reserved section to realize flexible calibration of a natural gas single-phase metering flowmeter and a gas-liquid two-phase flowmeter, and the data processing and controller monitor the temperature control data and pressure state in the pipeline in real time to automatically realize precise temperature and pressure control;
[0049] Analyze the error between the calculated single-phase pressure difference and the measured pressure difference, use the neural network model to analyze the corrected gas phase flow and Lockheed Martin parameters in combination with the test data, and then repeatedly optimize according to the error between the corrected gas phase flow and the actual test flow, and use the neural network training method to analyze the gas phase flow calculation model based on the optimized gas phase flow; then determine the liquid phase metering model, and call the metering model to realize two-phase flow calculation in actual application; use the neural network model to analyze the corrected gas phase flow and Lockheed Martin parameters in combination with the test data to realize iterative optimization until the error between the corrected gas phase flow and the actual test flow is controlled within a very small range, which can effectively ensure the accuracy of the gas phase flow data input into the two-phase metering model, thereby further improving the reliability of the metering model and the authenticity of the metering calculation results on the basis of improving the timeliness of the two-phase metering.
[0050] 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
[0051] 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:
[0052] Figure 1 It is a flow chart of a measurement application calculation method based on a gas-liquid measurement test and calibration system provided by an embodiment of the present invention;
[0053] Figure 2 It is a structural schematic diagram of a gas-liquid metering test and calibration system in a metering application calculation method provided in an embodiment of the present invention;
[0054] Figure 3It is a schematic diagram of a gas phase flow correction process of a metering application calculation method based on a gas-liquid metering test and calibration system provided in another embodiment of the present invention;
[0055] Figure 4 It is a schematic diagram of the gas phase flow neural network training principle of the metering application calculation method based on the gas-liquid metering test and calibration system provided in an embodiment of the present invention;
[0056] Figure 5 It is a structural diagram of a metering application computing system based on a gas-liquid metering test and calibration system provided in yet another embodiment of the present invention. DETAILED DESCRIPTION
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] Wet gas is a special form of gas-liquid two-phase flow, which is commonly found in the production processes of petrochemical industry, natural gas industry, etc. In order to better understand the production dynamics of each gas well, the metering mode of gas field stations has gradually changed from rotating separation metering to single-well gas-liquid two-phase metering. In addition, the researchers found that from the actual test results of the flowmeter used in the engineering site, the impact of gas-liquid two-phase flow on wet gas metering was not considered in the metering model of the flowmeter application, resulting in falsely high measurement results, which could not meet the metering needs of the site.
[0062] To this end, in view of the current situation that flow meters have large metering errors in wet gas metering, the researchers of the present invention have proposed a metering application operation method and system based on a gas-liquid metering test and calibration system. The method uses a set gas-liquid metering test system to perform tests according to the test parameter configuration list, calculates the pressure difference according to the test data, and uses a nonlinear fitting method to fit the operational relationship of the single-phase gas flow rate. The error between the calculated single-phase pressure difference value and the measured pressure difference value is analyzed, and the corrected gas phase flow rate and Lockheed Martin parameters are analyzed using a neural network model in combination with the test data. Then, the optimization is repeated according to the error between the corrected gas phase flow rate and the actual test flow rate. The gas phase flow rate operation model is analyzed based on the optimized gas phase flow rate using a neural network training method, and then the liquid phase metering model is determined. Not only is the gas-liquid two-phase flow influence of the metering pipe section effectively introduced into the gas phase metering model to achieve accurate gas phase metering, but also the accurate metering of gas well production liquid is achieved, thereby improving the timeliness and reliability of two-phase metering of single well production.
[0063] Next, the structural components, connection modes and functional principles of the system of the embodiment of the present invention are described in detail based on the drawings. Although the logical order of each operation is shown in the process of describing the operating principle of the system structure, in some cases, the operations shown or described can be performed in a different order than here.
[0064] Embodiment 1
[0065] Figure 1 FIG. 1 is a flow chart showing a method for calculating a measurement application based on a gas-liquid measurement test and calibration system according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0066] Test parameter setting steps: set the corresponding test flow and test pressure parameters according to the requirements of different working conditions, and form a test parameter configuration list for various working conditions;
[0067] Test execution steps, using the set gas-liquid metering test system to perform the test according to the test parameter configuration list, and the test data transmission system transmits the collected flow, pressure, and temperature data to the data processing and controller;
[0068] The single-phase flow fitting step is to determine the single-phase pressure difference of the pipe section based on the test data by the data processing and controller, and then use the nonlinear fitting method to fit the relationship between the single-phase gas flow and the single-phase pressure difference and temperature of the pipe section to calculate the gas phase flow of the test pipe section;
[0069] The gas phase flow correction step, analyzes the error between the calculated single-phase pressure difference and the measured pressure difference, uses the neural network model to analyze the corrected gas phase flow and Lockheed Martin parameters in combination with the test data, determines the error between the corrected gas phase flow and the actual test flow, and repeatedly optimizes until the target corrected gas phase flow and Lockheed Martin parameters that meet the set requirements are obtained;
[0070] The gas phase metering model construction steps, using the neural network training method, determine the relationship between the target corrected gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment, and form the target gas phase flow rate calculation model;
[0071] The liquid phase metering model construction step forms a target liquid phase flow rate calculation model based on the target gas phase flow rate metering calculation model and required data;
[0072] The metering application steps are as follows: for working conditions with metering requirements, the virtual high data of actual tests are introduced, and the corresponding real gas phase flow rate and liquid phase flow rate are calculated respectively using the gas phase flow rate calculation model and the liquid phase flow rate calculation model.
[0073] The gas phase flow correction calculation method described in the embodiment of the present invention is applicable to flow meters such as orifice flowmeters, swirl flowmeters, V-cone flowmeters, conical orifice flowmeters and vortex flowmeters.
[0074] In an optional embodiment, in the test execution step, the gas-liquid metering test system air compressor 101, gas storage tank 102, test pipeline, gas-liquid mixer 106, sensing component, temperature control component 216, gas-liquid separator 301, test data transmission system, data processing and controller 404 are used;
[0075] The test pipeline includes a first test pipeline 201, a second test pipeline 202 and a third test pipeline 203;
[0076] The first test pipe 201, the second test pipe 202 and the third test pipe 203 are respectively provided with matching sensing components; each set of sensing components includes a sensor and a flow meter, and the second test pipe 202 is provided with a temperature control component 216
[0077] 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 provided on the gas phase pipeline 107;
[0078] The first test pipeline 201 is provided with a first pressure sensor 211, a first temperature sensor 212, a first flow meter 241, a second pressure sensor 213, and a test reserved section 214 in sequence;
[0079] The liquid storage tank 104 is connected to the second test pipeline 202 through the liquid phase pipeline 108, and the second test pipeline 202 is provided with an electromagnetic flowmeter 243 and a fifth pressure sensor 217;
[0080] 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;
[0081] The third test pipe 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;
[0082] The third test pipeline is connected to the gas-liquid separator through a test pipeline;
[0083] The liquid phase pipeline is provided with a booster pump 105, a second pressure regulating valve 207 and a second stop valve 205 in sequence, and the pressure of water entering the second test pipeline is controlled by adjusting the second pressure regulating valve;
[0084] 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 .
[0085] The system further includes a gas phase vent pipe 302 , which is connected to the top of the gas-liquid separator 301 .
[0086] The system further includes a liquid storage tank 104 , which is connected to the bottom of the gas-liquid separator 301 via a liquid phase reflux pipe 303 .
[0087] Since the flow meters on the first and second test pipelines are measurement verification meters and require accuracy, temperature changes are not considered. The flow meter on the third test pipeline is multiphase. The presence of liquid phase on site and the different amounts of liquid phase will change the measurement environment temperature. Considering that the gas and liquid phases have enough contact time after mixing to make the temperature of the entire pipe section evenly mixed, the temperature control component is set behind the metering component of the second test pipeline.
[0088] 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 .
[0089] 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;
[0090] 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.
[0091] The pressure of water entering the second testing pipeline 202 is controlled by adjusting the second pressure regulating valve 207 .
[0092] In an optional embodiment, a third pressure sensor 221, a second temperature sensor 222, a second flow meter 242, and a fourth pressure sensor 223 are sequentially arranged on the third test pipe;
[0093] The length of the test reserved section 214 is the same as the length of the third test pipeline, and the test reserved section 214 can be exchanged with the third test pipeline. 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:
[0094] (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;
[0095]
[0096] (2) The test reserved section 214 and the third test pipeline position are not exchanged, and can be used to calibrate the gas-liquid two-phase flowmeter, but the flowmeters on the first test pipeline and the third test pipeline are of the same model, and an orifice flowmeter, a swirl flowmeter, a V-cone flowmeter, or a conical orifice flowmeter can be used.
[0097] In actual application, in an optional embodiment, the temperature control component includes a heating element and a heat-insulating pipe sleeve;
[0098] The heating element is spirally wound around the pipe along the pipe wall and is encapsulated on the pipe by a thermal insulation sleeve;
[0099] In an optional embodiment, the heating element adopts a temperature-controllable electric heating wrapping belt, and the types of insulation pipe sleeves that can be used for the insulation pipe sleeve include: polyurethane foam insulation pipe sleeve, rubber-plastic insulation pipe sleeve and glass wool insulation pipe sleeve.
[0100] 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.
[0101] 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).
[0102] The first pressure sensor 211, the first temperature sensor 212, the first 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 first flowmeter 241; in actual application, the first flowmeter can be an orifice flowmeter, a swirl flowmeter, a V-cone flowmeter, or a conical orifice flowmeter.
[0103] 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.
[0104] 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.
[0105] The third pressure sensor 221, the second temperature sensor 222, the second 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 second flowmeter 242. In actual application, the second flowmeter can be an orifice flowmeter, a swirl flowmeter, a V-cone flowmeter, or a conical orifice flowmeter according to needs.
[0106] In a specific embodiment, the gas-liquid metering test calibration system used in the present invention includes an air compressor 101, an air storage tank 102, a flow regulating valve 103, a liquid storage tank 104, a booster pump 105, a gas-liquid mixer 106, a gas phase pipeline 107, a liquid phase pipeline 108, a first test pipeline 201, a second test pipeline 202, a third test pipeline 203, a first stop valve 204, a second stop valve 205, a first pressure regulating valve 206, a second pressure regulating valve 207, a first pressure sensor 211, a first Temperature sensor 212, second pressure sensor 213, temperature control component 216, third pressure sensor 221, second temperature sensor 222, fourth pressure sensor 223, first flow meter 241, second flow meter 242, electromagnetic flow meter 243, gas-liquid separator 301, gas phase vent pipe 302, liquid phase reflux pipe 303, first test data transmission system 401, second test data transmission system 402, third test data transmission system 403, data processing and controller 404.
[0107] The air compressor 101 is connected to the first test pipeline 201 through the gas phase pipeline 107; the gas phase pipeline 107 is provided with a gas storage tank 102, a flow regulating valve 103, a first pressure regulating valve 206, and a first stop valve 204 in sequence, and the first test pipeline 201 is provided with a first pressure sensor 211, a first temperature sensor 212, a first flow meter 241, a second pressure sensor 213, and a test reserved section 214 in sequence.
[0108] The liquid storage tank 104 is connected to the second test pipeline 202 through a liquid phase pipeline 108; 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, and the second test pipeline 202 is provided with an electromagnetic flowmeter 243 and a fifth pressure sensor 217.
[0109] 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 ; the second test pipeline 202 is provided with a temperature control component 216 .
[0110] The third test pipe 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.
[0111] 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.
[0112] The third test pipeline is connected to the gas-liquid separator through the test pipeline. The top of the gas-liquid separator 301 is connected to the gas phase exhaust pipe 302, and the bottom is connected to the liquid storage tank 104 through the liquid phase reflux pipe 303.
[0113] 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 via the first test data transmission system 401 .
[0114] The electromagnetic flowmeter 243 is connected to the data processing and controller 404 through the second test data transmission system 402; the third pressure sensor 221, the second temperature sensor 222, the second 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.
[0115] The first test data transmission system 401 transmits the monitoring pressure of the first test pipeline 201 through the first pressure sensor 211 and the second pressure sensor 213 , transmits the monitoring temperature of the first test pipeline 201 through the first temperature sensor 212 , and transmits the monitoring gas phase flow of the first test pipeline 201 through the first flowmeter 241 .
[0116] Furthermore, the second test data transmission system 402 transmits the monitored liquid phase flow of the second test pipeline 202 through the electromagnetic flowmeter 243, and the data processing and controller are connected to the temperature control component via the second test data transmission system, and is used to regulate the temperature control component based on the real-time monitored test pipe section temperature data to achieve stable test temperature control.
[0117] Furthermore, 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 second flowmeter 242.
[0118] 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:
[0119] 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 pressure is regulated by the first pressure regulating valve, the gas passes through the first test pipeline 201 and enters the third test pipeline 203.
[0120] 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.
[0121] 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.
[0122] S14, the first 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 second 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.
[0123] S15, the first test data transmission system 401, the second test data transmission system 402, and the third test data transmission system 403 respectively transmit the collected flow, pressure, and temperature data to the data processing and controller 404, which constructs a metering model based on the flow, pressure, and temperature data combined with the set operation logic to realize metering operations under actual working conditions.
[0124] In a preferred embodiment, in the single-phase flow fitting step, the relationship between the fitted single-phase gas flow and the pipe section pressure, the single-phase pressure difference, and the temperature is as follows:
[0125]
[0126] In the formula, △p 1 is the single-phase pressure difference in the pipe section, p 1 is the pressure tested by the first pressure sensor, p 2 is the pressure tested by the second pressure sensor, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, T 1 is the temperature tested by the first temperature sensor.
[0127] Furthermore, in a preferred embodiment, the measurement model correction step includes the following operations:
[0128] Step A1, calculate the pressure difference calculation value of the test pipe section under the single-phase metering condition by combining the gas phase flow value and temperature data of the flow meter, and proceed to step A2;
[0129] Step A2, determining the pressure difference measured value according to the actual pressure data of the third test pipe section measured by the pressure sensor, and proceeding to step A3;
[0130] Step A3: the error value between the measured pressure difference value and the calculated pressure difference value under the single-phase metering condition is used to calculate the corrected gas phase flow rate and Lockheed Martin parameters of the test pipe section by using the neural network relationship model in combination with the test gas phase flow rate, pressure and temperature of the test pipe section, and then proceed to step A4;
[0131] Step A4, calculating the error value between the corrected gas phase flow rate and the actual test gas phase flow rate, and judging whether the error value is within the set range. If so, determining the current gas phase flow rate as the target gas phase flow rate, and using it to construct a target gas phase flow rate calculation model; otherwise, executing step A5;
[0132] Step A5, assign the calculated corrected gas phase flow value to the gas phase flow value of the flow meter, and return to execute step A1 until the error value between the corrected gas phase flow and the actual tested gas phase flow is within the set range.
[0133] Optionally, in one embodiment, the corrected gas phase flow rate and Lockheed Martin parameters are analyzed by using the neural network model described in the following formula in combination with the test data:
[0134]
[0135] In the formula, △p m is the error between the measured pressure difference and the calculated pressure difference under single-phase metering conditions, Q g2 Test the gas flow rate of the test pipe section, p 3 is the test pipe section pressure, T 3 Temperature of the test pipe section, Q' g2 and Q g1 represents the corrected gas phase flow rate, and X is the corrected Lockheed Martin parameter.
[0136] In actual application, it is implemented according to the following logic:
[0137] Step A1: Use the second flow meter to test the gas phase flow value as the initial gas phase flow value Q g2 ; Combined flow Q g2 With temperature T 3 , the pressure difference value generated by the third test pipe section under single-phase metering conditions at this flow value is calculated using the following formula;
[0138] △p 1 =f 1 (Q g2 ,T 3 ) (4)
[0139] Step A2, obtaining the actual pressure of the third test pipe section according to the pressure sensors before and after the second flow meter, and calculating the actual pressure difference value of the test pipe section according to the following formula (5);
[0140] p 3 -p 4 =△p 2 (5)
[0141] In the formula, p 3 is the test pressure of the third pressure sensor 221, p 4 is the test pressure of the fourth pressure sensor 223;
[0142] Step A3, calculating the error value between the actual differential pressure value of the third test pipe section and the differential pressure value under the single-phase metering condition according to the following formula (6);
[0143] △p 2 -△p 1 =△p m (6)
[0144] Then combine the third test pipe section to test the flow rate Q g2 , pressure p 3 , Temperature T 3 , the error between the measured pressure difference of the test pipe section and the calculated pressure difference under single-phase metering conditions and the neural network relationship model represented by the following formula (7), calculate the corrected test flow rate Q of the test pipe section g2 'With Lockheed Martin parameter X;
[0145]
[0146] Step A4: Calculate the corrected test flow rate Q of the test pipe section according to formula (8): g2 'With the actual test flow Q g2 Is the error value within the allowable calculation error range? If the calculation error is less than 0.01, the target gas phase flow rate of the test pipe section is determined to be Q g2 ', can be used to construct the target gas phase model and calculate the liquid phase flow rate Q according to the following formula (9): l ; Otherwise, go to step A5;
[0147]
[0148]
[0149] In the formula, ρ l , g are the liquid and gas phase densities respectively;
[0150] Step A5: calculate the test flow rate Q of the third test pipe section g2 'Assign value to Q g2, return to step A1, such as Figure 3 shown.
[0151] Furthermore, in the gas phase metering model construction step, the relationship between the gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment is determined as follows:
[0152]
[0153] In the formula, p 4 is the pressure tested by the fourth pressure sensor 223, Q g2 is the single-phase gas flow rate measured by the second flow meter 242, △p m is the pressure difference between wet gas metering and single-phase metering, p 3 is the pressure measured by the third pressure sensor 221, T 3 is the temperature measured by the second temperature sensor 222; Δp 1 is the single-phase pressure difference of the pipe section tested by the first pressure sensor 211 and the second pressure sensor 213, △p 2 The meaning is the pressure difference between the front and rear sections of the second flow meter, X is the Lockheed Martin parameter, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, Q l is the electromagnetic flowmeter testing liquid phase flow, ρ l , g are the densities of the liquid and gas phases, respectively.
[0154] Specifically, in an optional embodiment, in the gas phase metering model construction step, the input neuron parameters of the neural network are set to include the single-phase gas flow rate obtained by the second flow meter test, the pressure difference between the wet gas metering and the single-phase metering, the pressure obtained by the third pressure sensor test, and the temperature obtained by the second temperature sensor test; the output neuron parameters include the single-phase gas flow rate tested by the first flow meter and the Lockheed Martin parameters, such as Figure 4 shown.
[0155] In actual application, the process of constructing the metering model by the data processing and controller 404 based on the flow, pressure, and temperature data combined with the set operation logic includes the following operations:
[0156] Determine the single-phase pressure difference Δp of the pipe section based on the parameters tested by the first pressure sensor 211 and the second pressure sensor 213 1 , a nonlinear fitting method is used to fit the single-phase gas flow Q obtained by the first flow meter 241 test g1 Single-phase pressure difference with pipe section△p 1 , the temperature T measured by the first temperature sensor 212 1 the relationship between;
[0157] S22, using a neural network training method to determine the relationship between the gas phase flow rate, the Lockheed Martin parameter X and the parameters obtained during the experiment as a gas phase flow rate measurement calculation model;
[0158] The neural network input neuron parameters include the single-phase gas flow Q obtained by the second flow meter 242 test g2 , Wet gas metering and single-phase metering pressure difference △p m , the pressure p measured by the third pressure sensor 221 3 and the temperature T measured by the second temperature sensor 222 3 ;
[0159] The output neuron parameters include the first flow meter 241 testing the single-phase gas flow Q g1 , Lockheed Martin parameter X.
[0160] Furthermore, when implementing metering applications, for working conditions with metering requirements, the actual gas flow value is calculated based on the gas flow metering operation model coupled iteratively in step S22, and then the liquid flow value is calculated in combination with the virtual high data obtained from actual measurements.
[0161] 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.
[0162] It should be pointed out that, in other embodiments of the present invention, the method can also obtain a new metering application method by combining one or several of the above embodiments to optimize the two-phase metering of oil and gas engineering.
[0163] 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, which stores 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 metering application operation method based on the gas-liquid metering test and calibration system as described above.
[0164] Embodiment 2
[0165] The above embodiments disclosed in the present invention describe the method in detail. 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 metering application computing system based on a gas-liquid metering test calibration system, which is used to execute the metering application computing method based on a gas-liquid metering test calibration system described in any one or more embodiments. Specific embodiments are given below for detailed description.
[0166] Specifically, Figure 5 FIG. 4 shows a schematic diagram of the structure of a metering application computing system based on a gas-liquid metering test and calibration system provided in an embodiment of the present invention. Figure 5 As shown, the system includes:
[0167] A test parameter setting module, which is configured to set corresponding test flow and test pressure parameters according to the requirements of different working conditions, and form a test parameter configuration list for multiple working conditions;
[0168] A test execution module is configured to use a set gas-liquid metering test system to perform a test according to the test parameter configuration list, and the test data transmission system transmits the collected flow, pressure, and temperature data to a data processing and controller;
[0169] A single-phase flow fitting module is configured such that the data processing and controller determines the single-phase pressure difference of the pipe section based on the test data, and then uses a nonlinear fitting method to fit the relationship between the single-phase gas flow and the single-phase pressure difference and temperature of the pipe section, so as to calculate the gas phase flow of the test pipe section;
[0170] A gas phase flow correction module is configured to analyze the error between the calculated single-phase pressure difference value and the measured pressure difference value, analyze the corrected gas phase flow and Lockheed Martin parameters using a neural network model in combination with the test data, determine the error between the corrected gas phase flow and the actual test flow, and repeatedly optimize until the target corrected gas phase flow and Lockheed Martin parameters that meet the set requirements are obtained;
[0171] A gas phase metering model building module is configured to use a neural network training method to determine the relationship between the target corrected gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment to form a target gas phase flow rate calculation model;
[0172] A liquid phase metering model building module, which is configured to form a target liquid phase flow rate calculation model based on the target gas phase flow rate metering calculation model and required data;
[0173] The metering application module is configured to introduce the virtual high data of the actual test for the working conditions with metering requirements, and use the gas phase flow calculation model and the liquid phase flow calculation model to calculate the corresponding real gas phase flow and liquid phase flow respectively.
[0174] In an optional embodiment, the gas-liquid metering test system used by the test execution module includes:
[0175] Air compressor 101, air storage tank 102, liquid storage tank 104, test pipeline, temperature control component 216, gas-liquid mixer 106, sensing component, gas-liquid separator 301, test data transmission system and data processing and controller 404;
[0176] The test pipeline includes a first test pipeline 201, a second test pipeline 202 and a third test pipeline 203; the first test pipeline 201, the second test pipeline 202 and the third test pipeline 203 are respectively provided with matching sensing components, and the second test pipeline 202 is provided with a temperature control component 216;
[0177] 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;
[0178] 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 provided on the gas phase pipeline;
[0179] The first test pipeline is provided with a first pressure sensor 211, a first temperature sensor 212, a first flow meter 241, a second pressure sensor 213, and a test reserved section 214 in sequence;
[0180] The liquid storage tank is connected to a second test pipeline via a liquid phase pipeline 108, and an electromagnetic flowmeter 243 and a fifth pressure sensor 217 are provided on the second test pipeline;
[0181] The first test pipeline and the second test pipeline are connected to the third test pipeline via a gas-liquid mixer 106;
[0182] The third test pipeline 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 third test pipeline is connected to the gas-liquid separator through a test pipeline; the first flow meter and the second flow meter can be an orifice flow meter, a swirl flow meter, a V-shaped inner cone flow meter, a conical orifice flow meter, and a vortex flow meter;
[0183] The liquid phase pipeline is provided with a booster pump 105, a second pressure regulating valve 207 and a second stop valve 205 in sequence, and the pressure of water entering the second test pipeline is controlled by adjusting the second pressure regulating valve;
[0184] The system further includes a gas phase vent pipe 302, and the gas phase vent pipe 302 is connected to the top of the gas-liquid separator 301;
[0185] The liquid storage tank is connected to the bottom of the gas-liquid separator 301 through a liquid phase reflux pipe 303 .
[0186] Further, in a preferred embodiment, in the gas-liquid metering test system adopted, the temperature control component includes a heating element and a heat-insulating pipe sleeve;
[0187] The heating element is spirally wound around the pipe along the pipe wall and is encapsulated on the pipe by a thermal insulation sleeve;
[0188] The heating element adopts a temperature-controllable electric heating wrapping belt, and the insulation pipe sleeve can adopt the following types of insulation pipe sleeves: polyurethane foam insulation pipe sleeve, rubber and plastic insulation pipe sleeve and glass wool insulation pipe sleeve;
[0189] 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.
[0190] Furthermore, in one embodiment, the single-phase flow fitting module is configured to fit the relationship between the single-phase gas flow and the pipe section pressure, the single-phase pressure difference, and the temperature according to the following formula:
[0191]
[0192] In the formula, △p 1 is the single-phase pressure difference in the pipe section, p 1 is the pressure tested by the first pressure sensor, p 2 is the pressure tested by the second pressure sensor, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, T 1 is the temperature tested by the first temperature sensor.
[0193] In a preferred embodiment, the metrology model correction module is configured to perform the following operations:
[0194] Step A1, calculate the pressure difference calculation value of the third test pipe section under the single-phase metering condition by combining the gas phase flow value and temperature data of the flow meter, and proceed to step A2;
[0195] Step A2, obtaining the actual pressure before and after the flow meter on the third test pipe section measured by the pressure sensor, calculating and determining the actual pressure difference value, and proceeding to step A3;
[0196] Step A3: the error value between the measured pressure difference value and the calculated pressure difference value under the single-phase metering condition is used to calculate the corrected gas phase flow rate and Lockheed Martin parameters of the third test pipe section by using the neural network relationship model in combination with the gas phase flow rate, pressure and temperature tested in the third test pipe section, and then proceed to step A4;
[0197] Step A4, calculating the error value between the corrected gas phase flow rate and the actual test gas phase flow rate, and judging whether the error value is within the set range. If so, determining the current gas phase flow rate as the target gas phase flow rate, and using it to construct a target gas phase flow rate calculation model; otherwise, executing step A5;
[0198] Step A5, assign the calculated corrected gas phase flow value to the gas phase flow value of the flow meter, and return to execute step S2 until the error value between the corrected gas phase flow and the actual tested gas phase flow is within the set range.
[0199] In an optional embodiment, the metering model correction module analyzes the corrected gas phase flow rate and Lockheed Martin parameters in combination with the neural network model of the test data according to the following formula:
[0200]
[0201] In the formula, △p m is the error between the measured pressure difference and the calculated pressure difference under single-phase metering conditions, Q g2 Test the gas flow rate of the test pipe section, p 3 is the test pipe section pressure, T 3 Temperature of the test pipe section, Q' g2 and Q g1 represents the corrected gas phase flow rate, and X is the corrected Lockheed Martin parameter.
[0202] Further, in one embodiment, the gas phase metering model building module is configured to determine the relationship between the gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment according to the following formula:
[0203]
[0204] In the formula, p 4 is the pressure of the fourth pressure sensor test, Q g2 is the single-phase gas flow rate obtained by the second flowmeter test, △p m is the pressure difference between wet gas metering and single-phase metering, p 3 is the pressure measured by the third pressure sensor, T 3 is the temperature measured by the second temperature sensor; △p 1 is the single-phase pressure difference of the pipe section between the first pressure sensor and the second pressure sensor, X is the Lockheed Martin parameter, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, Q l is the electromagnetic flowmeter testing liquid phase flow, ρ l , g are the densities of the liquid and gas phases, respectively.
[0205] In an optional embodiment, the neural network configuration adopted by the gas phase metering model construction module is as follows: the input neuron parameters include the single-phase gas flow rate obtained by the second flowmeter test, the pressure difference between wet gas metering and single-phase metering, the pressure obtained by the third pressure sensor test, and the temperature obtained by the second temperature sensor test; the output neuron parameters include the single-phase gas flow rate tested by the first flowmeter and the Lockheed Martin parameters.
[0206] In the metering application computing system based on the gas-liquid metering test and calibration system provided by the embodiment of the present invention, each module or unit structure can operate independently or in combination according to actual data measurement requirements and correction computing requirements to achieve corresponding technical effects.
[0207] 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.
[0208] 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.
[0209] 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 measurement application calculation method based on a gas-liquid measurement test and calibration system, characterized in that: The method comprises: Test parameter setting steps: set the corresponding test flow and test pressure parameters according to the requirements of different working conditions, and form a test parameter configuration list for various working conditions; Test execution steps, using the set gas-liquid metering test system to perform the test according to the test parameter configuration list, and the test data transmission system transmits the collected flow, pressure, and temperature data to the data processing and controller; The single-phase flow fitting step is to determine the single-phase pressure difference of the pipe section based on the test data by the data processing and controller, and then use the nonlinear fitting method to fit the relationship between the single-phase gas flow and the single-phase pressure difference and temperature of the pipe section to calculate the gas phase flow of the test pipe section; The gas phase flow correction step, analyzes the error between the calculated single-phase pressure difference and the measured pressure difference, uses the neural network model to analyze the corrected gas phase flow and Lockheed Martin parameters in combination with the test data, determines the error between the corrected gas phase flow and the actual test flow, and repeatedly optimizes until the target corrected gas phase flow and Lockheed Martin parameters that meet the set requirements are obtained; The gas phase metering model construction steps, using the neural network training method, determine the relationship between the target corrected gas phase flow rate, the Lockheed Martin parameter X and the test parameters during the experiment, and form the target gas phase flow rate calculation model; The liquid phase metering model construction step forms a target liquid phase flow rate calculation model based on the target gas phase flow rate metering calculation model and required data; The metering application steps are as follows: for working conditions with metering requirements, the virtual high data of actual tests are introduced, and the corresponding real gas phase flow rate and liquid phase flow rate are calculated respectively using the gas phase flow rate calculation model and the liquid phase flow rate calculation model.
2. The method according to claim 1, characterized in that In the test execution step, the gas-liquid metering test system used includes: An air compressor (101), an air storage tank (102), a liquid storage tank (104), a test pipeline, a temperature control component (216), a gas-liquid mixer (106), a sensing component, a gas-liquid separator (301), a test data transmission system, and a data processing and controller (404); The test pipeline comprises a first test pipeline (201), a second test pipeline (202) and a third test pipeline (203); the first test pipeline (201), the second test pipeline (202) and the third test pipeline (203) are respectively provided with matching sensing components, and the second test pipeline (202) is provided with a temperature control component (216); the first test pipeline and the second test pipeline are connected to the third test pipeline via a gas-liquid mixer (106); 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); The air compressor (101) is connected to the first test pipeline (201) via a gas phase pipeline (107), and a gas storage tank (102) is provided on the gas phase pipeline; The first test pipeline is provided with a first pressure sensor (211), a first temperature sensor (212), a first flow meter (241), a second pressure sensor (213), and a test reserved section (214) in sequence; The liquid storage tank is connected to a second test pipeline via a liquid phase pipeline (108), and an electromagnetic flowmeter (243) and a fifth pressure sensor (217) are provided on the second test pipeline; The third test pipeline 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 third test pipeline is connected to the gas-liquid separator through the test pipeline; The liquid phase pipeline is provided with a booster pump (105), a second pressure regulating valve (207) and a second stop valve (205) in sequence, and the pressure of water entering the second test pipeline is controlled by adjusting the second pressure regulating valve; The system further comprises a gas phase vent pipe (302), wherein the gas phase vent pipe (302) is connected to the top of the gas-liquid separator (301); the liquid storage tank is connected to the bottom of the gas-liquid separator (301) via a liquid phase reflux pipe (303).
3. The method according to claim 2, characterized in that In the gas-liquid metering test system, the temperature control component includes a heating element and a thermal insulation pipe sleeve; The heating element is spirally wound around the pipe along the pipe wall and is encapsulated on the pipe by a thermal insulation sleeve; The heating element adopts a temperature-controllable electric heating wrapping belt, and the insulation pipe sleeve can adopt the following types of insulation pipe sleeves: polyurethane foam insulation pipe sleeve, rubber and plastic insulation pipe sleeve and glass wool insulation pipe sleeve; The length of the test reserved section (214) is the same as that of the third test pipeline, and the test reserved section (214) can be exchanged with the third test pipeline.
4. The method according to claim 1, characterized in that: In the single-phase flow fitting step, the relationship between the fitted single-phase gas flow and the pipe section pressure, single-phase pressure difference, and temperature is as follows: In the formula, △p1 is the single-phase pressure difference of the pipe section, p1 is the pressure tested by the first pressure sensor, p2 is the pressure tested by the second pressure sensor, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, and T1 is the temperature tested by the first temperature sensor.
5. The method according to claim 1, characterized in that The econometric model modification steps include: Step A1, calculate the pressure difference calculation value of the third test pipe section under the single-phase metering condition by combining the gas phase flow value and temperature data of the flow meter, and proceed to step A2; Step A2, obtaining the actual pressure before and after the flow meter on the third test pipe section measured by the pressure sensor, calculating and determining the actual pressure difference value, and proceeding to step A3; Step A3: the error value between the measured pressure difference value and the calculated pressure difference value under the single-phase metering condition is used to calculate the corrected gas phase flow rate and Lockheed Martin parameters of the third test pipe section by using the neural network relationship model in combination with the gas phase flow rate, pressure and temperature tested in the third test pipe section, and then proceed to step A4; Step A4, calculating the error value between the corrected gas phase flow rate and the actual test gas phase flow rate, and judging whether the error value is within the set range. If so, determining the current gas phase flow rate as the target gas phase flow rate, and using it to construct a target gas phase flow rate calculation model; otherwise, executing step A5; Step A5, assign the calculated corrected gas phase flow value to the gas phase flow value of the flow meter, and return to execute step S2 until the error value between the corrected gas phase flow and the actual tested gas phase flow is within the set range.
6. The method according to claim 1, characterized in that In the metering model correction step, the corrected gas phase flow rate and Lockheed Martin parameters are analyzed by using the neural network model described in the following formula in combination with the test data: In the formula, △p m is the error between the measured pressure difference and the calculated pressure difference under single-phase metering conditions, Q g2 is the gas phase flow rate of the test pipe section, p3 is the pressure of the test pipe section, T3 is the temperature of the test pipe section, Q' g2 and Q g1 represents the corrected gas phase flow rate, and X is the corrected Lockheed Martin parameter.
7. The method according to claim 6, characterized in that In the gas phase metering model construction step, the relationship between the gas phase flow rate, Lockheed Martin parameter X and the test parameters during the experiment is determined according to the following formula: Where p4 is the pressure tested by the fourth pressure sensor, Q g2 is the single-phase gas flow rate obtained by the second flowmeter test, △p m is the pressure difference between wet gas metering and single-phase metering, p3 is the pressure obtained by the third pressure sensor test, T3 is the temperature obtained by the second temperature sensor test; △p1 is the single-phase pressure difference of the pipe section between the first pressure sensor and the second pressure sensor test pressure, X is the Lockheed Martin parameter, Q g1 is the single-phase gas flow rate obtained by the first flowmeter test, Q l is the electromagnetic flowmeter testing liquid phase flow, ρ l , g are the densities of the liquid and gas phases, respectively.
8. The method according to claim 6, characterized in that In the gas phase metering model construction step, the input neuron parameters of the neural network include the single-phase gas flow rate obtained by the second flow meter test, the pressure difference between wet gas metering and single-phase metering, the pressure obtained by the third pressure sensor test, and the temperature obtained by the second temperature sensor test; The output neuron parameters include the first flow meter test single-phase gas flow and Lockheed Martin parameters.
9. A storage medium, 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 measurement application computing system based on a gas-liquid measurement test and calibration system, characterized in that: The system executes the method according to any one of claims 1 to 8.
Citation Information
Cited By
Marine methanol fuel supply data analysis method and system
CN122306181A
