Urban gas pipeline leakage risk evolution assessment method, electronic equipment

Through the Grey-DEMATEL-ISM and DBN methods, combined with the operating characteristics and historical accidents of urban gas pipelines, a risk assessment system from people-things-environment-pipelines was established, which solved the uncertainty of risk factors and physical relationships in the existing technology. It solves the problem of lack of logical reconstruction, realizes quantitative dynamic analysis and dynamic assessment of urban gas pipeline leakage risks, and improves the accuracy of risk prevention and control and accident investigation.

CN118278746BActive Publication Date: 2024-09-03HEFEI INST FOR PUBLIC SAFETY RES TSINGHUA UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410664640.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-27
Publication Date
2024-09-03
Estimated Expiration
2044-05-27

AI Technical Summary

Technical Problem

It is difficult to fully consider the uncertainties and physical relationships of different types of risk factors when using existing technology to assess urban gas pipeline leakage risks, resulting in a lack of logical reconstruction of the structure of the risk evolution model and difficulty in achieving quantitative dynamic analysis.

Method used

Using the Grey-DEMATEL-ISM and DBN methods, combined with the operating characteristics of urban gas pipelines and historical accident scenarios, a risk assessment index system from four aspects: people, materials, environment, and management is established. A direct impact matrix is ​​generated through expert scoring to construct a causal hierarchical relationship. and multi-level hierarchical structure model to realize dynamic assessment of leakage accidents.

Benefits of technology

It achieves a comprehensive quantitative dynamic analysis of urban gas pipeline leakage risks, provides a dynamic Bayesian network model to update the probability of accident consequences in real time, assists pipeline operation and maintenance and accident investigation, and improves the selection of risk prevention and control measures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118278746B
    Figure CN118278746B
Patent Text Reader

Abstract

The present invention discloses a method and electronic device for evaluating the evolution of leakage risk of a city gas pipeline. It relates to the field of gas safety technology. The method comprises: obtaining historical leakage data of a city gas pipeline, and obtaining multiple leakage risk factors according to the historical leakage data; determining expert scores of the mutual influence relationship between each leakage risk factor, and generating a direct influence matrix according to the expert scores; obtaining the causal hierarchy relationship and multi-level hierarchical structure model between each leakage risk factor according to the direct influence matrix; constructing a leakage accident evolution model according to the causal hierarchy relationship and the multi-level hierarchical structure model; and using the leakage accident evolution model to evaluate the evolution of leakage risk of a city gas pipeline. This method can ensure the safe operation of a city gas pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of gas safety technology, and in particular to a method and electronic equipment for evaluating the evolution of leakage risk of a city gas pipeline. Background Art

[0002] Urban buried gas pipelines are responsible for urban energy transportation and resource supply, and are important infrastructure and lifelines for urban operation, production and life. Since most pipelines are buried underground, the transmission medium is flammable and explosive, and they are located in densely populated areas, they are hidden and high-risk. Gas pipeline leakage and its secondary derivative accidents are characterized by suddenness, uncertainty and complexity of evolution paths, making it difficult to formulate scientific and effective risk emergency response plans. Therefore, based on the operating characteristics of urban buried gas pipelines and combined with historical accident scenarios, it is of great significance to conduct a risk evolution assessment of gas pipeline accidents for pipeline accident investigation and to ensure the safe operation of pipelines. Therefore, it is necessary to conduct a risk assessment of urban gas pipelines to ensure the safe operation of urban gas pipelines. Summary of the invention

[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first purpose of the present invention is to propose a method for evaluating the evolution of leakage risk of a city gas pipeline to ensure the safe operation of the city gas pipeline.

[0004] A second objective of the present invention is to provide an electronic device.

[0005] To achieve the above-mentioned purpose, the first embodiment of the present invention proposes a method for evaluating the evolution of leakage risk of a city gas pipeline, the method comprising: obtaining historical leakage data of the city gas pipeline, and obtaining multiple leakage risk factors based on the historical leakage data; determining expert scores of the mutual influence relationship between each of the leakage risk factors, and generating a direct influence matrix based on the expert scores; obtaining a causal hierarchical relationship and a multi-level hierarchical structure model between each of the leakage risk factors based on the direct influence matrix; constructing a leakage accident evolution model based on the causal hierarchical relationship and the multi-level hierarchical structure model; and using the leakage accident evolution model to perform leakage risk evolution evaluation on the city gas pipeline.

[0006] The second aspect of the present invention proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the above-mentioned urban gas pipeline leakage risk evolution assessment method is implemented.

[0007] According to the urban gas pipeline leakage risk evolution assessment method and electronic device of the embodiment of the present invention, historical leakage data of the urban gas pipeline are obtained, and multiple leakage risk factors are obtained according to the historical leakage data; expert scores of the mutual influence relationship between each leakage risk factor are determined, and a direct influence matrix is ​​generated according to the expert scores; the causal hierarchy relationship and the multi-level hierarchical structure model between each leakage risk factor are obtained according to the direct influence matrix; a leakage accident evolution model is constructed according to the causal hierarchy relationship and the multi-level hierarchical structure model; and the leakage accident evolution model is used to perform leakage risk evolution assessment on the urban gas pipeline, thereby realizing gas pipeline accident risk evolution assessment, which is of great significance for ensuring the safe operation of the pipeline.

[0008] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a flow chart of a method for evaluating the evolution of urban gas pipeline leakage risk according to an embodiment of the present invention;

[0010] Figure 2 is a cause-effect diagram of an example of the present invention;

[0011] Figure 3 is a schematic diagram of a multi-level hierarchical structure model of an example of the present invention;

[0012] Figure 4 is a schematic diagram of a leakage accident evolution model of an example of the present invention;

[0013] Figure 5 is a graph of a gas pipeline leakage probability variation curve according to an example of the present invention;

[0014] Figure 6 It is a flow chart of a method for evaluating the evolution of urban gas pipeline leakage risk according to an example of the present invention;

[0015] Figure 7 is an example of an electrochemical corrosion probability graph;

[0016] Figure 8 is an example pipeline leakage probability graph;

[0017] Fig. 9 is an example of a pipeline perforation and pipeline rupture probability graph;

[0018] Fig.10 is another example of a pipeline perforation vs. pipeline rupture probability graph;

[0019] Fig.11 is a structural block diagram of an electronic device according to an embodiment of the present invention;

[0020] Fig.12 It is a partial diagram of a causal graph of an example of the present invention. DETAILED DESCRIPTION

[0021] Scholars at home and abroad have conducted a series of studies on the risk factors and their evolution process that affect gas pipeline safety, mainly focusing on risk assessment and numerical simulation of leakage and explosion. Risk analysis mainly uses methods such as accident tree, event tree, Petri net, BN (Bayesian network), DEMATEL (Decision Making Trail and Evaluation Laboratory) and ISM (Interpretive Structural Modeling). For example, Li et al. characterized the dynamic mechanism of risk transfer in the system based on complex dynamic network theory for the network structure and key risk factors of urban pipelines; Huang et al. proposed a risk-based detection scheme using DBN (Dynamic BN) and online detection data considering the coupling effect of corrosion and pitting; Wang Wenhe et al. combined bow tie and DBN to construct a gas pipeline failure probability model and conducted dynamic evaluation; Li Cong et al. integrated complex network theory and DBN to construct a gas pipeline external corrosion accident cohesion network and conducted an analysis of the disaster-causing mechanism of external corrosion accidents in the middle and late stages of pipeline service; Sun Yilin et al. integrated DEMATEL-ISM to quantitatively analyze the causal mechanism of organizational factors in gas pipeline explosion accidents. The numerical simulation of leakage and explosion mainly relies on software systems such as FLACS (fluid accident consequence simulation software) and FLUENT (fluid analysis software) to simulate the consequences of leakage and explosion. For example, Xu Houjia et al. used scenario construction and scenario deduction theory to use FLACS to explore the evolution path and impact range of urban gas pipeline accidents; Lozano-Toro et al. combined with geographic information systems to analyze the potential dangerous areas formed by gas diffusion after pipeline rupture and evaluate the impact on urban production and life; Li Xinhong et al. used the FLUENT model to study the characteristics of urban natural gas pipeline leakage and the resulting gas diffusion in semi-enclosed spaces. The above studies have studied the risk evolution and disaster-causing mechanism of urban buried gas pipeline accidents to a certain extent, but the above methods only consider the fuzziness or randomness of the uncertainty of risk factors, and there are still limitations in conducting quantitative dynamic analysis based on comprehensive consideration of the uncertainty of different types of risk factors; in terms of the establishment of the risk evolution model structure, the structural relationship determined by DEAMTEL-ISM is directly converted into BN, lacking the logical reconstruction of the actual physical relationship of risk factors.

[0022] In view of this, the present invention proposes a risk evolution assessment method and electronic equipment for urban gas pipeline leakage, which integrates Grey-DEMATEL-ISM and DBN methods to comprehensively assess the risk evolution process of urban buried gas pipeline leakage and its secondary derivative accidents. It includes the following contents: First, based on the operating characteristics and structural characteristics of urban buried gas pipelines, combined with the occurrence and development process of leakage and explosion accidents, a risk assessment index system is established from the four aspects of people-objects-environment-pipeline; secondly, the causal hierarchical relationship between risk factors is analyzed by the Grey-DEMATEL-ISM method, and key risk factors are screened to construct a leakage accident evolution model with risk factors as nodes and risk transfer relationships as connecting edges; thirdly, different types of risk factors are quantified, and a pipeline leakage risk evolution DBN model is established based on the logical relationship between risk factors; finally, the probability of accident consequences is calculated and updated in real time, so as to realize the dynamic analysis of the evolution process of gas pipeline leakage risk, in order to provide decision-making basis for the optimization of risk prevention and control measures in the pipeline operation and maintenance process and accident investigation after pipeline leakage. Based on the operating characteristics of urban buried gas pipelines and combined with historical accident scenarios, an assessment of the evolution of gas pipeline accident risks is carried out, which is of great significance for pipeline accident investigation and ensuring the safe operation of pipelines.

[0023] Please refer to the following Figure 1-12 The present invention is described in detail with reference to the accompanying drawings. The embodiments described herein are exemplary and should not be construed as limiting the present invention.

[0024] Figure 1 It is a flow chart of a method for evaluating the evolution of urban gas pipeline leakage risk according to an embodiment of the present invention.

[0025] like Figure 1 As shown in the figure, the risk evolution assessment method for urban gas pipeline leakage includes:

[0026] S11, obtaining historical leakage data of the city gas pipeline, and obtaining multiple leakage risk factors according to the historical leakage data.

[0027] Specifically, in order to determine the leakage risk factors, the historical leakage data of the city gas pipeline is first obtained, and the occurrence and development process of the historical leakage and explosion accidents are obtained based on the historical leakage data to obtain multiple leakage risk factors.

[0028] Moreover, leakage risk factors can be obtained by relying solely on historical leakage data. For example, in order to obtain leakage risk factors, the operating characteristics and structural characteristics of urban gas pipelines can also be taken into consideration. That is, based on the operating characteristics and structural characteristics of urban gas pipelines, combined with the occurrence and development process of leakage and explosion accidents, multiple leakage risk factors can be obtained. For example, in addition to historical leakage data, leakage risk factors can also be determined based on expert experience and literature research.

[0029] After obtaining the leakage risk factors, a risk assessment index system can be established based on the leakage risk factors. Since the risks of urban gas pipelines in the planning, design, and construction stages are finally presented during the service process. Environmental factors such as internal and external corrosion, earthquakes, and structural factors such as material defects and welding defects directly affect the structural strength of the pipeline and increase the risk of perforation leakage; in addition, organizational management factors such as improper operation of employees, imperfect operating specifications, and third-party factors such as barbaric construction by third parties and long-term occupation of pipelines also directly affect the safe operation of gas pipelines; these factors change dynamically and affect each other. Therefore, according to the operating characteristics of urban gas pipelines, it is possible to identify risk factors from four aspects: people-objects-environment-pipeline, and establish a risk assessment index system. For details, please refer to the example shown in Table 1 below.

[0030] Table 1

[0031]

[0032] Regarding the above-mentioned identification of risk factors from the four aspects of people-objects-environment-management, since different risk factors such as people, objects, environment, and management have their own properties, the prior probability can be determined through expert opinions, historical data, probability distribution and other methods.

[0033] It is difficult to obtain the failure probability of human and management factors through the database. Expert opinions can be used to quantify expert opinions by introducing trapezoidal fuzzy numbers, triangular fuzzy numbers, etc., and their failure probability can be obtained through defuzzification.

[0034] For abnormal process risk factors (signals) such as severe overpressure and pressure holding, the residual can be calculated using the following formula:

[0035] ,

[0036] In the formula, r i,j ( t ) is the residual, x i,j For events x i No. j A monitoring signal, M is the number of signals, x i,j ( t ) is the signalx i,j exist t The monitoring value at the moment, x 0,i,j is the signal x i,j The reference value, x a,i,j Represents the signal x i,j The distance between the threshold and the reference value; therefore, r i (t)>1 indicates abnormal operating condition event x i The residual value exceeds the threshold; let x U,i,j and x L,i,j Respectively represent x i,j The upper and lower limits of the pipeline pressure monitoring signal x i,j , when it exceeds its upper limit x U,i,j That is x i,j (t)>x U,i,j , or below its lower limit x L,i,j That is x i,j (t) <x L,i,j , r can be calculated according to the above formula i,j (t), otherwise r i,j (t) takes the value of 0.

[0037] The probability of pipeline failure caused by process anomalies increases as the residual gradually deviates from the normal area. The deviation process can be described by cumulative normal distribution. At time t, the probability of pressure anomaly is:

[0038] ,

[0039] Among them, σ=1 / 3 is defined to meet the 3σ criterion, and r is the above residual.

[0040] After the gas pipeline is laid, the performance of the pipe body and related auxiliary equipment (such as flanges, valves, etc.) may age over time. Therefore, it is necessary to consider the dynamic characteristics of the nodes related to the physical factors and determine their state transition probability. Assuming that the transition of the node state conforms to the Markov process, the failure of the pipe body and its accessories obeys the Weibull distribution (shape parameter α and scale parameter λ), then:

[0041] ,

[0042] Where F represents failure.

[0043] For pipeline corrosion factors, the corrosion depth d is affected by factors such as pH value, soil quality, water content, and redox potential. σ (T), corrosion length l σ (T) and corrosion rate v σ The change of (T) over time is expressed as:

[0044] ,

[0045] ,

[0046] ,

[0047] Among them, d 0 and l 0 Denote the initial corrosion depth and length, T and T 0 and α are the pipeline exposure time and corrosion starting time, respectively. k and α are soil-pipeline correlation factors. σ is the enhancement factor. The transition probability of the corrosion defect propagating to the next state is proportional to the corrosion growth rate of the defect in the current state.

[0048] S12, determining the expert scores of the mutual influence relationship between each leakage risk factor, and generating a direct influence matrix based on the expert scores.

[0049] Specifically, after determining the leakage risk factors, in order to reflect the mutual relationship between the leakage risk factors and more objectively judge the impact of each leakage risk factor on gas pipeline leakage, the mutual influence relationship between the above leakage risk factors is evaluated by consulting relevant experts in this field and obtaining expert scores.

[0050] Since expert scoring may reduce the accuracy of the results due to subjective uncertainty of the evaluators, it is necessary to obtain expert scores from multiple experts and obtain a direct impact matrix that can reflect the impact relationship between various leakage risk factors based on the expert scores of multiple experts. For example, the expert scores of 5 experts in the field of safe operation and maintenance of urban gas pipeline networks can be collected, and a direct impact matrix can be generated based on the expert scores of the 5 experts.

[0051] S13, based on the direct impact matrix, the causal hierarchy and multi-level hierarchical structure model between the leakage risk factors are obtained.

[0052] Specifically, after obtaining the direct impact matrix, the causal relationship between each leakage risk factor is obtained according to the direct impact matrix, and the causal hierarchical relationship between each leakage risk factor is obtained according to the causal relationship. Moreover, the hierarchical relationship between each leakage risk factor is obtained according to the direct impact matrix, and a multi-level hierarchical structure model containing each leakage risk factor is obtained according to the hierarchical relationship.

[0053] S14, construct a leakage accident evolution model based on the causal hierarchy and multi-level hierarchical structure model.

[0054] Specifically, after obtaining the causal hierarchy and the multi-level hierarchical structure model, since the causal hierarchy can reflect the causal relationship between the leakage risk factors, and the multi-level hierarchical structure model can reflect the hierarchical relationship between the leakage risk factors, a leakage accident evolution model can be constructed based on the causal relationship and hierarchical relationship between the leakage risk factors. The leakage accident evolution model can be a BN (Bayesian network) model, a DBN (Dynamic Bayesian Network) model, etc.

[0055] S15, use the leakage accident evolution model to evaluate the leakage risk evolution of urban gas pipelines.

[0056] Therefore, it is set to obtain historical leakage data of urban gas pipelines, and obtain multiple leakage risk factors based on the historical leakage data; determine the expert scores of the mutual influence relationship between each leakage risk factor, and generate a direct influence matrix based on the expert scores; obtain the causal hierarchy and multi-level hierarchical structure model between each leakage risk factor based on the direct influence matrix; construct a leakage accident evolution model based on the causal hierarchy and multi-level hierarchical structure model; use the leakage accident evolution model to evaluate the leakage risk evolution of urban gas pipelines, thereby realizing the gas pipeline accident risk evolution evaluation, which is of great significance for ensuring the safe operation of the pipeline.

[0057] In some embodiments of the present invention, a direct impact matrix is ​​generated based on expert scores, including: obtaining a value range corresponding to the expert scores based on a preset relationship, wherein the preset relationship includes a correspondence between multiple expert scores and multiple value ranges; obtaining a first expert evaluation matrix based on a lower limit of each value range, and obtaining a second expert evaluation matrix based on an upper limit of each value range; and generating a direct impact matrix based on the first expert evaluation matrix and the second expert evaluation matrix.

[0058] The above preset relationship is explained with a specific example.

[0059] In this specific example, the above preset relationship is as shown in Table 2 below.

[0060] Table 2

[0061]

[0062] Among them, if the expert score of the impact relationship of one leakage risk factor on another leakage risk factor is 1, that is, the degree of impact is small, then the value range corresponding to the expert score is (0,0.25], with a lower limit of 0 and an upper limit of 0.25.

[0063] After obtaining the value range corresponding to each expert's score, since multiple experts are used to score, that is, the influence relationship between the two leakage influencing factors exists in multiple expert scores given by multiple experts, corresponding to multiple value ranges, and then corresponding to multiple value range upper limits and multiple value range lower limits, therefore, the value range upper limits can be added to obtain the average value, and the value range lower limits can be added to obtain the average value, so that the average value can be obtained according to the obtained average value. and . Specifically ,Right now The matrix elements of . Specifically ,Right now The matrix elements of .

[0064] in, is the first expert evaluation matrix, is the second expert evaluation matrix, is the average value of the lower limit of the range of expert scores corresponding to the impact relationship between the i-th leakage risk factor and the j-th leakage risk factor, The average value of the upper limit of the range of expert scores corresponding to the impact relationship of the ith leakage risk factor on the jth leakage risk factor, and n is the total number of leakage risk factors.

[0065] After obtaining the first expert evaluation matrix and the second expert average matrix, the direct influence matrix is ​​obtained according to the row maximum clarity method. . Specifically ,Right now The matrix elements of .

[0066] Among them, the direct impact matrix is ​​calculated according to the following formula: :

[0067] ,

[0068] in, is the maximum value among the average values ​​of the upper limits of the value ranges corresponding to the i-th leakage risk factor.

[0069] In some embodiments of the present invention, the causal hierarchical relationship between each leakage risk factor is obtained according to the direct impact matrix, including: calculating the centrality and causal degree of each leakage risk factor according to the direct impact matrix; and using the centrality and causal degree as the causal hierarchical relationship.

[0070] Specifically, firstly, the influence degree and the influence degree between each leakage risk factor are calculated according to the following formula:

[0071] ,

[0072] ,

[0073] in, For the impact, To be affected. All directly affect the matrix elements in the matrix. For example, if i=1, j=2, then To directly affect the matrix elements in the matrix .

[0074] Furthermore, the centrality and causality of each leakage risk factor are calculated according to the following formula:

[0075] ,

[0076] .

[0077] in, is the centrality, For the reason degree.

[0078] Moreover, after calculating the centrality and causality, the causal hierarchical relationship between the leakage risk factors can be expressed according to the centrality and causality. As the horizontal axis, the degree of cause As the ordinate, draw a cause-effect diagram.

[0079] See below Figure 2 and Fig.12 The example shown illustrates a cause-effect diagram. Figure 2 is the causal diagram based on the leakage risk factors in Table 1 above, Fig.12 for Figure 2 The part where the centrality takes values ​​from 0 to 1.6 and the causality takes values ​​from 0 to 0.8.

[0080] See also Figure 2 It can be seen that the horizontal axis of the causal relationship diagram is the centrality, and the vertical axis is the cause degree. Factors with high cause degrees have a more essential impact on the risk of pipeline leakage and can affect other factors. Figure 2It is known that the seven factors with the highest degree of cause are imperfect operating specifications (F34), low soil pH (F46), flange leakage (F17), inadequate anti-corrosion acceptance and inspection (F25), illegal construction (F1), hydrogen sulfide in gas (F24), and valve body leakage (F18). In the process of gas pipeline operation and maintenance, the occurrence of other factors can be reduced by controlling these factors. The seven factors with the lowest degree of cause are improper construction (F3), construction errors (F2), third-party barbaric construction (F55), long-term pipeline occupation (F56), severe pressure holding (F42), buried corrosion (F44), and internal corrosion (F45). These factors are easily affected by other factors. Therefore, in the process of pipeline operation and maintenance, while controlling these factors, the factors that cause these factors should also be prevented and controlled. The centrality measures the importance of the influencing factor itself to the overall system. The greater the centrality, the more important the factor. The seven factors with the highest centrality are construction errors (F2), operator errors (F4), low soil pH (F46), improper operation (F34), buried corrosion (F44), improper construction (F3), and unreasonable pipeline layout (F8). In the process of pipeline operation and maintenance, the above factors should be given priority to prevention and control.

[0081] From the above analysis, we can see that the causality and centrality of the corrosion-related factors in the physical factors and the human factors are both high, indicating that these two types of factors are easy to affect other factors and are of high importance. Therefore, we should pay more attention to personnel management, improve the management level in the operation of gas pipelines, optimize the operation organization, reasonably divide the work and allocate personnel, and ensure that the operation process is safe and controllable; at the same time, we should improve the construction design, fully consider the safety requirements and factors, and ensure that the structure and materials of the pipeline network meet the specifications and standards; continuously monitor and evaluate the corrosion indicators of the pipeline network, and carry out maintenance and repair in a timely manner to ensure the reliability and safety of the pipeline network.

[0082] In some embodiments of the present invention, a multi-level hierarchical structure model between various leakage risk factors is obtained based on the direct impact matrix, including: normalizing the direct impact matrix using the row maximum method, and obtaining a comprehensive impact matrix based on the normalized direct impact matrix; and obtaining a multi-level hierarchical structure model based on the direct impact matrix and the comprehensive impact matrix.

[0083] Specifically, the direct impact matrix is ​​normalized according to the following formula:

[0084] .

[0085] Furthermore, the comprehensive impact matrix is ​​calculated according to the following formula:

[0086] .

[0087] Among them, O is the direct impact matrix after normalization, U is the comprehensive impact matrix, and k is the preset coefficient.

[0088] In this way, a comprehensive impact matrix can be obtained, thereby reflecting the comprehensive effect of the influence between various leakage risk factors.

[0089] In some embodiments of the present invention, a multi-level hierarchical structure model is obtained based on the direct influence matrix and the comprehensive influence matrix, including: calculating the overall influence matrix based on the direct influence matrix and the comprehensive influence matrix, and obtaining a threshold based on the comprehensive influence matrix; constructing a reachable matrix based on the overall influence matrix and the threshold; and constructing a multi-level hierarchical structure model based on the reachable matrix.

[0090] Specifically, the overall impact matrix is ​​calculated according to the following formula:

[0091] ,

[0092] Among them, H is the overall influence matrix, is the matrix element in the overall influence matrix. I is the unit matrix, which is calculated according to the following formula:

[0093] .

[0094] After calculating the overall influence matrix, the reachability matrix M is constructed according to the following formula:

[0095] ,

[0096] in, is the matrix element of the reachability matrix M.

[0097] After calculating the reachable matrix M, calculate the reachable set Q(S i )、Antecedent set A(S i ) and the common set C. Repeat the calculation of Q(S i ) and A(S i ) and update the set C in turn to build a multi-level hierarchical structure model. The reachable set Q(S i )、Antecedent set A(S i ) and the common set C can be obtained according to the following formula:

[0098] ,

[0099] ,

[0100] .

[0101] Among them, S is the selected factor index, is the row corresponding to the selected factor index in the reachability matrix, is the corresponding column of the selected factor indicator in the reachability matrix. and are all matrix elements in the reachable matrix. For example, if i=1, j=2, then is the matrix element in the reachable matrix M .

[0102] Combine the following Figure 3 The example shown illustrates a multi-level hierarchical structure model. Figure 3 It is a multi-level hierarchical structure model obtained based on the leakage risk factors in Table 1 above.

[0103] Specifically, the factors affecting pipeline leakage risk are divided into levels, and the threshold is calculated using the comprehensive impact matrix U. λ = 0.06, the gas pipeline leakage risk reachable matrix H can be obtained. According to the h in the reachable matrix H ij , combined with the threshold λ , determine the stratification of factors L1{F1,F4,F6,F8,F9,F10,F13,F16,F17,F18,F19,F20,F21,F22,F23,F24,F27,F28,F31,F33,F34,F35,F36,F37,F40,F41,F43,F46,F48}, L2{F12,F14,F25,F30,F32,F54}, L3{F15,F26,F29,F38,F39,F47,F49,F50,F51,F52,F53}, L4{F5,F7,F11,F42,F44,F45,F55,F56,F57}, L5{F2,F3}. The hierarchical relationship of leakage risk factors can provide a reference for establishing the node causal relationship in the leakage accident evolution model.

[0104] In some embodiments of the present invention, a leakage accident evolution model is constructed based on a causal hierarchy and a multi-level hierarchical structure model, including: eliminating leakage risk factors whose centrality is less than a preset centrality threshold and whose causal degree is less than a preset causal degree threshold according to the causal hierarchy, and using the remaining leakage risk factors as model nodes of the leakage accident evolution model; obtaining the logical relationship between each model node according to the multi-level hierarchical structure model; and constructing a leakage accident evolution model based on the model nodes and the logical relationship between each model node.

[0105] Specifically, after obtaining the causal hierarchy, according to the causal degree and centrality of each leakage risk factor in the causal hierarchy, the leakage risk factors with low causal degree and centrality are eliminated.

[0106] After eliminating the leakage risk factors with low causality and centrality, the remaining leakage risk factors can be renumbered and used as model nodes in the leakage accident evolution model. According to the logical relationship between the leakage risk factors during the accident development process, an evolutionary structural model between the gas pipeline leakage risk factors is established, and the model is used as the leakage accident evolution model. The logical relationship between the leakage risk factors can be obtained through the above multi-level hierarchical structure model. The specific leakage accident evolution model can be found in Figure 4 The specific example shown is shown in Figure 1. Thus, it is possible to screen key risk factors and build a leakage accident evolution model by comprehensively considering the hierarchical structure and the accident development process. Figure 4 The √ symbol in the figure indicates that the calculation is complete.

[0107] In some embodiments of the present invention, a leakage risk evolution assessment of a city gas pipeline is performed using a leakage accident evolution model, including: determining a target parent node from the model nodes of the leakage accident evolution model, and using other nodes in the model nodes of the leakage accident evolution model except the target parent node as intermediate nodes, wherein the target parent node is a node in the model nodes of the leakage accident evolution model that does not have a parent node; calculating the prior probability of the target parent node and the conditional probability of the intermediate node; and performing leakage risk evolution assessment based on the prior probability, the conditional probability and the leakage accident evolution model.

[0108] Specifically, the prior probability in the leakage accident evolution model is divided into two forms: for model nodes without parent nodes, as the basic event leading to gas pipeline leakage, involving different types of risk factors such as people-objects-environment-pipes, the prior probability can be determined through historical data (such as environmental factors), probability distribution (such as object factors), expert opinions (such as human and management factors), etc. For the DBN model, the dynamic nodes also need to determine the state transition probability. For the intermediate nodes, it is necessary to calculate the conditional probability that mainly describes the degree of association and logical relationship between the nodes, which can be determined through Boolean algebra, expert experience, etc.

[0109] That is to say, it is necessary to obtain the node without a parent node in the leakage accident evolution model, and determine the node without a parent node as the target parent node. After determining the target parent node, the prior probability of each target parent node is obtained through at least one of historical data (such as environmental factors), probability distribution (such as material factors), and expert opinions (such as human and management factors), such as historical leakage data of urban gas pipelines, probability distribution of leakage risk factors, and expert scores of the probability of occurrence of leakage risk factors. For details, please refer to the example shown below.

[0110] M1-Pipeline perforation;

[0111] M2-Pipeline rupture;

[0112] M3-Pipeline corrosion;

[0113] M4-Pipeline defects;

[0114] M5-valve failure;

[0115] M6-Natural disaster damage;

[0116] M7-stress failure;

[0117] M8-third party sabotage;

[0118] M9-buried corrosion;

[0119] M10-internal corrosion;

[0120] M11-Pipeline quality defects;

[0121] M12-Improper construction;

[0122] M13-severe pressure holding;

[0123] M14- third-party brutal construction;

[0124] M15-Pipeline is occupied for a long time;

[0125] M16 - vehicle run over;

[0126] M17-external corrosive environment;

[0127] M18-chemical corrosive environment;

[0128] M19-Electrochemical corrosion environment;

[0129] M20-external corrosion failure;

[0130] M21-internal corrosion environment;

[0131] M22-internal corrosion failure;

[0132] M23-welding defects;

[0133] M24-installation defect;

[0134] M25- Pipe trench design defects;

[0135] M26 - design error;

[0136] F1- Anti-corrosion acceptance and testing are not in place-7.23×10 -4 ;

[0137] F2-failure of anti-corrosion layer-3.95×10 -3 ;

[0138] F3- small cathode protection distance -1.68×10 -2;

[0139] F4- cathodic protection potential high -4.83×10 -3 ;

[0140] F5-Anode material failure-5.01×10 -3 ;

[0141] F6-Gas containing carbon dioxide-1.35×10 -3 ;

[0142] F7-Gas containing hydrogen sulfide-8.66×10 -3 ;

[0143] F8-Water in the pipe-4.11×10 -3 ;

[0144] F9-Inner coating peeled off-6.73×10 -4 ;

[0145] F10-Poor pigging effect-1.29×10 -2 ;

[0146] F11-Corrosion inhibitor failure-6.73×10 -4 ;

[0147] F12-Material defect-2.43×10 -3 ;

[0148] F13-Poor rolling process-5.19×10 -4 ;

[0149] F14-Welding process defects-3.84×10 -4 ;

[0150] F15-Welding material defects-6.85×10 -4 ;

[0151] F16-Mandatory Installation-1.26×10 -3 ;

[0152] F17-flange cracks-8.65×10 -4 ;

[0153] F18-Mechanical damage-4.58×10 -3 ;

[0154] F19-Insufficient burial depth-1.09×10 -3 ;

[0155] F20-Unreasonable slope angle-9.41×10 -4 ;

[0156] F21-backfill soil coarse-1.87×10 -3 ;

[0157] F22-packing / stem failure-2.69×10 -3 ;

[0158] F23-Flange failure-1.62×10 -2 ;

[0159] F24-valve body failure-1.73×10 -3 ;

[0160] F25-foundation sinking-1.90×10 -2 ;

[0161] F26-Soil Corrosion-1.63×10 -2 ;

[0162] F27-Earthquake-8.13×10 -5 ;

[0163] F28-Unreasonable strength design-6.89×10 -4 ;

[0164] F29-Irrational pipeline layout-1.34×10 -3 ;

[0165] F30 - Operator Error - 3.70 × 10 -3 ;

[0166] F31- Failure of measures to prevent misoperation-5.42×10 -4 ;

[0167] F32-Imperfect Operation Specifications-6.34×10 -4 ;

[0168] F33-Unclear management lines-1.34×10 -3 ;

[0169] F34-Illegal construction-4.98×10 -3 ;

[0170] F35-Construction Error-6.05×10 -3 ;

[0171] F36-Not discovered in time-3.16×10 -2 ;

[0172] F37-Not processed in time-2.51×10 -2 ;

[0173] F38-Uneven groove bottom-6.23×10-4 ;

[0174] F39-Failure to take necessary protective measures-5.56×10 -4 ;

[0175] F40-Not designed according to actual traffic intensity-8.79×10 -4 ;

[0176] It should be noted that the above examples of prior probability are explained in the structure of event code-description-prior probability. For example, the above F40-not designed according to actual traffic intensity-8.79×10 -4 The event code is F40, which is described as not being designed according to the actual traffic intensity, and the prior probability is 8.79×10 -4 Since the above M1~M26 are not nodes without parent nodes, that is, they are not target parent nodes, they are not assigned prior probabilities and need to be calculated for conditional probabilities.

[0177] After calculating the prior probability of the target parent node and the conditional probability of the intermediate nodes, the risk evolution probability can be calculated and the sensitivity of the risk factors can be evaluated.

[0178] Therefore, the above-mentioned leakage risk evolution assessment based on prior probability and leakage accident evolution model can be set, including: determining multiple candidate leakage evolution paths from the leakage accident evolution model according to conditional probability; and performing leakage risk evolution assessment according to prior probability and candidate leakage evolution path. That is to say, after obtaining the leakage accident evolution model, the leakage accident evolution model is applied to the leakage risk evolution process of the urban gas pipeline, and the possible leakage evolution path is deduced according to the leakage accident evolution model, which is used as the candidate leakage evolution path, and the possibility of each candidate leakage evolution path appearing is predicted according to the prior probability assigned to each model node, so as to better assist the pipeline safety operation and maintenance decision.

[0179] It should be noted that for the DBN model, the dynamic nodes in it also need to determine the state transition probability to realize the real-time calculation of the evolution probability of gas pipeline leakage risk. The probability distribution of the nodes is:

[0180] ,

[0181] in, is the probability distribution of all nodes in the system random variables from the initial moment to moment T, are all nodes in the system random variables from the initial moment to moment T, The probability distribution of the system state at the initial moment, is the i-th node of the first time slice, for The parent node of is the probability distribution of the system state at time T, is the i-th node in the t-th time slice.

[0182] In some embodiments of the present invention, after constructing a leakage accident evolution model based on the causal hierarchy and the multi-level hierarchical structure model, if no new leakage data exists in the historical leakage data obtained, the method further includes: calculating the posterior probability of each model node in the leakage accident evolution model based on the new leakage data; and updating the leakage accident evolution model based on the posterior probability.

[0183] Taking the DBN model as an example, the probability update is mainly reflected in that when a certain event gives a certain state, generally the occurrence of a top event or a consequence event, the posterior probability of each event is obtained based on the reverse reasoning function, thereby realizing the probability update of the basic event. The basic event is the event corresponding to the node without a parent node mentioned above. In other words, if new leakage data appears, and the new leakage data does not exist in the historical leakage data that has been acquired, it is necessary to calculate the posterior probability of each node in the leakage accident evolution model based on the new leakage data, and then update the probability of each target parent node in the leakage accident evolution model.

[0184] Taking the above example as an example, the posterior probability results and changes of third-party brutal construction, stress damage, buried corrosion, pipeline quality defects, design errors and operator errors are large. Therefore, in view of the above evaluation results, from the perspective of preventing initial events and cutting off the transmission path of accidents, the following measures should be taken: in the design and manufacturing processing stage, the quality of gas pipeline materials should be ensured to meet the relevant standards and specifications. In the laying stage, the route selection should be done well to avoid acidic soil areas as much as possible to slow down the corrosion rate. In the operation stage, regular inspections should be carried out, and quality problems should be repaired or replaced in time; third-party management should be done well, and reasonable and effective organizational management and practice processes should be formulated for third-party operations; focus on training and educating workers' technical and operational skills, improve their work quality and safety awareness, implement integrity management systems, prevent the occurrence and development of urban gas pipeline leakage accidents, and ensure the continuous safe operation of gas pipelines.

[0185] In the established DBN model, when the pipeline is in different working conditions, the probability of 40 basic events may be changed. For a specific pipe section, except for equipment factors and process operation factors, other factors can be considered as static risk factors. Therefore, external corrosion environment, valve body failure, flange failure, etc. are selected as dynamic nodes, and the time is set to 10 years. The gas pipeline leakage probability change curve is as follows Figure 5 As shown in the figure, at the initial moment, the leakage probability is 2.71%; if the hidden dangers are not checked in time, the leakage probability will increase to 34.9% as time goes by. Therefore, in order to ensure the safe and reliable operation of the gas pipeline system, risk prevention and control measures must be taken in a timely manner.

[0186] Combine the following Figure 6 Provide explanation.

[0187] Specifically, the research factors are first determined, which are leakage risk factors, so as to achieve risk factor identification. Then, expert scoring is performed. Since the evaluation of leakage risk factors by experts is collected, and the accuracy of the expert evaluation is reduced due to the subjective uncertainty of the evaluators, the expert scoring is processed by gray intervals to obtain the first expert evaluation matrix and the second expert evaluation matrix, and then the direct impact matrix is ​​obtained, which can build a more flexible decision-making model and make the decision results more objective and practical.

[0188] Secondly, the direct impact matrix is ​​normalized to realize the standardized direct impact matrix. The comprehensive impact matrix is ​​obtained according to the standardized direct impact matrix, and then the influence degree and the influenced degree are obtained. The centrality and the causal degree are obtained according to the influence degree and the influenced degree. The cause-effect diagram is drawn according to the centrality and the causal degree. Moreover, the overall impact matrix is ​​obtained according to the comprehensive impact matrix. The reachable matrix is ​​constructed according to the overall impact matrix, and then hierarchical division and path analysis are carried out to obtain a multi-level hierarchical structure model.

[0189] Finally, a risk evolution model is established based on the causal diagram and the multi-level hierarchical structure model. The risk evolution model is used as the leakage accident evolution model to determine the prior probability distribution in the leakage accident evolution model. After obtaining new leakage data, the posterior probability distribution is calculated to realize dynamic accident evolution evaluation, determine dynamic risks, and calculate and extract the key factors of gas leakage, providing a basis for the targeted formulation of pipeline network maintenance and management strategies.

[0190] Among them, risk factor identification, expert evaluation and grey interval processing can be completed by Grey (grey model), standardizing the direct impact matrix, obtaining the comprehensive impact matrix, influence degree, influence degree, centrality, cause degree, and drawing the cause-effect diagram can be completed by DEMATEL (Decision Making Trail and Evaluation Laboratory), obtaining the overall impact matrix, determining the reachable matrix, hierarchical division, and path analysis can be completed by ISM (Interpretive Structural Modeling), and establishing the risk evolution model, determining the prior probability distribution, calculating the posterior probability distribution, and calculating the dynamic risk can be completed by DBN.

[0191] The following is an explanation with a specific example.

[0192] In this example, a natural gas pipeline leaked. After the emergency repair team arrived at the scene, they first closed the medium-pressure valve, then closed the gas pipeline shut-off valve, cut off the gas source in the accident area, misjudged the end of the accident treatment, stopped the treatment, and then the explosion occurred. The direct cause of the accident was the corrosion of the pipeline, which caused the rupture, and the gas accumulation encountered an open flame and caused an explosion. The indirect causes were the hidden dangers of accidents caused by illegal construction, the long-term failure to implement the hidden danger investigation and rectification, the serious mistakes in the company's emergency treatment, and the chaotic property safety management.

[0193] The purpose of diagnostic reasoning is to determine the cause of pipeline failure so that emergency rescue can be carried out in time. The established DBN model is used to diagnose and reason the accident. After the accident, after on-site inspection, physical evidence identification and expert evaluation and demonstration, the accident was caused by a gas leak caused by corrosion and perforation of a medium-pressure natural gas pipeline. It can be seen from the accident investigation report that the medium-pressure natural gas pipeline is close to a drainage outlet and is affected by the long-term humid environment in the river. Therefore, the moisture content node is set to very high, and the probability of pipeline leakage is set to 100%. Through the reverse reasoning of the dynamic Bayesian model of gas pipeline leakage, the posterior probability of each node in this scenario is obtained. The three nodes with the highest reverse reasoning probability are shown in Table 3 below. The posterior probabilities of electrochemical corrosion environment, anti-corrosion acceptance, inadequate detection and failure of anti-corrosion layer are much greater than other nodes. It can be inferred that the accident was likely caused by electrochemical corrosion and external anti-corrosion failure. The accident investigation results showed that the gas pipeline was perforated due to the long-term humid environment in the river channel, and the external corrosion protection of the pipeline elbow was not constructed according to the anti-corrosion specifications, which caused the humid gas to form electrochemical corrosion on the outer surface of the accident pipeline. The expansion of the corrosion product material caused damage to the entire anti-corrosion layer, causing pipeline corrosion, resulting in the gradual thinning of the pipeline wall thickness and causing pipeline perforation. The reasoning results are consistent with the actual results.

[0194] Table 3

[0195]

[0196] The year of laying of the pipeline is set as the initial year. Electrochemical corrosion is mainly caused by the accumulation of environmental corrosive substances on the pipe wall. Its probability increases slowly within 5 years, basically maintaining at 20% to 25%. After 5 years, it increases significantly and its probability is close to 50% when the accident occurs (see Figure 7 ). The pipeline in question is close to the community drainage channel, and the humid air easily causes electrochemical corrosion to the pipeline. However, the company in question did not conduct annual inspections in accordance with the law or entrust a qualified third-party organization to conduct inspections and tests, and did not regularly inspect and maintain the outer anti-corrosion layer of the pipeline, resulting in the accumulation of corrosive substances on the pipe wall, causing damage to the entire anti-corrosion layer, and ultimately causing a pipeline leakage accident. Therefore, gas pipelines should strictly follow the inspection requirements, and increase the frequency of inspection and maintenance of the outer corrosion layer of gas pipelines as the service life increases.

[0197] In the established DBN model, when the pipeline is in different working conditions, the probability of basic events may be changed. For a specific pipe section, it can be considered that except for equipment, environment and process operation factors, other factors are static risk factors. Therefore, this example selects external corrosion environment, valve body failure, flange failure, etc. as dynamic nodes. The gas pipeline leakage probability change curve is as follows: Figure 8 As shown. At the initial moment, the probability of gas pipeline leakage is 4.73%. If the hidden dangers are not checked in time, the probability of gas pipeline leakage will increase to 69.9% as time goes by. According to the accident report, the pipeline has repeatedly experienced corrosion leakage and gas leakage alarms since 2018; combined with the leakage change curve, the probability of gas pipeline leakage has reached more than 50% after 2018, which is consistent with the actual situation of repeated leakage accidents. Therefore, in order to ensure the safe and reliable operation of the gas pipeline system, it is necessary to regularly check for hidden dangers.

[0198] The direct factors that affect pipeline leakage include valve failure, perforation and rupture. According to the actual situation of the accident pipeline, the perforation and rupture are analyzed in detail, and the probability curves of pipeline rupture and pipeline perforation during the service period of the pipeline are obtained as follows: Fig. 9 As shown. In general, the growth rate of corrosion perforation probability is much higher than that of pipeline rupture, and before the 10th year, the growth rate of pipeline rupture and pipeline perforation is similar. In the later period, with the rapid increase of pipeline corrosion rate, the probability of pipeline perforation increases significantly. Therefore, after this time, the investigation of pipeline perforation and its basic causes should be intensified to control the occurrence of gas pipeline leakage accidents.

[0199] During the service period of the pipeline, maintenance intervention measures can be taken according to the inspection and monitoring data to effectively increase the safety of the pipeline. Through the DBN model, the rationality of maintenance measures can be analyzed from the root cause of the accident and the effect can be predicted, providing good decision-making assistance for pipeline maintenance. In order to study the impact of maintenance measures taken during the service period of the pipeline on the maintenance effect of the pipeline, it is assumed that the pipe section was replaced in the year when the accident occurred. The probability of pipeline perforation and pipeline rupture changes as follows Fig.10 As shown in the figure, pipeline perforation rate dropped from 38.3% to 11.3% in the next year, and pipeline rupture rate dropped from 28.9% to 15.3% in the next year. The above analysis shows that replacing new pipelines in the later period of pipeline service can effectively reduce the probability of pipeline failure and the probability of gas pipeline leakage.

[0200] According to the above analysis of the gas pipeline leakage accident, if the cause of the accident is quickly and accurately located, and scientific and effective emergency strategies are taken in time, the loss of property and personnel in the accident can be effectively reduced, and even the accident can be avoided. Therefore, in view of the above evaluation results, from the perspective of preventing initial events and cutting off the transmission path of accidents, the following measures should be taken: During the design and manufacturing stages, the quality of gas pipeline materials should be ensured to meet relevant standards and specifications. During the laying stage, the route selection should be done well to avoid acidic soil areas as much as possible to slow down the corrosion rate. During the operation stage, regular inspections should be carried out, and quality problems should be repaired or replaced in time; third-party management should be done well, and reasonable and effective organizational management processes should be formulated for third-party operations; focus on training and educating workers' technical and operational skills to improve their work quality and safety awareness. Implement the integrity management system throughout the life cycle to prevent the occurrence and development of urban buried gas pipeline leakage accidents and ensure the continuous safe operation of gas pipelines. The dynamic analysis model of gas pipeline leakage accidents based on the Grey-DEMATEL-ISM-DBN method can quickly locate the causes of pipeline leakage accidents, and provide decision-making basis for risk prediction and diagnosis, accident prevention, emergency work and subsequent accident investigation.

[0201] In summary, the urban gas pipeline leakage risk evolution assessment method of the embodiment of the present invention obtains historical leakage data of the urban gas pipeline, and obtains multiple leakage risk factors based on the historical leakage data; determines the expert scores of the mutual influence relationship between each leakage risk factor, and generates a direct influence matrix based on the expert scores; obtains the causal hierarchy and multi-level hierarchical structure model between each leakage risk factor based on the direct influence matrix; constructs a leakage accident evolution model based on the causal hierarchy and multi-level hierarchical structure model; uses the leakage accident evolution model to evaluate the leakage risk evolution of the urban gas pipeline, thereby realizing the gas pipeline accident risk evolution assessment, and intuitively displays the accident evolution scenario, which provides a theoretical reference for effectively preventing and controlling the occurrence of urban gas pipeline accidents, and can also provide a reference for the quantitative evaluation of the risk evolution process of other key infrastructure, which is of great significance for ensuring the safe operation of the pipeline.

[0202] Based on the city gas pipeline leakage risk evolution assessment method of the above embodiment, the present invention also proposes an electronic device.

[0203] Fig.11 It is a structural block diagram of an electronic device according to an embodiment of the present invention.

[0204] like Fig.11As shown, the electronic device 500 includes: a processor 501 and a memory 503. The processor 501 and the memory 503 are connected, such as through a bus 502. Optionally, the electronic device 500 may also include a transceiver 504. It should be noted that in actual applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation on the embodiments of the present invention.

[0205] The processor 501 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 501 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0206] The bus 502 may include a path to transmit information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0207] The memory 503 is used to store a computer program corresponding to the city gas pipeline leakage risk evolution assessment method of the above embodiment of the present invention, and the computer program is controlled and executed by the processor 501. The processor 501 is used to execute the computer program stored in the memory 503 to implement the content shown in the above method embodiment.

