Flow measurement method based on pipeline hydraulic calculation and related equipment
Through the flow measurement method based on pipeline hydraulic calculation, the proposed flow rate is updated iteratively, and the problem of obstructing fluid flow by pipeline flow measurement in the prior art is solved, efficient and low-energy flow measurement is achieved, and system performance is optimized.
Patent Information
- Application Number
- CN202510190656.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-20
- Publication Date
- 2025-05-16
AI Technical Summary
The existing pipeline flow measurement methods are prone to hindering fluid flow, resulting in throttling losses, reducing fluid transmission efficiency, increasing energy consumption, and affecting the overall performance of the system.
The flow measurement method based on pipeline hydraulic calculation is adopted to obtain the actual pressure drop value by measuring the absolute pressure at both ends of the pipeline to be measured, and the theoretical pressure drop value is calculated based on the friction resistance loss of the straight pipe section, the local resistance loss of the pipeline assembly and the static pressure difference of the dielectric in the pipe. The proposed flow rate is iteratively updated until the theoretical pressure drop value is equal to the actual pressure drop value, and the accurate pipeline flow measurement results are output.
There is no need to install additional throttling devices in the fluid pipeline, avoiding the obstacles to fluid flow, reducing throttling losses, improving fluid transmission efficiency, reducing energy consumption, and optimizing the overall performance of the system.
Smart Images

