Multi-working-condition simulation method, device, equipment, product and simulation system
By obtaining the simulation parameters of the general model element and the working conditions model elements, automatically call the simulation software for multi -operating simulation, solve the problem of low efficiency and reliability of multi -working conditions in existing technologies, and achieve efficient and accurate simulation result.
Patent Information
- Application Number
- CN202411741974.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-01-21
AI Technical Summary
It is difficult to efficiently and accurately perform multi-case simulation analysis. Traditional methods require repeated establishment of multiple models or manual adjustment of parameters, which is time-consuming and labor-intensive and easy to introduce human errors.
Through the simulation parameters of the universal model element and the simulation parameters of the working conditions of the work conditions under multiple operating conditions, call the simulation software to automatically perform the simulation of each operating condition. Simulation task.
It greatly simplifies the workflow, improves the efficiency of work, ensures the consistency and correctness of the parameter settings, and improves the reliability and credibility of the simulation.
Smart Images

Figure CN119337627A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer simulation technology, and in particular to a multi-operating condition simulation method, device, equipment, product and simulation system. Background Art
[0002] Simulation technology is widely used in many industries such as automobiles, aerospace, energy, and electronics to meet the increasingly complex product and system design needs. However, in practical applications, many systems need to operate under a variety of different working conditions, and each working condition may have a significant impact on the performance of the system. Therefore, how to efficiently and accurately perform multi-condition simulation analysis has become a major challenge facing the current simulation technology field.
[0003] Traditional simulation methods often model and simulate a single working condition. When it is necessary to evaluate the performance of the system under different working conditions, it is usually necessary to repeatedly build multiple models or manually adjust the model parameters to adapt to different working conditions. This is not only time-consuming and labor-intensive, but also prone to human errors, resulting in reduced reliability of simulation results. In addition, as the complexity of the system increases, the number of elements and parameters in the model also increases dramatically, making it increasingly difficult to manually manage these elements and parameters. Summary of the invention
[0004] In view of this, the present application is committed to providing a multi-working condition simulation method, device, equipment, product and simulation system, which can realize one-click startup of simulation tasks of multiple working conditions, simplify the workflow through automated processing, improve work efficiency, and at the same time ensure the consistency and correctness of parameter settings, thereby improving the reliability and credibility of the simulation.
[0005] This application obtains the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under multiple working conditions at one time, and then calls the simulation software to automatically simulate each working condition. The user only needs to perform one operation to start the simulation tasks of multiple working conditions and obtain the simulation results of multiple working conditions, which greatly simplifies the workflow and improves work efficiency. In addition, through automated processing, the tedious process of manually adjusting parameters and managing multiple models in traditional methods is avoided, which not only reduces the errors caused by human operation, but also ensures the consistency and correctness of parameter settings, and improves the reliability and credibility of the simulation.
[0006] According to a first aspect of the present application, a multi-operating condition simulation method is provided, which is applied to a simulation system, wherein the simulation system includes simulation software, and the method includes:
[0007] Acquire model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of operating condition model elements under multiple operating conditions;
[0008] Calling simulation software to simulate each working condition based on comprehensive parameters corresponding to each working condition, and generating simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include simulation parameters of the general model element and simulation parameters of the working condition model element under the working condition;
[0009] Output the simulation result data of each working condition.
[0010] Optionally, the calling simulation software performs simulation of each working condition based on the comprehensive parameters corresponding to each working condition to generate simulation result data for each working condition, including:
[0011] After obtaining the simulation result data of the i-th working condition generated by the simulation software, the comprehensive parameters corresponding to the i+1-th working condition are sent to the simulation software, and the simulation software is called to simulate the i+1-th working condition based on the comprehensive parameters corresponding to the i+1-th working condition to generate the simulation result data of the i+1-th working condition, where i is a positive integer.
[0012] Optionally, the method further includes:
[0013] When it is detected that the simulation progress of the simulation software for the nth working condition is abnormal, controlling the simulation software to exit the current simulation;
[0014] The comprehensive parameters corresponding to the n+1th working condition are sent to the simulation software, and the simulation software is called to simulate the n+1th working condition based on the comprehensive parameters corresponding to the n+1th working condition to generate simulation result data of the n+1th working condition, where n is a positive integer.
[0015] Optionally, obtaining model element parameters of the project to be simulated includes:
[0016] In response to an upload operation by a user, a first data file is acquired, wherein the first data file includes first data representing simulation parameters of the general model element and second data representing simulation parameters of the operating condition model element under multiple operating conditions;
[0017] The first data is parsed to obtain simulation parameters of the general model element, and the second data is parsed to obtain simulation parameters of the operating condition model element under multiple operating conditions.
[0018] Optionally, the output of simulation result data of each working condition includes:
[0019] After receiving the simulation result data of all working conditions output by the simulation software, data processing is performed on the simulation result data of each working condition according to a preset data processing strategy to obtain a data processing result, wherein the data processing includes at least one of data conversion, data cleaning, data analysis, data visualization and data storage;
[0020] The data processing result is outputted.
[0021] Optionally, the project to be simulated is a simulation project of a powertrain suspension system, the general model elements include powertrain model elements and suspension system model elements, and the operating condition model elements include powertrain six-direction force modeling elements, wherein the powertrain six-direction force modeling elements are determined based on powertrain acceleration and load torque.
[0022] According to a second aspect of the present application, a multi-operating condition simulation device is provided, which is applied to a simulation system, wherein the simulation system includes simulation software, and the device includes:
[0023] The first unit is used to obtain model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of working condition model elements under multiple working conditions;
[0024] The second unit is used to call the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generate simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include the simulation parameters of the general model element and the simulation parameters of the working condition model element under the working condition;
[0025] The third unit is used to output the simulation result data of each working condition.
[0026] According to a third aspect of the present application, there is provided an electronic device, including a memory and a processor;
[0027] The memory is connected to the processor and is used to store programs;
[0028] The processor is used to implement the multi-operating condition simulation method as described in any one of the first aspects of the present application by running the program in the memory.
[0029] According to a fourth aspect of the present application, a computer program product is provided, comprising computer program instructions, which, when executed by a processor, enable the processor to implement a multi-operating condition simulation method as described in any one of the first aspects of the present application.
[0030] According to a fifth aspect of the present application, there is provided a simulation system, comprising: a processing module and simulation software, wherein the processing module is communicatively connected with the simulation software;
[0031] The processing module is used to obtain model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of working condition model elements under multiple working conditions; call the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generate simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include simulation parameters of the general model elements and simulation parameters of the working condition model elements under the working condition; and output simulation result data for each working condition;
[0032] The simulation software is used to simulate each working condition based on the comprehensive parameters corresponding to each working condition to generate simulation result data for each working condition. The comprehensive parameters corresponding to each working condition include the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under the working condition.
[0033] The multi-operating condition simulation method provided in the present application first obtains the simulation parameters of the general model elements and the simulation parameters of the operating condition model elements under multiple operating conditions, and the general model elements and the operating condition model elements constitute the overall elements of the simulation engineering model; then calls the simulation software to simulate each operating condition based on the comprehensive parameters corresponding to each operating condition, and generates simulation result data for each operating condition, and the comprehensive parameters corresponding to each operating condition include the simulation parameters of the general model elements and the simulation parameters of the operating condition model elements under the operating condition; finally, outputs the simulation result data of each operating condition.
[0034] This application obtains the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under multiple working conditions at one time, and then calls the simulation software to automatically simulate each working condition. The user only needs to perform one operation to start the simulation tasks of multiple working conditions and obtain the simulation results of multiple working conditions, which greatly simplifies the workflow and improves work efficiency. In addition, through automated processing, the tedious process of manually adjusting parameters and managing multiple models in traditional methods is avoided, which not only reduces the errors caused by human operation, but also ensures the consistency and correctness of parameter settings, and improves the reliability and credibility of the simulation. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0036] Figure 1 A schematic diagram of the structure of a simulation system provided in an embodiment of the present application.
[0037] Figure 2 A flowchart of a multi-operating condition simulation method provided in an embodiment of the present application.
[0038] Figure 3 A schematic diagram of a processing flow for calling simulation software to simulate each working condition is provided in an embodiment of the present application.
[0039] Figure 4 A flowchart of another multi-operating condition simulation method provided in an embodiment of the present application.
[0040] Figure 5 A schematic diagram of the structure of a multi-operating condition simulation device provided in an embodiment of the present application.
[0041] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solution of the embodiment of the present application is applicable to various scenarios where multiple working conditions need to be simulated to achieve multi-condition performance evaluation and optimization design, such as multi-condition performance evaluation of vehicle suspension systems, automobile engine performance testing, aerospace flight environment simulation, efficiency analysis of energy equipment under different loads, and reliability verification of electronic equipment under extreme temperatures. In these scenarios, in order to achieve comprehensive performance evaluation and optimization design of equipment or systems, it is often necessary to simulate multiple working conditions.
[0043] The technical solution provided in the embodiments of the present application can be exemplarily applied to hardware devices such as processors, electronic devices, servers (including cloud servers), or packaged into software programs to be run. When the hardware device executes the processing of the technical solution of the embodiments of the present application, or the above-mentioned software program is run, the automatic splitting of the target task and the automatic calling of the application program interface required for the task can be achieved to complete the purpose of the target task. The embodiments of the present application only exemplarily introduce the specific processing of the technical solution of the present application, and do not limit the specific implementation form of the technical solution of the present application. Any technical implementation form that can execute the processing of the technical solution of the present application can be adopted by the embodiments of the present application.
[0044] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 are within the scope of protection of this application.
[0045] Before introducing this application solution, the relevant technologies are first introduced:
[0046] With the advancement of Industry 4.0 and intelligent manufacturing, simulation technology has been widely used in multiple industries such as automobiles, aerospace, energy, and electronics to meet the increasingly complex product and system design needs. However, in actual applications, many systems need to operate under a variety of different working conditions, and each working condition may have a significant impact on the performance of the system. Therefore, how to efficiently and accurately perform multi-condition simulation analysis has become a major challenge facing the current simulation technology field.
[0047] Traditional simulation methods often model and simulate a single working condition. When it is necessary to evaluate the performance of the system under different working conditions, it is usually necessary to repeatedly build multiple models or manually adjust the model parameters to adapt to different working conditions. This is not only time-consuming and labor-intensive, but also prone to human errors, resulting in reduced reliability of simulation results. In addition, as the complexity of the system increases, the number of elements and parameters in the model also increases dramatically, making it increasingly difficult to manually manage these elements and parameters.
[0048] In view of this, the present application provides a multi-operating condition simulation method, device, equipment, product and simulation system, which will be described in detail one by one in the following embodiments.
[0049] Exemplary Implementation Environment
[0050] For ease of understanding, firstly, an exemplary introduction to the implementation environment of the multi-operating condition simulation method provided in the embodiment of the present application is given. Figure 1 , Figure 1 It is a structural schematic diagram of a simulation system, and the multi-operating condition simulation method provided in the present application can be exemplarily applied to the simulation system.
[0051] like Figure 1 As shown, the simulation system includes a processing module 110 and simulation software 120 , wherein the processing module 110 is in communication connection with the simulation software 120 .
[0052] Among them, the processing module 110 is used to execute the multi-condition simulation method provided by the embodiment of the present application, which specifically includes: obtaining the model element parameters of the project to be simulated, the model element parameters include the simulation parameters of the general model elements and the simulation parameters of the condition model elements under multiple conditions; calling the simulation software to simulate each condition based on the comprehensive parameters corresponding to each condition, and generating simulation result data for each condition, the comprehensive parameters corresponding to each condition include the simulation parameters of the general model elements and the simulation parameters of the condition model elements under the condition; outputting the simulation result data of each condition. As for the specific implementation method of the multi-condition simulation method, it will be explained in the subsequent content and will not be described in detail here.
[0053] Optionally, the processing module 110 can be various computing devices, such as a computer server, a workstation, a personal computer, a virtual machine, a cloud server, etc., or it can be a software program or script installed on any of the above hardware devices, which is not limited in this application.
[0054] The simulation software 120 is used to simulate each operating condition based on the comprehensive parameters corresponding to each operating condition, and generate simulation result data for each operating condition.
[0055] Optionally, the simulation software 120 can be a professional simulation tool widely used in the market, such as MATLAB / Simulink, ANSYS, SolidWorks Simulation, etc., or it can be simulation software customized for specific industries or application needs, or it can be special software developed by users according to specific simulation needs. This application does not limit this.
[0056] Optionally, the simulation system further includes a display module 130 , which is in communication with the processing module 110 and is configured to receive simulation result data of various working conditions output by the processing module 110 and display the simulation result data.
[0057] Optionally, the display module 130 can be any device or system that can display simulation result data, such as hardware devices such as printers, displays, projectors, or software platforms such as web browsers and mobile applications. Optionally, the display module 130 is used to convert the simulation result data of each working condition output by the processing module 110 into a form that is easy to understand and analyze, such as generating a detailed simulation report, drawing data charts, creating interactive animations, etc. Optionally, the display module 130 supports a variety of output formats to meet the needs of different users, such as PDF documents, Excel tables, CSV files, etc. Optionally, the display module 130 can adjust the output content and format according to user feedback to ensure the accuracy and flexibility of the final output results.
[0058] As an optional implementation, when it is determined that multiple working condition simulation is required, the processing process of the simulation system includes: the processing module 110 obtains all parameter information required for the simulation project from a database, user input or other sources, including simulation parameters of general model elements (these parameters remain unchanged under different working conditions) and simulation parameters of working condition model elements under each specific working condition. For each working condition, the processing module 110 combines the simulation parameters of the general model elements with the parameters of the working condition model elements under the working condition to form comprehensive parameters corresponding to the working condition, and calls the simulation software 120 to send the comprehensive parameters of the working condition to the simulation software 120. After receiving the comprehensive parameters of the working condition, the simulation software 120 uses its built-in numerical calculation method and model to perform independent simulation calculations on the working condition, generate simulation result data under the working condition and feed it back to the processing module 110. The processing module 110 sends the simulation result data of each working condition to the display module 130, so that it displays the simulation result data of each working condition.
[0059] Exemplary Methods
[0060] Figure 2 Flow chart of a multi-operating condition simulation method provided in an embodiment of the present application. The multi-operating condition simulation method provided in an embodiment of the present application can be exemplarily applied to the following Figure 1 In the simulation system shown in FIG. 1 , the processing module in the system is specifically executed. Figure 2 As shown, the multi-operating condition simulation method provided in this embodiment includes steps S201-S203:
[0061] S201. Obtain model element parameters of a project to be simulated, wherein the model element parameters include simulation parameters of a general model element and simulation parameters of a working condition model element under multiple working conditions.
[0062] The project to be simulated can be understood as a specific project or system that requires multi-condition simulation, which may involve multiple fields such as mechanics, electronics, thermodynamics, etc., and aims to predict and optimize the performance of the system under different conditions through simulation analysis.
[0063] The model elements of the project to be simulated can be understood as the basic units or components that constitute the project to be simulated. Each model element has its specific functions and characteristics, which are described by simulation parameters. During the simulation process, these model elements are interconnected through specific parameters and relationships to form a complete simulation project model.
[0064] The model elements of the project to be simulated can be divided into two types: general model elements and operating condition model elements.
[0065] Among them, the general model elements refer to the core components used to build the basic simulation engineering model in various working condition simulations. They define the basic structure and characteristics of the simulated entity, have a high degree of reusability and versatility, and provide a unified and scalable framework for the entire simulation process. They are the starting point and foundation for all working condition simulations. During the simulation process, although the parameters of some general model elements will respond and change based on the applied working conditions and simulation conditions, these changes are the natural behavior of the model elements during the simulation process. Their settings are designed to support simulations under various working conditions. They can flexibly adapt to different simulation conditions and produce corresponding simulation results.
[0066] The working condition model element refers to the part of the simulation engineering model that is directly related to a specific working condition in multiple working condition simulations and is used to describe the specific conditions, parameters or external stimuli of the working condition. The working condition model element is a variable in the multi-working condition simulation process. The working condition model element is set and adjusted based on the specific requirements of each working condition to reflect the simulation conditions under different working conditions.
[0067] Exemplarily, the project to be simulated is a simulation project of a powertrain suspension system, which is used to analyze the suspension load of the powertrain suspension system under multiple working conditions; the general model elements include powertrain model elements (such as the mass distribution, stiffness matrix, damping coefficient, etc. of the powertrain), suspension system model elements (such as the position, shape, elastic coefficient, etc. of the suspension device), and may also include other elements such as frame model elements, tire model elements, and transmission system model elements; the working condition model elements include powertrain six-direction force modeling elements, wherein the powertrain six-direction force modeling elements are determined based on the powertrain acceleration and load torque, and the simulation parameters of the working condition model elements are adjusted as the working conditions change, providing a real and dynamic external excitation for the simulation engineering model. In this simulation project, by accurately modeling the force conditions of the powertrain in the six degrees of freedom directions, the dynamic characteristics of the vehicle under different driving conditions can be better understood, thereby optimizing the performance of the suspension system. Optionally, simulation parameters of the six-direction force modeling element (six-direction forces (Fx, Fy, Fz) and six-direction moments (Tx, Ty, Tz)) are calculated based on the acceleration (X, Y, Z directions) and load moments (Rx, Ry, Rz directions) of the powertrain.
[0068] Furthermore, the model element parameters of the project to be simulated can be obtained based on a variety of methods, including but not limited to selecting from a preset parameter library, reusing parameters based on historical simulation projects, automatically generating through parameter generation tools built into the simulation software, and users directly entering parameter values or uploading files containing parameters, etc. This application does not limit this.
[0069] S202, calling the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generating simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under the working condition.
[0070] The comprehensive parameters corresponding to each working condition can be understood as the set of all parameters needed to be used in the simulation process for each specific working condition, which defines the simulation conditions and environment under the working condition and the behavioral characteristics of the simulation model, including the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under the working condition.
[0071] Specifically, after determining the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under each working condition, the system will integrate the simulation parameters of the general model elements with the simulation parameters of the working condition model elements under each working condition to form comprehensive parameters corresponding to each working condition, and call the appropriate simulation software, and pass the integrated comprehensive parameters as input to the simulation software, so that it can perform simulation calculations based on the comprehensive parameters corresponding to each working condition, including but not limited to setting up the simulation environment, initializing the model state, applying external excitation (such as specific conditions or parameters defined by the working condition model elements), executing the simulation algorithm and other steps. After the simulation software completes the simulation of each working condition, it will generate simulation result data under the working condition, including but not limited to the response curve, performance indicators, state variables, etc. of the model elements, which are used for subsequent evaluation and analysis of the performance of the system under the working condition. When there are multiple working conditions that need to be simulated, the system will repeat the above steps, and perform parameter integration, simulation software call, working condition simulation execution and simulation result generation for each working condition.
[0072] Optionally, for groups of working conditions that need to be simulated simultaneously, a parallel simulation strategy can be implemented. The comprehensive parameters corresponding to each working condition are sent to the simulation software. After receiving these parameters, the simulation software will start multiple simulation processes at the same time. Each process independently handles the simulation task of a working condition. During the parallel execution of these simulation processes, computing resources (such as CPU cores, memory, etc.) will be fully utilized to speed up the simulation process and shorten the overall simulation time.
[0073] Optionally, for the working condition groups that need to be simulated in sequence, a sequential simulation strategy can be implemented. First, the simulation process is arranged according to the predetermined working condition simulation sequence. The sequence can be determined based on factors such as the logical relationship between the working conditions, the sequence of actual engineering applications, the use plan of simulation resources, or the manual settings made by the user according to specific needs and experience. Secondly, the simulation software is called one by one according to the working condition simulation sequence to process the simulation tasks of each working condition. In this process, each simulation process will strictly follow the sequential principle, that is, the simulation task of the next process will be executed only after the previous process is completed, and the simulation process will be terminated after the simulation tasks of all working conditions are determined to be completed, so as to ensure the consistency and accuracy of the simulation process. This will be explained in the subsequent embodiments and will not be elaborated in detail here.
[0074] Optionally, the comprehensive parameters of a certain working condition are sent to the simulation software, including: first, converting the simulation parameters of the general model elements and the simulation parameters of the working condition model elements in the working condition system into corresponding text descriptors; then writing the converted text descriptors into a simulation file according to a predetermined format, and the simulation file contains the physical information of each type of model element; finally, sending the simulation file to the simulation software, so that the simulation software parses the received simulation file, and constructs a simulation model based on the simulation parameters in the simulation file to execute the simulation task of the working condition.
[0075] The text descriptor is a representation of the simulation parameters of the model element in the simulation file, and can accurately describe the behavior and characteristics of the model element during the simulation process.
[0076] The simulation file can be in a variety of file formats that can be read and understood by simulation software. Optionally, the simulation file is an spf file, which is a text file that can store and transfer simulation parameters and configuration information of model elements, providing necessary input for subsequent simulation processes.
[0077] S203, output simulation result data of each working condition.
[0078] Specifically, the system will receive the simulation result data of each working condition output by the simulation software, and output the simulation result data of each working condition. Among them, the simulation result data of each working condition is obtained after the simulation software performs simulation calculations based on the comprehensive parameters of each working condition, and fully reflects the performance of the project to be simulated under various working conditions. The simulation result data can include various types of information such as the response curve of the model element, performance indicators, state variables, etc., which is an important basis for evaluating and analyzing system performance.
[0079] As an optional implementation method, the system can directly output the simulation result data of each working condition output by the received simulation software without any additional processing or conversion to maintain the originality and integrity of the data. This implementation method is suitable for scenarios where users want to directly view the original data generated by the simulation software, or there are subsequent dedicated data processing tools or processes to process the original data.
[0080] As an optional implementation, after receiving the simulation result data of all working conditions output by the simulation software, the simulation result data of each working condition is processed according to a preset data processing strategy to obtain a data processing result, and the data processing result is output. The data processing includes at least one of data conversion, data cleaning, data analysis, data visualization, and data storage. This will be explained in subsequent embodiments and will not be described in detail here.
[0081] The multi-operating condition simulation method provided in the present application first obtains the simulation parameters of the general model elements and the simulation parameters of the operating condition model elements under multiple operating conditions, and the general model elements and the operating condition model elements constitute the overall elements of the simulation engineering model; then calls the simulation software to simulate each operating condition based on the comprehensive parameters corresponding to each operating condition, and generates simulation result data for each operating condition, and the comprehensive parameters corresponding to each operating condition include the simulation parameters of the general model elements and the simulation parameters of the operating condition model elements under the operating condition; finally, outputs the simulation result data of each operating condition.
[0082] This application obtains the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under multiple working conditions at one time, and then calls the simulation software to automatically simulate each working condition. The user only needs to perform one operation to start the simulation tasks of multiple working conditions and obtain the simulation results of multiple working conditions, which greatly simplifies the workflow and improves work efficiency. In addition, through automated processing, the tedious process of manually adjusting parameters and managing multiple models in traditional methods is avoided, which not only reduces the errors caused by human operation, but also ensures the consistency and correctness of parameter settings, and improves the reliability and credibility of the simulation.
[0083] As an optional implementation, based on the user's upload operation, the model element parameters of the project to be simulated are obtained. In this implementation, step S201 "obtaining the model element parameters of the project to be simulated" includes steps A1-A2:
[0084] A1. In response to an upload operation by a user, a first data file is obtained, wherein the first data file includes first data representing simulation parameters of the general model element and second data representing simulation parameters of the operating condition model element under multiple operating conditions.
[0085] The simulation system provides a user-friendly interactive interface, which includes operating elements such as controls and buttons for uploading files. Based on the interactive interface provided by the simulation system, the user can select and upload a data file containing parameters of the engineering model element to be simulated, that is, the first data file.
[0086] The processing module of the simulation system monitors the user's upload operation in real time. Once it detects that a file is uploaded, it will immediately respond and obtain the file and perform subsequent processing.
[0087] The first data file contains two main parts of data: one is the first data representing the simulation parameters of the general model elements, which describe the basic properties and behaviors of the model elements that constitute the basic framework of the project to be simulated; the other is the second data representing the simulation parameters of the working condition model elements under multiple working conditions, which describe the specific conditions, parameters or external excitations of the model elements directly related to specific working conditions under different working conditions.
[0088] Optionally, the first data and / or the second data may directly include simulation parameters of the model elements, or may include raw data required for calculating the simulation parameters of the model elements. For example, in a simulation project of a powertrain suspension system, the second data may directly include simulation parameters of the six-axis force modeling elements under various working conditions, or may include acceleration and load torque of the powertrain under various working conditions. The acceleration and load torque data of the powertrain will be used to calculate the six-axis force modeling elements in the subsequent analysis process.
[0089] The first data file is usually stored in a structured format, such as Excel, CSV, JSON, XML, etc., so that the simulation system can automatically parse it.
[0090] A2. parse the first data to obtain simulation parameters of the general model element, and parse the second data to obtain simulation parameters of the operating model element under multiple operating conditions.
[0091] The system reads and parses the first data file using an appropriate parsing algorithm or library.
[0092] Optionally, the parsing process may include reading each line or each data block of the file, identifying and extracting key information that characterizes model element parameters.
[0093] For the first data, the system will parse it according to a predefined format or structure, such as converting a string into a numerical value, parsing a nested data structure (such as a JSON object or an XML node), etc. After the parsing is completed, the system will obtain a collection or data structure containing simulation parameters of all common model elements.
[0094] For the second data, the system will also parse it according to the format or structure of the data. Since the second data is related to a specific working condition, the parsing process may need to consider factors such as the identification of the working condition, the correspondence between the parameters and the working condition, etc. After the parsing is completed, the system will obtain a set or data structure containing the simulation parameters of the working condition model elements under all working conditions. This set or data structure may organize the data with the working condition as the index or key.
[0095] Furthermore, when the first data and / or the second data include original data required for calculating simulation parameters of the model elements, the parsing process further includes: calculating the simulation parameters of the model elements using the original data based on a preset formula or algorithm.
[0096] Exemplarily, in the simulation project of the powertrain suspension system, the second data includes the acceleration and load torque of the powertrain, and the analysis of the second data also includes: according to the acceleration (X, Y, Z) and load torque (Rx, Ry, Rz) of the powertrain, the simulation parameters (Fx, Fy, Fz, Tx, Ty, Tz) of the six-direction force modeling element are calculated. Specifically, Fx = X * dynamic total mass * gravity acceleration; Fy = Y * dynamic total mass * gravity acceleration; Fz = Z * dynamic total mass * gravity acceleration; Tx = Rx; Ty = Ry; Tz = Rz.
[0097] In scenarios where simulations need to be performed in a specific order or simulation resources are limited, multiple conditions cannot be processed simultaneously, and a sequential simulation strategy is usually required to process each condition one by one.
[0098] As an optional implementation, Figure 3 As shown, step S202 "calls the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generates simulation result data for each working condition" includes step S301:
[0099] After obtaining the simulation result data of the i-th working condition generated by the simulation software, the comprehensive parameters corresponding to the i+1-th working condition are sent to the simulation software, and the simulation software is called to simulate the i+1-th working condition based on the comprehensive parameters corresponding to the i+1-th working condition to generate the simulation result data of the i+1-th working condition, where i is a positive integer.
[0100] First, the system starts from the first working condition (i.e., i=1) and sends its corresponding comprehensive parameters (including the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under this working condition) to the simulation software. After receiving these parameters, the simulation software will perform simulation calculations for this working condition based on these parameters and generate simulation result data for the first working condition. Then, after the simulation software successfully generates and returns the simulation result data for the first working condition (i.e., the i-th working condition), the system will prepare the comprehensive parameters for the next working condition (i.e., the i+1-th working condition) and send these parameters to the simulation software again. After receiving the comprehensive parameters for the i+1-th working condition, the simulation software will repeat the previous simulation process, perform simulation calculations for the i+1-th working condition based on these new parameters, and generate corresponding simulation result data.
[0101] The above steps are executed repeatedly until all the predetermined working conditions have been simulated. In each iteration, the system updates the working condition index i by increasing it by 1, and then sends the comprehensive parameters of the corresponding working condition to the simulation software, and waits for the return of the simulation results.
[0102] In this implementation, the system can complete the simulation of all working conditions one by one in a sequential control manner, ensuring that each working condition is fully processed and analyzed. This not only ensures the orderly progress of the simulation process, but also avoids simulation conflicts or performance degradation caused by resource limitations.
[0103] During the simulation process, various unforeseen situations may occur, causing the simulation software to have abnormal simulation progress for a certain working condition. In order to effectively deal with this situation, the method proposes an optional implementation method to ensure the continuity and stability of the simulation process.
[0104] As an optional implementation, the method further includes steps S401-S402:
[0105] S401. When it is detected that the simulation progress of the simulation software for the nth working condition is abnormal, control the simulation software to exit the current simulation.
[0106] S402. Send the comprehensive parameters corresponding to the n+1th working condition to the simulation software, call the simulation software to simulate the n+1th working condition based on the comprehensive parameters corresponding to the n+1th working condition, and generate simulation result data of the n+1th working condition, where n is a positive integer.
[0107] In this implementation, in order to ensure that the simulation process can proceed smoothly, the simulation system adopts a real-time monitoring mechanism to monitor the simulation progress in the simulation software.
[0108] Optionally, in order to more accurately determine whether an abnormality occurs in the simulation, the system can monitor the simulation progress by listening to the abnormality codes issued by the simulation software. The system can promptly capture and analyze any abnormal signals or error codes that may be generated during the simulation process, thereby accurately determining whether an abnormality occurs in the simulation progress.
[0109] Specifically, when the system detects that the simulation software has an abnormal simulation progress for the nth working condition (n is a positive integer), a series of measures will be taken immediately to deal with this abnormal situation. First, the simulation software is controlled to exit the simulation of the nth working condition currently in progress. This process is to prevent the abnormality from further spreading, affecting the accuracy of the simulation results, and may even cause the simulation software to crash. By exiting the current simulation in time, the stability of the simulation software and the system can be protected, providing a good foundation for subsequent processing. Then, the system will prepare the comprehensive parameters corresponding to the n+1th working condition and send these parameters to the simulation software. By sending the comprehensive parameters corresponding to the n+1th working condition, the system can ensure that the simulation software can start the simulation of the next working condition based on the correct information. After receiving the comprehensive parameters of the n+1th working condition, the simulation software constructs a corresponding simulation model based on the comprehensive parameters of the n+1th working condition, performs simulation calculations, and finally generates the simulation result data of the n+1th working condition.
[0110] In this implementation, when an exception occurs in the simulation of a certain working condition, the system can exit the current simulation in time and switch to the next working condition for simulation, thereby avoiding the problem of simulation interruption or inaccurate results caused by the exception. This exception handling method is of great significance for improving simulation efficiency and ensuring the accuracy of simulation results.
[0111] As an optional implementation, step S203 "outputting simulation result data of each working condition" includes:
[0112] After receiving the simulation result data of all working conditions output by the simulation software, the simulation result data of each working condition is processed according to a preset data processing strategy to obtain a data processing result, and the data processing result is output. The data processing includes at least one of data conversion, data cleaning, data analysis, data visualization and data storage.
[0113] The preset data processing strategy can be understood as a set of pre-set and stored data processing rules and processes. The specific strategy is determined based on factors such as simulation objectives, user needs, and data characteristics, and this application does not limit this. The data processing strategy aims to improve the readability, accuracy, and practicality of simulation result data through data processing operations.
[0114] Taking the simulation project of the powertrain suspension system as an example, the simulation result data may include the total dynamic translation displacement, the total dynamic rotation angle, the suspension displacement and suspension force of each suspension (depending on the number of suspensions), etc. By processing these data, such as data cleaning, data analysis and data visualization, users can more intuitively understand the performance of the powertrain suspension system under different working conditions, thereby providing strong data support for the optimization and improvement of the system.
[0115] Optionally, data conversion includes converting at least one data dimension into multiple representations to meet different viewing and analysis needs of users. This conversion is implemented based on existing mathematical conversion formulas or algorithms, and this application does not make specific limitations on this. Exemplarily, in the simulation project of the powertrain suspension system, the dynamic total rotation angle in the simulation result data exists in the representation of 313 Euler angles, and the simulation result data of each working condition is processed according to a preset data processing strategy, including: converting the dynamic total rotation angle in the simulation result data from 313 Euler angles to an angle with the global coordinate system, or to other representations such as 123RPY angles, so that the system supports the representation of the dynamic total rotation angle in multiple representations such as the angle of the global coordinate system, 313 Euler angles, and 123RPY angles, and users can flexibly switch between these representations according to their needs or preferences.
[0116] Optionally, when the simulation progress of a certain working condition is abnormal, resulting in failure to obtain correct simulation result data, the system can perform special processing on the simulation result data, such as filling 0 or null values, to identify the data as abnormal or missing data. This implementation method can maintain the integrity of the data set and prevent abnormal data from interfering with subsequent analysis.
[0117] Exemplary Devices
[0118] Corresponding to the above-mentioned multi-operating condition simulation method, an embodiment of the present application also provides a multi-operating condition simulation device, which is applied to a simulation system, and the simulation system includes simulation software. Figure 5 is a schematic diagram of the structure of a multi-operating condition simulation device provided in an embodiment of the present application, such as Figure 5 As shown, the multi-operating condition simulation device provided in the embodiment of the present application includes:
[0119] The first unit 501 is used to obtain model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of operating condition model elements under multiple operating conditions;
[0120] The second unit 502 is used to call the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generate simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include the simulation parameters of the general model element and the simulation parameters of the working condition model element under the working condition;
[0121] The third unit 503 is used to output simulation result data of each working condition.
[0122] This application obtains the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under multiple working conditions at one time, and then calls the simulation software to automatically simulate each working condition. The user only needs to perform one operation to start the simulation tasks of multiple working conditions and obtain the simulation results of multiple working conditions, which greatly simplifies the workflow and improves work efficiency. In addition, through automated processing, the tedious process of manually adjusting parameters and managing multiple models in traditional methods is avoided, which not only reduces the errors caused by human operation, but also ensures the consistency and correctness of parameter settings, and improves the reliability and credibility of the simulation.
[0123] Optionally, the second unit 502 may be specifically used for:
[0124] After obtaining the simulation result data of the i-th working condition generated by the simulation software, the comprehensive parameters corresponding to the i+1-th working condition are sent to the simulation software, and the simulation software is called to simulate the i+1-th working condition based on the comprehensive parameters corresponding to the i+1-th working condition to generate the simulation result data of the i+1-th working condition, where i is a positive integer.
[0125] Optionally, the second unit 502 may also be used for:
[0126] When it is detected that the simulation progress of the simulation software for the nth working condition is abnormal, controlling the simulation software to exit the current simulation;
[0127] The comprehensive parameters corresponding to the n+1th working condition are sent to the simulation software, and the simulation software is called to simulate the n+1th working condition based on the comprehensive parameters corresponding to the n+1th working condition to generate simulation result data of the n+1th working condition, where n is a positive integer.
[0128] Optionally, the first unit 501 may be specifically used for:
[0129] In response to an upload operation by a user, a first data file is acquired, wherein the first data file includes first data representing simulation parameters of the general model element and second data representing simulation parameters of the operating condition model element under multiple operating conditions;
[0130] The first data is parsed to obtain simulation parameters of the general model element, and the second data is parsed to obtain simulation parameters of the operating condition model element under multiple operating conditions.
[0131] Optionally, the third unit 503 may be specifically used for:
[0132] After receiving the simulation result data of all working conditions output by the simulation software, data processing is performed on the simulation result data of each working condition according to a preset data processing strategy to obtain a data processing result, wherein the data processing includes at least one of data conversion, data cleaning, data analysis, data visualization and data storage;
[0133] The data processing result is outputted.
[0134] Optionally, the project to be simulated is a simulation project of a powertrain suspension system, the general model elements include powertrain model elements and suspension system model elements, and the operating condition model elements include powertrain six-direction force modeling elements, wherein the powertrain six-direction force modeling elements are determined based on powertrain acceleration and load torque.
[0135] The multi-operating condition simulation device provided in this embodiment belongs to the same application concept as the multi-operating condition simulation method provided in the above embodiments of this application, and can execute the multi-operating condition simulation method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the multi-operating condition simulation method. For the technical details not fully described in this embodiment, please refer to the specific processing content of the multi-operating condition simulation method provided in the above embodiments of this application, which will not be repeated here.
[0136] The functions implemented by the above first unit 501, the second unit 502 and the third unit 503 may be implemented by the same or different processors, respectively, and the embodiment of the present application is not limited thereto.
[0137] It should be understood that the units in the above devices can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the units in the device can be implemented in the form of hardware circuits, and the functions of some or all units can be realized by designing the hardware circuits. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD, taking FPGA as an example, which can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured by the configuration file, so as to realize the functions of some or all of the above units. All units of the above devices can be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the remaining part is implemented in the form of hardware circuits.
[0138] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0139] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0140] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0141] Exemplary Electronic Devices
[0142] Another embodiment of the present application also provides an electronic device, see Figure 6 As shown, the device includes:
[0143] Memory 200 and processor 210;
[0144] The memory 200 is connected to the processor 210 and is used to store programs;
[0145] The processor 210 is used to implement the multi-operating condition simulation method disclosed in any of the above embodiments by running the program stored in the memory 200.
[0146] Specifically, the electronic device may further include: a bus, a communication interface 220 , an input device 230 and an output device 240 .
[0147] The processor 210, the memory 200, the communication interface 220, the input device 230 and the output device 240 are connected to each other via a bus.
[0148] A bus may include a pathway that transfers information between components of a computer system.
[0149] The processor 210 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0150] The processor 210 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0151] The memory 200 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 200 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0152] The input device 230 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0153] Output device 240 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0154] The communication interface 220 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Network (WLAN), etc.
[0155] The processor 210 executes the program stored in the memory 200 and calls other devices, which can be used to implement each step of any multi-operating condition simulation method provided in the above embodiments of the present application.
[0156] An embodiment of the present application also proposes a chip, which includes a processor and a data interface. The processor reads and runs the program stored in the memory through the data interface to execute the multi-operating condition simulation method introduced in any of the above embodiments. The specific processing process and its beneficial effects can be found in the above-mentioned embodiment introduction of the multi-operating condition simulation method.
[0157] Exemplary computer program products and storage media
[0158] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the multi-operating condition simulation method according to various embodiments of the present application described in any of the above embodiments of this specification.
[0159] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0160] In addition, the embodiment of the present application may also be a storage medium on which a computer program is stored. The computer program is executed by a processor to execute the steps of the multi-operating condition simulation method according to various embodiments of the present application described in any of the above embodiments of this specification, and specifically the following steps may be implemented:
[0161] S201, obtaining model element parameters of a project to be simulated, wherein the model element parameters include simulation parameters of a general model element and simulation parameters of a working condition model element under multiple working conditions;
[0162] S202, calling simulation software to simulate each working condition based on comprehensive parameters corresponding to each working condition, and generating simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include simulation parameters of the general model element and simulation parameters of the working condition model element under the working condition;
[0163] S203, output simulation result data of each working condition.
[0164] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0165] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0166] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0167] The modules and sub-modules in the devices and terminals in the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0168] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0169] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0170] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0171] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0172] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0173] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including a..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0174] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A multi-operating condition simulation method, characterized in that: Applied to a simulation system, the simulation system includes simulation software, and the method includes: Acquire model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of operating condition model elements under multiple operating conditions; Calling simulation software to simulate each working condition based on comprehensive parameters corresponding to each working condition, and generating simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include simulation parameters of the general model element and simulation parameters of the working condition model element under the working condition; Output the simulation result data of each working condition.
2. The method according to claim 1, characterized in that The calling simulation software simulates each working condition based on the comprehensive parameters corresponding to each working condition, and generates simulation result data for each working condition, including: After obtaining the simulation result data of the i-th working condition generated by the simulation software, the comprehensive parameters corresponding to the i+1-th working condition are sent to the simulation software, and the simulation software is called to simulate the i+1-th working condition based on the comprehensive parameters corresponding to the i+1-th working condition to generate the simulation result data of the i+1-th working condition, where i is a positive integer.
3. The method according to claim 2, characterized in that The method further comprises: When it is detected that the simulation progress of the simulation software for the nth working condition is abnormal, controlling the simulation software to exit the current simulation; The comprehensive parameters corresponding to the n+1th working condition are sent to the simulation software, and the simulation software is called to simulate the n+1th working condition based on the comprehensive parameters corresponding to the n+1th working condition to generate simulation result data of the n+1th working condition, where n is a positive integer.
4. The method according to claim 1, characterized in that: The step of obtaining the model element parameters of the project to be simulated includes: In response to an upload operation by a user, a first data file is acquired, wherein the first data file includes first data representing simulation parameters of the general model element and second data representing simulation parameters of the operating condition model element under multiple operating conditions; The first data is parsed to obtain simulation parameters of the general model element, and the second data is parsed to obtain simulation parameters of the operating condition model element under multiple operating conditions.
5. The method according to claim 1, characterized in that: The output of simulation result data of each working condition includes: After receiving the simulation result data of all working conditions output by the simulation software, data processing is performed on the simulation result data of each working condition according to a preset data processing strategy to obtain a data processing result, wherein the data processing includes at least one of data conversion, data cleaning, data analysis, data visualization and data storage; The data processing result is outputted.
6. The method according to any one of claims 1 to 5, characterized in that The project to be simulated is a simulation project of a powertrain suspension system, the general model elements include powertrain model elements and suspension system model elements, and the operating condition model elements include powertrain six-direction force modeling elements, wherein the powertrain six-direction force modeling elements are determined based on powertrain acceleration and load torque.
7. A multi-operating condition simulation device, characterized in that: Applied to a simulation system, the simulation system includes simulation software, and the device includes: The first unit is used to obtain model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of working condition model elements under multiple working conditions; The second unit is used to call the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generate simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include the simulation parameters of the general model element and the simulation parameters of the working condition model element under the working condition; The third unit is used to output the simulation result data of each working condition.
8. An electronic device, characterized in that: including memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the multi-operating condition simulation method as described in any one of claims 1 to 6 by running the program in the memory.
9. A computer program product, characterized in that The method comprises computer program instructions, which, when executed by a processor, enable the processor to implement the multi-operating condition simulation method as described in any one of claims 1 to 6.
10. A simulation system, characterized in that: include: A processing module and simulation software, wherein the processing module is communicatively connected with the simulation software; The processing module is used to obtain model element parameters of the project to be simulated, wherein the model element parameters include simulation parameters of general model elements and simulation parameters of working condition model elements under multiple working conditions; call the simulation software to simulate each working condition based on the comprehensive parameters corresponding to each working condition, and generate simulation result data for each working condition, wherein the comprehensive parameters corresponding to each working condition include simulation parameters of the general model elements and simulation parameters of the working condition model elements under the working condition; and output simulation result data for each working condition; The simulation software is used to simulate each working condition based on the comprehensive parameters corresponding to each working condition to generate simulation result data for each working condition. The comprehensive parameters corresponding to each working condition include the simulation parameters of the general model elements and the simulation parameters of the working condition model elements under the working condition.
Citation Information
Cited By
Agricultural transmission shaft reliability simulation system based on deep reinforcement learning
CN120611611A