Hydropower plant auxiliary machine system fault identification method and system
By constructing a graph structure and node feature matrix for the auxiliary equipment system of a hydropower plant, and utilizing a graph attention network model, the problem of accuracy in fault identification of the auxiliary equipment system under complex topology was solved. This enabled efficient fault type identification and source localization, improving fault early warning accuracy and system adaptability.
Patent Information
- Application Number
- CN202611059166.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-16
- Publication Date
- 2026-11-24
AI Technical Summary
Existing fault identification methods for auxiliary systems in hydropower plants cannot achieve accurate fault type identification and fault source location under complex topology structures, and their ability to fuse multi-source heterogeneous data is insufficient, resulting in low accuracy of early fault warning.
The system collects topology data and multi-source operation data of the auxiliary equipment system of the hydropower plant, constructs the graph structure and node feature matrix of the auxiliary equipment system, uses a graph attention network model to identify fault types and fault sources, and adaptively aggregates node features and neighborhood information through graph structure and multi-layer attention mechanism to fuse multi-source operation data.
It improves the accuracy and reliability of fault type identification and fault source location in complex environments, can quickly locate fault source nodes, reduce the risk of missed or false judgments, and can adapt to system topology changes without full retraining, thus reducing maintenance costs.
Smart Images

Figure CN123158152A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fault identification technology in hydropower plants, and particularly to a method and system for fault identification in auxiliary systems of hydropower plants. Background Technology
[0002] The auxiliary equipment system of a hydropower plant is the core support for ensuring the safe and stable operation of hydropower units. It encompasses multiple subsystems, including oil, water, and gas systems, and includes equipment such as water pumps, oil pumps, coolers, valves, and pipelines. These devices are physically connected to form a complex pipeline network topology, and their operating status directly determines the safety, reliability, and economy of the hydropower plant.
[0003] In actual operation, auxiliary systems face harsh environments such as high humidity, strong electromagnetic fields, low illumination, and interference from oil mist and water vapor, making them prone to various faults such as leakage, jamming, and internal leakage. These faults are characterized by their high degree of concealment, complex propagation paths, and wide range of impact. If they cannot be identified in a timely and accurate manner, they may lead to unplanned equipment shutdowns and even affect the normal operation of the main system, causing significant economic losses.
[0004] Modern hydropower plants are increasingly demanding more intelligent and precise fault diagnosis for auxiliary systems. Existing fault identification methods for hydropower plant auxiliary systems are mainly divided into two categories: traditional experience-based diagnosis and data-driven diagnosis. While these methods can solve some simple fault identification problems, they have the following shortcomings: 1. Traditional experience-based diagnosis relies on manual judgment by maintenance personnel, which is affected by the level of maintenance experience, resulting in low fault identification accuracy, delayed location, and difficulty in knowledge transfer; 2. Data-driven diagnosis methods are mostly based on single sensor data or isolated equipment feature modeling, ignoring the propagation characteristics of faults in the pipeline system and making it difficult to capture the correlation between equipment; 3. In complex environments, the ability to fuse multi-source heterogeneous data such as vibration, temperature, and pressure is weak, failing to comprehensively characterize the equipment's operating status and affecting the accuracy of early fault warnings.
[0005] Therefore, existing methods are insufficient to meet the requirements for accurate fault identification in complex topologies of auxiliary systems. Summary of the Invention
[0006] The technical problem to be solved by the present invention is to provide a method and system for fault identification of auxiliary equipment systems in hydropower plants, which can achieve accurate fault type identification and fault source location.
[0007] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A method for fault identification in auxiliary equipment systems of a hydropower plant includes: Collect topology data and multi-source operation data of auxiliary systems in hydropower plants; Construct the auxiliary machine system diagram structure based on the aforementioned topology data; A node feature matrix is constructed based on the multi-source operational data; The auxiliary machine system graph structure and the node feature matrix are input into the trained graph attention network model, and the fault type and fault source are output. The graph attention network model includes an input layer, multiple attention aggregation layers and an output layer connected in sequence. The fault propagation path is obtained based on the fault source and the auxiliary system diagram structure.
[0008] To solve the above-mentioned technical problems, another technical solution adopted by the present invention is as follows: A fault identification system for auxiliary equipment systems in a hydropower plant includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps of the aforementioned fault identification method for auxiliary equipment systems in a hydropower plant.
[0009] The beneficial effects of this invention are as follows: It collects topological data and multi-source operational data of the auxiliary equipment system of a hydropower plant; constructs a graph structure of the auxiliary equipment system based on the topological data; constructs a node feature matrix based on the multi-source operational data; inputs the graph structure of the auxiliary equipment system and the node feature matrix into a trained graph attention network model; and outputs fault types and fault sources. The graph attention network model includes an input layer, a multi-layer attention aggregation layer, and an output layer connected in sequence. It obtains the fault propagation path based on the fault source and the graph structure of the auxiliary equipment system, thereby abstracting the auxiliary equipment system of the hydropower plant into a dynamic graph structure. It fully utilizes the topological association information between equipment, solving the problem of traditional methods ignoring fault propagation characteristics. Furthermore, it adopts a multi-level graph attention mechanism to adaptively aggregate node features and neighborhood information, improving the targeting of fault feature extraction under complex operating conditions. It also effectively integrates multi-source operational data to comprehensively characterize equipment status, thereby improving the accuracy and reliability of fault type identification and fault source localization in complex environments. Attached Figure Description
[0010] Figure 1 This is a flowchart of a fault identification method for an auxiliary equipment system in a hydropower plant according to an embodiment of the present invention; Figure 2 The diagram below shows a schematic of the attention network structure in a fault identification method for an auxiliary equipment system in a hydropower plant according to an embodiment of the present invention. Figure 3 This is a schematic diagram of a fault identification system for an auxiliary equipment system in a hydropower plant, according to an embodiment of the present invention. Detailed Implementation
[0011] Definitions:
[0012] To explain in detail the technical content, objectives, and effects of the present invention, the following description is provided in conjunction with the embodiments and accompanying drawings.
[0013] In existing technologies, fault diagnosis of auxiliary equipment systems in hydropower plants is facing higher requirements for intelligence and precision. While existing methods can handle some simple faults, they still have significant shortcomings overall. On the one hand, traditional experience-based diagnostic methods rely heavily on the personal experience of maintenance personnel, resulting in low fault identification accuracy, delayed location, and difficulties in the effective transfer of knowledge. On the other hand, data-driven diagnostic methods are often limited to single sensor data or isolated equipment characteristics, failing to fully consider the propagation and coupling characteristics of faults in the pipeline network system and making it difficult to capture the correlation between equipment. Furthermore, in complex operating environments, existing methods lack the ability to fuse multi-source heterogeneous data such as vibration, temperature, and pressure, making it difficult to comprehensively and accurately characterize the actual operating status of equipment, thus limiting the accuracy and reliability of early fault warnings.
[0014] To address at least the aforementioned issues, a graph structure for the auxiliary equipment system is constructed based on the topological data of the hydropower plant's auxiliary equipment system. A node feature matrix is then built based on multi-source operational data from the auxiliary equipment system. The graph structure and node feature matrix are input into a trained graph attention network model, which outputs the fault type and fault source. The graph attention network model consists of a sequentially connected input layer, multiple attention aggregation layers, and an output layer. The fault propagation path is obtained based on the fault source and the auxiliary equipment system graph structure. This approach fully utilizes the topological relationships between equipment, improving the targeting of fault feature extraction under complex operating conditions. Furthermore, it effectively integrates multi-source operational data to comprehensively characterize equipment status, thereby improving the accuracy and reliability of fault type identification and fault source localization in complex environments.
[0015] The following describes in detail a fault identification method for auxiliary equipment systems in hydropower plants, applicable to fault identification scenarios in hydropower plant auxiliary equipment systems. Please refer to... Figure 1 The method 100 includes steps 101 to 105: Step 101: Collect topology data and multi-source operation data of the auxiliary equipment system of the hydropower plant.
[0016] Specifically, based on the design drawings and equipment ledgers of hydropower plant auxiliary equipment systems, topology data is collected, and multi-source operation data is collected through vibration sensors and anti-interference integrated sensor arrays, which has the advantages of high real-time performance and comprehensive dimensions.
[0017] The topology data includes pipe diameter, pipe length, pipe material, equipment type, model, installation location, and pipe connection relationships. The multi-source operational data includes vibration data, temperature data, pressure data, flow rate data, acoustic signature data, and image data.
[0018] Step 102: Construct the auxiliary machine system diagram structure based on the topology data.
[0019] Step 103: Construct a node feature matrix based on the multi-source operational data.
[0020] Step 104: Input the auxiliary machine system graph structure and the node feature matrix into the trained graph attention network model, and output the fault type and fault source. The graph attention network model includes an input layer, a multi-layer attention aggregation layer and an output layer connected in sequence. The multi-layer attention aggregation layer includes a type-aware attention layer and a multi-head association attention layer.
[0021] To balance feature extraction capability with real-time edge deployment, the total number of layers in the graph attention network model is controlled to 3-5 layers.
[0022] Step 105: Obtain the fault propagation path based on the fault source and the auxiliary machine system diagram structure.
[0023] In one embodiment of the present invention, step 102 includes steps 1021 to 1029: Step 1021: Extract static parameters of the device from the topology data and extract dynamic operating parameters from the multi-source operating data.
[0024] Specifically, since some operational data (such as instantaneous flow fluctuations and occasional noise) are greatly affected by environmental interference and have no fault characterization significance, characteristic parameters with stable equipment operating status are selected as effective data. Static parameters of the equipment are extracted from the topology data, and dynamic operating parameters are extracted from the multi-source operational data. Static parameters of the equipment include model and specifications, while dynamic operating parameters include effective vibration values, average temperature, pressure deviation, and flow stability indicators.
[0025] Step 1022: Based on the topology data, each piece of equipment or key pipeline unit in the auxiliary equipment system of the hydropower plant is regarded as a node, and the static parameters of the equipment and the dynamic operating parameters are regarded as the node attributes of the node.
[0026] In one alternative implementation, the node's ID uses a unique device number.
[0027] Each piece of equipment, such as a water pump, oil pump, or valve, is a key pipeline unit, namely a pipeline section.
[0028] In this way, each piece of equipment or key pipeline unit in the auxiliary system of a hydropower plant is treated as a node based on topology data, and the static parameters and dynamic operating parameters of the equipment are treated as node attributes, ensuring accurate mapping between nodes and actual equipment.
[0029] Step 1023: Obtain a node set based on the node and the node attributes.
[0030] Step 1024: Obtain edges and edge type attributes based on the relationships between the nodes. The edge type attributes include physical connection relationships, functional dependency relationships, and dual association relationships.
[0031] Specifically, if there is a direct physical connection between nodes, it is a physical connection edge, which can be determined through topology data. If there is a logical control relationship between nodes, it is a functional dependency edge. If there are both physical connections and functional dependencies, it is a double association edge.
[0032] Physically connected edges represent direct physical connections between nodes (such as pipe connections), and are labeled as... (Corresponding to solid lines), functionally dependent edges represent logical control relationships between nodes (such as device action signals driving the start and stop of another device), and are marked as... (Represented by dashed lines), double-associative edges represent nodes that simultaneously have physical connections and functional dependencies (such as a water filter and a drain valve), and are labeled as... (Represented by solid and dashed lines).
[0033] To explain the dual-related edge scenario, take the water filter-drain valve as an example: when the water filter reaches the automatic action time, it triggers the "action", outputs a control signal to drive the drain valve to open automatically, and the two are directly connected through the pipeline. After the drain valve opens, the real-time flow can be measured; the edge is set as "water filter (node i) - drain valve (node j)"; two independent edges are set: (1) edge 1 (physical connection edge): represents the pipeline connection relationship and is used to capture physical faults such as pipeline blockage and leakage; (2) edge 2 (functional dependency edge): represents "water filter action" The control logic for "opening the drain valve" is used to detect logical faults such as control signal failure and valve non-response.
[0034] Step 1025: Obtain the edge set based on the edge and the edge type attribute.
[0035] Step 1026: Obtain the edge type attribute matrix based on the edge type attributes.
[0036] Edge type attribute matrix T With edge set E One-to-one correspondence, matrix elements .
[0037] Step 1027: Based on the topology data, a multi-index comprehensive evaluation method is adopted to calculate the edge weight of the edge by combining physical connection strength, functional dependence and data flow importance.
[0038] Step 1028: Obtain the edge weight matrix based on the edge weights.
[0039] Step 1029: Obtain the auxiliary machine system graph structure based on the node set, the edge set, the edge type attribute matrix, and the edge weight matrix. G =( V , E , W , T ),in, V For a set of nodes, E Let be the set of edges. W This is the edge weight matrix. T This is an edge type attribute matrix (marking the connection type of the edges).
[0040] As can be seen from the above description, abstracting the auxiliary equipment system of a hydropower plant into a graph structure model can accurately map the relationships between equipment and the intensity of their influence.
[0041] In one embodiment of the present invention, step 1027 includes steps 10271 to 10276: Step 10271: Calculate the physical connection weight of the edge based on the pipe diameter, the pipe length, and the pipe material, specifically as follows: ; In the formula, Indicates physical connection weights. This indicates the density of the pipe material, in kg / m³. 3 , This indicates the average diameter of the pipe, in meters (m). This represents the length of the pipe between nodes i and j, in meters.
[0042] ; In the formula, Indicates the inner diameter of the pipe. Indicates the outer diameter of the pipe.
[0043] Physical connection weights characterize the robustness of physical connections between nodes and the efficiency of influence transmission.
[0044] Step 10272: Based on the strength of functional dependencies, the initial score of the edge is obtained by using the 0-1 scoring method combined with expert experience.
[0045] Specifically, multiple experts scored the factors based on the strength of functional dependence, as follows: ; The initial score is obtained by taking the mean value after removing outliers from the functional dependency scores. .
[0046] Step 10273: Normalize the initial score to obtain the functional dependency weights of the edges, specifically as follows: ; In the formula, Indicates functional dependency weights. This represents the maximum initial score for all nodes.
[0047] Functional dependency weights characterize the importance of functional support between nodes.
[0048] Step 10274: Calculate the data flow weight of the edge based on the data sampling frequency and correlation coefficient of the edge, specifically as follows: ; In the formula, Indicates the weight of the data stream. This indicates the data sampling frequency of the edge. The data correlation coefficients of the edges are represented by 0.6 and 0.4, which are weighting coefficients: 0.6 focuses on the timeliness of the data (the higher the sampling frequency, the easier it is to capture real-time state changes), and 0.4 focuses on the correlation of faults (the higher the correlation coefficient, the stronger the synchronization between the data and the fault propagation). The ratio is verified by fault data to adapt to the characteristics of the auxiliary machine system.
[0049] It is obtained after normalization, specifically: ; In the formula, This indicates the actual sampling frequency of the node for associated data, in Hz. Associated data refers to corresponding data that reflects the coordinated changes in the states of two nodes (such as action signals and flow rate, speed and pressure). If the sampling frequency of the associated data between the two nodes... If they are inconsistent, take the minimum value. To ensure data synchronization, if nodes have no directly related data (such as oil pumps and air compressors in the air system), there will be no corresponding synchronous data collection behavior. , This indicates the maximum sampling frequency of the auxiliary equipment system in the hydropower plant.
[0050] It is obtained after normalization, specifically: ; ; In the formula, The Pearson correlation coefficient represents the correlation between two nodes. Indicates the number of samples. , These represent the data sequences associated with the two nodes. , These represent the mean values of the data sequences associated with the two nodes. After taking the absolute value Both positive and negative correlations indicate data association; if nodes have no associated data... .
[0051] Data flow weights quantify the importance of data transmission between node pairs (ij) and can capture the combined impact of "data sampling frequency" and "data fault correlation".
[0052] Step 10275: The first weight coefficient of the physical connection weight, the second weight coefficient of the functional dependency weight, and the third weight coefficient of the data flow weight are calculated using the analytic hierarchy process combined with the entropy weight method.
[0053] Specifically, 2-3 experts with over 5 years of experience in the operation and maintenance of the target system were invited to independently score the corresponding auxiliary system's fault propagation characteristics from three aspects: physical connectivity (C1), functional dependency (C2), and data flow (C3). The scores were based on a score of 1-5, considering the sensitivity of each dimension to the fault propagation characteristics of the corresponding auxiliary system. The average score of all expert scores was then used as the base score for the three categories of indicators. , , ; Based on the base score , , Calculate the initial subjective weight for each indicator as follows: ; In the formula, Indicators The initial subjective weight, Indicators The base score; The initial subjective weights are obtained based on the initial subjective weights of each indicator. for: ; Raw data of three types of indicators were collected from the auxiliary systems of each hydropower plant, with a sample size of no less than 15 sets (covering key edges within the system). Data sources included: pipe diameter: as-built drawings, operation and maintenance manuals; number of linkages: PLC (Programmable Logic Controller) historical logs (number of effective linkages in a single 8-hour operating cycle); sampling frequency: SCADA / DCS system (large computer system used to monitor and control industrial processes) configuration parameters. Standardized index values are generated group by group using the range standardization method. , , Specifically: ; In the formula, Indicates the first i The first group of samples j Standardized values of class indicators Indicates the first i The first group of samples j The value of the index, Indicates the first j The maximum value of the sample for the class indicator. Indicates the first j The minimum value of the sample of the class indicator. j =1, 2, 3 correspond to C1, C2, C3; Calculate the sample variance for each category of indicators to reflect the degree of data variability (the larger the variance, the greater the contribution of the indicator to the weight differentiation), specifically: ; In the formula, Indicates the first j The sample variance of the class of indicators For the first j The average of the standardized values of the class indicators m Indicates sample size ( 15); Objective weights are allocated according to the proportion of sample variance, specifically as follows: ;
[0054] In the formula, Indicates the first j Objective weights of class indicators Indicates objective weight; An equal-weighted linear weighting method is used to balance the reliability of subjective experience and objective data, with subjective and objective weights each accounting for 50% of the weight. The first weight coefficient of the physical connection weight is then calculated. The second weighting coefficient of the function-dependent weights The third weighting coefficient of the data flow weight Specifically: .
[0055] Step 10276: Calculate the edge weight of the edge based on the physical connection weight, the first weight coefficient, the functional dependency weight, the second weight coefficient, the data flow weight, and the third weight coefficient, specifically as follows: ; In the formula, Represents edge weight, This represents the first weighting coefficient. This represents the second weighting coefficient. Denotes the third weighting coefficient, satisfying It is used to adjust the contribution of the three indicators and adapt to different auxiliary machine systems such as oil, water and gas.
[0056] As described above, a multi-index comprehensive evaluation method based on topological data is adopted. This method calculates edge weights by combining physical connection strength, functional dependency, and data flow importance, avoiding the limitations of a single index. It simultaneously covers physical connections (the propagation basis of pipe blockage / leakage), functional dependencies (the associated logic of control signal failure), and data flow (the fault characterization value of multi-source data), ensuring no core correlation dimensions of the auxiliary system are overlooked. Furthermore, it can accurately match fault propagation characteristics; the weight directly reflects the "probability / intensity of fault propagation through that edge." For example, when the weight of a physical connection edge is high, the model prioritizes the propagation of media leakage faults, while when the weight of a functional dependency edge is high, it focuses on control logic faults. Simultaneously, it improves the targeting of feature learning. Edge weights, as core parameters of the graph structure, allow subsequent graph attention network models to adaptively distinguish between "strongly correlated edges" and "weakly correlated edges," avoiding interference from irrelevant edges and improving the efficiency of fault feature extraction. Moreover, by employing the analytic hierarchy process combined with entropy weighting, it adjusts... The coefficient can be adapted to different auxiliary systems such as oil, water, and gas, enhancing the engineering practicality of the method.
[0057] In one embodiment of the present invention, step 103 includes steps 1031 to 1033: Step 1031: Extract static feature parameters from the topology data and extract dynamic feature parameters from the multi-source operation data. The static feature parameters include basic equipment attributes, pipeline structure attributes, and associated baseline attributes, as shown in Table 1. The dynamic feature parameters include real-time operation parameters and functional association parameters, as shown in Table 2.
[0058] Static characteristic parameters directly determine a node's basic fault propagation capabilities and attribute differences. Dynamic characteristic parameters can directly capture fault symptoms and operational fluctuations in nodes.
[0059] Table 1 Static Feature Parameter Table
[0060] Table 2 Dynamic Feature Parameter Table
[0061] Step 1032: Concatenate the static feature parameters and the dynamic feature parameters sequentially to obtain the node feature vector. ,Right now: =[static feature parameter 1, static feature parameter 2, ..., dynamic feature parameter 1, dynamic feature parameter 2, ...].
[0062] In one optional implementation, all numerical features in the node feature vector are normalized to the [0,1] interval, and categorical features are converted into numerical form through one-hot encoding and classification encoding to ensure the computability of the feature vector.
[0063] Step 1033: Obtain the node feature matrix based on the node feature vector of each node.
[0064] Specifically, the node feature vector of each node corresponds one-to-one with the node ID of the graph structure, and is stored as a node feature matrix. (n is the total number of nodes), which serves as the input data for the graph attention network.
[0065] As described above, the node feature vectors formed based on the collected multi-source operational data can comprehensively cover the inherent characteristics and real-time operating status of auxiliary system equipment and pipeline units, providing accurate input for feature learning of graph attention networks and ensuring the accuracy of fault identification in graph attention networks.
[0066] Please refer to Figure 2 In one embodiment of the present invention, step 104 includes steps 1041 to 1047: Among them, the type-aware attention layer (L1) focuses on edge type heterogeneity and distinguishes physical connections. =1), Functional dependency ( =2) and dual association ( =3) The different contributions of edges to fault propagation; the multi-head association attention layer (L2-Lk) strengthens the aggregation of neighborhood features and accurately captures the propagation path of faults in the pipeline topology; the output layer realizes the dual output of fault type identification and fault source location, meeting the core requirements of auxiliary system diagnosis.
[0067] Step 1041: In the input layer, the node feature matrix is layer normalized, and the edge type attribute matrix in the auxiliary machine system graph structure is one-hot encoded and then concatenated with the edge weight matrix to form an edge attribute vector.
[0068] Specifically, the node feature matrix is subjected to layer normalization, which is as follows: ; In the formula, This represents the normalized node feature matrix. Indicates the preset coefficient. Used to avoid a denominator of 0 , These represent the mean and variance of the node feature matrix, respectively.
[0069] The one-hot encoding is: , , The edge attribute vector is: The dimension is 4 (1-dimensional weight + 3-dimensional type encoding).
[0070] Step 1042, in the type-aware attention layer, calculate the attention coefficients based on the edge attribute vector, specifically as follows: ; ; In the formula, Representing an edge The unnormalized attention coefficient, Representing an edge The edge attribute vector, This represents the attention coefficient learning vector, adapted to the dimension of the concatenation of node features and edge attributes. , Represents a node Feature transformation weight matrix, nodes Feature transformation weight matrix, h=32 represents the hidden layer dimension, suitable for lightweight requirements. Represents a node v The node feature vectors, Represents a node u The node feature vectors, Represents the normalized attention coefficient, characterizing the node. For nodes The contribution of fault characteristics Representing an edge The unnormalized attention coefficient, Represents a node The neighbor set is used to reduce the computational complexity of the whole graph by using fixed neighbor sampling (25 samples).
[0071] Step 1043: In the multi-head association attention layer, multiple parallel attention heads are used to perform multi-head aggregation on the features of neighboring nodes, specifically as follows:
[0072] In the formula, Represents a node v After the first l The feature vector after multi-head attention aggregation in the multi-layered association layer. This indicates the number of attention heads; the default is 4. Indicates feature splicing, Indicates the first The normalized coefficients of each attention head, Indicates the first Feature transformation matrix of each attention head, This indicates the output of the previous layer, used as the current output. l The layer aggregates the neighbor node features of the input. The activation function is ReLU, and the number of neighbor samples in the intermediate layer is reduced to 10, further reducing the computational cost.
[0073] In one alternative implementation, the method further includes performing a Dropout operation (a regularization technique used to train deep neural networks) on the output of each layer (probability 0.1) to avoid overfitting and adapt to the small-sample fault scenario of a hydropower plant.
[0074] In one alternative implementation, the plurality of parallel attention heads is 4 to 8 parallel attention heads.
[0075] Step 1044: In the output layer, the fault type identification branch is used to perform global average pooling on the top-level node features to obtain system-level global features. The data is then mapped to the fault type space (covering 8-12 typical auxiliary machine faults such as leakage, jamming, and internal leakage) through a fully connected layer to obtain the predicted probability of each fault type.
[0076] Among them, the cross-entropy loss function is used. optimization: ; In the formula, Indicates the total number of fault types. Indicates the first Predicted probability of class of faults Indicates the true label of the fault type (one-hot encoding).
[0077] Step 1045, use the fault source localization branch based on the attention coefficient matrix Contribution of computing node fault propagation Combining top-level node characteristics Output node failure probability via fully connected layer (Value range [0,1]).
[0078] Among them, the mean square error loss function is used. optimization: ; In the formula, Indicates the true label of the fault source (fault source node) =1, non-fault source node =0), Represents a node Failure probability.
[0079] The total loss is obtained by merging the two-branch losses using a weighted summation method. To balance type recognition and positioning accuracy, specifically: .
[0080] Step 1046: Select the fault type with the highest probability from the predicted probabilities of each fault type. If the predicted probability of the fault type with the highest probability is lower than the first preset value, it is determined to be normal operation; otherwise, it is determined to be faulty.
[0081] Step 1047: Mark nodes whose failure probability is greater than the second preset value as failure sources.
[0082] As described above, layer normalization eliminates the dimensional differences between static features (such as rated parameters) and dynamic features (such as vibration amplitude). Edge weights and edge types are concatenated into edge attribute vectors, achieving dual information representation of edge weights and types. The input layer completes the unified encoding of graph structure information and node features, providing standardized input for attention calculation. The attention mechanism layer, through a type-aware attention layer and a multi-head association attention layer, achieves multi-level association feature aggregation. The type-aware attention layer, addressing edge type heterogeneity, introduces edge attribute vectors to participate in attention coefficient calculation, quantifying the contribution of different edge types to node features. The multi-head association attention layer uses multiple parallel attention heads to aggregate neighbor node features, improving the model's ability to capture fault propagation paths. Furthermore, the output layer adopts a dual-branch structure, simultaneously achieving "fault type identification" and "fault source localization," meeting the core requirements of auxiliary system diagnosis.
[0083] In one embodiment of the present invention, before step 101, the method further includes: Collect topology data and multi-source operation data of hydropower plant auxiliary systems for training purposes; Construct the auxiliary equipment system graph structure based on the topology data of the hydropower plant auxiliary equipment system used for training; A node feature matrix is constructed based on multi-source operational data of the hydropower plant auxiliary equipment system used for training. The graph attention network model is trained using the auxiliary system graph structure and node feature matrix to obtain the trained graph attention network model.
[0084] Specifically, the training parameters are configured as follows: the Adam optimizer is used, with an initial learning rate of 1e-3, adaptively adjusted using a cosine annealing scheduling strategy (T_max=100), stopping when the learning rate decays to 1e-5; the batch size is set to 8~16 (to adapt to edge hardware resources, processing 1~2 graph structure samples per batch); the convergence condition is that the joint accuracy of the validation set (type recognition accuracy + localization accuracy) fluctuates continuously for 10 epochs. 0.5%, or stop training when the training epoch reaches 200 rounds.
[0085] Incremental learning adaptation: To address the scarcity of hydropower plant fault samples in existing technologies, when adding new fault samples, the parameters of the bottom two attention layers of the model are frozen (preserving the ability to extract topological association features), and only the output layer and the top attention layer are fine-tuned; the number of incremental training rounds is reduced to 30-50 rounds, which significantly reduces training time and improves the generalization accuracy of the model.
[0086] Dynamic graph structure updates and adaptation: When the topology of the hydropower plant's auxiliary system changes (equipment additions or removals or pipeline modifications), the model does not require full retraining: newly added nodes initialize feature embedding based on the average feature value of nodes of the same type, and initialize association weights based on the average weights of adjacent nodes; newly added edges are updated using edge weight calculation methods. W and T Only the attention coefficients corresponding to the newly added edges are recalculated; model update time In 10 minutes, it adapts to the rapid reuse needs after the operation and maintenance of hydropower plants.
[0087] Please refer to Figure 3 The present invention also provides a fault identification system 200 for auxiliary equipment systems of hydropower plants, including a memory 201, a processor 202, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the various steps of the fault identification method for auxiliary equipment systems of hydropower plants as described above.
[0088] In summary, the above-mentioned fault identification method and system for auxiliary equipment systems in hydropower plants utilize graph structure modeling to fully leverage the topological relationships between equipment and combine a multi-level attention mechanism to accurately capture fault propagation patterns, thereby improving the accuracy of fault type identification and the identification rate of hidden faults (such as minor internal leaks and early jamming). It can quickly locate the fault source node and effectively reduce the risk of missed or false diagnoses. The multi-source heterogeneous operation data fusion capability enhances the fault feature representation capability under complex environments (high humidity, strong electromagnetic interference). The dynamic graph structure update mechanism eliminates the need for full retraining when the system topology changes (equipment additions or removals, pipeline modifications), and the model update time does not exceed 10 minutes, reducing maintenance costs. In addition, it provides core intelligent tools for the "unmanned, minimally staffed" operation and maintenance mode of hydropower plants. Operation and maintenance personnel can quickly handle faults based on the fault type, fault source location, and propagation path output by the model, improving operation and maintenance efficiency and significantly reducing operation and maintenance labor costs and economic losses.
[0089] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent modifications made based on the content of the present invention specification and drawings, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A method for fault identification in an auxiliary equipment system of a hydropower plant, characterized in that, include: Collect topology data and multi-source operation data of auxiliary systems in hydropower plants; Construct the auxiliary machine system diagram structure based on the aforementioned topology data; A node feature matrix is constructed based on the multi-source operational data; The auxiliary machine system graph structure and the node feature matrix are input into the trained graph attention network model, and the fault type and fault source are output. The graph attention network model includes an input layer, multiple attention aggregation layers and an output layer connected in sequence. The fault propagation path is obtained based on the fault source and the auxiliary system diagram structure.
2. The method according to claim 1, characterized in that, Constructing the auxiliary system diagram structure based on the aforementioned topology data includes: Extract static parameters of the device from the topology data, and extract dynamic operating parameters from the multi-source operating data; Based on the topology data, each piece of equipment or key pipeline unit in the auxiliary equipment system of the hydropower plant is regarded as a node, and the static parameters of the equipment and the dynamic operating parameters are regarded as the node attributes of the node. A node set is obtained based on the node and the node attributes; Based on the relationships between the nodes, edges and edge type attributes are obtained, including physical connection relationships, functional dependency relationships, and dual association relationships. The edge set is obtained based on the edge and the edge type attribute; The edge type attribute matrix is obtained based on the edge type attributes. Based on the topological data, a multi-index comprehensive evaluation method is adopted to calculate the edge weight of the edge by combining physical connection strength, functional dependence and data flow importance. The edge weight matrix is obtained based on the edge weights. The auxiliary machine system graph structure is obtained based on the node set, the edge set, the edge type attribute matrix, and the edge weight matrix.
3. The method according to claim 2, characterized in that, The topology data includes pipe diameter, pipe length, and pipe material; Based on the aforementioned topological data, a multi-index comprehensive evaluation method is employed, combining physical connection strength, functional dependency, and data flow importance to calculate the edge weights, including: The physical connection weight of the edge is calculated based on the pipe diameter, the pipe length, and the pipe material; The initial score of the edge is obtained by using a 0-1 scoring method combined with expert experience to assign values based on the strength of functional dependencies. The initial score is normalized to obtain the functional dependency weight of the edge; Calculate the data flow weight of the edge based on the data sampling frequency and correlation coefficient of the edge; The first weight coefficient of the physical connection weight, the second weight coefficient of the functional dependency weight, and the third weight coefficient of the data flow weight are calculated using the analytic hierarchy process combined with the entropy weight method. The edge weight is calculated based on the physical connection weight, the first weight coefficient, the functional dependency weight, the second weight coefficient, the data flow weight, and the third weight coefficient.
4. The method according to claim 3, characterized in that, The physical connection weight of the edge is calculated based on the pipe diameter, the pipe length, and the pipe material, specifically as follows: ; In the formula, Indicates physical connection weights. Indicates the density of the pipe material. This indicates the average diameter of the pipe. This represents the length of the pipe between nodes i and j.
5. The method according to claim 3, characterized in that, The data flow weight of the edge is calculated based on the data sampling frequency and correlation coefficient of the edge, specifically as follows: ; In the formula, Indicates the weight of the data stream. This indicates the data sampling frequency of the edge. This represents the correlation coefficient of the edge data.
6. The method according to claim 1, characterized in that, The node feature matrix constructed based on the multi-source operational data includes: Static feature parameters are extracted from the topology data, and dynamic feature parameters are extracted from the multi-source operation data. The static feature parameters include basic equipment attributes, pipeline structure attributes, and associated baseline attributes. The dynamic feature parameters include real-time operation parameters and functional association parameters. The static feature parameters and the dynamic feature parameters are concatenated sequentially to obtain the node feature vector; The node feature matrix is obtained based on the node feature vector of each node.
7. The method according to claim 2, characterized in that, The multi-layer attention aggregation layer includes a type-aware attention layer and a multi-head association attention layer; Inputting the auxiliary system graph structure and the node feature matrix into the trained graph attention network model, the output fault types and fault sources include: In the input layer, the node feature matrix is layer normalized, and the edge type attribute matrix in the auxiliary machine system graph structure is one-hot encoded and then concatenated with the edge weight matrix to form an edge attribute vector. In the type-aware attention layer, attention coefficients are calculated based on the edge attribute vectors; In the multi-head association attention layer, multiple parallel attention heads are used to aggregate the features of neighboring nodes. In the output layer, the fault type identification branch is used to perform global average pooling on the top-level node features to obtain system-level global features, which are then mapped to the fault type space through a fully connected layer to obtain the predicted probability of each fault type. The fault source localization branch is used to calculate the node fault propagation contribution based on the attention coefficient matrix, and the node fault probability is output through a fully connected layer in combination with the top-level node features. Select the fault type with the highest probability from the predicted probabilities of each fault type. If the predicted probability of the fault type with the highest probability is lower than a first preset value, it is determined to be normal operation; otherwise, it is determined to be faulty. Nodes with a failure probability greater than a second preset value are marked as failure sources.
8. The method according to claim 7, characterized in that, In the type-aware attention layer, the attention coefficients are calculated based on the edge attribute vectors, specifically as follows: ; ; In the formula, Representing an edge The unnormalized attention coefficient, Representing an edge The edge attribute vector, This represents the attention coefficient learning vector. , Represents a node Feature transformation weight matrix, nodes Feature transformation weight matrix, Represents a node v The node feature vectors, Represents a node u The node feature vectors, This represents the normalized attention coefficient. Representing an edge The unnormalized attention coefficient, Represents a node The set of neighbors.
9. The method according to claim 8, characterized in that, In the multi-head association attention layer, multiple parallel attention heads are used to aggregate the features of neighboring nodes, specifically as follows: In the formula, Represents a node v After the first l The feature vector after multi-head attention aggregation in the multi-layer association layer. Indicates the number of attention heads. Indicates feature splicing, Indicates the first The normalized coefficients of each attention head, Indicates the first Feature transformation matrix of each attention head, This indicates the output of the previous layer, used as the current output. l Layer aggregates the neighbor node features of the input. This represents the activation function.
10. A fault identification system for auxiliary equipment systems in a hydropower plant, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements each step of the fault identification method for auxiliary equipment systems in a hydropower plant as described in any one of claims 1 to 9.
