Electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network

Through the combination of fuzzy comprehensive evaluation and BP neural network, an electrical fire risk assessment system is constructed, which solves the problems of cumbersome assessment process and information loss in the existing technology, and achieves dynamic real-time assessment of electrical fire risks and high-accuracy assessment effects.

CN118569631APending Publication Date: 2024-08-30SICHUAN FIRE RES INST OF MEM
View PDF 0 Cites 15 Cited by

Patent Information

Application Number
CN202410569454.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-09
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing electrical fire risk assessment methods have problems such as cumbersome assessment process, loss of information, unreliable assessment results, and difficulty in achieving dynamic real-time warning, especially when electrical and other parameters change rapidly.

Method used

An electrical fire risk assessment system is constructed using a method based on fuzzy comprehensive evaluation and BP neural network. Dynamic weights are determined through the analytic hierarchy process and entropy weight method. Electrical fire risk assessment is carried out by combining the membership matrix and BP neural network model to achieve real-time risk assessment. .

Benefits of technology

It improves the accuracy and reliability of electrical fire risk assessment, can effectively assess electrical fire risk status in low-voltage distribution systems, and meets the actual needs of the power industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569631A
    Figure CN118569631A
Patent Text Reader

Abstract

The invention relates to the technical field of fire risk assessment, and discloses an electrical fire risk assessment method based on a fuzzy comprehensive evaluation-BP neural network. An electrical fire risk assessment system and a comment set are constructed, a BP neural network model based on fuzzy comprehensive evaluation is established, the assessment model is based on the electrical fire risk assessment system, a related membership function is established, and a data set of electrical fire risk assessment is obtained in combination with a dynamic weight and fuzzy comprehensive evaluation. And then performing model training by using a BP neural network to realize real-time risk assessment of the electrical fire. According to the method, the risk state of the electrical fire of the low-voltage power distribution system can be effectively evaluated, high evaluation accuracy can be achieved, actual standards and requirements of the power industry are met, and the method has high use value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fire risk assessment, and in particular to an electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network. Background Art

[0002] With the rapid development of science and technology, electricity has been increasingly used in social life, making people's lives more convenient and faster. People are increasingly dependent on electricity. In the past decade, my country's power generation has continued to grow. According to relevant data, my country's annual power generation has already ranked first in the world. In modern buildings, daily power supply lines and communication lines are installed in a concealed manner. Building lighting fixtures, central air conditioners and other electrical equipment are often embedded in interior panels. When the current carrying capacity of the distribution line exceeds the prescribed requirements for a long time, the transmission line is neglected for a long time, the insulation is aged, and the terminal blocks fall off, etc., electrical fires may occur, causing property losses or casualties. The risk of electrical fires has always existed and the hidden dangers are becoming increasingly prominent. Therefore, it is necessary to conduct risk assessments on electrical fires.

[0003] Common methods for electrical fire risk assessment include AHP method and Bayesian method, which mainly conduct relevant research on building electrical fires. For example, Zheng Tianfang et al. proposed a high-rise building electrical fire risk assessment method based on AHP-entropy weight method, in view of the fact that there are few quantitative assessment studies on electrical fire risks in high-rise buildings, the single analytic hierarchy process (AHP) is subject to subjective factors, and the evaluation results have certain deviations. Ma Zichao et al. proposed an electrical fire risk assessment method based on hierarchical entropy and radar chart. First, the weights of each evaluation index were determined by analytic hierarchy process and expert consultation method, and then the weights were corrected by entropy weight method to obtain relatively accurate index weights, and the electrical fire risk of a large shopping mall was evaluated. Su Lei et al. obtained the electrical fire risk assessment index system by consulting electrical fire data and expert evaluation opinions using the improved Delphi method. Then, the interval analytic hierarchy process was used to determine the weight coefficient of the electrical fire risk index of high-rise buildings, and finally the interval TOPSIS method was combined to rank the risk index factors. Due to the complex relationship between the risk factors of electrical fires, some of the assessment models constructed in the above studies have problems such as cumbersome assessment process and information loss, resulting in unreliable assessment results. In addition, most of the above studies are static risk assessments. For electrical fires, electrical and other parameters will change continuously, so dynamic risk assessment must be done to achieve real-time warning.

[0004] With the advent of the big data era, neural network models have been well applied in many fields. BP neural network is an algorithm widely used to train feedforward neural networks. The algorithm was first proposed in the 1960s, that is, to effectively train neural networks through the chain rule. In the field of risk assessment, more and more scholars have applied models such as BP neural network to risk assessment. Compared with other neural network models, BP neural network is a fully connected feedforward neural network, and each neuron is connected to all neurons in the previous layer. This fully connected structure enables BP neural network to capture the complex relationship between input features and is suitable for risk assessment tasks that comprehensively evaluate multiple input variables. In addition, BP neural network has strong adaptability and can fit nonlinear relationships. This is very beneficial for modeling nonlinear and complex risk features in risk assessment. At the same time, its network structure and hyperparameters can be adjusted relatively easily to adapt to different risk assessment scenarios. It can be flexibly designed and tuned according to the characteristics of the problem. Compared with some complex deep learning models, BP neural network is relatively simple, and its training process and weight adjustment are easier and more feasible. However, in actual risk assessment applications, it is very difficult to obtain a large number of indicators and risk data, but the training of neural networks requires data samples as learning.

[0005] Fuzzy comprehensive evaluation method is a comprehensive evaluation method based on fuzzy mathematics. This comprehensive evaluation method transforms qualitative evaluation into quantitative evaluation according to the membership theory of fuzzy mathematics, that is, it uses fuzzy mathematics to make an overall evaluation of things or objects that are constrained by multiple factors. It has the characteristics of clear results and strong systematicity, and can better solve fuzzy and difficult to quantify problems. Through fuzzy comprehensive evaluation, risk assessment of electrical fires can obtain training data for neural networks and solve the problem of difficulty in obtaining BP neural network data sets. Summary of the invention

[0006] In view of the above problems, the purpose of the present invention is to provide an electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network, which can effectively assess the risk status of electrical fires in low-voltage power distribution systems, achieve a high assessment accuracy, meet the actual standards and requirements of the power industry, and have great use value. The technical solution is as follows:

[0007] An electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network includes the following steps:

[0008] Step 1: Build an electrical fire risk assessment system

[0009] An electrical fire risk assessment system is constructed based on typical electrical fire faults, including a target layer and two levels of evaluation indicators: primary indicators and secondary indicators. The target layer is the electrical fire risk status. The primary indicators include three evaluation indicators: electrical parameter A1, environmental factor A2, and spatial factor A3. The secondary indicators are characteristic parameters under each primary indicator. The gth primary indicator is marked as Ag, g = 1, 2, 3. The hth secondary indicator under the gth primary indicator Ag is marked as Agh.

[0010] Step 2: Create a risk profile

