Electromagnetic field simulation method and device of three-phase transformer, medium and electronic equipment
Through the autoencoder extracting features and combining with deep learning models, the problem of long time consuming short-circuit electromagnetic field simulation of three-phase transformer windings is solved, and fast and high-precision electromagnetic field simulation is achieved, which is suitable for real-time monitoring of digital power grids and power equipment.
Patent Information
- Application Number
- CN202410964338.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-01
AI Technical Summary
In the prior art, the electromagnetic field simulation of the three-phase transformer windings is too long, and it is difficult to meet the accuracy and timeliness requirements for monitoring the operating status of power equipment in digital power grid projects.
The electromagnetic field data is extracted by an autoencoder, and the deep learning model is used to train with electrical parameters to predict the electromagnetic field simulation data of the three-phase transformer to achieve fast and real-time electromagnetic field simulation.
Compared with finite element analysis, the simulation speed of deep learning models is faster, and can complete simulation in seconds, meeting the real-time requirements in digital power grids and power equipment digital twin application scenarios, and the simulation accuracy has also reached a high level.
Smart Images

Figure CN118886320A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electromagnetic simulation, and in particular to an electromagnetic field simulation method, device, medium and electronic equipment for a three-phase transformer. Background Art
[0002] The three-phase transformer is an important component of the transformer. As one of the most important power equipment, the transformer plays an important role in the process of power transmission. As one of the indispensable and important components of the power system, the transformer will be affected by thermal stress, mechanical stress and electrical stress in complex operating conditions, and various short-circuit faults will inevitably occur. In the case of a short-circuit fault, the leakage magnetic field inside the transformer and the electromagnetic force applied to the winding may cause the transformer winding to deform, thereby accelerating the loss of the equipment and affecting the use and life of the equipment. In order to achieve real-time and refined state monitoring of the transformer under different operating conditions, the correlation between the transformer electrical parameters and the operating state can be explored, and the distribution of the internal electromagnetic field of the transformer can be predicted, so as to analyze and diagnose the integrity of its internal state. Therefore, studying the real-time changes of the transformer electromagnetic parameters and the internal electromagnetic field has important research significance for the stability of the transformer operating state.
[0003] At present, the research on calculating the electromagnetic field distribution of transformers is mainly carried out through the finite element analysis (FEA) method. FEA provides a numerical method to solve complex partial differential equations. It divides the physical system established by the mathematical model into a finite number of small areas, which are called finite elements. In each area, FEA numerically approximates the partial differential equations to seek analytical solutions, and combines each discrete analytical solution to form a numerical solution of the overall physical system. Since FEA involves solving each finite element, as the complexity of the model increases, more iterative steps and more complex linear equation solvers are required. In addition, complex geometric shapes mean finer mesh divisions, which also require more processor time and device memory to process and calculate, making it difficult to meet the accuracy and timeliness of power equipment operating status monitoring in the context of digital power grid engineering applications. Summary of the invention
[0004] The present application provides an electromagnetic field simulation method, device, medium and electronic equipment for a three-phase transformer, which can solve the problem of excessively long time consumption in the electromagnetic field simulation of a three-phase transformer with a short-circuited winding using finite element analysis.
[0005] In a first aspect, the present application provides an electromagnetic field simulation method for a three-phase transformer, comprising:
[0006] Obtain electromagnetic field data and electrical parameters of three-phase transformer winding short circuit;
[0007] Extracting features from the electromagnetic field data by an autoencoder to obtain feature values corresponding to the electromagnetic field data;
[0008] A deep learning model is obtained by training using the characteristic values and the electrical parameters;
[0009] The electrical parameters to be measured when a winding short circuit occurs in the three-phase transformer are obtained, and the electrical parameters to be measured are input into the trained deep learning model to obtain electromagnetic field simulation data of the three-phase transformer.
[0010] According to the electromagnetic field simulation method of the three-phase transformer provided in this embodiment, the characteristic value corresponding to the electrical parameter is obtained by the autoencoder, the characteristic value is used as the output of the deep learning model, the electrical parameters of the three-phase transformer are used as the input of the deep learning model, and the deep learning model is trained. The trained deep learning model predicts the corresponding electromagnetic field data according to the electrical parameters to be measured. Compared with finite element analysis, the deep learning model has a faster prediction speed and can achieve the effect of real-time prediction. It can be applied to scenarios with high real-time requirements such as digital power grids and digital twins of power equipment.
[0011] In an exemplary embodiment, extracting features from the electromagnetic field data by an autoencoder to obtain feature values corresponding to the electromagnetic field data includes:
[0012] Acquiring electromagnetic field sample data of the three-phase transformer;
[0013] Using the electromagnetic field sample data to train an autoencoder, the autoencoder comprising an encoder and a decoder;
[0014] The encoder encodes the electromagnetic field sample data to obtain a characteristic value, and the decoder decodes the obtained characteristic value to obtain a reference value;
[0015] Adjusting the hyperparameters in the encoder and the decoder, when the difference between the feature value and the reference value is less than a preset threshold, the training is completed to obtain a trained autoencoder;
[0016] The characteristic values of the electromagnetic field data are extracted by the trained autoencoder to obtain the characteristic values corresponding to the electromagnetic field data.
[0017] In an exemplary embodiment, obtaining electromagnetic field data and electrical parameters of a three-phase transformer winding short circuit includes:
[0018] Obtaining selected electromagnetic field data and selected electrical parameters of a three-phase transformer;
[0019] Inputting the selected electrical parameters into a fault classification model to obtain a fault type output by the fault classification model;
[0020] The electromagnetic field data and electrical parameters whose fault type is winding short circuit are screened out from the to-be-selected electromagnetic field data and the to-be-selected electrical parameters according to the fault type.
[0021] In an exemplary embodiment, the electrical parameters to be selected include multiple currents and multiple voltages; and inputting the electrical parameters to be selected into the fault classification model includes:
[0022] Determine the importance of each voltage and each current through the test data of the fault classification model, and combine the voltages and currents based on the importance to obtain multiple groups of input features;
[0023] Determining the optimal input feature among the multiple groups of input features through the classification result of the test data by the fault classification model;
[0024] A target parameter among the candidate electrical parameters is extracted according to the optimal input feature, and the target parameter is input into a fault classification model.
[0025] In an exemplary embodiment, the voltages and currents are combined based on the importance to obtain multiple groups of input features, including:
[0026] Determine the first importance of each voltage and each current through random forest;
[0027] Determine the second importance of each voltage and each current through the gradient boosting tree;
[0028] The voltages and currents are combined based on the first importance and the second importance to obtain a plurality of groups of input features.
[0029] In an exemplary embodiment, inputting the electrical parameter to be measured into the trained deep learning model to obtain the electromagnetic field simulation data of the three-phase transformer includes:
[0030] Inputting the electrical parameters into a trained deep learning model, wherein the deep learning model includes an input layer, a hidden layer, and a decoder of the autoencoder;
[0031] The input layer and the hidden layer extract features of the electrical parameters to obtain predicted feature values; the decoder decodes the predicted feature values to obtain electromagnetic field simulation data.
[0032] In an exemplary embodiment, the electromagnetic field simulation data of the three-phase transformer includes a main flux prediction value and a leakage flux prediction value output by the deep learning model.
[0033] In a second aspect, the present application provides an electromagnetic field simulation device for a three-phase transformer, comprising:
[0034] A data acquisition module, used to acquire electromagnetic field data and electrical parameters of a three-phase transformer winding short circuit;
[0035] A feature extraction module, used to extract features from the electromagnetic field data through an autoencoder to obtain feature values corresponding to the electromagnetic field data;
[0036] A model building module, used for obtaining a deep learning model by training the characteristic values and the electrical parameters;
[0037] The electromagnetic simulation module is used to obtain the electrical parameters to be measured when the winding short circuit occurs in the three-phase transformer, input the electrical parameters to be measured into the trained deep learning model, and obtain the electromagnetic field simulation data of the three-phase transformer.
[0038] In a third aspect, the present application provides an electronic device, the electronic device comprising a memory and one or more processors. The memory stores one or more computer programs, the computer programs comprising instructions, and when the instructions are executed by the processor, the electronic device can execute the electromagnetic field simulation method of the three-phase transformer in the first aspect.
[0039] In a fourth aspect, the present application provides a computer-readable storage medium having instructions stored therein. When the instructions are executed on an electronic device, the electronic device executes the electromagnetic field simulation method of a three-phase transformer as in the first aspect.
[0040] In a fifth aspect, the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the electromagnetic field simulation method of the three-phase transformer as described in the first aspect.
[0041] It can be understood that the beneficial effects that can be achieved by the electromagnetic field simulation device, electronic device, computer-readable storage medium, and computer program product of the three-phase transformer provided above can refer to the beneficial effects in the first aspect and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A schematic diagram of a flow chart of an electromagnetic field simulation method for a three-phase transformer provided in an embodiment of the present application;
[0043] Figure 2 A schematic diagram of the structure of an electromagnetic field simulation device for a three-phase transformer provided in an embodiment of the present application;
[0044] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit the difference. It should be noted that in the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more.
[0046] It should be noted that the “at…” in the embodiments of the present application may be the instant when a certain situation occurs, or may be a period of time after the occurrence of a certain situation, and the embodiments of the present application do not specifically limit this.
[0047] The implementation of this embodiment will be described in detail below with reference to the accompanying drawings.
[0048] The present embodiment provides an electromagnetic field simulation method for a three-phase transformer. By way of example, the electromagnetic field simulation method for a three-phase transformer can be applied to various electronic devices such as computers (PCs), tablet computers, virtual reality / augmented reality devices, wearable devices, industrial computers, and vehicle computers; it can also be applied to servers, cloud computing, server clusters, etc., and the present embodiment does not impose any special limitations on this.
[0049] Figure 1 A schematic flow chart of an electromagnetic field simulation method for a three-phase transformer provided in an embodiment of the present application is shown.
[0050] like Figure 1 As shown, the electromagnetic field simulation method of the three-phase transformer may include the following steps:
[0051] Step 101: Acquire electromagnetic field data and electrical parameters of a three-phase transformer winding short circuit.
[0052] The three-phase transformer consists of three mutually coupled windings, which are connected to different phases in the three-phase power system, usually represented by symbols A, B, and C, where each phase contains a high-voltage winding, a medium-voltage winding, and a low-voltage winding. Electrical parameters can include the current and voltage of each phase. The magnetic flux of the three-phase transformer consists of the main magnetic flux and the leakage magnetic flux groove, and the electromagnetic field data can include the main magnetic flux and the leakage magnetic flux.
[0053] Exemplarily, when the three-phase transformer is working, the electrical parameters and electromagnetic field data at every preset time interval are recorded, and then the electromagnetic field data and electrical parameters when the three-phase transformer has a winding short circuit are screened out. Specifically, it includes the following: obtaining the electromagnetic field data and electrical parameters to be selected of the three-phase transformer; inputting the electrical parameters to be selected into the fault classification model to obtain the fault type output by the fault classification model; and screening the electromagnetic field data and electrical parameters of the fault type of winding short circuit from the electromagnetic field data and electrical parameters to be selected according to the fault type.
[0054] The fault classification model is a pre-trained model for fault classification of a three-phase transformer. The model may be a support vector machine (SVM), XGBoost, etc., but the present embodiment is not limited thereto. A certain number of fault electrical parameters are obtained in advance, used as input, and the encoded classification labels are used as output, and the fault classification model is trained. The trained fault classification model is used to classify the electromagnetic field data to be selected. When it is determined that the fault type of the electromagnetic field data to be selected is a winding short circuit, the electromagnetic field to be selected is used as the electromagnetic field data when the winding is short-circuited, and the corresponding electrical parameters to be selected are used as the electrical parameters when the winding is short-circuited.
[0055] This implementation also includes the following: determining the importance of each voltage and each current, combining the voltages and currents based on the importance to obtain multiple groups of input features; inputting each group of input features into the fault classification model to obtain the corresponding input features of each group.
[0056] The electrical parameters of a three-phase transformer include the current and voltage of the high-voltage winding, medium-voltage winding, and low-voltage winding of each phase, a total of 18 parameters with a large amount of data. By determining the importance of each parameter to the fault classification model, the more important parameters can be screened, thereby reducing the amount of data processed by the model and further improving the processing speed.
[0057] A part of the fault electrical parameters obtained above is used as test data, and the importance of each parameter is determined by using the test data. Specifically, the first importance of each voltage and each current can be determined by Random Forest (RF); the second importance of each voltage and each current can be determined by Gradient Boosting Trees (GBT); each voltage and each current are combined based on the first importance and the second importance to obtain multiple groups of input features. Exemplarily, the final importance of each current and voltage can be determined according to the first importance and the second importance. For example, the final importance can be the average of the first importance and the second importance, the sum of the first importance and the second importance, the difference between the first importance and the second importance, and so on. According to the final importance, a certain number of parameters can be screened out as a group of input features, for example, the three parameters with the highest importance are determined as a group of input features, the remaining parameters are used as another group of input features, and all parameters are also used as a group of input features.
[0058] The fault classification model is used to determine the classification results of each group of input features, and the classification results may include indicators such as classification accuracy and recall rate. The optimal input features are determined based on the classification results, and the target parameters are obtained from the candidate electrical parameters using the optimal input features. The target parameters are used as the input of the fault classification model to determine whether the three-phase transformer is in a winding short-circuit state. For the fault classification model, the number of input parameters is reduced, and the amount of data that needs to be processed is reduced, thereby improving the speed of fault classification.
[0059] In other embodiments, the importance of parameters can be determined by other means, or the combination of input parameters can be determined by other means, such as determining the importance of parameters by an attention mechanism.
[0060] Step 102: extracting features from the electromagnetic field data using an autoencoder to obtain feature values corresponding to the electromagnetic field data.
[0061] An autoencoder (AE) is a neural network model for unsupervised learning, which includes an encoder and a decoder. It uses the encoder to learn the compressed representation of data and uses the decoder process to perform feature learning and data reconstruction. In this embodiment, the autoencoder is first trained, and then the electrical parameters of the three-phase transformer winding when the winding is short-circuited are predicted by the trained autoencoder. Specifically, the electromagnetic field sample data of the three-phase transformer is obtained; the electromagnetic field sample data is used to train the autoencoder, and the autoencoder includes an encoder and a decoder; the encoder encodes the electromagnetic field sample data to obtain a characteristic value, and the decoder decodes the obtained characteristic value to obtain a reference value; the hyperparameters in the encoder and the decoder are adjusted, and when the difference between the characteristic value and the reference value is less than a preset threshold, the training is completed, and the trained autoencoder is obtained; the characteristic value of the electromagnetic field data is extracted by the trained autoencoder to obtain the characteristic value corresponding to the electromagnetic field data.
[0062] Both the encoder and the decoder can include an input layer, a hidden layer, and an output layer. The number of input layers, the number of hidden layers, the number of neurons in each hidden layer, the activation function of each hidden layer, the fitting method, the loss function, etc. are hyperparameters. The electromagnetic field sample data can be divided into a training set and a test set. The AE is trained with the training set. The number of hidden layers, the number of neurons, the learning rate, the batch size and other parameters are tuned through the Optuna hyperparameter framework. The accuracy of the validation set is used as the standard, and the AE with the highest accuracy is obtained as the final model.
[0063] Step 103: Utilize the characteristic values and the electrical parameters to train and obtain a deep learning model.
[0064] Specifically: the electrical parameters are input into a deep learning model, which includes an input layer, a hidden layer and a decoder of the autoencoder; the input layer and the hidden layer extract features of the electrical parameters to obtain predicted feature values; the decoder decodes the predicted feature values to obtain electromagnetic field simulation data.
[0065] The decoder in the trained AE is added to the deep learning model, which also includes an input layer and a hidden layer. The input layer can convert electrical parameters into feature vectors; the hidden layer can extract features from feature vectors to obtain corresponding feature values, which are then decoded by the decoder in the deep learning model to restore them to main flux and leakage flux.
[0066] When training the deep learning model, the electrical parameters are used as input, the feature values output by the autoencoder in the corresponding step 102 are used as output labels, and the electrical parameters and the corresponding output labels are divided into a training set and a test set. The training set may include multiple data, each of which includes an electrical parameter and an output label. The training set is input into the deep learning model to obtain the feature value extracted by the deep learning model for each electrical parameter, and the difference between the feature value and the output label of the electrical parameter is calculated. The difference is minimized by adjusting the parameters of the deep learning model to obtain a trained deep learning model.
[0067] In this embodiment, the deep learning model can use a deep neural network (DNN) as a hidden layer for feature extraction, or a long short-term memory network (LSTM) as a hidden layer for feature extraction, or other networks can be used, for example, DNN, LSTM, etc. The number of input layers and hidden layers of the deep learning model can also be other situations, and the deep learning model can also include other structures, and this embodiment is not limited to this.
[0068] In this embodiment, when training the deep learning model, the electrical parameters may be normalized first to reduce the error between the data.
[0069] Step 104: Obtain the electrical parameters to be measured when a winding short circuit occurs in the three-phase transformer, input the electrical parameters to be measured into the trained deep learning model, and obtain electromagnetic field simulation data of the three-phase transformer.
[0070] The electrical parameters to be measured can be a test set of electrical parameters, or they can be the current electrical parameters of the three-phase transformer obtained in real time. The electrical parameters to be measured are input into the trained deep learning model, and the deep learning model can output electromagnetic field simulation data predicted for the electrical parameters to be measured. The electromagnetic field simulation data of the three-phase transformer can include the main flux prediction value and the leakage flux prediction value output by the deep learning model.
[0071] This application uses deep learning to simulate the electromagnetic field of a three-phase transformer with a short-circuited winding. Compared with finite element analysis, the simulation time of the deep learning model of the electromagnetic field of a three-phase transformer with a short-circuited winding is only 0.67s, and the MAPE of the simulation model is 2.01%, that is, the simulation time is reduced from the hour level of finite element analysis to the second level, and the simulation accuracy is also almost the same. It can achieve the purpose of real-time prediction of physical field data in the "digital grid" construction and digital twin application scenarios of power equipment.
[0072] By predicting the main flux prediction value and leakage flux prediction value of the three-phase transformer, the magnetic field conditions corresponding to different electrical parameters under the short-circuit state of the three-phase transformer winding can be determined, so as to determine the cause or location of the winding short-circuit fault.
[0073] Below, taking the electromagnetic field data of a three-phase transformer with low-voltage no-load winding short-circuited under high-voltage winding short-circuited as an example, the processing process of the deep learning model is explained.
[0074] The electromagnetic field data and electrical parameters of the short-circuited winding of the three-phase transformer can be the data of the three-phase transformer model created in the finite element analysis software. The three-phase transformer consists of three mutually coupled windings, which are connected to different phases in the three-phase power supply system, usually represented by symbols A, B, and C. Each phase contains a high-voltage winding, a medium-voltage winding, and a low-voltage winding. The three-dimensional model is divided into a coordinate grid of 749×749×749mm. In the finite element analysis software COMSOL, a three-phase transformer model with winding short circuit to be analyzed is created. The three-phase transformer has three voltage levels: high voltage, medium voltage, and low voltage, corresponding to high voltage winding, medium voltage winding, and low voltage winding. Each voltage level is divided into three phases ABC, and two load conditions are set: low voltage no-load (i.e., the low voltage winding current is 0) / medium voltage no-load (i.e., the medium voltage winding current is 0). The three phases ABC indicate that there is a short circuit point in each of the three phases A, B, and C. The short circuit point of phase A is at Hha, the short circuit point of phase B is at Hhb, and the short circuit point of phase C is at Hhc. Among them, Hha, Hhb, and Hhc are the coordinate positions of the short circuit points, respectively, in mm.
[0075] The electromagnetic field simulation data of the three-phase transformer with short-circuited windings is obtained, with Hha=149.8, Hhb=224.7, Hbc=-187.25, the time range is 0.2s to 0.5s, and the interval is 5×10-4s, with a total of 601 data. Each data consists of the electromagnetic field values of 37,700 coordinate points.
[0076] Then, the electromagnetic field simulation data of the three-phase transformer with short-circuited windings is divided into a training set, a validation set, and a test set with a ratio of 6:2:2. The training data set, validation data set, and test data set are 361, 120, and 120, respectively. Each data of the training set, validation set, and test set is merged together, and the tensors of the training data set, validation set, and test set are 361×37700, 120×37700, and 120×37700, respectively.
[0077] Then, the AE model was trained and reduced in dimension using the training dataset, retaining 18 dimensions. The number of hidden layers, number of neurons, learning rate, batch size and other parameters were tuned using the Optuna hyperparameter framework, with the accuracy of the validation set as the best standard. Finally, 5 hidden layers were used, and the number of nodes in the input and output layers was 377 770, 709, 354, 18, 354, 709, and 377 770, respectively. No activation function was added to the output layer, and activation function ReLU was added to each of the remaining layers. Adam was used as the optimization function, MAPE Loss was used as the loss function, Epochs was set to 1×105, and Batch Size was set to 16. The learning rate of the first 1 / 2 Epochs was set to 1×10-4, 1 / 2 to 5 / 6 Epochs was set to 1×10-5, and the last 1 / 6 Epochs was set to 1×10-6. The training dataset was reduced from 360×37 700 to 360×18 dimensions. Table 1 shows the evaluation index of the difference between the restored data and the original data after the inverse transformation of the AE model. As can be seen from Table 1, the dimensionality reduction of the data by the AE model can better retain the characteristic information to restore the complete magnetic field.
[0078] Table 1
[0079]
[0080] The full connection layer and AE model are created and trained for the electromagnetic field data of the three-phase transformer with short-circuited windings. Five hidden layers are used, and the number of nodes of the input layer and output layer model are 18, 256, 256, 18, 354, 709 and 377 770 respectively. No activation function is added to the output layer, and the activation function ReLU is added to each of the remaining layers. The optimization function uses Adam, the loss function uses MSELoss, Epochs is set to 2×103, and the Batch Size is set to 16. The learning rate of the first 1 / 2 Epochs is set to 1×10-5, and the last 1 / 2 Epochs is set to 1×10-6. The structure, training parameters and performance of the model are shown in Table 2.
[0081] Table 2
[0082]
[0083] Among them, Act represents the activation function, Opt represents the optimization function, LR represents the learning rate, Epo represents Epochs, and BS represents Batch Size. The mean absolute percentage error (MAPE) on the test set is the comparison between the data predicted by the model and the real electromagnetic field data, and the result is 2.01%. It can be seen that the performance of the model is very good and is very consistent with the real electromagnetic field data. After obtaining the deep learning model, it takes about 0.32s to simulate the test data set.
[0084] Furthermore, this embodiment also provides an electromagnetic field simulation device for a three-phase transformer, which can be used to execute the electromagnetic field simulation method for the three-phase transformer. Figure 2 As shown, the electromagnetic field simulation device 200 of the three-phase transformer specifically includes: a data acquisition module 201, used to obtain the electromagnetic field data and electrical parameters of the three-phase transformer winding short circuit; a feature extraction module 202, used to extract features of the electromagnetic field data through an autoencoder to obtain eigenvalues corresponding to the electromagnetic field data; a model construction module 203, used to train a deep learning model using the eigenvalues and the electrical parameters; an electromagnetic simulation module 204, used to obtain the electrical parameters to be measured when the winding short circuit occurs in the three-phase transformer, input the electrical parameters to be measured into the trained deep learning model, and obtain the electromagnetic field simulation data of the three-phase transformer.
[0085] In an exemplary embodiment, the feature extraction module 202 specifically includes: a sample acquisition module, used to obtain the electromagnetic field sample data of the three-phase transformer; an autoencoder construction module, used to train the autoencoder using the electromagnetic field sample data, the autoencoder including an encoder and a decoder; the encoder encodes the electromagnetic field sample data to obtain a feature value, and the decoder decodes the obtained feature value to obtain a reference value; a parameter adjustment module, used to adjust the hyperparameters in the encoder and the decoder, when the difference between the feature value and the reference value is less than a preset threshold, the training is completed to obtain the trained autoencoder; a feature output module, used to extract the feature value of the electromagnetic field data through the trained autoencoder to obtain the feature value corresponding to the electromagnetic field data.
[0086] In an exemplary embodiment, the data acquisition module 201 specifically includes a fault classification module, which is used to: obtain selected electromagnetic field data and selected electrical parameters of a three-phase transformer; input the selected electrical parameters into a fault classification model to obtain the fault type output by the fault classification model; and filter out the electromagnetic field data and electrical parameters whose fault type is winding short circuit from the selected electromagnetic field data and the selected electrical parameters according to the fault type.
[0087] In an exemplary embodiment, the electrical parameters to be selected include multiple currents and multiple voltages; the fault classification module specifically includes an importance calculation module, which is used to: determine the importance of each voltage and each current through test data of a fault classification model, and combine the voltages and currents based on the importance to obtain multiple groups of input features; determine the optimal input feature among the multiple groups of input features through the classification results of the test data by the fault classification model; extract the target parameter among the electrical parameters to be selected based on the optimal input feature, and input the target parameter into the fault classification model.
[0088] In an exemplary embodiment, the importance calculation module is specifically used to: determine the first importance of each voltage and each current through a random forest; determine the second importance of each voltage and each current through a gradient boosting tree; and combine the each voltage and each current based on the first importance and the second importance to obtain multiple groups of input features.
[0089] In an exemplary embodiment, the electromagnetic simulation module 204 is specifically used to: input the electrical parameters into a trained deep learning model, the deep learning model including an input layer, a hidden layer and a decoder of the autoencoder; the input layer and the hidden layer perform feature extraction on the electrical parameters to obtain predicted feature values; the decoder decodes the predicted feature values to obtain electromagnetic field simulation data.
[0090] In an exemplary embodiment, the electromagnetic field simulation data of the three-phase transformer includes a main flux prediction value and a leakage flux prediction value output by the deep learning model.
[0091] The specific details of each module or unit in the above-mentioned electromagnetic field simulation device for three-phase transformer have been described in detail in the corresponding electromagnetic field simulation method for three-phase transformer, so they will not be repeated here.
[0092] The embodiment of the present application also provides an electronic device, Figure 3 A schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure is shown. Figure 3 The electronic device 600 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0093] like Figure 3As shown, electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0094] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0095] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the embodiment of the present application are executed.
[0096] For example, when the computer program is executed by the central processing unit (CPU) 601, it can be executed as follows: obtaining electromagnetic field data and electrical parameters of a three-phase transformer winding short circuit; performing feature extraction on the electromagnetic field data through an autoencoder to obtain characteristic values corresponding to the electromagnetic field data; using the characteristic values and the electrical parameters to train a deep learning model; obtaining the electrical parameters to be measured when the winding of the three-phase transformer is short-circuited, inputting the electrical parameters to be measured into the trained deep learning model, and obtaining electromagnetic field simulation data of the three-phase transformer.
[0097] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The 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 of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0098] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0099] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0100] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and the one or more programs include instructions, and when the instructions are executed by the electronic device, the electronic device implements the method described in the above embodiment.
[0101] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.
[0102] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A three-phase transformer electromagnetic field simulation method, It is characterized in that include: Obtain electromagnetic field data and electrical parameters of three-phase transformer winding short circuit; Extracting features from the electromagnetic field data by an autoencoder to obtain feature values corresponding to the electromagnetic field data; A deep learning model is obtained by training using the characteristic values and the electrical parameters; The electrical parameters to be measured when a winding short circuit occurs in the three-phase transformer are obtained, and the electrical parameters to be measured are input into the trained deep learning model to obtain electromagnetic field simulation data of the three-phase transformer.
2. The three-phase transformer electromagnetic field simulation method according to claim 1, It is characterized in that The extracting features of the electromagnetic field data by the autoencoder to obtain feature values corresponding to the electromagnetic field data includes: Acquiring electromagnetic field sample data of the three-phase transformer; Using the electromagnetic field sample data to train an autoencoder, the autoencoder comprising an encoder and a decoder; The encoder encodes the electromagnetic field sample data to obtain a characteristic value, and the decoder decodes the obtained characteristic value to obtain a reference value; Adjusting the hyperparameters in the encoder and the decoder, when the difference between the feature value and the reference value is less than a preset threshold, the training is completed to obtain a trained autoencoder; The characteristic values of the electromagnetic field data are extracted by the trained autoencoder to obtain the characteristic values corresponding to the electromagnetic field data.
3. The electromagnetic field simulation method of a three-phase transformer according to claim 1, It is characterized in that Obtain electromagnetic field data and electrical parameters of three-phase transformer winding short circuit, including: Obtaining selected electromagnetic field data and selected electrical parameters of a three-phase transformer; Inputting the selected electrical parameters into a fault classification model to obtain a fault type output by the fault classification model; The electromagnetic field data and electrical parameters whose fault type is winding short circuit are screened out from the to-be-selected electromagnetic field data and the to-be-selected electrical parameters according to the fault type.
4. The three-phase transformer electromagnetic field simulation method according to claim 3, It is characterized in that The electrical parameters to be selected include multiple currents and multiple voltages; the step of inputting the electrical parameters to be selected into the fault classification model includes: Determine the importance of each voltage and each current through the test data of the fault classification model, and combine the voltages and currents based on the importance to obtain multiple groups of input features; Determining the optimal input feature among the multiple groups of input features through the classification result of the test data by the fault classification model; A target parameter among the candidate electrical parameters is extracted according to the optimal input feature, and the target parameter is input into a fault classification model.
5. According to the electromagnetic field simulation method of three-phase transformer according to claim 4, It is characterized in that The voltages and currents are combined based on the importance to obtain multiple groups of input features, including: Determine the first importance of each voltage and each current through random forest; Determine the second importance of each voltage and each current through the gradient boosting tree; The voltages and currents are combined based on the first importance and the second importance to obtain a plurality of groups of input features.
6. The three-phase transformer electromagnetic field simulation method according to claim 2, It is characterized in that The step of inputting the electrical parameter to be measured into the trained deep learning model to obtain electromagnetic field simulation data of the three-phase transformer includes: Inputting the electrical parameters into a trained deep learning model, wherein the deep learning model includes an input layer, a hidden layer, and a decoder of the autoencoder; The input layer and the hidden layer extract features of the electrical parameters to obtain predicted feature values; the decoder decodes the predicted feature values to obtain electromagnetic field simulation data.
7. The three-phase transformer electromagnetic field simulation method according to claim 1, It is characterized in that The electromagnetic field simulation data of the three-phase transformer includes the main magnetic flux prediction value and the leakage magnetic flux prediction value output by the deep learning model.
8. An electromagnetic field simulation device for a three-phase transformer, It is characterized in that include: A data acquisition module, used to acquire electromagnetic field data and electrical parameters of a three-phase transformer winding short circuit; A feature extraction module, used to extract features from the electromagnetic field data through an autoencoder to obtain feature values corresponding to the electromagnetic field data; A model building module, used for obtaining a deep learning model by training the characteristic values and the electrical parameters; The electromagnetic simulation module is used to obtain the electrical parameters to be measured when the winding short circuit occurs in the three-phase transformer, input the electrical parameters to be measured into the trained deep learning model, and obtain the electromagnetic field simulation data of the three-phase transformer.
9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the electromagnetic field simulation method for a three-phase transformer according to any one of claims 1 to 7.
10. An electronic device, It is characterized in that It comprises a processor and a memory, wherein one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the electromagnetic field simulation method of the three-phase transformer according to any one of claims 1 to 7.
