Thermal system simulation calculation method, device, electronic equipment and storage medium

By using the Taylor expansion method in the thermal system simulation calculation, the Taylor expansion coefficient is extracted and the difference is calculated as the result of the constitutive equation, the problem of slow calculation speed of the thermal system simulation is solved, and faster calculation speed and higher simulation efficiency are achieved .

CN114036713BActive Publication Date: 2024-12-03NO 719 RES INST CHINA SHIPBUILDING IND
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202111132179.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-26
Publication Date
2024-12-03
Estimated Expiration
2041-09-26

AI Technical Summary

Technical Problem

In thermal system simulation calculation, the solution time of constitutive equations is long, resulting in slow calculation speed and difficult to meet the real-time simulation calculation requirements.

Method used

The Taylor expansion method is used to extract the Taylor expansion coefficient in memory and calculate the difference between the basic physical quantity and the coefficient as the calculation result of the constitutive equation, reducing the calculation steps and improving the calculation speed.

Benefits of technology

The calculation process of thermal system simulation calculation is greatly reduced, the calculation speed is improved, and the real-time simulation calculation needs are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114036713B_ABST
    Figure CN114036713B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, electronic device and storage medium for simulation calculation of a thermal system, the method comprising: collecting the basic physical quantity of the thermal system in the first calculation time step; extracting Taylor expansion coefficients from a memory when the distance between the first calculation time step and the zeroth calculation time step does not reach the target number of calculation time steps, the Taylor expansion coefficients are the calculation results obtained by calculating the constitutive equation of the thermal system in the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation; calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficients, and using the difference as the calculation result of the constitutive equation in the first calculation time step; and sending control instructions to the thermal system using the calculation result of the constitutive equation in the first calculation time step. The present invention can improve the simulation calculation speed of the thermal system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In current thermal system simulation calculations, the constitutive equations are solved one by one at each calculation time step. Most of these equations have nonlinear expressions, and the constitutive equations are time-consuming to solve. When there are many calculation nodes, the overall calculation time of the thermal system simulation program will increase significantly, reducing the solution efficiency and making it difficult to meet the real-time simulation calculation requirements in certain scenarios.

[0003] Therefore, the technical problem to be solved by the present invention is: how to speed up the calculation speed of thermal system simulation. Summary of the invention

[0004] The present invention provides a thermal system simulation calculation method, which is used to solve the defects of the thermal system simulation program in the prior art, such as long overall calculation time and low solution efficiency, and realize accelerated calculation of thermal system simulation.

[0005] The present invention provides a thermal system simulation calculation method, comprising:

[0006] Collecting basic physical quantities of the thermal system in the first calculation time step;

[0007] When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0008] Calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and using the difference as the constitutive equation calculation result of the first calculation time step;

[0009] A control instruction is sent to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0010] A thermal system simulation calculation method provided by the present invention also includes:

[0011] According to the calculation results of the constitutive equation, the calculation results of the field equation of the thermal system are obtained.

[0012] According to a thermal system simulation calculation method provided by the present invention, before sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step, the method further includes:

[0013] Determining whether the constitutive equation calculation result of the first calculation time step is greater than a target value;

[0014] If yes, then the constitutive equation of the thermodynamic system is calculated using the basic physical quantities of the first calculation time step to obtain the calculation result of the constitutive equation of the first calculation time step again;

[0015] Sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step includes:

[0016] A control instruction is sent to the thermal system using the re-obtained constitutive equation calculation result of the first calculation time step.

[0017] According to a heat system simulation calculation method provided by the present invention, when the first calculation time step does not reach a target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory includes:

[0018] Querying the update mark of the Taylor expansion coefficient corresponding to the zeroth calculation time step from the memory;

[0019] If the update mark is found, the Taylor expansion coefficient corresponding to the update mark is extracted.

[0020] The present invention provides a thermal system simulation calculation method, comprising:

[0021] Collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0022] When the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result;

[0023] Starting calculation from the zeroth calculation time step;

[0024] When the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0025] The calculation result of the second constitutive equation is used to send a control instruction to the thermal system.

[0026] The present invention also provides a thermal system simulation calculation device, comprising:

[0027] A collection module, used for collecting basic physical quantities of the thermal system at a first calculation time step;

[0028] A Taylor expansion coefficient acquisition module is used to extract Taylor expansion coefficients from a memory when the first calculation time step does not reach a target number of calculation time steps from the zeroth calculation time step, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0029] A calculation module, used for calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and taking the difference as the constitutive equation calculation result of the first calculation time step;

[0030] An instruction sending module is used to send a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0031] The present invention also provides a thermal system simulation calculation device, comprising:

[0032] A collection module, used for collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0033] A Taylor expansion coefficient acquisition module is used to calculate the constitutive equation of the thermodynamic system using the basic physical quantity when the distance between the zeroth calculation time step and the second calculation time step reaches a target number of calculation time steps, obtain a first constitutive equation calculation result, and obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation according to the constitutive equation calculation result, and send a control instruction to the thermodynamic system according to the first constitutive equation calculation result;

[0034] Starting calculation from the zeroth calculation time step;

[0035] A calculation module, configured to calculate the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient when the distance from the first calculation time step to the zeroth calculation time step does not reach the target number of calculation time steps, and use the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0036] An instruction sending module is used to send a control instruction to the thermal system using the calculation result of the second constitutive equation.

[0037] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned thermal system simulation calculation methods are implemented.

[0038] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned thermal system simulation calculation methods are implemented.

[0039] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any one of the above-mentioned thermal system simulation calculation methods are implemented.

[0040] The thermal system simulation calculation method, device, electronic device and storage medium provided by the present invention set the maximum indirect calculation time step for the target number of calculation time steps, without the need to gradually solve the nonlinear constitutive equation for each calculation time step. By Taylor expansion of the constitutive equation, the difference of the basic physical quantity is calculated according to the Taylor expansion coefficient, and the calculation result of the constitutive equation is obtained more quickly. Thereby, the calculation process of the entire thermal system calculation process is greatly reduced, and the simulation calculation speed of the thermal system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 It is one of the flow charts of the thermal system simulation calculation method provided by the present invention;

[0043] Figure 2 This is the second flow chart of the thermal system simulation calculation method provided by the present invention;

[0044] Figure 3 This is the third flow chart of the thermal system simulation calculation method provided by the present invention;

[0045] Figure 4 It is one of the structural schematic diagrams of the thermal system simulation calculation device provided by the present invention;

[0046] Figure 5 This is the second structural schematic diagram of the thermal system simulation calculation device provided by the present invention;

[0047] Figure 6 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] Combine the following Figure 1-Figure 2 The thermal system simulation calculation method provided by the present invention is described.

[0050] like Figure 1 As shown, this embodiment provides a thermal system simulation calculation method, comprising the following steps:

[0051] Step 110: collecting basic physical quantities of the thermal system at the first calculation time step;

[0052] Step 120: when the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0053] Step 130: Calculate the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and use the difference as the constitutive equation calculation result of the first calculation time step;

[0054] Step 140: Sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0055] The following is a detailed introduction to this embodiment:

[0056] Thermodynamic system refers to a finite material system that is artificially separated as the object of thermodynamic analysis. Thermodynamic system calculation program uses one-dimensional nodes in space, and needs to compress three-dimensional physical properties such as viscosity, flow loss, convective heat transfer, etc. into one dimension using empirical relationships, and transform them into calculations of flow resistance coefficient and heat transfer coefficient. The constitutive equations corresponding to the basic physical quantities in the thermodynamic system are all nonlinear.

[0057] The basic physical quantities in this embodiment include, but are not limited to, parameters such as temperature, pressure, flow rate, thermal conductivity, and dynamic viscosity.

