Motor equipment hybrid system simulation method and device, electronic equipment and storage medium
By introducing the interface element in the complete system model of the motor equipment mixed system, it is divided into electrical system models and multidisciplinary system models, and the function model unit and electrical system model are used to simulate, which solves the unable to export the complete dynamic equation. The problem has achieved efficient and complex system simulation.
Patent Information
- Application Number
- CN202411602857.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-11-11
Smart Images

Figure CN119358277A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power electronics technology, and in particular to a method, device, electronic device and storage medium for simulating a hybrid system of motor equipment. Background Art
[0002] The new generation of motor equipment and systems is a fusion of power electronics and motors. The introduction of power electronics brings about continuous-discrete hybrid characteristics, making motor equipment and systems typical hybrid systems, facing the problem of slow simulation speed and difficulty in considering multi-time scale processes at the same time. At the same time, the new generation of motor equipment and systems covers multiple disciplines, and multiple disciplines such as mechanics, fluid, and heat play an important role in the integrated simulation design of the system. Therefore, the new generation of motor equipment and systems presents two prominent characteristics of multi-time scale and multi-discipline, which brings challenges to its efficient simulation solution.
[0003] In recent years, discrete state event-driven methods have made progress in the simulation of power electronic systems. This type of method can better adapt to the hybrid characteristics of power electronic systems. Compared with the simulation solution method based on time step, the simulation speed has been greatly improved, and multiple time scale processes can be simulated simultaneously, which has good application prospects.
[0004] Existing discrete state event-driven simulation methods mainly focus on power electronics itself, and some focus on the motor itself, but they are all within the scope of electrical disciplines. The new generation of motor equipment and systems have more complex requirements for multidisciplinary models, such as the need to consider complex mechanical transmission structures and different structures of wind turbine blades, so event-driven methods are needed to access rich multidisciplinary models.
[0005] FMI (Functional Mock-up Interface) is an open standard developed by the Modelica Association. It aims to enable seamless data exchange and joint simulation between different simulation tools and models by defining a unified interface. The FMI standard is mainly used for multi-domain system simulation, especially in engineering and scientific research. The model exported by FMI is in the form of FMU (Functional Mock-up Unit), which contains model description files (.xml) and dynamic link library files (.dll).
[0006] Through FMI's model-level coupling method, a flexible and rich multidisciplinary model can be exported as an FMU, and then the FMU can be connected to the electrical model of the power electronics and motor body (possibly across multiple time scales) to form a complete motor system model. Furthermore, the complex system model can be solved using a discrete state event-driven method, which can not only efficiently complete complex system simulations, but also meet the needs of the motor field for multidisciplinary models.
[0007] However, in order to export the multidisciplinary FMU model and connect it with the electrical model, the multidisciplinary model needs to have complete boundary conditions. In other words, the multidisciplinary model itself must be complete, not part of the entire system, so that the model can have complete dynamic equations and can export FMU using FMI's model layer coupling method. However, in the above application scenarios, the multidisciplinary model is usually part of the motor equipment and system, such as the fan's impeller, transmission chain, etc., which are connected to electrical models such as motors. According to FMI's model exchange rules, FMUs of multidisciplinary models cannot be generated directly. Summary of the invention
[0008] The present application provides a hybrid system simulation method, device, electronic device and storage medium for motor equipment to solve the problem that in actual application scenarios, multidisciplinary models are usually part of motor equipment and systems, do not have complete dynamic equations, and cannot be exported to FMU using the FMI model layer coupling method.
[0009] The first aspect of the present application provides a method for simulating a hybrid system of motor equipment, comprising the following steps: obtaining a complete system model of the hybrid system of motor equipment; introducing interface elements into the complete system model, and dividing the complete system model into an electrical system model and a multidisciplinary system model through the interface elements, wherein the electrical system model and the multidisciplinary system model are connected through signals, and the interface elements and the multidisciplinary system model have complete boundary conditions; generating a functional model unit according to the interface elements and the multidisciplinary system model, and simulating the hybrid system of motor equipment according to the functional model unit and the electrical system model.
[0010] Optionally, generating a functional model unit according to the interface element and the multidisciplinary system model includes: obtaining a model exchange rule in the functional model interface; and compiling the interface element and the multidisciplinary system model into a functional model unit according to the model exchange rule.
[0011] Optionally, the interface element comprises a dual controlled potential source and a controlled current source.
[0012] Optionally, introducing interface elements into the complete system model includes: identifying the system type of the multidisciplinary system model; determining a controlled potential source and a controlled flow source according to the system type; and generating interface elements according to the controlled potential source and the controlled flow source.
[0013] Optionally, the system type of the multidisciplinary system model includes at least one of a translational mechanical system, a rotational mechanical system and a thermal system.
[0014] Optionally, the controlled potential source and the controlled flow source are determined according to the system type, including: if the system type is a translational mechanical system, the controlled potential source is a controlled speed source, and the controlled flow source is a controlled force source, wherein the speed of the controlled speed source is controlled by the speed of the controlled force source and is equal to the speed of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled speed source and is equal to the force of the controlled speed source; if the system type is a rotational mechanical system, the controlled potential source is a controlled speed source, the controlled flow source is a controlled torque source, and the controlled speed The speed of the source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source; if the system type is a thermal system, the controlled potential source is a controlled temperature source, the controlled flow source is a controlled heat flux source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flux source and is equal to the temperature of the controlled heat flux source, and the heat flux of the controlled heat flux source is controlled by the heat flux of the controlled temperature source and is equal to the heat flux of the controlled temperature source.
[0015] Optionally, simulation of the motor equipment hybrid system is performed according to the functional model unit and the electrical system model, including: compiling the overall system equation of the motor equipment hybrid system according to the functional model unit and the electrical system model, and simulating the motor equipment hybrid system based on the overall system equation.
[0016] A second aspect of the present application provides a hybrid system simulation device for motor equipment, including: an acquisition module for acquiring a complete system model of the hybrid system of motor equipment; a division module for introducing interface elements into the complete system model, and dividing the complete system model into an electrical system model and a multidisciplinary system model through the interface elements, wherein the electrical system model and the multidisciplinary system model are connected through signals, and the interface elements and the multidisciplinary system model have complete boundary conditions; a simulation module for generating a functional model unit according to the interface elements and the multidisciplinary system model, and simulating the hybrid system of motor equipment according to the functional model unit and the electrical system model.
[0017] The third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the hybrid system simulation method for motor equipment of the first aspect.
[0018] The fourth aspect of the present application provides a computer-readable storage medium having a computer program or instruction stored thereon. When the computer program or instruction is executed, the method for simulating a hybrid system of an electric motor equipment according to the first aspect is implemented.
[0019] Therefore, this application includes the following beneficial effects:
[0020] The motor equipment hybrid system simulation method proposed in the embodiment of the present application obtains the complete system model of the motor equipment hybrid system, introduces interface elements into the complete system model, divides the complete system model into an electrical system model and a multidisciplinary system model through the interface elements, simulates the motor equipment hybrid system according to the functional model unit and the electrical system model, introduces interface elements, realizes the complete equations derived from the multidisciplinary model, can be compiled into FMU, connects the FMU with the electrical model at the same time, and uniformly solves it using a discrete state event-driven method, thereby improving the simulation speed of the complex system. Thus, the problem that in actual complex systems, the multidisciplinary model is usually a part of the motor equipment and system, does not have a complete dynamic equation, and cannot be derived from the FMU using the model layer coupling method of FMI is solved.
[0021] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0023] Figure 1 A flow chart of a hybrid system simulation method for motor equipment provided according to an embodiment of the present application;
[0024] Figure 2 A flow chart of an efficient solution method for a hybrid system of motor equipment considering FMI model layer coupling according to an embodiment of the present application;
[0025] Figure 3 A schematic diagram of an original system and a system after adding an interface component according to an embodiment of the present application;
[0026] Figure 4 A schematic diagram of the overall system after being compiled into an FMU according to an embodiment of the present application;
[0027] Figure 5 An exemplary diagram of a hybrid system simulation device for motor equipment according to an embodiment of the present application;
[0028] Figure 6 It is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0029] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0030] The following describes the motor equipment hybrid system simulation method, device, electronic device and storage medium of the embodiment of the present application with reference to the accompanying drawings. In view of the problem mentioned in the above background technology that in actual complex systems, multidisciplinary models are usually part of motor equipment and systems, do not have complete dynamic equations, and cannot be derived from FMU using the model layer coupling method of FMI, the present application provides a motor equipment hybrid system simulation method, in which a complete system model of the motor equipment hybrid system is obtained, an interface element is introduced into the complete system model, and the complete system model is divided into an electrical system model and a multidisciplinary system model through the interface element. The motor equipment hybrid system is simulated according to the functional model unit and the electrical system model, and the interface element is introduced, so that the multidisciplinary model is derived from the complete equation, which can be compiled into FMU, and the FMU is connected to the electrical model at the same time, and the discrete state event-driven method is used to solve the problem, thereby improving the simulation speed of the complex system. Thus, the problem that in actual complex systems, multidisciplinary models are usually part of motor equipment and systems, do not have complete dynamic equations, and cannot be derived from FMU using the model layer coupling method of FMI is solved.
[0031] Specifically, Figure 1 A flow chart of a hybrid system simulation method for motor equipment provided in an embodiment of the present application.
[0032] like Figure 1 As shown, the motor equipment hybrid system simulation method includes the following steps:
[0033] In step S101 , a complete system model of a motor equipment hybrid system is obtained.
[0034] It can be understood that the embodiments of the present application can obtain a complete system model of a hybrid system of motor equipment, including an electrical model and a multidisciplinary model.
[0035] In step S102, an interface element is introduced into the complete system model, and the complete system model is divided into an electrical system model and a multidisciplinary system model through the interface element, wherein the electrical system model and the multidisciplinary system model are connected through signals, and the interface element and the multidisciplinary system model have complete boundary conditions.
[0036] The interface elements will be described in detail below and will not be repeated here. Multidisciplinary models are usually part of motor equipment and systems, such as the impeller and transmission chain of a fan. Boundary conditions define the physical constraints and initial conditions of the system on the boundary. Only with complete boundary conditions can the dynamic equations be complete, and the FMU can be derived using the FMI model layer coupling method.
[0037] It can be understood that in the complete system model of the motor equipment in the embodiment of the present application, interface elements are introduced to divide the system into an electrical system model and a multidisciplinary system model, and both the interface elements and the multidisciplinary system model need to have complete boundary conditions. The electrical system model and the multidisciplinary system model are connected by signals. In this way, comprehensive modeling and simulation of complex motor equipment systems can be achieved.
[0038] In an embodiment of the present application, the interface element includes a dual controlled potential source and a controlled current source.
[0039] Among them, a controlled potential source is a voltage source whose output voltage is controlled by another circuit variable; a controlled current source is a current source whose output current is controlled by another circuit variable; controlled potential sources and controlled current sources are dual and can be used interchangeably to meet different modeling needs.
[0040] It can be understood that the interface element of the embodiment of the present application includes a dual controlled potential source and a controlled flow source, and the controlled potential source and the controlled flow source are dual and can be used interchangeably to meet different modeling requirements.
[0041] In an embodiment of the present application, an interface element is introduced into a complete system model, including: identifying the system type of the multidisciplinary system model; determining a controlled potential source and a controlled flow source according to the system type; and generating an interface element according to the controlled potential source and the controlled flow source.
[0042] Among them, the system types of the multidisciplinary system model will be described in detail below and will not be repeated here; the controlled potential source includes a controlled speed source, a controlled rotation speed source and a controlled temperature source; the controlled flow source includes a controlled force source, a controlled torque source and a controlled heat flow source.
[0043] It can be understood that the embodiments of the present application can identify the system type of the multidisciplinary system model, and determine the controlled potential source and the controlled flow source according to the system type, wherein the controlled potential source includes a controlled speed source, a controlled rotation speed source and a controlled temperature source; the controlled flow source includes a controlled force source, a controlled torque source and a controlled heat flux source, and interface elements are generated according to the corresponding controlled potential source and controlled flow source.
[0044] In the embodiment of the present application, the system type of the multidisciplinary system model includes at least one of a translational mechanical system, a rotational mechanical system, and a thermal system.
[0045] Among them, a translational mechanical system is a mechanical system in which an object moves along a straight path; a rotational mechanical system is a mechanical system in which an object rotates around a fixed axis; and a thermal system is a system that focuses primarily on the transfer and distribution of thermal energy.
[0046] It can be understood that the system types of the multidisciplinary system model in the embodiment of the present application include translational mechanical systems, rotational mechanical systems and thermal systems, and the controlled potential source and the controlled flow source are determined by the system type of the multidisciplinary system model.
[0047] In an embodiment of the present application, the controlled potential source and the controlled flow source are determined according to the system type, including: if the system type is a translational mechanical system, the controlled potential source is a controlled speed source, and the controlled flow source is a controlled force source, wherein the speed of the controlled speed source is controlled by the speed of the controlled force source and is equal to the speed of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled speed source and is equal to the force of the controlled speed source; if the system type is a rotational mechanical system, the controlled potential source is a controlled speed source, the controlled flow source is a controlled torque source, and the controlled The speed of the controlled speed source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source; if the system type is a thermal system, the controlled potential source is a controlled temperature source, the controlled flow source is a controlled heat flux source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flux source and is equal to the temperature of the controlled heat flux source, and the heat flux of the controlled heat flux source is controlled by the heat flux of the controlled temperature source and is equal to the heat flux of the controlled temperature source.
[0048] Among them, the controlled speed source is a controlled voltage source that can be controlled and output speed; the controlled force source is a controlled current source that can be controlled and output force; the controlled speed source is a controlled voltage source that can be controlled and output speed; the controlled torque source is a controlled current source that can be controlled and output torque; the controlled temperature source is a controlled voltage source that can be controlled and output temperature; the controlled heat flow source is a controlled current source that can be controlled and output heat flow.
[0049] It can be understood that in the embodiment of the present application, when the system type of the multidisciplinary system model is identified as a translational mechanical system, the controlled speed source is selected as the controlled potential source, and the controlled force source is selected as the controlled flow source; when the system type is identified as a rotational mechanical system, the controlled speed source is selected as the controlled potential source, and the controlled torque source is selected as the controlled flow source; when the system type is identified as a thermal system, the controlled temperature source is selected as the controlled potential source, and the controlled heat flow source is selected as the controlled flow source; each group of controlled potential sources and controlled flow sources is dual, such as when the controlled speed source is selected as the controlled potential source, and the controlled force source is selected as the controlled flow source, the speed of the controlled speed source is controlled by the speed of the controlled force source and is proportional to the speed of the controlled force source. Etc., the force of the controlled force source is controlled by the force of the controlled speed source and is equal to the force of the controlled speed source; when the controlled speed source is selected as the controlled potential source and the controlled torque source is selected as the controlled flow source, the speed of the controlled speed source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source; when the controlled temperature source is selected as the controlled potential source and the controlled heat flux source is selected as the controlled flow source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flux source and is equal to the temperature of the controlled heat flux source, and the heat flux of the controlled heat flux source is controlled by the heat flux of the controlled temperature source and is equal to the heat flux of the controlled temperature source.
[0050] In step S103, a functional model unit is generated according to the interface element and the multidisciplinary system model, and a simulation of the motor equipment hybrid system is performed according to the functional model unit and the electrical system model.
[0051] Among them, the functional model unit is a model form exported by FMI, namely FMU, which contains model description files (.xml) and dynamic link library files (.dll).
[0052] It can be understood that the embodiments of the present application can generate functional model units based on interface elements and multidisciplinary system models, and integrate these functional model units with the electrical system model using simulation software to form a complete motor equipment hybrid system model for simulation.
[0053] In an embodiment of the present application, a functional model unit is generated according to an interface element and a multidisciplinary system model, including: obtaining a model exchange rule in the functional model interface; and compiling the interface element and the multidisciplinary system model into a functional model unit according to the model exchange rule.
[0054] The model exchange rules in the functional model interface are the model exchange rules in FMI, and according to the rules, the interface elements and the multidisciplinary system models are compiled into functional model units according to the model exchange rules.
[0055] It can be understood that the embodiment of the present application compiles the interface elements and multidisciplinary system models into functional model units by obtaining the model exchange rules in the functional model interface, and effectively integrates and simulates them with the electrical system model.
[0056] In an embodiment of the present application, simulation of a hybrid system of motor equipment is performed according to a functional model unit and an electrical system model, including: compiling an overall system equation of the hybrid system of motor equipment according to the functional model unit and the electrical system model, and simulating the hybrid system of motor equipment based on the overall system equation.
[0057] Among them, the overall system equations of the motor equipment hybrid system are compiled, and the overall system equations are compiled and solved by passing the functional model unit and the electrical model into the discrete state event-driven solver.
[0058] It can be understood that the embodiment of the present application transmits the functional model unit and the electrical model together to the discrete state event-driven solver, compiles the overall system equations and solves them, and simulates the hybrid system of the motor equipment based on the overall system equations.
[0059] According to the hybrid system simulation method for motor equipment proposed in the embodiment of the present application, a complete system model of the hybrid system of motor equipment is obtained, interface elements are introduced into the complete system model, and the complete system model is divided into an electrical system model and a multidisciplinary system model through the interface elements. The hybrid system of motor equipment is simulated according to the functional model unit and the electrical system model. The interface elements are introduced, and the complete equations derived from the multidisciplinary model are realized, which can be compiled into FMU. At the same time, the FMU is connected to the electrical model, and is solved uniformly using a discrete state event-driven method, thereby improving the simulation speed of complex systems.
[0060] A specific embodiment is provided below to further describe the hybrid system simulation method of motor equipment.
[0061] This embodiment proposes an efficient solution technology for hybrid systems of motor equipment considering FMI model layer coupling, such as Figure 2 As shown, the implementation steps of this technology are as follows:
[0062] Step S201: introducing an interface element consisting of a dual controlled potential source and a controlled current source into the complete system, and dividing the complete motor equipment and system model into an electrical model and a multidisciplinary model.
[0063] An interface element consisting of a dual controlled potential source and a controlled current source is introduced into the complete system, and the complete motor equipment and system model is divided into an electrical model and a multidisciplinary model. Among them, for the introduced interface element, the potential value of the potential source is controlled by and equal to the potential value of the current source, and the current value of the current source is controlled by and equal to the current value of the potential source.
[0064] like Figure 3 As shown in the figure, P is the potential source, F is the flow source, and u P is the potential of the potential source, i P is the flow of the potential source, u F is the potential of the flow source, i F is the source flow, u P =u F It means that the potential value of the potential source is controlled by the potential value of the flow source and is equal to the potential value of the flow source. F =i P It means that the current value of the current source is controlled by the current value of the potential source and is equal to the current value of the potential source. In the figure, the solid line represents the power line, and the dotted line represents the signal line.
[0065] Specifically:
[0066] ① For the translational mechanical system connected to the electrical system, an interface element consisting of a pair of dual controlled potential sources and controlled flow sources is introduced at the interface, wherein the controlled potential source is a controlled velocity source, the controlled flow source is a controlled force source, the speed of the controlled velocity source is controlled by and equal to the speed of the controlled force source, and the force of the controlled force source is controlled by and equal to the force of the controlled velocity source.
[0067] ② For the rotating mechanical system connected to the electrical system, an interface element consisting of a pair of dual controlled potential source and controlled current source is introduced at the interface, wherein the controlled potential source is a controlled speed source, the controlled current source is a controlled torque source, the speed of the controlled speed source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source.
[0068] ③ For the thermal system connected to the electrical system, an interface element consisting of a pair of dual controlled potential sources and controlled flow sources is introduced at the interface, wherein the controlled potential source is a controlled temperature source, the controlled flow source is a controlled heat flux source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flux source and is equal to the temperature of the controlled heat flux source, and the heat flux of the controlled heat flux source is controlled by the heat flux of the controlled temperature source and is equal to the heat flux of the controlled temperature source.
[0069] Step S202: compile the multidisciplinary model and its corresponding interface elements into FMU.
[0070] After step S201, the original system is divided into subsystems that have no energy connection and only signal connection. Among them, the multidisciplinary model and the controlled source connected to the multidisciplinary model constitute a complete subsystem with complete boundary conditions. Therefore, the multidisciplinary model and the controlled source connected to the multidisciplinary model can be compiled into FMU in the form of model exchange in FMI.
[0071] Step S203: The multidisciplinary FMU and the electrical model are transmitted to the discrete state event-driven solver to compile the overall system equations and solve them.
[0072] against Figure 4 The overall system shown compiles the multidisciplinary model into the overall system after FMU, compiles the overall system equation, and solves it using a discrete state event-driven solver.
[0073] Next, the hybrid system simulation device for motor equipment proposed according to the embodiment of the present application is described with reference to the accompanying drawings.
[0074] Figure 5 It is a block diagram of a hybrid system simulation device for motor equipment according to an embodiment of the present application.
[0075] like Figure 5 As shown, the motor equipment hybrid system simulation device 10 includes: an acquisition module 301 , a division module 302 and a simulation module 303 .
[0076] Among them, the acquisition module 301 is used to obtain the complete system model of the hybrid system of motor equipment; the division module 302 is used to introduce interface elements into the complete system model, and divide the complete system model into an electrical system model and a multidisciplinary system model through the interface elements, wherein the electrical system model and the multidisciplinary system model are connected through signals, and the interface elements and the multidisciplinary system model have complete boundary conditions; the simulation module 303 is used to generate functional model units according to the interface elements and the multidisciplinary system model, and simulate the hybrid system of motor equipment according to the functional model units and the electrical system model.
[0077] In an embodiment of the present application, the interface element includes a dual controlled potential source and a controlled current source.
[0078] In an embodiment of the present application, the partitioning module 302 is further used to: introduce interface elements into the complete system model, including identifying the system type of the multidisciplinary system model; determining the controlled potential source and the controlled flow source according to the system type; and generating interface elements according to the controlled potential source and the controlled flow source.
[0079] In the embodiment of the present application, the system type of the multidisciplinary system model includes at least one of a translational mechanical system, a rotational mechanical system, and a thermal system.
[0080] In an embodiment of the present application, the controlled potential source and the controlled flow source are determined according to the system type, including: if the system type is a translational mechanical system, the controlled potential source is a controlled speed source, and the controlled flow source is a controlled force source, wherein the speed of the controlled speed source is controlled by the speed of the controlled force source and is equal to the speed of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled speed source and is equal to the force of the controlled speed source; if the system type is a rotational mechanical system, the controlled potential source is a controlled speed source, the controlled flow source is a controlled torque source, and the controlled The speed of the controlled speed source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source; if the system type is a thermal system, the controlled potential source is a controlled temperature source, the controlled flow source is a controlled heat flux source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flux source and is equal to the temperature of the controlled heat flux source, and the heat flux of the controlled heat flux source is controlled by the heat flux of the controlled temperature source and is equal to the heat flux of the controlled temperature source.
[0081] In the embodiment of the present application, the simulation module 303 is further used to: obtain model exchange rules in the functional model interface; and compile the interface elements and the multidisciplinary system model into functional model units according to the model exchange rules.
[0082] In an embodiment of the present application, the simulation module 303 is further used to: simulate the hybrid system of the motor equipment according to the functional model unit and the electrical system model, including compiling the overall system equations of the hybrid system of the motor equipment according to the functional model unit and the electrical system model, and simulating the hybrid system of the motor equipment based on the overall system equations.
[0083] It should be noted that the above explanation of the embodiment of the hybrid system simulation method for motor equipment is also applicable to the hybrid system simulation device for motor equipment of this embodiment, and will not be repeated here.
[0084] According to the hybrid system simulation device for motor equipment proposed in the embodiment of the present application, the complete system model of the hybrid system of motor equipment is obtained through the synergistic effect of the acquisition module, the division module and the simulation module, the interface element is introduced into the complete system model, the complete system model is divided into an electrical system model and a multidisciplinary system model through the interface element, the hybrid system of motor equipment is simulated according to the functional model unit and the electrical system model, the interface element is introduced, the complete equation is derived from the multidisciplinary model, and it can be compiled into FMU, and the FMU is connected to the electrical model at the same time, and the discrete state event-driven method is used for solution, thereby improving the simulation speed of complex systems.
[0085] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:
[0086] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0087] When the processor 402 executes the program, the motor equipment hybrid system simulation method provided in the above embodiment is implemented.
[0088] Furthermore, the electronic device also includes:
[0089] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0090] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0091] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0092] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0093] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0094] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0095] An embodiment of the present application also provides a computer-readable storage medium having a computer program or instruction stored thereon. When the computer program or instruction is executed, the above-mentioned motor equipment hybrid system simulation method is implemented.
[0096] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0097] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0098] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0099] It should be understood that the various parts of the present application can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, the steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0100] A person of ordinary skill in the art may understand that all or part of the steps carried by the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the above-mentioned program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0101] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A hybrid system simulation method for motor equipment, characterized in that: The following steps are involved: Obtain a complete system model of the motor equipment hybrid system; Introducing an interface element into the complete system model, dividing the complete system model into an electrical system model and a multidisciplinary system model through the interface element, wherein the electrical system model and the multidisciplinary system model are connected via signals, and the interface element and the multidisciplinary system model have complete boundary conditions; A functional model unit is generated according to the interface element and the multidisciplinary system model, and a hybrid system of motor equipment is simulated according to the functional model unit and the electrical system model.
2. The hybrid system simulation method for electric motor equipment according to claim 1, characterized in that: The generating of the functional model unit according to the interface element and the multidisciplinary system model comprises: Get the model exchange rules in the functional model interface; The interface elements and the multidisciplinary system model are compiled into the functional model unit according to the model exchange rules.
3. The hybrid system simulation method for electric motor equipment according to claim 1, characterized in that: The interface element includes a dual controlled potential source and a controlled current source.
4. The hybrid system simulation method for electric motor equipment according to claim 3, characterized in that: Introducing interface elements into the complete system model includes: identifying a system type of the multidisciplinary system model; determining the controlled potential source and the controlled flow source according to the system type; The interface element is generated according to the controlled potential source and the controlled current source.
5. The hybrid system simulation method for electric motor equipment according to claim 4, characterized in that: The system type of the multidisciplinary system model includes at least one of a translational mechanical system, a rotational mechanical system and a thermal system.
6. The hybrid system simulation method for electric motor equipment according to claim 5, characterized in that: The step of determining the controlled potential source and the controlled flow source according to the system type comprises: If the system type is the translational mechanical system, the controlled potential source is a controlled velocity source, and the controlled flow source is a controlled force source, wherein the velocity of the controlled velocity source is controlled by and equal to the velocity of the controlled force source, and the force of the controlled force source is controlled by and equal to the force of the controlled velocity source; If the system type is the rotating mechanical system, the controlled potential source is a controlled speed source, the controlled current source is a controlled torque source, the speed of the controlled speed source is controlled by the speed of the controlled torque source and is equal to the speed of the controlled torque source, and the torque of the controlled torque source is controlled by the torque of the controlled speed source and is equal to the torque of the controlled speed source; If the system type is the thermal system, the controlled potential source is a controlled temperature source, the controlled flow source is a controlled heat flow source, the temperature of the controlled temperature source is controlled by and equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by and equal to the heat flow of the controlled temperature source.
7. The hybrid system simulation method for electric motor equipment according to claim 1, characterized in that: The simulating of the motor equipment hybrid system according to the functional model unit and the electrical system model comprises: The overall system equation of the motor equipment hybrid system is compiled according to the functional model unit and the electrical system model, and the motor equipment hybrid system is simulated based on the overall system equation.
8. A hybrid system simulation device for motor equipment, characterized in that: The following steps are involved: An acquisition module is used to acquire a complete system model of a motor equipment hybrid system; a partitioning module, used for introducing an interface element into the complete system model, and partitioning the complete system model into an electrical system model and a multidisciplinary system model through the interface element, wherein the electrical system model and the multidisciplinary system model are connected through signals, and the interface element and the multidisciplinary system model have complete boundary conditions; A simulation module is used to generate a functional model unit according to the interface element and the multidisciplinary system model, and to simulate the motor equipment hybrid system according to the functional model unit and the electrical system model.
9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the hybrid system simulation method for motor equipment according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed, the hybrid system simulation method of electric motor equipment according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Multidisciplinary co-simulation realization method based on reflective memory network
CN106997414A
Multidisciplinary collaborative simulation system and method
CN109918796A
High-speed motorized spindle thermal error modeling method based on bonding graph
CN113110295A
Electromagnetic transient modeling simulation method and device suitable for offshore wind plant
CN115579937A
Method and device for realizing digital function model machine based on multi-field unified modeling language
CN116610041A