Figure CN120008698A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of flow measurement, specifically to the field of pipeline flow measurement, and in particular relates to a flow measurement method based on pipeline hydraulic calculation and related equipment. Background Art
[0002] Pipeline flow measurement plays a vital role in many fields such as industrial production, energy management, and environmental protection. It can accurately monitor the flow state of fluid media, ensure the stability and efficiency of the production process, optimize resource allocation, reduce energy consumption and waste, and provide key data support for environmental protection and quality control.
[0003] At present, flow measurement methods such as differential pressure, turbine and vortex step are usually used for pipeline flow measurement. The above methods generally require the installation of throttling holes, turbines or vortex step generators and other devices in the fluid pipeline to perform flow measurement; however, the above methods will inevitably cause certain obstacles to the fluid flow during the measurement process, resulting in throttling losses; this throttling loss will not only reduce the efficiency of fluid transmission, but may also increase energy consumption, and have an adverse effect on the overall performance of the system.
[0004] It can be seen that the existing pipeline flow measurement method is likely to cause certain obstacles to the fluid flow, resulting in throttling losses; it not only reduces the efficiency of fluid transmission, but also leads to increased energy consumption, which has an adverse effect on the overall performance of the system. Summary of the invention
[0005] The purpose of the present invention is to provide a flow measurement method and related equipment based on pipeline hydraulic calculation, so as to solve the technical problem that the existing pipeline flow measurement method is prone to cause certain obstacles to the flow of fluid, resulting in throttling losses; it not only reduces the efficiency of fluid transmission, but also increases energy consumption, which has an adverse effect on the overall performance of the system.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: A flow measurement method based on pipeline hydraulic calculation, comprising: The actual pressure drop value of the pipeline is obtained based on the absolute pressure at both ends of the pipeline to be tested; Based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be tested, the local resistance loss of the pipeline components and the static pressure difference of the medium in the pipe, the theoretical pressure drop value of the pipeline is calculated; wherein, the friction resistance loss of the straight pipe section and the local resistance loss of the pipeline components are obtained based on the proposed pipeline flow rate; Determine whether the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value; if they are equal, output the proposed pipeline flow as the pipeline flow measurement result; otherwise, repeatedly update the proposed pipeline flow and calculate the theoretical pipeline pressure drop value until the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value, and output the last updated proposed pipeline flow as the pipeline flow measurement result.
[0007] Furthermore, the specific steps of obtaining the actual pressure drop value of the pipeline based on the absolute pressure at both ends of the pipeline to be tested include: Collect the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested; The actual pressure drop of the pipeline is calculated based on the absolute pressure at the starting point, the absolute pressure at the end point, the fluid density, and the elevation of the starting point and the elevation of the end point. The specific formula is as follows:
[0008] In the formula, is the actual pressure drop value of the pipeline; , are the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested respectively; ρ is the fluid density; , They are respectively the starting elevation and the ending elevation of the pipeline to be tested.
[0009] Furthermore, the friction resistance loss of the straight pipe section is calculated based on the obtained straight pipe section length of the pipeline to be tested; the local resistance loss of the pipeline component is calculated based on the local resistance coefficient of the pipeline component; the specific formula of the pipeline theoretical pressure drop value is as follows:
[0010]
[0011]
[0012] Where: is the theoretical pressure drop value of the pipeline; λ is the friction resistance coefficient; ρ is the fluid density; g is the gravitational acceleration; v is the flow velocity in the pipeline, and the flow velocity in the pipeline is calculated by the proposed pipeline flow rate; L is the length of the straight pipe section of the pipeline to be tested; is the equivalent length; is the local resistance coefficient of the pipeline component; is the inner diameter of the pipe; , They are the elevations of the starting point and the end point of the pipeline to be tested respectively; is the roughness of the inner wall of the pipe.
[0013] Furthermore, the specific formula for the flow rate in the pipeline is as follows:
[0014] Where: To plan pipeline flow.
[0015] Furthermore, the local resistance coefficient of the pipeline component is calculated based on the number of pipeline components in the pipeline to be tested.
[0016] Furthermore, the pipeline assembly includes a gate valve, a stop valve, a check valve, a smooth compensator, an elbow and a reducer.
[0017] Furthermore, the specific steps of determining whether the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline are as follows: Compare the theoretical pressure drop value of the pipeline with the actual pressure drop value of the pipeline; If the two are equal, the proposed pipeline flow rate is output as the pipeline flow rate measurement result; If the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is increased; if the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is reduced; the theoretical pressure drop value of the pipeline is repeatedly calculated based on the proposed pipeline flow rate after each update, and the theoretical pressure drop value of the pipeline is repeatedly compared with the actual pressure drop value of the pipeline until the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline; the proposed pipeline flow rate updated for the last time is output as the pipeline flow measurement result.
[0018] A flow measurement system based on pipeline hydraulic calculation, comprising: A pipeline actual pressure drop value acquisition module is used to obtain the pipeline actual pressure drop value based on the absolute pressure at both ends of the pipeline to be tested; The module for obtaining the theoretical pressure drop value of a pipeline is used to calculate the theoretical pressure drop value of the pipeline based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be tested, the local resistance loss of the pipeline components, and the static pressure difference of the medium in the pipeline; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow rate; The pipeline flow measurement result output module is used to determine whether the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value; if they are equal, the proposed pipeline flow is output as the pipeline flow measurement result; otherwise, the proposed pipeline flow is repeatedly updated and the pipeline theoretical pressure drop value is calculated until the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value, and the last updated proposed pipeline flow is output as the pipeline flow measurement result.
[0019] A device comprising: Memory for storing computer programs; A processor is used to implement the steps of the above-mentioned flow measurement method based on pipeline hydraulic calculation when executing the computer program.
[0020] A computer-readable storage medium stores a computer program, which is used to implement the steps of the flow measurement method based on pipeline hydraulic calculation when executed by a processor.
[0021] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a flow measurement method based on pipeline hydraulic calculation. The method obtains the actual pressure drop value by directly measuring the absolute pressure at both ends of the pipeline to be measured, and calculates the theoretical pressure drop value by combining the friction resistance loss of the straight pipe section, the local resistance loss of the pipeline component and the static pressure difference of the medium in the pipe, wherein the friction resistance loss is obtained based on the preliminary proposed pipeline flow; then, the proposed flow value is updated by continuous iteration until the theoretical pressure drop value is equal to the actual pressure drop value, and the proposed flow value finally output is the accurate pipeline flow measurement result. The use of this method does not require the installation of additional throttling holes, turbines or vortex step generators and other devices in the fluid pipeline, avoids the obstruction of fluid flow by traditional measurement methods, effectively reduces throttling losses, thereby improving fluid transmission efficiency, reducing energy consumption, and significantly optimizing the overall performance of the system.
[0022] Preferably, in the present invention, the actual pressure drop value of the pipeline is calculated by collecting the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be measured, as well as the fluid density, the starting point elevation and the end point elevation. This method takes into account the absolute pressure at the starting point and the end point, the fluid density and the elevations of the starting point and the end point, so that the calculation of the actual pressure drop value is more accurate, thereby improving the accuracy of flow measurement.
[0023] Preferably, in the present invention, a calculation formula for the friction resistance loss of a straight pipe section, the local resistance loss of a pipeline component, and the theoretical pressure drop value of the pipeline is proposed, taking into account multiple factors such as the length of the straight pipe section of the pipeline, the local resistance coefficient of the pipeline component, the inner diameter of the pipeline, the fluid density, the acceleration of gravity, and the roughness of the inner wall of the pipeline, so that the calculation of the theoretical pressure drop value is more comprehensive and accurate, which helps to determine the pipeline flow more accurately.
[0024] Preferably, in the present invention, a method for obtaining the local resistance coefficient of the pipeline component is proposed, that is, it is obtained based on the statistical calculation of the number of pipeline components in the pipeline to be measured, which makes the calculation of the local resistance loss closer to the actual situation and helps to improve the accuracy of flow measurement.
[0025] Preferably, in the present invention, common types of pipeline components, such as gate valves, stop valves, check valves, smooth compensators, elbows and reducers, the presence of these components in the pipeline will affect the hydraulic characteristics of the pipeline and help to more accurately calculate the theoretical pressure drop value.
[0026] Preferably, in the present invention, the specific steps of determining whether the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value include comparing the two, adjusting the proposed pipeline flow rate according to the comparison result, and repeating the calculation until the two are equal; this step ensures the iterativeness and accuracy of the measurement process, making the final measurement result more reliable. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart of a flow measurement method based on pipeline hydraulic calculation is provided for an embodiment of the present invention; Figure 2 A flow chart of a flow measurement method based on pipeline hydraulic calculation provided by the present invention; Figure 3 A schematic structural diagram of a flow measurement system based on pipeline hydraulic calculation provided by the present invention. DETAILED DESCRIPTION
[0028] Example 1 As described in the background technology, currently, traditional measurement methods such as differential pressure type, turbine type, vortex step type, etc. require the installation of throttling holes, turbines or vortex step generators in the pipeline; they are prone to cause throttling losses to the fluid, which not only saves time and effort, but also generates pressure loss; resulting in poor accuracy of the final measurement results and low measurement efficiency.
[0029] In order to achieve the above-mentioned purpose, the present invention provides a flow measurement method based on pipeline hydraulic calculation. By adopting this measurement method, there is no need to set a throttling hole, a turbine or a vortex step generator in the pipeline, thereby avoiding the throttling loss of the fluid, ensuring the accuracy and reliability of the measurement, and providing a guarantee for the subsequent use of flow data.
[0030] like Figure 1 As shown, this embodiment provides a flow measurement method based on pipeline hydraulic calculation, the steps comprising: Step 1: Obtain the theoretical pressure drop value of the pipeline to be tested, that is, calculate the theoretical pressure loss of the pipeline to be tested: The total pressure drop in the pipeline caused by the flow of the medium in the pipeline includes three parts: the friction resistance loss of the straight pipe section, the local resistance loss of the pipeline components and the static pressure difference of the medium in the pipe.
[0031] Measure the length of the straight pipe section between the pressure transmitters at both ends of the pipeline to be tested; Count the number of pipe components such as gate valves, stop valves, check valves, smooth compensators, elbows, reducers, and the pressure port position difference of the pressure measuring points at both ends, and obtain the theoretical pressure drop value of the pipe through hydraulic calculation. .
[0032] The specific calculation formula is as follows:
[0033]
[0034]
[0035]
[0036] Where: λ is the friction coefficient, which can be obtained by looking up a table or calculating the formula; ρ is the fluid density, obtained by measuring pressure and temperature; g is the acceleration due to gravity, 9.81; To plan the pipeline flow rate (volume flow rate under working conditions); v is the flow velocity in the pipeline, and the pipeline flow rate is calculated by Calculated; L is the length of the straight pipe section of the pipeline to be tested; The local resistance coefficients of pipeline components such as gate valves, stop valves, check valves, smooth compensators, elbows, reducers, etc. are obtained by looking up the table in the power pipeline design manual under different pipeline inner wall roughness. , calculated by counting the number of different components in the pipeline to be tested; is the inner diameter of the pipe; , They are the elevations of the starting point and the end point of the pipeline to be tested respectively; is the roughness of the inner wall of the pipe.
[0037] It can be seen that due to the flow velocity in the pipeline v and the planned pipeline flow There is a direct relationship, and the friction resistance loss of the straight pipe section and the local resistance loss of the pipeline components are based on the flow velocity in the pipeline. v It can be seen that the friction loss of the straight pipe section and the local resistance loss of the pipeline components are also based on the proposed pipeline flow Sure.
[0038] Step 2: Get the actual pressure drop value of the pipeline to be tested: Obtain the absolute pressure of the starting point and the absolute pressure of the end point in real time, and then obtain the actual pressure drop value of the pipeline to be tested in real time ; The specific calculation formula is as follows:
[0039] Where: is the absolute pressure at the starting point and end point of the pipeline to be tested.
[0040] In this embodiment, by installing ROSEMOUNT 3051 pressure transmitters with an accuracy of 0.075 at the starting point and the end point of the pipeline to be tested, real-time monitoring of the absolute pressure at the starting point and the absolute pressure at the end point is completed. Of course, it is not limited to the ROSEMOUNT 3051 pressure transmitter with an accuracy of 0.075, and other pressure transmitters that can achieve real-time and accurate measurement are all within the protection scope of this embodiment.
[0041] It should be noted that in actual measurement work, the order of the above steps 1 and 2 is not specific, and they can also be performed simultaneously. Finally, the theoretical pressure drop value of the pipeline and the actual pressure drop value of the pipeline are obtained, and the subsequent steps can be carried out.
[0042] Step 3: Pipeline flow measurement. The pipeline flow measurement result is obtained by iteratively calculating the proposed pipeline flow of the pipeline to be measured. The specific steps are as follows: By proposing the pipeline flow rate, calculating the corresponding flow velocity in the pipeline, and calculating the theoretical pressure drop value of the pipeline through step 1, the theoretical pressure drop value of the pipeline is compared with the actual pressure drop value of the pipeline; among them, if , then increase the assumed flow rate in the pipe; if , then reduce the assumed flow rate in the pipe; iteratively calculate the proposed pipeline flow rate (that is, continuously update the proposed pipeline flow rate) until At this time, the proposed pipeline flow is the actual flow in the pipeline, which is the pipeline flow measurement result.
[0043] In this embodiment, the flow measurement method based on pipeline hydraulic calculation is specifically implemented. Taking the measurement of compressed air flow as an example, the specific measurement and calculation data are as follows: After multiple iterative calculations, the proposed pipeline flow Qg is 73.37 m 3 / h, for detailed parameters, please refer to Table 1.
[0044] Table 1 shows the specific parameters for measuring compressed air flow
[0045] It can be seen that the present embodiment provides a flow measurement method based on pipeline hydraulic calculation, by performing hydraulic calculation on the straight pipe section and pipeline components such as gate valves, stop valves, check valves, smooth compensators, elbows, reducers, etc. on the measured pipe section, and measuring the pressure and temperature at both ends of the measured pipe section through pressure and temperature transmitters, and calculating the flow in the measured pipeline through an iterative method. Compared with traditional differential pressure type, turbine type, vortex step type and other measurement methods that require setting throttling holes, turbines or vortex step generators in the pipeline, this measurement method will not cause throttling losses to the fluid. The measurement method and system have the advantages of saving time and labor, no pressure loss and a wide range of applications, which provides a guarantee for the subsequent use of flow data.
[0046] Example 2 like Figure 2 As shown, this embodiment provides a flow measurement method based on pipeline hydraulic calculation, comprising the following steps: The actual pressure drop value of the pipeline is obtained based on the absolute pressure at both ends of the pipeline to be tested; The specific steps include: Collect the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested; The actual pressure drop of the pipeline is calculated based on the absolute pressure at the starting point, the absolute pressure at the end point, the fluid density, and the elevation of the starting point and the elevation of the end point. The specific formula is as follows:
[0047] In the formula, is the actual pressure drop value of the pipeline; , are the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested respectively; ρ is the fluid density; , They are respectively the starting elevation and the ending elevation of the pipeline to be tested.
[0048] Based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be tested, the local resistance loss of the pipeline components and the static pressure difference of the medium in the pipe, the theoretical pressure drop value of the pipeline is calculated; wherein, the friction resistance loss of the straight pipe section and the local resistance loss of the pipeline components are obtained based on the proposed pipeline flow rate; Here, the friction resistance loss of the straight pipe section is calculated based on the straight pipe section length of the pipeline to be tested; the local resistance loss of the pipeline component is calculated based on the local resistance coefficient of the pipeline component; the theoretical pressure drop value of the pipeline is The specific formula is as follows:
[0049]
[0050]
[0051] Where: λ is the friction coefficient; ρ is the fluid density; g is the gravitational acceleration; v is the flow velocity in the pipeline, and the flow velocity in the pipeline is calculated by the proposed pipeline flow rate; L is the length of the straight pipe section of the pipeline to be tested; is the equivalent length; is the local resistance coefficient of the pipeline component; is the inner diameter of the pipe; , They are the elevations of the starting point and the end point of the pipeline to be tested respectively; is the roughness of the inner wall of the pipe.
[0052] Here, the specific formula for the flow velocity in the pipe is as follows:
[0053] Where: To plan pipeline flow.
[0054] In this method, the local resistance coefficient of the pipeline component It is calculated based on the number of pipeline components in the pipeline to be tested; the number of pipeline components in the pipeline to be tested is obtained by looking up the table in the power pipeline design manual under different pipeline inner wall roughness to obtain the gate valve. The pipeline components at least include gate valves, stop valves, check valves, smooth compensators, elbows and reducers.
[0055] Determine whether the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value; if they are equal, output the proposed pipeline flow as the pipeline flow measurement result; otherwise, repeatedly update the proposed pipeline flow and calculate the theoretical pipeline pressure drop value until the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value, and output the last updated proposed pipeline flow as the pipeline flow measurement result.
[0056] Here, the specific steps are as follows: Compare the theoretical pressure drop value of the pipeline with the actual pressure drop value of the pipeline; If the two are equal, the proposed pipeline flow rate is output as the pipeline flow rate measurement result; If the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is increased; if the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is reduced; the theoretical pressure drop value of the pipeline is repeatedly calculated based on the proposed pipeline flow rate after each update, and the theoretical pressure drop value of the pipeline is repeatedly compared with the actual pressure drop value of the pipeline until the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline; the proposed pipeline flow rate updated for the last time is output as the pipeline flow measurement result.
[0057] like Figure 3As shown, the present embodiment also provides a flow measurement system based on pipeline hydraulic calculation, including: a pipeline actual pressure drop value acquisition module, which is used to obtain the pipeline actual pressure drop value based on the absolute pressure at both ends of the pipeline to be measured; a pipeline theoretical pressure drop value acquisition module, which is used to calculate the pipeline theoretical pressure drop value based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be measured, the local resistance loss of the pipeline component and the static pressure difference of the medium in the pipe; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow; a pipeline flow measurement result output module, which is used to determine whether the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value; if equal, the proposed pipeline flow is output as the pipeline flow measurement result; otherwise, the proposed pipeline flow is repeatedly updated and the pipeline theoretical pressure drop value is calculated until the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value, and the proposed pipeline flow updated for the last time is output as the pipeline flow measurement result.
[0058] The present invention also provides a device, comprising: a memory for storing a computer program; and a processor for implementing the steps of the flow measurement method based on pipeline hydraulic calculation when executing the computer program.
[0059] When the processor executes the computer program, the above-mentioned flow measurement steps based on pipeline hydraulic calculation are implemented, for example: the actual pressure drop value of the pipeline is obtained based on the absolute pressures at both ends of the pipeline to be measured; the theoretical pressure drop value of the pipeline is calculated based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be measured, the local resistance loss of the pipeline component and the static pressure difference of the medium in the pipe; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow; it is determined whether the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline; if they are equal, the proposed pipeline flow is output as the pipeline flow measurement result; otherwise, the proposed pipeline flow is repeatedly updated and the theoretical pressure drop value of the pipeline is calculated until the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline, and the proposed pipeline flow updated for the last time is output as the pipeline flow measurement result.
[0060] Alternatively, the processor implements the functions of each module in the above system when executing the computer program, for example: a pipeline actual pressure drop value acquisition module, which is used to obtain the pipeline actual pressure drop value based on the absolute pressures at both ends of the pipeline to be measured; a pipeline theoretical pressure drop value acquisition module, which is used to calculate the pipeline theoretical pressure drop value based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be measured, the local resistance loss of the pipeline component and the static pressure difference of the medium in the pipe; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow rate; a pipeline flow measurement result output module, which is used to determine whether the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value; if they are equal, the proposed pipeline flow rate is output as the pipeline flow measurement result; otherwise, the proposed pipeline flow rate is repeatedly updated and the pipeline theoretical pressure drop value is calculated until the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value, and the last updated proposed pipeline flow rate is output as the pipeline flow measurement result.
[0061] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing preset functions, and the instruction segments are used to describe the execution process of the computer program in the flow measurement device based on pipeline hydraulic calculation. For example, the computer program can be divided into a pipeline actual pressure drop value acquisition module, a pipeline theoretical pressure drop value acquisition module and a pipeline flow measurement result output module; the specific functions of each module are as follows: a pipeline actual pressure drop value acquisition module, used to obtain the pipeline actual pressure drop value based on the absolute pressure at both ends of the pipeline to be measured; a pipeline theoretical pressure drop value acquisition module, used to calculate the pipeline theoretical pressure drop value based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be measured, the local resistance loss of the pipeline component and the static pressure difference of the medium in the pipe; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow; a pipeline flow measurement result output module, used to determine whether the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value; if equal, the proposed pipeline flow is output as the pipeline flow measurement result; otherwise, repeatedly update the proposed pipeline flow and calculate the pipeline theoretical pressure drop value until the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value, and at the same time, the last updated proposed pipeline flow is output as the pipeline flow measurement result.
[0062] The flow measurement device based on pipeline hydraulic calculation can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The flow measurement device based on pipeline hydraulic calculation can include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above is an example of a flow measurement device based on pipeline hydraulic calculation, and does not constitute a limitation on the flow measurement device based on pipeline hydraulic calculation, and can include more components than the above, or a combination of certain components, or different components. For example, the flow measurement device based on pipeline hydraulic calculation can also include input and output devices, network access devices, buses, etc.
[0063] The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. The processor is the control center of the flow measurement based on pipeline hydraulic calculation, and uses various interfaces and lines to connect various parts of the flow measurement device based on pipeline hydraulic calculation.
[0064] The memory can be used to store the computer program and / or module, and the processor implements various functions of the flow measurement device based on pipeline hydraulic calculation by running or executing the computer program and / or module stored in the memory and calling the data stored in the memory.
[0065] The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory may include a high-speed random access memory, and may also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0066] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the flow measurement method based on pipeline hydraulic calculation are implemented.
[0067] If the integrated module / unit of the flow measurement system based on pipeline hydraulic calculation is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0068] Based on such understanding, the present invention implements all or part of the processes in the above-mentioned flow measurement method based on pipeline hydraulic calculation, and can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned flow measurement method based on pipeline hydraulic calculation can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or preset intermediate form, etc.
[0069] The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0070] It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electrical carrier signals and telecommunication signals.
[0071] The above embodiment is only one of the implementation methods that can realize the technical solution of the present invention. The scope of protection claimed by the present invention is not limited only to this embodiment, but also includes changes, replacements and other implementation methods that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed by the present invention.
Claims
1. A flow measurement method based on pipeline hydraulic calculation, characterized in that: include: The actual pressure drop value of the pipeline is obtained based on the absolute pressure at both ends of the pipeline to be tested; Based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be tested, the local resistance loss of the pipeline components and the static pressure difference of the medium in the pipe, the theoretical pressure drop value of the pipeline is calculated; wherein, the friction resistance loss of the straight pipe section and the local resistance loss of the pipeline components are obtained based on the proposed pipeline flow rate; Determine whether the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value; if they are equal, output the proposed pipeline flow as the pipeline flow measurement result; otherwise, repeatedly update the proposed pipeline flow and calculate the theoretical pipeline pressure drop value until the theoretical pipeline pressure drop value is equal to the actual pipeline pressure drop value, and output the last updated proposed pipeline flow as the pipeline flow measurement result.
2. The flow measurement method based on pipeline hydraulic calculation according to claim 1 is characterized in that: The specific steps of obtaining the actual pressure drop value of the pipeline based on the absolute pressure at both ends of the pipeline to be tested include: Collect the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested; The actual pressure drop of the pipeline is calculated based on the absolute pressure at the starting point, the absolute pressure at the end point, the fluid density, and the elevation of the starting point and the elevation of the end point. The specific formula is as follows: In the formula, is the actual pressure drop value of the pipeline; , are the absolute pressure at the starting point and the absolute pressure at the end point of the pipeline to be tested respectively; ρ is the fluid density; , They are respectively the starting elevation and the ending elevation of the pipeline to be tested.
3. The flow measurement method based on pipeline hydraulic calculation according to claim 1 is characterized in that: The friction resistance loss of the straight pipe section is calculated based on the straight pipe section length of the pipeline to be tested; the local resistance loss of the pipeline component is calculated based on the local resistance coefficient of the pipeline component; the specific formula of the pipeline theoretical pressure drop value is as follows: Where: is the theoretical pressure drop value of the pipeline; λ is the friction resistance coefficient; ρ is the fluid density; g is the gravitational acceleration; v is the flow velocity in the pipeline, and the flow velocity in the pipeline is calculated by the proposed pipeline flow rate; L is the length of the straight pipe section of the pipeline to be tested; is the equivalent length; is the local resistance coefficient of the pipeline component; is the inner diameter of the pipe; , They are the elevations of the starting point and the end point of the pipeline to be tested respectively; is the roughness of the inner wall of the pipe.
4. The flow measurement method based on pipeline hydraulic calculation according to claim 3 is characterized in that: The specific formula for the flow rate in the pipeline is as follows: Where: To plan pipeline flow.
5. The flow measurement method based on pipeline hydraulic calculation according to claim 3 is characterized in that: The local resistance coefficient of the pipeline component is calculated based on the number of pipeline components in the pipeline to be tested.
6. The flow measurement method based on pipeline hydraulic calculation according to claim 1, characterized in that: The pipeline components include gate valves, stop valves, check valves, smooth compensators, elbows and reducers.
7. The flow measurement method based on pipeline hydraulic calculation according to claim 1 is characterized in that: The specific steps of determining whether the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline are as follows: Compare the theoretical pressure drop value of the pipeline with the actual pressure drop value of the pipeline; If the two are equal, the proposed pipeline flow rate is output as the pipeline flow rate measurement result; If the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is increased; if the theoretical pressure drop value of the pipeline is less than the actual pressure drop value of the pipeline, the next planned pipeline flow rate is reduced; the theoretical pressure drop value of the pipeline is repeatedly calculated based on the proposed pipeline flow rate after each update, and the theoretical pressure drop value of the pipeline is repeatedly compared with the actual pressure drop value of the pipeline until the theoretical pressure drop value of the pipeline is equal to the actual pressure drop value of the pipeline; the proposed pipeline flow rate updated for the last time is output as the pipeline flow measurement result.
8. A flow measurement system based on pipeline hydraulic calculation, characterized in that: include: A pipeline actual pressure drop value acquisition module is used to obtain the pipeline actual pressure drop value based on the absolute pressure at both ends of the pipeline to be tested; The module for obtaining the theoretical pressure drop value of a pipeline is used to calculate the theoretical pressure drop value of the pipeline based on the friction resistance loss of the straight pipe section corresponding to the pipeline to be tested, the local resistance loss of the pipeline components, and the static pressure difference of the medium in the pipeline; wherein the friction resistance loss of the straight pipe section is obtained based on the proposed pipeline flow rate; The pipeline flow measurement result output module is used to determine whether the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value; if they are equal, the proposed pipeline flow is output as the pipeline flow measurement result; otherwise, the proposed pipeline flow is repeatedly updated and the pipeline theoretical pressure drop value is calculated until the pipeline theoretical pressure drop value is equal to the pipeline actual pressure drop value, and the last updated proposed pipeline flow is output as the pipeline flow measurement result.
9. A device, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the flow measurement method based on pipeline hydraulic calculation according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it is used to implement the steps of the flow measurement method based on pipeline hydraulic calculation according to any one of claims 1 to 7.