Physical object modeling method and device, electronic equipment and storage medium
By acquiring the working principle of physical objects, generating bond graphs and signal flow graphs, and automatically constructing simulation models, the problems of high user skill requirements and complex operations are solved, thus improving modeling efficiency and accuracy.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-04-07
AI Technical Summary
In existing technologies, the physical object modeling process requires high user skills and is complex to operate, resulting in low simulation modeling efficiency and a poor user experience.
By obtaining the working principle of the physical object to be modeled, bonding graphs and signal flow graphs are generated, and simulation models are automatically constructed, reducing the complexity of user operations and improving modeling efficiency.
This eliminates the need for users to manually build models, improving modeling accuracy and efficiency, ensuring that models conform to objective physical properties, and reducing operational complexity.
Smart Images

Figure CN121809082A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for modeling physical objects. Background Technology
[0002] GCKontrol software is a visual modeling and simulation tool that can be used for modeling, simulating, and analyzing dynamic systems. In practical applications, GCKontrol software supports signal flow graph modeling, which represents the mathematical relationships between variables in a system graphically, thereby meeting the modeling needs of control systems.
[0003] However, in physical object modeling scenarios, users need to first gain a thorough understanding of the physical object to be modeled before manually building the corresponding simulation model, and only then can simulation testing be carried out. It is evident that this process demands a high level of user skill and is complex, resulting in low efficiency in simulation modeling and a poor user experience. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and storage medium for modeling physical objects, which eliminates the need for manual setup by the user, thereby reducing the complexity of user operations and improving the efficiency of simulation modeling.
[0005] In a first aspect, embodiments of this application provide a method for modeling physical objects, including:
[0006] In response to a user-submitted modeling request, retrieve the physical object to be modeled;
[0007] Determine the working principle of the physical object;
[0008] Based on the aforementioned working principle, a bond graph is generated for the physical object;
[0009] Based on the bonding graph, a signal flow graph of the physical object is generated;
[0010] A simulation model of the physical object is constructed using the bond graph and the signal flow graph.
[0011] Optionally, generating a bond graph for the physical object based on the aforementioned working principle includes:
[0012] Based on the aforementioned working principle, determine the basic components that match the aforementioned working principle;
[0013] Determine the power bond of the basic component;
[0014] The bonding graph is generated based on the basic components and the power bond.
[0015] Optionally, the power bond includes a potential variable and a flow variable;
[0016] The step of generating the signal flow graph of the physical object based on the bond graph includes:
[0017] Based on the bond graph, the causal relationship between the potential variable and the flow variable is determined, and the causal relationship is used to indicate the input and output variables in the signal flow graph.
[0018] The signal flow graph is generated based on the basic components, the input variables, and the output variables.
[0019] Optionally, constructing a simulation model of the physical object using the bond graph and the signal flow graph includes:
[0020] Based on the aforementioned working principle, the bonding graph and the signal flow graph are integrated to obtain the simulation model.
[0021] Optionally, the method further includes:
[0022] In the GCKontrol software, the simulation model of the physical object is simulated and solved using the Ordinary Differential Equation (ODE) solver to obtain the simulation results.
[0023] Output the simulation results.
[0024] Optionally, the GCKontrol software includes a simulation model of the control system;
[0025] The simulation model of the physical object is simulated and solved to obtain simulation results, including:
[0026] Establish the connection between the simulation model of the physical object and the simulation model of the control system;
[0027] Based on the connection relationship, the simulation model of the control system sends control commands to the simulation model of the physical object, and the simulation model of the physical object responds to the control commands to perform simulation.
[0028] The simulation process of the simulation model of the physical object is solved by the ODE solver to obtain the simulation solution result.
[0029] Secondly, embodiments of this application provide a modeling apparatus for physical objects, comprising:
[0030] The physical object acquisition module is used to acquire the physical object to be modeled in response to the modeling request submitted by the user.
[0031] The working principle determination module is used to determine the working principle of the physical object;
[0032] A bond graph generation module is used to generate a bond graph for the physical object based on the aforementioned working principle.
[0033] A signal flow graph generation module is used to generate a signal flow graph of the physical object based on the bond graph;
[0034] The simulation model building module is used to build a simulation model of the physical object using the bond graph and the signal flow graph.
[0035] Optionally, the bond graph generation module is specifically used for:
[0036] Based on the aforementioned working principle, determine the basic components that match the aforementioned working principle;
[0037] Determine the power bond of the basic component;
[0038] The bonding graph is generated based on the basic components and the power bond.
[0039] Optionally, the power bond includes a potential variable and a flow variable;
[0040] The signal flow graph generation module is specifically used for:
[0041] Based on the bond graph, the causal relationship between the potential variable and the flow variable is determined, and the causal relationship is used to indicate the input and output variables in the signal flow graph.
[0042] The signal flow graph is generated based on the basic components, the input variables, and the output variables.
[0043] Optionally, the simulation model construction module is specifically used for:
[0044] Based on the aforementioned working principle, the bonding graph and the signal flow graph are integrated to obtain the simulation model.
[0045] Optionally, the modeling apparatus for the physical object further includes:
[0046] The simulation solution module is used in GCKontrol software to simulate and solve the simulation model of the physical object through the ordinary differential equation ODE solver, and obtain the simulation solution results.
[0047] The result output module is used to output the simulation solution results.
[0048] Optionally, the GCKontrol software includes a simulation model of the control system;
[0049] The simulation solution module is specifically used for:
[0050] Establish the connection between the simulation model of the physical object and the simulation model of the control system;
[0051] Based on the connection relationship, the simulation model of the control system sends control commands to the simulation model of the physical object, and the simulation model of the physical object responds to the control commands to perform simulation.
[0052] The simulation process of the simulation model of the physical object is solved by the ODE solver to obtain the simulation solution result.
[0053] Thirdly, embodiments of this application provide an electronic device, the device including: a processor, a memory, and a system bus;
[0054] The processor and the memory are connected via the system bus;
[0055] The memory is used to store a program, which includes instructions that, when executed by the processor, cause the processor to perform any implementation step of the modeling method for the physical object described above.
[0056] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the implementation steps of the physical object modeling method described above.
[0057] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:
[0058] In this embodiment, in response to a user-submitted modeling request, after obtaining the physical object to be modeled, the working principle of the physical object can be determined first. Then, based on the working principle, a bond graph is generated for the physical object, and based on the bond graph, a signal flow graph of the physical object is generated. In this way, a simulation model of the physical object can be constructed using the bond graph and the signal flow graph. It is evident that by clarifying the working principle of the physical object, a unified physical law can be provided to support subsequent modeling, ensuring that the model conforms to the objective physical essence and improving the accuracy of modeling. Thus, the subsequent generation of bond graphs and signal flow graphs based on the working principle, and subsequently the generation of a simulation model of the physical object, eliminates the need for manual construction by the user, helping to reduce user operational complexity and improve simulation modeling efficiency. Attached Figure Description
[0059] Figure 1 A flowchart illustrating a method for modeling a physical object, as provided in an embodiment of this application;
[0060] Figure 2 This application example diagram illustrates a method for modeling physical objects provided in an embodiment of this application.
[0061] Figure 3 This is a schematic diagram of the structure of a physical object modeling device provided in an embodiment of this application. Detailed Implementation
[0062] As mentioned earlier, physical object modeling scenarios demand a high level of user skill and involve complex operations, resulting in low simulation modeling efficiency and a poor user experience. Specifically, GCKontrol software lacks the ability to model physical objects; users must first gain a thorough understanding of the physical object to be modeled before manually building the corresponding simulation model, and only then can simulation testing be conducted.
[0063] To address the aforementioned problems, this application provides a method for modeling a physical object, comprising: responding to a user-submitted modeling request, obtaining the physical object to be modeled, and first determining the working principle of the physical object. Then, based on the working principle, generating a bond graph for the physical object, and based on the bond graph, generating a signal flow graph of the physical object. In this way, a simulation model of the physical object can be constructed using the bond graph and the signal flow graph.
[0064] It is evident that by clearly defining the working principle of the physical object, a unified physical law can be provided to support subsequent modeling, ensuring that the model conforms to the objective physical essence and improving the accuracy of modeling. In this way, subsequent generation of bond graphs, signal flow graphs, and ultimately simulation models of the physical object can be achieved based on the working principle, without requiring manual construction by the user. This helps reduce user operational complexity and improves simulation modeling efficiency.
[0065] Furthermore, bond graphs can be used to transform abstract physical laws into standardized graphical representations, enabling a unified framework for multi-physics domain modeling; signal flow graphs can be used to transform physical essence descriptions into platform-recognizable causal relationship expressions, improving the compatibility between physical essence and platform implementation.
[0066] It should be noted that the embodiments of this application do not limit the executing entity of the physical object modeling method. For example, the physical object modeling method of this application embodiment can be applied to data processing devices such as servers or terminal devices. The server can be a standalone server, a cluster server, or a cloud server. The terminal device can be an electronic device such as a smartphone, computer, personal digital assistant (PDA), or tablet computer.
[0067] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0068] Figure 1 This is a flowchart illustrating a method for modeling a physical object as provided in an embodiment of this application. (In conjunction with...) Figure 1 As shown, the physical object modeling method provided in this application embodiment may include the following steps S101-S105.
[0069] S101: In response to a user-submitted modeling request, obtain the physical object to be modeled.
[0070] Here, a modeling request refers to a user-initiated instruction that explicitly requests the construction of a model of a specific physical object. In practical applications, users can issue this instruction through the GCKontrol software.
[0071] The physical object to be modeled is the physical object that the user expects to simulate and test through modeling. For example, in the field of mechanics, rotating inertia elements or spring dampers; in the field of electrical engineering, capacitors or resistors; and in the field of hydraulics, cylinders or relief valves are all physical objects to be modeled.
[0072] Accordingly, in practical applications, the modeling request submitted by the user can be read directly to determine the physical parameters.
[0073] S102: Determine the working principle of the physical object.
[0074] Here, the working principle of a physical object refers to the core physical laws, energy conversion mechanisms, and variable correlation logic that the physical object follows in its actual operation. It is the essential basis for the physical object to realize its function. That is, the working principle can explain which physical quantities (such as force, torque, or voltage) will act on the physical object, what physical laws (such as the laws of mechanics, electromagnetic laws, or the law of conservation of energy) the physical object uses to transform input into output, and what kind of motion state or physical effect it ultimately exhibits.
[0075] For example, if the physical object is a rotating inertia element, its working principle is that the net external torque is proportional to the angular acceleration; that is, the input torque is converted into a change in angular velocity through the inertial effect of the rotational inertia. If the physical object is a capacitor element, its working principle is based on the correlation between charge storage and voltage; that is, the input voltage is converted into charge accumulation through the charge storage effect of the capacitor, which in turn affects the change in current. If the physical object is a spring damper, its working principle is the superposition of Hooke's law and the damping law; that is, the input displacement or velocity is converted into output elastic force or damping force through elastic deformation and damping dissipation.
[0076] Accordingly, in this embodiment, standard working principle information of common physical objects in different physical domains such as mechanics, electricity, hydraulics, or thermodynamics can be pre-written and stored using GCKontrol software. Then, based on the physical objects identified above, precise matching is performed in the stored information to obtain the corresponding working principle.
[0077] S103: Based on the working principle, generate a bond graph for the physical object.
[0078] Bond graphs are graphical modeling tools that uniformly describe the energy flow and transformation laws of multi-physics domain systems. They use a set of standardized graphical symbols to transform the working principles of physical objects into intuitive and unambiguous graphical representations, without relying on the technical terms of specific physical domains, thus achieving unified modeling of cross-domain physical systems.
[0079] Accordingly, in the embodiments of this application, firstly, based on the working principle, the basic components that match the working principle can be determined. For example, based on the working principle, it can be determined whether the basic components corresponding to the physical object belong to the type of kinetic energy storage, potential energy storage, energy consumption, or energy conversion.
[0080] Next, the power bonds of the basic components are determined. These power bonds include potential variables and current variables. For example, in the working principle of a moment of inertia element, torque is a potential variable and angular velocity is a current variable; while in the working principle of a resistor, voltage is a potential variable and current is a current variable.
[0081] In this way, topological connections can be made based on basic components and power bonds to generate a bond graph.
[0082] S104: Generate the signal flow graph of the physical object based on the bond graph.
[0083] A signal flow graph is a graphical modeling tool that uses directed graphs to describe the causal relationships between variables in a system. It can associate the energy flow of physical objects with variables and transform it into a clear logical chain from input signals to processing modules to output signals.
[0084] Accordingly, in the embodiments of this application, firstly, the causal relationship between potential variables and current variables can be determined based on the bond graph. This causal relationship is used to indicate the input and output variables in the signal flow graph. For example, the causal relationship between the potential and current variables of a moment of inertia element is: the input variable is torque, and the output variable is angular velocity change; the causal relationship between the potential and current variables of a resistive element is: the input variable is voltage, and the output quantity is current (current variable). Furthermore, in practical applications, the direction between input and output variables is that the input variable points to the output variable. Generally speaking, the input variable is located on the left side of the model, and the output variable is located on the right side of the model.
[0085] Furthermore, a signal flow graph can be generated based on the basic components, input variables, and output variables. Here, the signal flow tool in GCKontrol software can be used to transform the abstract basic components used to generate the bond graph into graphical modules. For example, a rotational inertia component can be transformed into an integral module in the signal flow. Then, a signal flow graph is generated based on the transformed graphical modules, input variables, and output variables.
[0086] S105: Construct a simulation model of the physical object using bond graphs and signal flow graphs.
[0087] In this embodiment, the bond graph and signal flow graph can be integrated based on the working principle to obtain a simulation model. Specifically, the working principle of the physical object can be used as a unified constraint to associate parameters and logically bind the bond graph and signal flow graph to generate a simulation model.
[0088] Furthermore, in this embodiment, the simulation model of the physical object can also be simulated and solved using an Ordinary Differential Equation (ODE) solver in the GCKontrol software, and the simulation results can be obtained and output. Since the bond graph can provide the physical essence of the simulation model and the signal flow graph can realize the platform operability of the model, the simulation model constructed by combining the two has a reliable physical foundation and can be directly compiled and run on the GCKontrol software.
[0089] Specifically, the GCKontrol software includes a simulation model of the control system. Accordingly, during the simulation process, a connection can be established between the simulation model of the physical object and the simulation model of the control system. Based on this connection, control commands can be sent from the simulation model of the control system to the simulation model of the physical object, and the simulation model of the physical object can respond to these control commands to perform the simulation.
[0090] Next, the simulation process of the physical object's simulation model is solved using the ODE solver to obtain the simulation results. Since the state changes of a physical object (such as velocity, temperature, or pressure) often follow the laws of ordinary differential equations, the ODE solver can accurately solve these equations using numerical calculation methods to obtain the state changes of the physical object under different times and control commands, i.e., the simulation results.
[0091] As can be seen, since the final simulation model is consistent with the control system model in the GCKontrol software, it can achieve seamless integration between the physical object model and the control system model and provide real-time simulation functionality.
[0092] Based on the relevant content of steps S101-S105 above, it can be seen that in this embodiment, after obtaining the physical object to be modeled in response to the user's submitted modeling request, the working principle of the physical object can be determined first. Then, based on the working principle, a bond graph is generated for the physical object, and based on the bond graph, a signal flow graph of the physical object is generated. In this way, a simulation model of the physical object can be constructed using the bond graph and the signal flow graph. It is evident that by clarifying the working principle of the physical object, a unified physical law can be provided to support subsequent modeling, ensuring that the model conforms to the objective physical essence and improving the accuracy of modeling. Thus, the subsequent generation of the bond graph and signal flow graph based on the working principle, and subsequently the generation of the simulation model of the physical object, does not require manual construction by the user, helping to reduce the complexity of user operations and improve the efficiency of simulation modeling.
[0093] Based on the physical object modeling method provided in the above embodiments, this application embodiment can also provide an application example of the physical object modeling method. The application example of the physical object modeling method will be described below with reference to the embodiments and accompanying drawings.
[0094] Figure 2 This diagram illustrates an application example of a physical object modeling method provided in this embodiment. The physical object is taken as an example of a rotating inertia element, combined with... Figure 2 As shown, in the left bond graph, the input torque is a potential variable, while in the right bond graph, the output speed is a flow variable.
[0095] The signal flow graph in the middle describes the calculation logic of physical quantities, corresponding to the formula of rotational dynamics. That is, the summation module T summarizes the input torque, the division module accel divides the torque by the torque by the moment of inertia to obtain the angular acceleration (accel), and the integration module (1 / s) integrates the angular acceleration to obtain the speed output.
[0096] As can be seen, this modeling approach allows for the definition of energy domain physical quantities for input (torque) and output (rotational speed) using the bond graph, and the description of the mathematical transformation process from torque to angular acceleration and then to rotational speed using the signal flow graph. In this way, the combination of bond graphs and signal flow graphs intuitively expresses the working principle of the physical object, constructing a simulation model of the physical object without requiring manual user setup, thus reducing user complexity and improving simulation modeling efficiency.
[0097] Based on the physical object modeling method provided in the above embodiments, this application embodiment can also provide a physical object modeling device. The physical object modeling device will now be described in conjunction with the embodiments and accompanying drawings.
[0098] Figure 3 This is a schematic diagram of a physical object modeling device provided in an embodiment of this application. (Combined with...) Figure 3 As shown, the physical object modeling apparatus 300 provided in this application embodiment includes:
[0099] The physical object acquisition module 301 is used to acquire the physical object to be modeled in response to the modeling request submitted by the user.
[0100] The working principle determination module 302 is used to determine the working principle of the physical object;
[0101] The bond graph generation module 303 is used to generate a bond graph for the physical object based on the working principle described above.
[0102] The signal flow graph generation module 304 is used to generate a signal flow graph of the physical object based on the bond graph.
[0103] The simulation model construction module 305 is used to construct a simulation model of the physical object using the bond graph and the signal flow graph.
[0104] Optionally, the bond graph generation module 303 is specifically used for:
[0105] Based on the aforementioned working principle, determine the basic components that match the aforementioned working principle;
[0106] Determine the power bond of the basic component;
[0107] The bonding graph is generated based on the basic components and the power bond.
[0108] Optionally, the power bond includes a potential variable and a flow variable;
[0109] The signal flow graph generation module 304 is specifically used for:
[0110] Based on the bond graph, the causal relationship between the potential variable and the flow variable is determined, and the causal relationship is used to indicate the input and output variables in the signal flow graph.
[0111] The signal flow graph is generated based on the basic components, the input variables, and the output variables.
[0112] Optionally, the simulation model construction module 305 is specifically used for:
[0113] Based on the aforementioned working principle, the bonding graph and the signal flow graph are integrated to obtain the simulation model.
[0114] Optionally, the physical object modeling apparatus 300 further includes:
[0115] The simulation solution module is used in GCKontrol software to simulate and solve the simulation model of the physical object through the ordinary differential equation ODE solver, and obtain the simulation solution results.
[0116] The result output module is used to output the simulation solution results.
[0117] Optionally, the GCKontrol software includes a simulation model of the control system;
[0118] The simulation solution module is specifically used for:
[0119] Establish the connection between the simulation model of the physical object and the simulation model of the control system;
[0120] Based on the connection relationship, the simulation model of the control system sends control commands to the simulation model of the physical object, and the simulation model of the physical object responds to the control commands to perform simulation.
[0121] The simulation process of the simulation model of the physical object is solved by the ODE solver to obtain the simulation solution result.
[0122] Furthermore, embodiments of this application also provide an electronic device, including: a processor, a memory, and a system bus;
[0123] The processor and the memory are connected via the system bus;
[0124] The memory is used to store one or more programs, the one or more programs including instructions that, when executed by the processor, cause the processor to perform any of the implementation steps of the above-described physical object modeling method.
[0125] Furthermore, embodiments of this application also provide a computer-readable storage medium storing instructions that, when executed on an electronic device, cause any of the implementation steps of the above-described physical object modeling method to be performed.
[0126] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application. It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on describing the differences from other embodiments. The same or similar parts between the various embodiments can be referred to mutually.
[0127] The system disclosed in the embodiments is described in a relatively simple manner because it corresponds to the method disclosed in the embodiments. For relevant details, please refer to the method section.
[0128] It should also be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0129] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not 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
1. A method for modeling physical objects, characterized in that, include: In response to a user-submitted modeling request, retrieve the physical object to be modeled; Determine the working principle of the physical object; Based on the aforementioned working principle, a bond graph is generated for the physical object; Based on the bonding graph, a signal flow graph of the physical object is generated; A simulation model of the physical object is constructed using the bond graph and the signal flow graph.
2. The physical object modeling method according to claim 1, characterized in that, The process of generating a bond graph for the physical object based on the aforementioned working principle includes: Based on the aforementioned working principle, determine the basic components that match the aforementioned working principle; Determine the power bond of the basic component; The bonding graph is generated based on the basic components and the power bond.
3. The physical object modeling method according to claim 2, characterized in that, The power bond includes a potential variable and a flow variable; The step of generating the signal flow graph of the physical object based on the bond graph includes: Based on the bond graph, the causal relationship between the potential variable and the flow variable is determined, and the causal relationship is used to indicate the input and output variables in the signal flow graph. The signal flow graph is generated based on the basic components, the input variables, and the output variables.
4. The method for modeling physical objects according to claim 1, characterized in that, The construction of the simulation model of the physical object using the bond graph and the signal flow graph includes: Based on the aforementioned working principle, the bonding graph and the signal flow graph are integrated to obtain the simulation model.
5. The method for modeling physical objects according to any one of claims 1 to 4, characterized in that, The method further includes: In the GCKontrol software, the simulation model of the physical object is simulated and solved using the Ordinary Differential Equation (ODE) solver to obtain the simulation results. Output the simulation results.
6. The method for modeling physical objects according to any one of claims 1 to 4, characterized in that, The GCKontrol software includes a simulation model of the control system; The simulation model of the physical object is simulated and solved to obtain simulation results, including: Establish the connection between the simulation model of the physical object and the simulation model of the control system; Based on the connection relationship, the simulation model of the control system sends control commands to the simulation model of the physical object, and the simulation model of the physical object responds to the control commands to perform simulation. The simulation process of the simulation model of the physical object is solved by the ODE solver to obtain the simulation solution result.
7. A modeling device for physical objects, characterized in that, include: The physical object acquisition module is used to acquire the physical object to be modeled in response to the modeling request submitted by the user. The working principle determination module is used to determine the working principle of the physical object; A bond graph generation module is used to generate a bond graph for the physical object based on the aforementioned working principle. A signal flow graph generation module is used to generate a signal flow graph of the physical object based on the bond graph; The simulation model building module is used to build a simulation model of the physical object using the bond graph and the signal flow graph.
8. The physical object modeling apparatus according to claim 7, characterized in that, The bond graph generation module is specifically used for: Based on the aforementioned working principle, determine the basic components that match the aforementioned working principle; Determine the power bond of the basic component; The bonding graph is generated based on the basic components and the power bond.
9. An electronic device, characterized in that, The device includes: a processor, a memory, and a system bus; The processor and the memory are connected via the system bus; The memory is used to store a program, the program including instructions that, when executed by the processor, cause the processor to perform the steps of the modeling method for the physical object according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the modeling method for physical objects as described in any one of claims 1 to 6.