[0011] The risk status of electrical fire is classified into different levels, and the risk status and evaluation results of the corresponding risk levels are determined to form a risk evaluation set V = {v1, v2, v3, v4, v5} for each risk level;

[0012] Step 3: Determine the dynamic weight of the evaluation index

[0013] The subjective weight of the evaluation index is determined by the hierarchical analysis method, and the objective weight of the evaluation index is determined by the entropy weight method. The static weight is formed by combining the subjective weight vector and the objective weight vector; for the secondary index, dynamic weighting is performed on the basis of the static weight; the dynamic weighting is to set the warning value according to the established risk evaluation set, and adjust the weight values ​​of the abnormal index exceeding the warning value and the weight value not exceeding the warning value respectively to obtain the dynamic weight;

[0014] Step 4: Create a membership matrix

[0015] According to the specifications and standards of electrical lines, the quantitative indicators are divided into risk intervals; for qualitative indicators, each risk level is quantified into an interval range value of [0, 1], and the risk status of the qualitative indicators is scored; a membership function combining triangular fuzzy and trapezoidal fuzzy is established; the interval range value is substituted into the membership function, and the membership vector of a certain parameter of the secondary indicator Agh under each primary indicator Ag belonging to the risk evaluation set V is calculated, and the h membership vectors of the secondary indicator Agh are combined to form a membership matrix Rg of size h×5;

[0016] Step 5: Obtain a risk assessment data set for electrical fire risk assessment;

[0017] Select the indicator data when the electrical fire occurs, and perform a single fuzzy evaluation on the selected indicator data to obtain the electrical fire risk level; based on the membership matrix, combine the different working condition parameter values ​​of the indicators and the dynamic weight strategy to repeat the fuzzy comprehensive evaluation multiple times; organize the evaluation results to form a readable risk assessment data set;

[0018] Step 6: Use the improved BP neural network to establish an electrical fire risk assessment model. Set the number of nodes in the input layer, hidden layer, and output layer according to the electrical fire risk assessment system. Divide the risk assessment data set into a training set and a test set. Use the training set as input data to train the model, and then input the test set into the trained model to obtain the risk assessment results.

[0019] Furthermore, in step 3, determining the subjective weight Wai of the evaluation index by using the hierarchical analysis method specifically includes:

[0020] Step 311: Construct judgment matrix B

[0021] The importance of risk level related factors is expressed by the judgment matrix. For the first-level indicator Ag, its corresponding second-level indicators are Ag1, Ag2, ..., Agh. Since each second-level indicator has an impact on the first-level indicator Ag, the second-level indicators Agi and Agj are compared and judged pairwise based on the degree of impact on the first-level indicator Ag, i = 1, 2, .... h, j = 1, 2, .... h; the judgment matrix B obtained according to the 1-9 scaling method is as follows:

[0022]

[0023] In the formula, bij is the expert score, i = 1, 2, .... h, j = 1, 2, .... h; h is the number of secondary indicators corresponding to the primary indicator Ag;

[0024] Step 312: Determine the weight of the judgment matrix

[0025] The hierarchical structure of the analysis process is used to obtain the weights of all evaluation indicators. The subjective weights of the evaluation indicators are determined by the square root method. The specific steps are as follows:

[0026] Calculate the product of all elements in each row of the judgment matrix:

[0027]

[0028] Find the hth root Mi of the product Ci:

[0029]

[0030] Normalize the vector M = (M1, M2…Mh) composed of Mi:

[0031]

[0032] get:

[0033] Wa=(Wa1, Wa2…Wah)

[0034] Where Wai is the subjective weight value of the i-th secondary indicator under the primary indicator Ag; Wa is the subjective weight vector composed of the subjective weights of all secondary indicators under the primary indicator Ag;

[0035] Step 313: Perform consistency check of hierarchical single sorting:

[0036] First, find the maximum characteristic root of the judgment matrix B:

[0037]

[0038] Where BWa is the product of the judgment matrix B and the subjective weight vector Wa; (BWa)i is the i-th component of BWa;

[0039] Secondly, calculate the consistency index CI:

[0040]

[0041] Then find the consistency ratio CR:

[0042]

[0043] In the formula, RI is the expected random consistency index, which is obtained by looking up the table;

[0044] Finally, a consistency test is performed: if the value of the consistent row ratio CR is lower than 0.1, it means that the matrix B has reliable consistency; if it does not meet the consistency test, the expert score value is adjusted until it meets the requirements.

[0045] Furthermore, in step 3, the objective weight Wbi of the evaluation index is determined by using the entropy weight method, which specifically includes:

[0046] Step 321: Construct judgment matrix B

[0047] The importance of risk level related factors is represented by the judgment matrix B. For the first-level indicator Ag, its corresponding second-level indicators are Ag1, Ag2, ..., Agh. Since each second-level indicator has an impact on the first-level indicator Ag, the second-level indicators Agi and Agj are compared and judged pairwise based on the degree of impact on the first-level indicator Ag, i = 1, 2, .... h, j = 1, 2, .... h; the judgment matrix B obtained according to the 1-9 scaling method is as follows:

[0048]

[0049] In the formula, bij is the expert score, i = 1, 2, .... h, j = 1, 2, .... h; h is the number of secondary indicators corresponding to the primary indicator Ag;

[0050] Step 322: Normalize the scores of each expert:

[0051]

[0052] Where Pij is the normalized result;

[0053] Step 323: Determine the entropy value Ei of the i-th secondary indicator:

[0054]

[0055] Step 324: Normalize the entropy value:

[0056] The maximum entropy using all indices is:

[0057] The entropy weight ei of all indices is:

[0058]

[0059] Step 325: Calculate the difference coefficient Hi of the evaluation index:

[0060] Hi=1-ei

[0061] Step 326: Calculate the objective weight Wbi of the evaluation index according to the difference coefficient:

[0062]

[0063] have to:

[0064] Wb=(Wb1,Wb2…Wbh)

[0065] Where Wbi is the objective weight of the i-th secondary indicator under the primary indicator Ag, and Wb is the objective weight vector composed of the objective weights of all secondary indicators under the primary indicator Ag.

[0066] Furthermore, in step 3, the subjective weight Wai and the objective weight Wbi are combined to form a static weight Wci, specifically:

[0067] According to the principle of minimum information entropy, the weight combination formula is obtained using the Lagrange multiplier method:

[0068]

[0069] Wc=(Wc1,Wc2…Wch)

[0070] Where, Wci is the static weight value of the i-th secondary indicator Agi under the primary indicator Ag, and Wc is the static weight vector composed of the static weights of all secondary indicators under the primary indicator Ag;

[0071] Similarly, experts score the first-level indicators to form a judgment matrix, and then determine the subjective weights and objective weights. The static weights are formed through the Lagrange multiplier method to obtain the static weight vector (W1, W2, W3) composed of the static weights of the first-level indicators.

[0072] Furthermore, in step 3, dynamic weighting is performed based on the static weight Wci, specifically:

[0073] Step 331: The weight value of the i-th secondary indicator Agi under the primary indicator Ag that exceeds the warning value is adjusted to:

[0074]

[0075] Where, Wdi is the dynamic weight of the i-th secondary indicator Agi; Wci is the static weight of the abnormal i-th secondary indicator Agi; Wk is the static weight of all abnormal secondary indicators; S is the set of abnormal secondary indicators;

[0076] Step 332: The weight value of the j-th secondary index Agj within the normal range T under the primary index Ag is adjusted to:

[0077]

[0078] Where, Wdj is the dynamic weight of the j-th secondary indicator Agj; Wcj and Wo are the static weights of the normal j-th secondary indicator Agj and all normal secondary indicators respectively; T is the set of normal secondary indicators;

[0079] Step 333: For the static weight of the indicator whose static weight is less than the preset value but whose risk exceeds the expected value when the indicator parameter mutates, that is, the static weight Wcp of the p-th secondary indicator Agp is adjusted to:

[0080]

[0081] In the formula, Wdp is the dynamic weight value of the pth secondary indicator Agp, x is the monitoring value of the indicator, α is the upper limit value of the risk level V1, and β is the correction factor;

[0082] Step 334: The dynamic weights of the secondary indicators determined in steps 331, 332 and 333 form a dynamic weight vector Wd composed of the dynamic weights of all secondary indicators under the primary indicator Ag:

[0083] Furthermore, in step 2, the risk status of electrical fire is divided into five levels, from low to high, namely healthy, normal, abnormal, risk, and alarm, which are expressed in the form of a risk evaluation set: V = {v1, v2, v3, v4, v5};

[0084] In step 4, the membership interval and corresponding membership function of the risk evaluation set of each risk level are:

[0085] 1)v1∈[μ1,μ2)

[0086]

[0087] 2)v2∈[μ2,μ4)

[0088]

[0089] 3)v3∈[μ4,μ6)

[0090]

[0091] 4)v4∈[μ6,μ8)

[0092]

[0093] 5)v5∈[μ8,μ9)

[0094]

[0095] Where A(x) represents the membership function, x is the monitoring value of the quantitative indicator or the scoring value of the qualitative indicator, μ1 is the lower limit of the risk assessment set v1, μ2 is the upper limit of the risk assessment set v1 and the lower limit of v2, μ4 is the upper limit of the risk assessment set v2 and the lower limit of v3, μ6 is the upper limit of the risk assessment set v3 and the lower limit of v4, μ8 is the upper limit of the risk assessment set v4 and the lower limit of v5, μ9 is the upper limit of the risk assessment set v5; μ3 is the average value of μ2 and μ4, μ5 is the average value of μ4 and μ6, and μ7 is the average value of μ6 and μ8; k2, k3 and k4 are simplified coefficients, and their values ​​are as follows:

[0096]

[0097]

[0098]

[0099] Through the above process, we can obtain the membership vector of the secondary indicator Agh corresponding to the primary indicators A1, A2, A3 belonging to the risk level {v1, v2, v3, v4, v5}, and then combine the membership vectors of Agh to form the membership matrices R1, R2, R3.

[0100] Furthermore, in step 5, the evaluation results are obtained through fuzzy comprehensive evaluation to form a risk assessment data set, and the specific steps are as follows:

[0101] Step 511: Calculate the comprehensive evaluation vector of the secondary index:

[0102]

[0103] In the formula, is a fuzzy comprehensive operator, which is called a fuzzy operator in fuzzy mathematics; Rg is the membership matrix formed by the combination of the membership vectors of the secondary index Agh under the primary index Ag; (Wd1, Wd2…Wdh) is the weight vector of the secondary index under the primary index Ag;

[0104] Step 512: Combine Qg to form a comprehensive evaluation matrix Q of the secondary indicators, where Q is a 3×5 matrix; then calculate the comprehensive evaluation vector of the primary indicators:

[0105]

[0106] Where, O is the risk vector of the electrical fire risk assessment result; the maximum membership principle is used to obtain the risk level of electrical fire;

[0107] Step 513: Maximum membership validity judgment:

[0108]

[0109]

[0110] In the formula, max{Oi} and sec{Oi} represent the first and second largest membership values ​​in the evaluation results, respectively; β0 and γ0 represent the proportion of the maximum membership value and the second largest membership value in the evaluation results to the total membership value;

[0111] Step 514: Calculate the maximum membership validity δ:

[0112]

[0113] When δ is less than 0.5, the confidence criterion is used to evaluate the risk level:

[0114]

[0115] In the formula, a is the confidence level, v1, v2…v5 is the risk level evaluation set, u x (v j ) is the first-level indicator Ag belongs to v j Furthermore, in step 6, a BP neural network model is established to perform model training on the data of the fuzzy comprehensive evaluation result:

[0116] Step 611: Determine the BP neural network structure:

[0117] The number of input layer nodes is set to the number of secondary indicators c1 = 15;

[0118] The number of nodes in the output layer is set to the number of risk levels c3 = 5;

[0119] The number of hidden layer nodes c2 is set by the empirical formula:

[0120]

[0121] In the formula, a1 is a constant between 1 and 10;

[0122] Step 612: Divide the data set:

[0123] 80% of the fuzzy comprehensive evaluation data are used as training sets, and 20% as validation sets;

[0124] Step 613: Design of other hyperparameters:

[0125] The initial weights are initialized using Xavier to set the weights of the neural network; the sigmoid function is selected as the activation function; the cross entropy is used as the loss function to calculate the loss; the adaptive learning rate Adam algorithm is used to continuously adjust the learning rate to control the convergence speed and stability of the model; during the training process, the validation set is used for validation at the same time. When the performance on the validation set no longer improves or begins to decline, the training is stopped to prevent overfitting and avoid training the network too much on the training set;

[0126] Step 614: Real-time risk prediction:

[0127] In the actual operation of electrical lines, the parameter values ​​of the secondary indicators are collected and input into the trained BP neural network model to conduct real-time risk assessment of electrical fires.

[0128] The beneficial effects of the present invention are as follows: in order to effectively evaluate the risk status of electrical fires in low-voltage power distribution systems, the present invention establishes a BP neural network model based on fuzzy comprehensive evaluation according to expert experience and the real-time status of monitoring parameters. The evaluation model is based on the electrical fire risk evaluation system, establishes relevant membership functions, combines dynamic weights and fuzzy comprehensive evaluation to obtain a data set for electrical fire risk evaluation, and then uses the BP neural network for model training to realize real-time risk evaluation of electrical fires, and has a high evaluation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0129] Figure 1 It is the overall structure diagram of the electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network of the present invention.

[0130] Figure 2 It is the membership function distribution diagram.

[0131] Figure 3 This is the structural diagram of the BP neural network of the present invention.

[0132] Figure 4 This is the accuracy graph of the BP neural network training results.

[0133] Figure 5 This is the loss value diagram of the BP neural network training results. DETAILED DESCRIPTION

