Power system security assessment method, device, computer equipment and storage medium

By obtaining the safety assessment indicators of the power system and calculating the target vector, combined with the fuzzy C-means clustering model and the trapezoidal fuzzy distribution algorithm, the problem of a single power system safety assessment method in the existing technology is solved, and an accurate assessment of the safety status of the power system is achieved. Assessment and development of effective control strategies.

CN114021925BActive Publication Date: 2024-09-24SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111259615.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-28
Publication Date
2024-09-24
Estimated Expiration
2041-10-28

AI Technical Summary

Technical Problem

The existing technology's safety assessment method for the power system is relatively simple and cannot accurately assess the safety status of the power system, resulting in the inability to formulate effective control strategies to ensure the safe operation of the power system.

Method used

By obtaining the safety assessment indicators of the power system, such as fault severity, fault occurrence probability and abnormal detection time, the corresponding target vector is calculated, and these indicators are integrated to obtain the target safety assessment results of the power system. Specific methods include using fuzzy C-means clustering model and trapezoidal fuzzy distribution algorithm, combined with weights to calculate the final safety assessment results.

Benefits of technology

It achieves multi-angle and accurate assessment of the power system's security status, provides more comprehensive security assessment results, and helps formulate effective control strategies to ensure the stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114021925B
    Figure CN114021925B
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for safety assessment of an electric power system. The method comprises: obtaining safety assessment indicators of the electric power system, the safety assessment indicators comprising at least two of fault severity, fault occurrence probability and abnormality detection time. For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated, and the target vector is used to characterize the safety assessment result of the safety assessment indicator. According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the electric power system is calculated. The present method can be used to comprehensively and accurately assess the electric power system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method, device, computer equipment and storage medium for safety assessment of power systems. Background Art

[0002] With the development of power systems, the structure of power grids is becoming more and more complex. In recent years, many large-scale power outages around the world have caused huge economic losses to society. Therefore, research on power grid security issues should be strengthened.

[0003] The research on power grid security issues mainly involves conducting security assessment on the power grid, quickly and accurately giving the security level of the power grid under the current operating state, and formulating corresponding control strategies based on the security level obtained by the assessment to ensure the safe operation of the power system. Therefore, security assessment is of great significance to the research on power grid security issues.

[0004] The existing technology for the safety assessment of the power system is mainly assessed through a single target. Therefore, the existing technology for the safety assessment of the power system is relatively single and cannot accurately assess the power system. Summary of the invention

[0005] Based on this, it is necessary to provide a power system security assessment method, device, computer equipment and storage medium that can accurately evaluate the power system in response to the above technical problems.

[0006] A method for safety assessment of an electric power system, the method comprising:

[0007] Acquire safety assessment indicators of the power system; the safety assessment indicators include at least two of fault severity, fault occurrence probability and abnormality detection time;

[0008] For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator;

[0009] According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the power system is calculated.

[0010] In one embodiment, if the safety assessment indicators include fault severity, fault probability and abnormality detection time, then for each of the safety assessment indicators, calculating the target vector corresponding to the safety assessment indicator includes:

[0011] For the fault severity, calculating a first target vector corresponding to the fault severity;

[0012] For the fault occurrence probability, calculating a second target vector corresponding to the fault occurrence probability;

[0013] For the abnormality detection time, a third target vector corresponding to the abnormality detection time is calculated.

[0014] In one embodiment, the calculating a first target vector corresponding to the fault severity for the fault severity includes:

[0015] Acquire a fault proportion corresponding to the fault severity and a preset fault severity model corresponding to the fault severity;

[0016] Determining a membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm;

[0017] A first target vector corresponding to the fault severity is determined according to the fault proportion corresponding to the fault severity and a membership function curve of the fault severity.

[0018] In one embodiment, the fault severity includes software failure severity, hardware paralysis severity, and data tampering or failure severity; and obtaining the fault ratio corresponding to the fault severity includes:

[0019] Obtaining a first fault ratio corresponding to the software failure severity; the first fault ratio is used to represent the ratio of the number of faulty processes of the software to the total number of processes of the software;

[0020] Obtaining a second fault ratio corresponding to the severity of the hardware paralysis; the second fault ratio is used to represent the ratio of the difference between the data processing volume of the hardware before the fault and the data volume after the fault to the total data volume of the hardware;

[0021] A third fault ratio corresponding to the ratio of the data tampering or failure severity is obtained; the third fault ratio is used to characterize the ratio of the amount of data that is not affected by the power system after a fault occurs to the total amount of data in the power system during normal operation.

[0022] In one embodiment, the calculating a second target vector corresponding to the fault occurrence probability for the fault occurrence probability includes:

[0023] Obtaining a sample set of the fault occurrence probability;

[0024] Inputting the sample set of the fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set;

[0025] The classification results of the fault occurrence probabilities are clarified, and a second target vector corresponding to the fault occurrence probability is generated based on the clarified classification results.

[0026] In one embodiment, the calculating, for the anomaly detection time, a third target vector corresponding to the anomaly detection time comprises:

[0027] Obtaining a sample set of the anomaly detection time;

[0028] Inputting the sample set of the abnormal detection time into the fuzzy C-means clustering model for classification, and obtaining the classification result of each abnormal detection time in the sample set;

[0029] The classification results of each of the abnormality detection times are clarified, and a third target vector corresponding to the abnormality detection time is generated based on the clarified classification results.

[0030] In one embodiment, the calculating the target safety assessment result of the power system according to the target vector corresponding to each of the safety assessment indicators includes:

[0031] Obtaining the weight corresponding to each of the security assessment indicators;

[0032] The target safety assessment result of the power system is calculated according to the weight corresponding to each of the safety assessment indicators and the target vector of each of the safety assessment indicators.

[0033] A safety assessment device for an electric power system, the device comprising:

[0034] An acquisition module, used for acquiring safety assessment indicators of the power system, wherein the safety assessment indicators include at least two of fault severity, fault occurrence probability and abnormality detection time;

[0035] A first calculation module is used to calculate a target vector corresponding to each of the security assessment indicators; the target vector is used to represent a security assessment result of the security assessment indicator;

[0036] The second calculation module is used to calculate the target safety assessment result of the power system according to the target vector corresponding to each of the safety assessment indicators.

[0037] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0038] Acquire a safety assessment index of the power system, wherein the safety assessment index includes at least two of fault severity, fault occurrence probability, and abnormality detection time;

[0039] For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator;

[0040] According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the power system is calculated.