[0058] In this embodiment, the Taylor expansion coefficient is obtained by expanding the nonlinear constitutive equation corresponding to each basic physical quantity according to the Taylor expansion principle. After expansion, the Taylor expansion coefficient of each basic physical quantity is obtained and stored in the memory in the expansion order.

[0059] Among them, the constitutive equation of each basic physical quantity can be divided into multiple calculation time steps at fixed time intervals. The time point before the calculation starts is recorded as the zeroth calculation time step, and a calculation time step is added at every fixed time interval. The time interval is selected as 0.5s or 1s according to the actual situation, and is not specifically limited here.

[0060] In this embodiment, the target number of calculation time steps can be set to 20. That is, the first calculation time step is 19 calculation time steps away from the zeroth calculation time step, and every 20 calculation time steps are recorded as reaching the target number of calculation time steps. If the target number of calculation time steps is not reached, the calculation result of the first calculation time step is obtained according to the Taylor expansion coefficient in the memory and the value of the basic physical quantity of the first calculation time step.

[0061] The thermal system simulation calculation method, device, electronic device and storage medium provided by the present invention set the maximum indirect calculation time step for the target number of calculation time steps, without the need to gradually solve the nonlinear constitutive equation for each calculation time step. By Taylor expansion of the constitutive equation, the difference of the basic physical quantity is calculated according to the Taylor expansion coefficient, and the calculation result of the constitutive equation is obtained more quickly. Thereby, the calculation process of the entire thermal system calculation process is greatly reduced, and the simulation calculation speed of the thermal system is improved.

[0062] The thermal system simulation calculation method provided by the present invention also includes:

[0063] According to the calculation results of the constitutive equation, the calculation results of the field equation of the thermal system are obtained.

[0064] Specifically, in the simulation calculation program of the thermal system, the constitutive equation and field equation of the thermal system need to be solved together. The specific method is to obtain the calculation results of the constitutive equation of the thermal system by using the Taylor expansion coefficient and the calculation method of the basic physical quantity, and then solve the field equation according to the calculation results of the constitutive equation.

[0065] Optionally, before sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step, the method further includes:

[0066] Determining whether the constitutive equation calculation result of the first calculation time step is greater than a target value;

[0067] If so, the constitutive equation of the thermodynamic system is calculated using the basic physical quantities of the first calculation time step to obtain the calculation result of the constitutive equation of the first calculation time step again.

[0068] Sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step includes:

[0069] A control instruction is sent to the thermal system using the re-obtained constitutive equation calculation result of the first calculation time step.

[0070] In this embodiment, it is determined whether the calculation result of the first calculation time step meets the energy conservation law. By setting the error between the calculation result and the target value, if the error is not within an acceptable range, the first calculation time step is recalculated using the basic physical quantity of the first calculation time step.

[0071] Optionally, querying the update mark of the Taylor expansion coefficient corresponding to the zeroth calculation time step from the memory;

[0072] If the update mark is found, the Taylor expansion coefficient corresponding to the update mark is extracted.

[0073] In this embodiment, if the update mark stored in the Taylor expansion coefficient is queried, it means that the new Taylor expansion coefficient needs to be used to calculate the first calculation time step, thereby improving the calculation accuracy of the first calculation time step. If the update mark is not queried, it means that the Taylor expansion coefficient does not need to be recalculated, and the Taylor expansion coefficient can be used to continue the calculation of the next time step, thereby saving calculation time.

[0074] like Figure 2 As shown, this embodiment also provides a thermal system simulation calculation method, comprising the following steps:

[0075] Step 210: collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0076] Step 220: when the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result;

[0077] Starting calculation from the zeroth calculation time step;

[0078] Step 230: when the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0079] Step 240: Send a control instruction to the thermal system using the calculation result of the second constitutive equation.

[0080] In this embodiment, the second calculation time step reaches the target number of calculation time steps, that is, the second calculation time step is the 20th calculation time step, or the second calculation time step is a calculation time step that is an integer multiple of 20. From never reaching the target calculation time step to reaching the target calculation time step of 20 calculation time steps, the calculation results of the second calculation time step are used to replace the calculation results of these 20 calculation time steps. For the calculation of the second calculation time step, a linear calculation is performed based on the constitutive equation of the basic physical quantity. The calculation result of the second calculation time step is Taylor expanded, and its Taylor expansion coefficient is stored in the memory for the convenience of the next first calculation time to be calculated.

[0081] The thermal system simulation calculation method provided in this embodiment directly calculates the constitutive equation by using the collected basic physical quantities at the second calculation time step that reaches the target number of calculation time steps, and uses the calculation result of the second calculation time step to replace the calculation results of multiple calculation time steps that do not reach the target number; when the first calculation time step and the zeroth calculation time step do not reach the target number of calculation time steps, the constitutive equation of the zeroth calculation time step is Taylor expanded, and the constitutive equation is solved by using the Taylor expansion coefficient and the basic physical quantities. Through the two calculation methods of the first calculation time step and the second calculation time step, there is no need to directly calculate each calculation time step, thereby reducing the calculation process of the calculation time step, thereby improving the acceleration of the thermal system simulation calculation.

[0082] Reference Figure 3 The specific steps of the thermal system simulation calculation method provided by the present invention include:

[0083] Step 1: Carry out Taylor expansion of the constitutive equation to be calculated according to basic physical quantities;

[0084] Step 2: Determine whether the constitutive equation needs to be calculated directly;

[0085] Among them, the judgment criteria are mainly carried out by presetting the time step, and the conservation of energy and momentum is used as the basis for judgment;

[0086] Step 3: According to the judgment result of step 2, when it is necessary to directly calculate the constitutive equation, calculate the constitutive equation of each node one by one;

[0087] Step 4: Calculate the Taylor expansion coefficient and use it as the basis for Taylor expansion to solve the constitutive equation in the next time step;

[0088] Step 5: According to the obtained Taylor expansion coefficients, store these coefficients in order, and set the Taylor expansion coefficient update flag as a basis for subsequent judgment on whether it is necessary to directly calculate the node constitutive equation;

[0089] Step 6: According to the result of step 2, if there is no need to directly calculate the node constitutive equation, it is necessary to calculate the difference of basic physical quantities, which generally include temperature, pressure, flow rate, thermal conductivity, dynamic viscosity and other parameters;

[0090] Step 7: Combine steps 4 and 6 to calculate the difference of the constitutive equation according to Taylor expansion;

[0091] Step 8: Based on the results of step 7, calculate the constitutive equation of each node in turn;

[0092] Step 9: Obtain the calculation results of the constitutive equation by two different methods, solve the field equation, and obtain the calculation results of the next time step of the thermal system;

[0093] Step 10: Calculate the mass and energy conservation of the thermal system to determine whether the conservation in the calculation process meets the requirements. If not, directly solve the constitutive equation through step 3;

[0094] Step 11: If the energy conservation in step 10 can meet the requirements, go back to step 2 to continue the calculation of the next time step.

[0095] The thermal system simulation calculation device provided by the present invention is described below. The thermal system simulation calculation device described below and the thermal system simulation calculation method described above can be referenced to each other.

[0096] Reference Figure 4 This embodiment provides a thermal system simulation computing device, including the following modules:

[0097] An acquisition module 410 is used to acquire basic physical quantities of the thermal system at a first calculation time step;

[0098] A Taylor expansion coefficient acquisition module 420 is used to extract Taylor expansion coefficients from a memory when the first calculation time step does not reach a target number of calculation time steps from the zeroth calculation time step, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0099] A calculation module 430 is used to calculate the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and use the difference as the constitutive equation calculation result of the first calculation time step;

[0100] The instruction sending module 440 is used to send a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0101] Optionally, the thermal system simulation computing device further includes:

[0102] The field equation calculation module is used to obtain the field equation calculation results of the thermal system according to the constitutive equation calculation results.