[0134] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0135] The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network of the present invention is as follows: Figure 1 As shown, it includes risk assessment system and fuzzy comprehensive evaluation-BP neural network risk estimation model. The specific implementation process is as follows:

[0136] 1. Fuzzy comprehensive evaluation method

[0137] The present invention considers calculating the results of four fuzzy operators of the fuzzy comprehensive evaluation method at the same time, and finally selects the one with the greatest effectiveness as a reference. By dynamically adjusting the weights and selecting different fuzzy operators, the abnormal information of the index parameters can be fully highlighted.

[0138] 2. Determination of the electrical fire risk assessment system

[0139] Establishing factor set: Evaluating factor set is how to establish evaluation system. The evaluation system is directly related to the accuracy of evaluation results. The present invention follows the five principles of scientificity, objectivity, systematicity, operability and dynamism when constructing the electrical fire risk evaluation index system.

[0140] In the risk status assessment of electrical fires, some of the monitored data often only reflect the risk status of a certain aspect, that is, the monitoring of certain characteristic parameters has its advantages and limitations in reflecting the risk status of the entire system, and the operating status of the entire electrical circuit cannot be reflected by a single monitoring indicator. Therefore, the present invention targets typical electrical fire faults, combines expert experience and other factors for comprehensive consideration, and selects 15 representative and partially measurable characteristic parameters from three aspects: electrical parameters, environmental factors, and spatial factors as the indicator layer for electrical fire risk assessment; the 15 indicators form three criterion layers of electrical parameters, environmental factors, and spatial factors; the target layer is the electrical fire risk status. The constructed electrical fire risk assessment system is shown in Table 1 below:

[0141] Table 1 Electrical fire risk assessment system

[0142]

[0143] 3. Creation of comment collection

[0144] In the present invention, the risk status of electrical fire is divided into 5 levels, from low to high, healthy, normal, abnormal, risk, and alarm, which are expressed in the form of a set V = {v1, v2, ..., vn}. The risk status and evaluation results of the corresponding levels are shown in Table 2 below:

[0145] Table 2 Risk assessment review set

[0146]

[0147] 4. Determination of weights

[0148] The weight of an indicator is defined as a numerical value that can reflect the importance of the indicator to the factors to which it belongs at the same level. When the weight of an indicator is relatively large, it means that the influence of the indicator on the evaluation result is greater. Whether the evaluation result is reasonable and whether the output evaluation data is accurate are all affected by the indicator weight. Therefore, in the entire evaluation process, it is very important to determine the indicator weight.

[0149] 4.1 AHP ​​weighting

[0150] (1) Constructing a judgment matrix

[0151] The strength of each factor on each index at each coefficient level is different, and the strength of each factor and the influence of each sub-goal on the higher factor are also different. The principle of classifying the index in the hierarchical analysis method is to use the judgment matrix to represent the importance of the relevant factors of the level. Let this judgment matrix be B, the first-level index Ag has h elements, namely Ag1, Ag2, Ag3....., Agh, and each element has an impact on the evaluation object Ag. Experts make pairwise judgments and comparisons on the elements Agi and Agj (i=1,2,....h, j=1,2,....h) based on the degree of influence on the target layer Ag. The judgment matrix B obtained according to the "1-9 scaling method" is as follows:

[0152]

[0153] The present invention adopts a nine-point scoring principle, and the AHP scale quantification values ​​are shown in Table 3.

[0154] Table 3 Description of the quantitative values ​​of AHP scale

[0155]

[0156] (2) Determine the weight of the judgment matrix

[0157] The hierarchical structure of the analysis process can be used to obtain the weights of all indicators through several methods. The present invention uses the square root method as an example to determine the indicator weights, and the steps are as follows:

[0158] Calculate the product of all elements in each row of the matrix, that is

[0159]

[0160] Wherein, h=1, 2, 3, ...., n, the same below;

[0161] Find the hth root Mi of Ci:

[0162]

[0163] Normalize the vector M = (M1, M2…Mh) composed of Mi

[0164]

[0165] have to:

[0166] Wa=(Wa1, Wa2…Wah)

[0167] Where Wai is the subjective weight of the i-th secondary indicator under the primary indicator Ag; Wa is the subjective weight vector composed of the subjective weights of all secondary indicators under the primary indicator Ag.

[0168] Perform consistency check of hierarchical single sorting:

[0169] First, find the maximum characteristic root of the judgment matrix B:

[0170]

[0171] Where BWa is the product of the judgment matrix B and the subjective weight vector Wa; (BWa)i is the i-th component of BWa;

[0172] Secondly, calculate the consistency index CI:

[0173]

[0174] Then find the consistency ratio CR:

[0175]

[0176] In the formula, RI is the expected random consistency index, which is obtained by looking up the table;

[0177] Finally, a consistency test is performed: if the value of the consistent row ratio CR is less than 0.1, it means that the judgment matrix B has reliable consistency; if it does not meet the consistency test, the score is adjusted until it meets the requirements;

[0178] 4.2 Entropy Weight Method

[0179] (1) Construct judgment matrix B

[0180]

[0181] (2) Each score value is normalized, and the normalization calculation formula is:

[0182]

[0183] (3) Determination of the entropy value of the i-th indicator:

[0184]

[0185] (4) Normalize the entropy value. This normalization requires using the maximum entropy value that matches all exponentials. Second, the entropy weights of all indices are:

[0186]

[0187] (5) The coefficient of variation of the evaluation index is:

[0188] Hi=1-ei

[0189] (6) The entropy weight of the evaluation index is calculated based on the difference coefficient:

[0190]

[0191] get:

[0192] Wb=(Wb1,Wb2…Wbh)

[0193] Where Wbi is the objective weight of the i-th secondary indicator under the primary indicator Ag, and Wb is the objective weight vector composed of the objective weights of all secondary indicators under the primary indicator Ag.

[0194] 4.3 Combination weighting

[0195] The static weight vector Wc is composed of the subjective weight vector Wa obtained by the AHP method and the objective weight vector Wb obtained by the entropy weight method. It not only takes into account the human factors caused by subjective evaluation, but also makes full use of the objectivity of the data. In terms of size, Wc, Wa and Wb should be as close as possible. Therefore, according to the principle of minimum information entropy, the weight combination formula can be obtained using the Lagrange multiplier method:

[0196]

[0197] Wc=(Wc1,Wc2…Wch)

[0198] Where Wci is the static weight value of the i-th secondary indicator Agi under the primary indicator Ag, and Wc is the static weight vector composed of the static weights of all secondary indicators under the primary indicator Ag.

[0199] 4.4 Dynamic Weighting

[0200] During the dynamic evaluation process, the parameters of the indicators will continue to change. Therefore, it is necessary to consider the changes in the overall impact when the parameters change. Therefore, the present invention proposes to dynamically adjust the weights, and dynamically weight the dynamic weights Wd based on the above static combined weights. Using the above comment set, the upper limit value of the parameter exceeding the v1 interval is set as the warning value. When the detection value of a certain parameter exceeds the warning value, its importance in assessing the risk level should be appropriately increased. The weight value of the abnormal indicator that exceeds the warning value is adjusted, that is,

[0201] Wdi=Wci+(1-∑ k∈S Wk)Wci

[0202] =2Wci-∑ k∈S Wlq

[0203] Where Wdi is the dynamic weight of the i-th secondary indicator Agi; Wci is the static weight of the abnormal i-th secondary indicator Agi; Wk is the static weight of all abnormal secondary indicators; S is the set of abnormal secondary indicators.

[0204] The weight value of the j-th secondary indicator Agj within the normal range T under the primary indicator Ag is adjusted to:

[0205] Wdj=Wcj-(1-∑ o∈T Wo)Wcj

[0206] =∑ o∈T WOW

[0207] Where Wdj is the dynamic weight of the j-th secondary indicator Agj; Wcj and Wo are the static weights of the normal j-th secondary indicator Agj and all normal secondary indicators respectively; T is the set of normal secondary indicators.

[0208] The above weighting method is universal for most indicators. However, for some small indicators such as voltage, the change within a certain range has little impact on the risk. Once it exceeds a certain value, the risk will increase greatly. Therefore, for some indicators with relatively small initial weights but sudden changes that will cause a sharp increase in risk, consider using the following method for dynamic weighting:

[0209]

[0210] Where Wdp is the dynamic weight value of the pth secondary indicator Agp, x is the monitoring value of the indicator, α is the upper limit value of the risk level V1, and β is the correction factor.

[0211] According to the above dynamic weighting method, the dynamic weight vector Wd composed of the dynamic weights of all secondary indicators under the first-level indicator Ag is:

[0212] Wd=(Wd1,Wd2…Wdh)

[0213] Repeat the process of determining the weights of the secondary indicators, and also conduct expert scoring on the primary indicators to form a judgment matrix, and then determine the subjective weight and objective weight. The static weight is formed by the Lagrange multiplier method, which is the weight vector (W1, W2, W3) of the primary indicator. Compared with the determination of the weights of the secondary indicators, the dynamic weighting step is not required.

[0214] 5. Establish membership function

[0215] According to relevant Chinese standards and the experience of industry experts, the parameter ranges of various quantitative evaluation indicators under different status levels are listed, as shown in Table 4 below:

[0216] Table 4 Quantitative index membership interval division

[0217]

[0218]

[0219] For quantitative indicators with specific values, the risk matrix can be directly calculated through the corresponding membership function. However, for qualitative indicators in the electrical fire risk assessment system, the risk size itself is fuzzy and cannot be quantified. Therefore, it is necessary to adopt corresponding methods to quantify the qualitative indicators so that they can be applied to membership function calculation. For qualitative indicators, the present invention quantifies five risk levels into interval values ​​of [0, 1], where v1∈[0, 0.2), v2∈[0.2, 0.4), v3∈[0.4, 0.6), v4∈[0.6, 0.8), v5∈[0.8, 1), and then the personnel score the risk status of the qualitative indicators.

[0220] There are many methods for determining the membership function. The present invention adopts a membership function that combines a trapezoidal function with a triangular row function. The calculation is simple and convenient, and meets the needs of actual use. Figure 2 shown.

[0221] Assuming the critical values ​​of the intervals for each indicator in the five risk levels, the specific corresponding relationships are shown in Table 5.

[0222] Table 5 Interval critical values ​​of each indicator in five risk levels

[0223] Comments <![CDATA[v1]]> <![CDATA[v2]]> <![CDATA[v3]]> <![CDATA[v4]]> <![CDATA[v5]]> parameter [μ1, μ2) [μ2, μ4) [μ4, μ6) [μ6, μ8) [μ8, μ9)

[0224] Figure 2 The values ​​of μ3, μ5, and μ7 are:

[0225]

[0226]

[0227]

[0228] according to Figure 2 Based on the membership function distribution diagram in, the membership functions corresponding to each risk level are designed as shown in Table 6 below:

[0229] Table 6 Parameter ranges of each indicator corresponding to the comment set

[0230]

[0231] The values ​​of k2, k3, and k4 in Table 6 are:

[0232]

[0233]

[0234]

[0235] Combining the interval reference values ​​of the risk levels of each indicator in Table 5 and the membership function expression in Table 6, the specific membership vector of the corresponding comment set of each secondary evaluation indicator corresponding parameter in the comprehensive evaluation indicator system can be obtained.

[0236] 6. Fuzzy comprehensive evaluation

[0237] Suppose the membership matrices composed of the secondary index membership vectors are R1, R2, and R3 respectively;

[0238] Calculate the comprehensive evaluation vector of the secondary indicators:

[0239]

[0240] In the formula, It is a fuzzy comprehensive operator, which is called a fuzzy operator in fuzzy mathematics; Rg is the membership matrix formed by the membership vector combination of the secondary indicator Agh under the primary indicator Ag; (Wd1, Wd2…Wdh) is the weight vector of the secondary indicator under the primary indicator Ag.

[0241] The weighted average fuzzy operator can objectively reflect the effects of all indicators on risk, retain all information of the original data, and avoid data loss. It is a fuzzy operator suitable for the present invention.

[0242] After obtaining the comprehensive judgment matrix Q = (Q1, Q2, Q3) of the secondary indicators, calculate the comprehensive evaluation vector of the primary indicators:

[0243]

[0244] After obtaining the risk vector O of the electrical fire risk assessment result, the maximum membership principle is used to obtain the risk level of the electrical fire.

[0245] In actual application, this comprehensive evaluation principle makes numerical choices for the results of fuzzy operations, resulting in data information loss, making the evaluation results inconsistent with the actual situation of risk assessment. Based on the drawbacks of the maximum membership principle, the weighted average comprehensive evaluation principle is proposed. This principle is to perform weighted operations on the comprehensive values ​​calculated based on matrix multiplication of membership and weight coefficient to determine the level of risk, so that the original and process data can be fully retained, information loss can be avoided, and it is more sensitive to high-risk states. Specifically, the risk level is regarded as a continuous relative position, and the values ​​{1, 2, 3, 4, 5} are used to represent the risk levels {v1, v2, v3, v4, v5} respectively. These values ​​are the ranks of each risk level; then each evaluation result and the rank of each risk level are weighted to obtain the relative position of the evaluation object.

[0246]

[0247] 7. Discussion on the validity of the maximum membership principle

[0248] After the comprehensive evaluation results are obtained, the maximum membership principle is used to select the grade corresponding to the maximum membership value as the final comprehensive evaluation grade. This method is simple to calculate and easy to understand, but it is also easy to lose information. Therefore, it is necessary to verify the effectiveness of the maximum membership of the comprehensive evaluation results.

[0249]

[0250]