[0041] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0042] Acquire a safety assessment index of the power system, wherein the safety assessment index includes at least two of fault severity, fault occurrence probability, and abnormality detection time;

[0043] For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator;

[0044] According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the power system is calculated.

[0045] The above-mentioned power system safety assessment method, device, computer equipment and storage medium obtain the safety assessment index of the power system, and the safety assessment index includes at least two of the fault severity, fault probability and abnormality detection time. For each safety assessment index, the target vector corresponding to the safety assessment index is calculated, and the target vector is used to characterize the safety assessment result of the safety assessment index. Finally, according to the target vector corresponding to each safety assessment index, the target safety assessment result of the power system is calculated. By integrating at least two safety assessment indicators, it is possible to evaluate the safety of the power system from multiple angles, so that a more comprehensive safety assessment result of the power system can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 An application environment diagram of a power system security assessment method in one embodiment;

[0047] Figure 2 is a schematic flow chart of a method for safety assessment of a power system in one embodiment;

[0048] Figure 3 is a flow chart of a method for safety assessment of a power system in another embodiment;

[0049] Figure 4 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0050] Figure 5A schematic diagram of a membership function curve in one embodiment;

[0051] Figure 6 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0052] Figure 7 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0053] Figure 8 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0054] Fig. 9 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0055] Fig.10 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0056] Fig.11 is a flow chart of a method for safety assessment of a power system in yet another embodiment;

[0057] Fig.12 is a structural block diagram of a safety assessment device for a power system in one embodiment;

[0058] Fig.13 is a structural block diagram of a safety assessment device for a power system in another embodiment;

[0059] Fig.14 It is a structural block diagram of a safety assessment device for a power system in yet another embodiment. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] The power system security assessment method provided in this application can be applied to Figure 1 The internal structure of the server can be shown as Figure 1As shown. The server includes a processor, a memory and a network interface connected via a system bus. The processor of the server is used to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the server is used to store project case test data. The network interface of the server is used to communicate with an external terminal via a network connection. The server obtains the safety assessment index of the power system, calculates the target vector corresponding to the safety assessment index for each safety assessment index, and calculates the target safety assessment result of the power system according to the target vector corresponding to each safety assessment index. The server can be implemented as an independent server or a server cluster consisting of multiple servers.

[0062] In one embodiment, Figure 2 As shown in the figure, a power system security assessment method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0063] S201, obtaining safety assessment indicators of the power system, where the safety assessment indicators include at least two of fault severity, fault occurrence probability, and abnormality detection time.

[0064] Among them, safety assessment indicators refer to some indicators that indicate the operating status of the power system during its operation. Safety assessment indicators can be fault severity, fault probability, abnormality detection time, etc. Fault severity refers to the severity of a fault in the power system, fault probability refers to the probability of failure of each device in the power system, and abnormality detection time refers to the time required to detect an abnormality after the power system is damaged.

[0065] Specifically, the safety assessment indicators commonly used in the historical assessment process can be used as the safety assessment indicators of the power system, or the safety assessment indicators with the greatest impact on the power system can be selected as the safety assessment indicators of the power system. The safety assessment indicators include at least two of the fault severity, the fault probability and the abnormality detection time. For example, the safety assessment indicators can be the fault severity and the fault probability, the safety assessment indicators can be the fault severity and the abnormality detection time, the safety assessment indicators can be the fault probability and the abnormality detection time, and the safety assessment indicators can be the fault severity, the fault probability and the abnormality detection time.

[0066] S202, for each safety assessment indicator, calculating a target vector corresponding to the safety assessment indicator, wherein the target vector is used to represent the safety assessment result of the safety assessment indicator.

[0067] Among them, the target vector refers to the evaluation vector corresponding to each safety assessment indicator, which is used to evaluate the severity level corresponding to each safety assessment indicator. Among them, the target vector includes the evaluation vector corresponding to the fault severity, the evaluation vector corresponding to the fault probability and the evaluation vector corresponding to the abnormality detection time.

[0068] Specifically, each safety assessment indicator is divided into severity levels, and the corresponding target vector is obtained according to the severity level of each safety assessment indicator. Among them, the target vector includes a first target vector corresponding to the fault severity, a second target vector corresponding to the fault occurrence probability, and a third target vector corresponding to the abnormality detection time. For example, the severity level of each safety assessment indicator is divided into four levels: level I, level II, level III, and level IV, among which the severity level corresponding to level I is normal, the severity level corresponding to level II is attention, the severity level corresponding to level III is serious, and the severity level corresponding to level IV is endangered. When the fault severity is used as one of the safety assessment indicators, the first target vector corresponding to the fault severity can be expressed as:

[0069] V1=[v 11 ,v 12 ,v 13 ,v 14 ]

[0070] Where V1 represents the first target vector, v 11 、v 12 、v 13 、v 14 They correspond to level Ⅰ, level Ⅱ, level Ⅲ, and level Ⅳ respectively. When the fault severity is level Ⅱ, the corresponding first target vector can be expressed as:

[0071] V1=[0,1,0,0]

[0072] S203, calculating a target safety assessment result of the power system according to the target vector corresponding to each safety assessment index.

[0073] Among them, the target safety assessment result of the power system is a comprehensive analysis of the severity levels corresponding to each safety assessment indicator. The target vectors corresponding to each safety assessment indicator can be weighted summed or the target vectors corresponding to each safety assessment indicator can be averaged to obtain a comprehensive assessment level, which is the target safety assessment result of the power system.

[0074] Specifically, through step S202, a first target vector corresponding to the fault severity, a second target vector corresponding to the fault probability, and a third target vector corresponding to the abnormality detection time can be obtained. According to expert experience, corresponding weights can be set for the target vectors corresponding to each safety assessment indicator, and the target vectors corresponding to each safety assessment indicator can be multiplied by the target vectors corresponding to each safety assessment indicator with corresponding weights, and the obtained products can be added to obtain the target safety assessment result of the power system. Optionally, the target vectors corresponding to each safety assessment indicator can be weighted averaged to obtain the target safety assessment result of the power system. This embodiment does not limit the method for calculating the target vectors corresponding to each safety assessment indicator, and it is sufficient to obtain the target safety assessment result of the power system through this method.

[0075] In the above-mentioned safety assessment method for the power system, a safety assessment index of the power system is obtained, and the safety assessment index includes at least two of the fault severity, the fault occurrence probability and the abnormality detection time. For each safety assessment index, a target vector corresponding to the safety assessment index is calculated, and the target vector is used to characterize the safety assessment result of the safety assessment index. Finally, according to the target vector corresponding to each safety assessment index, the target safety assessment result of the power system is calculated. By integrating at least two safety assessment indicators, it is possible to evaluate the safety of the power system from multiple angles, and therefore, a more comprehensive safety assessment result of the power system can be obtained.

[0076] exist Figure 2 Based on the embodiment shown, in one embodiment, as Figure 3 As shown in FIG. 1 , if the safety assessment index includes fault severity, fault occurrence probability and abnormality detection time, then for each safety assessment index, the specific implementation steps of calculating the target vector corresponding to the safety assessment index include:

[0077] S301 : with respect to the fault severity, calculate a first target vector corresponding to the fault severity.

[0078] Among them, the fault severity includes: software failure severity, hardware paralysis severity and data tampering or failure severity. Among them, software failure severity refers to the degree of damage to the software system of the power system after being attacked, hardware paralysis severity refers to the degree of damage to the hardware system of the power system after being attacked, and data tampering or failure severity refers to the degree of damage to the storage system of the power system after being attacked.

[0079] Specifically, the severity levels corresponding to the software failure severity, the hardware paralysis severity, and the data tampering or failure severity are calculated respectively, and the fault severity level is comprehensively obtained according to the severity levels corresponding to the software failure severity, the hardware paralysis severity, and the data tampering or failure severity, and the first target vector corresponding to the fault severity is calculated according to the fault severity level.

[0080] S302: Calculate a second target vector corresponding to the fault occurrence probability according to the fault occurrence probability.

[0081] Specifically, the data of the probability of failure is obtained. Optionally, the server may classify the data of the probability of failure by a naive Bayes classification algorithm, or the server may classify the data of the probability of failure by a support vector machine method. The classified data of the probability of failure is classified into severity levels, and the second target vector corresponding to the probability of failure is calculated according to the severity level of the probability of failure.

[0082] S303: Calculate a third target vector corresponding to the abnormality detection time.

[0083] Specifically, the data of the abnormality detection time is obtained. Optionally, the server may classify the data of the abnormality detection time by a naive Bayes classification algorithm, or the server may classify the data of the abnormality detection time by a support vector machine method. The abnormality detection time data after classification is classified into severity levels, and a third target vector corresponding to the abnormality detection time is calculated according to the severity level of the abnormality detection time.

[0084] In the above-mentioned safety assessment method of the power system, a first target vector corresponding to the fault severity, a second target vector corresponding to the fault probability, and a third target vector corresponding to the abnormality detection time are calculated. The power system is evaluated based on the three evaluation indicators of fault severity, fault probability and abnormality detection time, respectively, so that the evaluation process of the power system is more accurate and reasonable, and the stable operation of the power system is guaranteed.

[0085] exist Figure 3 Based on the embodiment shown, in one embodiment, as Figure 4 As shown, specific implementation steps for calculating the first target vector corresponding to the fault severity according to the fault severity are described in detail, including:

[0086] S401, obtaining a fault proportion corresponding to the fault severity and a preset fault severity model corresponding to the fault severity.

[0087] Among them, the fault ratio corresponding to the fault severity refers to the ratio of the loss value caused by the fault to the data value of normal operation, among which the fault ratio corresponding to the fault severity includes: the first fault ratio corresponding to the software failure severity, the second fault ratio corresponding to the hardware paralysis severity and the third fault ratio corresponding to the data tampering or failure severity.

[0088] Specifically, obtaining the fault ratio corresponding to the fault severity specifically refers to obtaining the first fault ratio corresponding to the severity of software failure, the second fault ratio corresponding to the severity of hardware paralysis, and the third fault ratio corresponding to the severity of data tampering or failure. The fault ratio corresponding to the fault severity refers to the ratio of the difference between the value of the normal operation of the equipment and the loss value of the fault operation state after the power system fails to operate to the value of the normal operation of the equipment. The fault ratio corresponding to the fault severity can be expressed as:

[0089]

[0090] In the formula, X represents the fault proportion corresponding to the fault severity, n0 represents the value of the equipment when the power system is in normal operation, and n i A value indicating the operation of the equipment when a power system failure occurs.

[0091] Furthermore, the risk preference utility function is used to construct a preset fault severity model corresponding to the fault severity. The fault severity model can be expressed as:

[0092]

[0093] S'(x)>0

[0094] S”(x)>0

[0095] Among them, S(x) represents the fault severity model, and a, b, and c are positive numbers.

[0096] S402, determining a membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm.

[0097] Specifically, through the model corresponding to the fault severity and the trapezoidal fuzzy distribution algorithm, the membership function curve corresponding to the fault severity can be obtained. The membership function curve corresponding to the fault severity is as follows: Figure 5 As shown, the horizontal axis of the membership function curve is the fault proportion corresponding to the fault severity, and the vertical axis is the size of the membership of different levels.

[0098] S403: Determine a first target vector corresponding to the fault severity according to the fault proportion corresponding to the fault severity and the membership function curve of the fault severity.

[0099] Specifically, the level corresponding to the fault severity can be obtained from the membership function curve of the fault severity through the fault proportion corresponding to the fault severity, and the fault severity level is combined with the fuzzy rule to obtain the first target vector corresponding to the fault severity.

[0100] In the above-mentioned safety assessment method of the power system, the fault proportion corresponding to the fault severity and the preset fault severity model corresponding to the fault severity are first obtained, and then the membership function curve of the fault severity is determined according to the fault severity model and the trapezoidal fuzzy distribution algorithm. According to the fault proportion corresponding to the fault severity and the membership function curve of the fault severity, the first target vector corresponding to the fault severity can be determined more accurately.

[0101] Since the fault proportions corresponding to the fault severity include a first fault proportion corresponding to software failure severity, a second fault proportion corresponding to hardware paralysis severity, and a third fault proportion corresponding to data tampering or failure severity, in one embodiment, Figure 6 As shown, the specific implementation steps for obtaining the fault ratio corresponding to the fault severity are described in detail, including:

[0102] S601, obtaining a first fault ratio corresponding to the severity of software failure; the first fault ratio is used to represent the ratio of the number of faulty software processes to the total number of software processes.

[0103] Specifically, the first fault ratio corresponding to the software failure severity refers to the ratio of the number of processes that need to be deactivated after the failure of the sub-software system to the number of original processes. The first fault ratio corresponding to the software failure severity can be expressed as:

[0104]

[0105] Among them, X1 represents the first fault ratio corresponding to the severity of software failure, w i It represents the number of processes that need to be stopped after a failure occurs in the sub-software system, and w0 represents the original number of processes in the sub-software system.

[0106] Furthermore, the first model corresponding to the severity of software failure is constructed using the risk preference utility function. The model corresponding to the severity of software failure can be expressed as:

[0107]

[0108] Among them, S ev1 The first model corresponding to the severity of software failure takes into account that the failure consequences of different software importance are generally different. Therefore, the software importance factor α is introduced based on the above model corresponding to the severity of software failure i , then the first model corresponding to the severity of software failure is:

[0109]

[0110] The present invention provides a quantitative classification of importance levels. In order to clearly see the impact of software system importance level factors, the value range is generally a dimensionless value between (1 and 10). The larger the score, the more important it is, and the greater the loss value caused. The quantitative classification of software importance factors is shown in Table 1.

[0111] Table 1 Quantitative classification of software importance factors

[0112]

[0113] S602, obtaining a second fault ratio corresponding to the severity of the hardware failure; the second fault ratio is used to represent the ratio of the difference between the data processing volume of the hardware before the fault and the data volume after the fault to the total data volume of the hardware.

[0114] Specifically, the second fault ratio corresponding to the severity of the hardware failure refers to the ratio of the difference between the data processing volume before the hardware failure and the data volume after the failure to the total data volume of the hardware. The second fault ratio corresponding to the severity of the hardware failure can be expressed as:

[0115]

[0116] Among them, X2 represents the first fault ratio corresponding to the severity of software failure, w i It represents the amount of data after the sub-hardware failure, and L0 represents the amount of data processed before the sub-hardware failure.

[0117] Furthermore, the risk preference utility function is used to construct a second model corresponding to the severity of hardware failure. The model corresponding to the severity of software and hardware failure can be expressed as:

[0118]

[0119] Among them, S ev2 The second model corresponding to the severity of hardware failure takes into account the different importance of sub-devices, and the consequences of failures on sub-devices must be different. Therefore, based on the above model corresponding to the severity of hardware failure, the hardware importance factor β is introduced i , then the first model corresponding to the severity of hardware paralysis is:

[0120]

[0121] Among them, the influencing factors of the hardware importance factor include the frequency of equipment use, the importance of line topology structure, etc.

[0122] S603, obtaining a third fault ratio corresponding to the severity of data tampering or failure; the third fault ratio is used to characterize the ratio of the amount of data that is not affected after a fault occurs in the power system to the total amount of data in normal operation of the power system.

[0123] Specifically, the third fault ratio of data tampering or failure severity refers to the ratio of the amount of data that is not affected after a fault occurs in the power system to the total amount of data in normal operation of the power system. The third fault ratio of data tampering or failure severity can be expressed as:

[0124]

[0125] Where X3 represents the third fault proportion of data tampering or failure severity, V i It indicates the amount of data affected after a power system failure, and V0 indicates the amount of stored data when the power system is operating normally.

[0126] Furthermore, the risk preference utility function is used to construct a second model corresponding to the severity of hardware failure. The model corresponding to the severity of software and hardware failure can be expressed as:

[0127]

[0128] Among them, S ev3 The second model corresponding to the severity of hardware failure takes into account the different importance of sub-devices, and the consequences of failures on sub-devices must be different. Therefore, based on the above model corresponding to the severity of hardware failure, the data importance factor γ is introduced i , then the first model corresponding to the severity of hardware paralysis is:

[0129]

[0130] Among them, the data importance factor γ i The factors affecting γ include the degree of data damage and data loss. In the actual evaluation work, γ i It can be determined according to the following formula:

[0131] γ i =γ ai *γ bi

[0132] In the formula, γ ai , γ bi Corresponding to the importance factors of data damage and data loss respectively, ignoring the influence of the above factors, γ ai , γ bi The average value is 1.

[0133] Further, according to the first fault ratio corresponding to the severity of software failure and the model corresponding to the severity of software failure, the first severity level of software failure is determined; according to the second fault ratio corresponding to the severity of hardware paralysis and the model corresponding to the severity of hardware paralysis, the second severity level of hardware paralysis is determined; according to the third fault ratio corresponding to the severity of data tampering or failure and the model corresponding to the severity of data tampering or failure, the third severity level of data tampering or failure is determined. According to the above-mentioned first severity level of software failure, the second severity level of hardware paralysis and the third severity level of data tampering or failure, combined with fuzzy rules, the severity level corresponding to the fault severity is obtained, as shown in Table 2 for example.

[0134] Table 2 Severity levels corresponding to fault severity

[0135]

[0136]

[0137] According to the above fuzzy rules, the first target vector corresponding to the fault severity level can be expressed as:

[0138] V1=[v 11 ,v 12 ,v 13 ,v 14 ]

[0139] In the formula, v 11 、v 12 、v 13 、v 14 It is the degree to which the comprehensive consequence severity assessment indicators belong to levels Ⅰ to Ⅳ.

[0140] In the above-mentioned safety assessment method for the power system, the first fault ratio corresponding to the severity of software failure, the second fault ratio corresponding to the severity of hardware paralysis, and the third fault ratio corresponding to the severity of data tampering or failure, and the first model corresponding to the severity of software failure, the second model corresponding to the severity of hardware paralysis, and the third model corresponding to the severity of data tampering or failure, make the level division of fault severity more reasonable, and according to the level division of fault severity, obtain a more reasonable first target vector corresponding to the fault severity.

[0141] exist Figure 3 Based on the embodiment shown, in one embodiment, as Figure 7 As shown, the specific implementation steps for obtaining the fault ratio corresponding to the fault severity are described in detail, including:

[0142] S701, obtaining a sample set of fault occurrence probability.

[0143] Specifically, the server may obtain a sample set of fault occurrence probabilities from the memory of the power system at a preset time interval. For example, the sample set of fault occurrence probabilities may be p={p1, p2, ..., p n}.

[0144] S702, inputting the sample set of fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set.

[0145] Specifically, according to the sample set of fault probability and the definition function of fuzzy C-means clustering (FCM), the mathematical model corresponding to the fault probability is obtained, and the objective function corresponding to the mathematical model can be expressed as:

[0146]

[0147] The constraints corresponding to the mathematical model are:

[0148]

[0149]

[0150]

[0151] Where T1 is the objective function corresponding to the mathematical model of fault probability, v ij is the cluster center.

[0152] S703 , performing clarification processing on the classification results of each fault occurrence probability, and generating a second target vector corresponding to the fault occurrence probability based on the clarified classification results.

[0153] Specifically, step S702 uses the fuzzy C-means clustering method to obtain a fuzzy classification result for the sample set of fault probability. Since the final classification results need to be clearly divided, it is necessary to clarify the fuzzy classification results obtained by the fuzzy C-means clustering method. i In the fuzzy classification process, it is impossible to clearly classify the types. If the sample p of the probability of failure i satisfy Then the sample p of the failure probability i Classified as the jth category, according to the results of fuzzy partitioning clarification and fuzzy C-means clustering, the results of fuzzy partitioning clarification and fuzzy C-means clustering are graded according to the range of cluster centers. The fault occurrence probability classification results are shown in Table 3.

[0154] Table 3 Fault probability classification results

[0155]

[0156] From the above classification results of the fault probability, it can be seen that the fault probability can be divided into four types of cluster centers. The membership degree of the probability of the same level is weighted to obtain the second target vector corresponding to the fuzzy fault probability, that is, the second target vector corresponding to the fault probability can be expressed as:

[0157] V2=[v 21 ,v 22 ,v 23 ,v 24 ]

[0158] Among them, v 21 、v 22 、v 23 、v 24 They represent the membership degree of the fault probability evaluation index corresponding to level I, level II, level III, and level IV. For example, when the probability of level I fault is 0.2, the probability of level II fault is 0.4, the probability of level III fault is 0.3, and the probability of level IV fault is 0.1, the second target vector corresponding to the fault probability can be expressed as:

[0159] V2=[0.2,0.4,0.3,0.1]

[0160] In the above-mentioned safety assessment method of the power system, a sample set of fault occurrence probabilities is obtained, and the sample set of fault occurrence probabilities is input into the fuzzy C-means clustering model for classification, so as to obtain the classification results of each fault occurrence probability in the sample set, and the classification results of each fault occurrence probability are clarified. The second target vector corresponding to the generated fault occurrence probability is more accurate based on the fuzzy C-means clustering and the clarified classification results.

[0161] exist Figure 3 Based on the embodiment shown, in one embodiment, as Figure 8 As shown, the specific implementation steps for obtaining the fault ratio corresponding to the fault severity are described in detail, including:

[0162] S801, obtaining a sample set of anomaly detection time.

[0163] Specifically, the server may obtain a sample set of abnormality detection time from the memory of the power system at a preset time interval. For example, the sample set of abnormality detection time may be t={t1, t2, ..., t n}.

[0164] S802: Input the sample set of abnormal detection time into the fuzzy C-means clustering model for classification, and obtain the classification result of each abnormal detection time in the sample set.

[0165] Specifically, the mathematical model corresponding to the anomaly detection time is obtained according to the sample set of the anomaly detection time and the definition function of the fuzzy C-means clustering. The objective function corresponding to the mathematical model can be expressed as:

[0166]

[0167] The constraints corresponding to the mathematical model are:

[0168]

[0169]

[0170]

[0171] Where T2 is the objective function corresponding to the mathematical model of fault probability, v ij is the cluster center.

[0172] S803, performing clarification processing on the classification results of each abnormality detection time, and generating a third target vector corresponding to the abnormality detection time based on the clarified classification results.

[0173] Specifically, step S802 obtains a fuzzy classification result for the abnormal detection time sample set by the fuzzy C-means clustering method. Since the final classification results need to be clearly divided, it is necessary to clarify the fuzzy classification results obtained by the fuzzy C-means clustering method. i In the fuzzy segmentation process, it is impossible to clearly divide the types. If the sample t of the anomaly detection time satisfies Then the sample p of the failure probability i It is classified into the jth category. According to the results of fuzzy partitioning clarification and fuzzy C-means clustering, the results of fuzzy partitioning clarification and fuzzy C-means clustering are graded according to the range of cluster centers. The classification results of anomaly detection time are shown in Table 4.

[0174] Table 4. Anomaly detection time classification results

[0175]

[0176] From the above classification results of anomaly detection time, it can be seen that anomaly detection time can be divided into four types of cluster centers. The membership of the probability of the same level is weighted to obtain the third target vector corresponding to the fuzzy anomaly detection time, that is, the third target vector corresponding to the anomaly detection time can be expressed as:

[0177] V3=[v 31 ,v 32 ,v 33 ,v34 ]

[0178] Among them, v 21 、v 22 、v 23 、v 24 They represent the degree of membership of the fault probability assessment index corresponding to level I, level II, level III, and level IV. For example, when the probability of the abnormal detection time being divided into level I is 0.2, the probability of the abnormal detection time being divided into level II is 0.4, the probability of the abnormal detection time being divided into level III is 0.3, and the probability of the abnormal detection time being divided into level IV is 0.1, therefore, the third target vector corresponding to the abnormal detection time can be expressed as:

[0179] V3 = [0.2, 0.4, 0.3, 0.1]

[0180] In the above-mentioned safety assessment method of the power system, a sample set of anomaly detection times is obtained, and the sample set of anomaly detection times is input into a fuzzy C-means clustering model for grading to obtain a grading result of each anomaly detection time in the sample set, and the grading result of each anomaly detection time is clarified. The grading result based on fuzzy C-means clustering and the clarified processing makes the generated third target vector corresponding to the anomaly detection time more accurate.

[0181] exist Figure 2 Based on the embodiment shown, in one embodiment, as Fig. 9 As shown, the specific implementation steps for obtaining the fault ratio corresponding to the fault severity are described in detail, including:

[0182] S901, obtaining the weight corresponding to each security assessment indicator.

[0183] Specifically, the initial weight of each safety assessment indicator is determined based on expert experience, and the weight corresponding to each safety assessment indicator is determined based on the initial weight of each safety assessment indicator. Optionally, a corresponding neural network model can be constructed, and the initial weight of each safety assessment indicator is used as input information. After training the neural network model, the weight of each safety assessment indicator is output. Optionally, the initial weight of each safety assessment indicator can be calculated by a corresponding algorithm to obtain the weight of each safety assessment indicator. For example, the weight corresponding to the fault severity can be 0.4, the weight corresponding to the fault probability can be 0.3, and the weight corresponding to the abnormality detection time can be 0.3.

[0184] S902, calculating a target safety assessment result of the power system according to the weight corresponding to each safety assessment indicator and the target vector of each safety assessment indicator.

[0185] Specifically, the fuzzy operation in fuzzy mathematics is used to construct a safety assessment grading model for the weights corresponding to each safety assessment indicator and the target vector of each safety assessment indicator. The safety assessment grading model can be expressed as:

[0186]

