CN115034093B - Construction method and simulation method of motor simulation model with thermal network - Google Patents

Construction method and simulation method of motor simulation model with thermal network Download PDF

Info

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
node
motor
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
Application number
CN202210952705.8A
Other languages
Chinese (zh)
Other versions
CN115034093A (en
Inventor
侯庆坤
张鹏
于秋晔
金薄
何绍清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Automotive Technology and Research Center Co Ltd
Automotive Data of China Tianjin Co Ltd
Original Assignee
China Automotive Technology and Research Center Co Ltd
Automotive Data of China Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Automotive Technology and Research Center Co Ltd, Automotive Data of China Tianjin Co Ltd filed Critical China Automotive Technology and Research Center Co Ltd
Priority to CN202210952705.8A priority Critical patent/CN115034093B/en
Publication of CN115034093A publication Critical patent/CN115034093A/en
Application granted granted Critical
Publication of CN115034093B publication Critical patent/CN115034093B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/08Fluids
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/08Thermal analysis or thermal optimisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling 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

带热网络的电机仿真模型构建方法和仿真方法Construction method and simulation method of motor simulation model with thermal network

技术领域technical field

本发明涉及新能源汽车仿真技术,尤其涉及一种带热网络的电机仿真模型构建方法和仿真方法。The invention relates to a new energy vehicle simulation technology, in particular to a method for constructing a simulation model of a motor with a heating network and a simulation method.

背景技术Background technique

电机作为新能源汽车的重要部件之一,其性能好坏直接影响新能源汽的使用。在新能源汽车仿真建模中,建立精确的电机模型,有利于指导前期的电机选型,以及后期的整车验证。As one of the important components of new energy vehicles, the performance of the motor directly affects the use of new energy vehicles. In the simulation modeling of new energy vehicles, the establishment of accurate motor models is conducive to guiding the selection of motors in the early stage and the verification of the whole vehicle in the later stage.

现有技术中,通常基于Amesim、Simulink等平台进行电机建模,但Amesim中缺乏集成的热网络,Simulink平台对于冷却介质的套用十分繁琐,使得建模过程非常复杂,且难以保证建模精度和灵活性。In the prior art, motor modeling is usually based on platforms such as Amesim and Simulink, but Amesim lacks an integrated thermal network, and the Simulink platform is very cumbersome to apply cooling media, making the modeling process very complicated, and it is difficult to ensure modeling accuracy and flexibility.

发明内容Contents of the invention

本发明提供一种带热网络的电机仿真模型构建方法和仿真方法,采用Modelica语言编写带热网络的电机仿真系统,提高建模精度和灵活性。The invention provides a motor simulation model construction method with a heating network and a simulation method, and uses the Modelica language to program the simulation system of a motor with a heating network, thereby improving modeling accuracy and flexibility.

第一方面,本发明提供了一种带热网络的电机仿真模型构建方法,包括:In the first aspect, the present invention provides a method for constructing a motor simulation model with a thermal network, comprising:

获取Modelica语言编写的电机各部件的热模型,所述热模型用于实现电机热网络的仿真;Obtain the thermal model of each component of the motor written in Modelica language, and the thermal model is used to realize the simulation of the thermal network of the motor;

根据目标部件的实际形态,将所述目标部件的热模型离散为多个节点,其中,各节点的控制方程结构与所述目标部件的热模型相同,且,各节点具备至少一个输入端口和输出端口;According to the actual shape of the target component, the thermal model of the target component is discretized into multiple nodes, wherein the control equation structure of each node is the same as the thermal model of the target component, and each node has at least one input port and output port;

根据所述目标部件的实际导热路径,选择各节点的输入、输出端口组合;Selecting the combination of input and output ports of each node according to the actual heat conduction path of the target component;

根据各节点的尺寸和输入、输出端口组合,修改各节点控制方程中的热参数。According to the size of each node and the combination of input and output ports, the thermal parameters in the control equation of each node are modified.

第二方面,本发明还提供了一种带热网络的电机仿真方法,包括:In the second aspect, the present invention also 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 using the above model construction method;

根据仿真需求,设置电机各部件的热模型的启用状态;According to the simulation requirements, set the activation state of the thermal model of each component of the motor;

利用启用状态设置完毕的电机仿真模型,进行电机仿真。Use the motor simulation model with the enabled state set to perform motor simulation.

第三方面,本发明还提供了一种电子设备,包括:In a third aspect, the present invention also provides an electronic device, comprising:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个程序,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-mentioned motor simulation model building method with heating network, or the above-mentioned motor simulation method with heating network.

第四方面,本发明还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述带热网络的电机仿真模型构建方法,或上述带热网络的电机仿真方法。In the fourth aspect, the present 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 above-mentioned method for building a simulation model of a motor with a thermal network, or the above-mentioned motor with a thermal network is implemented. simulation method.

本发明实施例基于Modelica语言的非因果特性,将电机任意部件的热模型沿热网络路径进行节点离散,每个离散的节点可以设置对应尺寸和输入、输出端口组合等参数,以匹配更准确的热参数。各节点内部无需重新建模,仍沿用所属部件模型的控制方程结构,只改变其中热参数的值。由此在保持原有热网络架构的基础上,能够灵活设置热模型的颗粒度,从而提高模型精度。此外,利用Modelica平台建立的电机模型由于可以包含介质函数包的优点,可以快速实现不同冷却介质的切换,与Amesim、Simulink等平台相比,建模速度和仿真速度均有大幅度提高。The embodiment of the present invention is based on the non-causal characteristics of the Modelica language, and the thermal model of any component of the motor is node-discrete along the thermal network path. Each discrete node can be set with parameters such as corresponding size and input and output port combinations to match more accurate thermal parameters. There is no need to remodel the interior of each node, and the control equation structure of the component model is still used, and only the value of the thermal parameter is changed. Therefore, on the basis of maintaining the original thermal network architecture, the granularity of the thermal model can be flexibly set, thereby improving the accuracy of the model. In addition, the motor model established by using the Modelica platform can quickly realize the switching of different cooling media due to the advantages of including the medium function package. Compared with Amesim, Simulink and other platforms, the modeling speed and simulation speed are greatly improved.

附图说明Description of drawings

为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific implementation of the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that need to be used in the specific implementation or description of the prior art. Obviously, the accompanying drawings in the following description The drawings show some implementations of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative work.

图1是本发明实施例提供的一种电机本体模型的仿真原理图;Fig. 1 is the simulation schematic diagram of a kind of motor body model provided by the embodiment of the present invention;

图2是本发明实施例提供的一种带热网络的电机仿真模型构建方法的流程图;Fig. 2 is a flow chart of a method for constructing a motor simulation model with a thermal network provided by an embodiment of the present invention;

图3是本发明实施例提供的一种电机热网络仿真模型的示意图;3 is a schematic diagram of a motor thermal network simulation model provided by an embodiment of the present invention;

图4是本发明实施例提供的一种转子的结构示意图;Fig. 4 is a schematic structural diagram of a rotor provided by an embodiment of the present invention;

图5是本发明实施例提供的一种转子的热阻模型的离散节点的示意图;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;

图6是本发明实施例提供的一种冷却流道的热阻模型的离散节点的示意图;6 is a schematic diagram of discrete nodes of a thermal resistance model of a cooling channel provided by an embodiment of the present invention;

图7是本发明实施例提供的一种带热网络的电机仿真方法的流程图;Fig. 7 is a flow chart of a motor simulation method with a heating network provided by an embodiment of the present invention;

图8是本发明实施例提供的一种定子热量和转子热量计算的流程图;Fig. 8 is a flow chart of stator heat and rotor heat calculation provided by an embodiment of the present invention;

图9为本发明实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将对本发明的技术方案进行清楚、完整的描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所得到的所有其它实施例,都属于本发明所保护的范围。In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to 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. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the referred device or element must have a specific orientation, or in a specific orientation. construction and operation, therefore, should not be construed as limiting the invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.

在本发明的描述中,还需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。In the description of the present invention, it should also be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be interpreted in a broad sense, for example, it can be a fixed connection or a flexible connection. Detachable connection, or integral connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary, and it can be the internal communication of two components. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.

图1是本发明实施例提供的一种电机本体模型的仿真原理图。如图1所示,该模型运行时根据电机的电压和转速,基于扭矩MAP图求出发电机和电动机的最大扭矩和最小扭矩;根据电机的扭矩和转速,基于效率MAP图求出发电机和电动机的效率。当最大扭矩和效率输入到计算模块中时,计算模块会根据外界控制信号、扭矩需求、最大扭矩、最小扭矩和效率计算出输出扭矩,与外界机械法兰口进行耦合计算;同时根据扭矩、转速、效率和电压计算出电机的当前的机械功率、电功率和电机电流。Fig. 1 is a schematic diagram of a simulation of a motor body model provided by an embodiment of the present invention. As shown in Figure 1, when the model is running, according to the voltage and speed of the motor, the maximum torque and minimum torque of the generator and the motor are obtained based on the torque MAP diagram; according to the torque and speed of the motor, the maximum torque and the minimum torque of the generator and the motor are obtained based on the efficiency MAP diagram. efficiency. When the maximum torque and efficiency are input into the calculation module, the calculation module will calculate the output torque according to the external control signal, torque demand, maximum torque, minimum torque and efficiency, and perform coupling calculation with the external mechanical flange port; at the same time, according to the torque, speed , efficiency and voltage to calculate the current mechanical power, electrical power and motor current of the motor.

基于以上的电机本体模型,图2是本发明实施例提供的一种带热网络的电机仿真模型构建方法的流程图。该方法适用于在电机本体模型的基础上对电机热网络进行建模的情况,由电子设备执行。如图2所示,该方法具体包括:Based on the motor body model above, FIG. 2 is a flowchart of a method for constructing a simulation model of a motor with a thermal network provided by an embodiment of the present invention. The method is applicable in the case of modeling the motor thermal network on the basis of the motor body model, performed by the electronics. As shown in Figure 2, the method specifically includes:

S110、获取Modelica语言编写的电机各部件的热模型,所述热模型用于实现电机热网络的仿真。S110. Obtain a thermal model of each component of the motor written in Modelica language, and the thermal model is used to realize the simulation of the thermal network of the motor.

电机热网络反映电机各部件之间的热量分布。具体的,热网络中包括多个单元节点,节点之间以热传导、热对流、热辐射中的一种进行热量传递,节点之间用热阻代替。如果将每个节点类比成电路中的元器件,可以借用电学上的KCL、KVL定律建立热平衡方程,从而求解出各部件的热量分布。The motor thermal network reflects the heat distribution between the various parts of the motor. Specifically, the thermal network includes a plurality of unit nodes, and heat transfer is performed between nodes by one of heat conduction, heat convection, and heat radiation, and between nodes is replaced by thermal resistance. If each node is compared to a component in a circuit, the heat balance equation can be established by using the KCL and KVL laws in electricity to solve the heat distribution of each component.

本实施例的电机热网络仿真模型,采用非因果关系的Modelica语言编写。具体的,在Modelica环境下构建电机各部件的热源模型、热阻模型,以及各部件之间的热阻模型;然后,采用Modelica语言分别编写各热阻模型的介质函数包和控制方程。其中,所述各部件包括转子、定子、前端盖、后端盖、壳体和冷却流道,转子的热阻模型包括:转子中心和前端盖之间的第一转子的热阻模型,以及转子中心和后端盖之间的第二转子的热阻模型。The thermal network simulation model of the motor in this embodiment is written in the non-causal Modelica language. Specifically, the heat source model, thermal resistance model, and thermal resistance model between each component of the motor are constructed in the Modelica environment; then, the dielectric function package and control equations of each thermal resistance model are written in Modelica language. Wherein, the components include a rotor, a stator, a front end cover, a rear end cover, a casing and a cooling channel, and the thermal resistance model of the rotor includes: the thermal resistance model of the first rotor between the center of the rotor and the front end cover, and the rotor Thermal resistance model of the second rotor between the center and rear endshield.

图3是本发明实施例提供的电机热网络仿真模型的示意图,图中的每个模块为一个热模型。热模型包括热源模型、热阻模型、热熔模型和空气温度模型,其中热阻模型包括热对流热阻模型和热传导热阻模型(参见右下角的图例)。Fig. 3 is a schematic diagram of a simulation model of a motor thermal network provided by an embodiment of the present invention, and each module in the figure is a thermal model. Thermal models include heat source model, thermal resistance model, heat fusion model and air temperature model, where thermal resistance model includes thermal convection thermal resistance model and thermal conduction thermal resistance model (see legend in the lower right corner).

详细的,Q1表示定子的热源模型,Q_Stator表示输入到定子热源模型中的定子热量;Q2表示转子的热源模型,Q_Rotor表示输入到转子热源模型中的转子热量;C1表示定子的热容模型,C2表示转子的热容模型。In detail, Q1 represents the heat source model of the stator, Q_Stator represents the stator heat input into the stator heat source model; Q2 represents the rotor heat source model, Q_Rotor represents the rotor heat input into the rotor heat source model; C1 represents the heat capacity model of the stator, C2 Represents the heat capacity model of the rotor.

图中构建了各部件自身的热阻模型,用于模拟部件自身的热传递过程。其中,Ga1表示定子的热传导热阻模型,Ga3表示壳体的热传导热阻模型,Ga5表示前端盖的热传导热阻模型,Ga10表示后端盖的热传导热阻模型。特别的,由于转子比较长,且转子热源产生于转子的中心,因此将转子划分为第一转子和第二转子,构建了第一转子的热传导热阻模型Ga6和第二转子的热传导热阻模型Ga8。In the figure, the thermal resistance model of each component is constructed to simulate the heat transfer process of the component itself. Among them, Ga1 represents the heat conduction thermal resistance model of the stator, Ga3 represents the heat conduction thermal resistance model of the casing, Ga5 represents the heat conduction thermal resistance model of the front end cover, and Ga10 represents the heat conduction thermal resistance model of the rear end cover. In particular, since the rotor is relatively long and the heat source of the rotor is generated in the center of the rotor, the rotor is divided into the first rotor and the second rotor, and the heat conduction thermal resistance model Ga6 of the first rotor and the thermal conduction thermal resistance model of the second rotor are constructed Ga8.

各部件之间也构建了相应的热阻模型,用于模拟部件之间的热传递特性。其中,Ga2表示定子与壳体间的热传导热阻模型,Ga4表示端盖与壳体间的热传导热阻模型,Ga7表示第一转子与前端盖间的热传导热阻模型,Ga9表示第二转子与后端盖间的热传导热阻模型,Gb1表示定子与转子间的热对流热阻模型,Gb2表示前端盖与空气间的热对流热阻模型,Gb3表示壳体与空气间的热对流热阻模型,Gb4表示冷却流道与壳体间的热对流热阻模型,Gb5表示后端盖与空气间的热对流热阻模型。Corresponding thermal resistance models are also constructed between each component to simulate the heat transfer characteristics between components. Among them, Ga2 represents the heat conduction thermal resistance model between the stator and the shell, Ga4 represents the heat conduction thermal resistance model between the end cover and the shell, Ga7 represents the heat conduction thermal resistance model between the first rotor and the front end cover, Ga9 represents the second rotor and the The heat conduction thermal resistance model between the rear end cover, Gb1 represents the heat convection thermal resistance model between the stator and the rotor, Gb2 represents the heat convection thermal resistance model between the front end cover and the air, and Gb3 represents the heat convection thermal resistance model between the shell and the air , Gb4 represents the heat convection thermal resistance model between the cooling channel and the housing, and Gb5 represents the heat convection thermal resistance model between the rear end cover and the air.

空气温度模型类似于整个系统模型的边界元,包含有空气温度T。冷却流道模型中只显示了端口a1,具体的模型结构将在后续实施例中详细介绍。各模型均基于各部件的热传递原理采用Modelica语言编写开发,本实施例不作具体限制。值得一提的是,热传导热阻模型和热对流热阻模型均是基于Meodelica软件自带的热阻模型开发而来的。The air temperature model is similar to the boundary element of the whole system model, including the air temperature T. Only the port a1 is shown in the cooling channel model, and the specific model structure will be introduced in detail in subsequent embodiments. Each model is written and developed in Modelica language based on the heat transfer principle of each component, which is not specifically limited in this embodiment. It is worth mentioning that both the thermal conduction thermal resistance model and the thermal convection thermal resistance model are developed based on the thermal resistance model that comes with Meodelica software.

具体的,热传导热阻模型在软件自带的热阻模型的基础上,增加了热传导热阻计算模块。热传导热阻计算模块用于根据实际应用中易于获取的部件参数计算部件的热传导热阻;计算得到的热传导热阻输入到软件自带的热阻模型中,软件自带的热阻模型用于通过介质包函数等自动等模拟物理世界中的热传递过程。可选的,热传导热阻计算模块包括以下方程控制:Specifically, the heat conduction resistance model adds a heat conduction resistance calculation module on the basis of the thermal resistance model that comes with the software. The thermal conduction thermal resistance calculation module is used to calculate the thermal conduction thermal resistance of components according to the component parameters that are easy to obtain in practical applications; the calculated thermal conduction thermal resistance is input into the thermal resistance model that comes with the software, and the thermal resistance model that comes with the software is used to pass The medium package function and so on automatically simulate the heat transfer process in the physical world. Optionally, the heat conduction thermal resistance calculation module includes the following equation control:

热传导热阻=长度L/(导热率lambda×物体表面积A);Thermal conduction thermal resistance = length L/(thermal conductivity lambda × object surface area A);

导热率=f2(材料),其中,模型内置的数据库提供常用材料对应的热导率,用户可以通过选择材料决定热导率,也可以直接赋值/修改热导率。Thermal conductivity = f2 (material), where the built-in database of the model provides the thermal conductivity corresponding to commonly used materials. Users can determine the thermal conductivity by selecting materials, or directly assign/modify the thermal conductivity.

同理,热对流热阻模型在软件自带的热阻模型的基础上,增加了热对流热阻计算模块。热对流热阻计算模块用于根据实际应用中易于获取的部件参数计算部件的热对流热阻;计算得到的热对流热阻输入到软件自带的热阻模型中,软件自带的热阻模型用于通过介质包函数等自动等模拟物理世界中的热传递过程。可选的,热对流热阻计算模块包括以下方程控制:Similarly, the thermal convection thermal resistance model adds a thermal convection thermal resistance calculation module on the basis of the thermal resistance model that comes with the software. The thermal convection thermal resistance calculation module is used to calculate the thermal convection thermal resistance of the component according to the component parameters that are easy to obtain in practical applications; the calculated thermal convection thermal resistance is input into the thermal resistance model that comes with the software, and the thermal resistance model that comes with the software It is used to simulate the heat transfer process in the physical world automatically, etc. through the medium package function, etc. Optionally, the thermal convection thermal resistance calculation module includes the following equation control:

热对流热阻=1/(热对流传热系数hm1×物体表面积A);Heat convection thermal resistance=1/(heat convection heat transfer coefficient hm1×object surface area A);

热对流传导系数=f1(形状系数,长度,流速或风速),其中,与大气对流换热时与风速相关,与流体对流换热时与流速相关。Heat convective conduction coefficient = f1 (shape factor, length, flow velocity or wind speed), where the convective heat transfer with the atmosphere is related to the wind speed, and the convective heat transfer with the fluid is related to the flow speed.

S120、根据目标部件的实际形态,将所述目标部件的热模型离散为多个节点,其中,各节点的控制方程结构与所述目标部件的热模型相同,且,各节点具备至少一个输入端口和输出端口。S120. Discrete the thermal model of the target component into multiple nodes according to the actual form of the target component, wherein the control equation structure of each node is the same as the thermal model of the target component, and each node has at least one input port and output ports.

目标部件可以由用户指定,也可以根据仿真精度需求确定。通常而言,尺寸较大的部件,例如转子、冷却流道等,或形态变化丰富的部件,例如冷却流道等,其内部的热传递过程变化明显,可以作为目标部件作进一步离散。其它部件也可以作为目标部件,本实施例不作具体限制。The target component can be specified by the user, or can be determined according to the simulation accuracy requirements. Generally speaking, components with large dimensions, such as rotors, cooling channels, etc., or components with rich shapes, such as cooling channels, have obvious changes in the internal heat transfer process and can be used as target components for further discretization. Other components may also be used as the target component, which is not specifically limited in this embodiment.

可选的,根据目标部件的实际形态,将所述目标部件的热阻模型离散为多个节点,各节点对应所述目标部件的不同部位。例如,转子的不同部位对应不同的尺寸,将尺寸基本相同的部位划分为一个节点。图4是本发明实施例提供的一种转子的结构示意图,可以看出,转子的两端细、中间粗,不同部位对应不同的尺寸,将尺寸基本相同的部分划分为一个节点,可以得到图5所示的3个节点。又例如,冷却流道的不同部位对应不同的流向(如图6),根据流向变化将冷却流道的热阻模型离散为9个节点。进一步的,各节点与所属目标部件的热传递机理相同,因此二者的控制方程的具体形式或结构是相同的,只是方程中热参数的取值可能不同,下面详细介绍如何修改割接点的热参数值。Optionally, according to the actual shape of the target component, the thermal resistance model of the target component is discretized into a plurality of nodes, and each node corresponds to a different part of the target component. For example, different parts of the rotor correspond to different sizes, and parts with basically the same size are divided into a node. Fig. 4 is a structural schematic diagram of a rotor provided by an embodiment of the present invention. It can be seen that the two ends of the rotor are thin and the middle is thick, and different parts correspond to different sizes. Dividing the parts with basically the same size into a node can be obtained as shown in Fig. 3 nodes shown in 5. For another example, different parts of the cooling channel correspond to different flow directions (as shown in Figure 6), and the thermal resistance model of the cooling channel is discretized into 9 nodes according to the change of flow direction. Furthermore, the heat transfer mechanism of each node is the same as that of the target component, so the specific form or structure of the control equations of the two is the same, but the value of the thermal parameter in the equation may be different. The following describes in detail how to modify the thermal parameter value.

S130、根据所述目标部件的实际导热路径,选择各节点的输入、输出端口组合。S130. Select a combination of input and output ports of each node according to the actual heat conduction path of the target component.

各节点具备至少一个输入端口和输出端口,不同的输入、输出端口组合对应不同的导热路径。为了更形象的体现这一特性,将各节点抽象为如图5所示的六面体模型,通过开启不同的端口,可以设置左右流向的路径、上下流向的路径,或转弯流向的路径。在确定输入、输出端口时,首先根据所述目标部件的实际导热路径,确定各节点的实际导热路径;然后根据导热路径与输入、输出端口组合的对应关系,选择各节点的输入、输出端口组合。该对应关系可以由用户预先设置。Each node has at least one input port and output port, and different combinations of input and output ports correspond to different heat conduction paths. In order to reflect this feature more vividly, each node is abstracted into a hexahedron model as shown in Figure 5. By opening different ports, you can set the left-right flow path, the up-down flow path, or the turn flow path. When determining the input and output ports, first determine the actual heat conduction path of each node according to the actual heat conduction path of the target component; then select the input and output port combination of each node according to the corresponding relationship between the heat conduction path and the combination of the input and output ports . The corresponding relationship can be preset by the user.

以图4所示的转子为例,由于转子在电机中水平放置,实际导热路径也是从一端水平传导向另一端,因此为各部位节点选择左进右出或右进左出的输入、输出端口组合。而对于图6所示的冷却流道,则为节点1选择上进下出的输入、输出端口组合,为节点2选在上进右出的输入、输出端口组合,等等。Taking the rotor shown in Figure 4 as an example, since the rotor is placed horizontally in the motor, the actual heat conduction path is also horizontally conducted from one end to the other end, so select the input and output ports of left-in and right-out or right-in and left-out for the nodes of each part combination. For the cooling channel shown in Figure 6, the combination of input and output ports with top in and bottom out is selected for node 1, and the combination of input and output ports with top in and right out for node 2 is selected, and so on.

S140、根据各节点的输入、输出端口组合,修改各节点控制方程中的热参数。S140. Modify the thermal parameters in the control equations of each node according to the combination of input and output ports of each node.

可选的,不同输入、输出端口组合对应不同的热参数计算方程,根据该参数计算方程修改节点模型中将要使用到的热参数,例如热阻、热容等。下面以转子和冷却流道为例,给出两种具体的实施方式。Optionally, different input and output port combinations correspond to different thermal parameter calculation equations, and the thermal parameters to be used in the node model, such as thermal resistance and thermal capacity, are modified according to the parameter calculation equations. Two specific implementations are given below by taking the rotor and the cooling channel as examples.

第一种实施方式,目标部件为转子,具体可以为第一转子和第二转子中的任意一个。将转子划分为多个节点后,根据任一节点的转子尺寸和输入、输出端口组合,确定所述节点的转子表面积;将所述转子表面积代入所述组合对应的热参数计算方程,计算所述节点的热参数。具体的,以转子为例,各部位节点的输入、输出端口组合均为左右流向,对热参数几乎没有影响,等同于将热参数乘以系数1;而转子的不同部位的尺寸(例如直径不同、长度不同),决定了各节点不同的散热表面积,从而导致各节点的热参数不同。在一具体实施方式中,假设离散前转子的热阻模型中的长度L=1,热阻G=1,则离散后图5中各节点的热参数可能变为L={L1,L2,L3},G={G1,G2,G3},其中,L1+L2+L3=1,G1+G2+G3=1。通过离散节点能够实现转子不同部位的温度传递,在热网络模型构架不变的情况下进行不同颗粒度的热仿真。在实际应用中,各节点的热力学参数有很多,通常表现为矩阵形式,本步骤将对其中受影响的参数进行修改。In the first implementation manner, the target component is a rotor, specifically any one of the first rotor and the second rotor. After the rotor is divided into multiple nodes, according to the rotor size of any node and the combination of input and output ports, the rotor surface area of the node is determined; the rotor surface area is substituted into the thermal parameter calculation equation corresponding to the combination to calculate the Thermal parameters of the node. Specifically, taking the rotor as an example, the combination of input and output ports of nodes in each part is left-right flow direction, which has almost no effect on thermal parameters, which is equivalent to multiplying thermal parameters by a coefficient of 1; while the dimensions of different parts of the rotor (such as different diameters , different lengths), which determines the different heat dissipation surface areas of each node, resulting in different thermal parameters of each node. In a specific embodiment, assuming that the length L=1 and the thermal resistance G=1 in the thermal resistance model of the rotor before the discretization, the thermal parameters of each node in Fig. 5 after the discretization may become L={L1, L2, L3 }, G={G1,G2,G3}, where L1+L2+L3=1, G1+G2+G3=1. The temperature transfer of different parts of the rotor can be realized through the discrete nodes, and the thermal simulation of different granularity can be carried out under the condition that the structure of the thermal network model remains unchanged. In practical applications, there are many thermodynamic parameters of each node, usually in the form of a matrix, and this step will modify the affected parameters.

第二种实施方式,目标部件为冷却流道。将冷却流道划分为多个节点后,根据任一节点的尺寸和输入、输出端口组合,确定所述节点的冷却液流阻和流道表面积;将所述冷却液流阻和流道表面积代入所述组合对应的热参数计算方程,计算所述节点的热参数。具体的,冷却流道调用水或者其他冷却液进行热量交换,节点的尺寸影响流道表面积,输入、输出端口组合反映了流道方向,同时影响流道表面积和流阻;而流道表面积和流阻均影响仿真模型中的热参数,如热阻。In the second embodiment, the target component is a cooling channel. After the cooling flow channel is divided into multiple nodes, according to the size of any node and the combination of input and output ports, the coolant flow resistance and flow channel surface area of the node are determined; the coolant flow resistance and flow channel surface area are substituted into The thermal parameter calculation equation corresponding to the combination calculates the thermal parameter of the node. Specifically, the cooling channel uses water or other cooling fluids for heat exchange, the size of the node affects the surface area of the channel, and the combination of input and output ports reflects the direction of the channel and affects the surface area and flow resistance of the channel; while the surface area of the channel and the flow resistance Both resistances affect thermal parameters in the simulation model, such as thermal resistance.

具体的,如图6所示,节点1、5、9均为竖直方向流道,对应上下方向的输入、输出端口组合,冷却液受重力影响较大。在流体物性、管道尺寸和管道材质等其它影响流阻的因素均相同的情况下,流向自上而下(直上直下)的节点流阻最小,流向自下而上(直上直下)的节点流阻最大。节点3、7为水平方向流道,对应左右方向的输入、输出端口组合,冷却液的流阻受重力影响较小,与竖直方向流道的流阻均不同。节点2、4、8则对应上右、下右、左下三种输入、输出端口组合,冷却液的流阻一半受重力影响大,一半受重力影响小,流阻也各不相同。此外,节点2、4、8的流道存在转弯,在各节点流道长度相同的前提下,对应的流道表面积更大。而流阻和流道表面积均是影响热参数的重要指标。例如,在上述实施例中的热对流热阻计算模块中,由于流阻影响了流体流速,从而影响到热对流传导系数;流道表面积和热对流传导系数共同影响了热对流热阻。Specifically, as shown in Figure 6, nodes 1, 5, and 9 are all vertical flow channels, corresponding to the combination of input and output ports in the up and down directions, and the cooling liquid is greatly affected by gravity. When other factors affecting the flow resistance, such as fluid properties, pipe size, and pipe material, are the same, the node flow resistance from top to bottom (straight up and down) is the smallest, and the node flow resistance from bottom to top (straight up and down) is maximum. Nodes 3 and 7 are horizontal flow channels, corresponding to the combination of input and output ports in the left and right directions. The flow resistance of the coolant is less affected by gravity, which is different from the flow resistance of the vertical flow channels. Nodes 2, 4, and 8 correspond to three combinations of input and output ports: upper right, lower right, and lower left. Half of the flow resistance of the coolant is greatly affected by gravity, and half is slightly affected by gravity, and the flow resistance is also different. In addition, there are turns in the flow channels of nodes 2, 4, and 8, and the corresponding flow channel surface area is larger under the premise that the length of the flow channels at each node is the same. Both the flow resistance and the surface area of the flow channel are important indicators that affect the thermal parameters. For example, in the heat convection thermal resistance calculation module in the above embodiment, the flow resistance affects the fluid flow rate, thereby affecting the heat convection conduction coefficient; the flow channel surface area and the heat convection conduction coefficient jointly affect the heat convection thermal resistance.

在实际应用中,Modelica的流道模型内存有介质函数包。该介质基于modelcia语言编写,可以表征流体的各种通用物性。介质函数包可以基于压力、温度、组分(一个或多个)计算常见物性,如密度、比焓、动力粘度、导热率、比热容、相变程度、露点、沸点、饱和压力、饱和温度、潜热等。将热源传递给各流道节点后,各节点可以直接调用介质包进行传热等热方向的仿真。In practical applications, the flow channel model of Modelica has a medium function package. The medium is written based on the modelcia language and can represent various general physical properties of fluids. The medium function package can calculate common physical properties based on pressure, temperature, and components (one or more), such as density, specific enthalpy, dynamic viscosity, thermal conductivity, specific heat capacity, degree of phase change, dew point, boiling point, saturation pressure, saturation temperature, latent heat Wait. After the heat source is transferred to each runner node, each node can directly call the media package to simulate the heat direction such as heat transfer.

本实施例将电机任意部件的热模型沿热网络路径进行节点离散,每个离散的节点可以设置对应尺寸和输入、输出端口组合等参数,以匹配更准确的热参数。各节点内部无需重新建模,仍沿用所属部件模型的控制方程结构,只改变其中热参数的值。由此在保持原有热网络架构的基础上,能够灵活设置热模型的颗粒度,从而提高模型精度。此外,利用Modelica平台建立的电机模型由于可以包含介质函数包的优点,可以快速实现不同冷却介质的切换,与Amesim、Simulink等平台相比,建模速度和仿真速度均有大幅度提高。In this embodiment, the thermal model of any component of the motor is node-discrete along the thermal network path, and each discrete node can be set with parameters such as the corresponding size and the combination of input and output ports to match more accurate thermal parameters. There is no need to remodel the interior of each node, and the control equation structure of the component model is still used, and only the value of the thermal parameter is changed. Therefore, on the basis of maintaining the original thermal network architecture, the granularity of the thermal model can be flexibly set, thereby improving the accuracy of the model. In addition, the motor model established by using the Modelica platform can quickly realize the switching of different cooling media due to the advantages of including the medium function package. Compared with Amesim, Simulink and other platforms, the modeling speed and simulation speed are greatly improved.

图7是本发明实施例提供的一种带热网络的电机仿真方法的流程图。如图7所示,该方法包括:Fig. 7 is a flowchart of a motor simulation method with a thermal network provided by an embodiment of the present invention. As shown in Figure 7, the method includes:

S210、获取采用上述实施例的方法构建的带热网络的电机仿真模型。S210. Obtain the motor simulation model of the heating network constructed by using the method of the above embodiment.

S220、根据仿真需求,设置电机各部件的热模型的启用状态。基于Modelica语言的特性,图2为中的各热模块单独封装,相互独立,可以根据客户的需求来决定是否启用。可选的,如果一部件的热模型为非启用状态,即关闭该模型,也无需重新搭建网络,只需将所述热模型的控制方程切换为:输出参数等于输入参数。这时被关闭的热模型相当于一条直线。S220. According to the simulation requirement, set the enabled state of the thermal model of each component of the motor. Based on the characteristics of the Modelica language, each thermal module in Figure 2 is packaged separately and independent of each other. It can be decided whether to enable it according to the needs of customers. Optionally, if the thermal model of a component is not enabled, the model is closed, and there is no need to rebuild the network, only the control equation of the thermal model is switched to: the output parameter is equal to the input parameter. The thermal model that is turned off at this time is equivalent to a straight line.

S230、利用启用状态设置完毕的电机仿真模型,进行电机仿真。S230. Perform motor simulation by using the motor simulation model whose enabled state has been set.

可选的,首先根据电机的效率MAP图,耦合计算转子热量和定子热量。具体过程如图8所示,将客户输入的电机功率与内置的数据库匹配,得到定子和转子的能耗分配功率;然后根据效率MAP进行功率计算,得到定子和转子的能量损耗,该能量损耗就是转子热量和定子热量。具体的,Optionally, firstly, the heat of the rotor and the heat of the stator are coupled and calculated according to the efficiency MAP diagram of the motor. The specific process is shown in Figure 8. Match the motor power input by the customer with the built-in database to obtain the energy consumption distribution power of the stator and rotor; then calculate the power according to the efficiency MAP to obtain the energy loss of the stator and rotor. The energy loss is Rotor heat and stator heat. specific,

Q_Rotor+Q_Stator=P_lossQ_Rotor+Q_Stator=P_loss

P_loss=(1-电机效率)*总功率P_loss=(1-motor efficiency)*total power

计算得到的转子热量和定子热量后,输入图2中的电机模型。各模型和各节点调用各自的热参数值和控制方程,进行整个电机的仿真计算。After calculating the obtained rotor heat and stator heat, input the motor model in Fig. 2. Each model and each node call their own thermal parameter values and control equations to carry out the simulation calculation of the entire motor.

图9为本发明实施例提供的一种电子设备的结构示意图,如图9所示,该设备包括处理器60、存储器61、输入装置62和输出装置63;设备中处理器60的数量可以是一个或多个,图9中以一个处理器60为例;设备中的处理器60、存储器61、输入装置62和输出装置63可以通过总线或其他方式连接,图9中以通过总线连接为例。Fig. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. As shown in Fig. 9, the 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, a processor 60 is taken as an example in Fig. 9; the processor 60, memory 61, input device 62 and output device 63 in the device can be connected by bus or other methods, and in Fig. 9, the connection by bus is taken as an example .

存储器61作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本发明实施例中的带热网络的电机仿真模型构建方法,或带热网络的电机仿真方法对应的程序指令/模块。处理器60通过运行存储在存储器61中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的带热网络的电机仿真模型构建方法,或带热网络的电机仿真方法。Memory 61, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as the motor simulation model construction method with thermal network in the embodiment of the present invention, or the motor simulation method with thermal network corresponding program instructions/modules. The processor 60 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 61, that is, realizes the above-mentioned method for building a simulation model of a motor with a thermal network, or the motor with a thermal network simulation method.

存储器61可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器61可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器61可进一步包括相对于处理器60远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。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 and at least one application required by a function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 61 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 61 may further include memory located remotely relative to the processor 60, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

输入装置62可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置63可包括显示屏等显示设备。The input device 62 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the device. The output device 63 may include a display device such as a display screen.

本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现任一实施例的带热网络的电机仿真模型构建方法,或带热网络的电机仿真方法。An embodiment of the present 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 a motor simulation model of a heating network in any embodiment is implemented, or the method for building a simulation model of a heating network is implemented. Electric motor simulation method.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may use 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 electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。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.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional procedural programming languages. Programming language - such as "C" or a similar programming language. 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 cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through the Internet using an Internet service provider). connect).

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention.

Claims (9)

1.一种带热网络的电机仿真模型构建方法,其特征在于,包括:1. A method for building a motor simulation model with thermal network, characterized in that, comprising: 获取Modelica语言编写的电机各部件的热模型,所述热模型用于实现电机热网络的仿真;Obtain the thermal model of each component of the motor written in Modelica language, and the thermal model is used to realize the simulation of the thermal network of the motor; 根据目标部件的实际形态,将所述目标部件的热模型离散为多个节点,其中,各节点的控制方程结构与所述目标部件的热模型相同,且,各节点具备至少一个输入端口和输出端口;According to the actual shape of the target component, the thermal model of the target component is discretized into multiple nodes, wherein the control equation structure of each node is the same as the thermal model of the target component, and each node has at least one input port and output port; 根据所述目标部件的实际导热路径,选择各节点的输入、输出端口组合;具体的,根据所述目标部件的实际导热路径,确定各节点的实际导热路径;根据导热路径与输入、输出端口组合的对应关系,选择各节点的输入、输出端口组合;According to the actual heat conduction path of the target component, select the combination of input and output ports of each node; specifically, determine the actual heat conduction path of each node according to the actual heat conduction path of the target component; according to the combination of the heat conduction path and the input and output ports Corresponding relationship, select the combination of input and output ports of each node; 根据各节点的尺寸和输入、输出端口组合,修改各节点控制方程中的热参数。According to the size of each node and the combination of input and output ports, the thermal parameters in the control equation of each node are modified. 2.根据权利要求1所述的模型构建方法,其特征在于,所述热模型包括热源模型和热阻模型;2. The model building method according to claim 1, wherein the thermal model comprises a heat source model and a thermal resistance model; 所述获取Modelica语言编写的电机各部件的热模型,包括:The thermal model of the motor components written in the Modelica language is obtained, including: 在Modelica环境下构建电机各部件的热源模型、热阻模型,以及各部件之间的热阻模型;Construct the heat source model, thermal resistance model, and thermal resistance model between each component of the motor in the Modelica environment; 采用Modelica语言分别编写各热阻模型的介质函数和控制方程;The dielectric functions and control equations of each thermal resistance model were written in Modelica language; 其中,所述各部件包括转子、定子、前端盖、后端盖、壳体和冷却流道,转子的热阻模型包括:转子中心和前端盖之间的第一转子的热阻模型,以及转子中心和后端盖之间的第二转子的热阻模型。Wherein, the components include a rotor, a stator, a front end cover, a rear end cover, a casing and a cooling channel, and the thermal resistance model of the rotor includes: the thermal resistance model of the first rotor between the center of the rotor and the front end cover, and the rotor Thermal resistance model of the second rotor between the center and rear endshield. 3.根据权利要求2所述的模型构建方法,其特征在于,所述根据目标部件的实际形态,将所述目标部件的热模型离散为多个节点,包括:3. The model building method according to claim 2, characterized in that, according to the actual form of the target component, the thermal model of the target component is discretized into a plurality of nodes, comprising: 根据目标部件的实际形态,将所述目标部件的热阻模型离散为多个节点,各节点对应所述目标部件的不同部位。According to the actual shape of the target component, the thermal resistance model of the target component is discretized into a plurality of nodes, and each node corresponds to a different part of the target component. 4.根据权利要求1所述的模型构建方法,其特征在于,如果所述目标部件为转子,所述根据各节点的输入、输出端口组合,修改各节点控制方程中的热参数,包括:4. The model building method according to claim 1, wherein if the target component is a rotor, modifying the thermal parameters in the control equations of each node according to the combination of input and output ports of each node includes: 根据任一节点的转子尺寸和输入、输出端口组合,确定所述节点的转子表面积;Determining the rotor surface area of any node according to the rotor size of any node and the combination of input and output ports; 将所述转子表面积代入所述组合对应的热参数计算方程,计算所述节点的热参数。Substituting the rotor surface area into the thermal parameter calculation equation corresponding to the combination to calculate the thermal parameter of the node. 5.根据权利要求1所述的模型构建方法,其特征在于,如果所述目标部件为冷却液流道,所述根据各节点的输入、输出端口组合,修改各节点控制方程中的热参数,包括:5. The model building method according to claim 1, wherein if the target component is a coolant flow channel, the thermal parameters in the control equations of each node are modified according to the combination of input and output ports of each node, include: 根据任一节点的尺寸和输入、输出端口组合,确定所述节点的冷却液流阻和流道表面积;According to the size of any node and the combination of input and output ports, determine the coolant flow resistance and flow channel surface area of the node; 将所述冷却液流阻和流道表面积代入所述组合对应的热参数计算方程,计算所述节点的热参数。Substituting the coolant flow resistance and flow channel surface area into the thermal parameter calculation equation corresponding to the combination to calculate the thermal parameter of the node. 6.一种带热网络的电机仿真方法,其特征在于,包括:6. A motor simulation method with thermal network, characterized in that, comprising: 获取带热网络的电机仿真模型,其中,所述电机仿真模型采用如权利要求1-5任一所述的模型构建方法构建;Obtaining a motor simulation model with a thermal network, wherein the motor simulation model is constructed using the model construction method described in any one of claims 1-5; 根据仿真需求,设置电机各部件的热模型的启用状态;According to the simulation requirements, set the activation state of the thermal model of each component of the motor; 利用启用状态设置完毕的电机仿真模型,进行电机仿真。Use the motor simulation model with the enabled state set to perform motor simulation. 7.根据权利要求6所述的仿真方法,其特征在于,所述根据仿真需求,设置电机各部件的热模型的启用状态,包括:7. The simulation method according to claim 6, wherein, according to the simulation requirements, setting the enabling state of the thermal model of each component of the motor includes: 根据仿真需求,如果电机一部件的热模型为非启用状态,将所述热模型控制方程切换为:输出参数等于输入参数。According to the simulation requirement, if the thermal model of a component of the motor is disabled, the control equation of the thermal model is switched to: the output parameter is equal to the input parameter. 8.一种电子设备,其特征在于,包括:8. An electronic device, characterized in that it comprises: 一个或多个处理器;one or more processors; 存储器,用于存储一个或多个程序,memory for storing one or more programs, 当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现权利要求1-5任一所述的带热网络的电机仿真模型构建方法,或权利要求6或7所述的带热网络的电机仿真方法。When the one or more programs are executed by the one or more processors, so that the one or more processors implement the method for constructing a motor simulation model with a heat network according to any one of claims 1-5, or The motor simulation method with thermal network described in claim 6 or 7. 9.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-5任一所述的带热网络的电机仿真模型构建方法,或权利要求6或7所述的带热网络的电机仿真方法。9. A computer-readable storage medium, characterized in that a computer program is stored thereon, and when the program is executed by a processor, the method for constructing a motor simulation model with a thermal network according to any one of claims 1-5 is realized, or The motor simulation method with thermal network described in claim 6 or 7.
CN202210952705.8A 2022-08-10 2022-08-10 Construction method and simulation method of motor simulation model with thermal network Active CN115034093B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210952705.8A CN115034093B (en) 2022-08-10 2022-08-10 Construction method and simulation method of motor simulation model with thermal network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210952705.8A CN115034093B (en) 2022-08-10 2022-08-10 Construction method and simulation method of motor simulation model with thermal network

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 Construction method and simulation method of motor simulation model with thermal network

Country Status (1)

Country Link
CN (1) CN115034093B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116882205B (en) * 2023-09-06 2023-11-24 中汽数据(天津)有限公司 Power battery simulation model construction method

Citations (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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 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 中国汽车技术研究中心有限公司 A co-simulation method of thermal dissipation of power battery system 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, equipment and storage medium
CN114818534A (en) * 2022-04-21 2022-07-29 西安航天动力研究所 A Numerical Simulation Method for Direct Contact Condensation of Cryogenic Medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
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
CN106446364B (en) A kind of direct-coupled motor heat analysis method of temperature field-Re Lu
CN112800700B (en) Low-temperature surface dry mode frosting simulation method and device, electronic equipment and medium
CN115034093B (en) Construction method and simulation method of motor simulation model with thermal network
CN110147626A (en) The hot emulation mode of motor, device and electronic equipment
CN112307656B (en) Method, system and device for acquiring electrothermal parameters of power semiconductor module
CN104408237B (en) A kind of method and apparatus for obtaining motor transient temperature field
CN112234911B (en) Real-time monitoring method and model for temperature of permanent magnet motor rotor
CN106096157B (en) A kind of axial ventilation permanent magnet synchronous motor Calculation Method of Temperature Field
CN108958429A (en) A kind of cooling control method, system and equipment and storage medium
Ghahfarokhi et al. Hybrid thermal model of a synchronous reluctance machine
CN108664751A (en) A kind of emulation mode, emulation main control platform and the analogue system of more emulator collaborations
CN105491082B (en) Remote resource access method and switching device
CN105589996B (en) It is a kind of using rotor minimum symmetrical cell as the motor finite element thermal analysis method of geometrical model
CN108733887B (en) Switched reluctance motor thermal analysis method based on variable density symmetrical grid division
CN118278180A (en) Motor temperature simulation method and device and computer equipment
CN117634099B (en) Shell and tube heat exchanger modeling method, device, storage medium and electronic equipment
Yin et al. An Integrated Flow–Electric–Thermal Model for a Cylindrical Li‐Ion Battery Module with a Direct Liquid Cooling Strategy
CN114239216A (en) Modelica-based hot fluid medium simulation real-time method
CN116186990B (en) A thermal power combined simulation method and device
CN115314257B (en) File system authentication method and device, electronic equipment and computer storage medium
CN102096424A (en) Three-stage temperature control method for azimuth-holding instrument
CN115544912A (en) Method and device for obtaining convective heat transfer coefficient, electronic equipment and storage medium
CN115793478A (en) Control method and device for household appliance and household appliance
CN112242803B (en) Temperature estimation method for permanent magnet of embedded permanent magnet synchronous motor rotor
Li et al. End‐winding wire‐insulation heat conduction model for precise thermal predictions of permanent magnet synchronous machines

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