Method and device for constructing power safety risk assessment model
By constructing a multi-dimensional causal system and a weighted causal association network, extracting the causal evolution chain, and combining frequency and association data for iterative training, the problem of low accuracy in power accident risk assessment in existing technologies is solved, and a high-accuracy assessment of the coupled evolution characteristics of power accidents is achieved.
Patent Information
- Application Number
- CN202611618185.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-19
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for analyzing the causes of power accidents lack quantitative characterization of the implicit correlations among multiple factors, resulting in low accuracy of risk assessment results.
A multi-dimensional causal system is constructed, frequency data and correlation data are extracted, correlation weights are calculated, a weighted causal correlation network is constructed, causal evolution chains are extracted, and the preset model is iteratively trained in combination with frequency data and correlation data to form a risk assessment model suitable for the coupled evolution characteristics of power accidents.
It improves the accuracy of power accident risk assessment, can adapt to the multi-cause coupling relationship in complex operating scenarios, and avoids the problem of low accuracy caused by independent cause analysis.
Smart Images

Figure CN123180767A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power safety management technology, and in particular to a method and apparatus for constructing a power safety risk assessment model. Background Technology
[0002] In routine power grid construction, equipment maintenance, emergency repairs, and live-line work, workers frequently come into contact with high-voltage electrical environments, perform high-altitude operations, or enter confined spaces. Any slight environmental change, abnormal personnel condition, or violation of operating procedures can lead to serious personal safety accidents. To reduce the probability of safety accidents, it is necessary to analyze massive amounts of accident-related records to identify the causes of accidents, enabling timely improvements and ensuring production safety at the work site.
[0003] The existing methods for analyzing the causes of power accidents in power operation scenarios are mainly as follows: data analysis is performed based on the collected historical fault data to obtain the accident characteristics, risk level and cause of each sample accident record, and a sample dataset is constructed; an accident analysis model is trained based on the sample dataset, which can analyze the risk level of the accident and the factors that cause the accident based on the collected accident operation-related information.
[0004] Because existing power accident causal analysis lacks a quantitative characterization of the implicit correlation between multiple factors, there is a technical problem of low accuracy in risk assessment results in existing technologies. Summary of the Invention
[0005] This application provides a method and apparatus for constructing a power safety risk assessment model, which aims to improve the accuracy of risk assessment results.
[0006] In a first aspect, embodiments of this application provide a method for constructing a power security risk assessment model, comprising:
[0007] A multi-dimensional causal system was constructed based on historical accident records of power operations, and frequency data and correlation data corresponding to each causal indicator in the multi-dimensional causal system were extracted. The frequency data includes the independent occurrence frequency and co-occurrence frequency of each causal indicator, and the correlation data includes the co-occurrence correlation pattern of causal factors and a list of high-frequency causal coupling combinations.
[0008] The association weights between each causal indicator are calculated based on frequency data, and a weighted causal association network is constructed based on the association weights and association data.
[0009] The causal evolution chain corresponding to power operations is extracted based on the weighted causal correlation network, and the preset model is iteratively trained by combining the weighted causal correlation network, frequency data, and correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0010] In one possible implementation, a multi-dimensional causal system is constructed based on historical accident records of power operations, and frequency data and correlation data corresponding to each causal indicator in the multi-dimensional causal system are extracted, including:
[0011] Based on historical accident records of power operations, multi-level indicators are extracted to obtain a multi-dimensional causal system.
[0012] Based on the multi-dimensional causation system, the causation indicators of each accident record in the historical accident record are quantified to obtain the causation indicator quantification vector corresponding to each accident record.
[0013] Based on the structured causal dataset composed of quantified vectors of causal indicators from each accident record, the independent occurrence frequency and co-occurrence frequency of each causal indicator are determined. Furthermore, correlation mining is performed on the structured causal dataset to obtain the co-occurrence correlation patterns of causal factors and a list of high-frequency causal coupling combinations.
[0014] In one possible implementation, multi-level indicators are extracted based on historical accident records of power operations to obtain a multi-dimensional causal system, including:
[0015] Obtain the original accident records corresponding to power operations, perform data preprocessing on the original accident records, and obtain standardized historical accident records;
[0016] Open coding is performed on historical accident records to mark key causal concepts in the historical accident records, resulting in an initial set of causes.
[0017] Based on the initial causative set, a main axis coding method is used to obtain multiple core causative categories;
[0018] Selective coding is performed based on the core causal categories to filter out the central theme and construct the causal theory framework; the causal theory framework includes multiple causal categories and multiple initial causal indicators corresponding to each causal category;
[0019] The saturation of the causal theory framework is verified by introducing reserved new accident samples. If new causal indicators or new causal categories not covered by the causal theory framework appear, they are added to the causal theory framework. If the new accident samples no longer generate new causal indicators or causal categories, it is determined that the causal theory framework has reached saturation. Based on the causal theory framework, a multi-dimensional causal system composed of multiple causal indicators is constructed.
[0020] In one possible implementation, association mining is performed on the structured causal dataset to obtain causal co-occurrence association patterns and a list of high-frequency causal coupling combinations, including:
[0021] The quantization vector of a single causal indicator in the structured causal dataset is taken as an independent transaction, and the causal indicator with a value of 1 in the independent transaction is taken as a transaction item, so as to obtain the transaction item set corresponding to each independent transaction.
[0022] Frequent itemsets are mined from the transaction itemsets corresponding to each independent transaction to obtain multiple initial cause combinations; each initial cause combination includes two cause indicators that appear simultaneously.
[0023] Calculate the confidence and support for each initial cause combination, and filter the initial cause combinations based on the preset confidence threshold and preset support threshold to obtain a list of high-frequency cause coupling combinations;
[0024] The co-occurrence association pattern of causes is determined based on the confidence level and two causal indices corresponding to each high-frequency cause coupling combination in the high-frequency cause coupling combination list.
[0025] In one possible implementation, the association weights between each causal indicator are calculated based on frequency data, and a weighted causal association network is constructed based on the association weights and association data, including:
[0026] For any combination of two causal indicators, the correlation weight between the two causal indicators is calculated based on their independent occurrence frequency and their common occurrence frequency.
[0027] Each causal indicator is treated as a network node, each high-frequency causal coupling combination in the high-frequency causal coupling combination list in the associated data is treated as a node edge, and the association weight between two causal indicators in the high-frequency causal coupling combination is treated as the edge weight. Based on the network nodes, node edges, and edge weights, a weighted causal association network is constructed.
[0028] In one possible implementation, a causal evolution chain corresponding to power operations is extracted based on a weighted causal correlation network, and a preset model is iteratively trained using the weighted causal correlation network, frequency data, and correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents, including:
[0029] Based on the weighted causal association network, the topological features of each node in the network are extracted, and the topological features are used as the topological features of the causal indicators corresponding to the nodes. The topological features include node degree, clustering coefficient, network diameter, average path length, and betweenness number.
[0030] A topological feature dataset is constructed based on the topological features corresponding to each causal indicator, and causal evolution reasoning is performed based on the topological feature dataset to obtain a set of causal evolution chains.
[0031] The frequency of occurrence of each causal index in the evolutionary chain is calculated based on the causal evolutionary chain set, and the frequency of occurrence of the evolutionary chain corresponding to each causal index is obtained.
[0032] Based on the frequency of occurrence, topological features, independent occurrence frequency, and co-occurrence frequency of each causative index in the evolution chain, a causative feature vector is constructed for each accident record in the historical accident record. The risk level of the accident record is used as the data label of the causative feature vector, resulting in a complete risk training dataset composed of multiple labeled causative feature vectors.
[0033] Based on the complete risk training dataset, the set of causal evolution chains, frequency data, and correlation data, the preset model is iteratively trained to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0034] In one possible implementation, causal evolutionary reasoning is performed based on a topological feature dataset to obtain a set of causal evolutionary chains, including:
[0035] Based on the topological feature dataset and preset filtering rules, a set of core causal indicators composed of multiple core hub nodes is obtained.
[0036] Based on the core causal indicator set, the edge weight of each node in the weighted causal association network, and the preset association threshold, accident causal evolution reasoning is performed to obtain a set of causal evolution chains composed of multiple causal evolution chains.
[0037] In one possible implementation, based on the core causal indicator set, the edge weight of each node in the weighted causal association network, and a preset association threshold, accident causal evolution reasoning is performed to obtain a set of causal evolution chains consisting of multiple causal evolution chains, including:
[0038] Using each core causal node in the core causal indicator set as the initial center, select first-level related nodes whose association weight reaches the preset association threshold.
[0039] Using the first-level associated node as the new center, select second-level associated nodes whose association weight reaches the preset association threshold, and extend outward layer by layer. When there are no nodes that meet the criteria, the iteration terminates, and the initial causal evolution chain set is obtained.
[0040] The initial set of causal evolution chains is constrained and corrected based on the structured causal dataset corresponding to historical accident records, resulting in a set of causal evolution chains that conforms to the laws of real accidents.
[0041] In one possible implementation, a pre-defined model is iteratively trained based on a complete risk training dataset, a set of causal evolution chains, frequency data, and correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents, including:
[0042] The complete risk training dataset is normalized, and the independent risk contribution coefficients of each causative index are obtained through weighted iterative fitting. Based on the independent risk contribution coefficients and the causative category corresponding to each causative index, an accident risk prediction sub-model is trained. The accident risk prediction sub-model is used to perform pre-operation static risk prediction for power operations.
[0043] Based on the causal evolution chain set and the high-frequency causal coupling combination list in the associated data, the fault tree causal coupling logic is decomposed to obtain the fault tree causal coupling logic system and risk level judgment threshold standard.
[0044] Based on frequency data, the independent occurrence frequency of each causal indicator is determined, and the accident probability mapping sub-model and source tracing judgment rules are constructed by combining the co-occurrence correlation patterns of causal factors in the correlation data.
[0045] The risk assessment model is constructed by coupling and encapsulating the risk prediction sub-model, the fault tree causal coupling logic system, the risk level judgment threshold standard, the accident probability mapping sub-model, and the source tracing judgment rules.
[0046] Secondly, embodiments of this application provide an apparatus for constructing a power safety risk assessment model, comprising:
[0047] The first processing module is used to construct a multi-dimensional cause system based on historical accident records of power operations, and extract frequency data and correlation data corresponding to each cause indicator in the multi-dimensional cause system. The frequency data includes the independent occurrence frequency and co-occurrence frequency of each cause indicator, and the correlation data includes the cause co-occurrence correlation pattern and the list of high-frequency cause coupling combinations.
[0048] The second processing module is used to calculate the correlation weights between each causal indicator based on frequency data, and to construct a weighted causal correlation network based on the correlation weights and correlation data.
[0049] The third processing module is used to extract the causal evolution chain corresponding to power operations based on the weighted causal correlation network, and to iteratively train the preset model by combining the weighted causal correlation network, frequency data, and correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0050] In one possible implementation, the first processing module is further configured to:
[0051] Based on historical accident records of power operations, multi-level indicators are extracted to obtain a multi-dimensional causal system.
[0052] Based on the multi-dimensional causation system, the causation indicators of each accident record in the historical accident record are quantified to obtain the causation indicator quantification vector corresponding to each accident record.
[0053] Based on the structured causal dataset composed of quantified vectors of causal indicators from each accident record, the independent occurrence frequency and co-occurrence frequency of each causal indicator are determined. Furthermore, correlation mining is performed on the structured causal dataset to obtain the co-occurrence correlation patterns of causal factors and a list of high-frequency causal coupling combinations.
[0054] In one possible implementation, the first processing module is further configured to:
[0055] Obtain the original accident records corresponding to power operations, perform data preprocessing on the original accident records, and obtain standardized historical accident records;
[0056] Open coding is performed on historical accident records to mark key causal concepts in the historical accident records, resulting in an initial set of causes.
[0057] Based on the initial causative set, a main axis coding method is used to obtain multiple core causative categories;
[0058] Selective coding is performed based on the core causal categories to filter out the central theme and construct the causal theory framework; the causal theory framework includes multiple causal categories and multiple initial causal indicators corresponding to each causal category;
[0059] The saturation of the causal theory framework is verified by introducing reserved new accident samples. If new causal indicators or new causal categories not covered by the causal theory framework appear, they are added to the causal theory framework. If the new accident samples no longer generate new causal indicators or causal categories, it is determined that the causal theory framework has reached saturation. Based on the causal theory framework, a multi-dimensional causal system composed of multiple causal indicators is constructed.
[0060] In one possible implementation, the first processing module is further configured to:
[0061] The quantization vector of a single causal indicator in the structured causal dataset is taken as an independent transaction, and the causal indicator with a value of 1 in the independent transaction is taken as a transaction item, so as to obtain the transaction item set corresponding to each independent transaction.
[0062] Frequent itemsets are mined from the transaction itemsets corresponding to each independent transaction to obtain multiple initial cause combinations; each initial cause combination includes two cause indicators that appear simultaneously.
[0063] Calculate the confidence and support for each initial cause combination, and filter the initial cause combinations based on the preset confidence threshold and preset support threshold to obtain a list of high-frequency cause coupling combinations;
[0064] The co-occurrence association pattern of causes is determined based on the confidence level and two causal indices corresponding to each high-frequency cause coupling combination in the high-frequency cause coupling combination list.
[0065] In one possible implementation, the second processing module is further configured to:
[0066] For any combination of two causal indicators, the correlation weight between the two causal indicators is calculated based on their independent occurrence frequency and their common occurrence frequency.
[0067] Each causal indicator is treated as a network node, each high-frequency causal coupling combination in the high-frequency causal coupling combination list in the associated data is treated as a node edge, and the association weight between two causal indicators in the high-frequency causal coupling combination is treated as the edge weight. Based on the network nodes, node edges, and edge weights, a weighted causal association network is constructed.
[0068] In one possible implementation, the third processing module is further configured to:
[0069] Based on the weighted causal association network, the topological features of each node in the network are extracted, and the topological features are used as the topological features of the causal indicators corresponding to the nodes. The topological features include node degree, clustering coefficient, network diameter, average path length, and betweenness number.
[0070] A topological feature dataset is constructed based on the topological features corresponding to each causal indicator, and causal evolution reasoning is performed based on the topological feature dataset to obtain a set of causal evolution chains.
[0071] The frequency of occurrence of each causal index in the evolutionary chain is calculated based on the causal evolutionary chain set, and the frequency of occurrence of the evolutionary chain corresponding to each causal index is obtained.
[0072] Based on the frequency of occurrence, topological features, independent occurrence frequency, and co-occurrence frequency of each causative index in the evolution chain, a causative feature vector is constructed for each accident record in the historical accident record. The risk level of the accident record is used as the data label of the causative feature vector, resulting in a complete risk training dataset composed of multiple labeled causative feature vectors.
[0073] Based on the complete risk training dataset, the set of causal evolution chains, frequency data, and correlation data, the preset model is iteratively trained to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0074] In one possible implementation, the third processing module is further configured to:
[0075] Based on the topological feature dataset and preset filtering rules, a set of core causal indicators composed of multiple core hub nodes is obtained.
[0076] Based on the core causal indicator set, the edge weight of each node in the weighted causal association network, and the preset association threshold, accident causal evolution reasoning is performed to obtain a set of causal evolution chains composed of multiple causal evolution chains.
[0077] In one possible implementation, the third processing module is further configured to:
[0078] Using each core causal node in the core causal indicator set as the initial center, select first-level related nodes whose association weight reaches the preset association threshold.
[0079] Using the first-level associated node as the new center, select second-level associated nodes whose association weight reaches the preset association threshold, and extend outward layer by layer. When there are no nodes that meet the criteria, the iteration terminates, and the initial causal evolution chain set is obtained.
[0080] The initial set of causal evolution chains is constrained and corrected based on the structured causal dataset corresponding to historical accident records, resulting in a set of causal evolution chains that conforms to the laws of real accidents.
[0081] In one possible implementation, the third processing module is further configured to:
[0082] The complete risk training dataset is normalized, and the independent risk contribution coefficients of each causative index are obtained through weighted iterative fitting. Based on the independent risk contribution coefficients and the causative category corresponding to each causative index, an accident risk prediction sub-model is trained. The accident risk prediction sub-model is used to perform pre-operation static risk prediction for power operations.
[0083] Based on the causal evolution chain set and the high-frequency causal coupling combination list in the associated data, the fault tree causal coupling logic is decomposed to obtain the fault tree causal coupling logic system and risk level judgment threshold standard.
[0084] Based on frequency data, the independent occurrence frequency of each causal indicator is determined, and the accident probability mapping sub-model and source tracing judgment rules are constructed by combining the co-occurrence correlation patterns of causal factors in the correlation data.
[0085] The risk assessment model is constructed by coupling and encapsulating the risk prediction sub-model, the fault tree causal coupling logic system, the risk level judgment threshold standard, the accident probability mapping sub-model, and the source tracing judgment rules.
[0086] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0087] The memory stores instructions that the computer executes;
[0088] The processor executes computer execution instructions stored in memory, causing the processor to perform the first aspect above and various possible implementations of the first aspect.
[0089] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and various possible implementations thereof.
[0090] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and various possible implementations thereof.
[0091] This application provides a method and apparatus for constructing a power safety risk assessment model. The method constructs a multi-dimensional causal system based on historical accident records, including multiple causal indicators. It extracts frequency data representing the occurrence frequency of causal indicators and correlation data indicating relationships between these indicators, and constructs a weighted causal correlation network representing the implicit coupling relationship between multiple causal indicators by combining the frequency data and correlation data. Based on this network, causal evolution chains are extracted, and the extracted causal evolution chains, combined with the weighted causal correlation network, previously extracted frequency data, and correlation data, are used to iteratively train a preset model, thereby obtaining a risk assessment model adapted to the coupled evolution characteristics of power accidents. Compared with existing technologies, this application uses the evolutionary patterns and correlations of causes as important features for model training, thus obtaining a model adapted to the coupled evolution characteristics of accidents. This avoids the technical problem of low risk assessment accuracy caused by independent causal analysis in existing technologies, achieving the technical effect of improving the accuracy of risk assessment. Attached Figure Description
[0092] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0093] Figure 1 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 1 ;
[0094] Figure 2 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 2 ;
[0095] Figure 3 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 3 ;
[0096] Figure 4 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 4 ;
[0097] Figure 5 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 5 ;
[0098] Figure 6 A schematic diagram of the structure of the device for constructing the power safety risk assessment model provided in this application;
[0099] Figure 7 A schematic diagram of the structure of the electronic device provided in this application.
[0100] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0101] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0102] Current technologies for analyzing the causes of power safety accidents in various complex power operation scenarios generally employ traditional data-driven analysis models for risk assessment and tracing. Specifically, this involves comprehensively collecting massive amounts of historical fault data, operational behavior data, equipment operation data, and environmental condition data generated during power operations through multiple channels, including power operation and maintenance systems, on-site monitoring equipment, and accident log records. Subsequently, it involves in-depth mining of multi-dimensional accident characteristic information contained in each accident sample record, such as operational scenario characteristics, equipment status characteristics, and personnel operation characteristics. This information is then combined with industry risk assessment standards to determine the accident risk level for each sample, accurately matching the explicit causal factors of the corresponding accident, and finally integrating them to form a standardized power accident sample dataset that can be used for model training. Based on the constructed sample dataset, iterative training and parameter optimization of a power accident-specific analysis model are conducted. The trained analysis model can access real-time power operation monitoring data and automatically complete intelligent risk level assessment of power operation accidents based on multi-dimensional operation-related information such as on-site personnel operation information, power equipment operating parameters, operational environmental conditions, and grid operating status. Simultaneously, it preliminarily identifies and outputs various direct and indirect influencing factors that cause power safety accidents.
[0103] However, existing causal analysis techniques for power accidents primarily focus on analyzing the core causal factors of a single accident, which can clearly identify the cause of the accident and the corresponding peak load. But for complex operational scenarios with multiple contributing factors, current causal analysis can only identify the cause of the accident, but cannot clarify the coupling relationship between multiple factors, thus failing to accurately assess the risk of the operation. This results in a technical problem of low accuracy in risk assessment results in existing technologies.
[0104] To address the aforementioned technical issues, this application proposes the following technical concept: by extracting a multi-dimensional causal system from historical accident records, and then through frequency statistics, correlation weight calculation, weighted network construction, evolution chain extraction, and iterative training, discrete accident information is transformed into structured features that can be used for model learning. This enables the risk assessment model to conform to the coupled evolutionary laws of power accidents, avoiding the technical problem of low accuracy in risk assessment caused by independent causal analysis in existing technologies, and achieving the technical effect of improving the accuracy of risk assessment.
[0105] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0106] Figure 1 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 1 ,like Figure 1 As shown, the method includes:
[0107] S101. Construct a multi-dimensional cause system based on historical accident records of power operations, and extract the frequency data and correlation data corresponding to each cause indicator in the multi-dimensional cause system.
[0108] In this step, historical accident records refer to the standardized dataset obtained after preprocessing the raw dataset of historically accumulated transmission line maintenance, emergency repair, and other operational accidents. Each data point corresponds to one accident record. Frequency data includes the independent occurrence frequency and co-occurrence frequency of each causative indicator. Association data includes causative co-occurrence association patterns and a list of high-frequency causative coupling combinations. The independent occurrence frequency refers to the number of times the causative indicator appears in each accident record, while the co-occurrence frequency refers to the number of times the causative indicator and other causative indicators appear together in the same accident record. One causative indicator corresponds to one independent occurrence frequency and multiple co-occurrence frequencies. The causative co-occurrence association pattern refers to the conditional probability of another causative indicator occurring simultaneously given the occurrence of one causative indicator, i.e., the confidence level corresponding to the combination of these two causative indicators. The list of high-frequency causative coupling combinations includes multiple high-frequency causative coupling combinations. Each high-frequency causative coupling combination includes two causative indicators. High-frequency means that the frequency of simultaneous occurrence of these two causative indicators is high, and the confidence and support of the combination are both higher than a pre-set threshold.
[0109] Alternatively, one possible approach to constructing a multi-dimensional causal system and extracting frequency and correlation data is as follows:
[0110] S1011. Based on historical accident records of power operations, multi-level indicators are extracted to obtain a multi-dimensional causal system.
[0111] In this step, the multi-dimensional causative system includes multiple causative indicators and the corresponding causative category for each indicator. Multi-level indicator extraction refers to dividing historical accident records into two parts. The first part is used for preliminary causative indicator extraction. Then, the extracted causative indicators are clustered to determine the category corresponding to each indicator and the several causative categories obtained from the clustering. Next, causative indicators are extracted from the second part of the historical accident records, and their corresponding causative indicator categories are determined. These categories are then updated to the initially extracted causative indicator information until no new causative indicators or categories can be extracted. Based on the final obtained causative indicators and categories, a multi-dimensional causative system is constructed.
[0112] It should be noted that the construction of the multi-dimensional causal system is based on the following Figure 2 Further descriptions are provided in the embodiments shown, but will not be repeated here.
[0113] S1012. Based on the multi-dimensional cause system, the cause indicators of each accident record in the historical accident record are quantified to obtain the cause indicator quantification vector corresponding to each accident record.
[0114] In this step, the causal index quantification process refers to matching each causal index in the multi-dimensional causal system to each accident record. If the causal index exists in the accident record, it is marked as 1; otherwise, it is marked as 0. This results in a multi-dimensional causal index quantification vector for each accident record, which consists of discrete 0s and 1s.
[0115] S1013. Based on the structured causal dataset composed of quantified vectors of causal indicators from each accident record, determine the independent occurrence frequency and co-occurrence frequency of each causal indicator, and mine the correlation of the structured causal dataset to obtain the causal co-occurrence correlation pattern and the list of high-frequency causal coupling combinations.
[0116] In this step, the independent frequency of occurrence of the causal indicator is determined as follows: For each causal indicator, the number of quantized vectors corresponding to a specific indicator value of 1 is calculated, and this number is determined as the independent frequency of occurrence for that causal indicator. Based on other causal indicators in the multi-dimensional causal system, combinations of other causal indicators and the current causal indicator are constructed, resulting in multiple combinations. For each combination, the number of quantized vectors corresponding to two causal indicators in the combination being both 1 is calculated, and this number is determined as the common frequency of occurrence for that combination. Each causal indicator corresponds to multiple common frequencies of occurrence.
[0117] For example, suppose a structured causal dataset contains 1000 quantified vectors of causal indicators, and a multi-dimensional causal system contains four causal indicators: causal indicator A, causal indicator B, causal indicator C, and causal indicator D. Causative indicator A appears 100 times, so its independent frequency is 100. Causative indicators A and B appear together 50 times, causal indicators A and C appear together 20 times, and causal indicators A and D appear together 0 times. Therefore, the co-occurrence frequency of causal indicator A is (50, 20, 0).
[0118] In this step, association mining refers to discovering the patterns of co-occurrence of causal indicators and calculating the confidence and support of causal indicator combinations with high co-occurrence frequency. The confidence and support are used to screen the combinations of causal indicators, eliminating accidental and invalid co-occurrence relationships with low support and low confidence, and obtaining causal indicator combinations with clear co-occurrence relationships, thereby generating a list of high-frequency causal coupling combinations.
[0119] It should be noted that the specific implementation method of relationship mining is as follows: Figure 3 Further descriptions are provided in the embodiments shown, but will not be repeated here.
[0120] S102. Calculate the correlation weights between each causal indicator based on frequency data, and construct a weighted causal correlation network based on the correlation weights and correlation data.
[0121] In this step, causal indicators are used as network nodes in the weighted causal association network, association weights are used to determine the weights of the edges connecting each network node to other network nodes, and association data is used to determine which network nodes have connecting edges. The constructed weighted causal association network is then used to characterize the implicit coupling and association patterns among multiple causal indicators.
[0122] Alternatively, one possible implementation of the weighted causal association network construction is as follows:
[0123] S1021. For any combination of two causal indicators, the correlation weight between the two causal indicators is calculated based on their independent occurrence frequency and their common occurrence frequency.
[0124] In this step, the association weight can be calculated according to the correspondence between independent occurrence frequency and co-occurrence frequency. The calculation process can use preset normalization rules, ratio rules or weighted mapping rules to quantify the co-occurrence degree between the two causal indicators into numerical weights.
[0125] For example, in the combination of causative indicator A and causative indicator B, the independent frequency of causative indicator A is S. A The independent occurrence frequency of causative indicator B is S. B The frequency of co-occurrence of causative indicator A and causative indicator B is S. AB Then the association weight between causative index A and causative index B is = 2c × S AB / (S) A +S B ).
[0126] For example, assuming the total number of accident records in the structured causative dataset is M, the association weight between causative indicator A and causative indicator B can also be S = AB / M.
[0127] S1022. Take each causal indicator as a network node, take each high-frequency causal coupling combination in the high-frequency causal coupling combination list in the associated data as a node edge, and take the association weight between two causal indicators in the high-frequency causal coupling combination as the edge weight. Based on the network nodes, node edges and edge weights, construct a weighted causal association network.
[0128] In this step, network nodes are used to represent the various causal indicators in the weighted causal association network and are the basic building blocks of the network structure; node edges are used to connect two related causal indicators and express their coupling relationship in the accident; edge weights are used to quantify the strength of the association between two nodes in the network, and their values are calculated from the independent occurrence frequency and co-occurrence frequency of the corresponding causal indicator and assigned to the corresponding node edge.
[0129] Optionally, the weighted causal association network construction process is as follows: each causal indicator is mapped to a node in the network, and a connection relationship is established for each group of causal indicators in the high-frequency causal coupling combination list, forming a node edge between the corresponding two nodes. Simultaneously, the association weight corresponding to the combination is written into the edge attribute, thus obtaining a weighted causal association network with weight information. This network can be stored using a graph data structure, where the node table records the causal indicator identifier, and the edge table records the causal indicator pairs and their weight values, facilitating subsequent causal evolution chain extraction and model training.
[0130] S103. Extract the causal evolution chain corresponding to power operations based on the weighted causal correlation network, and combine the weighted causal correlation network, frequency data, and correlation data to iteratively train the preset model to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0131] In this step, the causal evolution chain is used to characterize the order in which accident causes extend, propagate, or superimpose from one factor to another. It can be understood as a chain-like path, which is derived based on the connection relationships between nodes and the magnitude of edge weights.
[0132] Optionally, the causal evolution chain can be determined as follows: First, select a network node with a strong connection relationship as the starting node based on the weighted causal network. Then, diverge outward from the starting node, filter the connection edges that satisfy the node edge weight constraints, and track the successor nodes to finally obtain multiple causal evolution chains composed of at least two nodes.
[0133] In this step, the pre-set model used for iterative training needs to have graph structure processing capabilities to handle the graph structure information contained in the weighted causal correlation network. During iterative training, the model learns the causal sequence relationship based on the causal evolution chain, the topological coupling relationship between nodes based on the weighted causal correlation network, the statistical distribution of causal occurrence based on frequency data, and high-frequency combinations and co-occurrence patterns based on correlation data. After each iteration, the model parameters are updated based on the training error, continuously enhancing the model's responsiveness to coupling evolution paths, network connection strength, and combination patterns. After multiple rounds of iterative training, the pre-set model gradually develops the ability to identify the coupling, transmission, and evolution patterns of power accident causes, ultimately yielding a risk assessment model suitable for the coupling evolution characteristics of power accidents.
[0134] It should be noted that the extraction of the causal evolution chain and the iterative training of the model are described below. Figure 4 Further explanation will be provided in the embodiments shown, and will not be repeated here.
[0135] The method for constructing a power safety risk assessment model provided in this application constructs a multi-dimensional causal system based on historical accident records. This system includes causal indicators of multiple dimensions. Frequency data representing the occurrence frequency of causal indicators and correlation data representing the relationships between causal indicators are extracted using this causal system. A weighted causal correlation network representing the implicit coupling relationship between multiple causal indicators is constructed by combining the frequency data and correlation data. Based on this network, causal evolution chains are extracted. The extracted causal evolution chains, combined with the weighted causal correlation network, previously extracted frequency data, and correlation data, are used to iteratively train a preset model, thereby obtaining a risk assessment model adapted to the coupled evolution characteristics of power accidents. Compared with existing technologies, this application uses the evolutionary patterns and correlations of causes as important features for model training, thus obtaining a model that can adapt to the coupled evolution characteristics of accidents. This avoids the technical problem of low risk assessment accuracy caused by independent causal analysis in existing technologies, achieving the technical effect of improving the accuracy of risk assessment.
[0136] Figure 2 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 2 ,like Figure 2 As shown, the method includes:
[0137] S201. Obtain the original accident records corresponding to the power operation, perform data preprocessing on the original accident records, and obtain standardized historical accident records.
[0138] In this step, the original accident records refer to the accident texts, handling records, investigation conclusions and related documents generated during power operations. Data preprocessing includes converting heterogeneous texts to a unified format, removing duplicate records, completing missing fields, unifying terminology, and standardizing the mapping of fields such as time, location and operation type to form standardized historical accident records that can be used for coding analysis.
[0139] S202. Perform open coding on historical accident records, mark key causal concepts in historical accident records, and obtain an initial causal set.
[0140] In this step, open coding is a process of identifying and labeling the causal clues in the records one by one. Its output initial causal set includes different situations in which the accident occurred, influencing factors, and causal labels corresponding to related events or behaviors.
[0141] For example, the initial cause set can be extracted by: extracting all core keywords such as hidden dangers, violations, equipment failures, environmental anomalies, and management loopholes from the text based on power safety operation specifications and accident characteristics to form the initial cause set.
[0142] S203. Based on the initial causative set, perform axial coding to obtain multiple core causative categories.
[0143] In this step, axial coding is used to aggregate and merge initial causal indicators that are similar or highly correlated, forming core causal categories that are more hierarchical and semantically stable.
[0144] Alternatively, one possible implementation of spindle encoding is as follows:
[0145] a1. Traverse each initial cause indicator in the initial cause set and identify the inherent logic between the initial cause indicators.
[0146] In this step, the initial causative indicators refer to the various original causative indicators, such as "not wearing protective equipment," "equipment aging," and "lack of safety briefing." The inherent logic among the initial causative indicators refers to which causative indicators describe the same type of causative phenomenon, and which causative indicators have causal or accompanying relationships.
[0147] a2. Based on the inherent logic among the initial causal indicators, initial causal indicators with similar meanings and belonging to the same functional dimension are aggregated into a group to obtain multiple indicator combinations.
[0148] For example, suppose there exists a set of indicators corresponding to equipment-related causal indicators. The initial causal indicators in this set of indicators could be: equipment corrosion, safety device failure, insulation damage, etc. Suppose there exists a set of indicators corresponding to on-site personnel operation-related causal indicators. The initial causal indicators in this set of indicators could be: violation of operating procedures, risky operation, fatigued operation, insufficient skills, etc.
[0149] a3. Extract the core concepts for each indicator combination to form the core cause category.
[0150] In this step, core cause category extraction refers to naming the combination of indicators, such as personnel factors, equipment factors, environmental factors, and management factors. The core cause categories are derived from the indicator combinations corresponding to the initial cause indicators. Alternatively, a predefined scope for indicator category division can be provided before determining the indicator categories. Indicators can then be divided based on this scope, and the resulting combination of indicators can be used for further precise determination of core cause categories.
[0151] a4. After obtaining the core causative categories, it is necessary to clarify the connotation and boundaries between each core causative category.
[0152] The purpose of this step is to clarify the differences between categories and avoid confusion in the classification of causal indicators.
[0153] a5. After clarifying the connotation and boundaries of the core causal categories, the interaction relationship between the core causal categories can also be clarified, which can be used for further refinement of the central theme.
[0154] In this step, the interaction between core categories refers to the fact that the occurrence of a cause in one category will inevitably trigger the occurrence of a cause in another category, or that there is a dependency relationship between the occurrence of causes in two categories. For example, a lack of management may induce the occurrence of a cause in the category of personnel violations.
[0155] S204. Selective coding is performed based on the core causal categories to filter out the central theme and construct the causal theoretical framework.
[0156] In this step, the causal theory framework includes multiple causal categories and multiple initial causal indicators corresponding to each causal category. Selective coding refers to screening and unifying the core causal categories around a central theme, so that each category and its corresponding initial causal indicators form a stable mapping relationship, thus constituting a sustainably expandable causal theory framework.
[0157] S205. Introduce reserved new accident samples to verify the saturation of the causal theory framework. If new causal indicators or new causal categories not covered by the causal theory framework appear, they are added to the causal theory framework. If the new accident samples no longer generate new causal indicators or causal categories, it is determined that the causal theory framework has reached saturation, and a multi-dimensional causal system composed of multiple causal indicators is constructed based on the causal theory framework.
[0158] In this step, new accident samples are used to check the saturation of the framework. When a new sample contains a causative indicator or category not covered by the existing framework, the corresponding content is added to the framework. When new samples no longer introduce new causative indicators or categories, the framework is confirmed to have reached saturation. It should be noted that the new accident samples can be data previously retained from historical accident records that does not participate in the aforementioned open coding, axis coding, or selective coding. Alternatively, they can be a new accident sample dataset obtained by preprocessing another batch of original historical accident records.
[0159] Optionally, determining whether the causal theory framework has reached saturation means judging whether the causal indicators included in the current causal theory framework cover all causal indicators, and that when new accident samples are introduced, no more causal indicators and causal categories that have not been covered appear.
[0160] Optionally, when constructing a multi-dimensional causal system, a limit on the number of causal indicators can be preset, for example, setting the number of causal indicators to 120. Then, when extracting causal indicators and updating the causal theoretical framework, the causal indicators and causal categories are continuously updated until 120 causal indicators are reached. At this point, a saturation judgment is made on the causal theoretical framework corresponding to these 120 causal indicators. If it is determined that saturation has been reached, a multi-dimensional causal system constructed from 120 causal indicators is obtained.
[0161] Optionally, if a new accident sample generates a new causative index, then based on whether the causative category corresponding to the new causative index belongs to an existing causative category in the causative theory framework, if so, the causative index is classified into the corresponding causative category; if not, a new causative category and its corresponding causative index are added to the causative theory framework.
[0162] Figure 3 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 3 ,like Figure 3 As shown, the method includes:
[0163] S301. Take the quantization vector of a single causal indicator in the structured causal dataset as an independent transaction, and take the causal indicator with a value of 1 in the independent transaction as a transaction item, to obtain the transaction item set corresponding to each independent transaction.
[0164] In this step, the structured causative dataset is a collection of structured data formed by quantifying historical accident records using causative indicators. Each causative indicator quantization vector corresponds to the value state of an accident record for each causative indicator; a value of 1 indicates that the causative indicator appears in the accident record, and a value of 0 indicates that it does not appear. Transaction itemsets are used to convert individual quantization vectors into transaction representations suitable for association mining, so that subsequent calculations of the co-occurrence relationships of causative indicators can be performed.
[0165] S302. Based on the transaction itemsets corresponding to each independent transaction, frequent itemsets are mined to obtain multiple initial cause combinations.
[0166] In this step, the initial causative combination includes two causative indicators that appear simultaneously.
[0167] Alternatively, frequent itemsets can be mined using association mining methods such as the Apriori Algorithm or the Frequent Pattern Growth (FP-Growth) algorithm. Based on association mining, transaction itemsets are analyzed, and combinations of two causal indicators that appear simultaneously in the same transaction are extracted as initial causal combinations.
[0168] S303. Calculate the confidence and support for each initial cause combination, and filter the initial cause combinations based on the preset confidence threshold and preset support threshold to obtain a list of high-frequency cause coupling combinations.
[0169] In this step, confidence level is used to characterize the conditional probability that the subsequent term will occur simultaneously when the preceding term occurs in a given causal combination, and support level is used to characterize the frequency proportion of this combination in all transactions. After comparing the confidence level and support level with preset thresholds, combinations that simultaneously meet the threshold requirements are retained, forming a list of high-frequency causal coupling combinations. Each causal indicator and its confidence level in this list can be further used to generate causal co-occurrence association patterns, describing stable association patterns where two causal indicators co-occur in historical incidents.
[0170] Optionally, the support is calculated as shown in Formula 1:
[0171]
[0172] Where D refers to the total number of independent transactions, that is, the number of causal index quantification vectors in the structured causal dataset. Z AB This refers to the number of times causative indices A and B appear simultaneously in the initial causative combination (A,B); S AB This refers to the support of the initial causal combination (A, B).
[0173] Accordingly, the confidence level is calculated as shown in Formula 2:
[0174]
[0175] Among them, S AB This refers to the support of the initial causative combination (A, B), which can also be seen as the proportion of the frequency of causative indicators A and B appearing simultaneously in an accident record out of all accident records; S A This refers to the proportion of the frequency with which causative indicator A appears in accident records out of all accident records, i.e., the support rate of causative indicator A.
[0176] Optionally, if the initial causal combination (A, B) yields two confidence levels, the calculation of the second confidence level requires taking S from Formula 2. A Replace with S B S B This refers to the proportion of the frequency of causative indicator B appearing in all accident records, i.e., the support of causative indicator B. The corresponding support does not need to be modified because the support is consistent whether it is (A→B) or (B→A), only the confidence level is different. As a key factor in screening high-frequency causative coupling combinations, the confidence level here is used to filter out dependency chains that do not have a correlation.
[0177] It should be noted that causative index A and causative index B here refer to the two causative indices in any initial causative combination.
[0178] Optionally, filtering initial cause combinations based on preset confidence thresholds and preset support thresholds means that for each initial cause combination, it is determined whether the larger of its two confidence values reaches the preset confidence threshold, and whether its support reaches the preset support threshold. If either of the two values fails to reach the corresponding threshold, the initial cause combination is determined not to meet the filtering conditions and needs to be removed. If both values reach the corresponding threshold, the initial cause combination is recorded as a high-frequency cause coupling combination in the high-frequency cause coupling combination list.
[0179] S304. Determine the co-occurrence association law of causes based on the confidence level and two causal indices corresponding to each high-frequency cause coupling combination in the high-frequency cause coupling combination list.
[0180] In this step, the causal co-occurrence association rules include multiple sub-rules, and each sub-rule includes: a high-frequency causal coupling combination, the support and confidence level corresponding to the high-frequency causal combination.
[0181] Figure 4 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 4 ,like Figure 4 As shown, the method includes:
[0182] S401. Based on the weighted causal association network, extract the topological features of each node in the network, and use the topological features as the topological features of the causal indicators corresponding to the nodes.
[0183] In this step, the topological features include node degree, clustering coefficient, network diameter, average path length, and betweenness factor. These topological features characterize the structural position and propagation effect of causal indicators in a weighted causal association network. Specifically, node degree indicates the number of node adjacencies, network diameter represents the maximum value of the shortest distance between any pair of reachable nodes in the network, clustering coefficient represents the degree of neighborhood closure, average path length represents the average connectivity distance from a node to other nodes, and betweenness factor represents the degree to which a node is located on multiple shortest paths.
[0184] Optionally, the topological features can be extracted as follows: Each node's adjacency edges, edge weights, and shortest path relationships are read from the weighted causal association network; the node degree, clustering coefficient, network diameter, average path length, and betweenness number are calculated respectively to obtain the node's topological features. Among these, the network diameter and average path length are global parameters and only need to be calculated once.
[0185] Optionally, the node degree can be calculated as shown in Formula 3:
[0186]
[0187] Among them, K i This refers to the node degree corresponding to the node with index i in the weighted causal association network, a. ij This refers to the quantification value indicating whether there is a connection between node i and node j; it is 1 if there is a connection and 0 if there is no connection.
[0188] The clustering coefficient is calculated as shown in Formula 4:
[0189]
[0190] Among them, C i E refers to the clustering coefficient of the i-th node, which characterizes the degree of clustering of that node; i This refers to the actual number of edges between the neighboring nodes of node i; K i This refers to the degree of node i, which is also the number of nodes that are connected to node i.
[0191] The network diameter is calculated as shown in Formula 5:
[0192]
[0193] Where, d ij It refers to the shortest distance between node i and node j; D refers to the network diameter; V refers to the list of any two mutually reachable nodes in the weighted causal network.
[0194] The average path length is calculated as shown in Formula 6:
[0195]
[0196] Where L refers to the average path length, n refers to the number of nodes in the weighted causal association network, and d ij This refers to the shortest distance between node i and node j. The other parameters are explained in the same way as in Formula 5 above.
[0197] The betweenness is calculated as shown in Formula 7:
[0198]
[0199] Where BN(i) refers to the betweenness of the i-th node; n st (i) refers to the number of shortest paths in the network from node s to node t via node i; n st This refers to the total number of shortest paths from node s to node t in the network.
[0200] S402. Construct a topological feature dataset based on the topological features corresponding to each causal indicator, and perform causal evolution reasoning based on the topological feature dataset to obtain a set of causal evolution chains.
[0201] In this step, the topological feature dataset is used to uniformly store the structural location parameters of each causal indicator, and the causal evolution chain set is used to record multiple causal propagation paths obtained through reasoning. Constructing the causal evolution chain set means identifying nodes with high connectivity and high betweenness centrality as propagation hubs based on this dataset, and then reasoning about the causal propagation order by combining the edge weights between nodes and a preset association threshold to obtain the causal evolution chain set.
[0202] Alternatively, one possible implementation for generating the causal evolution chain set is as follows:
[0203] S4021. Based on the topological feature dataset and preset filtering rules, a set of core causal indicators composed of multiple core hub nodes is obtained.
[0204] In this step, core hub nodes are key connection nodes selected from the topological feature dataset. Their corresponding topological features include at least node degree, weighted degree, clustering coefficient, average path length, and betweenness centrality. Pre-defined screening rules are used to limit the retention of nodes whose hub degree meets the set requirements as core causal indicators. Typically, a combined threshold of betweenness centrality, weighted degree, and node degree is used as the screening criterion. Multiple topological features of the same node can be normalized and weighted to avoid fluctuations in a single indicator causing bias in the screening results. The core causal indicator set consists of multiple core hub nodes that meet the screening criteria, serving as the starting center for subsequent evolutionary inference.
[0205] S4022. Based on the core causal indicator set, the edge weight of each node edge in the weighted causal association network, and the preset association threshold, perform accident causal evolution reasoning to obtain a set of causal evolution chains composed of multiple causal evolution chains.
[0206] In this step, the weighted causal association network can be stored in the form of an adjacency matrix or an edge list. The edge weights of the nodes reflect the association strength between causal indicators, and the preset association threshold is used to constrain weakly associated nodes from entering the evolutionary chain, ensuring that the output chain has stable causal transmission characteristics. During the specific reasoning process, each core causal node in the core causal indicator set is taken as the central node. The edge weights connected to them in the weighted causal association network are read, and these edge weights are compared with the preset association threshold. Any adjacent nodes whose edge weights reach the threshold are included in the current level's association node set. Subsequently, the included association nodes are used as new expansion centers, and the process continues to extend layer by layer according to the same edge weights and association thresholds until no more nodes satisfy the threshold, thus forming multiple causal evolutionary chains composed of core causal nodes, first-level association nodes, and subsequent-level association nodes.
[0207] Alternatively, one possible implementation of accident causal evolutionary reasoning is as follows:
[0208] b1. Using each core causal node in the core causal indicator set as the initial center, select first-level related nodes whose association weight reaches the preset association threshold.
[0209] In this step, the core causal node refers to the key causal indicator node obtained by filtering topological features, which serves as the starting anchor point for causal evolution reasoning; the initial center is used to limit the starting point of chain expansion, so that the evolution chain starts from the most representative node in the core causal indicator set; the preset association threshold is used to determine whether the association strength between nodes reaches the judgment criterion for inclusion in the evolution chain, and only nodes with association weights not lower than the threshold participate in subsequent expansion.
[0210] Optionally, the method for determining the first-level associated nodes can be as follows: each core causal node in the core causal index set is taken as the current expansion center, and the adjacent nodes connected to the center and their corresponding edge weights are read in the weighted causal association network; when the association weight of an adjacent node reaches the preset association threshold, it is included in the first-level associated node set, and its connectivity relationship and weight information with the initial center are recorded.
[0211] b2. Using the first-level associated nodes as the new center, select second-level associated nodes whose association weight reaches the preset association threshold, and extend outward layer by layer. When there are no nodes that meet the criteria, terminate the iteration to obtain the initial causal evolution chain set.
[0212] In this step, the first-level associated nodes that have been included are successively used as new centers. The next layer of nodes that meet the threshold conditions are then selected in the network, and the nodes that meet the conditions are added to the second-level associated node set. This process continues until a certain center node no longer corresponds to any qualified adjacent nodes. After the iteration ends, an initial causal evolution chain set containing multiple layers of association relationships is formed.
[0213] b3. Based on the structured causal dataset corresponding to historical accident records, the initial causal evolution chain set is constrained and corrected to obtain a causal evolution chain set that conforms to the laws of real accidents.
[0214] In this step, the structured causative dataset is a set of transactional data formed by quantifying historical accident records through causative indicators. It is used to characterize the co-occurrence relationship, frequency relationship, and combination constraints of various causative indicators in the accident.
[0215] Optionally, when constraining and correcting the initial causal evolution chain set, the historical co-occurrence patterns, transaction support, and high-frequency causal coupling combinations in the structured causal dataset are mapped to each initial causal evolution chain. If there are node connections in an evolution chain that are inconsistent with the stable co-occurrence patterns in the historical records, the connections are removed or adjusted. If a chain segment lacks corresponding co-occurrence support in the historical accident records, the chain segment is constrained and shrunken to preserve the causal transmission relationships that have recurring characteristics in real accident samples.
[0216] S403. Based on the causal evolution chain set, calculate the frequency of occurrence of each causal index in the evolution chain, and obtain the frequency of occurrence of the evolution chain corresponding to each causal index.
[0217] In this step, the frequency of the evolutionary chain is used to reflect the activity level of each causative indicator in the transmission pathway.
[0218] S404. Based on the frequency of occurrence of evolutionary chains, topological features, independent occurrence frequency, and co-occurrence frequency of each causative index, construct the causative feature vector corresponding to each accident record in the historical accident record, and use the risk level of the accident record as the data label of the causative feature vector to obtain a complete risk training dataset composed of multiple labeled causative feature vectors.
[0219] In this step, the causal feature vector is used to jointly represent structural features, frequency features and risk labels, and the complete risk training dataset is used to carry multiple labeled samples for model training.
[0220] S405. Based on the complete risk training dataset, the set of causal evolution chains, frequency data, and correlation data, the preset model is iteratively trained to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0221] Alternatively, one possible implementation of iterative training to obtain the risk assessment model is as follows:
[0222] S4051. Normalize the complete risk training dataset, obtain the independent risk contribution coefficient of each causative index through weighted iterative fitting, and train the accident risk prediction sub-model based on the independent risk contribution coefficient and the causative category corresponding to each causative index.
[0223] In this step, the complete risk training dataset consists of labeled causal feature vectors corresponding to historical accident records. Normalization is used to eliminate the differences in the dimensions of each causal indicator. Weighted iterative fitting is used to obtain the independent influence strength of a single causal indicator on accident risk. The independent risk contribution coefficient is used to characterize the contribution of each causal indicator in the formation of accident risk. The accident risk prediction sub-model is used to map the causal category and the risk contribution coefficient to the static risk result before the operation, and then to make a static risk prediction before the operation for power operation.
[0224] S4052. Based on the causal evolution chain set and the high-frequency causal coupling combination list in the associated data, the fault tree causal coupling logic is decomposed to obtain the fault tree causal coupling logic system and risk level judgment threshold standard.
[0225] In this step, the fault tree cause coupling logic decomposition is to logically express the sequential transmission relationship in the cause evolution chain and the concurrent relationship in the high-frequency cause coupling combination. The fault tree cause coupling logic system is used to describe the linkage dependency between causes, and the risk level judgment threshold standard is used to limit the output boundary of different risk levels.
[0226] Alternatively, one possible implementation of fault tree causal coupling logic decomposition is as follows:
[0227] c1. Import historical accident records, determine the work type, voltage level, and risk category corresponding to each accident record, and then group multiple accident records based on work type and voltage level to obtain a set of accident records under the same work type and voltage level. Work types include: maintenance work, emergency repair work, outsourced work, renovation projects, and live-line work; voltage levels include: 10kV and 35kV; risk categories include: personal risk, power grid risk, and equipment risk. The risk category refers to the type of loss caused after the accident, and is known data attached to the accident record. Furthermore, the same accident record may have multiple risk categories.
[0228] In this step, the job type can be extracted not only from the accident record, but also determined based on the specific content of the accident record in conjunction with a pre-configured risk database of typical job types.
[0229] c2. For each high-frequency causal coupling combination, determine its corresponding historical records under different operating scenarios and voltage levels; then, based on the historical records, determine the top-level risk category and risk level mapped by the combination under different voltage levels and operating scenarios to obtain the dynamic causal relationship.
[0230] In this step, a single data point in the dynamic causation relationship includes: a high-frequency causation coupling combination, a combination of work type and voltage level, and the risk category of the corresponding accident record under the constraints of the two combinations. For example, the high-frequency coupling combination is: "Improper operation (personnel-related cause) + Insufficient safety distance (environmental cause)".
[0231] In the scenario of 35kV live-line work, this combination represents personal risk + equipment risk + power grid risk, which is of a high level of hazard.
[0232] In a 10kV power outage maintenance scenario, the risk of electric shock is significantly reduced with the same combination of causes, and is mainly reflected in equipment risk.
[0233] It should be noted that the same combination of causes can lead to different types of accidents and varying degrees of harm depending on the operating scenario and voltage level.
[0234] c3. Combining each causal evolution chain in the causal evolution chain set, extract two types of causal relationships: the causal sequential transmission relationship and the multiple causal coexistence relationship.
[0235] c4. Using temporal transmission relationships and concurrent coexistence relationships as gates or gate logic structures in the fault tree, a fault tree cause-coupled logic system is constructed. This system is used to characterize the linkage dependency between different cause categories and the mechanism of cause-level triggering.
[0236] c5. Combine different types of work, voltage levels, and risk categories to quantitatively classify accidents, calibrate the risk level judgment threshold standard, and delineate the risk level output boundary corresponding to different cross-category cause coupling combinations.
[0237] In this step, when calibrating the threshold standard, the support and confidence levels corresponding to high-frequency coupling combinations can be used as auxiliary reference weights to set stricter risk thresholds for coupling combinations with high correlation strength. The dynamic causal relationships between the work type, voltage level, and accident obtained can provide data support for the risk library of typical work types and discover new typical work types not covered in the traditional risk library.
[0238] S4053. Based on frequency data, determine the independent occurrence frequency of each causal indicator, and combine the causal co-occurrence correlation pattern in the associated data to construct an accident probability mapping sub-model and source tracing judgment rules.
[0239] In this step, the accident probability mapping sub-model is used to establish the correspondence between the causal indicators and the probability of accident occurrence, and the source determination rule is used to trace the source of the cause based on the co-occurrence association law after the cause or accident occurs.
[0240] Alternatively, one possible implementation of constructing the accident probability mapping sub-model is as follows:
[0241] d1. Bind each causal indicator to its corresponding independent occurrence frequency, independent risk contribution coefficient, and causal category to obtain a structured single causal basic risk characteristic table.
[0242] d2. Based on the single-cause basic risk feature table, the list of high-frequency cause coupling combinations in the associated data, and the mapping relationship between each combination and risk category in the list (referring to the dynamic cause relationship in step S4052 above), construct data samples. Determine the scenario label of the sample based on the work type and voltage level corresponding to each combination in the dynamic cause relationship. Simultaneously, based on the accident records corresponding to each high-frequency cause coupling combination, work type, and voltage level combination in the dynamic cause relationship, determine the accident probability, accident consequence type, and accident severity level corresponding to the data sample. Then, construct a sample dataset based on multiple data samples. Group and train the sample dataset according to work type to clarify the mapping relationship between the cause combination status (including single-cause basic risk features and cause combinations) and the accident consequences and levels, and save this mapping relationship to obtain the accident probability mapping sub-model.
[0243] d3. Based on the cause category, risk category, attribution record steps of each accident in historical accident records, and the concurrent coupling relationship and temporal transmission relationship contained in the fault tree cause coupling logic system obtained in S4052, establish reverse judgment logic. That is, when an accident is observed, reversely identify the main cause, cause coupling combination, and risk transmission path, etc. Solidify the reverse judgment logic to obtain standardized cause tracing judgment rules.
[0244] S4054. The risk prediction sub-model, fault tree causal coupling logic system, risk level judgment threshold standard, accident probability mapping sub-model, and source tracing judgment rules are coupled and encapsulated to construct a risk assessment model.
[0245] In this step, the risk assessment model encapsulates the aforementioned sub-models, logical systems, threshold standards, mapping models, and rules into a unified model entity that can be directly used for determining the risks of power operations.
[0246] Optionally, the encapsulated model can extract multi-dimensional features such as job type, voltage level, personnel qualifications, environmental time period, equipment status, and management measures based on monthly, weekly, and temporary work order data. Then, a risk prediction sub-model can be used to conduct a pre-operation static risk assessment, automatically determining the job risk level and automatically matching tiered control strategies based on the level, achieving pre-operation risk control before work commences. The fault tree causation coupling logic system and scenario-specific risk thresholds can achieve a coupled transmission mechanism analysis across four dimensions of causes: personnel, environment, equipment, and management. Simultaneously, the risk probability of the job can be accurately quantified based on the accident probability mapping sub-model. Source tracing rules are used to achieve reverse causal tracing after a hidden danger / accident occurs. Furthermore, based on the dynamic causal patterns of job type and voltage level, it adapts to differentiated risk assessments across multiple scenarios, covering all dimensions of accident consequences, including personal risk, power grid risk, and equipment risk.
[0247] Optionally, after the risk assessment model is constructed, it can be deployed into the power grid operation management system to facilitate real-time access to field operation data and conduct on-site power safety assessments.
[0248] Figure 5 A flowchart illustrating the method for constructing the power safety risk assessment model provided in this application. Figure 5 ,like Figure 5 As shown, this method uses a BP neural network to train an accident risk prediction sub-model, and then targets the above-mentioned... Figure 4 The model training method for the accident risk prediction sub-model in step S4051 of the illustrated embodiment will be further explained. The method includes:
[0249] A1. Normalize the complete risk training dataset to obtain a normalized standardized multidimensional feature dataset.
[0250] In this step, the complete risk training dataset contains multiple accident samples. Each sample is a multidimensional causal feature vector. The features include information such as the evolutionary chain frequency, topological features, independent occurrence frequency, and co-occurrence frequency of the causal indicators identified in the accident record corresponding to the current accident sample. Since there are differences in the dimensions and value ranges among the features, it is necessary to normalize each feature to make the value ranges of each feature consistent, thereby obtaining a standardized multidimensional feature dataset.
[0251] It should be noted that a confirmed causative indicator refers to an indicator whose quantified value is 1 in the accident record. For example, if an accident record contains confirmed causative indicators A and B, then the multidimensional causative feature vector corresponding to the accident record includes: the evolutionary chain frequency, topological features, independent occurrence frequency, and co-occurrence frequency of causative indicator A; and the evolutionary chain frequency, topological features, independent occurrence frequency, and co-occurrence frequency of causative indicator B; it also includes the risk level of the accident record itself.
[0252] A2. Based on the standardized multidimensional feature dataset, a weighted iterative fitting is performed to obtain the independent risk contribution coefficient of each causative indicator.
[0253] In this step, the weighted fitting iteration refers to using a standardized multidimensional feature dataset as a foundation, feature vectors as independent variables, and the accident risk level inherent in the samples as the fitting target to perform weighted iterative fitting. During the iteration process, parameters are continuously adjusted to quantify the contribution of each causative indicator to the accident risk level when acting independently. After the model converges iteratively, the independent risk contribution coefficient corresponding to each causative indicator is calculated. This coefficient characterizes the degree of contribution of a single causative factor to the accident risk and is a key parameter for constructing the scoring rules in step A3 and training the model in step A4. The accident risk level inherent in the samples refers to the risk level corresponding to each accident record in the collected historical accident records. This risk level is simultaneously added as a label to the labeled causative feature vector corresponding to each accident record when constructing the complete risk training dataset.
[0254] A3. Based on the independent risk contribution coefficient of each causative indicator and the classification label corresponding to each causative indicator, the data are categorized and aggregated to obtain the scoring rules for accident records.
[0255] In this step, one possible way to classify and aggregate the accident record scoring rules is as follows: based on the causal category corresponding to the causal index and the independent risk contribution coefficient of the causal index under each category, classify and aggregate each causal category and iterate the fitting, solidify the scoring rules of the inherent risk of the operation A, personnel risk B and environmental time period risk C, and determine the superimposed scoring formula standard F=A+B+C.
[0256] For example, the multi-dimensional cause-cause system contains 120 cause indicators, categorized into four dimensions: personnel, equipment, environment, and management. One possible implementation for categorizing and aggregating these indicators to obtain the scoring rules is as follows:
[0257] e1. Classify and aggregate causal indicators based on four-dimensional classification.
[0258] This step specifically involves: based on the four core causal categories of personnel, equipment, environment, and management, accurately classifying and matching 120 causal indicators, clarifying the category label of each causal indicator, and binding the independent risk contribution coefficient corresponding to each indicator, forming a structured correspondence of "category-causal indicator-risk contribution coefficient", providing a standardized data foundation for subsequent sub-risk fitting.
[0259] e2. Decompose the four category dimensions into risk dimensions.
[0260] The specific approach to breaking down the risk dimensions in this step is as follows: Based on the formation mechanism of power-related personal injury risks, the overall causal risks are broken down into three core dimensions: inherent operational risk (A), personnel risk (B), and environmental / temporal risk (C). Specifically, equipment and management-related causal indicators and their risk contribution coefficients are integrated as the data source for fitting inherent operational risk A; personnel-related causal indicators and their corresponding coefficients form the basis for calculating personnel risk B; and environmental / temporal causal indicators and risk coefficients form the initial framework for a scoring system for environmental / temporal risk C.
[0261] e3. Combine the structured correspondence after classification and aggregation with the method of multiple rounds of fitting and iteration to determine the scoring rules corresponding to multiple risk dimensions.
[0262] In this step, the scoring rules are constructed as follows: For the three risk dimensions A, B, and C, the risk contribution coefficients of the corresponding causative indicators are used to iteratively fit the data based on massive accident sample data. By comparing the actual accident risk levels and severity, the risk weights, scoring thresholds, and superposition rules of individual causative factors within each dimension are continuously adjusted. Parameter configurations with large fitting deviations are eliminated, and the scoring logic of each dimension is gradually optimized. Finally, standardized sub-item scoring rules for inherent operational risk A, personnel risk B, and environmental / time-specific risk C are solidified, achieving accurate quantitative calculation of single-dimensional risks.
[0263] e4. Based on the scoring rules of each risk dimension, determine the final linear superposition scoring formula used for accident risk scoring.
[0264] In this step, the linear superposition scoring formula is determined as follows: based on the established scoring rules, the scoring rules for A, B, and C are constructed, and the impact characteristics of each dimension of risk on the occurrence of the accident are combined to verify the rationality of the superposition of multi-dimensional risks, and finally the linear superposition scoring formula F=A+B+C is determined.
[0265] Optionally, a model for accident scoring can be constructed based on a linear superposition scoring formula. Specifically, an initial model is built based on the linear superposition scoring formula, and then the accuracy and universality of the model are verified using multiple sets of accident samples. Problems such as scoring conflicts between dimensions and weight imbalances are eliminated, ultimately forming a C3 globally universal causative quantitative scoring model that adapts to all accident samples and covers 120 causative indicators. Simultaneously, a standardized scoring specification that can be directly applied to accident record analysis is formed. It should be noted that the multiple sets of accident samples here can be newly collected historical accident records.
[0266] It should be noted that the quantitative results (independent risk contribution coefficients of causative indicators) obtained from accident record mining support and revise the sub-item scoring tables and benchmark operation risk database to identify hidden risk factors that are easily overlooked by traditional experience. Based on this superposition formula, a comprehensive risk score F is calculated for each accident record. This comprehensive risk score can reflect the comprehensive impact of multi-dimensional causes on operation risk.
[0267] A4. Based on the standardized multidimensional feature dataset, independent risk contribution coefficient, and scoring rules, a BP neural network is trained to obtain a BP neural network prediction model for pre-operation static risk prediction.
[0268] In this step, one possible implementation of BP neural network training is as follows:
[0269] f1. Traverse each sample in the standardized multidimensional feature dataset and extract the activated causal indicators within the sample (that is, the causal indicators that are confirmed to exist in the accident record corresponding to the sample and have a quantification value of 1); then combine the independent risk contribution coefficients of these causal indicators with the scoring rules of each risk dimension solidified in step A3, use the linear superposition scoring formula to calculate the comprehensive risk score of the sample, and use the comprehensive risk score as the training label of the BP neural network for the sample.
[0270] f2. Based on the independent risk contribution coefficient of each causative indicator, each sample in the standardized multidimensional feature dataset is weighted to obtain a new multidimensional feature dataset, and the comprehensive risk score is used as the label of each sample in the dataset.
[0271] In this step, weighting refers to: assuming that an accident record corresponding to a sample includes causative indicator A and causative indicator B; the independent risk contribution coefficient of causative indicator A is λ. A The independent risk contribution coefficient of causative indicator B is λ. B One way to weight the normalized values of the causal characteristics of the two factors is to calculate a weighted average based on the contribution coefficient. For example, for the normalized value F of the evolutionary chain frequency of causal index A... A The normalized value F of the evolution chain frequency of the causal index BB The weighting method is as follows: the weighted value of causal index A = (λ) A ×F A ) / (λ A +λ B Similarly, the weighted value of causal index B = (λ) A ×F B ) / (λ A +λ B ).
[0272] f3. Construct a three-layer backpropagation (BP) neural network. In this network: the number of neurons in the input layer matches the feature dimension of the multidimensional feature vector; set the hidden layer neurons and configure the activation function; the output layer has a single neuron, outputting the static risk prediction value of the job. Initialize the network weights and biases, and set the learning rate, maximum number of iterations, loss function, and iteration loss threshold.
[0273] f4. Divide the new multidimensional feature dataset obtained in f2 into training set, validation set and test set. Based on the three datasets, iteratively train the constructed three-layer BP neural network and terminate the training when the model reaches convergence to obtain the BP neural network prediction model for pre-operation static risk prediction.
[0274] Figure 6 A schematic diagram of the structure of the device for constructing the power safety risk assessment model provided in this application is shown below. Figure 6 As shown, the apparatus for constructing the power safety risk assessment model provided in this embodiment includes:
[0275] The first processing module 601 is used to construct a multi-dimensional cause system based on historical accident records of power operations, and extract frequency data and correlation data corresponding to each cause indicator in the multi-dimensional cause system; the frequency data includes the independent occurrence frequency and co-occurrence frequency of each cause indicator, and the correlation data includes the cause co-occurrence correlation pattern and the high-frequency cause coupling combination list;
[0276] The second processing module 602 is used to calculate the correlation weights between each causal indicator based on frequency data, and to construct a weighted causal correlation network based on the correlation weights and correlation data.
[0277] The third processing module 603 is used to extract the causal evolution chain corresponding to power operations based on the weighted causal correlation network, and to iteratively train the preset model by combining the weighted causal correlation network, frequency data, and correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0278] Optionally, in one possible implementation, the first processing module 601 is further configured to:
[0279] Based on historical accident records of power operations, multi-level indicators are extracted to obtain a multi-dimensional causal system.
[0280] Based on the multi-dimensional causation system, the causation indicators of each accident record in the historical accident record are quantified to obtain the causation indicator quantification vector corresponding to each accident record.
[0281] Based on the structured causal dataset composed of quantified vectors of causal indicators from each accident record, the independent occurrence frequency and co-occurrence frequency of each causal indicator are determined. Furthermore, correlation mining is performed on the structured causal dataset to obtain the co-occurrence correlation patterns of causal factors and a list of high-frequency causal coupling combinations.
[0282] Optionally, in one possible implementation, the first processing module 601 is further configured to:
[0283] Obtain the original accident records corresponding to power operations, perform data preprocessing on the original accident records, and obtain standardized historical accident records;
[0284] Open coding is performed on historical accident records to mark key causal concepts in the historical accident records, resulting in an initial set of causes.
[0285] Based on the initial causative set, a main axis coding method is used to obtain multiple core causative categories;
[0286] Selective coding is performed based on the core causal categories to filter out the central theme and construct the causal theory framework; the causal theory framework includes multiple causal categories and multiple initial causal indicators corresponding to each causal category;
[0287] The saturation of the causal theory framework is verified by introducing reserved new accident samples. If new causal indicators or new causal categories not covered by the causal theory framework appear, they are added to the causal theory framework. If the new accident samples no longer generate new causal indicators or causal categories, it is determined that the causal theory framework has reached saturation. Based on the causal theory framework, a multi-dimensional causal system composed of multiple causal indicators is constructed.
[0288] Optionally, in one possible implementation, the first processing module 601 is further configured to:
[0289] The quantization vector of a single causal indicator in the structured causal dataset is taken as an independent transaction, and the causal indicator with a value of 1 in the independent transaction is taken as a transaction item, so as to obtain the transaction item set corresponding to each independent transaction.
[0290] Frequent itemsets are mined from the transaction itemsets corresponding to each independent transaction to obtain multiple initial cause combinations; each initial cause combination includes two cause indicators that appear simultaneously.
[0291] Calculate the confidence and support for each initial cause combination, and filter the initial cause combinations based on the preset confidence threshold and preset support threshold to obtain a list of high-frequency cause coupling combinations;
[0292] The co-occurrence association pattern of causes is determined based on the confidence level and two causal indices corresponding to each high-frequency cause coupling combination in the high-frequency cause coupling combination list.
[0293] Optionally, in one possible implementation, the second processing module 602 is further configured to:
[0294] For any combination of two causal indicators, the correlation weight between the two causal indicators is calculated based on their independent occurrence frequency and their common occurrence frequency.
[0295] Each causal indicator is treated as a network node, each high-frequency causal coupling combination in the high-frequency causal coupling combination list in the associated data is treated as a node edge, and the association weight between two causal indicators in the high-frequency causal coupling combination is treated as the edge weight. Based on the network nodes, node edges, and edge weights, a weighted causal association network is constructed.
[0296] Alternatively, in one possible implementation, the third processing module 603 is further configured to:
[0297] Based on the weighted causal association network, the topological features of each node in the network are extracted, and the topological features are used as the topological features of the causal indicators corresponding to the nodes. The topological features include node degree, clustering coefficient, network diameter, average path length, and betweenness number.
[0298] A topological feature dataset is constructed based on the topological features corresponding to each causal indicator, and causal evolution reasoning is performed based on the topological feature dataset to obtain a set of causal evolution chains.
[0299] The frequency of occurrence of each causal index in the evolutionary chain is calculated based on the causal evolutionary chain set, and the frequency of occurrence of the evolutionary chain corresponding to each causal index is obtained.
[0300] Based on the frequency of occurrence, topological features, independent occurrence frequency, and co-occurrence frequency of each causative index in the evolution chain, a causative feature vector is constructed for each accident record in the historical accident record. The risk level of the accident record is used as the data label of the causative feature vector, resulting in a complete risk training dataset composed of multiple labeled causative feature vectors.
[0301] Based on the complete risk training dataset, the set of causal evolution chains, frequency data, and correlation data, the preset model is iteratively trained to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
[0302] Alternatively, in one possible implementation, the third processing module 603 is further configured to:
[0303] Based on the topological feature dataset and preset filtering rules, a set of core causal indicators composed of multiple core hub nodes is obtained.
[0304] Based on the core causal indicator set, the edge weight of each node in the weighted causal association network, and the preset association threshold, accident causal evolution reasoning is performed to obtain a set of causal evolution chains composed of multiple causal evolution chains.
[0305] Alternatively, in one possible implementation, the third processing module 603 is further configured to:
[0306] Using each core causal node in the core causal indicator set as the initial center, select first-level related nodes whose association weight reaches the preset association threshold.
[0307] Using the first-level associated node as the new center, select second-level associated nodes whose association weight reaches the preset association threshold, and extend outward layer by layer. When there are no nodes that meet the criteria, the iteration terminates, and the initial causal evolution chain set is obtained.
[0308] The initial set of causal evolution chains is constrained and corrected based on the structured causal dataset corresponding to historical accident records, resulting in a set of causal evolution chains that conforms to the laws of real accidents.
[0309] Alternatively, in one possible implementation, the third processing module 603 is further configured to:
[0310] The complete risk training dataset is normalized, and the independent risk contribution coefficients of each causative index are obtained through weighted iterative fitting. Based on the independent risk contribution coefficients and the causative category corresponding to each causative index, an accident risk prediction sub-model is trained. The accident risk prediction sub-model is used to perform pre-operation static risk prediction for power operations.
[0311] Based on the causal evolution chain set and the high-frequency causal coupling combination list in the associated data, the fault tree causal coupling logic is decomposed to obtain the fault tree causal coupling logic system and risk level judgment threshold standard.
[0312] Based on frequency data, the independent occurrence frequency of each causal indicator is determined, and the accident probability mapping sub-model and source tracing judgment rules are constructed by combining the co-occurrence correlation patterns of causal factors in the correlation data.
[0313] The risk assessment model is constructed by coupling and encapsulating the risk prediction sub-model, the fault tree causal coupling logic system, the risk level judgment threshold standard, the accident probability mapping sub-model, and the source tracing judgment rules.
[0314] The apparatus provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0315] Figure 7 A schematic diagram of the structure of the electronic device provided in this application. Figure 7 As shown, the electronic device provided in this embodiment includes at least one processor 701 and a memory 702. Optionally, the device further includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.
[0316] In the specific implementation process, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to execute the above-mentioned method for constructing the power safety risk assessment model.
[0317] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0318] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0319] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0320] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0321] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0322] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0323] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0324] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0325] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0326] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0327] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0328] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0329] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0330] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A method for constructing a power safety risk assessment model, characterized in that, include: A multi-dimensional causal system is constructed based on historical accident records of power operations, and frequency data and correlation data corresponding to each causal indicator in the multi-dimensional causal system are extracted. The frequency data includes the independent occurrence frequency and co-occurrence frequency of each causal indicator, and the correlation data includes the co-occurrence correlation pattern of causal factors and a list of high-frequency causal coupling combinations. Calculate the correlation weights between each causal indicator based on the frequency data, and construct a weighted causal correlation network based on the correlation weights and the correlation data. Based on the weighted causal correlation network, the causal evolution chain corresponding to power operations is extracted, and the preset model is iteratively trained by combining the weighted causal correlation network, the frequency data, and the correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
2. The method according to claim 1, characterized in that, The system constructs a multi-dimensional causative system based on historical accident records of power operations, and extracts frequency data and correlation data corresponding to each causative indicator in the multi-dimensional causative system, including: Based on the historical accident records of the power operation, multi-level indicators are extracted to obtain the multi-dimensional causal system. Based on the multi-dimensional cause system, each accident record in the historical accident record is subjected to cause index quantification processing to obtain the cause index quantification vector corresponding to each accident record. Based on the structured causal dataset composed of quantified vectors of causal indicators from each accident record, the independent occurrence frequency and co-occurrence frequency of each causal indicator are determined. Then, the correlation mining is performed on the structured causal dataset to obtain the causal co-occurrence correlation pattern and the list of high-frequency causal coupling combinations.
3. The method according to claim 2, characterized in that, The multi-dimensional causal system is obtained by extracting multi-level indicators based on historical accident records of the power operation, including: Obtain the original accident records corresponding to power operations, and perform data preprocessing on the original accident records to obtain standardized historical accident records; The historical accident records are subjected to open coding, and key causal concepts in the historical accident records are marked to obtain an initial causal set; Based on the initial causative set, a main axis coding is performed to obtain multiple core causative categories; Based on the core causal categories, selective coding is performed to filter out the central theme and construct a causal theoretical framework; the causal theoretical framework includes multiple causal categories and multiple initial causal indicators corresponding to each causal category; The saturation of the causal theory framework is verified by introducing reserved new accident samples. If new causal indicators or new causal categories not covered by the causal theory framework appear, they are added to the causal theory framework. If the new accident samples no longer generate new causal indicators or causal categories, it is determined that the causal theory framework has reached saturation, and a multi-dimensional causal system composed of multiple causal indicators is constructed based on the causal theory framework.
4. The method according to claim 2, characterized in that, The process of performing association mining on the structured causal dataset yields co-occurrence association patterns and a list of high-frequency causal coupling combinations, including: The quantization vector of a single causal indicator in the structured causal dataset is taken as an independent transaction, and the causal indicator with a value of 1 in the independent transaction is taken as a transaction item, so as to obtain the transaction item set corresponding to each independent transaction. Based on the transaction itemsets corresponding to each independent transaction, frequent itemsets are mined to obtain multiple initial cause combinations; the initial cause combination includes two cause indicators that appear simultaneously. Calculate the confidence and support for each initial cause combination, and filter the initial cause combinations based on a preset confidence threshold and a preset support threshold to obtain the list of high-frequency cause coupling combinations; The co-occurrence association law of causes is determined based on the confidence level and two causal indices corresponding to each high-frequency cause coupling combination in the list of high-frequency cause coupling combinations.
5. The method according to claim 1, characterized in that, The step of calculating the correlation weights between each causal indicator based on the frequency data, and constructing a weighted causal correlation network based on the correlation weights and the correlation data, includes: For any combination of two causal indicators, the correlation weight between the two causal indicators is calculated based on their independent occurrence frequency and their common occurrence frequency. Each causal indicator is used as a network node, each high-frequency causal coupling combination in the high-frequency causal coupling combination list in the associated data is used as a node edge, and the association weight between two causal indicators in the high-frequency causal coupling combination is used as the edge weight. Based on the network nodes, node edges and edge weights, the weighted causal association network is constructed.
6. The method according to claim 1, characterized in that, The step involves extracting the causal evolution chain corresponding to power operations based on the weighted causal association network, and iteratively training a preset model using the weighted causal association network, the frequency data, and the association data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents, including: Based on the weighted causal association network, the topological features of each node in the network are extracted, and the topological features are used as the topological features of the causal index corresponding to the node; the topological features include node degree, clustering coefficient, network diameter, average path length, and betweenness number. A topological feature dataset is constructed based on the topological features corresponding to each causal indicator, and causal evolution reasoning is performed based on the topological feature dataset to obtain a set of causal evolution chains. The frequency of occurrence of each causal index in the evolutionary chain is calculated based on the set of causal evolutionary chains, and the frequency of occurrence of the evolutionary chain corresponding to each causal index is obtained. Based on the frequency of occurrence, topological features, independent occurrence frequency, and co-occurrence frequency of each causative index in the evolutionary chain, a causative feature vector is constructed for each accident record in the historical accident records. The risk level of the accident record is used as the data label of the causative feature vector to obtain a complete risk training dataset composed of multiple labeled causative feature vectors. Based on the complete risk training dataset, the causal evolution chain set, the frequency data, and the correlation data, the preset model is iteratively trained to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
7. The method according to claim 6, characterized in that, The causal evolutionary inference based on the topological feature dataset, resulting in a set of causal evolutionary chains, includes: Based on the aforementioned topological feature dataset and preset filtering rules, a set of core causal indicators composed of multiple core hub nodes is obtained. Based on the core causal indicator set, the edge weight of each node edge in the weighted causal association network, and the preset association threshold, accident causal evolution reasoning is performed to obtain the causal evolution chain set composed of multiple causal evolution chains.
8. The method according to claim 7, characterized in that, The process involves performing accident causation evolution reasoning based on the core causation index set, the edge weights of each node in the weighted causation association network, and a preset association threshold, resulting in a set of causation evolution chains composed of multiple causation evolution chains, including: Using each core causal node in the core causal index set as the initial center, first-level associated nodes whose association weight reaches the preset association threshold are selected. Using the first-level associated node as the new center, select second-level associated nodes whose association weight reaches the preset association threshold, and extend outward layer by layer. When there are no nodes that meet the criteria, terminate the iteration to obtain the initial causal evolution chain set. The initial causal evolution chain set is constrained and corrected based on the structured causal dataset corresponding to historical accident records to obtain a causal evolution chain set that conforms to the laws of real accidents.
9. The method according to claim 6, characterized in that, The step of iteratively training a preset model based on the complete risk training dataset, the causal evolution chain set, the frequency data, and the correlation data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents includes: The complete risk training dataset is normalized, and the independent risk contribution coefficient of each causative index is obtained through weighted iterative fitting. Based on the independent risk contribution coefficient and the causative category corresponding to each causative index, an accident risk prediction sub-model is trained. The accident risk prediction sub-model is used to perform pre-operation static risk prediction for power operations. Based on the set of cause evolution chains and the list of high-frequency cause coupling combinations in the associated data, the fault tree cause coupling logic is decomposed to obtain the fault tree cause coupling logic system and risk level judgment threshold standard. Based on the frequency data, the independent occurrence frequency of each causal indicator is determined, and the accident probability mapping sub-model and the source tracing judgment rules are constructed by combining the causal co-occurrence correlation rules in the correlation data. The risk assessment model is constructed by coupling and encapsulating the risk prediction sub-model, the fault tree causal coupling logic system, the risk level judgment threshold standard, the accident probability mapping sub-model, and the source tracing judgment rules.
10. A device for constructing a power safety risk assessment model, characterized in that, include: The first processing module is used to construct a multi-dimensional causal system based on historical accident records of power operations, and extract frequency data and correlation data corresponding to each causal indicator in the multi-dimensional causal system; the frequency data includes the independent occurrence frequency and co-occurrence frequency of each causal indicator, and the correlation data includes the causal co-occurrence correlation pattern and the high-frequency causal coupling combination list; The second processing module is used to calculate the correlation weights between each causal index based on the frequency data, and to construct a weighted causal correlation network based on the correlation weights and the correlation data. The third processing module is used to extract the causal evolution chain corresponding to the power operation based on the weighted causal association network, and to iteratively train the preset model by combining the weighted causal association network, the frequency data, and the association data to obtain a risk assessment model suitable for the coupled evolution characteristics of power accidents.
