Simulation method, simulation system and computer readable storage medium
By selecting the target simulation template and configuration parameters on the client side and automatically executing simulation calculations on the server side, the problem of long simulation time and low efficiency caused by the complexity of engineering vehicle simulation models is solved, and an efficient and accurate simulation process is achieved.
Patent Information
- Application Number
- CN202510894194.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-26
AI Technical Summary
The simulation models of the mechanical, electrical, and hydraulic systems of engineering vehicles such as excavators are complex and require high computer computing power. Existing simulation methods suffer from long simulation times and low efficiency, especially when simulation models and parameters need to be frequently modified during the design process.
Provided is a simulation method and system, which selects a target simulation template and configures target simulation parameters through a client, uses a server to perform simulation calculations, automatically executes simulation calculations, reduces manual operations, and supports the generation and sharing of simulation templates.
It improves simulation efficiency and accuracy, reduces simulation time, simplifies operation processes, and supports multi-user sharing of simulation resources and templates.
Smart Images

Figure CN120706113A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of engineering machinery, and in particular to a simulation method and simulation system, and a computer-readable storage medium. Background Art
[0002] The simulation models for the mechanical, electrical, and hydraulic systems of engineering vehicles like excavators are complex and require high computing power, often requiring dedicated, high-performance simulation servers. As the demand for simulation computing grows during R&D, simulation models must be repeatedly modified and iterated during the design process. Each iteration requires users to manually modify component models and parameters within the simulation model, then manually submit the simulation file for calculation. However, this approach suffers from issues such as long simulation times and low efficiency. Summary of the Invention
[0003] The purpose of this application is to provide a simulation method and simulation system, and a computer-readable storage medium to at least solve the problems in the related art.
[0004] To achieve the above objectives: In a first aspect, an embodiment of the present application provides a simulation method, applied to a client, the method comprising: In response to a simulation template selection operation for a model to be simulated, determining a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating parameters of the simulation model and an element model with replaceable sub-element models; In response to a configuration operation on the target simulation template, target simulation parameters configured for the model to be simulated are determined; the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; Sending a simulation calculation request including the target simulation parameters and the target simulation template identifier to the first server to request simulation calculation of the to-be-simulated model based on the target simulation template and the target simulation parameters; Receive and output the simulation result returned by the first server.
[0005] In a possible implementation, before determining the target simulation template corresponding to the model to be simulated in response to the simulation template selection operation for the model to be simulated, the method includes: In response to a request for displaying a simulation template of the model to be simulated, sending a request for obtaining a simulation template for the model to be simulated to the first server; Acquire and display at least one simulation template of the model to be simulated returned by the first server. In a possible implementation, before determining the target simulation template corresponding to the model to be simulated in response to the simulation template selection operation for the model to be simulated, the method includes: Sending a simulation template generation request including the model to be simulated to the first server; receiving an initial simulation template for the model to be simulated returned by the first server; the initial simulation template including all operating parameters, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model of the model to be simulated; In response to the configuration operation on the initial simulation template, generating a simulation template of the model to be simulated; Sending the simulation template of the model to be simulated to the first server.
[0006] In a possible implementation manner, before sending the simulation template generation request including the model to be simulated to the first server, the process includes: A component model library is obtained and uploaded to the first server; the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated.
[0007] In a second aspect, an embodiment of the present application provides a simulation method, applied to a first server, the method comprising: Receive a simulation calculation request sent by a client; the simulation calculation request includes target simulation parameters and a target simulation template identifier for a simulation model to be configured, the target simulation parameters including target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; Sending a simulation request to a second server to request the second server to perform simulation calculation on the model to be simulated; the simulation request includes the target simulation parameters and the target simulation template corresponding to the target simulation template identifier; Receive the simulation result returned by the second server based on the simulation request, and send the simulation result to the client.
[0008] In one possible implementation, the method further includes: Obtaining a simulation template generation request uploaded by the client, which includes the model to be simulated; Sending a parsing request including the model to be simulated to the second server, and obtaining a parsing result returned by the second server; the parsing result including all operating parameters, all output parameters, an identifier of a replaceable component model, and an identifier of a sub-component model corresponding to the replaceable component model of the model to be simulated; Sending an initial simulation template of the model to be simulated to the client; the initial simulation template includes all operating parameters of the model to be simulated, the replaceable component model identifier and the corresponding sub-component model identifier; Receive and store the simulation template of the model to be simulated sent by the client.
[0009] In one possible implementation, the method further includes: receiving a component model library uploaded by the client, wherein the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The component model library is sent to the second server, so that the second server stores the component model library and loads the component model library into simulation software.
[0010] In a third aspect, an embodiment of the present application provides a simulation method, applied to a second server, the method comprising: Receive a simulation request sent by the first server; the simulation request includes target simulation parameters and a target simulation template for configuring a simulation model, the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; According to the target simulation parameters, the simulation software is called to modify the model to be simulated and then perform simulation calculation to obtain simulation calculation results; Generate a simulation result according to the target simulation template and the simulation calculation result, and send the simulation result to the first server.
[0011] In a possible implementation manner, before receiving the simulation request sent by the first server, the process includes: receiving a parsing request including the model to be simulated, sent by the first server; The model to be simulated is stored, and based on a preset component model library, the simulation software is called to analyze the model to be simulated to obtain an analysis result; the analysis result includes all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model; Send the parsing result to the first server.
[0012] In a possible implementation manner, before receiving the simulation request sent by the first server, the method further includes: receiving the component model library sent by the first server, wherein the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The component model library is stored and loaded into the simulation software.
[0013] In a fourth aspect, an embodiment of the present application provides a simulation system, comprising: a client, a first server connected to the client for communication, and a second server connected to the first server for communication; wherein, The client is configured to, in response to a simulation template selection operation on a model to be simulated, determine a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating condition parameters and a component model having a replaceable sub-component model in the simulation model; in response to a configuration operation on the target simulation template, determine target simulation parameters configured for the model to be simulated; the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a sub-component model that replaces the target component model; and send a simulation calculation request including the target simulation parameters and the identifier of the target simulation template to the first server; The first server is configured to receive a simulation calculation request sent by the client and send a simulation request to the second server to request the second server to perform simulation calculation on the model to be simulated; the simulation request includes the target simulation parameters and the target simulation template corresponding to the target simulation template identifier; The second server is configured to receive a simulation request sent by the first server; call simulation software to modify the model to be simulated according to the target simulation parameters and then perform simulation calculations to obtain simulation calculation results; generate simulation results according to the target simulation template and the simulation calculation results, and send the simulation results to the first server; The first server is further configured to receive a simulation result returned by the second server based on the simulation request, and send the simulation result to the client; The client is further configured to receive and output the simulation result returned by the first server.
[0014] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the simulation method as described in any of the above aspects.
[0015] The simulation method, simulation system, and computer-readable storage medium provided by the embodiment of the present application include: in response to a simulation template selection operation for a model to be simulated, determining a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure the operating parameters of the simulation model and the component model with a replaceable sub-component model; in response to a configuration operation on the target simulation template, determining the target simulation parameters configured for the model to be simulated; the target simulation parameters include the target operating parameters, the target component model identifier to be replaced, and the sub-component model identifier that replaces the target component model; sending a simulation calculation request including the target simulation parameters and the target simulation template identifier to a first server to request simulation calculation of the model to be simulated based on the target simulation template and the target simulation parameters; receiving and outputting the simulation result returned by the first server. In this way, by configuring the simulation template of the simulation model, the operating parameters and the replacement component model of the simulation model can be modified, and then the simulation calculation can be automatically performed, without having to modify the simulation file of the simulation model every time the parameters are modified, which can effectively reduce manual operations, shorten simulation time, improve simulation efficiency and accuracy, and is convenient to operate. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Schematic diagram of the simulation method provided in this embodiment Figure 1 .
[0017] Figure 2 Schematic diagram of the simulation method provided in this embodiment Figure 2 .
[0018] Figure 3 Schematic diagram of the simulation method provided in this embodiment Figure 3 .
[0019] Figure 4 A schematic diagram of the structure of the simulation system provided in an embodiment of the present application.
[0020] Figure 5 A schematic diagram of the interactive process of the simulation method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements.
[0022] It should be noted that, in this document, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0023] It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, without departing from the scope of this document, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the term "if" as used herein may be interpreted as "at the time of," "when," or "in response to a determination." Furthermore, as used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, steps, operations, elements, components, items, types, and / or groups, but do not exclude the presence, occurrence, or addition of one or more other features, steps, operations, elements, components, items, types, and / or groups. The terms "or" and "and / or" as used herein are to be interpreted as inclusive, meaning any one or any combination. Thus, “A, B, or C” or “A, B, and / or C” means “any of: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition occurs only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0024] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are shown in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless clearly stated herein, the execution of these steps is not strictly limited in order, and they can be performed in other orders. Moreover, some of the steps in the figure may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or sub-steps of other steps or parts of stages.
[0025] It should be noted that in this article, step codes such as S101 and S102 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the order. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.
[0026] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0027] In the subsequent description, the use of suffixes such as "module", "component" or "unit" to represent elements is only for the purpose of facilitating the description of the present application and has no specific meaning. Therefore, "module", "component" or "unit" can be used interchangeably.
[0028] The simulation models for the mechanical, electrical, and hydraulic systems of engineering vehicles like excavators are complex and require high computing power, often requiring dedicated, high-performance simulation servers. As the demand for simulation computing grows during R&D, the simulation models must be repeatedly modified and iterated during the design process, straining computing resources and impacting design efficiency.
[0029] Excavator system design requires multidisciplinary system co-simulation. The simulation parameter setting process is cumbersome, simulation time is long, and computer computing power is high. Furthermore, multiple design-simulation iterations are required. Frequent model changes, parameter modifications, and calculation submissions consume a significant amount of simulation engineer time. Large simulation files, in particular, increase loading times, further impacting simulation efficiency.
[0030] For the above questions, see Figure 1 The embodiment of the present application provides a simulation method. The simulation method can be executed by a simulation device provided in the embodiment of the present application. The simulation device can be implemented in software and / or hardware, such as a computer or other electronic device. In this embodiment, the execution subject of the simulation method is a client as an example. The client can specifically be a computer or other device. The simulation method provided in this embodiment includes: Step S101 : In response to a simulation template selection operation for a model to be simulated, determining a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating parameters of the simulation model and a component model with replaceable sub-component models.
[0031] In this embodiment, the model to be simulated is used to indicate the model that needs to be simulated, which can specifically be a hydraulic system simulation model, an electrical system simulation model, etc. in an engineering vehicle, and can be set based on actual needs. When a user needs to simulate the model to be simulated based on research and development, production, etc., he can input an operation instruction to the client to select a simulation template of the model to be simulated. Correspondingly, the client selects an operation based on the simulation template of the model to be simulated to determine the target simulation template corresponding to the model to be simulated. The simulation template is used to configure the working condition parameters and the component model with replaceable sub-component models in the simulation model. The working condition parameters are used to indicate the simulation working condition of the simulation model, and may include the input parameters of the simulation model, environmental parameters (such as ambient temperature, altitude, etc.), simulation control parameters (such as simulation step size, simulation duration, etc.), etc.
[0032] Among them, the simulation template also includes the output parameters of the simulation model. It should be noted that the output parameters contained in the simulation template may only be part of the output parameters of the corresponding simulation model. The component model refers to the basic component model in the simulation model, such as the hydraulic cylinder, sensor, motor, etc. In the simulation software, each component model can describe its physical behavior through mathematical equations, such as the correspondence between flow and pressure, kinematic equations, etc. The sub-component model refers to a replaceable and refined version of the component model. For example, the component model corresponding to the hydraulic cylinder may contain multiple sub-component models, such as a simplified model (i.e., an ideal flow equation), a high-precision model (complex equations containing leakage and transient response), etc.
[0033] In one embodiment, before step S101, the following steps are included: In response to a simulation template display request for the model to be simulated, sending a simulation template acquisition request for the model to be simulated to the first server; Acquire and display at least one simulation template of the model to be simulated returned by the first server.
[0034] Specifically, after receiving a request to display a simulation template of the model to be simulated, the client can send a request to obtain a simulation template for the model to be simulated to the first server to request to obtain the simulation template of the model to be simulated, and after obtaining at least one simulation template of the model to be simulated returned by the first server, display at least one simulation template of the model to be simulated for the user to select.
[0035] The display interface of the client may display a simulation template display button for each simulation model. When the simulation template display button of the model to be simulated is detected to be triggered, a simulation template display request for the model to be simulated will be detected. It should be noted that at least one simulation template of the model to be simulated may also be pre-loaded into the client to facilitate the user to quickly select the desired simulation template. In actual applications, the client may provide a simulation interface to obtain simulation requirements input by the user, including obtaining simulation template selection operations, configuration operations on simulation templates, etc.
[0036] In this way, users can obtain the simulation template of the simulation model at any time based on their needs for selection, so that no matter where the users are, they can view the simulation template of the simulation model anytime and anywhere, thereby improving the adaptability of the simulation.
[0037] In one embodiment, before step S101, the following steps are included: Sending a simulation template generation request including a model to be simulated to the first server; Receive an initial simulation template for the model to be simulated returned by the first server; the initial simulation template includes all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model; In response to the configuration operation on the initial simulation template, a simulation template of the model to be simulated is generated; Sending a simulation template of the model to be simulated to the first server.
[0038] Specifically, one or more simulation templates can be pre-configured for the model to be simulated based on demand. Specifically, after receiving a simulation template creation request, the client can send a simulation template generation request including the model to be simulated to the first server to request an initial simulation template for the model to be simulated. After receiving the initial simulation template for the model to be simulated returned by the first server based on the simulation template generation request, the client generates a simulation template for the model to be simulated in response to a configuration operation on the initial simulation template, and sends the simulation template of the model to be simulated to the first server.
[0039] The initial simulation template of the model to be simulated may include all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component models. The sub-component model identifiers corresponding to the replaceable component models may include all sub-component model identifiers that can replace the component model. Based on the simulation scenario requirements, the client receives configuration operations on the initial simulation template, including selection operations on input parameters, output parameters, and replaceable component model identifiers (including selection of component model identifiers to be replaced and sub-component model identifiers to be replaced), to generate a simulation template for the model to be simulated. After generating the simulation template for the model to be simulated, the client also needs to send the simulation template to the first server, so that the client and other clients can access the simulation template of the model to be simulated anytime and anywhere, thereby achieving simulation template sharing. It should be noted that whether a component model is replaceable is determined based on a preset component model library. If a component model has a corresponding sub-component model in the component model library, the component model is considered replaceable. In addition, the initial simulation template of the model to be simulated may also include non-replaceable component models of the model to be simulated. Of course, the simulation template of the model to be simulated may also include initial values, ie, default values, corresponding to all operating parameters of the model to be simulated, which can be set by the user based on needs.
[0040] For example, assuming that the input parameters of the model to be simulated include A, B, and C, the output parameters include D and E, the component models include a and b, and the component model a has replaceable sub-component models a1, a2, and a3, then the initial simulation template of the model to be simulated may include parameters A, B, C, D, and E, component model identifiers a and b, and the replaceable sub-component model identifiers a1, a2, and a3 of the component model a. If the configuration operation of the initial simulation template includes selecting A and B as input parameters, selecting E as output parameter, and selecting a2 as the sub-component model to replace the component model a, the corresponding simulation template of the model to be simulated may include parameters A, B, and E, component model identifiers a and b, and the corresponding relationship of a2 replacing a.
[0041] In this way, the simulation template of the simulation model can be flexibly configured based on the needs, which facilitates the subsequent flexible and rapid calling of the simulation template for simulation calculation based on the simulation needs, enhances the scalability of the simulation needs, and further improves the simulation efficiency.
[0042] In one embodiment, before sending a simulation template generation request including a model to be simulated to the first server, the process includes: A component model library is obtained and uploaded to the first server; the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated.
[0043] For some component models that can have multiple sub-component models, corresponding sub-component models may need to be used for simulation in different simulation scenarios. Therefore, after obtaining a component model library consisting of sub-component models corresponding to at least one component model in the model to be simulated, the client can upload the component model library to the first server, so that the component model library can be pre-loaded into the simulation software through the first server, so that the component model can be directly replaced for simulation calculations later. This improves the scalability and customization of simulation calculations.
[0044] Step S102 : In response to the configuration operation on the target simulation template, determine the target simulation parameters for the model to be simulated; the target simulation parameters include target operating condition parameters, the identifier of the target component model to be replaced, and the identifier of the subcomponent model that replaces the target component model.
[0045] Based on the received configuration operation for the target simulation template, the client can determine the target simulation parameters configured for the model to be simulated, such as the input values of the operating condition parameters and which component models need to be replaced. It should be noted that the target operating condition parameters configured for the model to be simulated can be considered as defining specific values for the operating condition parameters of the model to be simulated. The identifier of the target component model to be replaced and the identifier of the subcomponent model that replaces the target component model configured for the model to be simulated can be considered as determining which component models in the model to be simulated, how to replace them, and which subcomponent models to replace them with.
[0046] For example, assuming that the input parameters in the target simulation template include A and B, the component models include a and b, and the component model a has replaceable sub-component models a1, a2, and a3, if the configuration operation of the target simulation template includes setting the value of A to 1 and the value of B to 2, and selecting a3 as the sub-component model to replace the component model a, the corresponding target simulation parameters for the simulation model to be configured include A=1, B=2, the target component model identifier a to be replaced, and the sub-component model identifier a3 to replace the target component model a.
[0047] Step S103: Send a simulation calculation request including target simulation parameters and a target simulation template identifier to the first server to request simulation calculation of the to-be-simulated model based on the target simulation template and the target simulation parameters.
[0048] Specifically, after determining the target simulation parameters for the simulation model to be configured, the client sends a simulation calculation request including the target simulation parameters and the target simulation template identifier to the first server to request simulation calculation of the simulation model to be simulated based on the target simulation template and the target simulation parameters.
[0049] Step S104: Receive and output the simulation result returned by the first server.
[0050] Specifically, after receiving the simulation result returned by the first server based on the simulation calculation request, the client outputs the simulation result in a timely manner.
[0051] In addition, the client can also receive and output the real-time calculation progress sent by the first server, so that the user can know the simulation progress.
[0052] In summary, the simulation method provided in the above embodiment allows the operating parameters of the simulation model to be modified and component models to be replaced by configuring the simulation template of the simulation model, thereby automatically performing simulation calculations. This eliminates the need to modify the simulation file of the simulation model each time a parameter is modified. This effectively reduces manual operation, shortens simulation time, improves simulation efficiency and accuracy, and facilitates operation. Furthermore, it supports multiple users sharing simulation templates and computing resources and performing simulation calculations simultaneously.
[0053] See Figure 2 The embodiment of the present application provides a simulation method. The simulation method can be executed by a simulation device provided in the embodiment of the present application. The simulation device can be implemented in software and / or hardware, such as an electronic device such as a server. In this embodiment, the execution subject of the simulation method is a first server as an example. The first server can specifically be a device such as a server. The simulation method provided in this embodiment includes: Step S201, receiving a simulation calculation request sent by a client; the simulation calculation request includes target simulation parameters and target simulation template identifiers for the simulation model to be configured, the target simulation parameters include target operating condition parameters, the target component model identifier to be replaced, and the subcomponent model identifier of the replacement target component model.
[0054] The target simulation parameters are generated by configuring a target simulation template. The simulation template is used to configure the operating parameters of the simulation model and the component model with replaceable sub-component models. The operating parameters indicate the simulation operating conditions of the simulation model and may include the simulation model's input parameters, environmental parameters (such as ambient temperature and altitude), and simulation control parameters (such as simulation step size and simulation duration). In this embodiment of the present application, the first server can be a Linux-based server to stably and efficiently process processing requests sent by the client.
[0055] In one embodiment, before step S201, the following steps are included: Receive a simulation template acquisition request for a model to be simulated sent by a client; In response to the simulation template acquisition request, at least one simulation template of the model to be simulated is sent to the client.
[0056] The first server can store simulation templates for the model to be simulated and, upon receiving a simulation template acquisition request from the client, send the corresponding simulation template to the client for the user to select. This allows users to obtain simulation templates for the simulation model at any time based on their needs, allowing them to request simulation templates for the simulation model anytime and anywhere, regardless of their location, thus improving the adaptability of the simulation.
[0057] Step S202: Send a simulation request to the second server to request the second server to perform simulation calculation on the to-be-simulated model; the simulation request includes target simulation parameters and a target simulation template corresponding to the target simulation template identifier.
[0058] The first server can determine the target simulation template corresponding to the target simulation template identifier based on the corresponding relationship between the simulation template and the simulation template identifier based on the locally stored simulation template. The first server can send the target simulation template corresponding to the target simulation template identifier to the second server, so that the second server can obtain information such as output parameters.
[0059] Step S203: Receive the simulation result returned by the second server based on the simulation request, and send the simulation result to the client.
[0060] Specifically, after receiving the simulation result returned by the second server based on the simulation request, the first server sends the simulation result to the client to complete the simulation calculation. In addition, the first server can also receive the real-time calculation progress sent by the second server and send the real-time calculation progress to the client.
[0061] In summary, the simulation method provided in the above embodiment allows the operating parameters of the simulation model to be modified and component models to be replaced by configuring the simulation template of the simulation model, thereby automatically performing simulation calculations. This eliminates the need to modify the simulation file of the simulation model each time a parameter is modified. This effectively reduces manual operation, shortens simulation time, improves simulation efficiency and accuracy, and facilitates operation. Furthermore, it supports multiple users sharing simulation templates and computing resources and performing simulation calculations simultaneously.
[0062] In one embodiment, the method further comprises: Obtaining a simulation template generation request uploaded by a client, including a model to be simulated; Sending a parsing request including the model to be simulated to the second server, and obtaining a parsing result returned by the second server; the parsing result includes all operating parameters, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model of the model to be simulated; Sending an initial simulation template of the model to be simulated to the client; the initial simulation template includes all operating parameters, all output parameters, replaceable component model identifiers, and corresponding sub-component model identifiers of the model to be simulated; Receive and store the simulation template of the model to be simulated sent by the client. Specifically, after the first server receives a simulation template generation request including the model to be simulated sent by the client, it first sends a parsing request including the model to be simulated to the second server to request the second server to parse the model to be simulated. Then, after receiving the parsing result returned by the second server, it generates an initial simulation template of the model to be simulated based on all operating parameters, all output parameters, replaceable component model identifiers and sub-component model identifiers corresponding to the replaceable component models of the model to be simulated included in the parsing result, and sends the initial simulation template of the model to be simulated to the client so that the user configures the initial simulation template. Finally, it receives and stores the simulation template of the model to be simulated sent by the client.
[0063] Among them, the initial simulation template of the model to be simulated may include all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers and sub-component model identifiers corresponding to the replaceable component model. The sub-component model identifier corresponding to the replaceable component model may include all sub-component model identifiers that can replace the component model. The first server receives and stores the simulation template of the model to be simulated sent by the client, so that the client and other clients can call the simulation template of the model to be simulated anytime and anywhere, thereby realizing the sharing of simulation templates. It should be noted that whether the component model is replaceable is judged based on a preset component model library. If a component model has a corresponding sub-component model in the component model library, the component model is considered to be replaceable. In addition, the initial simulation template of the model to be simulated may also include the irreplaceable component model of the model to be simulated. Of course, the simulation template of the model to be simulated may also include the initial values, i.e., default values, corresponding to all the operating parameters of the model to be simulated, which can be set by the user based on needs.
[0064] In this way, the simulation template of the simulation model can be flexibly configured based on the needs, which facilitates the subsequent flexible and rapid calling of the simulation template for simulation calculation based on the simulation needs, enhances the scalability of the simulation needs, and further improves the simulation efficiency.
[0065] In one embodiment, the method further comprises: Receive a component model library uploaded by a client, where the component model library includes a sub-component model corresponding to at least one component model in a model to be simulated; The component model library is sent to the second server, so that the second server stores the component model library and loads the component model library into the simulation software.
[0066] For some component models that can have multiple sub-component models, corresponding sub-component models may need to be used for simulation in different simulation scenarios. Therefore, when the first server receives a component model library sent by the client and the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated, it can send the component model library to the second server, so that the second server can store the component model library and load the component model library into the simulation software, so that the component model can be directly replaced for simulation calculations in the future. This improves the scalability and customization of simulation calculations.
[0067] See Figure 3 The embodiment of the present application provides a simulation method. The simulation method can be executed by a simulation device provided in the embodiment of the present application. The simulation device can be implemented in software and / or hardware, such as an electronic device such as a server. In this embodiment, the execution subject of the simulation method is a second server as an example. The second server can specifically be a device such as a server. The simulation method provided in this embodiment includes: Step S301, receiving a simulation request sent by the first server; the simulation request includes target simulation parameters and target simulation template for the simulation model to be configured, the target simulation parameters include target operating parameters, the target component model identifier to be replaced, and the sub-component model identifier of the replacement target component model.
[0068] The target simulation parameters are generated by configuring a target simulation template. The simulation template is used to configure the operating parameters of the simulation model and the component model with replaceable sub-component models. The operating parameters indicate the simulation operating conditions of the simulation model and may include input parameters of the simulation model, environmental parameters (such as ambient temperature and altitude), simulation control parameters (such as simulation step size and simulation duration), etc. In this embodiment of the present application, the second server can be a Windows-based server to load the simulation software.
[0069] Step S302: According to the target simulation parameters, the simulation software is called to modify the model to be simulated and then perform simulation calculation to obtain the simulation calculation results.
[0070] Specifically, the second server calls the simulation software to modify the model to be simulated based on the target component model identifier to be replaced and the sub-component model identifier of the target component model to be replaced, combined with the preset component model library, to obtain the modified model to be simulated, and then based on the target operating condition parameters, calls the simulation software to perform simulation calculations on the modified model to be simulated to obtain simulation calculation results.
[0071] Among them, the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated. After receiving the simulation request sent by the first server, the second server can determine the sub-component model corresponding to the sub-component model identifier based on the target component model identifier to be replaced and the sub-component model identifier of the target component model to be replaced, combined with the preset component model library, and then call the simulation software to replace the component model of the model to be simulated according to the target component model identifier to be replaced and the sub-component model identifier corresponding to the sub-component model, so as to realize the modification of the model to be simulated. It should be noted that the simulation software can be specifically determined according to the type of the model to be simulated. For example, if the model to be simulated is a structural system simulation model, the corresponding simulation software can be Adams software; if the model to be simulated is a hydraulic system simulation model, the corresponding simulation software can be Amesim software. The second server can pre-store the model to be simulated, and of course the second server can also pre-load the model to be simulated into the simulation software.
[0072] Step S303: Generate a simulation result according to the target simulation template and the simulation calculation result, and send the simulation result to the first server.
[0073] Generating a simulation result based on the target simulation template and the simulation calculation result can be performed by filtering and matching the simulation calculation result based on the output parameters in the target simulation template to generate the simulation result. It is understood that the simulation calculation result may include all output parameters of the model to be simulated, while the output parameters in the target simulation template may only include some of the output parameters of the model to be simulated. Therefore, the simulation calculation result needs to be extracted in conjunction with the target simulation template to generate the simulation result. In addition, the second server can read the real-time calculation progress and send the real-time calculation progress to the first server.
[0074] In summary, the simulation method provided in the above embodiment allows the operating parameters of the simulation model to be modified and component models to be replaced by configuring the simulation template of the simulation model, thereby automatically performing simulation calculations. This eliminates the need to modify the simulation file of the simulation model each time a parameter is modified. This effectively reduces manual operation, shortens simulation time, improves simulation efficiency and accuracy, and facilitates operation. Furthermore, it supports multiple users sharing simulation templates and computing resources and performing simulation calculations simultaneously.
[0075] In one embodiment, before receiving the simulation request sent by the first server, the process includes: Receiving a parsing request including a model to be simulated sent by the first server; The model to be simulated is stored, and the model to be simulated is parsed based on the component model library to obtain parsing results; the parsing results include all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model; Send the parsing result to the first server.
[0076] Among them, after receiving the parsing request for parsing the model to be simulated sent by the first server, the second server will store the model to be simulated so that the model to be simulated can be called later for simulation calculation. At the same time, based on the component model library, the simulation software is called to parse the model to be simulated, thereby obtaining the parsing result, and then sending the parsing result to the first server. It can be understood that since the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated, the replaceable component model identifier and the sub-component model identifier corresponding to the replaceable component model can be determined based on the component model library. Calling the simulation software to parse the model to be simulated can be first calling the simulation software to open the model to be simulated to ensure that the model to be simulated can be opened and run, then parsing the parameter information of the model to be simulated through the parameter parsing interface of the simulation software, and parsing the variable result information of the model to be simulated through the variable parsing interface of the simulation software, and finally exporting the parameter information and variable result information to obtain the parsing result. In this way, the model to be simulated can be accurately and quickly parsed, thereby improving the accuracy of subsequent simulations.
[0077] In one embodiment, before receiving the simulation request sent by the first server, the method further includes: Receive a component model library sent by the first server, where the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The component model library is stored and loaded into the simulation software.
[0078] Among them, after receiving the component model library sent by the first server, the second server will store the component model library locally to facilitate the subsequent modification of the simulation model or as a backup of the model. At the same time, it will also load the component model library into the simulation software to determine whether the component model has a replaceable sub-component model when the simulation software parses the model.
[0079] It should be noted that the component model library includes not only the sub-component model corresponding to at least one component model in the model to be simulated, but also the sub-component model corresponding to at least one component model in other simulation models except the model to be simulated.
[0080] Based on the same inventive concept as the above embodiments, refer to Figure 4 The embodiment of the present application provides a simulation system, comprising: a client 1, a first server 2 connected to the client 1 for communication, and a second server 3 connected to the first server 1 for communication; wherein, Client 1 is configured to, in response to a simulation template selection operation for a model to be simulated, determine a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating condition parameters and a component model having replaceable sub-component models in the simulation model; in response to a configuration operation on the target simulation template, determine target simulation parameters configured for the model to be simulated; the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a sub-component model that replaces the target component model; and send a simulation calculation request including the target simulation parameters and the identifier of the target simulation template to a first server 2; The first server 2 is configured to receive a simulation calculation request sent by the client 1 and send the simulation request to the second server 3; the simulation request includes target simulation parameters and a target simulation template corresponding to the target simulation template identifier; The second server 3 is configured to receive a simulation request sent by the first server 2; call the simulation software to modify the locally stored model to be simulated according to target simulation parameters and then perform simulation calculations to obtain simulation calculation results; generate simulation results according to the target simulation template and the simulation calculation results, and send the simulation results to the first server 2; The first server 2 is further configured to receive the simulation result returned by the second server 3 based on the simulation request, and send the simulation result to the client 1; The client 1 is further configured to receive and output the simulation result returned by the first server 2 .
[0081] It should be noted that, for the specific process of the client 1, the first server 2 and the second server 3 implementing the simulation, reference can be made to the description of the aforementioned embodiment, which will not be repeated here.
[0082] In summary, the simulation system provided by the above embodiment allows the operating parameters of the simulation model to be modified and component models to be replaced by configuring the simulation template of the simulation model, thereby automatically performing simulation calculations. This eliminates the need to modify the simulation model's simulation file each time a parameter is modified. This effectively reduces manual operations, shortens simulation time, improves simulation efficiency and accuracy, and facilitates operation. Furthermore, it supports multiple users sharing simulation templates and computing resources and performing simulation calculations simultaneously.
[0083] In one embodiment, the client 1 is further configured to send a simulation template acquisition request for the model to be simulated to the first server 2 in response to a simulation template display request for the model to be simulated; The first server 2 is further configured to receive a simulation template acquisition request for the model to be simulated sent by the client 1, and send at least one simulation template of the model to be simulated to the client 1; The client 1 is further configured to obtain and display at least one simulation template of the model to be simulated returned by the first server 2 .
[0084] In one embodiment, the client 1 is further configured to send a simulation template generation request including the model to be simulated to the first server 2 in response to a simulation template creation request for the model to be simulated; The first server 2 is further configured to obtain a simulation template generation request including the model to be simulated uploaded by the client 1, and send a parsing request including the model to be simulated to the second server 2; The second server 3 is further configured to receive a parsing request including a model to be simulated sent by the first server 2; store the model to be simulated, and based on a preset component model library, call simulation software to parse the model to be simulated to obtain a parsing result; the parsing result includes all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model; and send the parsing result to the first server; The first server 2 is further configured to obtain the parsing result returned by the second server 3 and send an initial simulation template of the model to be simulated to the client 1; the initial simulation template includes all operating parameters, all output parameters, replaceable component model identifiers, and corresponding sub-component model identifiers of the model to be simulated; The client 1 is further configured to receive the initial simulation template for the model to be simulated returned by the first server 2, generate a simulation template for the model to be simulated in response to a configuration operation on the initial simulation template, and send the simulation template for the model to be simulated to the first server 2; The first server 2 is further configured to receive and store the simulation template of the model to be simulated sent by the client 1 .
[0085] In one embodiment, the client 1 is further configured to obtain a component model library and upload the component model library to the first server 2; the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The first server 2 is further configured to receive the component model library uploaded by the client 1 and send the component model library to the second server 3; The second server 3 is further configured to receive the component model library sent by the first server 2, store the component model library, and load the component model library into the simulation software.
[0086] Based on the same inventive concept as the above embodiments, the simulation method provided by the above embodiments is described below through a specific example. In this example, the client is a Web front-end, the first server is a Linux server, the second server is a Windows server, and the model to be simulated is a hydraulic system model.
[0087] See Figure 5The simulation method provided in this embodiment can be executed by a simulation system, which includes a Web front end, a Linux server and a Windows server; wherein, For the Web front-end, users can interact with the simulation system through the Web front-end interface, including uploading simulation models, configuring templates, submitting simulation calculations, and other operations; at the same time, the Web front-end is responsible for transmitting user operation instructions, uploaded models, etc. to the back-end service (such as Linux server) and displaying the simulation calculation process and results.
[0088] For the Linux server, it is responsible for receiving requests sent by the Web front-end, including uploading model files, configuring and saving simulation templates, submitting simulation calculations, etc.; it is responsible for passing requests to the Windows server, including modifying simulation parameters, parsing model parameters, etc.; it is responsible for storing user data, including simulation templates, simulation task information, historical simulation results, etc.
[0089] For the Windows server, it is responsible for receiving requests sent by the Linux server and storing the model file in the specified location; it is responsible for calling the simulation software to parse the parameters of the specified model, modifying the input parameters of the model or replacing the component sub-model according to the request, running simulation calculations, etc.; it is responsible for passing the parsed model parameters or simulation calculation results to the Linux server.
[0090] See Figure 5 The specific implementation process of the simulation method provided in this embodiment is described below: (1) The user accesses the simulation debugging platform (i.e., the user interface provided by the simulation system) through a web browser, creates a component model library locally, and uploads the self-built component model library (also called a model library file) to the Linux server through the web front-end. The Linux server parses the model library file and sends it to the Windows server. The Windows server saves the model library file to a specified location and loads the model library file configuration into the simulation software, allowing the component model library configuration to be performed in the simulation software.
[0091] (2) The user creates a hydraulic system model, including component models and their sub-models, through the Web front-end and uploads the hydraulic system model (also called a model file) to the Linux server through the Web front-end. The Linux server parses the model file and sends it to the Windows server. The Windows server saves the model file to a specified location and calls the Amesim simulation software to parse the parameters of the hydraulic system model. It reads the parameter list generated by the simulation software (including all input and output parameters) and sends it to the Linux server.
[0092] (3) The Linux server parses the parameter list and sends it to the Web front end, which displays the entire parameter list for the user to select.
[0093] (4) The user selects the required input and output parameters on the Web front end, chooses whether to replace the component sub-model, and configures the sub-model information to complete the simulation template configuration. The Web front end uploads the simulation template to the Linux server, and the Linux server saves the simulation template to the DB database.
[0094] (5) The user reads the simulation template from the DB database through the Web front-end, selects the simulation template, and then configures the simulation template, including modifying the input parameters, selecting the sub-model to be changed, setting the simulation duration, step size, and other information, and then submits the simulation calculation request to the Linux server. The Linux server receives and processes the simulation calculation request and sends the simulation request to the Windows server.
[0095] (6) Based on the simulation request, the Windows server calls the simulation software to perform simulation, including modifying the model's input parameters, replacing sub-models, and running calculations. The Windows server can read the real-time calculation progress and return the real-time calculation progress to the Linux server, which then displays the real-time calculation progress through the Web front-end.
[0096] (7) After the simulation software generates the calculation results, the Windows server reads the calculation results and returns them to the Linux server. The Linux server then displays the calculation results through the Web front-end, allowing users to view the corresponding calculation results on the Web front-end. In addition, the Linux server can store the simulation data, including the calculation results, in the Minio database.
[0097] (8) Users can also send a request to query historical simulation records to the Linux server through the Web front end. The Linux server reads information from the Minio database and returns the queried historical simulation records to the Web front end, including simulation tasks, simulation results, etc.
[0098] That is to say, first, upload the self-built component sub-model library on the front end (i.e., the Web front end) to the back end (including Linux server and Windows server), and configure the model library in the simulation software on the back end. Then, upload the model to be simulated on the front end to the back end. The back end automatically parses all input and output parameters based on the model and binds the parameters. A list of all modifiable parameters is displayed on the front end for the user to configure. The user selects the required input parameters and output parameters, and configures the component replaceable sub-model to form a simulation template. Then, when the user uses the simulation template for simulation calculations, he modifies the value of the input parameters on the front end, selects the component sub-model to be replaced, and submits the calculation to the back end. The back end will automatically modify the input parameters of the model and replace the component sub-model for simulation calculations. After the calculation is completed, the calculation results will be displayed on the front end for the user to view.
[0099] Compared with the prior art, the simulation method provided in this embodiment has the following advantages: Efficient Automation: Integration with simulation software enables efficient automated virtual commissioning. Users simply enter parameters and instructions through the web interface to automatically modify model parameters, replace component sub-models, and submit calculations. Manual operation and re-uploading of the model are eliminated, improving simulation efficiency and reducing the possibility of human error.
[0100] Cross-platform flexibility: Web-based technologies can run on multiple platforms, including PCs, mobile devices, and cloud servers. Users can access the technology simply by accessing the web interface through a browser, achieving cross-platform flexibility and convenience. Users can perform simulations and view results anytime, anywhere, regardless of their location.
[0101] Cloud Deployment and Collaboration: Modeling services can be deployed on cloud servers, leveraging the advantages of cloud deployment and distributed computing. Multiple users can access the platform simultaneously, sharing simulation templates, computing resources, and results. This enhances collaboration across teams and promotes innovation and knowledge sharing.
[0102] User-friendly interface: Web-based technology provides a simple and intuitive user interface, making parameter input and simulation calculations easier and more intuitive. Users can easily enter parameters, monitor the calculation process in real time, view simulation results, and quickly iterate. This lowers the barrier to entry and enables more users to participate in the simulation process.
[0103] Scalability and Customization: This method offers excellent scalability and customization capabilities. The flexible system architecture allows for customized development and functional expansion based on user needs and specific application scenarios. Users can add new simulation templates to meet specific working conditions.
[0104] Based on the same inventive concept as the aforementioned embodiment, an embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the simulation method described above.
[0105] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0106] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A simulation method, applied to a client, characterized in that: The method comprises: In response to a simulation template selection operation for a model to be simulated, determining a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating parameters of the simulation model and an element model with replaceable sub-element models; In response to a configuration operation on the target simulation template, target simulation parameters configured for the model to be simulated are determined; the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; Sending a simulation calculation request including the target simulation parameters and the target simulation template identifier to the first server to request simulation calculation of the to-be-simulated model based on the target simulation template and the target simulation parameters; Receive and output the simulation result returned by the first server.
2. The method according to claim 1, characterized in that Before determining the target simulation template corresponding to the model to be simulated in response to the simulation template selection operation for the model to be simulated, the method includes: In response to a request for displaying a simulation template of the model to be simulated, sending a request for obtaining a simulation template for the model to be simulated to the first server; Acquire and display at least one simulation template of the model to be simulated returned by the first server.
3. The method according to claim 2, characterized in that Before determining the target simulation template corresponding to the model to be simulated in response to the simulation template selection operation for the model to be simulated, the method includes: In response to a request to create a simulation template for the model to be simulated, sending a request to generate a simulation template including the model to be simulated to the first server; receiving an initial simulation template for the model to be simulated returned by the first server; the initial simulation template including all operating parameters, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model of the model to be simulated; In response to the configuration operation on the initial simulation template, generating a simulation template of the model to be simulated; Sending the simulation template of the model to be simulated to the first server.
4. The method according to claim 3, characterized in that Before sending the simulation template generation request including the model to be simulated to the first server, the method includes: A component model library is obtained and uploaded to the first server; the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated.
5. A simulation method, applied to a first server, characterized in that: The method comprises: Receive a simulation calculation request sent by a client; the simulation calculation request includes target simulation parameters and a target simulation template identifier for a simulation model to be configured, the target simulation parameters including target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; Sending a simulation request to a second server to request the second server to perform simulation calculation on the model to be simulated; the simulation request includes the target simulation parameters and the target simulation template corresponding to the target simulation template identifier; Receive the simulation result returned by the second server based on the simulation request, and send the simulation result to the client.
6. The method according to claim 5, characterized in that The method further comprises: Obtaining a simulation template generation request uploaded by the client, which includes the model to be simulated; Sending a parsing request including the model to be simulated to the second server, and obtaining a parsing result returned by the second server; the parsing result including all operating parameters, all output parameters, an identifier of a replaceable component model, and an identifier of a sub-component model corresponding to the replaceable component model of the model to be simulated; Sending an initial simulation template of the model to be simulated to the client; the initial simulation template includes all operating parameters, all output parameters, the replaceable component model identifier and the corresponding sub-component model identifier of the model to be simulated; Receive and store the simulation template of the model to be simulated sent by the client.
7. The method according to claim 6, characterized in that The method further comprises: receiving a component model library uploaded by the client, wherein the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The component model library is sent to the second server, so that the second server stores the component model library and loads the component model library into simulation software.
8. A simulation method, applied to a second server, characterized in that: The method comprises: Receive a simulation request sent by the first server; the simulation request includes target simulation parameters and a target simulation template for configuring a simulation model, the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a subcomponent model that replaces the target component model; According to the target simulation parameters, the simulation software is called to modify the model to be simulated and then perform simulation calculation to obtain simulation calculation results; Generate a simulation result according to the target simulation template and the simulation calculation result, and send the simulation result to the first server.
9. The method according to claim 8, characterized in that Before receiving the simulation request sent by the first server, the method includes: receiving a parsing request including the model to be simulated, sent by the first server; The model to be simulated is stored, and based on a preset component model library, the simulation software is called to analyze the model to be simulated to obtain an analysis result; the analysis result includes all operating parameters of the model to be simulated, all output parameters, replaceable component model identifiers, and sub-component model identifiers corresponding to the replaceable component model; Send the parsing result to the first server.
10. The method according to claim 9, characterized in that Before receiving the simulation request sent by the first server, the method further includes: receiving the component model library sent by the first server, wherein the component model library includes a sub-component model corresponding to at least one component model in the model to be simulated; The component model library is stored and loaded into the simulation software.
11. A simulation system, characterized in that: include: A client, a first server connected to the client for communication, and a second server connected to the first server for communication; wherein, The client is configured to, in response to a simulation template selection operation on a model to be simulated, determine a target simulation template corresponding to the model to be simulated; wherein the simulation template is used to configure operating condition parameters and a component model having a replaceable sub-component model in the simulation model; in response to a configuration operation on the target simulation template, determine target simulation parameters configured for the model to be simulated; the target simulation parameters include target operating condition parameters, an identifier of a target component model to be replaced, and an identifier of a sub-component model that replaces the target component model; and send a simulation calculation request including the target simulation parameters and the identifier of the target simulation template to the first server; The first server is configured to receive a simulation calculation request sent by the client and send a simulation request to the second server; the simulation request includes the target simulation parameters and a target simulation template corresponding to the target simulation template identifier; The second server is configured to receive a simulation request sent by the first server; call simulation software to modify the model to be simulated according to the target simulation parameters and then perform simulation calculations to obtain simulation calculation results; generate simulation results according to the target simulation template and the simulation calculation results, and send the simulation results to the first server; The first server is further configured to receive a simulation result returned by the second server based on the simulation request, and send the simulation result to the client; The client is further configured to receive and output the simulation result returned by the first server.
12. A computer-readable storage medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the simulation method according to any one of claims 1 to 10 is implemented.