Digital twin distribution network fault diagnosis method and system

By constructing a digital twin model of the distribution network and a fault type identification channel, and dynamically adjusting the status threshold, the problem of low adaptability of distribution network fault diagnosis scenarios in the existing technology is solved, and efficient fault type identification and diagnosis are achieved.

CN118566645APending Publication Date: 2024-08-30STATE GRID JIANGSU ELECTRIC POWER CO LTD NANTONG POWER SUPPLY BRANCH +3
View PDF 0 Cites 10 Cited by

Patent Information

Application Number
CN202410727968.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The existing technology cannot dynamically adjust the status threshold of the distribution network, resulting in low scene adaptability and inability to effectively identify fault types.

Method used

By constructing a digital twin model of the distribution network and combining the digital twin model to simulate different control states, obtain node state simulation data and compare it with the actual state data, use the fault type identification channel to analyze the deviation state attributes and characteristic values, and identify faults. Type identification and probability analysis, dynamic adjustment of status threshold.

Benefits of technology

It achieves efficient fault type identification, dynamically adjusts status thresholds, improves the accuracy and adaptability of fault diagnosis, and supports subsequent fault maintenance management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566645A
    Figure CN118566645A
Patent Text Reader

Abstract

The invention provides a digital twin power distribution network fault diagnosis method and system, and relates to the field of power grid fault diagnosis, and the method comprises the steps: obtaining a to-be-distributed control parameter of a first power distribution network; activating digital twin model simulation of the first power distribution network to obtain state simulation data of a plurality of topological structure nodes; receiving state monitoring data of a plurality of topological structure nodes; comparing the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values; training a fault type identification channel to obtain a fault type identification result; traversing the fault type identification result to generate a fault type triggering probability label; and sending the fault type triggering probability label and the fault type identification result to a power distribution network fault management terminal. The technical problem that in the prior art, due to the fact that the state threshold cannot be dynamically adjusted, the scene fitness is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to power grid fault diagnosis, and in particular to a digital twin distribution network fault diagnosis method and system. Background Art

[0002] The purpose of fault diagnosis in distribution networks is to accurately and timely determine the fault location and fault type. The main analysis process is to collect the underlying distribution network status data, and then rely on fixed threshold values ​​to analyze abnormal conditions and abnormal state triggering locations. However, the complexity of distribution networks is relatively high. In actual applications, based on different control states, the threshold values ​​will fluctuate. Traditional fault diagnosis cannot dynamically and automatically adjust the threshold values ​​to further analyze possible fault types. Summary of the invention

[0003] The present application provides a digital twin distribution network fault diagnosis method and system, aiming to solve the technical problem in the prior art of low scene adaptability due to the inability to dynamically adjust the state threshold.

[0004] In view of the above problems, the present application provides a digital twin distribution network fault diagnosis method and system.

[0005] The first aspect disclosed in the present application provides a digital twin distribution network fault diagnosis method, including: obtaining a control parameter to be distributed of a first distribution network; activating a digital twin model of the first distribution network, retrieving the control parameter to be distributed for distribution simulation, and obtaining multiple topology node state simulation data; interacting with the underlying sensor arrays of multiple topology nodes, and receiving multiple topology node state monitoring data; comparing the multiple topology node state monitoring data with the multiple topology node state simulation data, and obtaining multiple groups of deviation state attributes and multiple groups of deviation feature values; training a fault type identification channel, mapping the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtaining a fault type identification result; traversing the fault type identification result to perform fault probability analysis, and generating a fault type trigger probability label; and sending the fault type trigger probability label and the fault type identification result to a distribution network fault management terminal.

[0006] Another aspect disclosed in the present application provides a digital twin distribution network fault diagnosis system, including: a control parameter acquisition module, used to obtain the control parameters to be distributed of the first distribution network; a distribution simulation module, used to activate the digital twin model of the first distribution network, call the control parameters to be distributed to perform distribution simulation, and obtain multiple topology node state simulation data; a state monitoring module, used to interact with the underlying sensor array of multiple topology nodes, and receive multiple topology node state monitoring data; a node state comparison module, used to compare the multiple topology node state monitoring data with the multiple topology node state simulation data, and obtain multiple groups of deviation state attributes and multiple groups of deviation feature values; a fault type identification module, used to train the fault type identification channel, map the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtain a fault type identification result; a trigger probability analysis module, used to traverse the fault type identification result to perform fault probability analysis, and generate a fault type trigger probability label; a data transmission module, used to send the fault type trigger probability label and the fault type identification result to a distribution network fault management terminal.

[0007] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0008] By building a digital twin model of the distribution network, the operation simulation of the distribution network under different control states is carried out in combination with the digital twin model to obtain the state simulation data of each node; then the actual state data of each node is collected; the state monitoring data of multiple topology nodes and the state simulation data of multiple topology nodes are compared by using the pre-built fault type identification channel, and the multiple groups of deviation state attributes and multiple groups of deviation characteristic values ​​are analyzed to determine the nodes that trigger the fault and the type of the triggering fault; then the fault probability is analyzed based on the data statistics principle to obtain the fault type trigger probability label. The fault type trigger probability label and the fault type identification result are sent to the distribution network fault management terminal for the convenience of subsequent fault maintenance management. The digital twin model is used to provide the threshold state of different control states, and then the fault type identification channel is combined to realize efficient fault type identification, so as to achieve the technical effect of dynamically adjusting the state threshold data and efficiently analyzing the fault trigger type.

[0009] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1A possible flow chart of a digital twin power distribution network fault diagnosis method is provided for an embodiment of the present application;

[0011] Figure 2 A possible structural schematic diagram of a digital twin distribution network fault diagnosis system is provided for an embodiment of the present application.

[0012] Explanation of the reference numerals: control parameter acquisition module 100 , power distribution simulation module 200 , state monitoring module 300 , node state comparison module 400 , fault type identification module 500 , trigger probability analysis module 600 , data transmission module 700 . DETAILED DESCRIPTION

[0013] The overall idea of ​​the technical solution provided by this application is as follows:

[0014] The embodiment of the present application provides a digital twin distribution network fault diagnosis method and system, which solves the technical problem of low scene adaptability due to the inability to dynamically adjust the state threshold in the prior art. The digital twin model is used to provide threshold states of different control states, and then combined with the fault type identification channel to achieve efficient fault type identification, achieving the technical effect of dynamically adjusting the state threshold data and efficiently analyzing the fault trigger type.

[0015] After introducing the basic principles of the present application, various non-limiting implementation methods of the present application will be specifically described below in conjunction with the drawings in the specification.

[0016] Embodiment 1

[0017] like Figure 1 As shown, the embodiment of the present application provides a digital twin distribution network fault diagnosis method, including:

[0018] Obtaining control parameters of power to be distributed of the first distribution network;

[0019] Specifically, the first distribution network is any distribution network that needs to be diagnosed for faults, including but not limited to distributed distribution networks and large power grid distribution networks. The control parameters to be distributed refer to the control data of the first distribution network for distribution in order to meet the power supply needs, including but not limited to various types of electrical control data, such as distribution control data such as power transmission location, power transmission amount, output power, etc., which can be set by users according to the actual application scenarios of the distribution network.

[0020] activating the digital twin model of the first distribution network, retrieving the control parameters of the power to be distributed to perform power distribution simulation, and obtaining multiple topology structure node state simulation data;

[0021] Specifically, the digital twin model of the first distribution network is a digital entity constructed in a virtual space using the physical loads, underlying sensors, historical operation data, etc. of the physical distribution network, using digital twin technology. The state simulation analysis of each physical load node of the first distribution network in different control states can be realized. Multiple topological structure node state simulation data refers to activating the digital twin model of the first distribution network, calling the control parameters to be distributed for distribution simulation, and obtaining the state simulation data of each physical load node. The topological structure node refers to the deployment location of the digital model of each physical load. The digital twin technology can be used to simulate and analyze the state of a complex distribution network, and obtain the simulated state data of each topological structure node. Since the digital twin model is built based on a healthy distribution network, its simulated state data can be used as the state threshold data of the control parameters to be distributed, which is more flexible than the traditional fixed threshold data.

[0022] Interact with the underlying sensor array of multiple topological structure nodes to receive status monitoring data of multiple topological structure nodes;

[0023] Comparing the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values;

[0024] Specifically, the underlying sensor array refers to the sensor used to monitor the topological structure nodes, which is deployed according to the data type that needs to be collected. For example, if the state monitoring data includes power data such as voltage, current, phase difference, instantaneous voltage maximum value, instantaneous current maximum value, instantaneous voltage minimum value, etc., it can be directly uploaded by the power load of each node. If the state monitoring data includes parameters such as temperature, humidity, active power, reactive power, harmonics, etc., it is necessary to deploy relevant equipment for collection. Multiple topological structure nodes refer to the deployment nodes of physical entity loads that correspond one-to-one to multiple virtual topological structure nodes of the digital twin model, and the underlying sensor arrays of multiple topological structure nodes are interacted to receive multiple topological structure node state monitoring data. Multiple topological structure node state monitoring data and multiple topological structure node state simulation data are compared one by one according to data attributes to obtain multiple groups of deviation state attributes and multiple groups of deviation characteristic values. Multiple groups of deviation state attributes, multiple groups of deviation characteristic values ​​and multiple topological structure nodes correspond one by one. Any deviation characteristic value represents the deviation vector of the specific deviation state attribute of a specific topological structure node. Preferably, the deviation characteristic value = topological structure node state monitoring data - topological structure node state simulation data. By calculating and storing multiple groups of deviation state attributes and multiple groups of deviation characteristic values ​​in parallel, a data basis is provided for subsequent fault identification.

[0025] Training a fault type identification channel, mapping the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtaining a fault type identification result;

[0026] Further, training a fault type identification channel, mapping the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtaining a fault type identification result includes:

[0027] Based on the topological structure characteristics of the first distribution network, collecting distribution network fault record data;

[0028] Preprocessing the distribution network fault record data includes:

[0029] Any one of the distribution network fault record data includes a plurality of topology structure node state record data, a plurality of distribution network control record data and fault feature record data;

[0030] Based on the digital twin model of the first distribution network and based on the plurality of distribution network control record data, an operation simulation is performed to obtain a plurality of topology structure node state benchmark data;

[0031] Performing deviation comparison on the plurality of topological structure node state record data and the plurality of topological structure node state reference data to obtain a plurality of groups of deviation state record attributes and a plurality of groups of deviation characteristic value record data;

[0032] Wherein, the fault feature record data includes fault location record data and fault type record data;

[0033] According to the multiple groups of deviation state record attributes and the multiple groups of deviation characteristic value record data, a monitoring state deviation record matrix is ​​constructed, and the fault location record data and the fault type record data are converted into output label data;

[0034] The BP neural network is supervised and trained based on the monitoring state deviation matrix and the output label data to generate the fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation characteristic values ​​are mapped to obtain the fault type identification result.

