Thermodynamic system simulation method and system

By splitting the thermal system into equipment to construct configuration components, using simple or detailed mechanism models, setting working fluid and characteristic parameters, the performance bottleneck of the existing platform in variable working conditions is solved, and high-precision and highly adaptable thermal system simulation is achieved.

CN120449343APending Publication Date: 2025-08-08SHANGHAI TURBINE
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510538019.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

The existing thermal system simulation platform is difficult to meet the personalized needs of complex thermal systems, and its adaptability and accuracy are limited, especially in the calculation of variable operating conditions.

Method used

Split the thermal system into multiple devices, construct configuration components, use simple or detailed mechanism models, set up working fluid and characteristic parameters, simulate through a nonlinear system of equation solver, establish physical system of equations, display and analyze port parameters.

Benefits of technology

It realizes high-precision simulation of complex thermal systems, has strong adaptability, can meet simulation calculations under different operating conditions, has good variable operating conditions performance and scalability, provides a friendly user interface and operational convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120449343A_ABST
    Figure CN120449343A_ABST
Patent Text Reader

Abstract

The invention discloses a thermodynamic system simulation method and system, and the method comprises the steps: splitting a thermodynamic system into a plurality of devices according to a physical working mechanism, building a corresponding configuration element for each device, and enabling the attributes of the configuration elements to comprise a name, a graphic pattern, an interface interaction parameter and logic, a port attribute and a mechanism model, according to the simulation precision of the equipment, the mechanism model is divided into a simple mechanism model and a detailed mechanism model. Working media of a thermodynamic system are arranged, and different working media correspond to different thermodynamic physical properties. And establishing a topological connection relationship between the configuration elements according to an actual relationship between the devices. Characteristic parameters of the equipment are set in the configuration elements, and boundary conditions of the thermodynamic system are set at ports of the configuration elements. And combining the topological connection relation, the characteristic parameters and the boundary conditions, constructing a physical equation set of the thermodynamic system, and solving the physical equation set of the thermodynamic system through a nonlinear equation set solver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of thermal system simulation, and in particular to a thermal system simulation method and system. Background Art

[0002] A thermal system simulation platform is a software tool or system used to simulate and analyze the operational characteristics and behavior of thermal systems. By establishing mathematical models and algorithms, it virtually simulates the energy conversion, transfer, and distribution processes within thermal systems, helping users analyze system performance, optimize designs, predict operational status, and perform fault diagnosis.

[0003] Thermal system simulation platforms play a vital role in engineering applications and research. However, there is a lack of mature thermal system simulation platforms in China, making it difficult to meet the growing engineering needs. Existing simulation software from abroad, such as Thermoflow's Thermoflow-GTPRO and STEAG's EBSILON, lacks detailed simulation of thermal flow. Consequently, performance calculations for varying operating conditions across units rely on empirical curves, resulting in performance bottlenecks when handling variable operating conditions and a lack of localized variable condition calculation capabilities.

[0004] In summary, existing thermal system simulation platforms struggle to meet the personalized needs of complex thermal systems, and their adaptability and accuracy are limited. There is an urgent need for a thermal system simulation platform with a user-friendly interface, excellent variable operating condition performance, and strong scalability to provide a powerful tool for thermal system performance analysis and optimization, as well as the development of new thermal systems. Summary of the Invention

[0005] The purpose of the present invention is to provide a thermal system simulation method and system, which is used to address the problem that existing thermal system simulation platforms are difficult to meet the personalized needs of complex thermal systems and have limited adaptability and accuracy. By rationally selecting simple mechanism models or detailed mechanism models, the variable operating performance of thermal systems can be better simulated; by setting the working fluid, it is conducive to the simulation of new thermal systems with better adaptability; by setting characteristic parameters and boundary conditions, it can meet the simulation calculation of thermal systems under different operating conditions, with excellent variable operating performance and strong scalability, which is convenient for fully meeting the personalized needs of complex thermal systems.

[0006] In order to achieve the above objectives, the present invention is implemented through the following technical solutions:

[0007] A first aspect of the present invention provides a thermal system simulation method, comprising:

[0008] According to the physical working mechanism, the thermal system is divided into multiple devices, and a corresponding configuration element is constructed for each device. The attributes of the configuration element include name, graphic style, interface interaction parameters and logic, port attributes and mechanism model. According to the simulation accuracy of the device, the mechanism model is divided into simple mechanism model and detailed mechanism model;

[0009] Setting a working fluid for the thermal system, wherein different working fluids correspond to different thermodynamic physical properties;

[0010] Establishing a topological connection relationship between the configuration elements according to the actual relationship between the devices;

[0011] Setting characteristic parameters of the device in the configuration element, and setting boundary conditions of the thermal system at ports of the configuration element;

[0012] Combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct a set of physical equations for the thermal system, and solving the set of physical equations for the thermal system using a nonlinear equation solver to obtain port parameters of the configuration element;

[0013] The calculation results of the port parameters are displayed, analyzed and sent.

[0014] Optionally, the simple mechanism model is a one-dimensional computational simulation model, used to obtain the port physical information of the device; the detailed mechanism model is a two-dimensional computational simulation model established based on the two-dimensional physical structure of the configuration element, used to obtain the port physical information of the device and the detailed physical information inside the device.