[0187] Wherein, W represents the weight vector; w1, w2, w3 represent the weight values ​​of fault severity, fault probability and anomaly detection time, and w1+w2+w3=1, V1, V2, V3 represent the first target vector corresponding to the fault severity, the second target vector corresponding to the fault probability and the target vector corresponding to the anomaly detection time.

[0188] Furthermore, according to the risk assessment theory, we can know the impact of failure probability and consequence severity on system risk, so generally w1=0.4, w2=0.4, w3=0.2 are taken. According to the maximum membership principle in fuzzy reasoning, the target safety assessment result after the power system fails can be determined by the maximum membership. For example, the target safety assessment result is shown in Table 5, and the specific data is determined according to the calculation results.

[0189] Table 5 Target safety assessment results

[0190]

[0191] In the above-mentioned power system security assessment method, the weight corresponding to each security assessment indicator is obtained, and the target security assessment result of the power system is calculated according to the weight corresponding to each security assessment indicator and the target vector of each security assessment indicator, so that the target security assessment result of the power system is more reasonable.

[0192] In one embodiment, Fig.10 As shown, in order to facilitate the understanding of those skilled in the art, the safety assessment method of the power system is introduced in detail below. The method may include:

[0193] S1001, obtaining safety assessment indicators of the power system;

[0194] S1002, obtaining a fault ratio corresponding to the fault severity and a preset fault severity model corresponding to the fault severity;

[0195] S1003, determining a membership function curve of fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm;

[0196] S1004, determining a first target vector corresponding to the fault severity according to the fault proportion corresponding to the fault severity and the membership function curve of the fault severity;

[0197] S1005, obtaining a sample set of fault occurrence probability;

[0198] S1006, inputting the sample set of fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set;

[0199] S1007, performing clarification processing on the classification results of each fault occurrence probability, and generating a second target vector corresponding to the fault occurrence probability based on the clarified classification results;

[0200] S1008, obtaining a sample set of anomaly detection time;

[0201] S1009, inputting the sample set of abnormal detection time into the fuzzy C-means clustering model for classification, and obtaining the classification result of each abnormal detection time in the sample set;

[0202] S1010, performing a clarification process on the classification results of each abnormality detection time, and generating a third target vector corresponding to the abnormality detection time based on the clarified classification results;

[0203] S1011, obtaining the weight corresponding to each safety assessment indicator;

[0204] S1012, calculating a target safety assessment result of the power system according to the weight corresponding to each safety assessment indicator and the target vector of each safety assessment indicator.

[0205] It should be noted that for the description in the above S1001-S1012, reference may be made to the relevant description in the above embodiment, and the effects are similar, which will not be repeated in this embodiment.

[0206] Furthermore, the power system security assessment method provided in this application is combined with Fig.11The flowchart shown in the figure is described in detail. First, according to the fault severity data, three input variable membership functions are defined, namely, software failure membership function, hardware paralysis membership function and data tampering or failure membership function. According to the membership function, the software failure severity level, hardware paralysis severity level and data tampering or failure severity level are obtained. The fuzzy rule base of fault severity is specified. Based on the fuzzy reasoning operation of max-min compound operation, the software failure severity level, hardware paralysis severity level and data tampering or failure severity level are integrated to obtain the comprehensive fault severity level. According to the comprehensive fault severity level, the comprehensive severity fuzzy evaluation vector V1 is obtained. Then, the fuzzy C-means clustering algorithm (FCM) is used to classify the fault probability sample set to obtain the classified fault probability level, and the probability fuzzy evaluation vector V2 is obtained according to the fault probability level. Similarly, the fuzzy C-means clustering algorithm is used to classify the abnormal detection time sample set to obtain the classified abnormal detection time level, and the abnormal detection time evaluation vector V3 is obtained according to the abnormal detection time level. According to the comprehensive severity fuzzy evaluation vector V1, the probability fuzzy evaluation vector V2 and the abnormality detection time evaluation vector V3, a risk fuzzy evaluation vector R is obtained. Finally, the safety evaluation warning level is determined according to the risk fuzzy evaluation vector R. The safety evaluation warning level can conduct a more comprehensive and reasonable safety assessment of the power system.

[0207] In the above-mentioned safety assessment method for the power system, the safety assessment index of the power system is obtained. First, the fault proportion corresponding to the fault severity and the preset fault severity model corresponding to the fault severity are obtained. According to the fault severity model and the trapezoidal fuzzy distribution algorithm, the membership function curve of the fault severity is determined. According to the fault proportion corresponding to the fault severity and the membership function curve of the fault severity, the first target vector corresponding to the fault severity is determined. Then, a sample set of fault occurrence probability is obtained, and the sample set of fault occurrence probability is input into the fuzzy C-means clustering model for classification, and the classification result of each fault occurrence probability in the sample set is obtained. The classification results are clarified, and a second target vector corresponding to the fault occurrence probability is generated based on the clarified classification results, and then a sample set of abnormal detection time is obtained, and the sample set of abnormal detection time is input into the fuzzy C-means clustering model for classification, and the classification results of each abnormal detection time in the sample set are obtained, and the classification results of each abnormal detection time are clarified, and a third target vector corresponding to the abnormal detection time is generated based on the clarified classification results, and finally the weight corresponding to each safety assessment indicator is obtained, and the target safety assessment result of the power system is calculated according to the weight corresponding to each safety assessment indicator and the target vector of each safety assessment indicator. This embodiment first calculates the evaluation results of the three indicators of fault severity, fault probability and abnormal detection time, and then conducts a comprehensive safety assessment on these three evaluation results, so as to comprehensively and reasonably conduct a safety assessment on the power system from the three aspects.

[0208] It should be understood that although Figure 2-4 and Figure 6-11 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 and Figure 6-11 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0209] In one embodiment, Fig.12 As shown, a safety assessment device for a power system is provided, comprising: a first acquisition module 11, a first calculation module 12 and a second calculation module 13, wherein:

[0210] A first acquisition module 11 is used to acquire safety assessment indicators of the power system; the safety assessment indicators include at least two of fault severity, fault occurrence probability and abnormality detection time;

[0211] A first calculation module 12 is used to calculate a target vector corresponding to each safety assessment indicator; the target vector is used to represent a safety assessment result of the safety assessment indicator;

[0212] The second calculation module 13 is used to calculate the target safety assessment result of the power system according to the target vector corresponding to each safety assessment index.

[0213] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0214] Based on the above embodiment, optionally, Fig.13 As shown, the second calculation module 13 includes:

[0215] A first calculation unit 131 is used to calculate a first target vector corresponding to the fault severity according to the fault severity;

