CN115034093B - Motor simulation model construction method with heat network and simulation method - Google Patents
Motor simulation model construction method with heat network and simulation method Download PDFInfo
- Publication number
- CN115034093B CN115034093B CN202210952705.8A CN202210952705A CN115034093B CN 115034093 B CN115034093 B CN 115034093B CN 202210952705 A CN202210952705 A CN 202210952705A CN 115034093 B CN115034093 B CN 115034093B
- Authority
- CN
- China
- Prior art keywords
- thermal
- model
- motor
- node
- simulation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/08—Thermal analysis or thermal optimisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a method for constructing a motor simulation model with a thermal network and a simulation method. The model construction method comprises the following steps: acquiring a thermal model of each part of the motor written in Modelica language, wherein the thermal model is used for realizing the simulation of a motor thermal network; dispersing a thermal model of a target component into a plurality of nodes according to the actual form of the target component, wherein the control equation structure of each node is the same as that of the thermal model of the target component, and each node is provided with at least one input port and at least one output port; selecting input and output port combinations of each node according to the actual heat conduction path of the target component; and modifying the thermal parameters in the control equation of each node according to the size of each node and the combination of the input port and the output port. The embodiment improves the modeling precision and flexibility.
Description
Technical Field
The invention relates to a new energy automobile simulation technology, in particular to a motor simulation model construction method with a heat network and a simulation method.
Background
The motor is one of important parts of a new energy automobile, and the performance of the motor directly influences the use of new energy steam. In the new energy automobile simulation modeling, an accurate motor model is established, which is beneficial to guiding the motor model selection in the early stage and the finished automobile verification in the later stage.
In the prior art, motor modeling is usually performed based on Amesim, simulink and other platforms, but an integrated heat network is lacked in Amesim, and the Simulink platform is very complicated in application of a cooling medium, so that the modeling process is very complex, and the modeling precision and flexibility are difficult to guarantee.
Disclosure of Invention
The invention provides a motor simulation model construction method with a heat network and a simulation method, and a motor simulation system with the heat network is compiled by adopting a Modelica language, so that the modeling precision and flexibility are improved.
In a first aspect, the invention provides a method for constructing a motor simulation model with a thermal network, which comprises the following steps:
acquiring a thermal model of each part of the motor written in Modelica language, wherein the thermal model is used for realizing the simulation of a motor thermal network;
discretizing a thermal model of a target component into a plurality of nodes according to the actual form of the target component, wherein the control equation structure of each node is the same as that of the thermal model of the target component, and each node is provided with at least one input port and at least one output port;
selecting input and output port combinations of all nodes according to the actual heat conduction paths of the target components;
and modifying the thermal parameters in the control equation of each node according to the size of each node and the combination of the input port and the output port.
In a second aspect, the present invention further provides a motor simulation method with a thermal network, including:
obtaining a motor simulation model with a thermal network, wherein the motor simulation model is constructed by adopting the model construction method;
setting the starting state of the thermal model of each part of the motor according to the simulation requirement;
and performing motor simulation by using the motor simulation model with the set starting state.
In a third aspect, the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the above-described motor simulation model construction method with thermal network, or the above-described motor simulation method with thermal network.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the above-mentioned method for building a simulation model of a motor with a thermal network, or the above-mentioned method for simulating a motor with a thermal network.
According to the embodiment of the invention, based on the non-causal characteristic of the Modelica language, the thermal model of any part of the motor is subjected to node dispersion along the path of the thermal network, and each discrete node can be provided with parameters such as corresponding size and input and output port combination so as to match more accurate thermal parameters. And the interior of each node does not need to be modeled again, and the control equation structure of the part model is still used, and only the value of the thermal parameter is changed. Therefore, on the basis of keeping the original heat network architecture, the granularity of the heat model can be flexibly set, and the model precision is improved. In addition, the motor model established by the Modelica platform can quickly realize the switching of different cooling media due to the advantage that the motor model can contain a media function package, and compared with the platforms such as Amesim and Simulink, the modeling speed and the simulation speed are greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic simulation diagram of a motor body model according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for constructing a motor simulation model with a thermal network according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a simulation model of a motor thermal network according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a rotor according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of discrete nodes of a thermal resistance model of a rotor provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of discrete nodes of a thermal resistance model of a cooling flow path according to an embodiment of the present invention;
FIG. 7 is a flow chart of a method for simulating a motor with a thermal network according to an embodiment of the present invention;
FIG. 8 is a flow chart of a stator heat and rotor heat calculation provided by an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should also be noted that, unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Fig. 1 is a schematic simulation diagram of a motor body model according to an embodiment of the present invention. As shown in fig. 1, the model operates to find the maximum torque and the minimum torque of the generator and the motor based on the torque MAP according to the voltage and the rotating speed of the motor; the efficiencies of the generator and the motor are obtained based on an efficiency MAP from the torque and the rotation speed of the motor. When the maximum torque and the efficiency are input into the calculation module, the calculation module can calculate the output torque according to an external control signal, a torque demand, the maximum torque, the minimum torque and the efficiency, and performs coupling calculation with an external mechanical flange port; meanwhile, the current mechanical power, electric power and motor current of the motor are calculated according to the torque, the rotating speed, the efficiency and the voltage.
Based on the above motor body model, fig. 2 is a flowchart of a method for constructing a motor simulation model with a thermal network according to an embodiment of the present invention. The method is suitable for the condition of modeling the motor heat network on the basis of the motor body model and is executed by the electronic equipment. As shown in fig. 2, the method specifically includes:
and S110, acquiring a thermal model of each component of the motor written in Modelica language, wherein the thermal model is used for realizing the simulation of a motor thermal network.
The motor thermal network reflects the heat distribution among the components of the motor. Specifically, the heat network includes a plurality of unit nodes, heat transfer is performed between the nodes by one of heat conduction, heat convection and heat radiation, and heat resistance is used for replacement between the nodes. If each node is analogized to a component in the circuit, a thermal balance equation can be established by means of the KCL and KVL laws on electricity, and therefore the heat distribution of each component is solved.
The motor heat network simulation model of the embodiment is written by adopting a non-causal Modelica language. Specifically, a heat source model and a thermal resistance model of each component of the motor and a thermal resistance model among the components are constructed in a Modelica environment; then, a Modelica language is adopted to write a medium function package and a control equation of each thermal resistance model respectively. Wherein, each part includes rotor, stator, front end housing, rear end housing, casing and cooling flow channel, and the thermal resistance model of rotor includes: a thermal resistance model of a first rotor between the rotor center and the front end cover, and a thermal resistance model of a second rotor between the rotor center and the rear end cover.
Fig. 3 is a schematic diagram of a simulation model of a thermal network of a motor according to an embodiment of the present invention, where each module is a thermal model. The thermal models include a heat source model, a thermal resistance model, a hot melt model, and an air temperature model, wherein the thermal resistance model includes a thermal convection resistance model and a thermal conduction resistance model (see legend at lower right).
In detail, Q1 represents a heat source model of the Stator, and Q _ stat represents Stator heat input into the heat source model of the Stator; q2 represents a heat source model of the Rotor, and Q _ Rotor represents the heat of the Rotor input into the heat source model of the Rotor; c1 represents a heat capacity model of the stator, and C2 represents a heat capacity model of the rotor.
A thermal resistance model of each part is constructed in the figure and is used for simulating the heat transfer process of each part. Wherein, ga1 represents a heat conduction resistance model of the stator, ga3 represents a heat conduction resistance model of the shell, ga5 represents a heat conduction resistance model of the front end cover, and Ga10 represents a heat conduction resistance model of the rear end cover. In particular, since the rotor is long and the heat source of the rotor is generated at the center of the rotor, the rotor is divided into a first rotor and a second rotor, and a thermal conduction resistance model Ga6 of the first rotor and a thermal conduction resistance model Ga8 of the second rotor are constructed.
Corresponding thermal resistance models are also constructed among the components and used for simulating heat transfer characteristics among the components. Wherein, ga2 represents a thermal conduction thermal resistance model between the stator and the housing, ga4 represents a thermal conduction thermal resistance model between the end cover and the housing, ga7 represents a thermal conduction thermal resistance model between the first rotor and the front end cover, ga9 represents a thermal conduction thermal resistance model between the second rotor and the rear end cover, gb1 represents a thermal convection thermal resistance model between the stator and the rotor, gb2 represents a thermal convection thermal resistance model between the front end cover and the air, gb3 represents a thermal convection thermal resistance model between the housing and the air, gb4 represents a thermal convection thermal resistance model between the cooling runner and the housing, and Gb5 represents a thermal convection thermal resistance model between the rear end cover and the air.
The air temperature model is similar to the boundary elements of the entire system model, including the air temperature T. Only port a1 is shown in the cooling flow path model, and the specific model structure will be described in detail in the following embodiments. Each model is written and developed by using a Modelica language based on the heat transfer principle of each component, and the embodiment is not particularly limited. It is worth mentioning that the thermal conduction thermal resistance model and the thermal convection thermal resistance model are both developed based on the thermal resistance model carried by the Melelica software.
Specifically, a thermal conduction thermal resistance calculation module is added to the thermal conduction thermal resistance model on the basis of a thermal resistance model of software. The heat conduction resistance calculation module is used for calculating the heat conduction resistance of the component according to component parameters which are easy to obtain in practical application; the calculated thermal conduction resistance is input into a thermal resistance model of the software, and the thermal resistance model of the software is used for automatically simulating a heat transfer process in the physical world through a media package function and the like. Optionally, the thermal conduction resistance calculation module includes the following equation control:
thermal conduction resistance = length L/(thermal conductivity lambda × body surface area a);
thermal conductivity = f2 (material), wherein the built-in database of the model provides the thermal conductivity corresponding to the commonly used material, and the user can determine the thermal conductivity by selecting the material, and can also directly assign/modify the thermal conductivity.
Similarly, a thermal convection thermal resistance calculation module is added to the thermal convection thermal resistance model on the basis of a thermal resistance model of the software. The thermal convection resistance calculation module is used for calculating the thermal convection resistance of the component according to component parameters which are easy to obtain in practical application; the calculated thermal convection resistance is input into a thermal resistance model of the software, and the thermal resistance model of the software is used for automatically simulating a heat transfer process in a physical world through a medium package function and the like. Optionally, the thermal convection resistance calculation module includes the following equation:
thermal convective resistance = 1/(thermal convective heat transfer coefficient hm1 × object surface area a);
thermal convection conductivity = f1 (shape factor, length, flow velocity or wind velocity), where wind velocity is related to the heat exchange by convection of the atmosphere and flow velocity is related to the heat exchange by convection of the fluid.
And S120, dispersing the thermal model of the target component into a plurality of nodes according to the actual form of the target component, wherein the control equation structure of each node is the same as that of the thermal model of the target component, and each node is provided with at least one input port and at least one output port.
The target component can be specified by a user and can also be determined according to the requirement of simulation accuracy. In general, a component having a large size, such as a rotor, a cooling flow passage, or the like, or a component having a rich form change, such as a cooling flow passage, or the like, has a significant change in heat transfer process therein, and can be further dispersed as a target component. Other components may also be the target component, and the embodiment is not particularly limited.
Optionally, the thermal resistance model of the target component is discretized into a plurality of nodes according to the actual form of the target component, and each node corresponds to a different part of the target component. For example, different portions of the rotor correspond to different sizes, and the portions having substantially the same size are divided into a node. Fig. 4 is a schematic structural diagram of a rotor according to an embodiment of the present invention, and it can be seen that two ends of the rotor are thin and the middle is thick, different portions correspond to different sizes, and a portion with substantially the same size is divided into one node, so that 3 nodes shown in fig. 5 can be obtained. For another example, different portions of the cooling flow path correspond to different flow directions (see fig. 6), and the thermal resistance model of the cooling flow path is discretized into 9 nodes according to the change of the flow directions. Further, the heat transfer mechanism of each node and the target component is the same, so the specific form or structure of the control equation of the node and the target component is the same, and only the values of the thermal parameters in the equation may be different, and how to modify the thermal parameter values of the cutting point is described in detail below.
And S130, selecting input and output port combinations of all nodes according to the actual heat conduction paths of the target components.
Each node is provided with at least one input port and at least one output port, and different input and output port combinations correspond to different heat conduction paths. In order to more visually represent the characteristic, each node is abstracted to a hexahedral model as shown in fig. 5, and a path of left and right flow, a path of up and down flow, or a path of turning flow can be set by opening different ports. When input and output ports are determined, firstly, determining the actual heat conduction path of each node according to the actual heat conduction path of the target component; and then selecting the input and output port combination of each node according to the corresponding relation between the heat conduction path and the input and output port combination. The correspondence may be set in advance by the user.
Taking the rotor shown in fig. 4 as an example, since the rotor is horizontally disposed in the motor, the actual heat conduction path is also conducted horizontally from one end to the other end, so that the input and output port combination of left-in right-out or right-in left-out is selected for each position node. For the cooling flow path shown in fig. 6, the input and output port combination for node 1 is selected to go up and down, the input and output port combination for node 2 is selected to go up and down and right, and so on.
And S140, modifying the thermal parameters in the control equation of each node according to the input and output port combination of each node.
Optionally, different input and output port combinations correspond to different thermal parameter calculation equations, and thermal parameters to be used in the node model, such as thermal resistance, thermal capacity, and the like, are modified according to the parameter calculation equations. Two specific embodiments are given below by taking the rotor and the cooling flow channel as examples.
In the first embodiment, the target member is a rotor, and may be specifically any one of the first rotor and the second rotor. After dividing the rotor into a plurality of nodes, determining the rotor surface area of each node according to the rotor size of any node and the combination of the input port and the output port; and substituting the surface area of the rotor into a thermal parameter calculation equation corresponding to the combination to calculate the thermal parameters of the nodes. Specifically, taking a rotor as an example, the input and output port combinations of each part node are both left and right flow directions, which hardly affect the thermal parameter, and is equivalent to multiplying the thermal parameter by a coefficient 1; the sizes (e.g., different diameters and different lengths) of different portions of the rotor determine different heat dissipation surface areas of the nodes, thereby causing different thermal parameters of the nodes. In one embodiment, assuming that the length L =1 and the thermal resistance G =1 in the thermal resistance model of the rotor before discretization, the thermal parameter of each node in fig. 5 after discretization may become L = { L1, L2, L3}, and G = { G1, G2, G3}, where L1+ L2+ L3=1 and G1+ G2+ G3=1. The temperature transmission of different parts of the rotor can be realized through discrete nodes, and the thermal simulation of different granularities is carried out under the condition that a thermal network model framework is not changed. In practical applications, the thermodynamic parameters of each node are many, and are usually represented in a matrix form, and the affected parameters in the thermodynamic parameters are modified in the step.
In a second embodiment, the target component is a cooling channel. After dividing a cooling channel into a plurality of nodes, determining the cooling liquid flow resistance and the channel surface area of each node according to the size of any node and the combination of an input port and an output port; and substituting the flow resistance of the cooling liquid and the surface area of the flow channel into a thermal parameter calculation equation corresponding to the combination, and calculating the thermal parameters of the nodes. Specifically, the cooling flow channel transfers water or other cooling liquid for heat exchange, the size of the node influences the surface area of the flow channel, the combination of the input port and the output port reflects the direction of the flow channel, and the surface area and the flow resistance of the flow channel are influenced; and the surface area and the flow resistance of the flow channel influence thermal parameters, such as thermal resistance, in the simulation model.
Specifically, as shown in fig. 6, the nodes 1, 5, and 9 are vertical flow channels, and correspond to the combination of the input and output ports in the up-down direction, and the coolant is greatly influenced by gravity. Under the condition that other factors influencing the flow resistance, such as fluid physical properties, pipeline sizes, pipeline materials and the like, are the same, the node flow resistance flowing from top to bottom (straight up and straight down) is the minimum, and the node flow resistance flowing from bottom to top (straight up and straight down) is the maximum. The nodes 3 and 7 are horizontal flow channels, correspond to the combination of the input and output ports in the left and right directions, and the flow resistance of the cooling liquid is less influenced by gravity and is different from the flow resistance of the flow channels in the vertical direction. The nodes 2, 4 and 8 are combined correspondingly to the upper right input port, the lower left output port and the lower right output port, half of the flow resistance of the cooling liquid is greatly influenced by gravity, half of the flow resistance is slightly influenced by gravity, and the flow resistance is different. In addition, the flow channels of the nodes 2, 4 and 8 are turned, and the corresponding flow channel surface area is larger on the premise that the length of the flow channel of each node is the same. Both the flow resistance and the flow channel surface area are important indexes influencing thermal parameters. For example, in the thermal convective resistance calculation module in the above embodiment, since the flow resistance affects the fluid flow velocity, the thermal convective conduction coefficient is affected; the surface area of the flow channel and the thermal convection conductivity coefficient together affect the thermal convection resistance.
In practical application, a medium function package is stored in a channel model of the Modelica. The medium is written based on modelcia language and can represent various general physical properties of the fluid. The media function package may calculate common physical properties such as density, specific enthalpy, kinetic viscosity, thermal conductivity, specific heat capacity, degree of phase change, dew point, boiling point, saturation pressure, saturation temperature, latent heat, etc., based on pressure, temperature, component(s). After the heat source is transferred to each flow channel node, each node can directly call the medium package to carry out simulation of heat transfer and other heat directions.
In the embodiment, the thermal model of any part of the motor is subjected to node dispersion along the path of the thermal network, and each discrete node can be provided with parameters such as corresponding size and input and output port combination so as to match more accurate thermal parameters. And the interior of each node does not need to be modeled again, and the control equation structure of the part model is still used, and only the value of the thermal parameter is changed. Therefore, on the basis of keeping the original heat network architecture, the granularity of the thermal model can be flexibly set, and the model precision is improved. In addition, the motor model established by the Modelica platform can rapidly realize the switching of different cooling media due to the advantage that the motor model can contain a media function package, and compared with the platforms such as Amesim and Simulink, the modeling speed and the simulation speed are greatly improved.
Fig. 7 is a flowchart of a motor simulation method with a thermal network according to an embodiment of the present invention. As shown in fig. 7, the method includes:
s210, obtaining the motor simulation model with the thermal network constructed by the method of the embodiment.
And S220, setting the starting state of the thermal model of each part of the motor according to the simulation requirement. Based on the characteristics of the Modelica language, each thermal module in FIG. 2 is packaged independently and independently, and whether to be enabled or not can be determined according to the requirements of customers. Optionally, if the thermal model of a component is in a non-enabled state, i.e. the model is closed, and the network does not need to be built again, the control equation of the thermal model is switched to: the output parameter is equal to the input parameter. The thermal model that is closed at this time corresponds to a straight line.
And S230, performing motor simulation by using the motor simulation model with the set starting state.
Alternatively, the rotor heat and the stator heat are coupled and calculated according to the efficiency MAP of the motor. The specific process is as shown in fig. 8, matching the motor power input by the customer with the built-in database to obtain the energy consumption distribution power of the stator and the rotor; and then, power calculation is carried out according to the efficiency MAP, and energy losses of the stator and the rotor are obtained, wherein the energy losses are the heat of the rotor and the heat of the stator. In particular, the method comprises the following steps of,
Q_Rotor+Q_Stator=P_loss
p _ loss = (1-motor efficiency) × total power
The calculated rotor and stator heat are then input into the motor model of fig. 2. And calling respective thermal parameter values and control equations by each model and each node to perform simulation calculation of the whole motor.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 9, the electronic device includes a processor 60, a memory 61, an input device 62, and an output device 63; the number of processors 60 in the device may be one or more, and one processor 60 is taken as an example in fig. 9; the processor 60, the memory 61, the input device 62 and the output device 63 in the apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 9.
The memory 61 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for constructing a motor simulation model with a thermal network or the method for simulating a motor with a thermal network in the embodiment of the present invention. The processor 60 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 61, namely, implementing the above-mentioned motor simulation model construction method with thermal network or the motor simulation method with thermal network.
The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 62 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 63 may include a display device such as a display screen.
The embodiment of the invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for constructing the motor simulation model with the thermal network or the method for simulating the motor with the thermal network according to any embodiment is implemented.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the technical solutions of the embodiments of the present invention.
Claims (9)
1. A method for constructing a motor simulation model with a heat network is characterized by comprising the following steps:
acquiring a thermal model of each part of the motor compiled by Modelica language, wherein the thermal model is used for realizing the simulation of a motor thermal network;
discretizing a thermal model of a target component into a plurality of nodes according to the actual form of the target component, wherein the control equation structure of each node is the same as that of the thermal model of the target component, and each node is provided with at least one input port and at least one output port;
selecting input and output port combinations of all nodes according to the actual heat conduction paths of the target components; specifically, the actual heat conduction path of each node is determined according to the actual heat conduction path of the target component; selecting input and output port combinations of each node according to the corresponding relation between the heat conduction path and the input and output port combinations;
and modifying the thermal parameters in the control equation of each node according to the size of each node and the combination of the input port and the output port.
2. The model building method according to claim 1, wherein the thermal model includes a heat source model and a thermal resistance model;
the obtaining of the thermal model of each component of the motor written in the Modelica language comprises the following steps:
constructing a heat source model and a thermal resistance model of each part of the motor and a thermal resistance model among the parts in a Modelica environment;
respectively writing a medium function and a control equation of each thermal resistance model by adopting a Modelica language;
wherein, each part includes rotor, stator, front end housing, rear end housing, casing and cooling flow channel, and the thermal resistance model of rotor includes: a thermal resistance model of a first rotor between the rotor center and the front end cover, and a thermal resistance model of a second rotor between the rotor center and the rear end cover.
3. The model building method according to claim 2, wherein the discretizing the thermal model of the target component into a plurality of nodes according to the actual morphology of the target component comprises:
and dispersing the thermal resistance model of the target component into a plurality of nodes according to the actual form of the target component, wherein each node corresponds to different parts of the target component.
4. The model building method of claim 1, wherein if the target component is a rotor, the modifying the thermal parameters in the control equations of the nodes according to the input and output port combinations of the nodes comprises:
determining the rotor surface area of any node according to the rotor size and the input and output port combination of the node;
and substituting the surface area of the rotor into a thermal parameter calculation equation corresponding to the combination to calculate the thermal parameter of the node.
5. The model building method of claim 1, wherein if the target component is a coolant flow channel, the modifying the thermal parameters in the control equations of the nodes according to the input and output port combinations of the nodes comprises:
determining the flow resistance of the cooling liquid and the surface area of a flow channel of any node according to the size of the node and the combination of the input port and the output port;
and substituting the flow resistance of the cooling liquid and the surface area of the flow channel into a thermal parameter calculation equation corresponding to the combination, and calculating the thermal parameters of the nodes.
6. A motor simulation method with a thermal network is characterized by comprising the following steps:
obtaining a motor simulation model with a thermal network, wherein the motor simulation model is constructed by adopting the model construction method according to any one of claims 1-5;
setting the starting state of the thermal model of each part of the motor according to the simulation requirement;
and carrying out motor simulation by using the motor simulation model with the set starting state.
7. The simulation method according to claim 6, wherein the setting of the activation state of the thermal model of the motor components according to the simulation requirements comprises:
according to simulation requirements, if the thermal model of a component of the electric machine is in a non-activated state, the thermal model control equation is switched to: the output parameter is equal to the input parameter.
8. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of building a motor simulation model with thermal network of any one of claims 1-5, or the method of simulating a motor with thermal network of claim 6 or 7.
9. A computer-readable storage medium, characterized in that a computer program is stored thereon, which when executed by a processor implements the method of constructing a motor simulation model with thermal network according to any one of claims 1 to 5, or the method of simulating a motor with thermal network according to claim 6 or 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210952705.8A CN115034093B (en) | 2022-08-10 | 2022-08-10 | Motor simulation model construction method with heat network and simulation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210952705.8A CN115034093B (en) | 2022-08-10 | 2022-08-10 | Motor simulation model construction method with heat network and simulation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115034093A CN115034093A (en) | 2022-09-09 |
CN115034093B true CN115034093B (en) | 2022-11-15 |
Family
ID=83129982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210952705.8A Active CN115034093B (en) | 2022-08-10 | 2022-08-10 | Motor simulation model construction method with heat network and simulation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115034093B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116882205B (en) * | 2023-09-06 | 2023-11-24 | 中汽数据(天津)有限公司 | Power battery simulation model construction method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114611232A (en) * | 2022-03-08 | 2022-06-10 | 太仓市同维电子有限公司 | Three-dimensional thermal resistance network model and shell temperature and maximum heat dissipation power prediction method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9542509B2 (en) * | 2012-07-16 | 2017-01-10 | Siemens Aktiengesellschaft | Context-based synthesis of simulation models from functional models of cyber-physical systems |
JP6699795B1 (en) * | 2019-03-19 | 2020-05-27 | 株式会社Gsユアサ | Simulation method, simulation device, and computer program |
CN111222230A (en) * | 2019-12-30 | 2020-06-02 | 国网北京市电力公司 | Modeling processing method and device for heat pump type electric heating equipment |
CN111339644A (en) * | 2020-02-17 | 2020-06-26 | 中国人民解放军空军勤务学院 | Modeling simulation method of turbojet engine modified thermal snow blowing device equipment |
CN112231945B (en) * | 2020-09-15 | 2022-03-15 | 中国汽车技术研究中心有限公司 | Power battery system thermal diffusion joint simulation method based on star CCM + and Amesim |
US11636240B2 (en) * | 2020-10-14 | 2023-04-25 | Schlumberger Technology Corporation | Reservoir performance system |
CN114239216A (en) * | 2021-11-08 | 2022-03-25 | 中汽数据(天津)有限公司 | Modelica-based hot fluid medium simulation real-time method |
CN113987840B (en) * | 2021-12-24 | 2022-03-15 | 中国汽车技术研究中心有限公司 | Modelica-based model splitting method, Modelica-based model splitting equipment and storage medium |
CN114818534A (en) * | 2022-04-21 | 2022-07-29 | 西安航天动力研究所 | Low-temperature medium direct contact condensation numerical simulation method |
-
2022
- 2022-08-10 CN CN202210952705.8A patent/CN115034093B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114611232A (en) * | 2022-03-08 | 2022-06-10 | 太仓市同维电子有限公司 | Three-dimensional thermal resistance network model and shell temperature and maximum heat dissipation power prediction method |
Also Published As
Publication number | Publication date |
---|---|
CN115034093A (en) | 2022-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN115034093B (en) | Motor simulation model construction method with heat network and simulation method | |
CN106446364A (en) | Temperature field-thermal circuit direct coupling-based motor heat analysis method | |
CN104408237B (en) | A kind of method and apparatus for obtaining motor transient temperature field | |
CN109388859A (en) | A kind of performance of lithium ion battery emulation mode and system | |
Xie et al. | An improved electrothermal‐coupled model for the temperature estimation of an air‐cooled battery pack | |
CN113515057B (en) | System for industrial control scene simulation and corresponding method, equipment and medium | |
CN106021676A (en) | Multi-circle cable steady-state temperature rise acquiring method based on transfer matrix | |
CN111125966A (en) | Three-dimensional numerical simulation method for gas storage tank | |
CN114357806B (en) | Dual-mode simulation method and device of fuel cell stack based on material flow interface | |
CN114239216A (en) | Modelica-based hot fluid medium simulation real-time method | |
US11366944B2 (en) | Modeling interior permanent magnet synchronous machines considering permeability of rotor | |
CN106096157A (en) | A kind of axial ventilation permagnetic synchronous motor Calculation Method of Temperature Field | |
CN116720384A (en) | Permanent magnet synchronous motor temperature field analysis method, storage medium and equipment | |
CN108733887A (en) | A kind of switched reluctance machines heat analysis method divided based on variable density Symmetric Mesh | |
US20140039869A1 (en) | Method and Program for Generating a Simulator | |
CN114282456A (en) | Heat exchanger parameter virtual verification optimization method and device | |
CN110235128A (en) | System and method for constructing compact wall model | |
CN113947021A (en) | Thermal management control method and thermal management control device | |
Singer et al. | Multiphysics simulation-thermal management of a traction battery for electric motorcycles | |
CN116882205B (en) | Power battery simulation model construction method | |
Fu et al. | Research on Testing Platform Based on Electric Driven Digital Twin Model | |
Nativel et al. | Integrated framework for voltage security assessment | |
Cremasco et al. | Thermal simulations for optimization of dry transformers cooling system | |
Fewell et al. | User's manual for computer code SOLTES-1B: simulator of large thermal energy systems | |
CN117590918B (en) | Server heat dissipation control system and server heat dissipation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |