Multi-material electrothermal coupling field determination method and device based on physical information neural network
By using methods based on physical information neural networks to construct electric field and thermal field networks and train potential and temperature distributions, the problem of reduced calculation accuracy of the finite element method in multi-material areas is solved, and efficient electrothermal coupling field determination is achieved, avoiding the need for network The grid division process significantly improves the calculation efficiency.
Patent Information
- Application Number
- CN202410715413.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-10
AI Technical Summary
When the existing technology calculates the electrothermal coupling field in a multi-material region, the finite element method has high requirements on mesh quality. The calculation accuracy drops sharply when the mesh is distorted or of poor quality, and it is difficult to achieve high accuracy in complex geometric structures and multi-material regions. Quality meshing results in increased computational costs and storage requirements, making it impossible to calculate efficiently.
A method based on physical information neural network is used to construct an electric field network and a thermal field network. The loss function is constructed through the continuity equation at the junction of the material area and the electrothermal coupling field control equation. The electric field and thermal field network are trained to determine the electric potential and temperature distribution to avoid The meshing process is eliminated, and automatic differentiation is used to calculate the gradient of the numerical solution.
It realizes the determination of electrothermal coupling fields in multi-material areas, avoids the decrease in calculation accuracy caused by meshing failure or low quality, significantly improves the ability to handle high-dimensional problems, and reduces calculation costs.
Smart Images

Figure CN118629550A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electrothermal coupling field determination, and specifically relates to a multi-material electrothermal coupling field determination method, device, terminal and computer-readable storage medium based on physical information neural network. Background Art
[0002] Electrical equipment has significant electrothermal phenomena due to its operating environment. The electrothermal coupling field refers to the phenomenon of interaction between the electric field and the thermal field during the operation of electrical equipment. Specifically, the internal current of the electrical equipment will generate Joule heat during operation, which is coupled into the thermal field as a heat source to affect the temperature distribution. Since parameters such as material conductivity are usually nonlinear functions of temperature, the temperature distribution in the thermal field will affect the material parameters, and then affect the distribution of electric potential in the electric field. Calculating the electrothermal coupling field is of great significance for applications such as structural optimization and law analysis of power equipment.
[0003] The calculation of electrothermal coupling field involves two physical fields, and there is data transfer between the physical fields. Compared with a single physical field, electrothermal coupling field analysis needs to consider the interaction between the electric field and the thermal field, and the calculation of electrothermal coupling field is more complicated. In addition, electrical equipment may involve complex geometric structures and usually contain multiple material regions, and the electrothermal properties of each material, such as thermal conductivity, electrical conductivity, etc., are often affected by factors such as temperature. Therefore, the calculation of electrothermal coupling fields for multiple regions is quite challenging.
[0004] At present, the finite element method and other methods are usually used to calculate the electrothermal coupling field. This method involves discretizing (meshing) the continuous problem into many small areas (cells) and using shape functions to approximate the physical field changes inside each cell. However, the finite element method has high requirements for mesh quality. When the mesh is distorted or of poor quality, the calculation accuracy will drop sharply or even become impossible to calculate; at the same time, since electrical equipment may involve complex geometric structures and contain multiple material areas, it is very challenging to perform high-quality meshing when performing electrothermal coupling analysis, and the number of nodes and cells in the mesh will increase sharply, that is, the dimensional disaster will occur, which will greatly increase the computing cost and storage requirements.
[0005] Therefore, there is a need to further improve the determination method of the electrothermal coupled field taking into account multi-material regions. Summary of the invention
[0006] In order to solve the deficiencies in the prior art, the present invention provides a method, device, terminal and computer-readable storage medium for determining the electrothermal coupling field of multiple materials based on a physical information neural network, so as to effectively realize the determination of the electrothermal coupling field taking into account multiple material areas.
[0007] The present invention adopts the following technical solution.
[0008] According to a first aspect of the present invention, a method for determining a multi-material electrothermal coupling field based on a physical information neural network is provided. The method comprises the following steps:
[0009] (1) for an electrical device including a plurality of material regions whose electrothermal coupling fields are to be calculated, obtaining data of the plurality of material regions;
[0010] (2) constructing an electric field network and a thermal field network based on a physical information neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region;
[0011] (3) Based on the continuity equation at the interface of the material region and the control equation of the electric-thermal coupling field, the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network are constructed respectively to determine the overall loss function of the electric field network and the overall loss function of the thermal field network;
[0012] (4) based on the acquired data of the plurality of material regions, training the electric field network with the goal of minimizing the overall loss function of the electric field network;
[0013] (5) using the trained electric field network to obtain Joule heat according to Joule's law, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of the multiple material regions with the goal of minimizing the overall loss function of the thermal field network;
[0014] (6) Based on the trained electric field network and thermal field network, the electric potential distribution and temperature distribution of the electrothermal coupling field are obtained respectively.
[0015] Furthermore, the data of the multiple material regions include: the size of each material region, the electrical conductivity and thermal conductivity of the material, and the position data, potential data and temperature data of multiple sampling points at three different positions; the three different positions include: the regional junction of adjacent material regions, the boundary of the electrothermal coupling field, and the inside of each material region.
[0016] Furthermore, step (3) specifically includes:
[0017] (31) For the sampling points at the regional junctions, based on the continuity equation at the material regional junctions, the electric field junction loss function of each electric field sub-network and the thermal field junction loss function of each thermal field sub-network are constructed;
[0018] (32) For the sampling points at the boundary of the electrothermal coupling field, according to the electrothermal coupling field control equation and the position data, potential data and temperature data of multiple sampling points at the boundary of the electrothermal coupling field, the residual loss function at the electric field boundary of the electric field subnetwork and the residual loss function at the thermal field boundary of the thermal field subnetwork are respectively constructed;
[0019] (33) For the sampling points inside each material region, based on the electric field control equation and the thermal field control equation, the electric field internal sampling point loss function of each electric field sub-network and the thermal field internal sampling point loss function of each thermal field sub-network are constructed respectively;
[0020] (34) The overall loss function of the electric field network is constructed based on the loss function at the electric field junction, the residual loss function at the electric field boundary, and the loss function at the sampling point inside the electric field of each electric field sub-network; the overall loss function of the thermal field network is constructed based on the loss function at the thermal field junction, the residual loss function at the thermal field boundary, and the loss function at the sampling point inside the thermal field of each thermal field sub-network.
[0021] Further, step (31) includes: for the adjacent nth material region and n+1th material region, the loss function of the nth electric field subnetwork corresponding to the nth material region at the electric field boundary between the nth and n+1th material regions is And the loss function of the nth thermal field sub-network corresponding to the nth material region at the junction of the thermal fields of the nth and n+1th material regions is They are constructed as:
[0022]
[0023] In the formula, and They are the electric field junction loss function of the nth electric field sub-network and the thermal field junction loss function of the nth thermal field sub-network respectively; and They represent the number of sampling points at the junction of the nth electric field sub-network and the nth thermal field sub-network, respectively; and They represent the predicted electric potential values of the i-th sampling point at the junction of the n-th electric field sub-network and the n+1-th electric field sub-network respectively; and They represent the first-order partial derivatives of the predicted electric potential of the ith sampling point at the junction of the regions with respect to the normal direction of the interface for the nth electric field sub-network and the n+1th electric field sub-network respectively; and They represent the predicted temperature values of the ith sampling point at the junction of the nth thermal field sub-network and the n+1th electric field sub-network, respectively; and Respectively represent the first-order partial derivative of the temperature prediction value of the nth thermal field sub-network and the n+1th electric field sub-network at the ith sampling point with respect to the normal direction of the interface; σ n represents the conductivity of the nth material region corresponding to the nth electric field subnetwork, σ n+1represents the conductivity of the n+1th material region corresponding to the n+1th electric field subnetwork; k n represents the thermal conductivity of the material region corresponding to the nth thermal field subnetwork, k n+1 Represents the thermal conductivity of the material region corresponding to the n+1th thermal field sub-network.
[0024] Further, step (32) comprises:
[0025] The residual loss function at the electric field boundary corresponding to the nth electric field sub-network Residual loss function at the thermal field boundary corresponding to the nth thermal field sub-network They are constructed as:
[0026]
[0027] and They represent the number of sampling points at the boundary corresponding to the nth electric field sub-network and the number of sampling points at the boundary corresponding to the nth thermal field sub-network respectively; and u j They represent the predicted potential value and actual potential value of the jth sampling point of the nth electric field subnetwork at the corresponding electric field boundary respectively;
[0028] and T j They respectively represent the temperature prediction value and actual temperature value of the jth sampling point of the nth thermal field sub-network at the corresponding thermal field boundary.
[0029] Further, step (33) comprises:
[0030] The loss function of the electric field internal sampling point of the nth electric field sub-network is The internal sampling point loss function of the nth thermal field sub-network They are constructed as:
[0031]
[0032]
[0033] and They represent the number of internal sampling points corresponding to the nth electric field sub-network and the nth thermal field sub-network respectively; represents the predicted value of the potential of the nth electric field subnetwork at the i-th sampling point inside the corresponding n-th material region; represents the temperature prediction value of the ith sampling point of the nth thermal field subnetwork in the corresponding nth material region; σ n represents the conductivity of the nth material region; k nrepresents the thermal conductivity of the nth material region; Represents the Joule heating value of the ith sampling point in the nth thermal field subnetwork.
[0034] Further, in step (34),
[0035] The overall loss function of the electric field network is It is expressed as:
[0036]
[0037] The overall loss function of the thermal field network is It is expressed as:
[0038]
[0039] In the formula, and They represent the overall supervision loss of the electric field network and the overall supervision loss of the thermal field network, respectively, and the two are respectively composed of the residual loss function at the electric field boundary of each electric field sub-network The residual loss function at the thermal field boundary of each thermal field sub-network The sum is calculated; and They represent the overall unsupervised loss of the electric field network and the overall unsupervised loss of the thermal field network, The loss function of the internal sampling point of the electric field of each electric field sub-network is And the loss function at the electric field interface The sum is calculated, The loss function of the internal sampling points of the thermal field of each thermal field sub-network is And the loss function at the thermal field interface The sum is calculated; represents the weight of the overall supervision loss of the electric field network; represents the weight of the overall unsupervised loss of the electric field network; represents the weight of the overall supervision loss of the thermal field network; The weight representing the overall unsupervised loss of the thermal field network.
[0040] Further, in step (5), for any position within the plurality of material regions, the Joule heat is expressed as:
[0041] q J =E·(σE),
[0042] Among them, q J represents the Joule heat at any position, E represents the electric field intensity at any position obtained by using the trained electric field network, and σ represents the conductivity at any position.
[0043] According to a second aspect of the present invention, a device for determining a multi-material electrothermal coupling field based on a physical information neural network using the method described in the first aspect of the present invention is provided. The device comprises:
[0044] A data acquisition module, for acquiring data of a plurality of material regions for an electrical device including a plurality of material regions for which an electrothermal coupling field is to be calculated;
[0045] A network construction module, used to construct an electric field network and a thermal field network respectively based on a physical information neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region;
[0046] A loss determination module is used to construct the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network based on the continuity equation at the interface of the material region and the electric field and thermal field control equations, so as to determine the overall loss function of the electric field network and the overall loss function of the thermal field network;
[0047] An electric field training module, used for training the electric field network based on the acquired data of the plurality of material regions with the goal of minimizing the overall loss function of the electric field network;
[0048] A thermal field training module, for obtaining Joule heat according to Joule's law using the trained electric field network, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of the plurality of material regions with the goal of minimizing the overall loss function of the thermal field network;
[0049] The output module is used to obtain the electric potential distribution and temperature distribution of the electrothermal coupling field according to the trained electric field network and thermal field network.
[0050] According to a third aspect of the present invention, a terminal is provided. The terminal includes a processor and a storage medium. The storage medium is used to store instructions; the processor is used to operate according to the instructions to execute the steps of the method according to the first aspect of the present invention.
[0051] According to a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein a computer program is stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the method according to the first aspect of the present invention are implemented.
[0052] The beneficial effect of the present invention lies in that, compared with the prior art, a physical information neural network is used to construct an electric field network and a thermal field network, wherein the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region; according to the continuity equation at the junction of the material regions and the electric field and thermal field control equations, the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network are respectively constructed to determine the total loss of the electric field network and the total loss of the thermal field network; based on the data obtained from each material region, the electric field network is trained with the goal of minimizing the total loss of the electric field network; and the trained electric field network is used to obtain Joule's law to obtain Joule heat, and the Joule heat is used as a heat source. Based on the heat source and the data obtained from each material region, the thermal field network is trained with the goal of minimizing the total loss of the thermal field network, so as to realize the determination of the electric-thermal coupling field taking into account multiple material regions. Compared with traditional numerical methods such as finite element method, it does not require meshing and can use automatic differentiation to calculate the gradient of the numerical solution, avoiding the problem of being unable to calculate due to meshing failure or low mesh quality, and has significant advantages in dealing with high-dimensional problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 It is a flow chart of the method for determining the multi-material electrothermal coupling field based on physical information neural network of the present invention;
[0054] Figure 2 Schematic diagram of the interface between different material areas;
[0055] Figure 3 It is a physical information neural network that takes into account the electrothermal coupling field of multiple material regions;
[0056] Figure 4 is an example diagram of a system for determining an electrothermal coupling field using the multi-material electrothermal coupling field determination method based on a physical information neural network of the present invention, the system comprising a plurality of material regions;
[0057] Figure 5 is based on Figure 4 The system shown adopts the potential distribution diagram determined by the method of the present invention;
[0058] Figure 6 is based on Figure 4 The system shown uses a temperature distribution map determined by the method of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0060] The present invention proposes a method for determining the electrothermal coupling field of multiple materials based on physical information neural network. Figure 1 As shown, the method comprises the following steps:
[0061] Step 1: For an electrical device including a plurality of material regions whose electrothermal coupling fields are to be calculated, data of the plurality of material regions are obtained.
[0062] The electrical equipment may include, for example, part or all of cables, transformers, generators, and the like.
[0063] The data of each material region may include the size, boundary potential and boundary temperature of each material region, electrical conductivity and thermal conductivity of the material, and position data, potential data and temperature data of multiple sampling points at three different positions.
[0064] Among them, the above three different positions include: the regional boundary between adjacent material areas, the boundary of electrical equipment and the inside of each material area.
[0065] The position data includes the x-coordinate and y-coordinate of the sampling point in a two-dimensional case, and includes the x-coordinate, y-coordinate, and z-coordinate of the sampling point in a three-dimensional case.
[0066] Step 2: construct an electric field network and a thermal field network respectively based on the physical information neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region.
[0067] Considering Figure 2 The electrothermal coupling field physical information neural network model proposed by the present invention taking into account the multi-material region is as follows: Figure 3 shown.
[0068] The network model is generally divided into an electric field network and a thermal field network. A sub-network is assigned to each computational area in the electric field network and the thermal field network. and They respectively represent the electric field internal sampling point loss function and the thermal field internal sampling point loss function calculated according to the control equations in the first electric field sub-network and the first thermal field sub-network. and They respectively represent the electric field internal sampling point loss function and the thermal field internal sampling point loss function calculated according to the control equations in the n-th electric field and n-th thermal field sub-networks. and They represent the first electric field and the first thermal field sub-networks, respectively, and the residual loss function at the electric field boundary and the residual loss function at the thermal field boundary calculated based on known data. and They respectively represent the residual loss function at the electric field boundary and the residual loss function at the thermal field boundary calculated according to known data in the nth electric field and nth thermal field sub-networks. and They represent the loss function at the boundary of the electric field and the loss function at the boundary of the thermal field in the first electric field and the first thermal field sub-networks respectively. and They represent the loss function at the electric field boundary and the loss function at the thermal field boundary in the nth electric field sub-network and the nth thermal field sub-network, respectively. and They represent the overall supervision loss function of the electric field network and its weights respectively. and They represent the overall unsupervised loss function of the electric field network and its weights respectively. and They represent the overall supervision loss function of the thermal field network and its weights respectively. and They represent the overall unsupervised loss function of the thermal field network and its weights respectively. and Represent the overall loss functions of the electric field network and the thermal field network respectively.
[0069] Step 3: Based on the continuity equation at the junction of the material regions and the electric and thermal field control equations, the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network are constructed respectively to determine the overall loss function of the electric field network and the overall loss function of the thermal field network.
[0070] This step specifically includes the following sub-steps:
[0071] Step 31: For the sampling points at the regional junctions, based on the continuity equation at the material regional junctions, construct the electric field junction loss function of each electric field sub-network and the thermal field junction loss function of each thermal field sub-network.
[0072] When there is a boundary between region n and region n+1, the sampling point at the boundary of the regions is introduced into the continuity equation loss.
[0073] Assuming there are two adjacent calculation areas, the potential continuity equation and current density continuity equation that need to be satisfied at the boundary of the areas are shown in equations (1) and (2), respectively.
[0074] u n =u n+1 (1)
[0075]
[0076] u n represents the potential of the nth electric field subnetwork at the junction of the nth and n+1th material regions, u n+1 represents the potential of the n+1th electric field subnetwork at the junction of the nth and n+1th material regions. n represents the conductivity of the nth material region corresponding to the nth electric field subnetwork, σ n+1 Represents the conductivity of the n+1th material region corresponding to the n+1th electric field sub-network. represents the first-order partial derivative of the potential of the nth electric field subnetwork at the junction of the regions with respect to the normal direction of the interface, Represents the first-order partial derivative of the electric potential of the n+1th electric field sub-network at the junction of the regions with respect to the direction of the interface normal.
[0077] The temperature continuity equation and heat flux continuity equation that need to be satisfied in the thermal field are shown in equations (3) and (4) respectively.
[0078] T n =T n+1 (3)
[0079]
[0080] T n represents the temperature of the nth thermal field subnetwork at the junction of the nth and n+1th material regions, T n+1 k represents the temperature of the n+1th thermal field subnetwork at the junction of the nth and n+1th material regions. n represents the thermal conductivity of the material region corresponding to the nth thermal field subnetwork, k n+1 Represents the thermal conductivity of the material region corresponding to the n+1th thermal field sub-network. It represents the first-order partial derivative of the temperature of the nth thermal field subnetwork at the junction of the nth and n+1th material regions with respect to the normal direction of the interface, Represents the first-order partial derivative of the temperature of the n+1th thermal field sub-network at the junction of the nth and n+1th material regions with respect to the interface normal direction.
[0081] The electric field junction loss function of the nth electric field sub-network The loss function at the thermal field junction with the nth thermal field sub-network They can be calculated by equation (5) and equation (6) respectively.
[0082]
[0083] In the formula, and They represent the number of sampling points at the junction of the nth electric field sub-network and the nth thermal field sub-network, respectively. and They represent the predicted electric potential values of the i-th sampling point at the junction of the n-th electric field sub-network and the n+1-th electric field sub-network, respectively. and They represent the first-order partial derivatives of the predicted electric potential of the i-th sampling point at the junction of the regions for the n-th electric field sub-network and the n+1-th electric field sub-network with respect to the normal direction of the interface. and They represent the temperature prediction values of the i-th sampling point at the junction of the n-th thermal field sub-network and the n+1-th electric field sub-network, respectively. and Respectively represent the first-order partial derivative of the temperature prediction value of the nth thermal field sub-network and the n+1th electric field sub-network at the ith sampling point with respect to the interface normal direction. σ n represents the conductivity of the nth material region corresponding to the nth electric field subnetwork, σ n+1 represents the conductivity of the n+1th material region corresponding to the n+1th electric field subnetwork; k n represents the thermal conductivity of the material region corresponding to the nth thermal field subnetwork, k n+1 Represents the thermal conductivity of the material region corresponding to the n+1th thermal field sub-network.
[0084] Step 32: For the sampling points at the boundary of the electrical equipment, based on the electric field and thermal field control equations and the position data, potential data and temperature data of multiple sampling points at the boundary of the electrothermal coupling field, respectively construct the residual loss function at the electric field boundary of the electric field subnetwork corresponding to the boundary of the electrothermal coupling field and the residual loss function at the thermal field boundary of the thermal field subnetwork corresponding to the boundary of the electrothermal coupling field.
[0085] The control equation of the electrothermal coupling field under steady-state sequential coupling is shown in equation (7).
[0086]
[0087] Wherein, u represents electric potential (V), T represents temperature (°C), and k represents thermal conductivity [W / (m·°C)]. They represent the second-order partial derivatives of u in the x, y, and z directions respectively. represent the second-order partial derivatives of T in the x, y, and z directions, respectively.
[0088] According to the electric field control equation, the residual loss function at the electric field boundary corresponding to the nth electric field sub-network is Residual loss function at the thermal field boundary corresponding to the nth thermal field sub-network They can be expressed by equation (8) and equation (9) respectively.
[0089]
[0090] and They represent the number of sampling points at the boundary corresponding to the nth electric field sub-network and the number of sampling points at the boundary corresponding to the nth thermal field sub-network respectively; and u j They represent the predicted value and actual value of the potential of the jth sampling point at the corresponding boundary of the nth electric field subnetwork respectively; and T j They respectively represent the predicted temperature value and actual temperature value of the jth sampling point at the corresponding boundary of the nth thermal field sub-network.
[0091] Step 33: for the sampling points inside each material region, based on the electric field control equation and the thermal field control equation, construct the electric field internal sampling point loss function of each electric field sub-network and the thermal field internal sampling point loss function of each thermal field sub-network respectively.
[0092] According to the electrothermal coupling field control equation, the electric field internal sampling point loss function of the nth electric field sub-network The loss function of the internal sampling point of the thermal field with the nth thermal field sub-network They can be expressed by equation (10) and equation (11) respectively.
[0093]
[0094] and They represent the number of internal sampling points corresponding to the nth electric field sub-network and the nth thermal field sub-network respectively; represents the predicted value of the potential of the nth electric field subnetwork at the i-th sampling point inside the corresponding n-th material region; represents the temperature prediction value of the ith sampling point of the nth thermal field subnetwork in the corresponding nth material region; σ n represents the conductivity of the nth material region; k n represents the thermal conductivity of the nth material region; Represents the Joule heating value of the ith sampling point in the nth thermal field subnetwork.
[0095] Step 34, according to the electric field junction loss function, the residual loss function at the electric field boundary and the loss function of the internal sampling point of the electric field of each electric field sub-network, the overall loss function of the electric field network is obtained; according to the thermal field junction loss function, the residual loss function at the thermal field boundary and the loss function of the internal sampling point of the thermal field of each thermal field sub-network, the overall loss function of the thermal field network is obtained.
[0096] Specifically, the total loss of the electric field network and the thermal field network can be calculated by equations (12) and (13).
[0097]
[0098]
[0099] In the formula, and They represent the overall supervision loss of the electric field network and the overall supervision loss of the thermal field network, respectively. They are the residual loss functions at the electric field boundary compared with the known data in each electric field sub-network and each thermal field sub-network. And the residual loss function at the thermal field boundary The sum is calculated. and They represent the overall unsupervised loss of the electric field network and the overall unsupervised loss of the thermal field network, respectively. The former is the loss function of the internal sampling points of the electric field calculated according to the control equation in each electric field sub-network. And the electric field junction loss function calculated according to the interface continuity condition The latter is obtained by summing up the loss function of the internal sampling points of the thermal field calculated according to the control equation in each thermal field sub-network And the loss function of the thermal field junction calculated according to the interface continuity condition The sum is calculated. Represents the weight of the overall supervision loss of the electric field network. Represents the weight of the overall unsupervised loss of the electric field network. Represents the weight of the overall supervision loss of the thermal field network. The weight representing the overall unsupervised loss of the thermal field network. and They represent the total loss of the electric field network and the total loss of the thermal field network respectively.
[0100] Step 4: Based on the acquired data of each material region, the electric field network is trained with the goal of minimizing the total loss of the electric field network.
[0101] In this step, the weights of the electric field network can be adjusted by using gradient descent or other optimization algorithms to implement the training of the electric field network.
[0102] Step 5: Using the trained electric field network to obtain Joule heat according to Joule's law, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of each material area with the goal of minimizing the total loss of the thermal field network.
[0103] According to Joule's law, Joule heat can be calculated as shown in equation (14). Joule heat will serve as the heat source of the thermal field network.
[0104] q J =E·J (14) where q J represents the Joule heat term (W / m 3 ), J is the current density (A / m 2 ), E is the electric field strength (V / m).
[0105] Equation (15) shows the differential form of Ohm's law, where σ represents the conductivity (S / m).
[0106] J=σE (15)
[0107] Substituting equation (15) into (14) yields equation (16).
[0108] q J =E·(σE) (16)
[0109] After the training of the electric field network is completed, the electric field intensity E is calculated by using the trained electric field network through the automatic differentiation function. The Joule heat is further calculated according to formula (16), and the Joule heat q J Substitute into formula (13) for training the thermal field network.
[0110] Similar to the training of the electric field network, the training of the thermal field network can also use gradient descent or other optimization algorithms to adjust the weights of the thermal network to minimize the total loss of the thermal field network.
[0111] Step 6: Based on the trained electric field network and thermal field network, the electric potential and temperature distribution of the electrothermal coupling field are obtained.
[0112] 2. Example Analysis
[0113] like Figure 4 The figure shows a calculation example when the electrical equipment is a cable. The calculation area consists of three concentric circles. The radius of area 1 is 1m, the radius of area 2 is 2m, and the radius of area 3 is 3m. The boundary of area 1 is set to a fixed potential of 5V, the boundary of area 3 is set to a fixed potential of 0V, and the fixed temperature is 25℃.
[0114] The material parameters of the solution area are shown in Table 1.
[0115] Table 1 Material parameter settings for the solution area
[0116]
[0117] An electric field sub-network and a thermal field sub-network are constructed for each solution area. Each electric field and thermal field sub-network has 3 hidden layers, each layer contains 64 neurons, and the activation function uses the hyperbolic tangent function. Both the electric field network and the thermal field network use the Adaptive Moment Estimation (Adam) optimization algorithm, the learning rate is set to 0.001, and the number of iterations is set to 20,000. The number of sampling points for calculating the residuals of the control equation in regions 1, 2, and 3 are 195, 501, and 873, respectively. The number of sampling points for calculating the loss at the material junction at the circular boundary of regions 1 and 2 is 44 and 86, respectively. The number of sampling points for comparing regions 1 and 3 with known values is 44 and 128, respectively. All weights are set to 1. After training, the electric potential and temperature distribution of the electrothermal coupling field are as follows: Figure 5 and Figure 6 As shown, it can be seen that this embodiment can effectively realize the determination of the electrothermal coupling field taking into account multiple material regions, without the need to mesh each material region as required by the existing finite element method.
[0118] Example 2
[0119] Embodiment 2 of the present invention provides a device for determining a multi-material electrothermal coupling field based on a physical information neural network. The device comprises:
[0120] A data acquisition module, for acquiring data of a plurality of material regions for an electrical device including a plurality of material regions for which an electrothermal coupling field is to be calculated;
[0121] A network construction module, used to construct an electric field network and a thermal field network respectively based on a physical neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region;
[0122] A loss determination module, for constructing the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network respectively according to the continuity equation at the interface of the material region and the electric field and thermal field control equations, so as to determine the overall loss function of the electric field network and the overall loss function of the thermal field network;
[0123] The electric field training module is used to train the electric field network based on the acquired data of the multiple material regions with the goal of minimizing the total loss of the electric field network.
[0124] A thermal field training module, for obtaining Joule heat according to Joule's law using the trained electric field network, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of the plurality of material regions with the goal of minimizing the total loss of the thermal field network;
[0125] The output module is used to obtain the electric potential distribution and temperature distribution of the electrothermal coupling field according to the trained electric field network and thermal field network.
[0126] Among them, the loss determination module is also used for:
[0127] For the sampling points at the regional junctions, based on the continuity equation at the material regional junctions, the electric field junction loss function of each electric field sub-network and the thermal field junction loss function of each thermal field sub-network are constructed;
[0128] For the sampling points at the boundary of the electrothermal coupling field, according to the electrothermal coupling field control equation and the position data, potential data and temperature data of multiple sampling points at the boundary of the electrothermal coupling field, the residual loss function at the electric field boundary of the electric field subnetwork and the residual loss function at the thermal field boundary of the thermal field subnetwork are constructed respectively;
[0129] For the sampling points inside each material region, according to the electric field control equation and the thermal field control equation, the electric field internal sampling point loss function of each electric field sub-network and the thermal field internal sampling point loss function of each thermal field sub-network are constructed respectively;
[0130] The overall loss function of the electric field network is constructed based on the loss function at the electric field junction, the residual loss function at the electric field boundary and the loss function at the sampling point inside the electric field of each electric field sub-network; the overall loss function of the thermal field network is constructed based on the loss function at the thermal field junction, the residual loss function at the thermal field boundary and the loss function at the sampling point inside the thermal field of each thermal field sub-network.
[0131] Example 3
[0132] Embodiment 3 of the present invention provides an electronic device.
[0133] An electronic device comprises a memory, a processor and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for determining the multi-material electrothermal coupling field based on a physical information neural network as described in Example 1 of the present invention are implemented.
[0134] The detailed steps are the same as the method for determining the multi-material electrothermal coupling field based on physical information neural network provided in Example 1, and will not be repeated here.
[0135] Example 4
[0136] Embodiment 4 of the present invention provides a computer-readable storage medium.
[0137] A computer-readable storage medium stores a program, which, when executed by a processor, implements the steps in the method for determining a multi-material electrothermal coupling field based on a physical information neural network as described in the first embodiment of the present invention.
[0138] The detailed steps are the same as the method for determining the multi-material electrothermal coupling field based on physical information neural network provided in Example 1, and will not be repeated here.
[0139] The beneficial effect of the present invention is that, compared with the prior art and traditional numerical methods such as finite element method, it does not require meshing and can use automatic differentiation to calculate the gradient of the numerical solution, thus avoiding the problem of a sharp drop in calculation accuracy or even inability to calculate due to poor quality of the divided mesh, and greatly improving the calculation efficiency.
[0140] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0141] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0142] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0143] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for determining the electrothermal coupling field of multiple materials based on physical information neural network, characterized in that: The steps include: (1) for an electrical device including a plurality of material regions whose electrothermal coupling fields are to be calculated, obtaining data of the plurality of material regions; (2) constructing an electric field network and a thermal field network based on a physical information neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region; (3) Based on the continuity equation at the interface of the material region and the control equation of the electric-thermal coupling field, the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network are constructed respectively to determine the overall loss function of the electric field network and the overall loss function of the thermal field network; (4) based on the acquired data of the plurality of material regions, training the electric field network with the goal of minimizing the overall loss function of the electric field network; (5) using the trained electric field network to obtain Joule heat according to Joule's law, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of the multiple material regions with the goal of minimizing the overall loss function of the thermal field network; (6) Based on the trained electric field network and thermal field network, the electric potential distribution and temperature distribution of the electrothermal coupling field are obtained respectively.
2. The method according to claim 1, characterized in that The data of the multiple material regions include: boundary potential and boundary temperature, the size of each material region, the electrical conductivity and thermal conductivity of the material, and position data, potential data and temperature data of multiple sampling points at three different positions; the three different positions include: the regional junction of adjacent material regions, the boundary of the electrothermal coupling field, and the inside of each material region.
3. The method according to claim 2, characterized in that Step (3) specifically includes: (31) For the sampling points at the regional junctions, based on the continuity equation at the material regional junctions, the electric field junction loss function of each electric field sub-network and the thermal field junction loss function of each thermal field sub-network are constructed; (32) For the sampling points at the boundary of the electrothermal coupling field, according to the electrothermal coupling field control equation and the position data, potential data and temperature data of multiple sampling points at the boundary of the electrothermal coupling field, the residual loss function at the electric field boundary of the electric field subnetwork and the residual loss function at the thermal field boundary of the thermal field subnetwork are respectively constructed; (33) For the sampling points inside each material region, based on the electric field control equation and the thermal field control equation, the electric field internal sampling point loss function of each electric field sub-network and the thermal field internal sampling point loss function of each thermal field sub-network are constructed respectively; (34) The overall loss function of the electric field network is constructed based on the loss function at the electric field junction, the residual loss function at the electric field boundary, and the loss function at the sampling point inside the electric field of each electric field sub-network; the overall loss function of the thermal field network is constructed based on the loss function at the thermal field junction, the residual loss function at the thermal field boundary, and the loss function at the sampling point inside the thermal field of each thermal field sub-network.
4. The method according to claim 3, characterized in that Step (31) includes: for the adjacent nth material region and n+1th material region, the loss function of the nth electric field subnetwork corresponding to the nth material region at the electric field boundary between the nth and n+1th material regions is And the loss function of the nth thermal field sub-network corresponding to the nth material region at the junction of the thermal fields of the nth and n+1th material regions is They are constructed as: In the formula, and They are the electric field junction loss function of the nth electric field sub-network and the thermal field junction loss function of the nth thermal field sub-network respectively; and They represent the number of sampling points at the junction of the nth electric field sub-network and the nth thermal field sub-network, respectively; and They represent the predicted electric potential values of the i-th sampling point at the junction of the n-th electric field sub-network and the n+1-th electric field sub-network respectively; and They represent the first-order partial derivatives of the predicted electric potential of the ith sampling point at the junction of the regions with respect to the normal direction of the interface for the nth electric field sub-network and the n+1th electric field sub-network respectively; and They represent the predicted temperature values of the ith sampling point at the junction of the nth thermal field sub-network and the n+1th electric field sub-network, respectively; and Respectively represent the first-order partial derivative of the temperature prediction value of the nth thermal field sub-network and the n+1th electric field sub-network at the ith sampling point with respect to the normal direction of the interface; σ n represents the conductivity of the nth material region corresponding to the nth electric field subnetwork, σ n+1 represents the conductivity of the n+1th material region corresponding to the n+1th electric field subnetwork; k n represents the thermal conductivity of the material region corresponding to the nth thermal field subnetwork, k n+1 Represents the thermal conductivity of the material region corresponding to the n+1th thermal field sub-network.
5. The method according to claim 4, characterized in that Step (32) comprises: The residual loss function at the electric field boundary corresponding to the nth electric field sub-network Residual loss function at the thermal field boundary corresponding to the nth thermal field sub-network They are constructed as: and They represent the number of sampling points at the boundary corresponding to the nth electric field sub-network and the number of sampling points at the boundary corresponding to the nth thermal field sub-network respectively; and u j They represent the predicted potential value and actual potential value of the jth sampling point of the nth electric field subnetwork at the corresponding electric field boundary respectively; and T j They respectively represent the temperature prediction value and actual temperature value of the jth sampling point of the nth thermal field sub-network at the corresponding thermal field boundary.
6. The method according to claim 5, characterized in that Step (33) comprises: The loss function of the electric field internal sampling point of the nth electric field sub-network is The loss function of the internal sampling point of the thermal field of the nth thermal field sub-network They are constructed as: and They represent the number of internal sampling points corresponding to the nth electric field sub-network and the nth thermal field sub-network respectively; represents the predicted value of the potential of the nth electric field subnetwork at the i-th sampling point inside the corresponding n-th material region; represents the temperature prediction value of the ith sampling point of the nth thermal field subnetwork in the corresponding nth material region; σ n represents the conductivity of the nth material region; k n represents the thermal conductivity of the nth material region; Represents the Joule heating value of the ith sampling point in the nth thermal field subnetwork.
7. The method according to claim 6, characterized in that In step (34), The overall loss function of the electric field network is It is expressed as: The overall loss function of the thermal field network is It is expressed as: In the formula, and They represent the overall supervision loss of the electric field network and the overall supervision loss of the thermal field network, respectively, and the two are respectively composed of the residual loss function at the electric field boundary of each electric field sub-network The residual loss function at the thermal field boundary of each thermal field sub-network The sum is calculated; and They represent the overall unsupervised loss of the electric field network and the overall unsupervised loss of the thermal field network, The loss function of the internal sampling point of the electric field of each electric field sub-network is And the loss function at the electric field interface The sum is calculated, The loss function of the internal sampling points of the thermal field of each thermal field sub-network is And the loss function at the thermal field interface The sum is calculated; represents the weight of the overall supervision loss of the electric field network; represents the weight of the overall unsupervised loss of the electric field network; represents the weight of the overall supervision loss of the thermal field network; The weight representing the overall unsupervised loss of the thermal field network.
8. The method according to claim 1, characterized in that In step (5), for any position within the plurality of material regions, the Joule heat is expressed as: what J =E·(σE), Among them, q J represents the Joule heat at any position, E represents the electric field intensity at any position obtained by using the trained electric field network, and σ represents the conductivity at any position.
9. A device for determining multi-material electrothermal coupling field based on physical information neural network using the method according to any one of claims 1 to 8, characterized in that: include: A data acquisition module, for acquiring data of a plurality of material regions for an electrical device including a plurality of material regions for which an electrothermal coupling field is to be calculated; A network construction module, used to construct an electric field network and a thermal field network respectively based on a physical information neural network; the electric field network includes an electric field sub-network corresponding to each material region, and the thermal field network includes a thermal field sub-network corresponding to each material region; A loss determination module is used to construct the electric field loss function of each electric field sub-network and the thermal field loss function of each thermal field sub-network based on the continuity equation at the interface of the material region and the electric field and thermal field control equations, so as to determine the overall loss function of the electric field network and the overall loss function of the thermal field network; An electric field training module, used for training the electric field network based on the acquired data of the plurality of material regions with the goal of minimizing the overall loss function of the electric field network; A thermal field training module, for obtaining Joule heat according to Joule's law using the trained electric field network, taking the Joule heat as a heat source, and training the thermal field network based on the heat source and the acquired data of the plurality of material regions with the goal of minimizing the overall loss function of the thermal field network; The output module is used to obtain the electric potential distribution and temperature distribution of the electrothermal coupling field according to the trained electric field network and thermal field network.
10. A terminal comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1-8.