[0216] A second calculation unit 132 is used to calculate a second target vector corresponding to the fault occurrence probability according to the fault occurrence probability;

[0217] The third calculation unit 133 is used to calculate a third target vector corresponding to the abnormality detection time.

[0218] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0219] On the basis of the above embodiment, optionally, the above-mentioned first calculation unit 131 is specifically used to obtain the fault proportion corresponding to the fault severity and the preset fault severity model corresponding to the fault severity, determine the membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm, and determine the first target vector corresponding to the fault severity according to the fault proportion corresponding to the fault severity and the membership function curve of the fault severity.

[0220] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0221] Based on the above embodiment, optionally, the above-mentioned first calculation unit 131 is specifically used to obtain a first fault ratio corresponding to the software failure severity, obtain a second fault ratio corresponding to the hardware paralysis severity, and obtain a third fault ratio corresponding to the ratio of the data tampering or failure severity.

[0222] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0223] On the basis of the above embodiment, optionally, the above-mentioned second calculation unit 132 is specifically used to obtain a sample set of the fault occurrence probability, input the sample set of the fault occurrence probability into the fuzzy C-means clustering model for grading, obtain a grading result of each fault occurrence probability in the sample set, clarify the grading result of each fault occurrence probability, and generate a second target vector corresponding to the fault occurrence probability based on the clarified grading result.

[0224] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0225] On the basis of the above embodiment, optionally, the above third calculation unit 133 is specifically used to obtain a sample set of the abnormality detection time, input the sample set of the abnormality detection time into a fuzzy C-means clustering model for grading, obtain a grading result of each of the abnormality detection times in the sample set, clarify the grading result of each of the abnormality detection times, and generate a third target vector corresponding to the abnormality detection time based on the clarified grading result.

[0226] In one embodiment, Fig.14 As shown, the above device also includes: a second acquisition module 14,

[0227] The second acquisition module 14 is used to obtain the weight corresponding to each security assessment indicator.

[0228] The power system safety assessment device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0229] For the specific definition of the safety assessment device of the power system, please refer to the definition of the safety assessment method of the power system above, which will not be repeated here. Each module in the above-mentioned safety assessment device of the power system can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0230] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0231] In one embodiment, a server is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0232] Acquire safety assessment indicators of the power system; the safety assessment indicators include at least two of fault severity, fault occurrence probability and abnormality detection time;

[0233] For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator;

[0234] According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the power system is calculated.

[0235] In one embodiment, when the processor executes the computer program, the following steps are further implemented: if the safety assessment index includes fault severity, fault occurrence probability and abnormality detection time, then for each of the safety assessment indicators, calculating the target vector corresponding to the safety assessment indicator includes:

[0236] For the fault severity, calculating a first target vector corresponding to the fault severity;

[0237] For the fault occurrence probability, calculating a second target vector corresponding to the fault occurrence probability;

[0238] For the abnormality detection time, a third target vector corresponding to the abnormality detection time is calculated.

[0239] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the step of calculating a first target vector corresponding to the fault severity for the fault severity includes:

[0240] Acquire a fault proportion corresponding to the fault severity and a preset fault severity model corresponding to the fault severity;

[0241] Determining a membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm;

[0242] A first target vector corresponding to the fault severity is determined according to the fault proportion corresponding to the fault severity and a membership function curve of the fault severity.

[0243] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the fault severity includes software failure severity, hardware paralysis severity, and data tampering or failure severity; and obtaining the fault proportion corresponding to the fault severity includes:

[0244] Obtaining a first fault ratio corresponding to the software failure severity; the first fault ratio is used to represent the ratio of the number of faulty processes of the software to the total number of processes of the software;

[0245] Obtaining a second fault ratio corresponding to the severity of the hardware paralysis; the second fault ratio is used to represent the ratio of the difference between the data processing volume of the hardware before the fault and the data volume after the fault to the total data volume of the hardware;

[0246] A third fault ratio corresponding to the ratio of the data tampering or failure severity is obtained; the third fault ratio is used to characterize the ratio of the amount of data that is not affected by the power system after a fault occurs to the total amount of data in the power system during normal operation.

[0247] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the step of calculating a second target vector corresponding to the fault occurrence probability for the fault occurrence probability includes:

[0248] Obtaining a sample set of the fault occurrence probability;

[0249] Inputting the sample set of the fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set;

[0250] The classification results of the fault occurrence probabilities are clarified, and a second target vector corresponding to the fault occurrence probability is generated based on the clarified classification results.

[0251] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the step of calculating a third target vector corresponding to the abnormality detection time for the abnormality detection time includes:

[0252] Obtaining a sample set of the anomaly detection time;

[0253] Inputting the sample set of the abnormal detection time into the fuzzy C-means clustering model for classification, and obtaining the classification result of each abnormal detection time in the sample set;

[0254] The classification results of each of the abnormality detection times are clarified, and a third target vector corresponding to the abnormality detection time is generated based on the clarified classification results.

[0255] In one embodiment, when the processor executes the computer program, the following steps are further implemented: the target safety assessment result of the power system is calculated according to the target vector corresponding to each of the safety assessment indicators, including:

[0256] Obtaining the weight corresponding to each of the security assessment indicators;

[0257] The target safety assessment result of the power system is calculated according to the weight corresponding to each of the safety assessment indicators and the target vector of each of the safety assessment indicators.

[0258] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0259] Acquire safety assessment indicators of the power system; the safety assessment indicators include at least two of fault severity, fault occurrence probability and abnormality detection time;

[0260] For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator;

[0261] According to the target vector corresponding to each of the safety assessment indicators, a target safety assessment result of the power system is calculated.

[0262] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: if the safety assessment index includes fault severity, fault occurrence probability and abnormality detection time, then for each of the safety assessment indicators, calculating the target vector corresponding to the safety assessment indicator includes:

[0263] For the fault severity, calculating a first target vector corresponding to the fault severity;

[0264] For the fault occurrence probability, calculating a second target vector corresponding to the fault occurrence probability;

[0265] For the abnormality detection time, a third target vector corresponding to the abnormality detection time is calculated.

[0266] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: the step of calculating a first target vector corresponding to the fault severity for the fault severity comprises:

[0267] Acquire a fault proportion corresponding to the fault severity and a preset fault severity model corresponding to the fault severity;

[0268] Determining a membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm;

[0269] A first target vector corresponding to the fault severity is determined according to the fault proportion corresponding to the fault severity and a membership function curve of the fault severity.

[0270] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the fault severity includes software failure severity, hardware paralysis severity, and data tampering or failure severity; the obtaining of the fault proportion corresponding to the fault severity includes:

[0271] Obtaining a first fault ratio corresponding to the software failure severity; the first fault ratio is used to represent the ratio of the number of faulty processes of the software to the total number of processes of the software;

[0272] Obtaining a second fault ratio corresponding to the severity of the hardware paralysis; the second fault ratio is used to represent the ratio of the difference between the data processing volume of the hardware before the fault and the data volume after the fault to the total data volume of the hardware;

[0273] A third fault ratio corresponding to the ratio of the data tampering or failure severity is obtained; the third fault ratio is used to characterize the ratio of the amount of data that is not affected by the power system after a fault occurs to the total amount of data in the power system during normal operation.

[0274] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: the step of calculating a second target vector corresponding to the fault occurrence probability for the fault occurrence probability includes:

[0275] Obtaining a sample set of the fault occurrence probability;

[0276] Inputting the sample set of the fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set;

[0277] The classification results of the fault occurrence probabilities are clarified, and a second target vector corresponding to the fault occurrence probability is generated based on the clarified classification results.

[0278] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the step of calculating a third target vector corresponding to the abnormality detection time for the abnormality detection time includes:

[0279] Obtaining a sample set of the anomaly detection time;

[0280] Inputting the sample set of the abnormal detection time into the fuzzy C-means clustering model for classification, and obtaining the classification result of each abnormal detection time in the sample set;

[0281] The classification results of each of the abnormality detection times are clarified, and a third target vector corresponding to the abnormality detection time is generated based on the clarified classification results.

[0282] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: the target safety assessment result of the power system is calculated according to the target vector corresponding to each of the safety assessment indicators, including:

[0283] Obtaining the weight corresponding to each of the security assessment indicators;

[0284] The target safety assessment result of the power system is calculated according to the weight corresponding to each of the safety assessment indicators and the target vector of each of the safety assessment indicators.

[0285] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0286] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0287] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for safety assessment of a power system, characterized in that: The method comprises: Obtaining safety assessment indicators of the power system; the safety assessment indicators include fault severity, fault occurrence probability and abnormality detection time; For each of the safety assessment indicators, a target vector corresponding to the safety assessment indicator is calculated; the target vector is used to represent the safety assessment result of the safety assessment indicator; Obtaining the weight corresponding to each of the security assessment indicators; Calculating a target safety assessment result of the power system according to a weight corresponding to each of the safety assessment indicators and a target vector of each of the safety assessment indicators; The fault severity includes software failure severity, hardware paralysis severity, and data tampering or failure severity; and for each of the security assessment indicators, calculating a target vector corresponding to the security assessment indicator includes: Obtaining a first fault ratio corresponding to the software failure severity; the first fault ratio is used to represent the ratio of the number of faulty processes of the software to the total number of processes of the software; Obtaining a second fault ratio corresponding to the severity of the hardware paralysis; the second fault ratio is used to represent the ratio of the difference between the data processing volume of the hardware before the fault and the data volume after the fault to the total data volume of the hardware; Acquire a third fault ratio corresponding to the ratio of the data tampering or failure severity; the third fault ratio is used to characterize the ratio of the amount of data that is not affected after the fault of the power system to the total amount of data when the power system is operating normally; Acquire a preset fault severity model corresponding to the fault severity; Determining a membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm; Determining a first target vector corresponding to the fault severity according to a fault proportion corresponding to the fault severity and a membership function curve of the fault severity; If the safety assessment indicators include fault severity, fault probability and abnormality detection time, then for each of the safety assessment indicators, calculating the target vector corresponding to the safety assessment indicator includes: Obtaining a sample set of the fault occurrence probability; Inputting the sample set of the fault occurrence probability into the fuzzy C-means clustering model for classification, and obtaining the classification result of each fault occurrence probability in the sample set; Performing a clarification process on the classification results of each of the fault occurrence probabilities, and generating a second target vector corresponding to the fault occurrence probability based on the clarified classification results; Obtaining a sample set of the anomaly detection time; Inputting the sample set of the abnormal detection time into the fuzzy C-means clustering model for classification, and obtaining the classification result of each abnormal detection time in the sample set; The classification results of each of the abnormality detection times are clarified, and a third target vector corresponding to the abnormality detection time is generated based on the clarified classification results.

2. A safety assessment device for a power system, characterized in that: The device comprises: A first acquisition module is used to acquire safety assessment indicators of the power system; the safety assessment indicators include fault severity, fault occurrence probability and abnormality detection time; A first calculation module is used to calculate a target vector corresponding to each of the security assessment indicators; the target vector is used to represent a security assessment result of the security assessment indicator; A second calculation module, used for calculating a target safety assessment result of the power system according to a target vector corresponding to each of the safety assessment indicators; The fault severity includes software failure severity, hardware paralysis severity and data tampering or failure severity; the first calculation module includes: A first calculation unit is used to obtain a first fault ratio corresponding to the severity of the software failure; the first fault ratio is used to characterize the ratio of the number of faulty processes of the software to the total number of processes of the software; obtain a second fault ratio corresponding to the severity of the hardware paralysis; the second fault ratio is used to characterize the ratio of the difference between the data processing volume before the fault and the data volume after the fault of the hardware to the total data volume of the hardware; obtain a third fault ratio corresponding to the ratio of the severity of the data tampering or failure; the third fault ratio is used to characterize the ratio of the amount of data that is not affected by the power system after the fault occurs to the total amount of data of the power system during normal operation; obtain a preset fault severity model corresponding to the fault severity; determine the membership function curve of the fault severity according to the fault severity model and the trapezoidal fuzzy distribution algorithm; determine the first target vector corresponding to the fault severity according to the fault ratio corresponding to the fault severity and the membership function curve of the fault severity; a second calculation unit, configured to obtain a sample set of the fault occurrence probability, input the sample set of the fault occurrence probability into a fuzzy C-means clustering model for classification, obtain a classification result of each of the fault occurrence probabilities in the sample set, perform clarification processing on the classification result of each of the fault occurrence probabilities, and generate a second target vector corresponding to the fault occurrence probability based on the clarified classification result; A third calculation unit is used to obtain a sample set of the abnormality detection time, input the sample set of the abnormality detection time into a fuzzy C-means clustering model for classification, obtain a classification result of each abnormality detection time in the sample set, clarify the classification result of each abnormality detection time, and generate a third target vector corresponding to the abnormality detection time based on the clarified classification result.

3. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to claim 1 are implemented.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to claim 1 are implemented.