[0103] A judgment module, used to judge whether the calculation result of the constitutive equation in the first calculation time step is greater than a target value;

[0104] If yes, then the constitutive equation of the thermodynamic system is calculated using the basic physical quantities of the first calculation time step to obtain the calculation result of the constitutive equation of the first calculation time step again;

[0105] An update mark module, used for querying the update mark of the Taylor expansion coefficient corresponding to the zeroth calculation time step from the memory;

[0106] If the update mark is found, the Taylor expansion coefficient corresponding to the update mark is extracted.

[0107] Reference Figure 5 This embodiment provides a thermal system simulation computing device, including the following modules:

[0108] A collection module 510, used for collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0109] A Taylor expansion coefficient acquisition module 520 is used to calculate the constitutive equation of the thermodynamic system using the basic physical quantity when the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, obtain a first constitutive equation calculation result, and obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation according to the constitutive equation calculation result, and send a control instruction to the thermodynamic system according to the first constitutive equation calculation result;

[0110] Starting calculation from the zeroth calculation time step;

[0111] A calculation module 530 is used to calculate the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient when the distance from the first calculation time step to the zeroth calculation time step does not reach the target number of calculation time steps, and use the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0112] The instruction sending module 540 is used to send a control instruction to the thermal system using the calculation result of the second constitutive equation.

[0113] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6 As shown, the electronic device may include: a processor 610, a communications interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communications interface 620 and the memory 630 communicate with each other via the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the thermal system simulation calculation method, which includes:

[0114] Collecting basic physical quantities of the thermal system in the first calculation time step;

[0115] When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0116] Calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and using the difference as the constitutive equation calculation result of the first calculation time step;

[0117] A control instruction is sent to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0118] Or follow these steps:

[0119] Collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0120] When the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result;

[0121] Starting calculation from the zeroth calculation time step;

[0122] When the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0123] The calculation result of the second constitutive equation is used to send a control instruction to the thermal system.

[0124] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0125] On the other hand, the present invention further provides a computer program product, the computer program product comprising a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the thermal system simulation calculation method provided by the above methods, the method comprising:

[0126] Collecting basic physical quantities of the thermal system in the first calculation time step;

[0127] When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0128] Calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and using the difference as the constitutive equation calculation result of the first calculation time step;

[0129] A control instruction is sent to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0130] Or follow these steps:

[0131] Collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0132] When the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result;

[0133] Starting calculation from the zeroth calculation time step;

[0134] When the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0135] The calculation result of the second constitutive equation is used to send a control instruction to the thermal system.

[0136] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the thermal system simulation calculation method provided by the above methods, the method comprising:

[0137] Collecting basic physical quantities of the thermal system in the first calculation time step;

[0138] When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation;

[0139] Calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and using the difference as the constitutive equation calculation result of the first calculation time step;

[0140] A control instruction is sent to the thermal system using the constitutive equation calculation result of the first calculation time step.

[0141] Or follow these steps:

[0142] Collecting basic physical quantities of the thermal system at the zeroth calculation time step;

[0143] When the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result;

[0144] Starting calculation from the zeroth calculation time step;

[0145] When the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step;

[0146] The calculation result of the second constitutive equation is used to send a control instruction to the thermal system.

[0147] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0148] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0149] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A thermal system simulation calculation method, characterized in that: include: Collecting basic physical quantities of the thermal system in the first calculation time step; When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from a memory, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation; Calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and using the difference as the constitutive equation calculation result of the first calculation time step; A control instruction is sent to the thermal system using the constitutive equation calculation result of the first calculation time step.

2. The thermal system simulation calculation method according to claim 1, characterized in that: Also includes: According to the calculation results of the constitutive equation, the calculation results of the field equation of the thermal system are obtained.