[0251] Among them, sec{Oi} represents the second largest membership value in the evaluation result, β0 and γ0 represent the proportion of the maximum membership value and the second largest membership value in the evaluation result to the total membership value, respectively.

[0252] Table 7 shows the basic relationship between the δ value and the effectiveness of the maximum membership principle. It can be seen that the larger the δ value, the more effective the final evaluation result is determined by the maximum membership principle.

[0253] Table 7 Correspondence between the effectiveness of the maximum membership principle and the δ value

[0254]

[0255]

[0256] It can be seen from the maximum membership principle validity δ value that when it is less than 0.5, the evaluation result has lost its effect. However, in the actual evaluation process, it is inevitable that δ is less than 0.5, and the method needs to be improved accordingly. The present invention considers using the confidence criterion to evaluate the risk level:

[0257]

[0258] In the formula, a is the confidence level, v1, v2…v5 is the risk level evaluation set, u x (v j ) is the first-level indicator Ag belongs to v j The degree of membership of the risk level.

[0259] 8. Dataset acquisition and processing

[0260] For the secondary indicators in the evaluation system, some common operating condition parameters are selected to realize the above-mentioned weighting and fuzzy comprehensive evaluation process. The parameters of quantitative indicators and the scoring selection of qualitative indicators are shown in Tables 8 and 9.

[0261] Table 8 Working condition parameter selection table

[0262]

[0263]

[0264] Table 9 Some fuzzy evaluation results

[0265]

[0266] After obtaining the above fuzzy evaluation results, the index data is normalized, and the fuzzy evaluation results are defined as five types of labels, thereby constructing a BP neural network model data set for electrical fire risk assessment.

[0267] 9. BP Neural Network Model

[0268] The BP neural network calculates the gradient of the loss function relative to each weight through the chain rule, calculating the gradient of one layer at a time, and iterating backwards from the last layer to avoid redundant calculation of the intermediate terms of the chain rule. The specific structure diagram is as follows Figure 3 As shown. Input neurons send data to hidden neurons through synapses, which perform calculations and then send data to output neurons. Synapses store parameters called weights and thresholds that manipulate the data in the calculation. BP neural networks can have multiple hidden neurons, but in practical applications, single-layer structures are the main structural form, such as Figure 3 shown.

[0269] The BP neural network consists of an input layer, a hidden layer (can have multiple layers) and an output layer. The input layer receives external input signals, the hidden layer is responsible for processing the input signals, and the output layer generates the final output results. The present invention is based on the established evaluation system, the number of input layer nodes is set to 15, the output layer nodes are set to 5 according to the evaluation results, and the hidden layer is determined according to the empirical formula. After model training, it is found that the model of the present invention is relatively complex, and the training effect of one hidden layer is limited, so it is adopted.

[0270] The model was trained with two hidden layers, and the number of hidden layer nodes was selected to be 70 and 50 respectively after multiple attempts.

[0271] The remaining parameters are set as follows:

[0272] (1) Initial weight

[0273] Since there is a nonlinear relationship between the input variables and the output variables, the initial weights of the variables are related to whether the error can converge quickly. Due to the setting of the initial weights, the BP algorithm is prone to local optimal solutions. Regarding the problem of local optimal solutions, Xavier (also known as Glorot initialization) is a method for initializing the weights of neural networks, which aims to make the neural network more stable during forward propagation and back propagation, and at the same time adopt an adaptive learning rate to avoid possible local minima.

[0274] (2) Activation Function

[0275] The activation function is an important component of the BP neural network, which determines the form of the neuron output. Common activation functions include sigmoid function, ReLU function and tanh function. The sigmoid function maps the input value to between 0 and 1 and is commonly used for binary classification problems. The present invention selects the sigmoid function as the activation function.

[0276] (3) Loss Function

[0277] The loss function measures the difference between the prediction result of the BP neural network and the actual result. Commonly used loss functions include Mean Squared Error (MSE) and Cross Entropy. Mean Squared Error is applicable to regression problems, which calculates the square of the average error; Cross Entropy is applicable to classification problems, which measures the difference between the probability distribution of the predicted result and the actual result. Therefore, the present invention uses Cross Entropy to calculate the loss.

[0278] (4) Number of training sessions

[0279] The weights of the neural network have generalization properties, but this property is only valid for data within the maximum value range of the trained input and output pairs. Therefore, there is an optimal number of training times. Before this, the training error and test error will gradually decrease as the number of training times increases. When the optimal number of training times is reached, the error is minimized. However, after exceeding this number of times, the training error will decrease but the test error will increase. Therefore, during the training process, after a certain number of training times, that is, a certain "step length", it is necessary to stop and check the test error. When the test error begins to rise, the BP neural network has reached the optimal number of training times.

[0280] (5) Learning rate

[0281] The learning rate refers to the size of the parameters adjusted each time the parameters are updated, which is used to control the convergence speed and stability of the model. A learning rate that is too large will lead to oscillation and divergence, while a learning rate that is too small will lead to slow convergence. Common learning rate adjustment methods include fixed learning rate, adaptive learning rate, etc. The present invention selects the Adam algorithm with adaptive learning rate to continuously adjust the size of the learning rate.

[0282] (6) Network training and model output

[0283] After determining the structure of the neural network evaluation model, the neural network is trained based on the above data set. First, the data set is divided, and 80% of the data set is set as the training set and 20% is set as the validation set.

[0284] The model training of the fuzzy comprehensive evaluation result data by establishing a BP neural network model specifically includes:

[0285] Step 611: Determine the BP neural network structure:

[0286] The number of input layer nodes is set to the number of secondary indicators c1 = 15;

[0287] The number of nodes in the output layer is set to the number of risk levels c3 = 5;

[0288] The number of hidden layer nodes c2 is set by the empirical formula:

[0289]

[0290] In the formula, a1 is a constant between 1 and 10;

[0291] After multiple tests, we finally selected two hidden layers with 70 and 50 nodes respectively;

[0292] Step 612: Divide the data set:

[0293] 80% of the fuzzy comprehensive evaluation data are used as training sets, and 20% as validation sets;

[0294] Step 613: Design of other hyperparameters:

[0295] The initial weights are initialized using xavier (also known as Glorot) to set the weights of the neural network; the sigmoid function is selected as the activation function; the cross entropy is used as the loss function to calculate the loss; the adaptive learning rate Adam algorithm is used to continuously adjust the learning rate to control the model convergence speed and stability; during the training process, the validation set is used for verification at the same time. When the performance on the validation set no longer improves or begins to decline, the training is stopped to prevent overfitting and avoid training the network too much on the training set.

[0296] Step 614: Real-time risk prediction:

[0297] In the actual operation of electrical lines, the parameter values ​​of the secondary indicators are collected and input into the trained BP neural network model to quickly conduct real-time risk assessment of electrical fires.

[0298] 10. Results Analysis

[0299] Finally, we obtained 7814 data sets, 80% of which were used to train the model. Finally, the accuracy rate on the training set reached more than 96%, as shown in Figure 4 ; At the same time, when the model is tested on a validation set of data that has never been seen before, the accuracy reaches over 90%. The loss value is calculated using the cross entropy loss function, and its value finally stabilizes around 0.05, such as Figure 5 The above results indicate that the difference between the model's prediction results and the true labels is small, that is, the model has a high degree of fit on the training data.

[0300] The comparison between the predicted values ​​and the true values ​​obtained by randomly inputting the parameter values ​​of each indicator is shown in Table 10 below.

[0301]

[0302] By comparing some predicted risk values ​​with actual risk values, it is found that the prediction accuracy is relatively high and has strong generalization ability. This model can be used to regularly input quantitative indicator scores and collect real-time risk indicator parameters to achieve real-time electrical fire risk assessment.

Claims

1. A method for assessing electrical fire risk based on fuzzy comprehensive evaluation-BP neural network, characterized in that: The following steps are involved: Step 1: Build an electrical fire risk assessment system Based on typical electrical fire faults, an electrical fire risk assessment system is constructed, including a target layer and two levels of evaluation indicators: primary indicators and secondary indicators; the target layer is the electrical fire risk status; The first-level indicators include: electrical parameter A1, environmental factor A2 and spatial factor A3; the second-level indicators are characteristic parameters under each first-level indicator; the g-th first-level indicator is marked as Ag, g = 1, 2, 3; the h-th second-level indicator under the g-th first-level indicator Ag is marked as Agh; Step 2: Create a risk profile The risk status of electrical fire is classified into different levels, and the risk status and evaluation results of the corresponding risk levels are determined to form a risk evaluation set V = {v1, v2, v3, v4, v5} for each risk level; Step 3: Determine the dynamic weight of the evaluation index The subjective weight of the evaluation index is determined by the hierarchical analysis method, and the objective weight of the evaluation index is determined by the entropy weight method. The static weight is formed by combining the subjective weight vector and the objective weight vector; for the secondary index, dynamic weighting is performed on the basis of the static weight; the dynamic weighting is to set the warning value according to the established risk evaluation set, and adjust the weight values ​​of the abnormal index exceeding the warning value and the weight value not exceeding the warning value respectively to obtain the dynamic weight; Step 4: Create a membership matrix According to the specifications and standards of electrical lines, the quantitative indicators are divided into risk intervals; for qualitative indicators, each risk level is quantified into an interval range value of [0, 1], and the risk status of the qualitative indicators is scored; a membership function combining triangular fuzzy and trapezoidal fuzzy is established; the interval range value is substituted into the membership function, and the membership vector of a certain parameter of the secondary indicator Agh under each primary indicator Ag belonging to the risk evaluation set V is calculated, and the h membership vectors of the secondary indicator Agh are combined to form a membership matrix Rg of size h×5; Step 5: Obtain a risk assessment data set for electrical fire risk assessment; Select the indicator data when the electrical fire occurs, and perform a single fuzzy evaluation on the selected indicator data to obtain the electrical fire risk level; based on the membership matrix, combine the different working condition parameter values ​​of the indicators and the dynamic weight strategy to repeat the fuzzy comprehensive evaluation multiple times; organize the evaluation results to form a readable risk assessment data set; Step 6: Use the improved BP neural network to establish an electrical fire risk assessment model. Set the number of nodes in the input layer, hidden layer, and output layer according to the electrical fire risk assessment system. Divide the risk assessment data set into a training set and a test set. Use the training set as input data to train the model, and then input the test set into the trained model to obtain the risk assessment results.

2. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 1 is characterized in that: In step 3, determining the subjective weight of the evaluation index Wai by using the hierarchical analysis method specifically includes: Step 311: Construct judgment matrix B The importance of risk level related factors is expressed by the judgment matrix. For the first-level indicator Ag, its corresponding second-level indicators are Ag1, Ag2, ..., Agh. Since each second-level indicator has an impact on the first-level indicator Ag, the second-level indicators Agi and Agj are compared and judged pairwise based on the degree of impact on the first-level indicator Ag, i = 1, 2, .... h, j = 1, 2, .... h; the judgment matrix B obtained according to the 1-9 scaling method is as follows: In the formula, bij is the expert score, i = 1, 2, .... h, j = 1, 2, .... h; h is the number of secondary indicators corresponding to the primary indicator Ag; Step 312: Determine the weight of the judgment matrix The hierarchical structure of the analysis process is used to obtain the weights of all evaluation indicators. The subjective weights of the evaluation indicators are determined by the square root method. The specific steps are as follows: Calculate the product of all elements in each row of the judgment matrix: Find the hth root Mi of the product Ci: Normalize the vector M = (M1, M2…Mh) composed of Mi: get: Wa=(Wa1, Wa2…Wah) Where Wai is the subjective weight value of the i-th secondary indicator under the primary indicator Ag; Wa is the subjective weight vector composed of the subjective weights of all secondary indicators under the primary indicator Ag; Step 313: Perform consistency check of hierarchical single sorting: First, find the maximum characteristic root of the judgment matrix B: Where BWa is the product of the judgment matrix B and the subjective weight vector Wa; (BWa)i is the i-th component of BWa; Secondly, calculate the consistency index CI: Then find the consistency ratio CR: In the formula, RI is the expected random consistency index, which is obtained by looking up the table; Finally, a consistency test is performed: if the value of the consistent row ratio CR is lower than 0.1, it means that the matrix B has reliable consistency; if it does not meet the consistency test, the expert score value is adjusted until it meets the requirements.

3. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 2 is characterized in that: In step 3, the objective weight Wbi of the evaluation index is determined by the entropy weight method, which specifically includes: Step 321: Construct judgment matrix B The importance of risk level related factors is represented by the judgment matrix B. For the first-level indicator Ag, its corresponding second-level indicators are Ag1, Ag2, ..., Agh. Since each second-level indicator has an impact on the first-level indicator Ag, the second-level indicators Agi and Agj are compared and judged pairwise based on the degree of impact on the first-level indicator Ag, i = 1, 2, .... h, j = 1, 2, .... h; the judgment matrix B obtained according to the 1-9 scaling method is as follows: In the formula, bij is the expert score, i = 1, 2, .... h, j = 1, 2, .... h; h is the number of secondary indicators corresponding to the primary indicator Ag; Step 322: Normalize the scores of each expert: Where Pij is the normalized result; Step 323: Determine the entropy value Ei of the i-th secondary indicator: Step 324: Normalize the entropy value: The maximum entropy using all indices is: The entropy weight ei of all indices is: Step 325: Calculate the difference coefficient Hi of the evaluation index: Hi=1-ei Step 326: Calculate the objective weight Wbi of the evaluation index according to the difference coefficient: have to: Wb=(Wb1,Wb2...Wbh) Where Wbi is the objective weight of the i-th secondary indicator under the primary indicator Ag, and Wb is the objective weight vector composed of the objective weights of all secondary indicators under the primary indicator Ag.

4. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 3 is characterized in that: In step 3, the subjective weight Wai and the objective weight Wbi are combined to form a static weight Wci, specifically: According to the principle of minimum information entropy, the weight combination formula is obtained using the Lagrange multiplier method: Wc=(Wc1,Wc2...Wch) Where, Wci is the static weight value of the i-th secondary indicator Agi under the primary indicator Ag, and Wc is the static weight vector composed of the static weights of all secondary indicators under the primary indicator Ag; Similarly, experts score the first-level indicators to form a judgment matrix, and then determine the subjective weights and objective weights. The static weights are formed through the Lagrange multiplier method to obtain a static weight vector (W1, W2, W3) composed of the static weights of the first-level indicators.

5. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 4 is characterized in that: In step 3, dynamic weighting is performed based on the static weight Wci, specifically: Step 331: The weight value of the i-th secondary indicator Agi under the primary indicator Ag that exceeds the warning value is adjusted to: Wdi=Wci+(1-∑ k∈S Wk)Wci =2Wci-∑ k∈S WkWci Where, Wdi is the dynamic weight of the i-th secondary indicator Agi; Wci is the static weight of the abnormal i-th secondary indicator Agi; Wk is the static weight of all abnormal secondary indicators; S is a set of abnormal secondary indicators; Step 332: The weight value of the j-th secondary index Agj within the normal range T under the primary index Ag is adjusted to: Wdj=Wcj-(1-∑ o∈T Wo)Wcj =∑ o∈T WoWcj Where, Wdj is the dynamic weight of the j-th secondary indicator Agj; Wcj and Wo are the static weights of the normal j-th secondary indicator Agj and all normal secondary indicators respectively; T is a set of normal secondary indicators; Step 333: For the static weight of the indicator whose static weight is less than the preset value but whose risk exceeds the expected value when the indicator parameter mutates, that is, the static weight Wcp of the p-th secondary indicator Agp is adjusted to: In the formula, Wdp is the dynamic weight value of the pth secondary indicator Agp, x is the monitoring value of the indicator, α is the upper limit value of the risk level V1, and β is the correction factor; Step 334: The dynamic weights of the secondary indicators determined in steps 331, 332 and 333 form a dynamic weight vector Wd composed of the dynamic weights of all secondary indicators under the primary indicator Ag: Wd=(Wd1, Wd2…Wdh).

6. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 1 is characterized in that: In step 2, the risk status of electrical fire is divided into five levels, from low to high, namely healthy, normal, abnormal, risk, and alarm, which are expressed as a set of risk evaluation sets: V = {v1, v2, v3, v4, v5}; In step 4, the membership interval and corresponding membership function of the risk evaluation set of each risk level are: 1)v1∈[μ1,μ2) 2)v2∈[μ2,μ4) 3)v3∈[μ4,μ6) 4)v4∈[μ6,μ8) 5)v5∈[μ8,μ9) Where A(x) represents the membership function, x is the monitoring value of the quantitative indicator or the scoring value of the qualitative indicator, μ1 is the lower limit of the risk assessment set v1, μ2 is the upper limit of the risk assessment set v1 and the lower limit of v2, μ4 is the upper limit of the risk assessment set v2 and the lower limit of v3, μ6 is the upper limit of the risk assessment set v3 and the lower limit of v4, μ8 is the upper limit of the risk assessment set v4 and the lower limit of v5, μ9 is the upper limit of the risk assessment set v5; μ3 is the average value of μ2 and μ4, μ5 is the average value of μ4 and μ6, and μ7 is the average value of μ6 and μ8; k2, k3 and k4 are simplified coefficients, and their values ​​are as follows: Through the above process, we can obtain the membership vector of the secondary indicator Agh corresponding to the primary indicators A1, A2, A3 belonging to the risk level {v1, v2, v3, v4, v5}, and then combine the membership vectors of Agh to form the membership matrices R1, R2, R3.

7. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 6 is characterized in that: In step 5, the evaluation results are obtained through fuzzy comprehensive evaluation to form a risk assessment data set. The specific steps are as follows: Step 511: Calculate the comprehensive evaluation vector of the secondary index: In the formula, is a fuzzy comprehensive operator; Rg is the membership matrix formed by the combination of the membership vectors of the secondary indicator Agh under the primary indicator Ag; (Wd1, Wd2...Wdh) is the weight vector of the secondary indicator under the primary indicator Ag; Step 512: Combine Qg to form a comprehensive evaluation matrix Q of the secondary indicators, where Q is a 3×5 matrix; then calculate the comprehensive evaluation vector of the primary indicators: Where, O is the risk vector of the electrical fire risk assessment result; the maximum membership principle is used to obtain the risk level of electrical fire; Step 513: Maximum membership validity judgment: In the formula, max{Oi} and sec{Oi} represent the first and second largest membership values ​​in the evaluation results, respectively; β0 and γ0 represent the proportion of the maximum membership value and the second largest membership value in the evaluation results to the total membership value; Step 514: Calculate the maximum membership validity δ: When δ is less than 0.5, the confidence criterion is used to evaluate the risk level: In the formula, a is the confidence level, v1, v2…v5 is the risk level evaluation set, u x (v j ) is the first-level indicator Ag belongs to v j The degree of membership of the risk level.

8. The electrical fire risk assessment method based on fuzzy comprehensive evaluation-BP neural network according to claim 1 is characterized in that: In step 6, a BP neural network model is established to perform model training on the data of the fuzzy comprehensive evaluation results: Step 611: Determine the BP neural network structure: The number of input layer nodes is set to the number of secondary indicators c1 = 15; The number of nodes in the output layer is set to the number of risk levels c3 = 5; The number of hidden layer nodes c2 is set by the empirical formula: In the formula, a1 is a constant between 1 and 10; Step 612: Divide the data set: 80% of the fuzzy comprehensive evaluation data are used as training sets, and 20% as validation sets; Step 613: Design of other hyperparameters: The initial weights are initialized using Xavier to set the weights of the neural network; the sigmoid function is selected as the activation function; the cross entropy is used as the loss function to calculate the loss; the adaptive learning rate Adam algorithm is used to continuously adjust the learning rate to control the convergence speed and stability of the model; during the training process, the validation set is used for validation at the same time. When the performance on the validation set no longer improves or begins to decline, the training is stopped to prevent overfitting and avoid training the network too much on the training set; Step 614: Real-time risk prediction: In the actual operation of electrical lines, the parameter values ​​of the secondary indicators are collected and input into the trained BP neural network model to conduct real-time risk assessment of electrical fires.

Citation Information

Cited By

  • Urban electric power safety and stability risk assessment method based on Bayesian network

    CN119026917A

  • Enterprise network security self-checking method and system

    CN119210908A

  • Campus fire evaluation method and system based on neural network

    CN119294923A

  • Lightning protection safety risk assessment method

    CN119443791A

  • Intelligent urban and rural earthquake disaster risk assessment method and system

    CN119862793A