[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117094173B - System simulation method, device, equipment and readable storage medium - Google Patents

System simulation method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN117094173B
CN117094173B CN202311324542.XA CN202311324542A CN117094173B CN 117094173 B CN117094173 B CN 117094173B CN 202311324542 A CN202311324542 A CN 202311324542A CN 117094173 B CN117094173 B CN 117094173B
Authority
CN
China
Prior art keywords
model
virtual model
simulation
initial virtual
physical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311324542.XA
Other languages
Chinese (zh)
Other versions
CN117094173A (en
Inventor
贝晓狮
李京燕
宋碧雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shi Guan Jin Yang Technology Development Co ltd
Original Assignee
Beijing Shi Guan Jin Yang Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shi Guan Jin Yang Technology Development Co ltd filed Critical Beijing Shi Guan Jin Yang Technology Development Co ltd
Priority to CN202311324542.XA priority Critical patent/CN117094173B/en
Publication of CN117094173A publication Critical patent/CN117094173A/en
Application granted granted Critical
Publication of CN117094173B publication Critical patent/CN117094173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a system simulation method, device, equipment and readable storage medium, wherein at least one virtual model selected by a user is determined, the operation that the user constructs the at least one virtual model into a simulation project is responded, a constructed target simulation project is obtained, a simulation experiment is executed based on the target simulation project, and a simulation result is obtained. The virtual model is a model obtained by optimizing the initial virtual model by taking the operation results obtained by respectively carrying out simulation operation on the same data by the initial virtual model and the physical model as optimization targets, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model constructed in advance based on the physical model, so that the accuracy of operation results obtained by the simulation operation of the virtual model is ensured, the accuracy of the simulation results of the whole simulation experiment is ensured, and the situation that the physical model is damaged when the data interaction is carried out between the virtual model and the physical model is avoided.

Description

System simulation method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of simulation technologies, and in particular, to a system simulation method, apparatus, device, and readable storage medium.
Background
Along with the development of modern industry, the simulation is used as a reliable and low-cost engineering research means and is widely applied to the technical fields of aviation, aerospace, electric power, chemical industry and other engineering. The simulation simulates the working process of an actual system by constructing a virtual model and a physical model so as to know the operation characteristics, the evaluation performance and the like of the system according to the simulation result.
In the existing simulation mode, simulation personnel can construct simulation projects through various virtual models established by engineering personnel, and simulation experiments are carried out through data interaction and simulation operation among the virtual models, so that simulation results are obtained. In the actual working process, the simulation personnel usually also correlate the virtual model with the physical model, namely, replace some virtual models with physical models, so as to perform simulation experiments through data interaction and simulation operation between the virtual model and the physical model, and obtain a simulation result.
However, in building virtual models, some assumptions and simplifications are often made in order to simplify the complexity of computation and simulation, such as ignoring certain non-linear, time-varying, or other complex properties. Therefore, certain difference exists between the virtual model and the corresponding actual physical model, so that the operation result obtained by the simulation operation of the virtual model is inaccurate, the simulation result of the whole simulation experiment is inaccurate, and even when data interaction is performed between the virtual model and the physical model, the inaccurate operation result obtained by the simulation operation is sent to the physical model by the virtual model, so that the physical model is damaged.
Disclosure of Invention
In view of this, the present application provides a system simulation method, apparatus, device, and readable storage medium, which are used for solving the problem that the real model is damaged due to inaccurate operation results obtained by performing simulation operation on the virtual model and due to a certain difference between the virtual model and the corresponding real model in the existing simulation manner.
In order to achieve the above object, the following solutions have been proposed:
a system simulation method, comprising:
determining at least one virtual model selected by a user, wherein the virtual model is a model obtained by optimizing an initial virtual model by taking an operation result obtained by respectively carrying out simulation operation on the same data by the initial virtual model and a physical model as an optimization target, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model constructed in advance based on the physical model;
responding to the operation that the user constructs the at least one virtual model into a simulation project, and obtaining a constructed target simulation project;
and executing a simulation experiment based on the target simulation project to obtain a simulation result.
Preferably, the process of optimizing the initial virtual model to obtain the virtual model with the operation results obtained by respectively performing simulation operation on the same data by the initial virtual model and the physical model being identical as an optimization target includes:
driving the initial virtual model and the physical model to respectively perform simulation operation on the same data;
respectively obtaining operation results obtained by performing simulation operation on the initial virtual model and the physical model;
if the operation results corresponding to the initial virtual model and the physical model are consistent, the initial virtual model is used as the virtual model;
if the operation results corresponding to the initial virtual model and the physical model are inconsistent, optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model;
and returning to execute the step of driving the initial virtual model and the physical model to respectively simulate the same data based on the optimized initial virtual model.
Preferably, the driving the initial virtual model and the physical model each perform a simulation operation on the same data, respectively, including:
driving other preset virtual models to perform data interaction and simulation operation with the initial virtual model or the physical model;
and in the process of carrying out data interaction between the other virtual models and the initial virtual model, sending the data received by the initial virtual model to the physical model so as to carry out simulation operation on the received data by the physical model, or in the process of carrying out data interaction between the other virtual models and the physical model, sending the data received by the physical model to the initial virtual model so as to carry out simulation operation on the received data by the initial virtual model.
Preferably, the process of optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model includes:
and adjusting an algorithm and/or parameters of the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model.
Preferably, the method further comprises:
and responding to the operation of checking the operation results corresponding to the initial virtual model and the physical model by the user, and displaying the operation results corresponding to the initial virtual model and the physical model.
Preferably, the method further comprises:
and responding to the operation of checking the simulation result by the user, and displaying the simulation result.
Preferably, in response to the operation of the user to construct the at least one virtual model into a simulation project, after obtaining the constructed target simulation project, the method further includes:
responding to the operation that the user selects the virtual model to be replaced by the physical model, and determining a target virtual model to be replaced by the physical model selected by the user;
determining the physical model corresponding to the target virtual model;
replacing the target virtual model in the target simulation project with the physical model corresponding to the target virtual model to obtain a replaced target simulation project;
executing a simulation experiment based on the target simulation item to obtain a simulation result, including:
and executing a simulation experiment based on the replaced target simulation project to obtain a simulation result.
A system simulation apparatus, comprising:
the virtual model determining unit is used for determining at least one virtual model selected by a user, wherein the virtual model is a model obtained by optimizing an initial virtual model by taking an operation result obtained by respectively carrying out simulation operation on the same data by the initial virtual model and a physical model as optimization targets, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model which is built in advance based on the physical model;
the simulation project construction unit is used for responding to the operation that the user constructs the at least one virtual model into a simulation project to obtain a constructed target simulation project;
and the simulation experiment executing unit is used for executing a simulation experiment based on the target simulation project to obtain a simulation result.
A system simulation device comprising a memory and a processor;
the memory is used for storing programs;
the processor is used for executing the program and realizing the steps of the system simulation method.
A readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the aforementioned system simulation method.
According to the technical scheme, the virtual model is the model obtained by optimizing the initial virtual model by taking the operation result obtained by carrying out simulation operation on the same data by using the initial virtual model and the physical model as the optimization target, and the physical model is the physical model under the system to be simulated, and the initial virtual model is the model constructed in advance based on the physical model, so that the operation result obtained by carrying out simulation operation on the same data by using the virtual model and the physical model is consistent, no difference exists between the virtual model and the actual physical model corresponding to the virtual model, the accuracy of the operation result obtained by carrying out simulation operation on the virtual model is ensured, the accuracy of the simulation result of the whole simulation experiment is ensured, and the situation that the physical model is damaged when the data interaction is carried out between the virtual model and the physical model is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings may be obtained according to the provided drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of a system simulation method disclosed in an embodiment of the present application;
FIG. 2 is a schematic diagram of data interaction between models according to an example embodiment of the present application;
FIG. 3 is a schematic diagram of data interaction between another model according to an example embodiment of the present application;
FIG. 4 is a schematic diagram of replacing a virtual model with a physical model according to an example embodiment of the present application;
FIG. 5 is a schematic diagram of a system simulation device according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a hardware structure of a system simulation device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The scheme can be realized based on the terminal with the data processing capability, and the terminal can be a computer, a server, a cloud end and the like.
An embodiment of the present application provides a simulation scheme, and a system simulation method of the present application is described below with reference to fig. 1, where, as shown in fig. 1, the method may include:
step S100, determining at least one virtual model selected by a user, wherein the virtual model is a model obtained by optimizing an initial virtual model by taking an operation result obtained by respectively carrying out simulation operation on the same data by the initial virtual model and a physical model as an optimization target, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model which is built in advance based on the physical model.
Specifically, the system to be simulated is a simulated object, and various physical objects, such as a motor, a controller, a turntable or other hardware devices, are included under the system to be simulated. The simulation is to simulate the behavior of a real object under the system to be simulated by constructing a virtual model, so as to simulate the system to be simulated. In order to simulate a real object, an initial virtual model is constructed in advance based on the real object model. When the initial virtual model is built, certain nonlinear, time-varying or other complex properties may be ignored, which may cause a certain difference between the initial virtual model and the corresponding actual physical model, for example, there is a virtual model simulating CAN bus communication, and the virtual model simulating CAN bus communication may cause a difference from the actual CAN bus because the problems of delay, period fluctuation, frame loss, external interference and the like of CAN bus communication are not considered. The initial virtual model and the corresponding actual physical model have certain difference, which can lead to inaccurate operation results obtained by simulation operation of the initial virtual model, and when the initial virtual model and the physical model perform data interaction, the physical model performs corresponding operations after receiving data, such as adjusting the voltage of a motor, changing the rotation angle of a turntable, and the like, and the physical model can be damaged after the data exceeds the bearing range, such as burning the motor when the input voltage of the motor is overlarge. Therefore, after the initial virtual model is created based on the physical model, the operation results obtained by respectively carrying out simulation operation on the same data by the initial virtual model and the physical model are consistent as optimization targets, the initial virtual model is optimized to obtain the virtual model, and a user can select at least one virtual model so as to construct the selected at least one virtual model as a simulation project to carry out a simulation experiment. Optionally, a model library may be preset, where the model library includes various virtual models, and the user may select at least one virtual model in the preset model library.
And step S110, responding to the operation that the user constructs at least one virtual model as a simulation project, and obtaining a constructed target simulation project.
Specifically, after the user selects at least one virtual model, the at least one virtual model may be constructed as a simulation item, for example, a corresponding port and a bus are added to the selected virtual model, and a connection relationship between the virtual models is established by using the port and the bus. According to the embodiment of the application, the operation that the user constructs the selected at least one virtual model as the simulation project can be responded, and the target simulation project constructed by the user can be obtained, so that a simulation experiment can be executed based on the simulation project constructed by the user. The embodiment of the application can provide an interface for constructing the simulation project for a user to construct at least one virtual model into the simulation project in the interface.
And step S120, executing a simulation experiment based on the target simulation project to obtain a simulation result.
Specifically, the operation that at least one virtual model is constructed as a simulation project is responded by a user, after a constructed target simulation project is obtained, a simulation experiment is executed based on the target simulation project, so that simulation is completed, and a simulation result is obtained. And executing a simulation experiment based on the target simulation project, namely driving the models in the target simulation project to perform data interaction and simulation operation.
According to the system simulation method provided by the embodiment of the application, the virtual model is the model obtained by optimizing the initial virtual model by taking the operation results obtained by simulating the same data by the initial virtual model and the physical model as optimization targets, and the physical model is the physical model under the system to be simulated, and the initial virtual model is the model constructed in advance based on the physical model, so that the operation results obtained by simulating the same data by the virtual model and the physical model are consistent, no difference exists between the virtual model and the corresponding actual physical model, the accuracy of the operation results obtained by simulating the virtual model is ensured, and the accuracy of the simulation results of the whole simulation experiment is ensured, thereby avoiding the situation that the physical model is damaged when the data interaction is performed between the virtual model and the physical model.
In this embodiment of the present application, a process of optimizing an initial virtual model to obtain a virtual model is introduced by using an operation result obtained by performing a simulation operation on the same data by using the initial virtual model and a physical model, respectively, as an optimization target, where the process may include:
and step S01, driving the initial virtual model and the physical model to respectively perform simulation operation on the same data.
Optionally, the method may drive other preset virtual models to perform data interaction and simulation operation with the initial virtual model or the physical model, and send data received by the initial virtual model to the physical model in a process of performing data interaction between the other virtual models and the initial virtual model so as to perform simulation operation on the received data by the physical model, or send data received by the physical model to the initial virtual model in a process of performing data interaction between the other virtual models and the physical model so as to perform simulation operation on the received data by the initial virtual model.
Specifically, the embodiment of the application can be used for a user to select whether the initial virtual model or the physical model is used for performing data interaction and simulation operation with other virtual models, when the user selects the initial virtual model, the other virtual models are driven to perform data interaction and simulation operation with the initial virtual model, and when the user selects the physical model, the other virtual models are driven to perform data interaction and simulation operation with the physical model. Referring to fig. 2, when the data interaction and the simulation operation are performed with other virtual models, in the process of performing the data interaction with other virtual models and the initial virtual model, the other virtual models can be driven to synchronously transmit the data transmitted to the initial virtual model to the physical model so as to transmit the data received by the initial virtual model to the physical model, the physical model performs the simulation operation on the received data, and the operation result obtained by performing the simulation operation on the received data by the physical model is only used for observation and is compared with the operation result obtained by performing the simulation operation on the received data by the initial virtual model. Referring to fig. 3, when the data interaction and the simulation operation are performed with other virtual models, in the process of performing the data interaction between the other virtual models and the physical model, the other virtual models can be driven to synchronously transmit the data transmitted to the physical model to the initial virtual model so as to transmit the data received by the physical model to the initial virtual model, the initial virtual model performs the simulation operation on the received data, the operation result obtained by performing the simulation operation on the received data by the initial virtual model is only used for observation, and the operation result obtained by performing the simulation operation on the received data by the initial virtual model is compared with the operation result obtained by performing the simulation operation on the received data by the initial virtual model.
And step S02, respectively obtaining operation results obtained by performing simulation operation on the initial virtual model and the physical model.
Specifically, the initial virtual model and the physical model are driven to carry out simulation operation on the same data, and operation results obtained by carrying out simulation operation on the initial virtual model and the physical model are respectively obtained, so that whether the initial model and the physical model have differences or not is evaluated according to the operation results obtained by carrying out simulation operation on the initial virtual model and the physical model.
If the calculation results corresponding to the initial virtual model and the physical model are identical, the following step S03 is executed, and if the calculation results corresponding to the initial virtual model and the physical model are not identical, the following step S04 is executed.
And S03, taking the initial virtual model as a virtual model.
Specifically, since the operation results corresponding to the initial virtual model and the physical model are the operation results obtained by performing the simulation operation on the same data respectively, when the operation results corresponding to the initial virtual model and the physical model are identical, there is no difference between the initial virtual model and the physical model, and therefore the initial virtual model is used as the virtual model.
And step S04, optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model.
Specifically, when the operation results corresponding to the initial virtual model and the physical model are inconsistent, a difference exists between the initial virtual model and the physical model, so that the initial virtual model is optimized based on the operation results corresponding to the initial virtual model and the physical model, and the virtual model and the physical model which are finally optimized do not have the difference.
Optionally, an algorithm and/or parameters of the initial virtual model may be adjusted based on the operation results corresponding to the initial virtual model and the physical model. For example, redundancy of the virtual model algorithm is increased, data is compensated, and gain of the virtual model is adjusted.
And step S05, returning to execute the step S01 based on the optimized initial virtual model.
Specifically, after the initial virtual model is optimized, based on the optimized initial virtual model, the step of executing the simulation operation for driving the initial virtual model and the physical model to respectively perform the simulation operation on the same data is returned, so as to evaluate whether the optimized initial model and the physical model have differences according to the operation results obtained by respectively performing the simulation operation for the optimized initial virtual model and the physical model on the same data, thereby enabling the virtual model and the physical model which are finally optimized to have no differences.
Optionally, considering that a user may have a need to view the operation results corresponding to the initial virtual model and the physical model, so that the user can compare the difference between the initial virtual model and the physical model by comparing the operation results corresponding to the initial virtual model and the physical model. The calculation results corresponding to the initial virtual model and the physical model, for example, a line graph, a bar graph, etc., may be displayed in the form of a data chart, so that the user can clearly compare the calculation results corresponding to the initial virtual model and the physical model by observing the data chart.
According to the method and the device for displaying the operation results, the operation results corresponding to the initial virtual model and the physical model can be displayed in response to the operation of the user for checking the operation results corresponding to the initial virtual model and the physical model, so that the user can compare the difference between the initial virtual model and the physical model by comparing the operation results corresponding to the initial virtual model and the physical model, and the requirement of the user for checking the operation results corresponding to the initial virtual model and the physical model is met.
Optionally, in order for the user to know the operation characteristics, the evaluation performance, and the like of the system to be simulated according to the simulation result, the step S120 may further include, after the simulation result is obtained, executing the simulation experiment based on the target simulation item:
and responding to the operation of checking the simulation result by the user, and displaying the simulation result.
According to the embodiment of the application, the operation of checking the simulation result by the user can be responded, the simulation result is displayed, and the user can know the operation characteristics, evaluation performance and the like of the system to be simulated according to the simulation result.
Optionally, considering that the simulation may be divided into full-virtual simulation and semi-physical simulation, the full-virtual simulation is based on a virtual model to perform the simulation without any physical object, the semi-physical simulation is a simulation between the virtual and the physical objects, and the simulation is performed by combining the virtual model and the physical object, based on which, the step S110 may further include, after the step S110 responds to the operation of the user to construct at least one virtual model as the simulation item, obtaining the constructed target simulation item:
and step S10, responding to the operation of selecting the virtual model to be replaced by the physical model by the user, and determining the target virtual model to be replaced by the physical model selected by the user.
Specifically, the embodiment of the application can provide the user with an interface for selecting the virtual model to be replaced by the physical model, so that the user can select the virtual model to be replaced by the physical model in the interface.
And S11, determining a physical model corresponding to the target virtual model.
Specifically, after determining the target virtual model to be replaced by the physical model selected by the user, determining the physical model corresponding to the target virtual model, so as to replace the target virtual model in the target simulation project by the physical model corresponding to the target virtual model.
And step S12, replacing the target virtual model in the target simulation project with a physical model corresponding to the target virtual model to obtain a replaced target simulation project.
Specifically, the target virtual model in the target simulation project is replaced by the physical model corresponding to the target virtual model, so that the replaced target simulation project is obtained, and a simulation experiment is executed based on the replaced target simulation project, so that semi-physical simulation is realized. For example, referring to fig. 4, the target simulation project includes a vehicle virtual model and a VCU (Vehicle control unit) virtual model, the VCU virtual model is replaced with a VCU physical model, and the replaced target simulation project includes the vehicle virtual model and the VCU physical model.
Based on this, the step S120 performs a simulation experiment based on the target simulation item, and the process of obtaining the simulation result may include:
and executing a simulation experiment based on the replaced target simulation project to obtain a simulation result.
Specifically, a simulation experiment is executed based on the replaced target simulation project, namely, data interaction and simulation operation are carried out between models in the replaced target simulation project, so as to complete semi-physical simulation.
The system simulation device provided in the embodiments of the present application will be described below, and the system simulation device described below and the system simulation device described above may be referred to correspondingly.
First, referring to fig. 5, a system simulation apparatus is described, and as shown in fig. 5, the system simulation apparatus may include:
a virtual model determining unit 10, configured to determine at least one virtual model selected by a user, where the virtual model is a model obtained by optimizing an initial virtual model and a physical model by taking an operation result obtained by performing simulation operation on the same data respectively as an optimization target, and the physical model is a physical object under a system to be simulated, and the initial virtual model is a model previously constructed based on the physical model;
a simulation item construction unit 20, configured to respond to an operation of the user to construct the at least one virtual model as a simulation item, and obtain a constructed target simulation item;
and the simulation experiment execution unit 30 is used for executing a simulation experiment based on the target simulation project to obtain a simulation result.
Optionally, the system simulation device may further include:
an initial virtual model optimizing unit, configured to:
driving the initial virtual model and the physical model to respectively perform simulation operation on the same data;
respectively obtaining operation results obtained by performing simulation operation on the initial virtual model and the physical model;
if the operation results corresponding to the initial virtual model and the physical model are consistent, the initial virtual model is used as the virtual model;
if the operation results corresponding to the initial virtual model and the physical model are inconsistent, optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model;
and returning to execute the step of driving the initial virtual model and the physical model to respectively simulate the same data based on the optimized initial virtual model.
Optionally, the process of driving the initial virtual model and the physical model to respectively perform simulation operation on the same data by the initial virtual model optimizing unit may include:
driving other preset virtual models to perform data interaction and simulation operation with the initial virtual model or the physical model;
and in the process of carrying out data interaction between the other virtual models and the initial virtual model, sending the data received by the initial virtual model to the physical model so as to carry out simulation operation on the received data by the physical model, or in the process of carrying out data interaction between the other virtual models and the physical model, sending the data received by the physical model to the initial virtual model so as to carry out simulation operation on the received data by the initial virtual model.
Optionally, the process of optimizing the initial virtual model by the initial virtual model optimizing unit based on the operation results corresponding to the initial virtual model and the physical model may include:
and adjusting an algorithm and/or parameters of the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model.
Optionally, the system simulation device may further include:
and the operation result checking unit is used for responding to the operation of checking the operation results corresponding to the initial virtual model and the physical model by the user and displaying the operation results corresponding to the initial virtual model and the physical model.
Optionally, the system simulation device may further include:
and the simulation result checking unit is used for responding to the operation of checking the simulation result by the user and displaying the simulation result.
Optionally, the system simulation device may further include:
a target virtual model determining unit configured to determine a target virtual model to be replaced with the physical model selected by the user in response to the operation of the user selecting the virtual model to be replaced with the physical model;
the physical model determining unit is used for determining the physical model corresponding to the target virtual model;
the target virtual model replacing unit is used for replacing the target virtual model in the target simulation project with the physical model corresponding to the target virtual model to obtain a replaced target simulation project;
based on this, the process of the simulation experiment execution unit executing the simulation experiment based on the target simulation item to obtain the simulation result may include:
and executing a simulation experiment based on the replaced target simulation project to obtain a simulation result.
The system simulation device provided by the embodiment of the application can be applied to system simulation equipment. Fig. 6 shows a hardware configuration block diagram of a system simulation device, and referring to fig. 6, the hardware configuration of the system simulation device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete communication with each other through the communication bus 4;
processor 1 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may comprise a high-speed RAM memory, and may further comprise a non-volatile memory (non-volatile memory) or the like, such as at least one magnetic disk memory;
wherein the memory stores a program, the processor is operable to invoke the program stored in the memory, the program operable to: and realizing each processing flow in the simulation scheme.
The embodiment of the application also provides a storage medium, which may store a program adapted to be executed by a processor, the program being configured to: and realizing each processing flow in the simulation scheme.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A system simulation method, comprising:
determining at least one virtual model selected by a user, wherein the virtual model is a model obtained by optimizing an initial virtual model by taking an operation result obtained by respectively carrying out simulation operation on the same data by the initial virtual model and a physical model as an optimization target, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model constructed in advance based on the physical model;
responding to the operation that the user constructs the at least one virtual model into a simulation project, and obtaining a constructed target simulation project;
executing a simulation experiment based on the target simulation project to obtain a simulation result;
the process of optimizing the initial virtual model to obtain the virtual model by taking the operation results obtained by respectively carrying out simulation operation on the same data by the initial virtual model and the physical model as optimization targets comprises the following steps:
driving the initial virtual model and the physical model to respectively perform simulation operation on the same data;
respectively obtaining operation results obtained by performing simulation operation on the initial virtual model and the physical model;
if the operation results corresponding to the initial virtual model and the physical model are consistent, the initial virtual model is used as the virtual model;
if the operation results corresponding to the initial virtual model and the physical model are inconsistent, optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model;
returning to execute the step of driving the initial virtual model and the physical model to respectively simulate the same data based on the optimized initial virtual model;
the process of optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model comprises the following steps:
and adjusting an algorithm and/or parameters of the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model.
2. The system simulation method according to claim 1, wherein the driving the initial virtual model and the physical model each perform a simulation operation on the same data, respectively, includes:
driving other preset virtual models to perform data interaction and simulation operation with the initial virtual model or the physical model;
and in the process of carrying out data interaction between the other virtual models and the initial virtual model, sending the data received by the initial virtual model to the physical model so as to carry out simulation operation on the received data by the physical model, or in the process of carrying out data interaction between the other virtual models and the physical model, sending the data received by the physical model to the initial virtual model so as to carry out simulation operation on the received data by the initial virtual model.
3. The system simulation method according to claim 1, further comprising:
and responding to the operation of checking the operation results corresponding to the initial virtual model and the physical model by the user, and displaying the operation results corresponding to the initial virtual model and the physical model.
4. The system simulation method according to claim 1, further comprising:
and responding to the operation of checking the simulation result by the user, and displaying the simulation result.
5. The system simulation method according to any one of claims 1 to 4, further comprising, after obtaining the constructed target simulation item, in response to the operation of the user to construct the at least one virtual model as the simulation item:
responding to the operation that the user selects the virtual model to be replaced by the physical model, and determining a target virtual model to be replaced by the physical model selected by the user;
determining the physical model corresponding to the target virtual model;
replacing the target virtual model in the target simulation project with the physical model corresponding to the target virtual model to obtain a replaced target simulation project;
executing a simulation experiment based on the target simulation item to obtain a simulation result, including:
and executing a simulation experiment based on the replaced target simulation project to obtain a simulation result.
6. A system simulation apparatus, comprising:
the virtual model determining unit is used for determining at least one virtual model selected by a user, wherein the virtual model is a model obtained by optimizing an initial virtual model by taking an operation result obtained by respectively carrying out simulation operation on the same data by the initial virtual model and a physical model as optimization targets, the physical model is a physical object under a system to be simulated, and the initial virtual model is a model which is built in advance based on the physical model;
the simulation project construction unit is used for responding to the operation that the user constructs the at least one virtual model into a simulation project to obtain a constructed target simulation project;
the simulation experiment executing unit is used for executing a simulation experiment based on the target simulation project to obtain a simulation result;
the process of optimizing the initial virtual model to obtain the virtual model by taking the operation results obtained by respectively carrying out simulation operation on the same data by the initial virtual model and the physical model as optimization targets comprises the following steps:
driving the initial virtual model and the physical model to respectively perform simulation operation on the same data;
respectively obtaining operation results obtained by performing simulation operation on the initial virtual model and the physical model;
if the operation results corresponding to the initial virtual model and the physical model are consistent, the initial virtual model is used as the virtual model;
if the operation results corresponding to the initial virtual model and the physical model are inconsistent, optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model;
returning to execute the step of driving the initial virtual model and the physical model to respectively simulate the same data based on the optimized initial virtual model;
the process of optimizing the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model comprises the following steps:
and adjusting an algorithm and/or parameters of the initial virtual model based on the operation results corresponding to the initial virtual model and the physical model.
7. A system simulation device, comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of the system simulation method according to any one of claims 1 to 5.
8. A readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the system simulation method according to any of claims 1-5.
CN202311324542.XA 2023-10-13 2023-10-13 System simulation method, device, equipment and readable storage medium Active CN117094173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311324542.XA CN117094173B (en) 2023-10-13 2023-10-13 System simulation method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311324542.XA CN117094173B (en) 2023-10-13 2023-10-13 System simulation method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN117094173A CN117094173A (en) 2023-11-21
CN117094173B true CN117094173B (en) 2024-02-20

Family

ID=88770114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311324542.XA Active CN117094173B (en) 2023-10-13 2023-10-13 System simulation method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117094173B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154213A (en) * 2006-09-27 2008-04-02 上海电气集团股份有限公司 Simulation platform of macrotype power station integrated automation system
CN101937231A (en) * 2010-07-23 2011-01-05 北京全路通信信号研究设计院 Simulation test running system
KR20130019546A (en) * 2011-08-17 2013-02-27 국방과학연구소 The distance measurement system between a real object and a virtual model using aumented reality
CN106844822A (en) * 2016-11-15 2017-06-13 北京宇航系统工程研究所 A kind of carrier rocket Hardware In The Loop Simulation Method for supporting rapid virtual-to-physical to exchange
WO2021169598A1 (en) * 2020-02-27 2021-09-02 广东工业大学 Digital twinning-based physical simulation method for production line and system thereof
CN115081242A (en) * 2022-07-19 2022-09-20 湖南芒果无际科技有限公司 Virtual stage processing method, device, electronic equipment and storage medium
CN116107235A (en) * 2023-02-17 2023-05-12 北京世冠金洋科技发展有限公司 Application method and system for realizing semi-physical simulation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101853059B1 (en) * 2016-08-10 2018-04-30 한국과학기술연구원 System, method and readable recording medium of controlling virtual model

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154213A (en) * 2006-09-27 2008-04-02 上海电气集团股份有限公司 Simulation platform of macrotype power station integrated automation system
CN101937231A (en) * 2010-07-23 2011-01-05 北京全路通信信号研究设计院 Simulation test running system
KR20130019546A (en) * 2011-08-17 2013-02-27 국방과학연구소 The distance measurement system between a real object and a virtual model using aumented reality
CN106844822A (en) * 2016-11-15 2017-06-13 北京宇航系统工程研究所 A kind of carrier rocket Hardware In The Loop Simulation Method for supporting rapid virtual-to-physical to exchange
WO2021169598A1 (en) * 2020-02-27 2021-09-02 广东工业大学 Digital twinning-based physical simulation method for production line and system thereof
CN115081242A (en) * 2022-07-19 2022-09-20 湖南芒果无际科技有限公司 Virtual stage processing method, device, electronic equipment and storage medium
CN116107235A (en) * 2023-02-17 2023-05-12 北京世冠金洋科技发展有限公司 Application method and system for realizing semi-physical simulation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Real-Time manufacturing optimization with a simulation model and virtual reality;Ojstersek Robert;Procedia Manufacturing;第38卷;第 1103-1110页 *
分布式控制系统虚拟化移植方法的设计与验证;彭浩;张旭;邓志光;蒋维;刘明明;章雨;刘国海;;上海交通大学学报(第S1期);第122-126页 *

Also Published As

Publication number Publication date
CN117094173A (en) 2023-11-21

Similar Documents

Publication Publication Date Title
JP6784003B2 (en) Methods, devices, computer-readable storage media, and programs for configuring collaborative simulations for integrated systems
CN101882168A (en) Be used at finite element analysis simulating beam and the surperficial method and system that contacts
CN110347593B (en) Flow testing method and device
CN105074683B (en) Using messaging and there are protocol remotes to test electronic equipment
CN116627861B (en) Data processing method and system based on expander, electronic equipment and storage medium
CN117094173B (en) System simulation method, device, equipment and readable storage medium
EP3037904B1 (en) Sizing and selection closer to the executing environment
CN110618814A (en) Data visualization method and device, electronic equipment and computer readable storage medium
CN114417780A (en) State synchronization method and device, electronic equipment and storage medium
CN114880787A (en) Hydraulic system operation and maintenance method and device based on-line hydraulic system
CN114312843A (en) Method and apparatus for determining information
CN109388385B (en) Method and apparatus for application development
CN113656891A (en) Liquid rocket dynamic characteristic modeling analysis method and terminal equipment
JP3348445B2 (en) Simulation method and simulator for parallel computer
CN113377536B (en) Grid generation system and method
CN116880444A (en) In-loop simulation test system, method and storage medium
CN112346440B (en) Robot health monitoring method, device, equipment and readable storage medium
CN115576205B (en) Feedback control method, universal feedback controller, training method, readable storage medium, computer program product and system
CN113392627A (en) CFD software multi-user self-defined interactive interface management system and method
WO2021142613A1 (en) Simulated diagnostic method, device and readable storage medium
CN118228640B (en) Magnetic fluid numerical simulation method and device and nonvolatile storage medium
JP2021077149A (en) Information processing method, information processing equipment, and robot system
US20210374531A1 (en) Analysis and design of dynamical system controllers using neural differential equations
CN115139306B (en) Active motion precision compensation method, device, equipment and medium for industrial robot
CN115598967B (en) Parameter setting model training, parameter determining method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant