Method and device for building digital twin model of orifice plate flowmeter and electronic equipment
A highly coupled orifice flowmeter digital twin model was built through computational fluid dynamics and Newtonian mechanics, which solved the problem of low actual accuracy of the orifice flowmeter, enabled efficient development and optimized design of the flowmeter, and improved reliability and stability.
Patent Information
- Application Number
- CN202410620589.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-03
AI Technical Summary
The actual accuracy of the orifice plate flowmeter is lower than the design accuracy, and it is difficult to build a non-system-level digital twin model, mainly due to the lack of coupling structure between the differential pressure transmitter part and the optimization of the flow resistor.
Based on computational fluid dynamics and Newtonian mechanics, a highly coupled digital twin model of the orifice plate flowmeter is built, including a numerical simulation model of the pipeline flow field, a model of the pressure transmission system of the pressure guide pipe and a mathematical model of the differential pressure transmitter, to realize the Joint modeling and data interaction.
Effectively restore the working status of the orifice plate flowmeter in various working environments, reduce development costs, reduce the error between expected accuracy and actual accuracy, and improve the reliability and stability of the flowmeter.
Smart Images

Figure CN118586306A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of instrument simulation, and in particular to a method and device for building a digital twin model of an orifice flowmeter, and electronic equipment. Background Art
[0002] At present, the development of orifice flowmeters is mainly divided into two parts: the development of the differential pressure transmitter part and the optimization of the baffle structure. However, in the actual research and development process, the above two parts are considered separately. Due to the lack of a coupling structure between the differential pressure transmitter part and the baffle optimization part, the impact of the optimization work on the two on the measurement results is difficult to present. This causes the actual accuracy of the orifice flowmeter to be lower than the design accuracy, and also causes certain difficulties in the construction of non-system-level digital twins. Summary of the invention
[0003] Based on this, the purpose of the embodiments of the present application is to provide a method and device for building a digital twin model of an orifice flowmeter, and an electronic device to solve the technical problems existing in the background technology.
[0004] According to a first aspect of an embodiment of the present application, a method for building a digital twin model of an orifice flowmeter is provided, wherein the digital twin model of the orifice flowmeter includes four parts: a pipeline, a pressure pipe, a differential pressure transmitter, and a signal conversion circuit, including:
[0005] Obtain the deployment location of industrial flowmeters and the structural parameters of upstream and downstream pipelines, obtain the structural parameters of flow barriers in processable flowmeters, obtain the installation location, structural parameters and internal medium composition of pressure pipes, obtain the structural parameters of differential pressure transmitters and the physical properties of their components, and obtain effective standard signal conversion circuit diagrams;
[0006] According to the flow meter deployment position, upstream and downstream pipeline structural parameters and pressure pipe installation position, a pipeline structure model is built based on computational fluid dynamics characteristics;
[0007] Determine the calculation domain for numerical simulation of pipeline flow field according to the pipeline structure model, determine the boundary condition group of the calculation domain according to the actual industrial site conditions, analyze the flow state inside the calculation domain according to the Reynolds number within the boundary condition group, and build a numerical simulation model of pipeline flow field;
[0008] Building a pipeline flow field numerical simulation reduced-order model according to the boundary condition group of the computational domain and the pipeline flow field numerical simulation model;
[0009] According to the structural parameters of the pressure pipe and the composition of the internal medium, combined with Newton's laws of mechanics and the distribution of the medium, a mathematical model of the pressure conduction system of the pressure pipe is established as a concentrated parameter system that describes the pressure conduction process in the pressure pipe;
[0010] According to the structural parameters of the differential pressure transmitter and the physical properties of its components, a mathematical model of the differential pressure transmitter of a centralized parameter system describing the input-output parameter conversion process in the differential pressure transmitter is constructed;
[0011] According to the standard signal conversion circuit diagram, a conversion circuit simulation model of the differential pressure transmitter output signal conversion circuit is constructed;
[0012] A unidirectional coupled digital twin model of the orifice flowmeter is constructed based on the pipeline flow field numerical simulation model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model, wherein data is transferred from the pipeline flow field numerical simulation reduction model to the pressure pipe pressure conduction system mathematical model, data is transferred from the pressure pipe pressure conduction system mathematical model to the differential pressure transmitter mathematical model, and data is transferred from the differential pressure transmitter mathematical model to the circuit conversion simulation model.
[0013] Optionally, in the process of building a pipeline structure model based on computational fluid dynamics characteristics, it is necessary to ignore the obstructions in the pipeline that do not affect the fluid dynamics characteristics. At the same time, the geometric structure of the fluid simulation part of the orifice flowmeter is modeled according to the obstruction position, obstruction structure, upstream and downstream pressure pipe positions and inner diameters, main pipeline inner diameter, main pipeline direction, upstream and downstream straight pipe section lengths of the main pipeline, upstream structure and downstream structure factors.
[0014] Optionally, when the flow pattern analysis inside the computational domain is performed according to the Reynolds number and the numerical simulation model of the pipeline flow field is established, the relevant calculation formula is expressed as:
[0015]
[0016] Where: Re—pipe Reynolds number
[0017] ρ—working fluid density, kg / m 3
[0018] v—average flow velocity of the working fluid in the pipeline, m / s
[0019] D—pipe diameter, m
[0020] μ—dynamic viscosity of the working fluid, Pa·s
[0021] According to the flow state, the corresponding computational fluid dynamics model is adopted. In any case, when selecting the computational fluid dynamics model, since it involves obtaining the reduced-order model of the pipeline flow field numerical simulation, a fluid dynamics model that can be reduced in order should be adopted; secondly, the boundary type of the inlet and outlet boundaries is configured according to the actual situation of the industrial site, and the parameter group of the inlet and outlet boundaries is configured according to the boundary condition group of the calculation domain.
[0022] Optionally, when building a general mechanical model of the medium stress in the pressure pipe according to Newton's law of mechanics, the relevant calculation formula is expressed as:
[0023] F out +F a +F f =F in
[0024] Where: F a —The combined force of the medium in the pressure pipe
[0025] F f —Long-range resistance of the medium in the pressure pipe
[0026] F in —Force on one side of the main medium pipeline in the pressure pipe
[0027] F out —Force on one side of the medium transmitter in the pressure pipe
[0028] Optionally, in the process of building the mathematical model of the differential pressure transmitter, the signal conversion method and input and output signal types of the differential pressure transmitter should be taken as the basis, the structural parameters of the differential pressure transmitter and the physical properties of each component or filler in the differential pressure transmitter should be comprehensively considered to identify the relevant parameters in the mathematical model of the differential pressure transmitter;
[0029] Optionally, the pipeline flow field numerical simulation reduced-order model in the digital twin model of the orifice flowmeter provides the pressure parameters of the upstream and downstream pressure pipes in the main pipeline as input parameters to the mathematical model of the pressure pipe pressure conduction system; the mathematical model of the pressure pipe pressure conduction system in the digital twin model of the orifice flowmeter provides the pressure pipe outlet pressure parameters as input parameters to the mathematical model of the differential pressure transmitter; and the mathematical model of the differential pressure transmitter in the digital twin model of the orifice flowmeter provides the physical parameters of the execution signal transmission element as input parameters to the conversion circuit simulation model.
[0030] Optionally, the unidirectional data interaction between the reduced-order model of the pipeline flow field numerical simulation and the mathematical model of the pressure pipe pressure conduction system, between the mathematical model of the pressure pipe pressure conduction system and the mathematical model of the differential pressure transmitter, and between the mathematical model of the differential pressure transmitter and the circuit conversion simulation model in the digital twin model of the orifice flowmeter is completed in the same simulation software, and the generation and interaction of data meet real-time requirements.
[0031] According to a second aspect of an embodiment of the present application, a device for building a digital twin model of an orifice flowmeter is provided. The digital twin model of the orifice flowmeter includes four parts: a pipeline, a pressure pipe, a differential pressure transmitter, and a signal conversion circuit. The building device includes:
[0032] The acquisition module is used to obtain the deployment location of the industrial field flow meter and the structural parameters of the upstream and downstream pipelines, the structural parameters of the flow blocking parts in the processable flow meter, the installation location, structural parameters and internal medium composition of the pressure pipe, the structural parameters of the differential pressure transmitter and the physical properties of each component, and the effective standard signal conversion circuit diagram;
[0033] The first building module is used to build a pipeline structure model based on computational fluid dynamics characteristics according to the flow meter deployment position, upstream and downstream pipeline structure parameters and pressure pipe installation position;
[0034] The second building module is used to build a calculation domain for numerical simulation of pipeline flow field according to the pipeline structure model, build a boundary condition group of the calculation domain according to the actual situation of the industrial site, analyze the flow state inside the calculation domain according to the Reynolds number within the boundary condition group, and build a pipeline flow field numerical simulation model;
[0035] A third building module is used to build a pipeline flow field numerical simulation reduced-order model according to the boundary condition group of the calculation domain, the pressure pipe installation position and the pipeline flow field numerical simulation model;
[0036] The fourth building module is used to build a mathematical model of the pressure transmission system of the pressure transmission pipe, which is a concentrated parameter system that describes the pressure transmission process in the pressure transmission pipe, based on the structural parameters of the pressure transmission pipe and the composition of the internal medium, combined with Newton's laws of mechanics and the distribution of the internal medium of the pressure transmission pipe;
[0037] A fifth building module is used to build a differential pressure transmitter mathematical model of a centralized parameter system that describes the input and output parameter conversion process in the differential pressure transmitter according to the structural parameters of the differential pressure transmitter and the physical properties of each component thereof;
[0038] A sixth building module, used to build a conversion circuit simulation model of the output signal conversion circuit of the differential pressure transmitter according to the standard signal conversion circuit diagram;
[0039] A building module is used to build a digital twin model of the orifice flowmeter based on the pipeline flow field numerical simulation reduction model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model, wherein the pipeline flow field numerical simulation reduction model transfers data to the pressure pipe pressure conduction system mathematical model, the pressure pipe pressure conduction system mathematical model transfers data to the differential pressure transmitter mathematical model, and the differential pressure transmitter mathematical model transfers data to the circuit conversion simulation model.
[0040] According to a third aspect of an embodiment of the present application, there is provided an electronic device, including:
[0041] one or more processors;
[0042] A memory for storing one or more programs;
[0043] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in the first aspect.
[0044] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer instructions are stored, and when the instructions are executed by a processor, the steps of the method described in the first aspect are implemented.
[0045] The technical solution provided by the embodiments of the present application may have the following beneficial effects:
[0046] It can be seen from the above embodiments that the present application is based on computational fluid dynamics, Newtonian mechanics and multi-physics simulation tools, and obtains a highly coupled digital twin model of the orifice flowmeter by jointly modeling all environmental factors, structural factors and circuit architectures involved in the orifice flowmeter. It can effectively restore the working state of the target orifice flowmeter under various working environments and interference conditions, and obtain the true output of the orifice flowmeter under various working environments. It can be used to assist the joint optimization design of the orifice flowmeter baffle structure and the differential pressure transmitter and the construction of a non-system-level digital twin model. It can effectively reduce the time cost and economic cost of flowmeter development, reduce the error between expected accuracy and actual accuracy, and ensure the reliability and stability of the flowmeter to a greater extent.
[0047] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0049] Figure 1 It is a flow chart of a method for building a digital twin model of an orifice flowmeter according to an exemplary embodiment.
[0050] Figure 2 is a schematic diagram of a differential pressure transmitter measuring element according to an exemplary embodiment.
[0051] Figure 3 It is a schematic diagram of a single-phase working medium control body and some related physical quantities according to an exemplary embodiment.
[0052] Figure 4 It is a schematic diagram of the input thrust and output thrust transmission process between multi-phase working fluids according to an exemplary embodiment.
[0053] Figure 5It is a schematic diagram of internal flow constant velocity lines and flow resistance along the flow path of each working fluid according to an exemplary embodiment.
[0054] Figure 6 It is a schematic diagram of the output of a mathematical model of a pressure transmission system of a pressure pipe when a step input is applied according to an exemplary embodiment.
[0055] Figure 7 It is a schematic diagram of output under certain working conditions after combining a mathematical model of a pressure transmission system of a pressure pipe with a mathematical model of a differential pressure transmitter according to an exemplary embodiment.
[0056] Figure 8 It is a block diagram of a device for building a digital twin model of an orifice flowmeter according to an exemplary embodiment.
[0057] Fig. 9 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0059] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0060] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to the construction".
[0061] Figure 1 is a flow chart of a method for building a digital twin model of an orifice flowmeter according to an exemplary embodiment. Figure 1 As shown, the method may include the following steps:
[0062] S1: Obtain the deployment location of the industrial field flowmeter and the structural parameters of the upstream and downstream pipelines, obtain the structural parameters of the flow blocking parts in the processable flowmeter, obtain the installation location, structural parameters and internal medium composition of the pressure pipe, obtain the structural parameters of the differential pressure transmitter and the physical properties of each component, and obtain the effective standard signal conversion circuit diagram;
[0063] Specifically, for orifice flowmeters, the entire design process needs to consider factors such as the structure of the flow blocker, the arrangement of the pressure points, and the design of the transmitter and transmitter circuit. Relevant parameters are obtained from the design manual of a certain type of orifice flowmeter. The orifice flowmeter is applied to a pipe with a diameter of D, and the D and D / 2 pressure method is used. The aperture ratio of the flow blocker is 0.4; the transmitter structure is as follows Figure 2 As shown, a 4-20mA conversion circuit is used to output the signal. Ensure that the design of the flow blocker is basically reasonable to avoid errors that cannot be corrected, excessive pressure loss, and the impact on the operation of the entire system; ensure that the position of the pressure pipe matches the pressure collection method to ensure that the sampling results can be used to obtain effective flow integration results; ensure that the circuit design is reasonable to avoid signal interference, insufficient dynamic range, signal delay, and stability problems.
[0064] S2: Building a pipeline structure model based on computational fluid dynamics characteristics according to the flow meter deployment position, upstream and downstream pipeline structure parameters and pressure pipe installation position;
[0065] Specifically, the model should fully reflect the actual situation of the industrial site. Choose a reasonable length of the upstream and downstream pipelines of the baffle to ensure that the flow field near the flow meter is consistent with the actual situation while reducing the amount of calculation as much as possible. For this case, the upstream pipeline is 20D and the downstream pipeline is 10D. In order to realize the rapid modification of the model, that is, to quickly adjust the structural parameters of the baffle, pressure-taking pipe and upstream and downstream pipelines in the pipeline structure model, the pipeline structure model is constructed using parametric modeling.
[0066] S3: constructing a computational domain for numerical simulation of pipeline flow field according to the pipeline structure model, constructing a boundary condition group of the computational domain according to the actual industrial site conditions, analyzing the flow state inside the computational domain according to the Reynolds number within the boundary condition group, and constructing a numerical simulation model of pipeline flow field;
[0067] Specifically, the computational domain should be able to fully reflect the pressure changes at the pressure tapping points during the simulation process. For the flow within the computational domain, when the Reynolds number Re < 2300, the flow of the working fluid within the computational domain belongs to the laminar flow; when 2300 < Re < 4000, the flow of the working fluid within the computational domain belongs to the transitional flow state; when Re > 4000, the flow of the working fluid within the computational domain belongs to the turbulent flow state. After the flow judgment is completed, a suitable computational fluid dynamics analysis method should be selected again according to the pipeline structure model, and the boundary conditions of the computational domain should be configured according to the actual operating parameters of the industrial site.
[0068] S4: Based on the boundary condition group of the computational domain, the installation position of the pressure guiding pipe, and the pipeline flow field numerical simulation model, construct a reduced-order model of the pipeline flow field numerical simulation;
[0069] Specifically, the reduced-order model of the pipeline flow field numerical simulation is obtained based on some parameters within the boundary condition group, and can obtain the pressure data at the pressure tapping positions under all conditions of the highly reliable boundary condition group in real time.
[0070] S5: Based on the structural parameters of the pressure guiding pipe and the composition of the internal medium, combined with Newton's laws of motion and the internal medium distribution of the pressure guiding pipe, construct a mathematical model of the pressure conduction system of the pressure guiding pipe, which represents the pressure conduction process in the pressure guiding pipe as a lumped parameter system;
[0071] Specifically, the mathematical model of the pressure conduction system of the pressure guiding pipe is obtained through mechanical analysis of the internal medium of the pressure guiding pipe. As Figure 3 shown, the working fluid is subjected to an external thrust F in from the left and a frictional resistance F f along the wall of the pressure guiding pipe generated by itself. After that, the length of the working fluid changes from the previous state l 1 to the subsequent state l 2 , and the output pressure F out is output, and it has an acceleration a, a velocity v, and a displacement x; as Figure 4 shown is the case where there are two or more phases of media distributed at intervals in the pressure guiding pipe, where F out , F in are the output and input pressures of each phase, and V is the volume of each phase. As Figure 5 shown is the velocity v of the medium movement in the pressure guiding pipe and the resistance F f received. If there are two different phases of media in the pressure guiding pipe and the same-phase media are continuously distributed, the mechanical equation in the entire pressure tapping pipe can be expressed as:
[0072]
[0073] In the formula: F out ——Output pressure;
[0074] ΔL″ a ——Media acceleration on one side of the transmitter;
[0075] m——Mass of dielectric on one side of transformer;
[0076] ΔL' a ——Transformer side dielectric movement speed;
[0077] μ—— medium viscosity coefficient;
[0078] ρ——medium density;
[0079] ΔL” – total medium acceleration;
[0080] ΔL'——the movement speed of all media;
[0081] F in - input pressure;
[0082] When there is a step input, the output of the mathematical model of the pressure transmission system of the pressure pipe is as follows: Figure 6 shown.
[0083] S6: According to the structural parameters of the differential pressure transmitter and the physical properties of each component thereof, a mathematical model of the differential pressure transmitter of a centralized parameter system describing the input-output parameter conversion process in the differential pressure transmitter is constructed;
[0084] Specifically, the differential pressure transmitter mathematical model is obtained by performing transfer function analysis on the differential pressure transmitter measurement component. Figure 2 The figure shows a capacitive differential pressure transmitter with a single chamber structure. In the figure, 1 is the movable electrode plate, 2 and 3 are fixed electrodes, 4 and 5 are measuring diaphragms, 6 is the center axis, and R is the orifice resistance. H -P L The equation of motion under these conditions can be expressed as:
[0085]
[0086] Where: M——mass of motion system;
[0087] C——viscous damping force coefficient;
[0088] k——stiffness of motion system;
[0089] Ae - effective area of the measuring diaphragm;
[0090] x——Central axis displacement.
[0091] S7: Building a conversion circuit simulation model of the output signal conversion circuit of the differential pressure transmitter according to the standard signal conversion circuit diagram;
[0092] Specifically, a simulation model of the differential pressure transmitter output signal conversion circuit is implemented in the simulation software, and positions are reserved in the model for the pipeline flow field numerical simulation reduced-order model and the differential pressure transmitter mathematical model, which are used for the subsequent construction of the orifice flowmeter unidirectional coupled digital twin model.
[0093] S8: Building a digital twin model of the orifice flowmeter according to the pipeline flow field numerical simulation reduced-order model, the pressure pipe pressure transmission system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model;
[0094] Specifically, in the one-way coupled digital twin model of the orifice flowmeter, the pipeline flow field numerical simulation reduction model obtains boundary data at each moment from the outside, generates pressure data of the two pressure-taking pipe positions in real time, and transmits it to the inlet end of the pressure-conducting pipe pressure conduction system mathematical model. The pressure-conducting pipe pressure conduction system mathematical model calculates the pressure at the outlet end of the pressure-conducting pipe pressure conduction system mathematical model in real time according to the inlet end pressure, and transmits it to the differential pressure transmitter mathematical model. The differential pressure transmitter mathematical model calculates the measuring element parameters according to the pressure data at both ends, and transmits it to the conversion circuit simulation model, and finally realizes flow integration. Under certain working conditions, the output of the combination of the pressure-conducting pipe pressure conduction system mathematical model and the differential pressure transmitter mathematical model is as follows: Figure 7 shown.
[0095] It can be seen from the above embodiments that the present application obtains a digital twin model of the orifice flowmeter by constructing the pipeline flow field numerical simulation reduction model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model. The digital twin model of the orifice flowmeter can restore the entire workflow of the real orifice flowmeter while maintaining the coupling of each working link, including the generation of pressure signals at high and low pressure points, the transmission of pressure signals in the pressure pipe, the conversion of differential pressure signals to the physical properties of the measuring element, the reception signal processing, flow integration, etc. The digital twin model of the orifice flowmeter generated by this method is used to test the design effect of the orifice flowmeter, which can effectively reduce the cost of production and research and development of the orifice flowmeter while ensuring the restoration of all faults.
[0096] Corresponding to the aforementioned embodiment of the method for building a digital twin model of an orifice flowmeter, the present application also provides an embodiment of a device for building a digital twin model of an orifice flowmeter.
[0097] Figure 8 1 is a block diagram of a device for building a digital twin model of an orifice flowmeter according to an exemplary embodiment. Figure 8 The digital twin model of the orifice flowmeter includes four parts: pipeline, pressure pipe, differential pressure transmitter and signal conversion circuit. The device includes:
[0098] Acquisition module 1 is used to obtain the deployment position of the industrial field flow meter and the structural parameters of the upstream and downstream pipelines, obtain the structural parameters of the flow blocking parts in the processable flow meter, obtain the installation position, structural parameters and internal medium composition of the pressure pipe, obtain the structural parameters of the differential pressure transmitter and the physical properties of each component therein, and obtain the effective standard signal conversion circuit diagram;
[0099] The first building module 2 is used to build a pipeline structure model based on computational fluid dynamics characteristics according to the flow meter deployment position, upstream and downstream pipeline structure parameters and pressure pipe installation position;
[0100] The second building module 3 is used to build a calculation domain for numerical simulation of pipeline flow field according to the pipeline structure model, build a boundary condition group of the calculation domain according to the actual situation of the industrial site, analyze the flow state inside the calculation domain according to the Reynolds number within the boundary condition group, and build a pipeline flow field numerical simulation model;
[0101] The third building module 4 is used to build a pipeline flow field numerical simulation reduced-order model according to the boundary condition group of the calculation domain, the pressure pipe installation position and the pipeline flow field numerical simulation model;
[0102] The fourth building module 5 is used to build a mathematical model of the pressure transmission system of the pressure transmission pipe, which is a concentrated parameter system that describes the pressure transmission process in the pressure transmission pipe, based on the structural parameters of the pressure transmission pipe and the composition of the internal medium, combined with Newton's laws of mechanics and the distribution of the internal medium of the pressure transmission pipe;
[0103] A fifth building module 6 is used to build a differential pressure transmitter mathematical model of a centralized parameter system describing the input-output parameter conversion process in the differential pressure transmitter according to the structural parameters of the differential pressure transmitter and the physical properties of each component thereof;
[0104] The sixth building module 7 is used to build a conversion circuit simulation model of the output signal conversion circuit of the differential pressure transmitter according to the standard signal conversion circuit diagram;
[0105] Building module 8 is used to build a digital twin model of the orifice flowmeter based on the pipeline flow field numerical simulation reduction model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model, wherein the pipeline flow field numerical simulation reduction model transfers data to the pressure pipe pressure conduction system mathematical model, the pressure pipe pressure conduction system mathematical model transfers data to the differential pressure transmitter mathematical model, and the differential pressure transmitter mathematical model transfers data to the circuit conversion simulation model.
[0106] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0107] For the device embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0108] Accordingly, the present application also provides an electronic device, comprising: one or more processors; a memory for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the method for building a digital twin model of an orifice flowmeter as described above. Fig. 9 As shown, a hardware structure diagram of any device with data processing capability where a device for building a digital twin model of an orifice flowmeter provided by an embodiment of the present invention is located, except Fig. 9 In addition to the processor, memory, DMA controller, disk, and non-volatile memory shown, any device with data processing capabilities in which the apparatus in the embodiment is located may also include other hardware, which will not be described in detail, generally based on the actual functions of the device with data processing capabilities.
[0109] Accordingly, the present application also provides a computer-readable storage medium on which computer instructions are stored, and when the instructions are executed by the processor, the method for building a digital twin model of the orifice flowmeter as described above is implemented. The computer-readable storage medium can be an internal storage unit of any device with data processing capabilities described in any of the foregoing embodiments, such as a hard disk or memory. The computer-readable storage medium can also be an external storage device, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), an SD card, a flash card (FlashCard), etc. equipped on the device. Furthermore, the computer-readable storage medium can also include both an internal storage unit and an external storage device of any device with data processing capabilities. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.
[0110] Those skilled in the art will readily appreciate other embodiments of the present application after considering the description and practicing the contents disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The description and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0111] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for building a digital twin model of an orifice flowmeter, wherein the digital twin model of the orifice flowmeter includes four parts: a pipeline, a pressure pipe, a differential pressure transmitter, and a signal conversion circuit, and is characterized in that: The construction method includes: Obtain the deployment location of industrial flowmeters and the structural parameters of upstream and downstream pipelines, obtain the structural parameters of flow barriers in processable flowmeters, obtain the installation location, structural parameters and internal medium composition of pressure pipes, obtain the structural parameters of differential pressure transmitters and the physical properties of their components, and obtain effective standard signal conversion circuit diagrams; According to the flow meter deployment position, upstream and downstream pipeline structural parameters and pressure pipe installation position, a pipeline structure model is built based on computational fluid dynamics characteristics; Determine the calculation domain for numerical simulation of pipeline flow field according to the pipeline structure model, determine the boundary condition group of the calculation domain according to the actual industrial site conditions, analyze the flow state inside the calculation domain according to the Reynolds number within the boundary condition group, and build a numerical simulation model of pipeline flow field; According to the boundary condition group of the calculation domain, the installation position of the pressure pipe and the pipeline flow field numerical simulation model, a pipeline flow field numerical simulation reduced-order model is constructed; According to the structural parameters of the pressure pipe and the composition of the internal medium, combined with Newton's laws of mechanics and the distribution of the medium inside the pressure pipe, a mathematical model of the pressure pipe pressure conduction system is constructed as a concentrated parameter system that describes the pressure conduction process in the pressure pipe; According to the structural parameters of the differential pressure transmitter and the physical properties of its components, a mathematical model of the differential pressure transmitter of a centralized parameter system describing the input-output parameter conversion process in the differential pressure transmitter is constructed; According to the standard signal conversion circuit diagram, a conversion circuit simulation model of the differential pressure transmitter output signal conversion circuit is constructed; A digital twin model of the orifice flowmeter is constructed based on the pipeline flow field numerical simulation reduction model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model, wherein the pipeline flow field numerical simulation reduction model transfers data to the pressure pipe pressure conduction system mathematical model, the pressure pipe pressure conduction system mathematical model transfers data to the differential pressure transmitter mathematical model, and the differential pressure transmitter mathematical model transfers data to the circuit conversion simulation model.
2. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: In the process of building the pipeline structure model based on computational fluid dynamics characteristics, the baffles in the pipeline that do not affect the fluid mechanics characteristics are ignored. At the same time, the geometric structure of the fluid simulation part of the orifice flowmeter is modeled according to the baffle position, baffle structure, upstream and downstream pressure pipe positions and inner diameters, main pipeline inner diameter, main pipeline direction, upstream and downstream straight pipe section lengths of the main pipeline, upstream structure and downstream structure factors.
3. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: When analyzing the flow pattern inside the computational domain according to the Reynolds number and establishing the numerical simulation model of the pipeline flow field, the relevant calculation formula is expressed as: Where: Re—pipe Reynolds number; ρ—working fluid density, kg / m 3 ; v—average flow velocity of the working fluid in the pipeline, m / s; D—pipeline diameter, m; μ—dynamic viscosity of the working fluid, Pa·s.
4. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: When building a general mechanical model of the medium stress in the pressure pipe according to Newton's laws of mechanics, the relevant calculation formula is expressed as: F out +F a +F f =F in Where: F a —The resultant force on the medium in the pressure pipe; F f —Long-range resistance of the medium in the pressure pipe; F in —The pressure pipe is subjected to force on one side of the main medium pipe; F out —The medium transmitter side in the pressure pipe is subjected to force.
5. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: In the process of building the mathematical model of the differential pressure transmitter, the signal conversion method and input and output signal types of the differential pressure transmitter should be used as the basis, and the structural parameters of the differential pressure transmitter and the physical properties of each component or filler in the differential pressure transmitter should be comprehensively considered to identify the relevant parameters in the mathematical model of the differential pressure transmitter.
6. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: The pipeline flow field numerical simulation reduction model in the orifice flowmeter digital twin model provides the pressure parameters of the upstream and downstream pressure pipes in the main pipeline as input parameters to the mathematical model of the pressure pipe pressure conduction system; The mathematical model of the pressure transmission system of the pressure pipe provides the pressure parameter of the outlet of the pressure pipe as an input parameter to the mathematical model of the differential pressure transmitter; The differential pressure transmitter mathematical model provides the physical parameters of the signal transmission element as input parameters to the conversion circuit simulation model.
7. The method for building a digital twin model of an orifice flowmeter according to claim 1, characterized in that: In the digital twin model of the orifice flowmeter, the unidirectional data interaction between the numerical simulation reduction model of the pipeline flow field and the mathematical model of the pressure transmission system of the pressure pipe, between the mathematical model of the pressure transmission system of the pressure pipe and the mathematical model of the differential pressure transmitter, and between the mathematical model of the differential pressure transmitter and the circuit conversion simulation model is completed in the same simulation software, and the generation and interaction of data meet the real-time requirements.
8. A device for building a digital twin model of an orifice flowmeter, wherein the digital twin model of the orifice flowmeter includes four parts: a pipeline, a pressure pipe, a differential pressure transmitter, and a signal conversion circuit, and is characterized in that: The construction set includes: The acquisition module is used to obtain the deployment location of the industrial field flow meter and the structural parameters of the upstream and downstream pipelines, the structural parameters of the flow blocking parts in the processable flow meter, the installation location, structural parameters and internal medium composition of the pressure pipe, the structural parameters of the differential pressure transmitter and the physical properties of each component, and the effective standard signal conversion circuit diagram; The first building module is used to build a pipeline structure model based on computational fluid dynamics characteristics according to the flow meter deployment position, upstream and downstream pipeline structure parameters and pressure pipe installation position; The second building module is used to determine the calculation domain for the numerical simulation of the pipeline flow field according to the pipeline structure model, determine the boundary condition group of the calculation domain according to the actual situation of the industrial site, analyze the flow state inside the calculation domain according to the Reynolds number within the boundary condition group, and build a pipeline flow field numerical simulation model; A third building module is used to build a pipeline flow field numerical simulation reduced-order model according to the boundary condition group of the calculation domain, the pressure pipe installation position and the pipeline flow field numerical simulation model; The fourth building module is used to build a mathematical model of the pressure transmission system of the pressure transmission pipe, which is a concentrated parameter system that describes the pressure transmission process in the pressure transmission pipe, based on the structural parameters of the pressure transmission pipe and the composition of the internal medium, combined with Newton's laws of mechanics and the distribution of the internal medium of the pressure transmission pipe; A fifth building module is used to build a differential pressure transmitter mathematical model of a centralized parameter system that describes the input and output parameter conversion process in the differential pressure transmitter according to the structural parameters of the differential pressure transmitter and the physical properties of each component thereof; A sixth building module, used to build a conversion circuit simulation model of the output signal conversion circuit of the differential pressure transmitter according to the standard signal conversion circuit diagram; A building module is used to build a digital twin model of the orifice flowmeter based on the pipeline flow field numerical simulation reduction model, the pressure pipe pressure conduction system mathematical model, the differential pressure transmitter mathematical model and the conversion circuit simulation model, wherein the pipeline flow field numerical simulation reduction model transfers data to the pressure pipe pressure conduction system mathematical model, the pressure pipe pressure conduction system mathematical model transfers data to the differential pressure transmitter mathematical model, and the differential pressure transmitter mathematical model transfers data to the circuit conversion simulation model.
9. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
