Transformer data and operation state association method and system and medium
Simplifying the transformer network through topology diagrams, combining time series and location information, and using the transformation model and attention mechanism layer for training, it solves the problem of difficulty in attributing the overall characteristics of the transformer network data and achieves more accurate operating status prediction.
Patent Information
- Application Number
- CN202410748041.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-10
AI Technical Summary
The transformer network connection is complex, and it is difficult to summarize the overall characteristics of the data collected directly. The traditional neural network ignores the timing of data and the correlation between the same group of data.
Simplify the transformer network structure through the topology diagram, obtain the combination of topological coding and time series signals, add position coding, use the conversion model and attention mechanism layer for training, and obtain the operating status prediction of the transformer.
It effectively utilizes the layout characteristics and timing information of the transformer network to generate more accurate output, solving the problem that traditional neural networks cannot process sequence data.
Smart Images

Figure CN118626850A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power equipment monitoring and diagnosis, and in particular to a method, system and medium for associating transformer data with operating status. Background Art
[0002] As an important part of the power system, the operating status of the transformer directly affects the safe and stable operation of the power system. Therefore, real-time monitoring and evaluation of the operating status of the transformer is crucial to ensure the safe operation of the power system. With the development of the power system and the improvement of its intelligence, the demand for real-time diagnosis and prediction of the operating status of the transformer is increasing. Accurately evaluating the operating status of the transformer can timely discover potential fault risks and take preventive measures, thereby improving the reliability and operating efficiency of the power system.
[0003] Modern transformer monitoring systems often collect multiple types of data, including multi-dimensional characteristic quantities such as current, voltage, temperature, and vibration. In a transformer network, the connection lines of different transformers are complex, and it is difficult to summarize the overall characteristics of the transformer network by directly collecting data. These data come from various sources and are rich in information, but how to effectively use these data to evaluate the operating status of the transformer is a challenge.
[0004] Traditional neural network learning ignores the temporal nature of data and the correlation between the same group of data. However, for tasks involving sequence data or time series, sequential information is very important, and traditional neural networks cannot handle such sequences well. Summary of the invention
[0005] The technical problem to be solved by the present invention is to solve the problem that the connection lines of the transformer are complicated and it is difficult to summarize the overall characteristics of the transformer network by directly collecting data.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:
[0007] A method for associating transformer data with operating status, comprising:
[0008] Simplify the transformer network structure topologically to obtain a transformer topology diagram;
[0009] Convert the transformer topology diagram into data form to obtain the topology code of each transformer;
[0010] Combining the topological code of the transformer with the time series signal to obtain a transformer data set; and adding the position code to the transformer data set to obtain a transformer time-position signal set;
[0011] Regularization is performed on the transformer time-position signal set to obtain an input signal data set.
[0012] In one embodiment of the present invention, a conversion model is established;
[0013] Inputting the input signal data set into the attention mechanism layer training in the conversion model to obtain a mapping matrix of the input signal data set;
[0014] For the mapping matrix of the input signal data set, the score of the input signal data set corresponding to the preset transformer state label under different weight matrices of the attention mechanism layer is calculated by a scoring function;
[0015] According to the score results, apply the loss function to obtain the loss modification weight matrix parameters;
[0016] With the goal of obtaining the highest score for the preset transformer state label, modify the weight matrix parameters according to the loss, train and update the weight matrix in the attention mechanism layer through the back propagation method, and obtain the optimal parameters of the weight matrix in the attention mechanism layer;
[0017] The optimal parameters of the weight matrix in the attention mechanism layer are substituted into the conversion model to predict the transformer state.
[0018] Advantages: The present invention first uses the topological graph to simplify the connection relationship between transformers, and also adds the location information of the transformers. In addition, in view of the time series and volatility of transformer data, a conversion model is used to learn and establish a transformer operation model. The conversion model can fully utilize the self-attention mechanism in the encoder and decoder to capture global context information. This allows the model to better understand the relevant information in the input data and generate more accurate output.
[0019] In one embodiment of the present invention, obtaining a transformer topology diagram includes the following steps:
[0020] Select a starting vertex (v_0), add it to the vertex set (V') of the minimum spanning tree, and add its associated edges to the candidate edge set (E');
[0021] Select an edge ((v,u)) with the minimum weight from the candidate edge set (E'), where point (v) and point (u) are two points of the edge with the minimum weight. At this time, point (v) is in the vertex set (V'), but point (u) is not in the vertex set (V'); add point (u) as the next vertex to the vertex set (V') of the minimum spanning tree, add the edge ((v,u)) to the edge set of the minimum spanning tree, and update the candidate edge set (E');
[0022] Repeat the previous step until the minimum spanning tree contains all vertices;
[0023] The process is terminated when the minimum spanning tree includes all vertices, a transformer node set and a transformer connection set are obtained, and a weighted connected graph is obtained based on the transformer node set and the transformer connection set.
[0024] In one embodiment of the present invention, obtaining the topological code of each transformer includes: according to the transformer topological diagram, setting the corresponding elements of two interconnected transformers to 1, and vice versa to 0, to obtain the transformer adjacency matrix; using each row of elements in the transformer adjacency matrix as the topological code of the corresponding transformer, to obtain the topological code of each transformer.
[0025] In one embodiment of the present invention, position coding is added to the transformer data set by the following formula:
[0026]
[0027] In the formula, pos represents the position of the current data in the transformer data set, 2k+1 and 2k represent the parity bit data in the transformer data set, and PE (pos,2k) The position code of the current even-bit data, PE (pos,2k+1) It is the position code of the first odd bit data, sin is the sine function, and cos is the cosine function.
[0028] In one embodiment of the present invention, the loss function is obtained by the following formula:
[0029]
[0030] Where L is the loss function, y i is the i-th label state in different states of the transformer, i represents the number of labels, softmax(y i ) is the score of other signals other than the current transformer state label, softmax is the activation function, is the total size of the input signal dataset, x zz is the currently processed bit element of the input signal data set, and P is the total size of the input signal data set.
[0031] In one embodiment of the present invention, the softmax activation function is obtained by the following formula:
[0032]
[0033] Where e is the natural logarithm.
[0034] In one embodiment of the present invention, the scores of the input signal data set under different weight matrices of the attention mechanism layer corresponding to the preset transformer state labels, attention (Q, K, V), are obtained by the following formula:
[0035]
[0036] P is the total size of the input signal data set, softmax is the activation function, which converts the input vector into a probability distribution, T is the matrix transpose, softmax is the activation function, Q is the mapping of the query matrix (W_q), K is the mapping of the key matrix (W_k), and V is the mapping of the value matrix (W_v).
[0037] The present invention also provides a system for a method for associating transformer data with operating status, comprising:
[0038] A topology diagram module is used to simplify the transformer network structure topologically and obtain a transformer topology diagram;
[0039] A topology coding module, used to convert the transformer topology map into data form and obtain the topology coding of each transformer;
[0040] A position coding module is used to combine the topological coding of the transformer with the time series signal to obtain a transformer data set; and add the position coding to the transformer data set to obtain a transformer time-position signal set;
[0041] A regularization module is used to regularize the transformer time-position signal set to obtain an input signal data set;
[0042] In one embodiment of the present invention, obtaining a transformer topology diagram includes the following steps:
[0043] Select a starting vertex (v_0), add it to the vertex set (V') of the minimum spanning tree, and add its associated edges to the candidate edge set (E');
[0044] Select an edge ((v,u)) with the minimum weight from the candidate edge set (E'), where point (v) and point (u) are two points of the edge with the minimum weight. At this time, point (v) is in the vertex set (V'), but point (u) is not in the vertex set (V'); add point (u) as the next vertex to the vertex set (V') of the minimum spanning tree, add the edge ((v,u)) to the edge set of the minimum spanning tree, and update the candidate edge set (E');
[0045] Repeat the previous step until the minimum spanning tree contains all vertices;
[0046] The process is terminated when the minimum spanning tree includes all vertices, a transformer node set and a transformer connection set are obtained, and a weighted connected graph is obtained based on the transformer node set and the transformer connection set.
[0047] The present invention also provides a computer-readable medium having executable instructions stored thereon. When the instructions are executed by a processor, the processor executes the above-mentioned method for associating transformer data with operating status.
[0048] Compared with the prior art, the present invention has the following beneficial effects: the present invention uses topology to simplify the transformer network, and the obtained location information is the layout characteristics of the transformer network. Adding the location information to the data set not only simplifies the complexity of the data set, but also reflects the distribution information of the transformer network and establishes the correlation between the data, compared with directly collecting the data set.
[0049] The conversion model can simultaneously focus on information at different positions in the sequence through the attention mechanism, so as to better understand the contextual information of the entire sequence and capture patterns at different time scales. For time series data with irregular time intervals (such as event-triggered data), the conversion model can also handle it well because it does not rely on a fixed time step, solving the problem that traditional neural networks ignore the temporal nature of data.
[0050] The present invention first simplifies the topology of the transformer network structure, and then converts the topology map into data form. The input transformer feature data is preprocessed and input into the position coding layer, and the position coding is added. Then the data processed by the position coding layer is output to the normalize layer to achieve data normalization. The processed data is trained with the QKV matrix in the conversion model; the trained matrix is then used to calculate the score function, and the modified matrix is back-propagated to obtain the desired matrix parameters after continuous training, that is, to establish the association system framework between the transformer multimodal data and the operating status. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 The present invention is a flowchart of a method for associating transformer data with operating status according to an embodiment of the present invention.
[0052] Figure 2 4 is a transformer topology diagram of an embodiment of the present invention.
[0053] Figure 3 Schematic diagram of an adjacency matrix according to an embodiment of the present invention.
[0054] Figure 4 The present invention is a block diagram of a transformer data and operating status association system according to an embodiment of the present invention.
[0055] Figure 5 A block diagram of a computer-readable storage medium according to an embodiment of the invention. DETAILED DESCRIPTION
[0056] In order to facilitate those skilled in the art to understand the technical solution of the present invention, the technical solution of the present invention is further described in conjunction with the accompanying drawings of the specification.
[0057] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0058] With the development of data-driven intelligent technologies such as machine learning and deep learning, it is possible to use multi-dimensional feature quantities to evaluate the operating status of transformers. These technologies can learn patterns and rules from large amounts of data, and can perform complex data association and predictive analysis, providing new methods and ideas for transformer operating status evaluation. In the process of constructing the transformer operating status structure, the transformer has the characteristics of strong time series, multi-dimensional data, and many connections between transformers. Based on this, please refer to Figure 1 As shown, the present invention provides a method for associating transformer data with operating status, comprising:
[0059] S10, topologically simplifying the transformer network structure to obtain a transformer topology diagram.
[0060] In one embodiment of the present invention, obtaining the transformer topology diagram specifically includes the following steps:
[0061] S11, initialization: select a starting vertex (v_0), add it to the vertex set (V') of the minimum spanning tree, and add its associated edges to the candidate edge set (E').
[0062] In this embodiment, each node represents a transformer, and the relationship between two transformers is described by an edge.
[0063] S12, select an edge ((v,u)) with minimum weight from the candidate edge set (E'), where (v) and (u) are two points on the edge with minimum weight. At this time, point (v) is in the vertex set (V'), but point (u) is not in the vertex set (V'); take point (u) as the next vertex and add it to the vertex set (V') of the minimum spanning tree, add the edge ((v,u)) to the edge set of the minimum spanning tree, and update the candidate edge set (E').
[0064] S13, iteration: repeat step S12 until the minimum spanning tree contains all vertices;
[0065] S14, terminate when the minimum spanning tree includes all vertices, obtain a transformer node set and a transformer connection set, and obtain a weighted connectivity graph based on the transformer node set and the transformer connection set.
[0066] In this embodiment, the transformer node set V = [V1, V2…V n ], transformer connection set E = [E1, E2…E j ], then the weighted connected graph G = (V, E). Where n represents the number of transformer nodes and j represents the number of transformer connection relationships.
[0067] S20, converting the transformer topology map into data form, and obtaining the topology code of each transformer.
[0068] In one embodiment of the present invention, according to the transformer topology diagram, the corresponding elements of two interconnected transformers are set to 1, and vice versa, to 0, to obtain the transformer adjacency matrix. Each row of elements in the transformer adjacency matrix is used as the topological code of the corresponding transformer to obtain the topological code of each transformer.
[0069] See also Figures 1 to 3 As shown in the transformer topology diagram, A, B, C, D, and F represent transformers, and the connecting line represents that there is a connectivity relationship between two transformers. According to the transformer adjacency matrix, the topological coding of each transformer can be determined as: A =
[01110] , B =
[10101] , C =
[11011] , D =
[10101] , and F =
[10101] .
[0070] S30, combining the topological code of the transformer with the time series signal to obtain a transformer data set; and adding the position code to the transformer data set to obtain a transformer time-position signal set.
[0071] In one embodiment of the present invention, it is assumed that the transformer data set is X = [x1, x2, ... x j ], where j represents the number of data in the transformer dataset, x represents the transformer operation data, and for the subsequent score calculation, the corresponding collected transformer state labels are Y = [y1, y2…y i ], where i represents the number of labels. The transformer dataset X is a combination of the time series signal a and the transformer topological encoding O, that is, X = {O, a}. In order to explain the order of signals in different time periods, the transformer dataset is added with position encoding, and the calculation process of position encoding is as follows:
[0072] PE (pos,2k) =sin(pos / 10000 2k / j )
[0073] PE (pos,2k+1)=cos(pos / 10000 2k / j )
[0074] In the formula, pos represents the position of the current data in the transformer data set, 2k and 2k+1 represent the parity bit data in the transformer data set, and PE (pos,2k) The position code of the current even-bit data, PE (pos,2k+1) It is the position code of the first odd bit data, sin is the sine function, and cos is the cosine function.
[0075] After adding the position coding, the transformer data set X can be expressed as a form containing the position coding, that is, the transformer time-position signal set X' is: X' = [x1, x2, x3, ..., x j ,PE1,PE2,PE3,...,PE j ].
[0076] S40, regularizing the transformer time-position signal set to obtain an input signal data set.
[0077] In one embodiment of the present invention, the transformer time-position signal set is regularized, and the data is fine-tuned to meet the format requirements of the data, so as to facilitate the calculation and processing in the subsequent model. The process is as follows:
[0078] Calculate the mean μ and standard deviation σ of the samples in the time-position signal set of each transformer:
[0079]
[0080] Where Z is the total number of transformer time-position signal data, x z It represents the zth time signal with topological location information added to the transformer time-location signal set.
[0081] The standard deviation σ is given by the following formula:
[0082]
[0083] For each sample x in the transformer time-position signal set z Normalize:
[0084]
[0085] In the formula, For each sample x in the transformer time-position state signal set z The normalized value of .
[0086] The normalized samples are further adjusted by applying scaling and translation parameters to obtain the final output:
[0087]
[0088] In the formula, X zz is the normalized, scaled and translated signal of the transformer time-position state signal set, and γ and β are learnable scaling and translation parameters.
[0089] S50, establishing a conversion model, inputting the input signal data set into the attention layer training in the conversion model, and obtaining a mapping matrix of the input signal data set.
[0090] In this embodiment, the conversion model is a transformer model, and this application does not improve this model. The attention mechanism layer mainly includes three types of weight matrices of the transformer model, namely the query matrix (W_q), the key matrix (W_k) and the value matrix (W_v). Among them, the query matrix (W_q) maps each element in the input signal data set to the query space, the key matrix (W_k) maps each element in the input signal data set to the key space, and the value matrix (W_v) maps each element in the input signal data set to the value space.
[0091] The corresponding input signal data set X zz The mapping matrices are:
[0092] Q=X zz ·(W_q);
[0093] K=X zz ·(W_k);
[0094] V=X zz ·(W_v);
[0095] Where Q is the mapping of the query matrix (W_q), K is the mapping of the key matrix (W_k), and V is the mapping of the value matrix (W_v).
[0096] Since there are z kinds of states in the model to be built, z different Q, K and V are needed to process the same data set.
[0097] S60, for the mapping matrix of the input signal data set, using a scoring function to calculate the score of the input signal data set under different weight matrices in the attention mechanism layer corresponding to the preset transformer state label.
[0098] In this embodiment, the calculation process is as follows:
[0099]
[0100] P is the total size of the input signal data set, softmax is the activation function, which converts the input vector into a probability distribution, and T is the matrix transpose. The specific calculation method of the softmax function is as follows:
[0101]
[0102] In the formula, x zz is the currently processed bit element of the input signal data set, and e is the natural logarithm.
[0103] S70, applying a loss function according to the score result to obtain loss modification weight matrix parameters.
[0104] In one embodiment of the present invention, the loss function is obtained by the following formula:
[0105]
[0106] Where L is the loss function, y i is the i-th label state in different states of the transformer, i represents the number of labels, softmax(y i ) is the score of other signals other than the current transformer state label.
[0107] S80, with the goal of obtaining the highest score for the preset transformer state label, modify the weight matrix parameters according to the loss, train and update the weight matrix in the attention mechanism layer through a back propagation method, and obtain the optimal parameters of the weight matrix in the attention mechanism layer.
[0108] In this embodiment, the back propagation method is a conventional algorithm, and this application does not improve it. The process of training and updating the weight matrix in the attention layer is:
[0109]
[0110] Where W Q , W K and W V are the weights of the query matrix, the key matrix, and the value matrix, respectively. α is the iteration speed. W' Q , W' K and W' V are the weights of the updated query matrix, key matrix, and value matrix, respectively. and They are the partial derivatives of the loss function with respect to the weights of the query matrix, the weights of the key matrix, and the weights of the value matrix, respectively.
[0111] In this embodiment, after a sufficient number of training times, appropriate weight matrix parameters are obtained, and the transformer model at this time unifies the transformer state with the multi-dimensional state operation data. After inputting the transformer multi-dimensional feature data, the scores under each label, the highest score represents the greatest possibility of belonging to the state label.
[0112] S90, substitute the optimal parameters of the weight matrix in the attention mechanism layer into the conversion model to predict the transformer state.
[0113] See also Figures 1 to 4 As shown, the present invention also provides a transformer data and operating status association system, including a topology diagram module, which is used to topologically simplify the transformer network structure and obtain a transformer topology diagram;
[0114] A topology coding module, used to convert the transformer topology map into data form and obtain the topology coding of each transformer;
[0115] A position coding module is used to combine the topological coding of the transformer with the time series signal to obtain a transformer data set; and add the position coding to the transformer data set to obtain a transformer time-position signal set;
[0116] The regularization module is used to regularize the transformer time-position signal set to obtain an input signal data set.
[0117] Wherein, obtaining the transformer topology diagram includes the following steps:
[0118] S11, initialization: select a starting vertex (v_0), add it to the vertex set (V') of the minimum spanning tree, and add its associated edges to the candidate edge set (E').
[0119] S12, select an edge ((v,u)) with the minimum weight from the candidate edge set (E'), where point (v) and point (u) are two points of the edge with the minimum weight. At this time, point (v) is in the vertex set (V'), but point (u) is not in the vertex set (V'); take point (u) as the next vertex and add it to the vertex set (V') of the minimum spanning tree, add the edge ((v,u)) to the edge set of the minimum spanning tree, and update the candidate edge set (E').
[0120] S13, iteration: repeat step S12 until the minimum spanning tree contains all vertices,
[0121] S14, terminate when the minimum spanning tree includes all vertices, obtain a transformer node set and a transformer connection set, and obtain a weighted connectivity graph based on the transformer node set and the transformer connection set.
[0122] See also Figures 1 to 5As shown, the present invention also provides a computer-readable storage medium, which stores computer instructions 10. When the instructions are executed by a processor of a computer, the processor executes the above-mentioned method for associating transformer data with operating status. The computer-readable storage medium can be an electronic medium, a magnetic medium, an optical medium, an electromagnetic medium, an infrared medium, or a semiconductor system or a propagation medium. The computer-readable storage medium can also include semiconductor or solid-state memory, a magnetic tape, a removable computer disk, a random access memory (RAM), a read-only memory (ROM), a hard disk, and an optical disk. The optical disk can include a compact disk-read only memory (CD-ROM), a compact disk-read / write (CD-RW), and a DVD.
[0123] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be regarded as exemplary and non-limiting from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention, and any reference numerals in the claims should not be regarded as limiting the claims involved.
[0124] The above-described embodiments merely represent implementation methods of the invention. The protection scope of the present invention is not limited to the above-described embodiments. For those skilled in the art, several modifications and improvements may be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A method for associating transformer data with operating status, characterized in that: include: Simplify the transformer network structure topologically to obtain a transformer topology diagram; Convert the transformer topology diagram into data form to obtain the topology code of each transformer; Combining the topological code of the transformer with the time series signal to obtain a transformer data set; and adding the position code to the transformer data set to obtain a transformer time-position signal set; Regularization is performed on the transformer time-position signal set to obtain an input signal data set.
2. The method for associating transformer data with operating status according to claim 1, characterized in that: Build a conversion model; Inputting the input signal data set into the attention mechanism layer training in the conversion model to obtain a mapping matrix of the input signal data set; For the mapping matrix of the input signal data set, the score of the input signal data set corresponding to the preset transformer state label under different weight matrices of the attention mechanism layer is calculated by a scoring function; According to the score results, apply the loss function to obtain the loss modification weight matrix parameters; With the goal of obtaining the highest score for the preset transformer state label, modify the weight matrix parameters according to the loss, train and update the weight matrix in the attention mechanism layer through the back propagation method, and obtain the optimal parameters of the weight matrix in the attention mechanism layer; The optimal parameters of the weight matrix in the attention mechanism layer are substituted into the conversion model to predict the transformer state.
3. The method for associating transformer data with operating status according to claim 1, characterized in that: Obtaining the transformer topology diagram includes the following steps: Select a starting vertex (v_0), add it to the vertex set (V') of the minimum spanning tree, and add its associated edges to the candidate edge set (E'); Select an edge ((v,u)) with the minimum weight from the candidate edge set (E'), where point (v) and point (u) are two points of the edge with the minimum weight. At this time, point (v) is in the vertex set (V'), but point (u) is not in the vertex set (V'); add point (u) as the next vertex to the vertex set (V') of the minimum spanning tree, add the edge ((v,u)) to the edge set of the minimum spanning tree, and update the candidate edge set (E'); Repeat the previous step until the minimum spanning tree contains all vertices; The process is terminated when the minimum spanning tree includes all vertices, a transformer node set and a transformer connection set are obtained, and a weighted connected graph is obtained based on the transformer node set and the transformer connection set.
4. The method for associating transformer data with operating status according to claim 3, characterized in that: Obtaining the topological code of each transformer includes: according to the transformer topological diagram, setting the corresponding elements of two interconnected transformers to 1, and vice versa to 0, to obtain the transformer adjacency matrix; using each row element in the transformer adjacency matrix as the topological code of the corresponding transformer, to obtain the topological code of each transformer.
5. The method for associating transformer data with operating status according to claim 4, characterized in that: Position encoding is added to the transformer dataset using the following formula: In the formula, pos represents the position of the current data in the transformer data set, 2k+1 and 2k represent the parity bit data in the transformer data set, and PE (pos,2k) The position code of the current even-bit data, PE (pos,2k+1) It is the position code of the first odd bit data, sin is the sine function, and cos is the cosine function.
6. The method for associating transformer data with operating status according to claim 2, characterized in that: The loss function is obtained by the following formula: Where L is the loss function, y i is the i-th label state in different states of the transformer, i represents the number of labels, softmax(y i ) is the score of other signals other than the current transformer state label, softmax is the activation function, is the total size of the input signal dataset, x zz is the currently processed bit element of the input signal data set, and P is the total size of the input signal data set.
7. The method for associating transformer data with operating status according to claim 6, characterized in that: The softmax activation function is obtained by the following formula: Where e is the natural logarithm.
8. The method for associating transformer data with operating status according to claim 2, characterized in that: The score attention(Q, K, V) of the input signal dataset under the preset transformer state label under different weight matrices of the attention mechanism layer is obtained by the following formula: P is the total size of the input signal data set, softmax is the activation function, which converts the input vector into a probability distribution, T is the matrix transpose, softmax is the activation function, Q is the mapping of the query matrix (W_q), K is the mapping of the key matrix (W_k), and V is the mapping of the value matrix (W_v).
9. A system based on the method for associating transformer data with operating status according to any one of claims 1 to 8, characterized in that: include: A topology diagram module is used to simplify the transformer network structure topologically and obtain a transformer topology diagram; A topology coding module, used to convert the transformer topology map into data form and obtain the topology coding of each transformer; A position coding module is used to combine the topological coding of the transformer with the time series signal to obtain a transformer data set; and add the position coding to the transformer data set to obtain a transformer time-position signal set; The regularization module is used to regularize the transformer time-position signal set to obtain an input signal data set.
10. A computer-readable medium, characterized in that Executable instructions are stored thereon. When the instructions are executed by a processor, the processor executes the method for associating transformer data with operating status as described in any one of claims 1-8.
Citation Information
Patent Citations
Power failure prediction method and system based on graph neural network
CN111461392A
Network anomaly detection method and system based on space-time convolutional network and topology awareness
CN111669373A
Modeling method of water quality parameter prediction model and water quality parameter prediction method and device
CN116029438A
Method and device for analyzing and evaluating operation state of power system
CN116362628A
Line parameter identification method based on excavation of spatial topological characteristics of power grid
CN116484740A
