Fluid system simulation method and device, electronic equipment and storage medium

By using resistive and capacitive equipment models to construct a fluid simulation model, the problem of insufficient accuracy and reliability of target substance attribute data in the fluid system is solved, and the reliable and accurate simulation results of target substance attribute data are achieved, supporting the effective processing of the fluid system.

CN120257664AActive Publication Date: 2025-07-04SUZHOU TONGYUAN SOFT CONTROL INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510733433.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-04
Publication Date
2025-07-04
Estimated Expiration
2045-06-04

AI Technical Summary

Technical Problem

In fluid systems, the prior art relies on the limitations of personal experience and knowledge, resulting in low accuracy and reliability of target substance attribute data, making it difficult to achieve effective simulation processing.

Method used

Resistive and capacitive equipment models are used as reference equipment models to determine the material flow rate and concentration of the target equipment model, and a fluid simulation model is constructed based on the connection relationship of physical equipment in the fluid system, and data is transmitted through the Modelica language definition preset model interface to achieve accurate simulation of the target material attribute data.

Benefits of technology

It improves the accuracy and reliability of the target substance attribute data in the fluid system, simplifies the establishment process of the simulation model, can obtain reliable and accurate simulation results, and supports more accurate fluid system processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120257664A_ABST
    Figure CN120257664A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a fluid system simulation method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a target device model corresponding to each physical device in a target fluid system; the target equipment model is obtained based on a reference equipment model, the reference equipment model comprises a resistive equipment model and a capacitive equipment model, the resistive equipment model is used for determining the target substance flow of the target equipment model, and the capacitive equipment model is used for determining the target substance concentration of the target equipment model; and completing connection among the target equipment models based on the connection relationship among the physical equipment in the target fluid system to obtain a fluid simulation model corresponding to the target fluid system, and determining a simulation result of the attribute data of the target substance in the target fluid system based on the fluid simulation model. A reliable and accurate simulation result of the attribute data of the target substance in the fluid system can be obtained, so that the target substance in the fluid system can be effectively processed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of computer processing, and in particular, to a fluid system simulation method, apparatus, electronic device, and storage medium. Background Art

[0002] In the related art, when determining the attribute data of a target substance in a fluid system, it often relies on personal professional knowledge and practical experience. However, with the increase in the complexity of the fluid system, due to the limitations of personal experience and knowledge, the analysis is not comprehensive enough, resulting in technical problems of low accuracy and poor reliability in determining the attribute data of the target substance in the fluid system. Summary of the Invention

[0003] The present invention provides a fluid system simulation method, apparatus, electronic device, and storage medium to achieve reliable and accurate simulation results of the attribute data of the target substance in the fluid system, so as to facilitate the effective processing of the target substance in the fluid system.

[0004] According to one aspect of the present invention, a fluid system simulation method is provided. The method includes: Determine target device models corresponding to each physical device in the target fluid system; wherein, the target device models are obtained based on reference device models, the reference device models include a resistive device model and a capacitive device model, the resistive device model is used to determine the target substance flow rate of the target device model, and the capacitive device model is used to determine the target substance concentration of the target device model; Based on the connection relationship between the physical devices in the target fluid system, complete the connection between the target device models to obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation result of the attribute data of the target substance in the target fluid system based on the fluid simulation model.

[0005] According to another aspect of the present invention, a fluid system simulation apparatus is provided. The apparatus includes: A device model determination module, configured to determine target device models corresponding to each physical device in the target fluid system; wherein, the target device models are obtained based on reference device models, the reference device models include a resistive device model and a capacitive device model, the resistive device model is used to determine the target substance flow rate of the target device model, and the capacitive device model is used to determine the target substance concentration of the target device model; A fluid system simulation module, configured to complete the connection between the target device models based on the connection relationship between the physical devices in the target fluid system to obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation result of the attribute data of the target substance in the target fluid system based on the fluid simulation model.

[0006] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising: One or more processors; A storage device 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 fluid system simulation method according to any embodiment of the present invention.

[0007] According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement the fluid system simulation method according to any embodiment of the present invention when executed.

[0008] The technical solution of the embodiment of the present invention includes determining a target device model corresponding to each physical device in a target fluid system; the target device model is obtained based on a reference device model, the reference device model includes a resistive device model and a capacitive device model, the resistive device model is used to determine the target material flow rate of the target device model, and the capacitive device model is used to determine the target material concentration of the target device model. In the embodiment of the present invention, using the capacitive device model and the resistive device model as the reference device models can not only simplify the establishment process of the fluid system simulation model, but also accurately construct the simulation model corresponding to the physical devices in the fluid system. Furthermore, based on the connection relationship between the physical devices in the target fluid system, the connection between the target device models can be completed, and a fluid simulation model highly consistent with the target fluid system can be obtained. Thus, based on the fluid simulation model, the simulation result of the target material attribute data in the target fluid system can be determined, solving the technical problems of low accuracy and poor reliability in determining the target material attribute data in the fluid system in the related art, and achieving a reliable and accurate simulation result of the target material attribute data in the fluid system, so as to facilitate the effective processing of the target material in the fluid system.

[0009] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.

[0011] Figure 1 It is a schematic flowchart of a fluid system simulation method provided by an embodiment of the present invention; Figure 2 It is an example diagram of an interface connection model applicable to the fluid system simulation method provided by an embodiment of the present invention; Figure 3 It is a schematic flowchart of a fluid system simulation method provided by an embodiment of the present invention; Figure 4 It is an example diagram of the connection of a target device model applicable to the fluid system simulation method provided by an embodiment of the present invention; Figure 5 It is a schematic structural diagram of a fluid system simulation device provided by an embodiment of the present invention; Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. Detailed implementation manners

[0012] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0013] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0014] It can be understood that the data involved in the technical solution of the present invention (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the corresponding laws, regulations and related provisions.

[0015] Figure 1The figure is a schematic flowchart of a fluid system simulation method provided by an embodiment of the present invention. This embodiment is applicable to the situation of simulating a fluid system. This method can be executed by a fluid system simulation device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device such as a computer or a server. As Figure 1 shown, the method of this embodiment includes: S110. Determine a target device model corresponding to each physical device in the target fluid system; wherein, the target device model is obtained based on a reference device model, the reference device model includes a resistive device model and a capacitive device model, the resistive device model is used to determine the target mass flow rate of the target device model, and the capacitive device model is used to determine the target mass concentration of the target device model.

[0016] Among them, the target fluid system can be understood as a fluid system that needs to analyze the target substance through simulation. Optionally, the target substance can be a pollutant that has a negative impact on the target fluid system. Among them, the pollutant can include particulate pollutants with different diameters. In the embodiment of the present invention, the target fluid system can include at least one of a hydraulic transmission system of an aerospace vehicle, a lubrication and power transmission system of an industrial machine, and a fluid transportation network system in chemical production. In the embodiment of the present invention, the target device model can be understood as a simulation device model corresponding to the physical device in the target fluid system. The target device model can simulate the actual operation of the corresponding physical device in the target fluid system, for example, the fluid flow characteristics. In practical applications, since the number of physical devices in the target fluid system is usually multiple, the number of target device models is multiple.

[0017] In the embodiment of the present invention, the target device model is obtained based on the reference device model. The reference device model can be understood as a simulation device model obtained by dividing each physical device in the fluid system from the dimension of the target substance calculation principle. In the embodiment of the present invention, the reference device model can include a resistive device model and a capacitive device model. Among them, the resistive device model can be used to determine the target mass flow rate of the target device model. The capacitive device model can be used to determine the target mass concentration of the target device model. Optionally, the resistive device model includes a control valve device model, and the control valve device model at least includes a directional valve model, a pressure valve model, and a flow valve model. Optionally, the capacitive device model can include at least one cavity device model. Exemplarily, the cavity device model can be a cavity device model in a pipeline, a cavity device model in a hydraulic cylinder, and a cavity device model in an accumulator, etc.

[0018] In the embodiments of the present invention, there are multiple ways to determine the target device models corresponding to each physical device in the target fluid system. As an alternative embodiment in the embodiments of the present invention, the determination of the target device models corresponding to each physical device in the target fluid system may include: after determining the target fluid system, determining each physical device in the target fluid system. For each physical device in the target fluid system, based on the correspondence between the physical device and the simulation device model, the simulation device model corresponding to the physical device may be determined, and the simulation device model corresponding to the physical device is used as the target device model corresponding to the physical device. It should be noted that the correspondence between the physical device and the simulation device model in the fluid system may be one-to-one.

[0019] As another alternative embodiment in the embodiments of the present invention, the determination of the target device models corresponding to each physical device in the target fluid system may include: presenting a plurality of candidate device models; in response to a model selection operation for the candidate device models, obtaining the target device models corresponding to each physical device in the target fluid system. In the embodiments of the present invention, the candidate device models can be understood as being developed based on a reference device model. The number of candidate device models may be two or more. In the embodiments of the present invention, the reference device model may be developed using the Modelica language. The model selection operation can be used to select the target device models corresponding to each physical device in the target fluid system from a plurality of candidate device models. Optionally, the model selection operation may be a model click operation and / or a model drag operation. In the embodiments of the present invention, a plurality of candidate device models are intuitively provided in a visual manner to facilitate the selection of the target device models corresponding to the target fluid system, and the operation is simple and convenient.

[0020] S120. Based on the connection relationships between the physical devices in the target fluid system, complete the connection between the target device models to obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation result of the target substance attribute data in the target fluid system based on the fluid simulation model.

[0021] Among them, the fluid simulation model can be understood as a system simulation model corresponding to the target fluid system. In the embodiments of the present invention, the method for obtaining the fluid simulation model may include: based on the connection relationship between physical devices in the target fluid system, connecting the target device models with connection relationships to obtain a fluid simulation model corresponding to the target fluid system. In the embodiments of the present invention, the model types of the reference device models corresponding to two connected target device models among multiple target device models are different. Exemplarily, multiple target device models include device model A1, device model A2, device model A3, and device model A4. Among them, device model A1 is respectively connected to device model A2, device model A3, and device model A4, and device model A2 is the upstream device model of device model A1, and device model A3 and device model A4 are respectively the downstream device models of device model A1. In the embodiments of the invention, device model A1 is a capacitive device model. Device models A2, A3, and A4 are resistive device models.

[0022] Specifically, the connection relationship between physical devices in the target fluid system can be determined first. Thus, based on the connection relationship between physical devices in the target fluid system, the target device models with connection relationships can be connected to complete the connection between the target device models. Furthermore, a fluid simulation model corresponding to the target fluid system can be obtained. Furthermore, the fluid simulation model can be used to simulate and analyze the simulation results of the attribute data of the target substance in the target fluid system.

[0023] In the embodiments of the present invention, the reference device model corresponding to the target device model may be configured with a preset model interface. The preset model interface can be defined using the Modelica language. The preset model interface can be understood as an interface predefined for transmitting calculation variables between target device models. Based on this, the step of connecting the target device models based on the connection relationship between physical devices in the target fluid system may include: based on the connection relationship between physical devices in the target fluid system, completing the connection between the preset model interfaces configured for the target device models. In the embodiments of the present invention, after the two interfaces of any two different target device models are connected, the variables on the connected line follow the criteria that the substance concentration variables are the same, the pressure variables are the same, the sum of the substance flow variables is 0, and the sum of the flow variables is 0. So as to accurately analyze the attribute data of the target substance in the target fluid system. See Figure 2 , connect the interface of device model A and the interface of device model B.

[0024] In an embodiment of the present invention, the interface configuration information of the preset model interface may include a first variable, a second variable, a first array, and a second array. Among them, the first variable may be a fluid pressure. The fluid pressure can be understood as the pressure of the fluid, and the unit can be MPa. The second variable may be a fluid flow rate. The fluid flow rate can be the flow rate of the fluid, and the unit can be L / min. The first array may include multiple substance concentration values. Among the multiple substance concentration values, different substance concentration values correspond to different substance particle ranges. The second array may include multiple substance flow rate values. Among the multiple substance flow rate values, different substance flow rate values correspond to different substance particle ranges.

[0025] In an embodiment of the present invention, the array forms of the first array and the second array are the same. The number of array elements in the first array is the same as the number of array elements in the second array. Based on this, the substance concentration and the substance flow rate are set in the form of an array, which can cover different ranges of pollutant particle diameters. Further, by describing the substance concentration variable and the substance flow rate variable in the form of an array, combining different oil pollution degree standard specifications or different particle counter measurement ranges, the fluid pollutant concentration is reasonably divided, and a more comprehensive and refined fluid system target substance control modeling and simulation are realized.

[0026] It should be noted that among the multiple substance concentration values, the different substance concentration values corresponding to different substance particle ranges can be set according to actual needs, and specific limitations are not made here. Taking the target substance as a pollutant as an example, the multiple values stored in the first array can be multiple pollutant concentration values. For example, if the first array is defined as N[6], it represents that the pollutant concentration is divided into 6 intervals. That is to say, the first array includes 6 array elements, namely N1, N2, N3, N4, N5, and N6. Among them, N1 can represent the pollutant concentration in the range of 0-5 microns of the pollutant particle diameter, N2 can represent the pollutant concentration in the range of 5-10 microns of the pollutant particle diameter, N3 can represent the pollutant concentration in the range of 10-25 microns of the pollutant particle diameter, N4 can represent the pollutant concentration in the range of 25-50 microns of the pollutant particle diameter, N5 can represent the pollutant concentration in the range of 50-75 microns of the pollutant particle diameter, and N6 can represent the pollutant concentration in the range of more than 75 microns of the pollutant particle diameter. Based on this, in the modeling and simulation, the fluid simulation model can transfer the 6 numerical scalars included in the pollutant concentration variable in its own interface to the model connected to it to achieve data transfer between fluid simulation models. It can be understood that the pollutant concentration can be expressed as the number of pollutant particles contained in the unit volume of the fluid in the target equipment model, and the unit can be particles per milliliter.

[0027] It should also be noted that among multiple material flow values, different said material flow values correspond to different material particle ranges, which are not specifically defined herein. Taking the target substance as a pollutant as an example, the multiple values stored in the first array can be multiple pollutant flow values. For example, the second array can be Nq[6], which can represent dividing the pollutant flow into 6 ranges. That is to say, the second array includes 6 array elements, namely Nq1, Nq2, Nq3, Nq4, Nq5, and Nq6. Among them, Nq1 can represent the pollutant flow with the pollutant particle diameter range of 0-5 microns, Nq2 can represent the pollutant flow with the pollutant particle diameter range of 5-10 microns, Nq3 can represent the pollutant flow with the pollutant particle diameter range of 10-25 microns, Nq4 can represent the pollutant flow with the pollutant particle diameter range of 25-50 microns, Nq5 can represent the pollutant flow with the pollutant particle diameter range of 50-75 microns, and Nq6 can represent the pollutant flow with the pollutant particle diameter range greater than 75 microns. Based on this, in the modeling and simulation, the fluid simulation model can transfer the 6 numerical scalars included in the pollutant flow variable in its own interface to the model connected to it. It can be understood that the pollutant flow can represent the number of pollutant particles transferred by the fluid in the target device model per unit time, and the unit can be pieces / second.

[0028] In an embodiment of the present invention, an architecture for constructing a fluid simulation model is provided. The architecture at least includes a reference device model and a preset model interface for connecting simulation device models obtained based on the reference device model. Among them, the reference device model divides the physical devices in the fluid system from the dimension of the material calculation principle to obtain a resistive device model for determining the target material flow of the target device model, and a capacitive device model for determining the target material concentration of the target device model. In an embodiment of the present invention, the architecture for constructing a fluid simulation model is developed using the Modelica language.

[0029] Based on this, in the case where the target substance is a pollutant, pollutant concentration and pollutant flow variables with actual physical meanings can be defined in the interface, and the transferred variables are more intuitive and conform to physical laws. In an embodiment of the present invention, the pollutant concentration and pollutant flow in the interface variables can be presented in the form of an array. This design enables it to be scientifically and reasonably divided according to actual needs in combination with relevant pollutant standards or particle counter ranges. Compared with the single form of the traditional pollution control theory that only characterizes the pollution degree through the standard particle concentration and distribution slope, it can more comprehensively and finely reflect the pollutant distribution state in the fluid system, thereby providing rich and accurate simulation data support for formulating more accurate and effective pollution control strategies.

[0030] In the embodiments of the present invention, the architecture describes the basic calculation principles of pollutant concentration and pollutant flow rate in a fluid system among different types of fluid device models, and fully combines the object-oriented characteristics of the Modelica language. Based on this architecture, system-level pollution control modeling and simulation can be quickly realized, greatly improving the efficiency and quality of modeling and simulation. Since the interface definition strictly follows the physical characteristics of pollutant transfer in an actual fluid system, this architecture has strong versatility and scalability, can cross the differences and barriers between different fluid systems, and is widely applied to the pollution control modeling and simulation fields of various complex fluid systems.

[0031] The technical solution of the embodiments of the present invention includes determining target device models corresponding to each physical device in a target fluid system; the target device models are obtained based on reference device models, the reference device models include a resistive device model and a capacitive device model, the resistive device model is used to determine the target material flow rate of the target device model, and the capacitive device model is used to determine the target material concentration of the target device model. In the embodiments of the present invention, by using the capacitive device model and the resistive device model as reference device models, not only can the establishment process of the fluid system simulation model be simplified, but also a simulation model corresponding to the physical device in the fluid system can be accurately constructed. Furthermore, based on the connection relationship among the physical devices in the target fluid system, the connection among the target device models can be completed, and a fluid simulation model highly consistent with the target fluid system can be obtained. Thus, based on the fluid simulation model, the simulation results of the target material attribute data in the target fluid system can be determined, solving the technical problems of low accuracy and poor reliability in determining the target material attribute data in the fluid system in the related art, and realizing reliable and accurate simulation results of the target material attribute data in the fluid system, so as to facilitate the effective treatment of the target material in the fluid system.

[0032] Figure 3A flowchart of a fluid system simulation method provided by an embodiment of the present invention. Optionally, on the basis of the foregoing embodiment, the fluid simulation model at least includes a first device model, a second device model, and a third device model. The first device model and the second device model are connected, and the fluid direction points from the first device model to the second device model. The second device model and the third device model are connected, and the fluid direction points from the second device model to the third device model. The first device model and the third device model are respectively obtained based on the resistive device model, and the second device model is obtained based on the capacitive device model. The simulation result of determining the target substance attribute data in the target fluid system based on the fluid simulation model includes: when there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction points from the fourth device model to the first device model, determining the first substance concentration value of the fourth device model at the current moment, where the fourth device model is obtained based on the capacitive device model; determining the first substance flow value of the first device model at the current moment according to the first fluid flow and the first substance concentration value of the first device model at the current moment, and determining the second substance flow value of the third device model at the current moment according to the second substance concentration value of the second device model and the second fluid flow of the third device model at the current moment; determining the third substance concentration value of the second device model at the next moment according to the first substance flow value and the second substance flow value, and transmitting the third substance concentration value to the first device model and the third device model, so that the first device model and the third device model respectively calculate the substance flow values at the next moment based on the third substance concentration value. For the specific implementation, reference can be made to the description of this embodiment. Among them, the same or similar technical features as those in the above embodiment will not be repeated here.

[0033] As Figure 3 shown, the method of this embodiment specifically includes: S210. Determine the target device models corresponding to the physical devices in the target fluid system; wherein, the target device models are obtained based on the reference device models, the reference device models include a resistive device model and a capacitive device model, the resistive device model is used to determine the target substance flow of the target device model, and the capacitive device model is used to determine the target substance concentration of the target device model.

[0034] S220. Based on the connection relationship between the physical devices in the target fluid system, complete the connection between the target device models to obtain a fluid simulation model corresponding to the target fluid system; wherein, the fluid simulation model at least includes a first device model, a second device model, and a third device model.

[0035] In an embodiment of the present invention, in the fluid simulation model, the first device model and the second device model are connected, and the fluid direction points from the first device model to the second device model. The second device model and the third device model are connected, and the fluid direction points from the second device model to the third device model. The first device model and the third device model are respectively obtained based on the resistive type device model. The second device model is obtained based on the capacitive type device model. Among them, the first device model can be understood as a simulation device model configured based on the resistive type device model. The second device model can be understood as a simulation device model configured based on the capacitive type device model. The third device model can be understood as a simulation device model configured based on the resistive type device model. In an embodiment of the present invention, the first device model and the third device model can be the same simulation device model or different simulation device models.

[0036] S230. When there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction points from the fourth device model to the first device model, determine the first substance concentration value of the fourth device model at the current moment, where the fourth device model is obtained based on the capacitive type device model.

[0037] Among them, the fourth device model can be understood as a simulation device model configured based on the capacitive type device model, connected to the first device model and with the fluid flowing towards the first device model. That is to say, the fourth device model is connected to the first device model in the fluid simulation model and is responsible for transporting the fluid to the first device model. In an embodiment of the present invention, the number of fourth device models connected to the first device model can be one or more. In practical applications, the number of fourth device models connected to the first device model is usually one. The first substance concentration value can be understood as the substance concentration value of the fourth device model at the current moment.

[0038] Specifically, when there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction points from the fourth device model to the first device model, the substance concentration value of the fourth device model at the current moment, that is, the first substance concentration value, can be determined.

[0039] In an embodiment of the present invention, determining the substance concentration value of the fourth device model can include the following two cases: Case 1. When there is no simulation device model connected to the fourth device model in the fluid simulation model, a preset substance flow value can be given to calculate the substance concentration value of the fourth device model.

[0040] Case 2: In the case where there is a fifth device model connected to the fourth device model in the fluid simulation model and the fluid direction points from the fifth device model to the fourth device model, the material concentration value of the fourth device model can be calculated based on the material flow rate value of the fifth device model. In the case where the number of the fifth device models is multiple, the material flow rate values of the multiple fifth device models can be summed up to obtain the net material flow rate value acting on the fourth device model, so that the material concentration value of the fourth device model can be calculated according to the net material flow rate value.

[0041] S240: Determine the first material flow rate value of the first device model at the current moment according to the first fluid flow rate of the first device model and the first material concentration value at the current moment, and determine the second material flow rate value of the third device model at the current moment according to the second material concentration value of the second device model and the second fluid flow rate of the third device model at the current moment.

[0042] Among them, the first fluid flow rate can be understood as the fluid flow rate of the first device model at the current moment. The first material flow rate value can be understood as the material flow rate value of the first device model at the current moment. The second material concentration value can be understood as the material concentration value of the second device model at the current moment. The second fluid flow rate can be understood as the fluid flow rate of the third device model at the current moment. The second material flow rate value can be understood as the material flow rate value of the third device model at the current moment.

[0043] As an optional implementation manner in the embodiments of the present invention, in the case where the number of the fourth device models connected to the first device model in the fluid simulation model is multiple, the fluid flow rate of the first device model at the current moment, that is, the first fluid flow rate, can be determined. Thus, the material flow rate value of the first device model at the current moment, that is, the first material flow rate value, can be determined according to the first fluid flow rate and the first material concentration value. And, the material concentration value of the second device model at the current moment, that is, the second material concentration value, can be determined. The fluid flow rate of the third device model at the current moment, that is, the second fluid flow rate, can be determined. Thus, the material flow rate value of the third device model at the current moment, that is, the second material flow rate value, can be determined according to the second material concentration value and the second fluid flow rate.

[0044] As another alternative embodiment in the embodiments of the present invention, when there are multiple fourth device models connected to the first device model in the fluid simulation model, the multiple fourth device models can be combined into the same capacitive simulation device model. Furthermore, according to the equivalent substance concentration value of the capacitive simulation device model obtained after the combination at the current moment, and the first fluid flow rate of the first device model at the current moment, the first substance flow rate value of the first device model at the current moment can be calculated.

[0045] S250. Determine the third substance concentration value of the second device model at the next moment according to the first substance flow rate value and the second substance flow rate value, and transmit the third substance concentration value to the first device model and the third device model, so that the first device model and the third device model respectively calculate the substance flow rate values at the next moment based on the third substance concentration value.

[0046] Among them, the third substance concentration value can be understood as the substance concentration value of the second device model at the next moment of the current moment.

[0047] In the embodiments of the present invention, the substance concentration value of the second device model at the next moment, that is, the third substance concentration value, can be determined according to the first substance flow rate value and the second substance flow rate value. Specifically, the first substance flow rate value and the second substance flow rate value are summed to obtain a net substance flow rate value acting on the second device model, and thus the substance concentration value of the second device model at the next moment of the current moment is calculated according to the net substance flow rate value. After that, the third substance concentration value can be transmitted to the first device model and the third device model, so that the first device model and the third device model respectively calculate the substance flow rate values at the next moment based on the third substance concentration value, thereby realizing the fluid simulation model.

[0048] See Figure 4 , in the embodiments of the present invention, a preset direction identifier is also used to intuitively represent the fluid flow direction in multiple target device models ( Figure 4 the first device model, the second device model, and the third device model in). Exemplarily, \"+\" is used to represent the fluid flowing into the target device model, and \"-\" is used to represent the fluid flowing out of the target device model. Among them, Nq_A can be expressed as the target substance concentration of the target device model, and N can be expressed as the target substance flow rate of the target device model. It should be noted that Figure 4 the first device model and the third device model in are respectively obtained based on the resistive device model, and the second device model is obtained based on the capacitive device model.

[0049] Based on the above embodiments, in the case where there is no fourth device model connected to the first device model in the fluid simulation model and the fluid direction points from the fourth device model to the first device model, a fourth device model obtained based on the capacitive device model and pointing to the first device model can be simulated, and the material concentration value of the fourth device model at the current moment can be set. Furthermore, the first material flow value of the first device model and the second material flow value of the third device model at the current moment are calculated. Then, based on the first material flow value and the second material flow value, the third material concentration value of the second device model at the next moment is calculated, and the third material concentration value is transmitted to the first device model and the third device model, so that the first device model and the third device model calculate the material flow values at the next moment based on the third material concentration value respectively.

[0050] It should be noted that in the embodiments of the present invention, during the process of calculating the material concentration value of the simulation device model obtained based on the capacitive device model, or during the process of calculating the material flow of the simulation device model obtained based on the resistive device model, in the case where there is no other simulation device model connected to the current device model and the flow direction points from the other simulation device model to the current device model, a preset value can be given for fluid simulation calculation.

[0051] In the technical solution of the embodiments of the present invention, in the case where there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction points from the fourth device model to the first device model, the first material concentration value of the fourth device model at the current moment is determined, where the fourth device model is obtained based on the capacitive device model; according to the first fluid flow of the first device model and the first material concentration value at the current moment, the first material flow value of the first device model at the current moment is determined, and according to the second material concentration value of the second device model and the second fluid flow of the third device model at the current moment, the second material flow value of the third device model at the current moment is determined; according to the first material flow value and the second material flow value, the third material concentration value of the second device model at the next moment is determined, and the third material concentration value is transmitted to the first device model and the third device model, so that the first device model and the third device model calculate the material flow values at the next moment based on the third material concentration value respectively, realizing the simulation of the fluid system.

[0052] Figure 5 It is a schematic structural diagram of a fluid system simulation device provided by an embodiment of the present invention. As Figure 5 shown, the device includes: a device model determination module 310 and a fluid system simulation module 320.

[0053] Among them, the device model determination module 310 is configured to determine the target device models corresponding to the physical devices in the target fluid system. The target device models are obtained based on reference device models, where the reference device models include a resistive device model and a capacitive device model. The resistive device model is used to determine the target material flow rate of the target device model, and the capacitive device model is used to determine the target material concentration of the target device model. The fluid system simulation module 320 is configured to complete the connection between the target device models based on the connection relationships between the physical devices in the target fluid system, obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation results of the target material attribute data in the target fluid system based on the fluid simulation model.

[0054] In the technical solution of the embodiment of the present invention, the device model determination module 310 is configured to determine the target device models corresponding to the physical devices in the target fluid system. The target device models are obtained based on reference device models, where the reference device models include a resistive device model and a capacitive device model. The resistive device model is used to determine the target material flow rate of the target device model, and the capacitive device model is used to determine the target material concentration of the target device model. In the embodiment of the present invention, using the capacitive device model and the resistive device model as the reference device models can not only simplify the establishment process of the fluid system simulation model, but also accurately construct the simulation models corresponding to the physical devices in the fluid system. Through the fluid system simulation module 320, which is configured to complete the connection between the target device models based on the connection relationships between the physical devices in the target fluid system, obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation results of the target material attribute data in the target fluid system based on the fluid simulation model, a fluid simulation model highly consistent with the target fluid system can be obtained, solving the technical problems of low accuracy and poor reliability in determining the target material attribute data in the fluid system in the related art, and achieving reliable and accurate simulation results of the target material attribute data in the fluid system, so as to facilitate the effective processing of the target material in the fluid system.

[0055] Optionally, the device model determination module 310 is configured to display multiple candidate device models, and obtain the target device models corresponding to the physical devices in the target fluid system in response to a model selection operation on the candidate device models.

[0056] Optionally, the reference device models corresponding to the target device models are configured with preset model interfaces. The fluid system simulation module 320 is configured to complete the connection between the preset model interfaces configured for the target device models based on the connection relationships between the physical devices in the target fluid system.

[0057] Optionally, the interface configuration information of the preset model interface includes a first variable, a second variable, a first array, and a second array; wherein, the first variable is the fluid pressure, the second variable is the fluid flow rate, the first array includes multiple substance concentration values, among the multiple substance concentration values, different substance concentration values correspond to different substance particle ranges, and the second array includes multiple substance flow rate values, among the multiple substance flow rate values, different substance flow rate values correspond to different substance particle ranges.

[0058] Optionally, the model types of the reference device models corresponding to two connected target device models among the multiple target device models are different.

[0059] Optionally, the fluid simulation model at least includes a first device model, a second device model, and a third device model. The first device model and the second device model are connected and the fluid direction is from the first device model to the second device model. The second device model and the third device model are connected and the fluid direction is from the second device model to the third device model. The first device model and the third device model are respectively obtained based on the resistive type device model, and the second device model is obtained based on the capacitive type device model; Correspondingly, the fluid system simulation module 320 is configured to determine the first substance concentration value of the fourth device model at the current moment when there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction is from the fourth device model to the first device model, wherein the fourth device model is obtained based on the capacitive type device model; determine the first substance flow rate value of the first device model at the current moment according to the first fluid flow rate and the first substance concentration value of the first device model at the current moment, and determine the second substance flow rate value of the third device model at the current moment according to the second substance concentration value of the second device model and the second fluid flow rate of the third device model at the current moment; determine the third substance concentration value of the second device model at the next moment according to the first substance flow rate value and the second substance flow rate value, and transmit the third substance concentration value to the first device model and the third device model, so that the first device model and the third device model respectively calculate the substance flow rate values at the next moment based on the third substance concentration value.

[0060] Optionally, the capacitive type device model includes at least one capacitive cavity device model, and the resistive type device model includes a control valve device model. The control valve device model at least includes a directional valve model, a pressure valve model, and a flow valve model.

[0061] The fluid system simulation device provided by the embodiments of the present invention can execute the fluid system simulation method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0062] It should be noted that the various units and modules included in the above fluid system simulation device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present invention.

[0063] Figure 6 FIG. shows a schematic structural diagram of an electronic device 10 that can be used to implement the embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described herein and / or claimed.

[0064] As Figure 6 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. Among them, the memory stores a computer program executable by the at least one processor, and the processor 11 can execute various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0065] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disc, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0066] The processor 11 may be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the fluid system simulation method.

[0067] In some embodiments, the fluid system simulation method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the fluid system simulation method described above may be executed. Alternatively, in other embodiments, the processor 11 may be configured to execute the fluid system simulation method by any other suitable means (e.g., by means of firmware).

[0068] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor, that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0069] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processors of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the computer programs are executed by the processors, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0070] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0071] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0072] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0073] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, and solves the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0074] It should be understood that various forms of processes shown above can be used, with steps reordered, added or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.

[0075] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A fluid system simulation method, characterized in that, Including: Determine target device models corresponding to each physical device in a target fluid system; wherein, the target device models are obtained based on reference device models, the reference device models include a resistive device model and a capacitive device model, the resistive device model is used to determine the target mass flow rate of the target device models, and the capacitive device model is used to determine the target mass concentration of the target device models; Based on the connection relationships between the physical devices in the target fluid system, complete the connection between the target device models to obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation results of the target mass attribute data in the target fluid system based on the fluid simulation model.