[0035] Further, supervised training is performed on the BP neural network based on the monitoring state deviation matrix and the output label data to generate the fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation feature values ​​are mapped to obtain the fault type identification result, which includes:

[0036] Obtaining BP neural network model parameters, wherein the BP neural network model parameters include multiple groups of node model parameters, and any group of node model parameters includes at least a weight parameter and a bias parameter;

[0037] Initializing the weight parameter of any set of node model parameters of the multiple sets of node model parameters to 1, and initializing the bias parameter to 0;

[0038] Setting the initial solution space scale, wherein the initial solution space scale represents the number of initial solutions for model parameter optimization, and 50≤the initial solution space scale≤100;

[0039] According to the initial solution space scale, the monitoring state deviation matrix is ​​dispatched as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain an initial model parameter solution, wherein the initial model parameter solution has a mean square loss error value;

[0040] Dividing the initial model parameter solution according to the mean square loss error value to generate multiple optimization domains;

[0041] Optimizing the initial model parameter solution according to the multiple optimization domains to generate expanded model parameters;

[0042] Based on the expanded model parameters, the monitoring state deviation matrix is ​​retrieved as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain the fault type identification channel.

[0043] Furthermore, the initial model parameter solution is divided according to the mean square loss error value to generate multiple optimization domains, including:

[0044] Sorting the initial model parameter solutions from small to large according to the mean square loss error values ​​to obtain a solution set sorting result;

[0045] According to the solution set sorting result, a preset number of head solutions are extracted and set as a plurality of target solutions, and other solutions are set as a plurality of solutions to be adjusted;

[0046] Calculate the proportion of the multiple mean square loss error values ​​of the multiple target solutions in the sum of the multiple mean square loss error values ​​of the multiple target solutions, and subtract the proportion from 1 to obtain multiple target power coefficients;

[0047] Performing a product operation on the multiple target force coefficients and the number of the multiple solutions to be adjusted, and rounding down the product operation result to obtain multiple in-domain scale parameters;

[0048] The multiple solutions to be adjusted are randomly divided according to the multiple in-domain scale parameters to obtain the multiple optimization domains.

[0049] Further, according to the multiple optimization domains, the initial model parameter solution is optimized to generate the expanded model parameters, including:

[0050] Construct a distance evaluation function:

[0051]

[0052] Among them, D(x j ,x0) represents the distance between the jth solution of any optimization domain and the target solution in the domain, x j represents the jth solution, x0 represents the target solution in the domain, and w ji Characterizes the weight parameter of the i-th node of the j-th solution, b ji represents the bias parameter of the i-th node of the j-th solution, N represents the total number of nodes, and w 0i The weight parameter of the i-th node representing the target solution in the domain, b 0i The bias parameter of the i-th node of the target solution in the domain;

[0053] According to the distance evaluation function, traverse a plurality of solutions to be adjusted in any one of the plurality of optimization domains to obtain a plurality of distances to be adjusted;

[0054] A weight adjustment constraint step length and a bias adjustment constraint step length are obtained, and the model parameters whose distances to be adjusted are less than or equal to the adjustment distance threshold are adjusted to obtain the expanded model parameters.

[0055] Specifically, the fault type identification channel is an intelligent model built based on machine learning to respond to multiple sets of deviation state attributes and multiple sets of deviation feature values ​​to obtain fault type identification results. Preferably, the fault type identification channel can be trained using model structures such as neural networks, support vector machines, and decision trees. When the fault type identification channel training is completed, multiple sets of deviation state attributes and multiple sets of deviation feature values ​​are retrieved for mapping to obtain the fault type identification results that characterize the fault type data of a specific fault node.

[0056] Furthermore, since neural networks have strong generalization capabilities and high output accuracy, the embodiment of the present application uses neural networks as the basic framework of the fault type identification channel. Furthermore, since BP neural networks are suitable for regression problems, BP neural networks are used as the specific model network topology. However, the disadvantage of building a fault analysis model for a specific first distribution network is that the convergence of the neural network model requires the support of a large amount of data, and the sample data of the specific first distribution network is relatively small, so the conventional training mode is difficult to support the training of the model. In response to this problem, the embodiment of the present application proposes a specific optimization algorithm to achieve the optimization of model parameters, which can greatly reduce the demand for training samples.

[0057] Specifically, the detailed training steps are as follows:

[0058] The distribution network fault record data refers to the record data of the historical operation faults of the first distribution network. Furthermore, the first distribution network may have a process of topology replacement. Therefore, based on the topology characteristics of the first distribution network, multiple record data of the historical operation faults of the first distribution network are collected and stored as distribution network fault record data. Any distribution network fault record data includes multiple topology node status record data, multiple distribution network control record data and fault feature record data. The fault feature record data includes but is not limited to fault type record data and fault location record data.

[0059] Furthermore, by activating the digital twin model of the first distribution network, multiple distribution network control record data are dispatched for digital simulation, so as to obtain the threshold state value of each fault record, which is stored as multiple topological structure node state reference data. Furthermore, the multiple topological structure node state record data and the multiple topological structure node state reference data are compared for deviation, and multiple groups of deviation state record attributes and multiple groups of deviation feature value record data are obtained. In the latter step, the multiple groups of deviation state record attributes and multiple groups of deviation feature value record data can be used as input sample data of the training model, and the corresponding fault type record data and fault location record data can be used as output supervision sample data.

[0060] In order to facilitate the computer to quickly identify data, multiple groups of deviation state record attributes and multiple groups of deviation eigenvalue record data are converted into a matrix storage structure, which is set as a monitoring state deviation record matrix. The exemplary matrix form is: Among them, a11 represents the first attribute state parameter of the first node, a1W represents the Wth attribute state parameter of the first node, aV1 represents the first attribute state parameter of the Vth node, aVW represents the Wth attribute state parameter of the Vth node, V is the total number of nodes, W is the total number of state attribute categories of all nodes, and when a node does not have relevant attributes, the corresponding matrix position is padded with zero. Furthermore, the fault location record data and the fault type record data are converted into output label data. For example, each location of the distribution network is represented by a unique character, and each fault type is represented by a unique character, and then the output label data is a binary data consisting of two characters. After the data is digitized, training can be performed. The monitoring state deviation matrix is ​​input into the BP neural network, and the model parameters of the BP neural network are reversely adjusted by the supervisory data with the output label data. The training is trained until convergence to obtain a fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation feature values ​​are mapped to obtain a fault type identification result.

[0061] Furthermore, due to the small amount of sample data of a specific distribution network, all training feedback adjustments that rely on the BP neural network model parameters are slow to converge, and the sample consumption is too fast, and it is often difficult to reach a convergence state. Therefore, the embodiment of the present application proposes a head solution leading algorithm to provide a guiding update direction for the model parameters to increase the convergence speed and reduce the sample consumption speed.

[0062] Specifically, at the beginning of training, the BP neural network model parameters are obtained, and the BP neural network model parameters include multiple groups of node model parameters, and any group of node model parameters includes at least a weight parameter and a bias parameter. Exemplarily: when data is input to any node inside the model, the output data of the node = weight parameter * input data + bias parameter; the weight parameter of any group of node model parameters among the multiple groups of node model parameters is initialized to 1, and the bias parameter is initialized to 0. It should be stated that the nodes inside the model are the topological structure nodes of the model, which are different from the nodes of the distribution network, and the two are different concepts.

[0063] The scale of the initial solution space refers to the number of initial solutions for model parameter optimization, that is, the minimum number of assigned values ​​for the model parameters, which serves as the benchmark data for subsequent optimization. 50≤the scale of the initial solution space≤100. For example, if the scale of the initial solution space is equal to 50, the monitoring state deviation matrix is ​​scheduled as input data, and the output label data is used as output data to supervise the BP neural network for 50 times. Any training includes: using the monitoring state deviation matrix as input data, inputting the BP neural network, obtaining the output of the BP neural network, adjusting the model parameters of the BP neural network according to the deviation between the output data and the output label data, and then training with the current data. When the deviation between the output data and the output label data is less than or equal to the preset deviation, the corresponding model parameters are output and stored as a solution in the initial solution space. Stop when 50 solutions are met to obtain the initial model parameter solution, wherein the initial model parameter solution has a mean square loss error value, and the mean square loss error value refers to any one solution, and the verification data is retrieved to verify the square mean of the error of the set number of times.

[0064] Once the initial model parameter solution is determined, optimization can be performed to obtain extended model parameters that have a guiding role in model parameter adjustment, and supervised training is performed on the BP neural network to obtain the fault type identification channel.

[0065] Specifically, in order to improve the globality of model parameter optimization, the head solution leading algorithm divides the solution into multiple optimization domains according to specific division rules. In each optimization domain, the better solution is used as the optimization target, and the model parameters of other solutions are adjusted to reduce the distance with the better solution, and a new solution is obtained as the expanded model parameter. The detailed steps are as follows:

[0066] Step 1: Construct an optimization domain: The smaller the mean square loss error, the better the corresponding solution. Therefore, the initial model parameter solutions are sorted from small to large according to the mean square loss error value to obtain the solution set sorting result; according to the solution set sorting result, a preset number of head solutions are extracted and set as multiple target solutions, that is, the better solutions, and other solutions are set as multiple solutions to be adjusted, that is, the solutions that need to adjust the model parameters. Calculate the proportion of multiple mean square loss error values ​​of multiple target solutions in the sum of multiple mean square loss error values ​​of multiple target solutions, and use 1 to subtract the proportion to obtain multiple target influence coefficients. Multiply the multiple target influence coefficients by the number of the multiple solutions to be adjusted, round down the product operation result, and obtain multiple domain scale parameters to characterize the number of solutions in each domain. According to the multiple domain scale parameters, the multiple solutions to be adjusted are randomly divided to obtain multiple optimization domains. If the solutions to be adjusted are not divided up, they are randomly assigned to a certain optimization domain.

[0067] Step 2: Optimizing model parameters: Constructing distance evaluation function: Among them, D(x j ,x0) represents the distance between the jth solution of any optimization domain and the target solution in the domain, x j represents the jth solution, x0 represents the target solution in the domain, and w ji Characterizes the weight parameter of the i-th node of the j-th solution, b ji represents the bias parameter of the i-th node of the j-th solution, N represents the total number of nodes, and w 0i The weight parameter of the i-th node representing the target solution in the domain, b 0i The bias parameter of the i-th node of the target solution in the domain. According to the distance evaluation function, traverse a number of solutions to be adjusted in any optimization domain of multiple optimization domains to obtain a number of distances to be adjusted. Obtain the weight adjustment constraint step and the bias adjustment constraint step, adjust a number of model parameters whose distances to be adjusted are less than or equal to the adjustment distance threshold, and obtain the expanded model parameters. The adjustment distance threshold is a threshold used to evaluate whether the model parameters have adjustment value. If the distance is too large, the adjustment value is small, and no adjustment is performed, thereby avoiding the generation of redundant data.