3. The thermal system simulation calculation method according to claim 1, characterized in that: Before sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step, the method further includes: Determining whether the constitutive equation calculation result of the first calculation time step is greater than a target value; If yes, then the constitutive equation of the thermodynamic system is calculated using the basic physical quantities of the first calculation time step to obtain the calculation result of the constitutive equation of the first calculation time step again; Sending a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step includes: A control instruction is sent to the thermal system using the re-obtained constitutive equation calculation result of the first calculation time step.

4. The thermal system simulation calculation method according to claim 1, characterized in that: When the first calculation time step does not reach the target number of calculation time steps from the zeroth calculation time step, extracting Taylor expansion coefficients from the memory includes: Querying the update mark of the Taylor expansion coefficient corresponding to the zeroth calculation time step from the memory; If the update mark is found, the Taylor expansion coefficient corresponding to the update mark is extracted.

5. A thermal system simulation calculation method, characterized in that: include: Collecting basic physical quantities of the thermal system at the zeroth calculation time step; When the distance between the zeroth calculation time step and the second calculation time step reaches the target number of calculation time steps, the constitutive equation of the thermodynamic system is calculated using the basic physical quantity to obtain a first constitutive equation calculation result, and Taylor expansion coefficients for Taylor expansion of the constitutive equation are obtained according to the constitutive equation calculation result, and a control instruction is sent to the thermodynamic system according to the first constitutive equation calculation result; Starting calculation from the zeroth calculation time step; When the calculated first calculation time step is less than the target number of calculation time steps from the zeroth calculation time step, calculating the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient, and using the difference as the calculation result of the second constitutive equation at the first calculation time step; The calculation result of the second constitutive equation is used to send a control instruction to the thermal system.

6. A thermal system simulation computing device, characterized in that: include: A collection module, used for collecting basic physical quantities of the thermal system at a first calculation time step; A Taylor expansion coefficient acquisition module is used to extract Taylor expansion coefficients from a memory when the first calculation time step does not reach a target number of calculation time steps from the zeroth calculation time step, the Taylor expansion coefficients being calculation results obtained by calculating the constitutive equation of the thermodynamic system at the zeroth calculation time step, and using the calculation results to obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation; A calculation module, used for calculating the difference between the basic physical quantity of the thermal system and the corresponding extracted Taylor expansion coefficient, and taking the difference as the constitutive equation calculation result of the first calculation time step; An instruction sending module is used to send a control instruction to the thermal system using the constitutive equation calculation result of the first calculation time step.

7. A thermal system simulation calculation device, characterized in that: include: A collection module, used for collecting basic physical quantities of the thermal system at the zeroth calculation time step; A Taylor expansion coefficient acquisition module is used to calculate the constitutive equation of the thermodynamic system using the basic physical quantity when the distance between the zeroth calculation time step and the second calculation time step reaches a target number of calculation time steps, obtain a first constitutive equation calculation result, and obtain Taylor expansion coefficients for Taylor expansion of the constitutive equation according to the constitutive equation calculation result, and send a control instruction to the thermodynamic system according to the first constitutive equation calculation result; Starting calculation from the zeroth calculation time step; A calculation module, configured to calculate the difference between the basic physical quantity of the thermodynamic system collected at the first calculation time step and the Taylor expansion coefficient when the distance from the first calculation time step to the zeroth calculation time step does not reach the target number of calculation time steps, and use the difference as the calculation result of the second constitutive equation at the first calculation time step; An instruction sending module is used to send a control instruction to the thermal system using the calculation result of the second constitutive equation.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the thermal system simulation calculation method according to any one of claims 1 to 5 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the thermal system simulation calculation method according to any one of claims 1 to 5 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the thermal system simulation calculation method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Implementation method of dynamic simulation process of natural gas pipeline network conveying system

    CN102779199A

  • External auxiliary heating device for measuring material high-temperature compression performance and testing device for measuring material high-temperature compression performance

    CN107014699A

  • Electromagnetic transient numerical computation method based on 3-step 4-order implicit Taylor series method

    CN107679287A

  • Simulation method for a combustion engine

    EP1667043A1