[0208] in, Fig.11 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0209] The electronic device of the embodiment of the present invention obtains historical leakage data of a city gas pipeline, and obtains multiple leakage risk factors according to the historical leakage data; determines expert scores of the mutual influence relationship between each leakage risk factor, and generates a direct influence matrix according to the expert scores; obtains the causal hierarchy and multi-level hierarchical structure model between each leakage risk factor according to the direct influence matrix; constructs a leakage accident evolution model according to the causal hierarchy and the multi-level hierarchical structure model; uses the leakage accident evolution model to evaluate the leakage risk evolution of the city gas pipeline, thereby realizing the gas pipeline accident risk evolution evaluation, and intuitively displays the accident evolution scenario, providing a theoretical reference for effectively preventing and controlling the occurrence of city gas pipeline accidents, and can also provide a reference for the quantitative evaluation of the risk evolution process of other key infrastructure, which is of great significance for ensuring the safe operation of the pipeline.

[0210] It should be noted that the logic and / or steps represented in the flowchart or described in other ways herein can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or equipment (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or equipment and execute instructions), or in combination with these instruction execution systems, devices or equipment. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or equipment, or in combination with these instruction execution systems, devices or equipment. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0211] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0212] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0213] In the description of this specification, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as a limitation on the present invention.

[0214] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0215] In the description of this specification, unless otherwise specified, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0216] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0217] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for evaluating the evolution of urban gas pipeline leakage risk, characterized in that: The method comprises: Acquire historical leakage data of the city gas pipeline, and obtain multiple leakage risk factors according to the historical leakage data; Determine expert scores of the mutual influence relationship between each of the leakage risk factors, and generate a direct influence matrix based on the expert scores; Obtaining the causal hierarchical relationship and the multi-level hierarchical structure model between the leakage risk factors according to the direct impact matrix; Constructing a leakage accident evolution model according to the causal hierarchy and the multi-level hierarchical structure model; Using the leakage accident evolution model to evaluate the leakage risk evolution of the city gas pipeline; The causal hierarchical relationship between the leakage risk factors is obtained according to the direct impact matrix, including: Calculate the centrality and causality of each leakage risk factor according to the direct impact matrix; The centrality and the causal degree are used as the causal hierarchy relationship; A multi-level hierarchical structure model between the leakage risk factors is obtained according to the direct impact matrix, including: The direct influence matrix is ​​normalized by using a row maximum method, and a comprehensive influence matrix is ​​obtained according to the normalized direct influence matrix; Obtaining the multi-level hierarchical structure model according to the direct impact matrix and the comprehensive impact matrix; The multi-level hierarchical structure model is obtained according to the direct impact matrix and the comprehensive impact matrix, including: An overall impact matrix is ​​calculated based on the direct impact matrix and the comprehensive impact matrix, and a threshold is obtained based on the comprehensive impact matrix; constructing a reachability matrix according to the overall impact matrix and the threshold; Constructing the multi-level hierarchical structure model according to the reachability matrix; The step of constructing a leakage accident evolution model according to the causal hierarchy and the multi-level hierarchical structure model includes: According to the causal hierarchy, the leakage risk factors whose centrality is less than a preset centrality threshold and whose causality is less than a preset causality threshold are eliminated, and the remaining leakage risk factors are used as model nodes of the leakage accident evolution model; Obtaining the logical relationship between each of the model nodes according to the multi-level hierarchical structure model; Constructing the leakage accident evolution model according to the model nodes and the logical relationships between the model nodes; The centrality and the cause degree are calculated according to the following formula: , , in, , , are all matrix elements in the direct impact matrix, n is the total number of leakage risk factors, is the centrality, For the stated reason.