[0068] By using the head solution-leading algorithm provided in the embodiment of the present application, a fault analysis model of the first distribution network can be constructed based on a small sample. Due to the fast calculation speed and accurate calculation characteristics of the intelligent model, the accuracy of the analysis results is guaranteed, thereby obtaining a fault type identification result that characterizes the fault location and fault type, which is convenient for subsequent guided maintenance and power grid early warning.

[0069] Traversing the fault type identification results to perform fault probability analysis and generate a fault type trigger probability label;

[0070] The fault type trigger probability label and the fault type identification result are sent to the distribution network fault management terminal.

[0071] Specifically, the fault type trigger probability label refers to a parameter that characterizes the possibility of occurrence of the fault type at the fault location. The determination process is preferably as follows: with the distribution network control parameters and the fault location as constraints, the fault record data in a specific time zone of the first distribution network is collected. The statistical model gives the occurrence ratio of the fault type, which is set as the fault type trigger probability label. The fault type trigger probability label and the fault type identification result are sent to the distribution network fault management terminal that performs distribution network fault maintenance as maintenance guidance data. The fault type trigger probability label can be used to characterize the probability of occurrence of different fault types. The fault type with a greater probability of occurrence can be given priority maintenance by the user, which is convenient for differential scheduling when maintenance resources are insufficient.

[0072] Furthermore, the plurality of topological structure node state monitoring data and the plurality of topological structure node state simulation data are compared to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values, including:

[0073] Extracting a first state attribute monitoring value sequence according to the first topology structure node state monitoring data, wherein the first state attribute monitoring value sequence includes at least one first state attribute monitoring value, wherein the first topology structure node belongs to a plurality of topology structure nodes;

[0074] Extracting a first state attribute simulation value sequence according to the first topology structure node state simulation data, wherein the first state attribute simulation value sequence and the first state attribute monitoring value sequence have the same length;

[0075] Perform deviation analysis based on the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient;

[0076] When the first state attribute deviation coefficient is greater than or equal to the first state attribute deviation threshold, the first state attribute is added to the first node deviation state attribute, and the second deviation factor of the first state attribute deviation coefficient is added to the first node deviation characteristic value, wherein the first node deviation state attribute belongs to the multiple groups of deviation state attributes, and the first node deviation characteristic value belongs to the multiple groups of deviation characteristic values.

[0077] Specifically, the prior art is to monitor the node status instantaneously. If the threshold value is not met, a fault analysis is performed. The disadvantage is that some nodes may be abnormal for an instant, but they are normal for a long time. Such nodes should be regarded as normal nodes, so there are occasional errors in instantaneous monitoring. The embodiment of the present application proposes to perform a deviation analysis algorithm on the state sequence that changes with time sequence, so as to reduce the probability of accidental errors.

[0078] According to the state monitoring data of the first topological structure node, a first state attribute monitoring value sequence representing the actual change of the first state attribute with time sequence is extracted, wherein the first state attribute monitoring value sequence includes at least one first state attribute monitoring value, wherein the first topological structure node belongs to multiple topological structure nodes. The digital twin model is synchronously operated with the distribution network, so the state data of the two are consistent in time sequence, therefore, according to the state simulation data of the first topological structure node, a first state attribute simulation value sequence representing the normal change of the first state attribute with time sequence is extracted, wherein the first state attribute simulation value sequence and the first state attribute monitoring value sequence have the same length and consistent time sequence. Deviation analysis is performed based on the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient, wherein the first state attribute deviation coefficient is a parameter representing the overall deviation state of the first state attribute monitoring value sequence and the first state attribute simulation value sequence. When the first state attribute deviation coefficient is greater than or equal to the first state attribute deviation threshold, the first state attribute is added to the first node deviation state attribute, and the second deviation factor of the first state attribute deviation coefficient is added to the first node deviation characteristic value, wherein the first node deviation state attribute belongs to the multiple groups of deviation state attributes, and the first node deviation characteristic value belongs to the multiple groups of deviation characteristic values. The first state attribute deviation threshold refers to a threshold for evaluating whether the state value of the first state attribute is deviated, which is a user-defined parameter, and the second deviation factor refers to one of the constituent factors of the first state attribute deviation coefficient.

[0079] In detail, the specific process of determining the first state attribute deviation coefficient is as follows:

[0080] Further, performing deviation analysis according to the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient includes:

[0081] Comparing the first state attribute monitoring value sequence and the first state attribute simulation value sequence according to time series characteristics to obtain a plurality of state deviation characteristic values;

[0082] Extracting a state deviation feature value set whose multiple state deviation feature values ​​are greater than or equal to a state deviation threshold;

[0083] Counting the number of the state deviation feature value set, setting it as the first deviation factor, and counting the mean of the state deviation feature value set, setting it as the second deviation factor;

[0084] The product of the first deviation factor and the second deviation factor is obtained and set as the first state attribute deviation coefficient.

[0085] Specifically, the first state attribute monitoring value sequence and the first state attribute simulation value sequence are compared according to the time series characteristics to obtain multiple state deviation characteristic values, that is, the first state attribute monitoring value and the first state attribute simulation value corresponding to the time series are differentiated and stored as state deviation characteristic values. Furthermore, the state deviation threshold refers to the minimum deviation threshold regarded as the deviation. When the absolute value of the state deviation characteristic value is greater than or equal to the state deviation threshold, the corresponding state deviation characteristic value is added to the state deviation characteristic value set. The number of the state deviation characteristic value set is counted and set as the first deviation factor, the mean of the state deviation characteristic value set is counted and set as the second deviation factor, and the product of the first deviation factor and the second deviation factor is obtained and set as the first state attribute deviation coefficient. The first deviation factor can be used to fit the overall deviation frequency, and the second deviation factor can be used to fit the overall distance of the deviation, so as to obtain the first state attribute deviation coefficient, which can characterize the deviation of the first state attribute monitoring value sequence and the first state attribute simulation value sequence as a whole. It can avoid accidental errors with a high probability, thereby improving the accuracy of fault diagnosis.