[0015] Optionally, when the configuration element adopts the simple mechanism model, the characteristic parameter is either from the input interface of the configuration element, or from the characteristic curve of the configuration element, or is empty;

[0016] When the configuration element adopts the detailed mechanism model, the characteristic parameters come from the calculation results of the detailed mechanism model.

[0017] Optionally, the port attributes include the following three dimensions: mass flow ports and non-mass flow ports, inlets and outlets, ports that must be connected and ports that do not have to be connected, and each port of the configuration element has only one attribute in each dimension.

[0018] Optionally, combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct the set of physical equations for the thermodynamic system includes:

[0019] The mechanism model of the configuration element includes a mass conservation equation, an energy conservation equation, a physical mechanism equation, and a boundary condition equation. For each independent configuration element, the characteristic parameters are assigned to the physical mechanism equation, and the boundary conditions are assigned to the boundary condition equation to complete the equation closure of the configuration element.

[0020] For the thermodynamic system composed of multiple configuration elements, according to the topological connection relationship of the configuration elements, the physical equation groups of all the configuration elements are spliced diagonally into the physical equation group of the thermodynamic system to complete the equation closure of the thermodynamic system.

[0021] Optionally, the topological relationship between the configuration elements is established by connecting ports of the configuration elements with pipelines;

[0022] The pipeline is in an open state or a closed state, wherein when the pipeline is in a closed state, both ends are respectively connected to an inlet and an outlet of the same type of port.

[0023] Optionally, the boundary conditions of the thermal system are assigned to the pipeline, and then the boundary conditions are assigned to the ports of the configuration components connected to the pipeline through the pipeline.

[0024] Optionally, the same thermal system is used to establish multiple thermal working conditions, constructing different sets of thermal equations of the thermal system;

[0025] For different thermal working conditions, the topological relationships of the configuration elements are synchronized, but the characteristic parameters of the configuration elements and the boundary conditions of the thermal system are not synchronized.

[0026] A second aspect of the present invention provides a thermal system simulation system, comprising:

[0027] The configuration element establishment module is used to split the thermal system into multiple devices and build a corresponding configuration element for each device. The attributes of the configuration element include name, graphic style, interface interaction parameters and logic, port attributes and mechanism model. According to the simulation accuracy of the device, the mechanism model is divided into simple mechanism model and detailed mechanism model.

[0028] A system working fluid setting module, connected to the configuration element establishment module, for setting the working fluid of the thermal system, wherein different working fluids correspond to different thermodynamic physical properties;

[0029] A thermal system construction module, connected to the system working medium setting module, for establishing a topological connection relationship between the configuration elements according to the actual relationship between the devices;

[0030] a simulation parameter setting module, connected to the thermal system construction module, for setting characteristic parameters of the device in the configuration element and setting boundary conditions of the thermal system at ports of the configuration element;

[0031] a physical equation solving module, connected to the simulation parameter setting module, for combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct a set of physical equations for the thermal system, and solving the set of physical equations for the thermal system using a nonlinear equation solver to obtain port parameters of the configuration element; and

[0032] The calculation result display module is connected to the physical equation solving module and is used to display, analyze and send the calculation results of the port parameters.

[0033] Optionally, the thermal system simulation system further includes a user interaction module, and the user interaction module is used to realize human-computer interaction;

[0034] The user interaction module is connected to the configuration element establishment module, providing an entry for defining the configuration element, and is used to input the name, graphic style, editing authority, port attributes and mechanism model of the configuration element, so as to complete the construction and packaging of the new configuration element through the configuration element establishment module.

[0035] The present invention has at least the following technical effects:

[0036] By splitting the thermal system into multiple devices and constructing configuration components for each device, the modeling requirements of thermal systems of varying complexity can be fully met, which helps ensure the integrity and accuracy of simulation results. By rationally selecting simple or detailed mechanism models, the variable operating performance of the thermal system can be better simulated.

[0037] By setting different working fluids, it is beneficial to simulate different types of thermal systems and has better adaptability;

[0038] By setting characteristic parameters and boundary conditions, it is possible to simulate and calculate thermal systems under different working conditions. It has excellent variable working condition performance and strong scalability, making it easy to fully meet the personalized needs of complex thermal systems.

[0039] By displaying and analyzing the calculation results of the port parameters, the visualization effect is good, which is convenient for users to use and meets the needs of modern engineering for information display and convenient operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A schematic flow chart of a thermal system simulation method provided by one embodiment of the present invention;

[0041] Figure 2 A schematic structural diagram of a thermal system simulation system provided by one embodiment of the present invention;

[0042] Figure 3 A schematic diagram of the system architecture of a thermal system simulation system provided by one embodiment of the present invention;

[0043] Figure 4 A schematic structural diagram of a simple mechanism model of a configuration element provided in one embodiment of the present invention;

[0044] Figure 5 A schematic structural diagram of a detailed mechanism model of a configuration element provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following is a further detailed description of a thermal system simulation method and system proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structure, proportion, size, etc. illustrated in the drawings of this specification are only used to match the content disclosed in the specification, so that people familiar with this technology can understand and read them, and are not used to limit the limiting conditions for the implementation of the present invention. Therefore, they have no technical significance. Any modification of the structure, change in the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the efficacy and purpose that can be achieved by the present invention.

[0046] like Figure 1 As shown, the thermal system simulation method provided in this embodiment includes: splitting the thermal system into multiple devices according to the physical working mechanism, constructing a corresponding configuration element for each device, and the attributes of the configuration element include name, graphic style, interface interaction parameters and logic, port attributes and mechanism model. Set the working fluid of the thermal system, and different working fluids correspond to different thermodynamic physical properties. Establish the topological connection relationship between the configuration elements according to the actual relationship between the devices. Set the characteristic parameters of the equipment in the configuration element, and set the boundary conditions of the thermal system at the ports of the configuration element. Combine the topological connection relationship, characteristic parameters and boundary conditions to construct the physical equation group of the thermal system, solve the physical equation group of the thermal system through the nonlinear equation solver, and obtain the port parameters of the configuration element; display, analyze and send the calculation results of the port parameters.

[0047] like Figure 2As shown, in order to implement the above-mentioned thermal system simulation method, the thermal system simulation system provided in this embodiment includes a configuration element establishment module, a system working fluid setting module, a thermal system construction module, a simulation parameter setting module, a physical equation solving module, a calculation result display module and a user interaction module.

[0048] Specifically, the configuration element establishment module is used to split the thermal system into multiple devices and build corresponding configuration elements for each device. The properties of the configuration element include name, graphic style, interface interaction parameters and logic, port properties and mechanism model.

[0049] The system working fluid setting module is connected to the configuration component establishment module and is used to set the working fluid of the thermal system. Different working fluids correspond to different thermodynamic physical properties.

[0050] The thermal system construction module is connected to the system working medium setting module and is used to establish a topological connection relationship between configuration elements according to the actual relationship between the devices.

[0051] The simulation parameter setting module is connected to the thermal system construction module and is used to set the characteristic parameters of the equipment in the configuration elements and to set the boundary conditions of the thermal system at the ports of the configuration elements.

[0052] The physical equation solving module is connected to the simulation parameter setting module, which is used to combine the topological connection relationship, characteristic parameters and boundary conditions to construct the physical equation group of the thermal system. The physical equation group of the thermal system is solved by the nonlinear equation solver to obtain the port parameters of the configuration elements.

[0053] The calculation result display module is connected to the physical equation solving module and is used to display, analyze and send the calculation results of the port parameters.

[0054] The user interaction module is used to implement human-computer interaction. It connects to the configuration component creation module and provides an entry point for defining configuration components. It is used to enter the configuration component's name, graphic style, editing permissions, port properties, and mechanism model. This allows the module to complete the construction and packaging of new configuration components.

[0055] The user interaction module can also be connected to the system working fluid setting module and the thermal system construction module, allowing users to set working fluids and issue modeling commands through user interaction. The user interaction module can also be connected to the simulation parameter setting module to set characteristic parameters and boundary conditions. The user interaction module can also be connected to the physical equation solving module and the calculation result display module to trigger calculation operations in the physical equation solving module and select the display module to view the calculation results.

[0056] like Figure 3As shown, in this embodiment, the thermal system simulation system architecture can include an application layer, a core layer, and a data layer. In the application layer, user interaction enables configuration-based modeling, thermal system simulation, and customized output. In the core layer, the system backend completes graphical configuration and kernel solving operations through the configuration component creation module and the physical equation solving module. The data layer allows for the input and storage of configuration component characteristic parameters, characteristic curves, and standardized input files, serving as a support module for the entire system.

[0057] First, in the configuration element creation module, to break down a complex thermal system into multiple devices, it's necessary to first break the thermal system down into multiple subsystems, then further break each subsystem down into multiple devices, and then build configuration elements for each device. For example, the thermal system of a thermal power plant can be broken down into the following subsystems: steam turbine system, boiler system, regenerative heater system, cold end system, shaft seal system, pipeline and valve system, and power system. For example, the steam turbine system can be further broken down into the following devices: steam inlet chamber, regulating stage, steam extraction chamber, blade stage assembly, interstage dehumidification system, and exhaust chamber.

[0058] The properties of a configuration component include its name, graphic style, interface interaction parameters and logic, port properties, and mechanism model. Specifically, the name of a configuration component is in Chinese and can generally be the name of the actual device. The graphic style of a configuration component is based on engineering understanding. The graphic style is generally a simple pattern composed of straight lines and curves. The graphic style must clearly indicate the ports of the configuration component. The interface interaction parameters and logic of a configuration component refer to the parameters of the configuration component and its editing permissions. The parameters of a configuration component include parameters that are synchronized with each working condition and parameters that are not synchronized with each working condition. The editing permissions are divided into writable and read-only.

[0059] The port attributes of a configuration element include the following three dimensions: mass flow ports and non-mass flow ports, inlets and outlets, ports that must be connected and ports that do not have to be connected. Non-mass flow ports can be further divided into heat flow ports, mechanical axis ports, and electrical power ports. Each port of a configuration element has only one attribute in each dimension. Taking the configuration element constructed for blade-level group equipment as an example, it has four ports, among which the attribute of port 1 can be mechanical axis-inlet-must be connected, the attribute of port 2 can be mechanical axis-outlet-not necessarily connected, the attribute of port 3 can be mass flow-inlet-must be connected, and the attribute of port 4 can be mass flow-outlet-must be connected.

[0060] like Figure 4 and Figure 5As shown in Figure 1, based on the device's simulation accuracy, the mechanism model of a configuration component can be divided into a simple mechanism model and a detailed mechanism model. The simple mechanism model is a one-dimensional computational simulation model used to obtain physical information about the device's ports. The detailed mechanism model is a two-dimensional computational simulation model built based on the configuration component's two-dimensional physical structure. It is used to obtain physical information about the device's ports and detailed physical information within the device.

[0061] The same configuration component can have both a simple mechanism model and a detailed mechanism model, but only one mechanism model can be selected at a time. To ensure the accuracy of the calculation results, the device should select an appropriate granularity. If the granularity is too large, the mechanism model will be difficult to describe with a suitable set of equations. If the granularity is too small, it will consume more computing resources, and the parameters obtained from an overly detailed mechanism model will not be sensitive to the thermal system and will have little impact on the calculation results.

[0062] like Figure 4 and Figure 5 As shown in Figure 1, the mechanism model of the configuration element includes the mass conservation equation, energy conservation equation, physical mechanism equation, and boundary condition equation. In a thermal system, each port of the configuration element has 12 variables, including flow rate, pressure, specific enthalpy, temperature, dryness, specific entropy, density, speed, power, rotational speed, frequency, and working fluid. Before calculation, the variables must be simplified.

[0063] Specifically, for mass flow ports, the working fluid of each port can be introduced from the outside according to the settings of the thermal system. The relationship between pressure, specific enthalpy, temperature, dryness, specific entropy, and density can be determined by the thermodynamic physical property relationship of the working fluid. After calculating 2 of the 6 parameters (generally pressure and specific enthalpy), the remaining 4 parameters can be further determined. When a simple mechanism model is used, the speed is 0; when a detailed mechanism model is used, the speed comes from the detailed mechanism model. Since power, speed, and frequency are variables that do not need to be calculated, in summary, for mass flow ports, the variables that need to be calculated are flow rate and 2 thermodynamic parameters (generally pressure and specific enthalpy).

[0064] For non-mass flow ports, flow rate, pressure, specific enthalpy, temperature, dryness, specific entropy, density, velocity, and working fluid are all variables that do not need to be calculated. Different types of non-mass flow ports require different variables to be calculated. Specifically, heat flow ports require power calculation, mechanical shaft ports require power and speed calculation, and electrical power ports require power and frequency calculation.

[0065] like Figure 4As shown in the figure, in a simple mechanism model, the number and type of ports determine the number of calculation variables in the mechanism model. Based on the thermal process of the equipment, a set of physical equations consisting of mass conservation equations, energy conservation equations, physical mechanism equations, and boundary condition equations can be established. In a simple mechanism model, the characteristic parameters of the physical equations are derived from the input interface or characteristic curve of the configuration component. For configuration components with non-null characteristic parameters, the characteristic parameters are assigned to the physical equations of the configuration component. The boundary condition equations are derived from the boundary conditions of the thermal system.

[0066] Taking a three-way flow splitter as an example, port 1 is the mass flow inlet. The working fluid at this port is introduced externally, and the velocity is set to 0 by default. Power, speed, and frequency do not need to be calculated. Only two of pressure, specific enthalpy, temperature, dryness, specific entropy, and density need to be calculated. For example, to calculate pressure and specific enthalpy, the variables that need to be calculated at the mass flow port are flow rate (M), pressure (P), and specific enthalpy (H). Therefore, the calculated variables for port 1 are M1, P1, and H1. Port 2 is the mass flow outlet, and the calculated variables are M2, P2, and H2. Port 3 is also a mass flow outlet, and the calculated variables are M3, P3, and H3. The characteristic parameters are left blank.

[0067] Specifically, the physical equations of the configuration elements constituting the three-way splitter are:

[0068] The mass conservation equation:

[0069] M1-M2-M3=0

[0070] Energy conservation equation:

[0071] M1*H1-M2*H2-M3*H3=0

[0072] Physical mechanism equation:

[0073] P1-P2=0; P1-P3=0; H1-H2=0; H1-H3=0

[0074] Boundary condition equations of the thermal system:

[0075] M1=M1_input value;H1=H1_input value;P1=P1_input value;M2=M2_input value

[0076] This forms a closed set of physical equations consisting of 9 variables and 9 equations.

[0077] It's important to note that the boundary condition equations for a thermal system are not fixed and can be combined with other equations based on user input. For example, for a three-way splitter, the boundary condition equations for the thermal system could be: M2 = M2_input value, T2 = T2_input value, P3 = P3_input value, M3 = M3_input value. Other reasonable boundary conditions are also possible.

[0078] like Figure 4 As shown, when the configuration element adopts a simple mechanism model, the characteristic parameter comes from either the input interface of the configuration element or the characteristic curve of the configuration element. Alternatively, the characteristic parameter can also be empty. Taking the configuration element of the pump as an example, the characteristic parameter that needs to be obtained is, for example, efficiency. When the efficiency calculation mode is specified efficiency, the efficiency value can be directly input into the input interface of the configuration element. When the efficiency calculation mode is the efficiency curve, the efficiency value of the pump can be obtained by querying the efficiency curve. When the efficiency calculation mode is a free variable, the physical mechanism equation does not require the characteristic parameter of efficiency, that is, this characteristic parameter is empty. In this case, in order to ensure the closed nature of the physical equation group of the configuration element, it is necessary to add a boundary condition so that the number of variables and equations remains consistent.

[0079] When the configuration element adopts a detailed mechanism model, such as Figure 5 As shown in Figure 1, the characteristic parameters of the physical equations are derived from the detailed mechanism model. Specifically, for the detailed mechanism model, it is necessary to first input detailed design structural parameters to construct the physical equations for the detailed thermal parameters. These physical equations are then solved and the characteristic parameter calculation results are then transferred to the physical mechanism equations.

[0080] For example, for a blade stage, port 1 is the mechanical shaft inlet, and the calculated variables are power (E1) and speed (N1). Port 2 is also the mechanical shaft outlet, and the calculated variables are E2 and N2. Port 3 is the mass flow inlet. Referring to the example of the three-way splitter above, the calculated variables can be M3, P3, and H3. Port 4 is also the mass flow outlet, and the calculated variables can be M4, P4, and H4.

[0081] Specifically, the physical equations constituting the configuration element are:

[0082] The mass conservation equation:

[0083] M3-M4=0

[0084] Energy conservation equation:

[0085] E1-E2+M3*H3-M4*H4=0

[0086] Physical mechanism equation:

[0087] N1-N2=0, P3=f(M3, P4, M3_des, P3_des, P4_des), H4=f(P3, H3, P4, characteristic parameter 1)

[0088] Boundary condition equations of the thermal system:

[0089] E1=E1_input value,N1=N1_input value,M3=M3_input value,H3=H3_input value,P4=P4_input value

[0090] Among them, the specific form of P3=f(M3, P4, M3_des, P3_des, P4_des) is:

[0091]

[0092] The specific form of H4=f(P3, H3, P4, characteristic parameter 1) is:

[0093]

[0094] M3_des, P3_des, and P4_des are all built-in parameters of the configuration element, meaning they remain synchronized under all operating conditions. H4_s is obtained by checking the physical properties of P4 and S3, and S3 is obtained by checking the physical properties of P3 and H3. The physical properties of different working fluids vary.

[0095] It is understandable that, similar to the simple mechanism model, in the detailed mechanism model, the boundary condition equations of the thermal system are also not fixed and can be formed by combining other equations according to the user's input.

[0096] In simple mechanism models, characteristic parameter 1 is derived from the input interface of the configuration component or the system's characteristic curve. This does not accurately assess the thermal performance of the blade stage, resulting in low thermal simulation accuracy. However, for thermal power plant thermal system economic analysis, the operating characteristics of the turbine blade stage are crucial parameters. Therefore, high-precision simulation of the blade stage is required to accurately assess the economic performance of a thermal power plant under varying operating conditions.

[0097] In the detailed mechanism model, characteristic parameters 1 and P3 come from the detailed mechanism model. The calculation of the detailed mechanism model requires the detailed structural parameters of the configuration element, such as blade structure data and steam seal structure data. The equations of the detailed mechanism model are a set of physical equations for detailed thermodynamic parameters, including flow rate M, pressure P, specific enthalpy H, temperature T, dryness X, specific entropy S, specific volume V, absolute velocity C, relative velocity W, circumferential velocity U, axial velocity Cax, absolute steam flow angle Alpha, and relative steam flow angle Beta. The set of physical equations for detailed parameters includes the thermodynamic process equation, continuity equation, energy equation, velocity triangle equation, and thermodynamic physical properties of the working fluid. Detailed design structural parameters serve as characteristic parameters of the detailed mechanism equation set, making the equation set parameters complete. Solving the detailed mechanism equation set can obtain detailed physical information within the configuration element, which includes characteristic parameters 1 and P3.

[0098] Because the detailed mechanism model is a two-dimensional computational simulation model based on the two-dimensional physical structure of the configuration elements, it can be used to calculate the detailed parameters of each row of blades. For ease of description, the parameters of the blade inlet can be labeled _in, the parameters of the blade outlet can be labeled _out, the total parameters can be labeled _t, and the isentropic parameters can be labeled _s. For any row of blades, the following thermodynamic process equations, continuity equations, energy equations, velocity triangle equations, and thermodynamic properties of the working fluid are satisfied:

[0099] Thermodynamic properties of working fluid:

[0100] There is a clear correspondence between pressure P, specific enthalpy H, temperature T, dryness X, specific entropy S, and specific volume V. The main characteristic relationships used are T = f(P, H, working fluid), S = f(P, H, working fluid), X = f(P, H, working fluid), V = f(P, H, working fluid), H = f(P, S, working fluid), and P = f(H, S, working fluid).

[0101] Thermodynamic process equation:

[0102] H_out(i)=H_in_t(i)-(H_in(i)_t-H_out_s(i))*eta(i)

[0103] H_out_s(i)=f(P_out(i), S_in(i), working fluid)

[0104] Among them, eta(i) is calculated based on the blade seal structure data and thermal parameters.

[0105] Continuity equation:

[0106] M_out(i)=Area_out(i)*Area_corr_out(i)*Cax_out(i) / V_out(i)

[0107] M_out(i)=M(i)

[0108] Among them, Area_out(i) is calculated from the blade structure data, and Area_corr_out(i) is calculated from the blade structure data and thermal parameters.

[0109] Energy equation:

[0110] Stationary blades:

[0111]

[0112] Moving leaves:

[0113]

[0114] Velocity triangle equation:

[0115] Static leaf: Cax_out(i)=C2_out(i)*sin(Alpha_out(i))*Corr1_out(i)

[0116] Moving blade: Cax_out(i)=W2_out(i)*sin(Beta_out(i))*Corr1_out(i)

[0117] Stationary blades:

[0118] W_out(i) 2 =(C_out(i) 2 +U_out(i) 2 -

[0119] 2*C_out(i)*U_out(i)*cos((Alpha_out(i)))*Corr2_out(i)

[0120] Moving leaves:

[0121] C_out(i) 2 =(W_out(i) 2 +U_out(i) 2 -

[0122] 2*W_out(i)*U(i)_out*cos((Beta_out(i)))*Corr2_out(i)

[0123] Among them, Corr1_out(i) and Corr2_out(i) are calculated from the blade structure data.

[0124] The parameter relationship between the upstream and downstream blade rows satisfies:

[0125] Thermal parameter transfer equation:

[0126] M(1)=M(i)=M(last)=M3

[0127] P(1)_in_t=P3, P(i)_in=P(i-1)_out / P(i+1)_in=P(i)_out, P(last)_out_t=P4

[0128] H(1)_in_t=H3、H(i)_in=H(i-1)_out / H(i+1)_in=H(i)_out、H(last)_out_t=H4 Speed parameter transfer equation:

[0129] Stationary blade: C_in(i) = C_out(i-1)

[0130] Rotor blade: W_in(i) = W_out(i-1)

[0131] By combining the parametric equations of each row of blades and the parametric relationship between the upstream and downstream blade rows, a set of physical equations for the entire blade stage group is constructed. A nonlinear equation solver can be used to solve the physical equations to obtain detailed thermal parameters at the inlet and outlet of each row of the blade stage group.

[0132] Based on the inlet parameters of the first row and the outlet parameters of the last row, characteristic parameter 1 can be calculated:

[0133]

[0134] In summary, since the detailed mechanism model takes into account the real structural parameters and physical mechanisms of the configuration components, it can better simulate the variable operating performance of the thermal system.

[0135] After establishing a configuration component library for a thermal system, you can model the thermal system. Specifically, you can first set the working fluid of the thermal system in the system working fluid setting module according to the working process of the thermal system. The set working fluid can take effect on the corresponding configuration components added subsequently. The working fluid is a medium substance used to transfer, convert and store energy in the thermal system. It can realize the conversion between thermal energy and mechanical energy, electrical energy or other forms of energy. Different working fluids correspond to different thermodynamic physical properties. For example, water vapor has high specific heat capacity, high enthalpy difference and good thermodynamic properties, and refrigerants usually have low boiling point, high latent heat of vaporization and good thermal conductivity. As the key medium for realizing the functions of the thermal system, the selection and characteristics of the working fluid have an important impact on the performance and efficiency of the system.

[0136] Furthermore, the configuration elements corresponding to the thermal system equipment can be added to the configuration modeling area in the thermal system building module, and the topological connection relationship between the configuration elements can be established based on the actual relationship between the devices, and the upstream and downstream relationships between the devices can be mapped to the import and export connection relationship of the configuration elements. The topological relationship between the configuration elements can be established by connecting the ports of the configuration elements with pipelines, and the pipelines can be in an open state or a closed state. When the pipeline is in an open state, for example, only a certain port of a certain configuration element can be connected. When the pipeline is in a closed state, both ends must be connected to the import and export of the same type of port respectively. For example, when one end of the pipeline is connected to the mass flow inlet of a configuration element, the other end of the pipeline can only be connected to the mass flow outlet of another configuration element.

[0137] Taking a simple steam turbine system as an example, the working fluid flows sequentially through the steam inlet chamber, blade stage group, and exhaust chamber. Therefore, three configuration elements can be added in sequence: the steam inlet chamber, blade stage group, and exhaust chamber. Then, the upstream and downstream relationships of the equipment can be established through pipelines. Specifically, the mass flow outlet of the steam inlet chamber is connected to the mass flow inlet of the blade stage group, which in turn is connected to the mass flow inlet of the exhaust chamber. The mass flow inlet of the steam inlet chamber can be connected to an open pipeline, and the mass flow outlet of the exhaust chamber can also be connected to an open pipeline.

[0138] Users can directly use the configuration components established by the system to model the thermal system. When the existing configuration components cannot meet the user's special needs, the user can establish the configuration components of the equipment model through the collaborative work of the user interaction module and the configuration component establishment module. First, various information is entered through the user interaction module, including the name, graphic style, interface interaction parameters, and logical and port properties. Then, the mechanism equation is entered and the closed form and format of the mechanism equation are checked. The configuration component establishment module can automatically generate the code for the physical equations and partial differential equations of the configuration component and compile it to generate a dynamic link library. As mentioned above, the working fluid set in the system working fluid setting module can also take effect on the configuration components manually added by the user.

[0139] Thermal system information not only includes the topological relationships of thermal equipment but also requires parameter settings to ensure simulation accuracy and reliability. Specifically, in the simulation parameter setting module, the characteristic parameters of the corresponding equipment can be set in the configuration elements, and the boundary conditions of the thermal system for each operating condition can be placed at the ports of the configuration elements. More specifically, the boundary conditions of the thermal system for each operating condition can be first assigned to the pipelines, and then the boundary conditions are assigned to the ports of the configuration elements connected to the pipelines.

[0140] In this embodiment, an independent thermal system can be regarded as a project, and multiple different thermal working conditions can be established simultaneously based on the same project. In different thermal working conditions, the topological relationship of the configuration elements is synchronized, and the characteristic parameters of the configuration elements and the boundary conditions of the thermal system are not synchronized. The same project can contain multiple working fluids. The specific implementation method is: set working fluid 1, add corresponding configuration elements A1, A2...Ai; set working fluid 2, add corresponding configuration elements B1, B2...Bj. At this time, the thermodynamic properties involved in the configuration elements A1, A2...Ai in the project are the thermodynamic properties of working fluid 1, and the thermodynamic properties involved in the configuration elements B1, B2...Bj are the thermodynamic properties of working fluid 2.

[0141] After the topological relationship of the configuration elements, the characteristic parameters of the configuration elements and the boundary conditions of the thermal system are established, the information of a thermal system is complete. The calculation operation can be triggered through the user interaction module. The physical equation solving module will combine the topological relationship of the configuration elements, the characteristic parameters of the configuration elements and the boundary conditions of the thermal system to establish and solve the physical equation group.

[0142] Specifically, for each independent configuration element, the characteristic parameters of the configuration element can be assigned to the physical equations of the configuration element, and the boundary conditions of the thermal system are added as the physical equations of the configuration element, so that the number of equations of the configuration element is equal to the number of variables, so that the equations of the configuration element are closed. For a thermal system composed of multiple configuration elements, the physical equations of all configuration elements in the thermal system can be spliced diagonally into a large sparse physical equation system based on the topological connection relationship of the configuration elements. Since the equations are closed for a single configuration element, the equations of all configuration elements are combined together, and the equations are also closed. A nonlinear equation solver can be used to solve the physical equations to obtain the parameters of each port of all configuration elements.

[0143] After solving all port parameters for all configuration components of the thermal system, the calculation results display module allows users to view and output the calculation results in various modes. For example, the port parameters of the configuration component can be directly displayed. Alternatively, text boxes and formula editors can be added to display the processed calculation parameters, enabling the calculation and analysis of comprehensive thermal parameters. Alternatively, parameter sets can be customized and the calculation results can be output to a file for downstream program integration. The data sources for the text boxes, formula editors, and personalized parameter sets all come from the ports of the configuration components, and the port parameters of the configuration components can be directly selected through the user interaction module.

[0144] The present invention can fully meet the modeling requirements of thermal systems of different complexities by splitting the thermal system into multiple devices and constructing configuration elements corresponding to each device, which is conducive to ensuring the integrity and accuracy of the simulation calculation results. By reasonably selecting a simple mechanism model or a detailed mechanism model, the variable operating performance of the thermal system can be better simulated. By setting different working fluids, it is conducive to the simulation of different types of thermal systems with better adaptability. By setting characteristic parameters and boundary conditions, it can meet the simulation calculation of thermal systems under different operating conditions, with excellent variable operating performance and strong scalability, which is convenient for fully meeting the personalized needs of complex thermal systems. By displaying and analyzing the calculation results of the port parameters, the visualization effect is good, which is convenient for users to use and meets the needs of modern engineering for information display and convenient operation. It is conducive to building a thermal system simulation platform with a friendly interface, excellent variable operating performance and strong scalability.

[0145] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0146] It should be noted that the devices and methods disclosed in the embodiments of this document may also be implemented in other ways. The device embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the devices, methods, and computer program products according to the various embodiments of this document. In this regard, each box in the flowchart or block diagram may represent a module, program, or portion of code, and the module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function. The module, program segment, or portion of code contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes may actually be executed substantially in parallel, or they may sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.

[0147] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0148] Although the present invention has been described in detail through the above preferred embodiments, it should be understood that the above description is not intended to limit the present invention. After reading the above description, various modifications and substitutions of the present invention will become apparent to those skilled in the art. Therefore, the scope of protection of the present invention should be defined by the appended claims.