2. The method according to claim 1, wherein The determining of the target device models corresponding to each physical device in the target fluid system includes: Display a plurality of candidate device models; In response to a model selection operation for the candidate device models, obtain the target device models corresponding to each physical device in the target fluid system.

3. The method according to claim 1, characterized in that The reference device models corresponding to the target device models are configured with preset model interfaces; the completing of the connection between the target device models based on the connection relationships between the physical devices in the target fluid system includes: Based on the connection relationships between the physical devices in the target fluid system, complete the connection between the preset model interfaces configured for the target device models.

4. The method according to claim 3, characterized in that The interface configuration information of the preset model interfaces includes a first variable, a second variable, a first array, and a second array; wherein, the first variable is the fluid pressure, the second variable is the fluid flow rate, the first array includes a plurality of mass concentration values, and among the plurality of mass concentration values, different mass concentration values correspond to different mass particle intervals, and the second array includes a plurality of mass flow rate values, and among the plurality of mass flow rate values, different mass flow rate values correspond to different mass particle intervals.

5. The method according to claim 1, wherein The model types of the reference device models corresponding to two connected target device models among the plurality of target device models are different.

6. The method according to claim 1, characterized in that The fluid simulation model includes at least a first device model, a second device model, and a third device model. The first device model and the second device model are connected and the fluid direction is from the first device model to the second device model. The second device model and the third device model are connected and the fluid direction is from the second device model to the third device model. The first device model and the third device model are respectively obtained based on the resistive device model, and the second device model is obtained based on the capacitive device model; the determining of the simulation results of the target mass attribute data in the target fluid system based on the fluid simulation model includes: In the case where there is a fourth device model connected to the first device model in the fluid simulation model and the fluid direction is from the fourth device model to the first device model, determine the first mass concentration value of the fourth device model at the current moment, wherein the fourth device model is obtained based on the capacitive device model; Determine the first mass flow rate value of the first equipment model at the current moment according to the first fluid flow rate and the first mass concentration value of the first equipment model at the current moment, and determine the second mass flow rate value of the third equipment model at the current moment according to the second mass concentration value of the second equipment model and the second fluid flow rate of the third equipment model at the current moment; Determine the third mass concentration value of the second equipment model at the next moment according to the first mass flow rate value and the second mass flow rate value, and transmit the third mass concentration value to the first equipment model and the third equipment model, so that the first equipment model and the third equipment model respectively calculate the mass flow rate values at the next moment based on the third mass concentration value.