[0086] In summary, the digital twin distribution network fault diagnosis method and system provided in the embodiments of the present application have the following technical effects:

[0087] 1. By building a digital twin model of the distribution network, the operation simulation of the distribution network under different control states is carried out in combination with the digital twin model to obtain the state simulation data of each node; then the actual state data of each node is collected; the state monitoring data of multiple topology nodes and the state simulation data of multiple topology nodes are compared by using the pre-built fault type identification channel, and the obtained multiple groups of deviation state attributes and multiple groups of deviation characteristic values ​​are analyzed to determine the nodes that trigger the fault and the type of the triggering fault; then the fault probability is analyzed based on the data statistics principle to obtain the fault type trigger probability label. The technical solution of sending the fault type trigger probability label and the fault type identification result to the distribution network fault management terminal for subsequent fault maintenance management. The digital twin model is used to provide the threshold state of different control states, and then the fault type identification channel is combined to realize efficient fault type identification, so as to achieve the technical effect of dynamically adjusting the state threshold data and efficiently analyzing the fault trigger type.

[0088] Embodiment 2

[0089] Based on the same inventive concept as the digital twin distribution network fault diagnosis method in the aforementioned embodiment, Figure 2 As shown, the embodiment of the present application provides a digital twin distribution network fault diagnosis system, including:

[0090] A control parameter acquisition module 100, used to obtain control parameters to be distributed in the first distribution network;

[0091] The power distribution simulation module 200 is used to activate the digital twin model of the first distribution network, retrieve the control parameters to be distributed, perform power distribution simulation, and obtain multiple topology node state simulation data;

[0092] The state monitoring module 300 is used to interact with the underlying sensor arrays of multiple topological structure nodes and receive state monitoring data of multiple topological structure nodes;

[0093] The node state comparison module 400 is used to compare the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values;

[0094] A fault type identification module 500 is used to train a fault type identification channel, map the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtain a fault type identification result;

[0095] A trigger probability analysis module 600 is used to traverse the fault type identification results to perform fault probability analysis and generate a fault type trigger probability label;

[0096] The data transmission module 700 is used to send the fault type trigger probability label and the fault type identification result to the distribution network fault management terminal.

[0097] Furthermore, the node status comparison module 400 performs the following steps:

[0098] Extracting a first state attribute monitoring value sequence according to the first topology structure node state monitoring data, wherein the first state attribute monitoring value sequence includes at least one first state attribute monitoring value, wherein the first topology structure node belongs to a plurality of topology structure nodes;

[0099] Extracting a first state attribute simulation value sequence according to the first topology structure node state simulation data, wherein the first state attribute simulation value sequence and the first state attribute monitoring value sequence have the same length;

[0100] Perform deviation analysis based on the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient;

[0101] When the first state attribute deviation coefficient is greater than or equal to the first state attribute deviation threshold, the first state attribute is added to the first node deviation state attribute, and the second deviation factor of the first state attribute deviation coefficient is added to the first node deviation characteristic value, wherein the first node deviation state attribute belongs to the multiple groups of deviation state attributes, and the first node deviation characteristic value belongs to the multiple groups of deviation characteristic values.

[0102] Furthermore, the node status comparison module 400 performs the following steps:

[0103] Comparing the first state attribute monitoring value sequence and the first state attribute simulation value sequence according to time series characteristics to obtain a plurality of state deviation characteristic values;

[0104] Extracting a state deviation feature value set whose multiple state deviation feature values ​​are greater than or equal to a state deviation threshold;

[0105] Counting the number of the state deviation feature value set, setting it as the first deviation factor, and counting the mean of the state deviation feature value set, setting it as the second deviation factor;

[0106] The product of the first deviation factor and the second deviation factor is obtained and set as the first state attribute deviation coefficient.

[0107] Furthermore, the fault type identification module 500 executes the following steps:

[0108] Based on the topological structure characteristics of the first distribution network, collecting distribution network fault record data;

[0109] Preprocessing the distribution network fault record data includes:

[0110] Any one of the distribution network fault record data includes a plurality of topology structure node state record data, a plurality of distribution network control record data and fault feature record data;

[0111] Based on the digital twin model of the first distribution network and based on the plurality of distribution network control record data, an operation simulation is performed to obtain a plurality of topology structure node state benchmark data;

[0112] Performing deviation comparison on the plurality of topological structure node state record data and the plurality of topological structure node state reference data to obtain a plurality of groups of deviation state record attributes and a plurality of groups of deviation characteristic value record data;

[0113] Wherein, the fault feature record data includes fault location record data and fault type record data;

[0114] According to the multiple groups of deviation state record attributes and the multiple groups of deviation characteristic value record data, a monitoring state deviation record matrix is ​​constructed, and the fault location record data and the fault type record data are converted into output label data;

[0115] The BP neural network is supervised and trained based on the monitoring state deviation matrix and the output label data to generate the fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation characteristic values ​​are mapped to obtain the fault type identification result.

[0116] Furthermore, the fault type identification module 500 executes the following steps:

[0117] Obtaining BP neural network model parameters, wherein the BP neural network model parameters include multiple groups of node model parameters, and any group of node model parameters includes at least a weight parameter and a bias parameter;

[0118] Initializing the weight parameter of any set of node model parameters of the multiple sets of node model parameters to 1, and initializing the bias parameter to 0;

[0119] Setting the initial solution space scale, wherein the initial solution space scale represents the number of initial solutions for model parameter optimization, and 50≤the initial solution space scale≤100;

[0120] According to the initial solution space scale, the monitoring state deviation matrix is ​​dispatched as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain an initial model parameter solution, wherein the initial model parameter solution has a mean square loss error value;

[0121] Dividing the initial model parameter solution according to the mean square loss error value to generate multiple optimization domains;

[0122] Optimizing the initial model parameter solution according to the multiple optimization domains to generate expanded model parameters;

[0123] Based on the expanded model parameters, the monitoring state deviation matrix is ​​retrieved as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain the fault type identification channel.

[0124] Furthermore, the fault type identification module 500 executes the following steps:

[0125] Sorting the initial model parameter solutions from small to large according to the mean square loss error values ​​to obtain a solution set sorting result;

[0126] According to the solution set sorting result, a preset number of head solutions are extracted and set as a plurality of target solutions, and other solutions are set as a plurality of solutions to be adjusted;

[0127] Calculate the proportion of the multiple mean square loss error values ​​of the multiple target solutions in the sum of the multiple mean square loss error values ​​of the multiple target solutions, and subtract the proportion from 1 to obtain multiple target power coefficients;

[0128] Performing a product operation on the multiple target force coefficients and the number of the multiple solutions to be adjusted, and rounding down the product operation result to obtain multiple in-domain scale parameters;

[0129] The multiple solutions to be adjusted are randomly divided according to the multiple in-domain scale parameters to obtain the multiple optimization domains.

[0130] Furthermore, the fault type identification module 500 executes the following steps:

[0131] Construct a distance evaluation function:

[0132]

[0133] Among them, D(x j ,x0) represents the distance between the jth solution of any optimization domain and the target solution in the domain, x j represents the jth solution, x0 represents the target solution in the domain, and w ji Characterizes the weight parameter of the i-th node of the j-th solution, b ji represents the bias parameter of the i-th node of the j-th solution, N represents the total number of nodes, and w 0i The weight parameter of the i-th node representing the target solution in the domain, b 0i The bias parameter of the i-th node of the target solution in the domain;

[0134] According to the distance evaluation function, traverse a plurality of solutions to be adjusted in any one of the plurality of optimization domains to obtain a plurality of distances to be adjusted;

[0135] A weight adjustment constraint step length and a bias adjustment constraint step length are obtained, and the model parameters whose distances to be adjusted are less than or equal to the adjustment distance threshold are adjusted to obtain the expanded model parameters.

[0136] Any step of the method described above can be stored as a computer instruction or program in an unlimited computer memory, and can be called and recognized by an unlimited computer processor to implement any method in the embodiments of the present application, without any unnecessary restrictions.

[0137] Furthermore, the first or second mentioned above may not only represent an order relationship, but may also represent a specific concept, and / or refer to multiple elements that can be selected individually or in full. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application intends to include these modifications and variations.

Claims

1. A digital twin distribution network fault diagnosis method, characterized in that: include: Obtaining control parameters of power to be distributed of the first distribution network; activating the digital twin model of the first distribution network, retrieving the control parameters of the power to be distributed to perform power distribution simulation, and obtaining multiple topology structure node state simulation data; Interact with the underlying sensor array of multiple topological structure nodes to receive status monitoring data of multiple topological structure nodes; Comparing the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values; Training a fault type identification channel, mapping the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtaining a fault type identification result; Traversing the fault type identification results to perform fault probability analysis and generate a fault type trigger probability label; The fault type trigger probability label and the fault type identification result are sent to the distribution network fault management terminal.

2. The method according to claim 1, characterized in that Comparing the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values, including: Extracting a first state attribute monitoring value sequence according to the first topology structure node state monitoring data, wherein the first state attribute monitoring value sequence includes at least one first state attribute monitoring value, wherein the first topology structure node belongs to a plurality of topology structure nodes; Extracting a first state attribute simulation value sequence according to the first topology structure node state simulation data, wherein the first state attribute simulation value sequence and the first state attribute monitoring value sequence have the same length; Perform deviation analysis based on the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient; When the first state attribute deviation coefficient is greater than or equal to the first state attribute deviation threshold, the first state attribute is added to the first node deviation state attribute, and the second deviation factor of the first state attribute deviation coefficient is added to the first node deviation characteristic value, wherein the first node deviation state attribute belongs to the multiple groups of deviation state attributes, and the first node deviation characteristic value belongs to the multiple groups of deviation characteristic values.

3. The method according to claim 2, characterized in that Performing deviation analysis according to the first state attribute monitoring value sequence and the first state attribute simulation value sequence to generate a first state attribute deviation coefficient includes: Comparing the first state attribute monitoring value sequence and the first state attribute simulation value sequence according to time series characteristics to obtain a plurality of state deviation characteristic values; Extracting a state deviation feature value set whose multiple state deviation feature values ​​are greater than or equal to a state deviation threshold; Counting the number of the state deviation feature value set, setting it as the first deviation factor, and counting the mean of the state deviation feature value set, setting it as the second deviation factor; The product of the first deviation factor and the second deviation factor is obtained and set as the first state attribute deviation coefficient.