2. The method for evaluating the evolution of urban gas pipeline leakage risk according to claim 1 is characterized in that: Generating a direct impact matrix according to the expert scores includes: Obtaining a value range corresponding to the expert score according to a preset relationship, wherein the preset relationship includes a corresponding relationship between multiple expert scores and multiple value ranges; Obtain a first expert evaluation matrix according to the lower limits of the value ranges, and obtain a second expert evaluation matrix according to the upper limits of the value ranges; The direct impact matrix is ​​generated according to the first expert evaluation matrix and the second expert evaluation matrix.

3. The method for evaluating the evolution of urban gas pipeline leakage risk according to claim 1, characterized in that: The use of the leakage accident evolution model to evaluate the leakage risk evolution of the city gas pipeline includes: Determine a target parent node from the model nodes of the leakage accident evolution model, and use other nodes in the model nodes of the leakage accident evolution model except the target parent node as intermediate nodes, wherein the target parent node is a node in the model nodes of the leakage accident evolution model that does not have a parent node; Calculate the prior probability of the target parent node and the conditional probability of the intermediate node; The leakage risk evolution assessment is performed based on the prior probability, the conditional probability and the leakage accident evolution model.

4. The method for evaluating the evolution of urban gas pipeline leakage risk according to claim 3 is characterized in that: The leakage risk evolution assessment is performed according to the prior probability, the conditional probability and the leakage accident evolution model, including: Determining a plurality of leakage evolution paths to be selected from the leakage accident evolution model according to the conditional probability; A leakage risk evolution assessment is performed based on the prior probability and the selected leakage evolution path.

5. The method for evaluating the evolution of urban gas pipeline leakage risk according to claim 4 is characterized in that: After the leakage accident evolution model is constructed according to the causal hierarchy and the multi-level hierarchical structure model, if no new leakage data is found in the acquired historical leakage data, the method further includes: Calculating the posterior probability of each model node in the leakage accident evolution model according to the new leakage data; The leakage accident evolution model is updated according to the posterior probability.

6. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the method for evaluating the evolution of leakage risk of a city gas pipeline as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Gas buried pipeline leakage risk assessment method and device based on weight self-adjustment

    CN111612301A

  • Calculation method and device forfailure probability of leakage risk factor ofurban gas pipe network

    CN111914220A

  • Risk assessment method and device for gas pipeline leakage, equipment and storage medium

    CN115829336A

  • Hydrogen-doped pipeline leakage accident risk evaluation method and device and server

    CN117196045A

  • Compliance process risk assessment

    US20210075814A1