7. The method according to claim 1, characterized in that, The capacitive equipment model includes at least one cavity equipment model, and the resistive equipment model includes a control valve equipment model, and the control valve equipment model includes at least a reversing valve model, a pressure valve model, and a flow valve model.

8. A fluid system simulation device, characterized in that, Comprising: An equipment model determination module, configured to determine a target equipment model corresponding to each physical equipment in a target fluid system; wherein, the target equipment model is obtained based on a reference equipment model, the reference equipment model includes a resistive equipment model and a capacitive equipment model, the resistive equipment model is used to determine the target mass flow rate of the target equipment model, and the capacitive equipment model is used to determine the target mass concentration of the target equipment model; A fluid system simulation module, configured to complete the connection between the target equipment models based on the connection relationship between the physical equipment in the target fluid system, obtain a fluid simulation model corresponding to the target fluid system, and determine the simulation result of the target mass attribute data in the target fluid system based on the fluid simulation model.

9. An electronic device, characterized in that, The electronic device includes: One or more processors; A storage device 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 fluid system simulation method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the processor to implement the fluid system simulation method according to any one of claims 1-7 when executed.

Citation Information

Patent Citations

  • An energy flow simulation method and device for an RLC transient model of an integrated energy system

    CN109241677A

  • Modelica-based thermal fluid medium simulation real-time method

    CN114239216A

  • Model parameter value determination method and device, electronic equipment and storage medium

    CN118069290A

  • Modelling of a distillation column with operating state changes

    IN201844039152A

  • Method and apparatus for optimizing fluid network system

    WO2023028860A1