4. The method according to claim 1, characterized in that Training a fault type identification channel, mapping the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtaining a fault type identification result, including: Based on the topological structure characteristics of the first distribution network, collecting distribution network fault record data; Preprocessing the distribution network fault record data includes: Any one of the distribution network fault record data includes a plurality of topology structure node state record data, a plurality of distribution network control record data and fault feature record data; Based on the digital twin model of the first distribution network and based on the plurality of distribution network control record data, an operation simulation is performed to obtain a plurality of topology structure node state benchmark data; Performing deviation comparison on the plurality of topological structure node state record data and the plurality of topological structure node state reference data to obtain a plurality of groups of deviation state record attributes and a plurality of groups of deviation characteristic value record data; Wherein, the fault feature record data includes fault location record data and fault type record data; According to the multiple groups of deviation state record attributes and the multiple groups of deviation characteristic value record data, a monitoring state deviation record matrix is ​​constructed, and the fault location record data and the fault type record data are converted into output label data; The BP neural network is supervised and trained based on the monitoring state deviation matrix and the output label data to generate the fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation characteristic values ​​are mapped to obtain the fault type identification result.

5. The method according to claim 4, characterized in that Based on the monitoring state deviation matrix and the output label data, supervised training is performed on the BP neural network to generate the fault type identification channel, and the multiple groups of deviation state attributes and the multiple groups of deviation feature values ​​are mapped to obtain the fault type identification result, which includes: Obtaining BP neural network model parameters, wherein the BP neural network model parameters include multiple groups of node model parameters, and any group of node model parameters includes at least a weight parameter and a bias parameter; Initializing the weight parameter of any set of node model parameters of the multiple sets of node model parameters to 1, and initializing the bias parameter to 0; Setting the initial solution space scale, wherein the initial solution space scale represents the number of initial solutions for model parameter optimization, and 50≤the initial solution space scale≤100; According to the initial solution space scale, the monitoring state deviation matrix is ​​dispatched as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain an initial model parameter solution, wherein the initial model parameter solution has a mean square loss error value; Dividing the initial model parameter solution according to the mean square loss error value to generate multiple optimization domains; Optimizing the initial model parameter solution according to the multiple optimization domains to generate expanded model parameters; Based on the expanded model parameters, the monitoring state deviation matrix is ​​retrieved as input data, the output label data is used as output data, and supervised training is performed on the BP neural network to obtain the fault type identification channel.

6. The method according to claim 5, characterized in that The initial model parameter solution is divided according to the mean square loss error value to generate multiple optimization domains, including: Sorting the initial model parameter solutions from small to large according to the mean square loss error values ​​to obtain a solution set sorting result; According to the solution set sorting result, a preset number of head solutions are extracted and set as a plurality of target solutions, and other solutions are set as a plurality of solutions to be adjusted; Calculate the proportion of the multiple mean square loss error values ​​of the multiple target solutions in the sum of the multiple mean square loss error values ​​of the multiple target solutions, and subtract the proportion from 1 to obtain multiple target power coefficients; Performing a product operation on the multiple target force coefficients and the number of the multiple solutions to be adjusted, and rounding down the product operation result to obtain multiple in-domain scale parameters; The multiple solutions to be adjusted are randomly divided according to the multiple in-domain scale parameters to obtain the multiple optimization domains.

7. The method according to claim 5, characterized in that Optimizing the initial model parameter solution according to the multiple optimization domains to generate extended model parameters includes: Construct a distance evaluation function: Among them, D(x j ,x0) represents the distance between the jth solution of any optimization domain and the target solution in the domain, x j represents the jth solution, x0 represents the target solution in the domain, and w ji Characterizes the weight parameter of the i-th node of the j-th solution, b ji represents the bias parameter of the i-th node of the j-th solution, N represents the total number of nodes, and w 0i The weight parameter of the i-th node representing the target solution in the domain, b 0i The bias parameter of the i-th node of the target solution in the domain; According to the distance evaluation function, traverse a plurality of solutions to be adjusted in any one of the plurality of optimization domains to obtain a plurality of distances to be adjusted; A weight adjustment constraint step length and a bias adjustment constraint step length are obtained, and the model parameters whose distances to be adjusted are less than or equal to the adjustment distance threshold are adjusted to obtain the expanded model parameters.

8. A digital twin distribution network fault diagnosis system, characterized in that: include: A control parameter acquisition module, used to obtain the control parameters to be distributed of the first distribution network; A power distribution simulation module is used to activate the digital twin model of the first distribution network, retrieve the control parameters to be distributed to perform power distribution simulation, and obtain multiple topology node state simulation data; A state monitoring module, used for interacting with the underlying sensor arrays of multiple topological structure nodes and receiving state monitoring data of multiple topological structure nodes; A node state comparison module, used for comparing the plurality of topological structure node state monitoring data with the plurality of topological structure node state simulation data to obtain a plurality of groups of deviation state attributes and a plurality of groups of deviation characteristic values; A fault type identification module is used to train a fault type identification channel, map the multiple groups of deviation state attributes and the multiple groups of deviation feature values, and obtain a fault type identification result; A trigger probability analysis module, used to traverse the fault type identification results to perform fault probability analysis and generate a fault type trigger probability label; The data transmission module is used to send the fault type trigger probability label and the fault type identification result to the distribution network fault management terminal.

Citation Information

Cited By

  • Processing method and device of distribution network simulation model, electronic equipment, computer readable storage medium and computer program product

    CN118965843A

  • A processing method, device, electronic device, computer-readable storage medium and computer program product for a distribution network simulation model

    CN118965843B

  • Fault analysis method and system based on equipment model

    CN119312257A

  • A fault analysis method and system based on a device model

    CN119312257B

  • Dynamic sensing method and system for digital twins of power distribution network

    CN119727110A