Engine interference factor analysis method and device based on parallel computing
By adopting parallel calculation methods in the analysis of engine interference factors, using the Modelica model to build and compile static simulation models, generate parameter change matrix and perform parallel calculations, the problems of large amount of calculation and unintuitive analysis results in the existing technology are solved, and efficient and intuitive presentation of analysis results is achieved.
Patent Information
- Application Number
- CN202111446854.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2041-11-30
AI Technical Summary
The existing engine interference factor analysis methods are computationally large, the analysis results are not intuitive, and there is a lack of effective solutions.
Using a method based on parallel computing, the engine static simulation model is constructed through the Modelica model and compiled into a computing program. Generate a parameter change matrix based on the change range of the preset input parameters, start multiple calculation programs for parallel calculations, and finally perform visual results analysis.
The calculation amount is significantly reduced through parallel calculations, improved analysis efficiency, and made the analysis results more intuitive and easy to understand, solving the problems of large amount of calculations and unintuitive results in traditional methods.
Smart Images

Figure CN114117640B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of engine internal and external interference factor analysis, and specifically, to an engine interference factor analysis method and device based on parallel computing. Background Art
[0002] For engines, such as rocket engines, it is necessary to effectively analyze the interference factors within them.
[0003] Some methods for analyzing internal and external interference factors of the engine have certain deviations in the analysis results. Although other methods have high accuracy, they require multiple calls to static calculations, resulting in large amounts of calculations and non-intuitive analysis results.
[0004] Currently, no effective solution has been proposed to solve the problems of large amount of calculation and non-intuitive analysis results in the engine interference factor analysis method in related technologies. Summary of the invention
[0005] The main purpose of the present application is to provide an engine interference factor analysis method and device based on parallel computing, so as to solve the problems of large amount of calculation and non-intuitive analysis results in the engine interference factor analysis method.
[0006] In order to achieve the above objective, according to one aspect of the present application, a method for analyzing engine interference factors based on parallel computing is provided.
[0007] The engine interference factor analysis method based on parallel computing according to the present application includes: constructing an engine static simulation model through a Modelica model, and compiling the engine static simulation model into a calculation program in a Modelica modeling environment; setting the variation range of the preset input parameters according to the preset interference factor analysis tool, and obtaining a parameter variation matrix of the preset input parameters; starting multiple calculation programs according to the parameter variation matrix of the preset input parameters to perform parallel calculations; and performing visual result analysis after completing the parallel calculations.
[0008] Furthermore, constructing the static simulation model of the engine by using the Modelica model includes: constructing the static simulation model of the engine by means of graphical modeling and text modeling.
[0009] Furthermore, the engine static simulation model is constructed by using the Modelica model, and the engine static simulation model is compiled into a computing program in the Modelica modeling environment, including: using the model constructed by the Modelica language in the Modelica modeling environment to solve the static characteristics of the engine, wherein the engine static simulation model is obtained by connecting component models in a liquid rocket engine static characteristic model library using a preset flow balance, a preset power balance, and a preset pressure balance relationship; the liquid rocket engine static characteristic model library consists of static characteristic models of pumps, turbines, regulators, pipelines, etc., and thermal models of thrust chambers and generators.
[0010] Furthermore, the engine static simulation model is constructed through the Modelica model, and the engine static simulation model is compiled into a calculation program in the Modelica modeling environment, including: in the Modelica modeling environment, the rocket engine static simulation model is compiled to generate an executable calculation program, based on the independent operation of the program, to obtain and set all the configurable parameters of the model, and the calculation results after the model is run can be obtained.
[0011] Further, the setting of the variation range of the preset input parameters includes: setting the variation range of the input parameters, and after completing the input parameter selection, setting the variation range of the input parameters, wherein the setting content includes at least one of the following: the minimum value of the variation, the maximum value of the variation, the variation step size, and the percentage of variation of the input parameters.
[0012] Furthermore, the method of starting multiple calculation programs according to the parameter change matrix of the preset input parameters and performing parallel calculations includes: starting a corresponding number of calculation programs according to the number of variables in the change matrix of the input parameters and setting the values in the change matrix to the calculation programs; batch calling the calculation programs to perform calculations according to the set parameter change range and performing batch simulations.
[0013] Furthermore, the preset input parameters in the preset interference factor analysis tool include: loading the calculation program through the preset interference factor analysis tool based on the generation result of the calculation program; obtaining all the parameters that can be set in the static simulation model of the rocket engine to obtain the input parameters and output parameters to be analyzed, and setting the input parameter variation range.
[0014] In order to achieve the above objective, according to another aspect of the present application, an engine interference factor analysis device based on parallel computing is provided.
[0015] The engine interference factor analysis device based on parallel computing according to the present application includes: a simulation module, which is used to construct an engine static simulation model through a Modelica model, and compile the engine static simulation model into a calculation program in a Modelica modeling environment; a compilation module, which is used to preset input parameters in a preset interference factor analysis tool and set the variation range of the preset input parameters at the same time to obtain a parameter variation matrix of the preset input parameters; a parallel computing module, which is used to start multiple calculation programs according to the parameter variation matrix of the preset input parameters to perform parallel computing; and a visualization module, which is used to perform visualization result analysis after completing the parallel computing.
[0016] In the embodiment of the present application, the engine interference factor analysis method and device based on parallel computing adopts a method of constructing an engine static simulation model through a Modelica model, and compiling the engine static simulation model into a calculation program in a Modelica modeling environment. By presetting input parameters in a preset interference factor analysis tool and setting the variation range of the preset input parameters, a parameter variation matrix of the preset input parameters is obtained, and multiple calculation programs are started according to the parameter variation matrix of the preset input parameters to perform parallel calculations, thereby achieving the purpose of performing visual result analysis after completing the parallel calculations, thereby realizing the use of parallel computing to solve the problem of large amount of calculation of nonlinear analysis methods, and also providing a technical effect of computer graphics to make the visualization of analysis results more intuitive, thereby solving the technical problems of large amount of calculation and non-intuitive analysis results of the engine interference factor analysis method. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0018] Figure 1 is a schematic diagram of the hardware structure of an engine interference factor analysis method based on parallel computing according to an embodiment of the present application;
[0019] Figure 2 is a flow chart of an engine interference factor analysis method based on parallel computing according to an embodiment of the present application;
[0020] Figure 3 is a schematic structural diagram of an engine interference factor analysis device based on parallel computing according to an embodiment of the present application;
[0021] Figure 4 It is a flow chart of an engine interference factor analysis method based on parallel computing according to a preferred embodiment of the present application. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] In the present application, the terms "upper", "lower", "left", "right", "front", "back", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings. These terms are mainly used to better describe the present application and its embodiments, and are not used to limit the indicated devices, elements or components to have a specific orientation, or to be constructed and operated in a specific orientation.
[0025] In addition, some of the above terms may be used to express other meanings in addition to indicating orientation or positional relationship. For example, the term "on" may also be used to express a certain dependency or connection relationship in some cases. For those of ordinary skill in the art, the specific meanings of these terms in this application can be understood according to specific circumstances.
[0026] In addition, the terms "installed", "set", "provided with", "connected", "connected", and "socketed" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral structure; it can be a mechanical connection, or an electrical connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be an internal connection between two devices, elements, or components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0027] In the embodiment of the present application, a method for analyzing engine interference factors based on parallel computing is provided, wherein the method performs rocket engine interference factor analysis by a parallel computing method, uses the Modelica language to build a rocket engine static simulation model in a Modelica modeling environment, and compiles the static simulation model to generate an executable calculation program; in the interference factor analysis tool, select the parameters to be set, set their variation range, form a parameter variation matrix, and then use the parameters in the parameter variation matrix to start multiple calculation programs, and the calculation programs perform parallel calculations; finally, the parallel calculation results are visualized in the form of curve charts, bar charts, etc. This solves the problem of slow calculation and unintuitive analysis results caused by the large amount of calculation in interference factor analysis.
[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0029] like Figure 1 As shown, the hardware system structure in the embodiment of the present application includes: Modelica modeling environment and interference factor analysis tool. Among them, the Modelica modeling environment includes: visual modeling module, engine static simulation module, and compilation and solution module. The association between the Modelica modeling environment and the interference factor analysis tool is established through the computer program. The interference factor analysis tool includes: parameter selection module, input parameter variation range setting module, parallel calculation module, and calculation result visualization analysis module.
[0030] Specifically, the Modelica modeling environment is used to construct a static simulation model of a rocket engine. Users can construct the static simulation model of a rocket engine through graphical modeling and text modeling.
[0031] The rocket engine static simulation model is a model constructed using the Modelica language in the Modelica modeling environment, and can solve the static characteristics of the rocket engine. The liquid rocket engine static characteristic model library is composed of static characteristic models of pumps, turbines, regulators, and pipelines and thermal models of thrust chambers and generators. The component models in the liquid rocket engine static characteristic model library are connected using preset flow balance, preset power balance, and preset pressure balance relationships to obtain the engine static simulation model.
[0032] The calculation program is an executable calculation program generated by compiling the rocket engine static simulation model in the Modelica modeling environment. This program can be run independently, can obtain and set all the configurable parameters of the model, and can obtain the calculation results after the model is run.
[0033] The interference factor analysis tool includes a parameter selection module, an input parameter variation range setting module, a parallel calculation module, and a result visualization analysis module. This tool can be used to analyze the interference factors of rocket engines.
[0034] After the parameter selection module completes the generation of the calculation program, the interference factor analysis tool can load the calculation program, obtain all the parameters that can be set in the rocket engine static simulation model through the parameter selection module, and the user selects the input and output parameters that need to be analyzed from all the parameters to set the input parameter variation range.
[0035] The parameter variation range setting module is used to set the input parameter variation range. After completing the input parameter selection, the input parameter variation range needs to be set. The setting content includes the minimum value of the change, the maximum value of the change, and the change step. The change percentage of the input parameter can also be directly set. In this way, the interference factor analysis tool obtains the input parameter variation matrix according to the setting content.
[0036] The parallel computing module is used to batch call the computing program to perform calculations and batch simulations according to the set parameter variation range. After obtaining the variation matrix of the input parameters, the parallel computing module needs to start the corresponding number of computing programs according to the number of variables in the variation matrix, and set the values in the variation matrix into the computing program for simulation and solution.
[0037] The result visualization analysis module provides visualization analysis for the output parameters, including curve graph and bar chart analysis tools. After completing the parallel calculation, the result visualization module obtains the output parameter calculation results by reading the output results in the calculation program, and visualizes the output parameter calculation results through curve graphs and bar charts.
[0038] like Figure 2 As shown, the method includes the following steps S201 to S204:
[0039] Step S201, constructing an engine static simulation model through a Modelica model, and compiling the engine static simulation model into a calculation program in a Modelica modeling environment;
[0040] Step S202, according to the preset input parameters in the preset interference factor analysis tool, the variation range of the preset input parameters is set to obtain a parameter variation matrix of the preset input parameters;
[0041] Step S203, starting multiple calculation programs according to the parameter change matrix of the preset input parameters to perform parallel calculations;
[0042] Step S204: After completing the parallel computing, perform visual result analysis.
[0043] From the above description, it can be seen that the present application achieves the following technical effects:
[0044] The invention adopts a method of constructing an engine static simulation model through a Modelica model, and compiling the engine static simulation model into a calculation program in a Modelica modeling environment. By presetting input parameters in a preset interference factor analysis tool and setting a variation range of the preset input parameters, a parameter variation matrix of the preset input parameters is obtained. According to the parameter variation matrix of the preset input parameters, multiple calculation programs are started to perform parallel calculations, so as to achieve the purpose of performing visualized result analysis after completing the parallel calculations, thereby realizing the use of parallel calculations to solve the problem of large amount of calculation of nonlinear analysis methods, and also providing a technical effect of making the visualization presentation of analysis results more intuitive by computer graphics, thereby solving the technical problems of large amount of calculation and non-intuitive analysis results of the engine interference factor analysis method.
[0045] In the above step S201, the engine static simulation model is constructed by using the Modelica model, and the engine static simulation model is compiled into a calculation program in the Modelica modeling environment, so as to facilitate the subsequent calculation.
[0046] In a specific implementation, after the rocket engine static simulation model is constructed, it needs to be compiled into a calculation program in the Modelica modeling environment, and the calculation program is an exe program that can be run to solve the problem.
[0047] In a preferred embodiment, a rocket engine static simulation model is constructed in a Modelica modeling environment to build a solvable rocket engine static simulation model.
[0048] In the above step S202, the input parameters are preset in the preset interference factor analysis tool. That is, after the calculation program is generated, it needs to be input into the interference factor analysis tool, and in the interference factor analysis tool, the parameters to be analyzed are selected using the parameter selection module.
[0049] In a specific embodiment, input and output parameters need to be selected according to the preset input parameters in the preset interference factor analysis tool. The input parameters may include combustion chamber efficiency, nozzle efficiency, pressure reducing valve outlet pressure, engine throat assembly, etc., and the output parameters may include engine thrust, engine room pressure, etc.
[0050] In a preferred embodiment, all selectable parameters in the rocket engine analysis model are obtained from the calculation program, and the user needs to select the parameters that need to be analyzed from all the parameters.
[0051] In a specific implementation, after completing the parameter selection, it is necessary to set the range of change of the input parameter, including the minimum value of the change, the maximum value of the change, and the change step size. The change percentage of the parameter can also be directly set, so that the interference factor analysis tool obtains the change matrix of the input parameter according to the setting content. When performing parallel calculations, the values in the change matrix are set to the calculation program for batch calculation.
[0052] In the above step S203, multiple calculation programs are started according to the parameter change matrix of the preset input parameters to perform parallel calculation. It can be understood that after completing the setting of the parameters, the interference factor analysis tool obtains the change matrix of the input parameters according to the setting content, and the parallel calculation module sets the values in the change matrix to the calculation programs respectively, starts multiple calculation programs, and performs parallel calculation.
[0053] In a specific implementation, after obtaining the change matrix of the input parameters, the parallel computing module needs to start the corresponding number of computing programs according to the number of variables in the change matrix, and set the values in the change matrix into the computing programs for simulation solution.
[0054] After the parallel calculation is completed in the above step S204, the result visualization module can be used to analyze the results. After the parallel calculation is completed, the result visualization module obtains the calculation results by reading the output parameter results in the calculation program, and visualizes the calculation results through curve graphs and bar graphs.
[0055] In a specific implementation, the variation trend of the output parameter can be viewed through a curve.
[0056] In a preferred embodiment, the percentage change of the output parameter can also be viewed through a bar graph.
[0057] As a preference in this embodiment, the constructing of the engine static simulation model by using the Modelica model includes: constructing the engine static simulation model by means of graphical modeling and textual modeling.
[0058] As a preferred embodiment of the present invention, the engine static simulation model is constructed by using the Modelica model, and the engine static simulation model is compiled into a calculation program in the Modelica modeling environment, including: using the model constructed by the Modelica language in the Modelica modeling environment to solve the static characteristics of the engine, wherein the engine static simulation model includes a static simulation model of a rocket engine, and the static simulation model of the rocket engine includes: component static characteristic models of a pump, a turbine, a regulator, and a pipeline, a thermal model of a thrust chamber and a generator, and a preset flow balance, a preset power balance, and a preset pressure balance relationship are used to connect the models of multiple components to obtain the engine static calculation model.
[0059] In specific implementation, the rocket engine interference factor analysis method based on batch simulation is used.
[0060] First, a rocket engine static simulation model is built in the Modelica modeling environment to construct a solvable rocket engine static simulation model. The Modelicam model is compiled into a calculation program. After the rocket engine static simulation model is built, it needs to be compiled into a calculation program in the Modelica modeling environment. The calculation program is an .exe program that can be run and solved.
[0061] After the calculation program is generated, it needs to be input into the interference factor analysis tool. In the interference factor analysis tool, use the parameter selection module to select the parameters to be analyzed. Here, all the selectable parameters in the rocket engine analysis model are obtained from the calculation program, and the user needs to select the parameters to be analyzed from all the parameters. Here, it is necessary to select input and output parameters. The input parameters may include combustion chamber efficiency, nozzle efficiency, pressure relief valve outlet pressure, engine throat components, etc. The output parameters may include engine thrust, engine chamber pressure, etc.
[0062] As a preference in this embodiment, the engine static simulation model is constructed by means of the Modelica model, and the engine static simulation model is compiled into a computing program in the Modelica modeling environment, including: in the Modelica modeling environment, the rocket engine static simulation model is compiled into an executable computing program, based on the independent operation of the program, to obtain and set all configurable parameters of the model, and to obtain the computing results after the model is run.
[0063] As a preference in this embodiment, the setting of the variation range of the preset input parameters includes: setting the variation range of the input parameters, and after completing the input parameter selection, setting the variation range of the input parameters, wherein the setting content includes at least one of the following: the minimum value of the variation, the maximum value of the variation, the variation step size, and the percentage of variation of the input parameters.
[0064] In specific implementation, after completing the parameter selection, it is necessary to set the range of input parameter changes, including the minimum value of the change, the maximum value of the change, and the change step size. You can also directly set the percentage of parameter changes. Through the interference factor analysis tool, you can get the input parameter change matrix based on the setting content. When performing parallel calculations, set the values in the change matrix to the calculation program for batch calculations.
[0065] As a preference in this embodiment, multiple calculation programs are started according to the parameter change matrix of the preset input parameters to perform parallel calculations, including: according to the number of variables in the change matrix of the input parameters, a corresponding number of calculation programs are started and the values in the change matrix are set to the calculation programs; and the calculation programs are batch called according to the set parameter change range to perform calculations and batch simulations.
[0066] As a preference in this embodiment, the preset input parameters in the preset interference factor analysis tool include: loading the calculation program through the preset interference factor analysis tool based on the generation result of the calculation program; obtaining all the parameters that can be set in the rocket engine static simulation model to obtain the input parameters and output parameters to be analyzed, and setting the input parameter variation range.
[0067] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0068] According to an embodiment of the present application, a parallel computing-based engine interference factor analysis device for implementing the above method is also provided. Figure 3 As shown, the device comprises:
[0069] A simulation module 301 is used to construct an engine static simulation model through a Modelica model, and compile the engine static simulation model into a calculation program in a Modelica modeling environment;
[0070] Compilation module 302, used to obtain a parameter change matrix of the preset input parameters according to the preset input parameters in the preset interference factor analysis tool and to set the variation range of the preset input parameters;
[0071] A parallel computing module 303 is used to start multiple computing programs according to the parameter change matrix of the preset input parameters to perform parallel computing;
[0072] The visualization module 304 is used to perform visualization result analysis after completing the parallel computing.
[0073] In the simulation module 301 of the embodiment of the present application, a static simulation model of the engine is constructed by using the Modelica model, and the static simulation model of the engine is compiled into a calculation program in the Modelica modeling environment, so as to facilitate the subsequent calculation.
[0074] In a specific implementation, after the rocket engine static simulation model is constructed, it needs to be compiled into a calculation program in the Modelica modeling environment, and the calculation program is an exe program that can be run to solve the problem.
[0075] In a preferred embodiment, a rocket engine static simulation model is constructed in a Modelica modeling environment to build a solvable rocket engine static simulation model.
[0076] The compiling module 302 of the embodiment of the present application presets input parameters in the interference factor analysis tool. That is, after the calculation program is generated, it needs to be input into the interference factor analysis tool, and in the interference factor analysis tool, the parameter selection module is used to select the parameters to be analyzed.
[0077] In a specific embodiment, input and output parameters need to be selected according to the preset input parameters in the preset interference factor analysis tool. The input parameters may include combustion chamber efficiency, nozzle efficiency, pressure reducing valve outlet pressure, engine throat assembly, etc., and the output parameters may include engine thrust, engine room pressure, etc.
[0078] In a preferred embodiment, all selectable parameters in the rocket engine analysis model are obtained from the calculation program, and the user needs to select the parameters that need to be analyzed from all the parameters.
[0079] In a specific implementation, after completing the parameter selection, it is necessary to set the range of change of the input parameter, including the minimum value of the change, the maximum value of the change, and the change step size. The change percentage of the parameter can also be directly set, so that the interference factor analysis tool obtains the change matrix of the input parameter according to the setting content. When performing parallel calculations, the values in the change matrix are set to the calculation program for batch calculation.
[0080] In the parallel computing module 303 of the embodiment of the present application, multiple computing programs are started according to the parameter change matrix of the preset input parameters to perform parallel computing. It can be understood that after completing the setting of the parameters, the interference factor analysis tool obtains the change matrix of the input parameters according to the setting content, and the parallel computing module sets the values in the change matrix to the computing programs respectively, starts multiple computing programs, and performs parallel computing.
[0081] In a specific implementation, after obtaining the change matrix of the input parameters, the parallel computing module needs to start the corresponding number of computing programs according to the number of variables in the change matrix, and set the values in the change matrix into the computing programs for simulation solution.
[0082] After the parallel calculation is completed in the visualization module 304 of the embodiment of the present application, the result visualization module can be used to analyze the results. After the parallel calculation is completed, the result visualization module obtains the calculation results by reading the output parameter results in the calculation program, and visualizes the calculation results through curve graphs and bar graphs.
[0083] In a specific implementation, the variation trend of the output parameter can be viewed through a curve.
[0084] In a preferred embodiment, the percentage change of the output parameter can also be viewed through a bar graph.
[0085] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0086] In order to better understand the process of the engine interference factor analysis method based on parallel computing, the above technical solution is explained below in conjunction with a preferred embodiment, but is not intended to limit the technical solution of the embodiment of the present invention.
[0087] The engine interference factor analysis method based on parallel computing in the embodiment of the present application uses the Modelica language to construct a rocket engine static model, which has universality and supports the construction of different types of rocket engines. Based on the Modelica language as a graphical language, the rocket engine construction process is made simpler through graphical modeling. This method uses parallel computing to solve the problem of large amount of calculation of nonlinear analysis methods, and also provides computer graphics to visualize the presentation of analysis results, making it more intuitive. It makes the interference factor analysis of rocket engines convenient and fast.
[0088] like Figure 4 FIG. 1 is a flow chart of an engine interference factor analysis method based on parallel computing in an embodiment of the present application, which specifically includes the following steps:
[0089] Step S401, start.
[0090] Step S402, constructing a static simulation model of a rocket engine.
[0091] Use the Modelica model to build a static simulation model. First, build a rocket engine static simulation model in the Modelica modeling environment to construct a solvable rocket engine static simulation model.
[0092] Step S403, compile and solve.
[0093] Compile the Modelicam model into a calculation program. After completing the construction of the rocket engine static simulation model, it is necessary to compile it into a calculation program in the Modelica modeling environment. The calculation program is an .exe program that can run the solution.
[0094] Step S404, calculation procedure.
[0095] Step S405, obtaining all selectable parameters.
[0096] After selecting the changing parameters and completing the calculation program generation, you need to input them into the interference factor analysis tool. In the interference factor analysis tool, use the parameter selection module to select the parameters to be analyzed. Here, all the selectable parameters in the rocket engine analysis model are obtained from the calculation program, and the user needs to select the parameters to be analyzed from all the parameters. Here you need to select input and output parameters. Input parameters may include combustion chamber efficiency, nozzle efficiency, pressure relief valve outlet pressure, engine throat components, etc. Output parameters may include engine thrust, engine room pressure, etc.
[0097] Step S406, selecting input and output parameters.
[0098] Step S407, setting the variation range of the input parameters.
[0099] Set the parameter variation range. After completing the parameter selection, you need to set the variation range of the input parameters. The settings include the minimum value, maximum value, and step size of the variation. You can also directly set the percentage of parameter variation. In this way, the interference factor analysis tool obtains the variation matrix of the input parameters based on the settings. When performing parallel calculations, set the values in the variation matrix to the calculation program for batch calculations.
[0100] Step S408, starting multiple calculation programs.
[0101] Step S409, parallel calculation.
[0102] After completing the parameter setting, the interference factor analysis tool obtains the change matrix of the input parameters according to the setting content. The parallel calculation module sets the values in the change matrix to the calculation program respectively, starts multiple calculation programs, and performs parallel calculation.
[0103] Step S410, obtaining output parameter calculation results.
[0104] Step S411, drawing a curve graph or a bar graph.
[0105] After completing the parallel calculation, you can use the result visualization module to analyze the results. This module can view the change trend of the output parameters through the curve, and can also view the change percentage of the output parameters through the bar chart. After completing the parallel calculation, the result visualization module obtains the calculation results by reading the output parameter results in the calculation program, and visualizes the calculation results through curve charts and bar charts.
[0106] Step S412, end.
[0107] The above steps may include the following modules:
[0108] Modelica modeling environment, Modelica modeling environment is used to build rocket engine static simulation model. Users can build rocket engine static simulation model through graphical modeling and text modeling.
[0109] The rocket engine static simulation model is obtained by connecting component models in the liquid rocket engine static characteristic model library using preset flow balance, preset power balance and preset pressure balance relationships.
[0110] The model constructed using the Modelica language in the Modelica modeling environment can solve the static characteristics of the rocket engine. The static characteristics model library of the liquid rocket engine consists of static characteristics models of pumps, turbines, regulators, and pipelines and thermal models of thrust chambers and generators. The component models in the static characteristics model library of the liquid rocket engine are connected using preset flow balance, preset power balance, and preset pressure balance relationships to obtain a static simulation model of the engine.
[0111] The calculation program module compiles the rocket engine static simulation model in the Modelica modeling environment to generate an executable calculation program. This program can run independently, obtain all the configurable parameters of the model and set them, and obtain the calculation results after the model runs.
[0112] Interference factor analysis tool module. The interference factor analysis tool includes parameter selection module, input parameter variation range setting module, parallel calculation module, and result visualization analysis module. This tool can be used to analyze rocket engine interference factors.
[0113] Parameter selection module, after completing the generation of the calculation program, the interference factor analysis tool can load the calculation program, obtain all the parameters that can be set in the static simulation model of the rocket engine through the parameter selection module, and the user selects the input and output parameters that need to be analyzed from all parameters and sets the input parameter variation range.
[0114] Input parameter variation range setting module: This module is used to set the input parameter variation range. After completing the input parameter selection, the input parameter variation range needs to be set. The settings include the minimum value of the variation, the maximum value of the variation, and the variation step. You can also directly set the percentage of variation of the input parameter. In this way, the interference factor analysis tool obtains the variation matrix of the input parameter according to the settings.
[0115] Parallel computing module, this module is to call the calculation program in batches for calculation and batch simulation according to the set parameter change range. After obtaining the change matrix of the input parameters, the parallel computing module needs to start the corresponding number of calculation programs according to the number of variables in the change matrix, and set the values in the change matrix to the calculation program for simulation solution.
[0116] Result visualization analysis module: This module provides visualization analysis for output parameters, including curve and bar chart analysis tools. After completing parallel calculation, the result visualization module obtains the output parameter calculation results by reading the output results in the calculation program, and visualizes the output parameter calculation results through curve and bar charts.
[0117] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for analyzing engine interference factors based on parallel computing, characterized in that: include: Building an engine static simulation model through a Modelica model, and compiling the engine static simulation model into a calculation program in a Modelica modeling environment; Rocket engine static simulation model, a model built using Modelica language in the Modelica modeling environment, solves the static characteristics of the rocket engine. The rocket engine static characteristics model library consists of static characteristics models of pumps, turbines, regulators, and pipelines and thermal models of thrust chambers and generators. The component models in the liquid rocket engine static characteristics model library are connected using preset flow balance, preset power balance, and preset pressure balance relationships to obtain the engine static simulation model; According to the preset input parameters in the preset interference factor analysis tool, a variation range of the preset input parameters is set to obtain a parameter variation matrix of the preset input parameters; The interference factor analysis tool includes a parameter selection module, an input parameter variation range setting module, a parallel calculation module, and a result visualization analysis module. The interference factor analysis of the rocket engine can be performed through this tool; After the calculation program is generated, the interference factor analysis tool can load the calculation program, obtain all the parameters that can be set in the rocket engine static simulation model through the parameter selection module, and the user selects the input and output parameters to be analyzed from the parameters to set the input parameter variation range; The parameter variation range setting module is used to set the input parameter variation range. After completing the input parameter selection, the input parameter variation range needs to be set. The setting content includes the minimum value of the variation, the maximum value of the variation, and the variation step. The variation percentage of the input parameter can also be directly set. In this way, the interference factor analysis tool obtains the variation matrix of the input parameter according to the setting content. The parallel computing module is to call the computing program in batches to perform calculations and batch simulations according to the set parameter variation range. After obtaining the variation matrix of the input parameters, the parallel computing module needs to start the corresponding number of computing programs according to the number of variables in the variation matrix, and set the values in the variation matrix into the computing program to perform simulation solutions; The result visualization analysis module provides visualization analysis for the output parameters, including curve graph and bar chart analysis tools. After completing the parallel calculation, the result visualization module obtains the output parameter calculation results by reading the output results in the calculation program, and visualizes the output parameter calculation results through curve graphs and bar charts; Starting multiple calculation programs according to the parameter change matrix of the preset input parameters to perform parallel calculations; After completing the parallel computing, the results are visualized and analyzed.
2. The method according to claim 1, characterized in that The engine static simulation model is constructed by using the Modelica model, including: The engine static simulation model is constructed by means of graphical modeling and text modeling.
3. The method according to claim 1, characterized in that The method of starting multiple computing programs according to the parameter change matrix of the preset input parameters and performing parallel computing includes: According to the number of variables in the change matrix of the input parameters, start the corresponding number of calculation programs and set the values in the change matrix into the calculation programs; According to the set parameter variation range, the calculation program is called in batches to perform parallel calculations and batch simulations.
4. The method according to claim 1, characterized in that: The preset input parameters in the preset interference factor analysis tool include: Based on the generated result of the calculation program, loading the calculation program through the preset interference factor analysis tool; Obtain all the parameters that can be set in the rocket engine static simulation model to obtain the input parameters and output parameters to be analyzed and set the input parameter variation range.
5. An engine interference factor analysis device based on parallel computing, characterized in that: include: A simulation module, used for constructing a static simulation model of an engine through a Modelica model, and compiling the static simulation model of the engine into a calculation program in a Modelica modeling environment; Rocket engine static simulation model, a model built using Modelica language in the Modelica modeling environment, solves the static characteristics of the rocket engine. The liquid rocket engine static characteristics model library consists of static characteristics models of pumps, turbines, regulators, and pipelines and thermal models of thrust chambers and generators. The component models in the liquid rocket engine static characteristics model library are connected using preset flow balance, preset power balance, and preset pressure balance relationships to obtain the engine static simulation model. A compiling module, used to obtain a parameter variation matrix of the preset input parameters according to the preset input parameters in the preset interference factor analysis tool and to set the variation range of the preset input parameters; The interference factor analysis tool includes a parameter selection module, an input parameter variation range setting module, a parallel calculation module, and a result visualization analysis module. The interference factor analysis of the rocket engine can be performed through this tool; After the calculation program is generated, the interference factor analysis tool can load the calculation program, obtain all the parameters that can be set in the rocket engine static simulation model through the parameter selection module, and the user selects the input and output parameters to be analyzed from the parameters to set the input parameter variation range; The parameter variation range setting module is used to set the input parameter variation range. After completing the input parameter selection, the input parameter variation range needs to be set. The setting content includes the minimum value of the variation, the maximum value of the variation, and the variation step. The variation percentage of the input parameter can also be directly set. In this way, the interference factor analysis tool obtains the variation matrix of the input parameter according to the setting content. The parallel computing module is to call the computing program in batches to perform calculations and batch simulations according to the set parameter variation range. After obtaining the variation matrix of the input parameters, the parallel computing module needs to start the corresponding number of computing programs according to the number of variables in the variation matrix, and set the values in the variation matrix into the computing program to perform simulation solutions; The result visualization analysis module provides visualization analysis for the output parameters, including curve graph and bar chart analysis tools. After completing the parallel calculation, the result visualization module obtains the output parameter calculation results by reading the output results in the calculation program, and visualizes the output parameter calculation results through curve graphs and bar charts; A parallel computing module, used to start multiple computing programs according to the parameter change matrix of the preset input parameters to perform parallel computing; The visualization module is used to perform visualization result analysis after completing parallel computing.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 4 when executed.
7. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Modelica language-based method for designing simulation system for concrete pump truck
CN102314539A
Assessment of conservatism level in an aircraft turbine engine design
US10592622B1