Simulation methods, devices, electronic equipment and storage media for hybrid systems of electric motor equipment
By introducing interface components into the hybrid system of motor equipment, the system is divided into electrical and multidisciplinary models, generating functional model units, which solves the problem of the inability to export multidisciplinary models and improves the simulation speed.
Patent Information
- Application Number
- CN202411602857.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-11-11
AI Technical Summary
Existing discrete state event-driven simulation methods are difficult to derive multidisciplinary model FMUs in next-generation motor equipment and systems because multidisciplinary models are usually part of motor equipment and systems and do not have complete dynamic equations, making it impossible to derive FMUs using the model-layer coupling method of FMI.
By introducing interface elements into the complete system model of the hybrid electric motor system, the system is divided into an electrical system model and a multidisciplinary system model. Functional model units are generated using controlled potential sources and controlled current sources, and then simulated with the electrical system model to compile the complete equations of the multidisciplinary model into an FMU.
It improves the simulation speed of complex systems, realizes the complete equation derivation of multidisciplinary models, solves the problem of the inability to derive multidisciplinary models, and enhances simulation efficiency.
Smart Images

Figure CN119358277B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power electronics technology, and in particular to a simulation method, device, electronic device and storage medium for hybrid systems of motor equipment. Background Technology
[0002] The new generation of electrical equipment and systems is a fusion of power electronics and electric motors. The introduction of power electronics brings hybrid characteristics of continuous and discrete processing, making electrical equipment and systems typical hybrid systems. This results in slow simulation speeds and difficulty in simultaneously considering multiple timescale processes. At the same time, the new generation of electrical equipment and systems encompasses multiple disciplines, with mechanics, fluid mechanics, and thermodynamics playing crucial roles in integrated system simulation design. Therefore, the two prominent characteristics of the new generation of electrical equipment and systems—multi-timescale and multi-disciplinary—pose challenges to efficient simulation solutions.
[0003] In recent years, discrete-state event-driven methods have made progress in power electronic system simulation. These methods can better adapt to the hybrid characteristics of power electronic systems. Compared with simulation solutions based on time steps, the simulation speed has been greatly improved, and multiple time scale processes can be simulated simultaneously, showing good application prospects.
[0004] Existing discrete-state event-driven simulation methods mainly focus on power electronics themselves, and some focus on the motor itself, but all fall within the scope of electrical engineering. However, the requirements of next-generation motor equipment and systems for multidisciplinary models are more complex, such as considering complex mechanical transmission structures and different structures of wind turbine blades. Therefore, event-driven methods need to be able to integrate 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 co-simulation between different simulation tools and models by defining a unified interface. The FMI standard is primarily used for multi-domain system simulation, especially in engineering and scientific research. Models exported via FMI are in the form of FMUs (Functional Mock-up Units), which include model description files (.xml) and dynamic link library files (.dll).
[0006] By using the model-layer coupling method of FMI (Functional Modeling Interface), flexible and rich multidisciplinary models can be exported as FMU (Functional Modeling Unit). This FMU can then be integrated into the electrical models of power electronics and the motor itself (potentially spanning multiple time scales) to form a complete motor system model. Furthermore, this complex system model can be solved using a discrete state event-driven method. This approach efficiently completes the simulation of complex systems while meeting the needs of the motor field for multidisciplinary models.
[0007] However, in order to derive a multidisciplinary FMU model and connect it to the electrical model, the multidisciplinary model needs to have complete boundary conditions. That is, the multidisciplinary model itself must be complete, not just a part of the entire system, so that the model possesses complete dynamic equations and can be used to derive the FMU using the model-layer coupling method of FMI. However, in the application scenarios mentioned above, the multidisciplinary model is usually a part of the motor equipment and system, such as the impeller and drive train of a wind turbine, which are connected to the electrical model of the motor. According to the model exchange rules of FMI, the FMU of the multidisciplinary model cannot be directly generated. Summary of the Invention
[0008] This application provides a simulation method, device, electronic device, and storage medium for hybrid systems of motor equipment, in order to solve the problem that in practical application scenarios, 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.
[0009] The first aspect of this application provides a simulation method for 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, 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 by signals, and the interface elements and the multidisciplinary system model have complete boundary conditions; generating functional model units based on the interface elements and the multidisciplinary system model, and performing simulation of the hybrid system of motor equipment based on the functional model units and the electrical system model.
[0010] Optionally, generating functional model units based on interface elements and multidisciplinary system models includes: obtaining model exchange rules in the functional model interface; and compiling the interface elements and multidisciplinary system models into functional model units according to the model exchange rules.
[0011] Optionally, the interface element includes a dual controlled potential source and a controlled current source.
[0012] Optionally, interface elements are introduced 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 based on the controlled potential source and the controlled flow source.
[0013] Optionally, the system type of the multidisciplinary system model includes at least one of translational mechanical system, rotational mechanical system, and thermal system.
[0014] Optionally, the controlled potential source and 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 velocity source, and the controlled flow source is a controlled force source, wherein the velocity of the controlled velocity source is controlled by the velocity of the controlled force source and is equal to the velocity of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled velocity source and is equal to the force of the controlled velocity source; if the system type is a rotating mechanical system, the controlled potential source is a controlled speed source, the controlled flow source is a controlled torque source, and the controlled speed source is... The rotational speed of the source is controlled by the rotational speed of the controlled torque source and is equal to the rotational speed of the controlled torque source. 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 flow source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source.
[0015] Optionally, the simulation of the hybrid electric motor equipment system is performed based on the functional model units and the electrical system model, including: compiling the overall system equations of the hybrid electric motor equipment system based on the functional model units and the electrical system model, and performing the simulation of the hybrid electric motor equipment system based on the overall system equations.
[0016] A second aspect of this application provides a simulation device for a hybrid electric motor system, comprising: an acquisition module for acquiring a complete system model of the hybrid electric motor system; a partitioning module for introducing interface elements into the complete system model and partitioning 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 by signals, and the interface elements and the multidisciplinary system model have complete boundary conditions; and a simulation module for generating functional model units based on the interface elements and the multidisciplinary system model, and performing simulation of the hybrid electric motor system based on the functional model units and the electrical system model.
[0017] A third aspect of this 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 this application provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed, implements the electrical equipment hybrid system simulation method of the first aspect.
[0019] Therefore, this application has the following beneficial effects:
[0020] The simulation method for hybrid electrical equipment systems proposed in this application obtains a complete system model of the hybrid electrical equipment system, introduces interface components into the complete system model, and divides the complete system model into an electrical system model and a multidisciplinary system model through the interface components. Simulation of the hybrid electrical equipment system is performed based on the functional model units and the electrical system model. The introduction of interface components enables the derivation of complete equations from the multidisciplinary model, which can be compiled into an Functional Model Unit (FMU). Simultaneously, the FMU is connected to the electrical model, and a unified discrete state event-driven method is used for solution, improving the simulation speed of complex systems. This solves the problem that in real-world complex systems, the multidisciplinary model is often part of the electrical equipment and system, lacks complete dynamic equations, and cannot derive the FMU using the model-layer coupling method of the Functional Model Injection (FMI).
[0021] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0022] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0023] Figure 1 This is a flowchart of a simulation method for a hybrid electrical equipment system according to an embodiment of this application;
[0024] Figure 2 The flowchart shows an efficient solution method for a hybrid motor equipment system considering FMI model layer coupling according to an embodiment of this application.
[0025] Figure 3 This is a schematic diagram of the original system and the system after adding interface components according to an embodiment of this application;
[0026] Figure 4 This is a schematic diagram of the overall system after compilation into an FMU according to an embodiment of this application;
[0027] Figure 5 This is an example diagram of a motor equipment hybrid system simulation device according to an embodiment of this application;
[0028] Figure 6 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of this application. Detailed Implementation
[0029] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0030] The following description, with reference to the accompanying drawings, outlines a simulation method, apparatus, electronic device, and storage medium for hybrid electrical equipment systems according to embodiments of this application. Addressing the issue mentioned in the background art that in real-world complex systems, multidisciplinary models are often part of the electrical equipment and system, lacking complete dynamic equations and thus unable to derive an Functional Model Unit (FMU) using the model-layer coupling method of Functional Model Instruction (FMI), this application provides a simulation method for hybrid electrical equipment systems. This method obtains a complete system model of the hybrid electrical equipment system, introduces interface elements into the complete system model, and uses these interface elements to divide the complete system model into an electrical system model and a multidisciplinary system model. Simulation of the hybrid electrical equipment system is then performed based on the functional model units and the electrical system model. The introduction of interface elements enables the deriving of complete equations from the multidisciplinary model, which can be compiled into an FMU. Simultaneously, the FMU is connected to the electrical model, and a unified discrete state event-driven method is used for solution, improving the simulation speed of complex systems. Therefore, this solves the problem that in real-world complex systems, multidisciplinary models are often part of the electrical equipment and system, lacking complete dynamic equations and thus unable to derive an FMU using the model-layer coupling method of FMI.
[0031] Specifically, Figure 1 This is a flowchart illustrating a simulation method for a hybrid electrical equipment system provided in an embodiment of this application.
[0032] like Figure 1 As shown, the simulation method for this hybrid system of motor equipment includes the following steps:
[0033] In step S101, a complete system model of the hybrid electric motor system is obtained.
[0034] It is understood that the embodiments of this application can obtain a complete system model of a hybrid electric motor system, including electrical models and multidisciplinary models.
[0035] In step S102, interface elements are 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 elements. The electrical system model and the multidisciplinary system model are connected by signals. The interface elements and the multidisciplinary system model have complete boundary conditions.
[0036] The interface components will be described in detail below and will not be repeated here; the multidisciplinary model is usually part of the motor equipment and system, such as the impeller and transmission chain of a fan; the boundary conditions define the physical constraints and initial conditions of the system on the boundary; only with complete boundary conditions can there be complete dynamic equations, and the FMU is derived using the model layer coupling method of FMI.
[0037] It is understood that in the complete system model of the motor equipment in the embodiments of this application, interface elements are introduced to divide the system into an electrical system model and a multidisciplinary system model. 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 the embodiments of this application, the interface element includes a dual controlled potential source and a controlled current source.
[0039] Among them, the controlled potential source is a voltage source whose output voltage is controlled by another circuit variable; the controlled current source is a current source whose output current is controlled by another circuit variable; the controlled potential source and the controlled current source are dual and can be used interchangeably to adapt to different modeling needs.
[0040] It is understood that the interface elements in the embodiments of this application include dual controlled potential sources and controlled flow sources. The controlled potential sources and controlled flow sources are dual and can be used interchangeably to adapt to different modeling needs.
[0041] In this embodiment of the application, an interface element is introduced 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 the interface element according to the controlled potential source and the controlled flow source.
[0042] 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 the controlled velocity source, the controlled rotation speed source and the controlled temperature source; the controlled flow source includes the controlled force source, the controlled torque source and the controlled heat flow source.
[0043] It is understood that the embodiments of this application can identify the system type of a multidisciplinary system model, 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 flow source, and generate interface elements according to the corresponding controlled potential source and controlled flow source.
[0044] In the embodiments of this application, the system type of the multidisciplinary system model includes at least one translational mechanical system, a rotating mechanical system, and a thermal system.
[0045] Among them, a translational mechanical system is a type of mechanical system in which an object moves along a straight path; a rotational mechanical system is a type of mechanical system in which an object rotates around a fixed axis; and a thermal system is a system that primarily focuses on the transfer and distribution of heat energy.
[0046] It is understood that the system types of the multidisciplinary system model in this application embodiment include translational mechanical systems, rotational mechanical systems and thermal systems, and the controlled potential source and controlled flow source are determined by the system type of the multidisciplinary system model.
[0047] In this embodiment, determining the controlled potential source and controlled flow source based on the system type includes: if the system type is a 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 the velocity of the controlled force source and is equal to the velocity of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled velocity source and is equal to the force of the controlled velocity source; if the system type is a rotating mechanical system, the controlled potential source is a controlled speed source, and the controlled flow source is a controlled torque source. The rotational speed of the controlled speed source is controlled by the rotational speed of the controlled torque source and is equal to the rotational speed of the controlled torque source. 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 the controlled temperature source, the controlled flow source is the controlled heat flow source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source.
[0048] Among them, the controlled speed source is a controlled voltage source that can control and output speed; the controlled force source is a controlled current source that can control and output force; the controlled speed source is a controlled voltage source that can control and output speed; the controlled torque source is a controlled current source that can control and output torque; the controlled temperature source is a controlled voltage source that can control and output temperature; and the controlled heat flow source is a controlled current source that can control and output heat flow.
[0049] It is understood that, in the embodiments of this application, when the system type of the multidisciplinary system model is identified as a translational mechanical system, the controlled velocity 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 rotating mechanical system, the controlled rotational 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 pair of controlled potential sources and controlled flow sources is paired. For example, when the controlled velocity source is selected as the controlled potential source and the controlled force source as the controlled flow source, the velocity of the controlled velocity source is controlled by the velocity of the controlled force source and is synchronized with the velocity of the controlled force source. The force of the controlled force source is controlled by the force of the controlled velocity source and is equal to the force of the controlled velocity 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 flow source is selected as the controlled flow source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source.
[0050] In step S103, functional model units are generated based on interface components and multidisciplinary system models, and the hybrid system of motor equipment is simulated based on functional model units and electrical system models.
[0051] The functional model unit is a model exported using the FMI method, i.e., FMU, which includes a model description file (.xml) and a dynamic link library file (.dll), etc.
[0052] It is understood that the embodiments of this application can generate functional model units based on interface elements and multidisciplinary system models, and integrate these functional model units with electrical system models using simulation software to form a complete hybrid system model of motor equipment for simulation.
[0053] In this embodiment of the application, generating a functional model unit based on interface elements and a multidisciplinary system model includes: obtaining model exchange rules in the functional model interface; and compiling the interface elements and the multidisciplinary system model into a functional model unit according to the model exchange rules.
[0054] Among them, the model exchange rules in the functional model interface are the model exchange rules in FMI. According to the rules, the interface components and multidisciplinary system models are compiled into functional model units.
[0055] It is understood that, in this application embodiment, by obtaining the model exchange rules in the functional model interface, the interface elements and multidisciplinary system models are compiled into functional model units, and effectively integrated and simulated with the electrical system model.
[0056] In this embodiment of the application, the simulation of the hybrid motor equipment system based on the functional model unit and the electrical system model includes: compiling the overall system equation of the hybrid motor equipment system based on the functional model unit and the electrical system model, and simulating the hybrid motor equipment system based on the overall system equation.
[0057] Among them, the overall system equations of the hybrid system of motor equipment are compiled by inputting the functional model units and the electrical model into the discrete state event-driven solver, compiling the overall system equations and solving them.
[0058] It is understood that in this embodiment of the application, the functional model unit and the electrical model are jointly input into the discrete state event-driven solver, the overall system equations are compiled and solved, and the simulation of the hybrid system of motor equipment is performed based on the overall system equations.
[0059] The simulation method for hybrid electric motor equipment proposed in this application obtains a complete system model of the hybrid electric motor equipment system, introduces interface components into the complete system model, and divides the complete system model into an electrical system model and a multidisciplinary system model through the interface components. The simulation of the hybrid electric motor equipment system is performed based on the functional model units and the electrical system model. The introduction of interface components enables the derivation of complete equations from the multidisciplinary model, which can be compiled into an FMU. At the same time, the FMU is connected to the electrical model and solved using a discrete state event-driven method, thereby improving the simulation speed of complex systems.
[0060] The following provides a specific embodiment to further describe the simulation method for hybrid systems of motor equipment.
[0061] This embodiment proposes an efficient solution technique for hybrid motor equipment systems that considers FMI model layer coupling, such as... Figure 2 As shown, the specific implementation steps of this technology are as follows:
[0062] Step S201: Introduce interface elements consisting of dual controlled potential sources and controlled current sources into the complete system, and divide 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, dividing the complete motor equipment and system model into an electrical model and a multidisciplinary model. For the introduced interface element, the potential value of the potential source is controlled by the potential value of the current source and is equal to the potential value of the current source; conversely, 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.
[0064] like Figure 3 As shown in the figure, P is the potential source, F is the current source, and u P It is the potential source, i P It is the flow of potential source, u F It is the potential of the source, i F It is the flow of the source, u P =u F This indicates that the potential value of the potential source is controlled by the potential value of the current source and is equal to the potential value of the current source, i F =i P This indicates 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 diagram, solid lines represent power lines and dashed lines represent signal lines.
[0065] Specifically:
[0066] ① For a translational mechanical system connected to an electrical system, an interface element consisting of a pair of controlled potential sources and controlled current sources is introduced at the interface. The controlled potential source is a controlled velocity source, and the controlled current source is a controlled force source. The velocity of the controlled velocity source is controlled by the velocity of the controlled force source and is equal to the velocity of the controlled force source. The force of the controlled force source is controlled by the force of the controlled velocity source and is equal to the force of the controlled velocity source.
[0067] ② For rotating mechanical systems connected to electrical systems, an interface element consisting of a pair of controlled potential sources and controlled current sources is introduced at the interface. The controlled potential source is a controlled speed source, and 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. 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 a thermal system connected to an electrical system, an interface element consisting of a pair of controlled potential sources and controlled current sources is introduced at the interface. The controlled potential source is a controlled temperature source, and the controlled current source is a controlled heat flow source. The temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source. The heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source.
[0069] Step S202: Compile the multidisciplinary model and its corresponding interface components into an FMU.
[0070] After step S201, the original system is divided into subsystems that are not interconnected by energy but only by signal. The multidisciplinary model and the controlled sources connected to it constitute a complete subsystem with complete boundary conditions. Therefore, the multidisciplinary model and the controlled sources connected to it can be compiled into an FMU according to the model exchange method in FMI.
[0071] Step S203: Input the multidisciplinary FMU and electrical model into the discrete state event-driven solver, compile the overall system equations and perform the solution.
[0072] against Figure 4 The overall system shown is generated by compiling the multidisciplinary model into an FMU, compiling the overall system equations, and solving them using a discrete state event-driven solver.
[0073] Next, the simulation device for a hybrid system of motor equipment proposed according to the embodiments of this application is described with reference to the accompanying drawings.
[0074] Figure 5 This is a block diagram of a hybrid system simulation device for motor equipment according to an embodiment of this 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] The acquisition module 301 is used to acquire a complete system model of the hybrid electric motor equipment system; the partitioning module 302 is used to introduce interface elements into the complete system model, and to partition the complete system model into an electrical system model and a multidisciplinary system model through the interface elements. The electrical system model and the multidisciplinary system model are connected by 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 based on the interface elements and the multidisciplinary system model, and to perform simulation of the hybrid electric motor equipment system based on the functional model units and the electrical system model.
[0077] In the embodiments of this application, the interface element includes a dual controlled potential source and a controlled current source.
[0078] In this embodiment, the partitioning module 302 is further configured 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 embodiments of this application, the system type of the multidisciplinary system model includes at least one translational mechanical system, a rotating mechanical system, and a thermal system.
[0080] In this embodiment, determining the controlled potential source and controlled flow source based on the system type includes: if the system type is a 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 the velocity of the controlled force source and is equal to the velocity of the controlled force source, and the force of the controlled force source is controlled by the force of the controlled velocity source and is equal to the force of the controlled velocity source; if the system type is a rotating mechanical system, the controlled potential source is a controlled speed source, and the controlled flow source is a controlled torque source. The rotational speed of the controlled speed source is controlled by the rotational speed of the controlled torque source and is equal to the rotational speed of the controlled torque source. 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 the controlled temperature source, the controlled flow source is the controlled heat flow source, the temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source.
[0081] In this embodiment, the simulation module 303 is further used to: obtain the 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 this embodiment, the simulation module 303 is further used to: simulate the hybrid system of motor equipment based on the functional model unit and the electrical system model, including compiling the overall system equation of the hybrid system of motor equipment based on the functional model unit and the electrical system model, and simulating the hybrid system of motor equipment based on the overall system equation.
[0083] It should be noted that the foregoing explanation of the simulation method embodiment for hybrid electric motor equipment also applies to the simulation device for hybrid electric motor equipment in this embodiment, and will not be repeated here.
[0084] The hybrid system simulation device for motor equipment proposed in this application achieves the acquisition of a complete system model of the hybrid system through the synergistic effect of the acquisition module, the partitioning module, and the simulation module. Interface elements are introduced into the complete system model to divide the complete system model into an electrical system model and a multidisciplinary system model. The simulation of the hybrid system is performed based on the functional model units and the electrical system model. The introduction of interface elements enables the derivation of complete equations from the multidisciplinary model, which can be compiled into an FMU. At the same time, the FMU is connected to the electrical model and solved using a discrete state event-driven method, 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 this application. The electronic device may include:
[0086] The memory 401, the processor 402, and the computer program stored on the memory 401 and capable of running on the processor 402.
[0087] When processor 402 executes the program, it implements the motor equipment hybrid system simulation method provided in the above embodiments.
[0088] Furthermore, the electronic device also includes:
[0089] Communication interface 403 is used for communication between memory 401 and processor 402.
[0090] The memory 401 is used to store computer programs that can run on the processor 402.
[0091] The memory 401 may include high-speed RAM (Random Access Memory) memory, and may also include non-volatile memory, such as at least one disk storage.
[0092] If the memory 401, processor 402, and communication interface 403 are implemented independently, then the communication interface 403, memory 401, and processor 402 can be interconnected via a bus to complete communication between them. 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 address bus, data bus, control bus, etc. For ease of representation, Figure 6 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0093] Optionally, in a specific implementation, if the memory 401, processor 402, and communication interface 403 are integrated on a single chip, then the memory 401, processor 402, and communication interface 403 can communicate with each other through an internal interface.
[0094] Processor 402 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of this application.
[0095] This application also provides a computer-readable storage medium storing a computer program or instructions thereon, which, when executed, implements the above-described simulation method for hybrid electrical equipment systems.
[0096] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0097] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0098] Any process or method described in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or N executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of this application pertain.
[0099] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any of the following techniques known in the art, or a combination thereof: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (FPGAs), field-programmable gate arrays (FPGAs), etc.
[0100] Those skilled in the art will understand that all or part of the steps of the methods implementing the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0101] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A simulation method for a hybrid system of motor equipment, characterized in that, Includes the following steps: Obtain a complete system model of the hybrid electric motor equipment system; Interface elements are introduced into the complete system model to divide it into an electrical system model and a multidisciplinary system model. Each interface element includes a dual controlled potential source and a controlled current source. The controlled potential source is a voltage source whose output voltage is controlled by another circuit variable; the controlled current source is a current source whose output current is controlled by another circuit variable. The interface elements are used to identify the system type of the multidisciplinary system model. Based on the system type, the controlled potential source and the controlled current source are determined. If the system type is a translational mechanical system, the controlled potential source is a controlled velocity source, and the controlled current source is a controlled force source. 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. The system type is a rotating mechanical system. The controlled potential source is a controlled speed source, and the controlled flow 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. 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, and the controlled flow source is a controlled heat flow source. The temperature of the controlled temperature source is controlled by the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source. The heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source. The interface element is generated based on the controlled potential source and the controlled flow source. The electrical system model and the multidisciplinary system model are connected by signals, and the interface element and the multidisciplinary system model have complete boundary conditions. Based on the interface elements and the multidisciplinary system model, functional model units are generated, and based on the functional model units and the electrical system model, simulation of the hybrid system of motor equipment is performed.
2. The simulation method for hybrid systems of motor equipment according to claim 1, characterized in that, The functional model generation unit based on the interface elements and the multidisciplinary system model includes: Get the model exchange rules from the functional model interface; The interface elements and the multidisciplinary system model are compiled into the functional model units according to the model exchange rules.
3. The simulation method for hybrid systems of motor equipment according to claim 1, characterized in that, The system types of the multidisciplinary system model include at least one translational mechanical system, rotating mechanical system, and thermal system.
4. The simulation method for hybrid systems of motor equipment according to claim 1, characterized in that, The simulation of the hybrid motor equipment system based on the functional model unit and the electrical system model includes: The overall system equations of the hybrid motor equipment system are compiled based on the functional model units and the electrical system model, and the simulation of the hybrid motor equipment system is performed based on the overall system equations.
5. A simulation device for a hybrid system of motor equipment, characterized in that, include: The acquisition module is used to acquire a complete system model of the hybrid electric motor equipment system; A partitioning module is used to introduce interface elements into the complete system model, dividing the complete system model into an electrical system model and a multidisciplinary system model through these interface elements. Each interface element includes a dual controlled potential source and a controlled current source. The controlled potential source is a voltage source whose output voltage is controlled by another circuit variable; the controlled current source is a current source whose output current is controlled by another circuit variable. Introducing the interface elements into the complete system model includes identifying the system type of the multidisciplinary system model; determining the controlled potential source and the controlled current source based on the system type. If the system type is a translational mechanical system, the controlled potential source is a controlled velocity source, and the controlled current source is a controlled force source. 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 a rotating mechanical system, the controlled potential source is a controlled speed source, the controlled flow 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 a 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 the temperature of the controlled heat flow source and is equal to the temperature of the controlled heat flow source, and the heat flow of the controlled heat flow source is controlled by the heat flow of the controlled temperature source and is equal to the heat flow of the controlled temperature source; the interface element is generated based on the controlled potential source and the controlled flow source; the electrical system model and the multidisciplinary system model are connected by signals, and the interface element and the multidisciplinary system model have complete boundary conditions; The simulation module is used to generate functional model units based on the interface components and the multidisciplinary system model, and to perform simulation of the hybrid system of motor equipment based on the functional model units and the electrical system model.
6. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the hybrid system simulation method for motor equipment as described in any one of claims 1-4.
7. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed, they implement the hybrid system simulation method for motor equipment as described in any one of claims 1-4.
Citation Information
Patent Citations
Method and device for realizing digital function model machine based on multi-field unified modeling language
CN116610041A
Creation of an interdisciplinary simulation model
US20210209267A1