Claims

1. A thermal system simulation method, characterized in that: include: According to the physical working mechanism, the thermal system is divided into multiple devices, and a corresponding configuration element is constructed for each device. The attributes of the configuration element include name, graphic style, interface interaction parameters and logic, port attributes and mechanism model. According to the simulation accuracy of the device, the mechanism model is divided into simple mechanism model and detailed mechanism model; Setting a working fluid for the thermal system, wherein different working fluids correspond to different thermodynamic physical properties; Establishing a topological connection relationship between the configuration elements according to the actual relationship between the devices; Setting characteristic parameters of the device in the configuration element, and setting boundary conditions of the thermal system at ports of the configuration element; Combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct a set of physical equations for the thermal system, and solving the set of physical equations for the thermal system using a nonlinear equation solver to obtain port parameters of the configuration element; The calculation results of the port parameters are displayed, analyzed and sent.

2. The thermal system simulation method according to claim 1, characterized in that: The simple mechanism model is a one-dimensional computational simulation model, which is used to obtain the port physical information of the device; the detailed mechanism model is a two-dimensional computational simulation model established based on the two-dimensional physical structure of the configuration element, which is used to obtain the port physical information of the device and the detailed physical information inside the device.

3. The thermal system simulation method according to claim 2, characterized in that: When the configuration element adopts the simple mechanism model, the characteristic parameter is either from the input interface of the configuration element, or from the characteristic curve of the configuration element, or is empty; When the configuration element adopts the detailed mechanism model, the characteristic parameters come from the calculation results of the detailed mechanism model.

4. The thermal system simulation method according to claim 1, characterized in that: The port attributes include the following three dimensions: mass flow ports and non-mass flow ports, inlets and outlets, ports that must be connected and ports that do not have to be connected. Each port of the configuration element has only one attribute in each dimension.

5. The thermal system simulation method according to claim 1, characterized in that: Combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct the physical equations of the thermal system includes: The mechanism model of the configuration element includes a mass conservation equation, an energy conservation equation, a physical mechanism equation, and a boundary condition equation. For each independent configuration element, the characteristic parameters are assigned to the physical mechanism equation, and the boundary conditions are assigned to the boundary condition equation to complete the equation closure of the configuration element. For the thermodynamic system composed of multiple configuration elements, according to the topological connection relationship of the configuration elements, the physical equation groups of all the configuration elements are spliced diagonally into the physical equation group of the thermodynamic system to complete the equation closure of the thermodynamic system.

6. The thermal system simulation method according to claim 5, characterized in that: Establishing the topological relationship between the configuration elements by connecting the ports of the configuration elements with pipelines; The pipeline is in an open state or a closed state, wherein when the pipeline is in a closed state, both ends are respectively connected to an inlet and an outlet of the same type of port.

7. The thermal system simulation method according to claim 6, characterized in that: The boundary conditions of the thermal system are assigned to the pipeline, and then the boundary conditions are assigned to the ports of the configuration components connected to the pipeline through the pipeline.

8. The thermal system simulation method according to claim 1, characterized in that: The same thermal system is used to establish multiple thermal working conditions and construct different thermal equations of the thermal system; For different thermal working conditions, the topological relationships of the configuration elements are synchronized, but the characteristic parameters of the configuration elements and the boundary conditions of the thermal system are not synchronized.

9. A thermal system simulation system, characterized in that: include: The configuration element establishment module is used to split the thermal system into multiple devices and build a corresponding configuration element for each device. The attributes of the configuration element include name, graphic style, interface interaction parameters and logic, port attributes and mechanism model. According to the simulation accuracy of the device, the mechanism model is divided into simple mechanism model and detailed mechanism model. A system working fluid setting module, connected to the configuration element establishment module, for setting the working fluid of the thermal system, wherein different working fluids correspond to different thermodynamic physical properties; A thermal system construction module, connected to the system working medium setting module, for establishing a topological connection relationship between the configuration elements according to the actual relationship between the devices; a simulation parameter setting module, connected to the thermal system construction module, for setting characteristic parameters of the device in the configuration element and setting boundary conditions of the thermal system at ports of the configuration element; a physical equation solving module, connected to the simulation parameter setting module, for combining the topological connection relationship, the characteristic parameters, and the boundary conditions to construct a set of physical equations for the thermal system, and solving the set of physical equations for the thermal system using a nonlinear equation solver to obtain port parameters of the configuration element; and The calculation result display module is connected to the physical equation solving module and is used to display, analyze and send the calculation results of the port parameters.

10. The thermal system simulation system according to claim 9, characterized in that: Also includes a user interaction module, the user interaction module is used to achieve human-computer interaction; The user interaction module is connected to the configuration element establishment module, providing an entry for defining the configuration element, and is used to input the name, graphic style, editing authority, port attributes and mechanism model of the configuration element, so as to complete the construction and packaging of the new configuration element through the configuration element establishment module.

Citation Information

Patent Citations

  • Multi-dimensional coupling simulation method for long-blade blast in low-pressure through-flow area of steam turbine

    CN113609619A

  • Ship nuclear power plant thermodynamic system pipe network simulation method

    CN115079592A

  • Steam turbine set performance monitoring system, method and terminal based on thermodynamic system simulation

    CN117216923A

  • Dynamic simulation method and device for compressed air energy storage system

    CN117252046A

  • Simulation method and system for machine-electricity-heat-flow multi-field coupling model of hydrogen fuel cell

    CN118917081A