Natural gas pipeline network gas supply reliability evaluation method based on pipeline network degradation model
Through the evaluation method based on the pipeline degradation model, the problems of high calculation costs and ignoring extreme events in the existing technology are solved, and the accurate evaluation and prediction of the gas supply reliability of the natural gas pipeline is achieved, ensuring the high gas supply reliability of the pipeline network Sex and operational benefits.
Patent Information
- Application Number
- CN202411079270.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-07
AI Technical Summary
When evaluating the gas supply reliability of natural gas pipelines, the calculation cost is high and it is difficult to fully consider the probability of each degraded state and the supply and demand relationship in the corresponding state. Extreme events with low probability and high consequences may be ignored, resulting in the potential risks of natural gas pipelines. underestimate.
The evaluation method based on the pipeline degradation model is used to model the compressor station and pipeline random degradation process, analyze the probability of various operating states, evaluate the reliability of the pipeline gas supply, and describe it through Markov process and finite element model. The degradation state of the compressor station and pipeline is used to update the degradation parameters using the Bayesian update process to calculate the maximum gas supply capacity of the pipeline network and its probability.
It has achieved accurate assessment and prediction of the gas supply reliability of the natural gas pipeline network, reduced economic losses caused by the gas supply shortage incident, provided an accurate maintenance basis for the operation and maintenance of the pipeline network, and ensured the continuous smooth supply of the natural gas pipeline network. And reduces operating and maintenance costs.
Smart Images

Figure CN118886609A_ABST
Abstract
Description
Technical Field
[0001] The invention provides a natural gas pipeline network gas supply reliability assessment method based on a pipeline network degradation model, belonging to the technical field of natural gas pipeline network gas supply reliability assessment. Background Art
[0002] As a low-carbon and clean energy between traditional fossil energy and renewable energy, natural gas can reduce carbon dioxide emissions by 45%-55% compared with coal at the same calorific value. It is currently being promoted as a key energy source in the transformation and development of the energy system. With the growing demand for natural gas, the scale of the pipeline network has gradually expanded, and the structure has become increasingly complex. The problem of natural gas supply and demand has gradually become prominent, posing a challenge to economic development and social stability. The reason is that distribution stations and pipelines, as key transmission equipment in the natural gas pipeline network, tend to deteriorate in performance as the pipeline network continues to operate, which in turn leads to a decline in the overall performance of the pipeline network, making it unable to meet the growing demand for natural gas, resulting in a gas shortage.
[0003] At present, the intelligent detection equipment equipped in the pipeline network can accurately detect the degradation status of the pipeline network equipment and play an important role in the operation and maintenance of the pipeline network. Therefore, starting from the pipeline network degradation status data and based on the characteristics of the impact of the pipeline network equipment on the gas supply capacity of the pipeline network, a pipeline network performance evaluation model that is affected by the simultaneous degradation of sites and pipelines is constructed, and a scientific maintenance strategy is formulated based on the results of the pipeline network performance evaluation. This is an effective way to solve the problem of gas supply shortage in the pipeline network. For the natural gas pipeline network, the pipeline network reliability can be divided into structural reliability and gas supply reliability. Among them, structural reliability focuses on evaluating the probability of the pipeline network equipment maintaining complete functions, while gas supply reliability focuses on evaluating the ability of the pipeline network gas supply to meet user needs. From the perspective of the pipeline network structure, the laying of pipeline network equipment has a certain redundancy, and the degradation or even failure of a certain equipment does not necessarily affect the gas supply of the entire pipeline network. The primary task of the pipeline network is to uninterruptedly supply natural gas that meets user needs. Therefore, based on the fact that the pipeline network emphasizes more on the task of meeting terminal gas consumption, gas supply reliability is more suitable for pipeline network reliability evaluation.
[0004] In recent years, the research on the reliability assessment of pipeline gas supply can be roughly summarized into three steps: the establishment of pipeline degradation model, the solution of pipeline gas supply volume and the assessment of pipeline gas supply reliability. From the perspective of pipeline degradation model, pipelines and compressor stations are mostly regarded as key equipment affecting the reliability of pipeline gas supply. The degradation states of the two types of equipment are divided into discrete multi-states, and it is assumed that there is a corresponding relationship between pipeline capacity and degradation state; for example, Su et al. and Fan et al. believe that pipelines and compressor stations may be in three states: normal, degraded and failed, and use Markov process to describe their random degradation process; Yu et al. also make similar divisions of the degradation states of the two types of equipment, but use Monte Carlo method to simulate the pipeline state conversion process; Chen et al. and Yang et al. assume that the pipeline and each compressor have two states: normal and failed. The degradation state of the compressor station composed of compressors in parallel can be divided into discrete multi-states, and the degradation process of pipelines and compressor stations is modeled as Markov process. In addition, in engineering practice, the compressor station can be regarded as a cold standby system of k out of n, and the surrounding pipeline capacity affected by the degradation of the compressor in the site can be divided into multiple discrete stages. Therefore, it is reasonable to divide the degradation state of the site into discrete multiple states. However, corrosion is one of the main causes of pipeline failure, and pipeline corrosion degradation has a continuous single increase characteristic. As the corrosion depth of the pipeline gradually increases, the maximum allowable operating pressure of the pipeline gradually decreases, thereby gradually reducing the gas transmission capacity of the pipeline. Therefore, the gas supply of the pipeline network shows a continuous decreasing trend under the influence of pipeline corrosion degradation. The compressor station and pipeline degradation processes are modeled as discrete and continuous random processes, respectively, and on this basis, a random capacity model corresponding to the degradation state of the two types of equipment is constructed, which can more accurately describe the gradual change process of the gas supply of the pipeline network under the influence of the simultaneous degradation of the two types of equipment.
[0005] From the perspective of the solution method of pipeline network gas supply, scholars either use simulation methods to simulate the pipeline network gas supply under different working conditions, or use analytical methods to solve the actual gas supply corresponding to various degradation states of the pipeline network. For example, Su et al. used the simulation software TGNET to implement the thermal-hydraulic model of the pipeline network and simulated the gas supply under different degradation states of the pipeline network. Yu et al. used the commercial software SPS to analyze the change law of the actual gas supply after the pipeline network degraded to different states. Yu et al. established a hydraulic model that considers the coupling effect of user importance, hydraulic and pressure constraints, and equipment failure on the pipeline network gas supply, and solved it using a mixed integer linear programming method. Chen et al. introduced the maximum flow algorithm to solve the actual gas supply of the pipeline network under the influence of simultaneous degradation of pipelines and compressor stations. Yang et al. considered the priority of user gas supply and used the maximum flow algorithm to complete the gas supply distribution of the pipeline network. In fact, although the simulation method can accurately simulate the gas supply status of the pipeline network, considering the uncertainty of the operating status of the pipeline network, the huge computational burden will make the gas supply reliability assessment model inefficient.
[0006] From the perspective of the evaluation method of pipeline gas supply reliability, most scholars have established evaluation indicators of gas supply reliability from different perspectives. For example, Su et al. proposed pipeline gas supply reliability indicators from the two aspects of pipeline network and users. Yu et al. proposed two reliability indicators, gas supply satisfaction and gas supply guarantee capability, to quantify gas supply capacity. Yu et al. established pipeline gas supply reliability evaluation indicators based on demand-side analysis from the perspective of quantity and time. Yang et al. proposed pipeline gas supply reliability evaluation indicators from the perspective of natural gas shortage degree and shortage economic losses. Fan et al. established gas supply reliability evaluation indicators that take into account the probability and consequences of supply shortage events from the two aspects of pipeline network and users.
[0007] However, the evaluation of the gas supply reliability of the pipeline network based on the evaluation indicators is inseparable from the large-scale sampling analysis of the pipeline network operation status, which has a high computational cost. To this end, Chen et al. calculated the probability of the pipeline network under various operation scenarios based on Markov process and reliability theory, and selected scenarios with higher probability of occurrence for gas supply reliability evaluation. However, focusing only on high-probability scenarios may ignore the impact of low-probability and high-consequence extreme events on the gas supply safety of the pipeline network, and underestimate the potential risks of the natural gas pipeline network. Therefore, at this stage, it is necessary to comprehensively consider the probability of each degradation state of the pipeline network and the supply and demand relationship of the pipeline network under the corresponding state, and re-evaluate the gas supply reliability of the pipeline network. Summary of the invention
[0008] In order to overcome the deficiencies in the prior art, the present invention aims to solve the technical problem of providing a method for evaluating the reliability of gas supply in a natural gas pipeline network based on a pipeline network degradation model.
[0009] In order to solve the above technical problems, the technical solution adopted by the present invention is: a natural gas pipeline network gas supply reliability assessment method based on a pipeline network degradation model, comprising the following assessment steps:
[0010] Step 1: Considering the impact of the random degradation factors of compressor stations and pipelines on the natural gas pipeline network system, the random degradation processes of compressor stations and pipelines are modeled separately according to the different impacts of the degradation of the two on the gas supply of the natural gas pipeline network system;
[0011] Step 2: Analyze and calculate the probability of various operating conditions of the pipeline network, and based on the maximum gas supply of the pipeline network under the influence of pipeline and compressor station degradation, evaluate the supply and demand relationship of the pipeline network under various conditions, so as to evaluate the gas supply reliability of the pipeline network, including:
[0012] Step 2.1: Conduct reliability assessment for compressor stations;
[0013] Step 2.2: Conduct reliability assessment for pipelines with considered capacity;
[0014] Step 2.3: Evaluate the reliability of gas supply in the pipeline network;
[0015] Step 2.4: Evaluate the gas supply reliability of the network taking into account the renovation of compressor stations and pipeline degradation.
[0016] The specific method for modeling the compressor station degradation process in step 1 is:
[0017] Step 1.1: Describe the pipeline network system and use the following formula to express the simplified natural gas pipeline network topology:
[0018] G≡(V, S);
[0019] Where V = {1, 2, ..., N} is the set of all N nodes in the pipeline network, each node represents a compressor station, S = {(i, j) | i, j ∈ V} is the set of all m edges in the pipeline network, each edge represents a section of natural gas pipeline;
[0020] Step 1.2: Define that each compressor station consists of n identical compressors connected in parallel, including na operating compressors and a cold standby compressors. Each compressor has two states: normal and faulty. Specifically, the state of the entire station is defined by the number of faulty compressors in the compressor station:
[0021] Using the random process {X i (t), t ≥ 0} represents the degradation process of compressor station i;
[0022] Among them, X i (t) represents the state of compressor station i at time t, satisfying X i (t)∈{0, 1, 2,…,n};
[0023] When the number of failed compressors increases from 0 to a, it is considered as the normal working state of the compressor station, which is recorded as:
[0024] W = {0, 1, ..., a};
[0025] When the number of failed compressors is greater than the number of standby compressors, that is, the number of failed compressors from a+1 to n is regarded as the failure state of the compressor station, which is recorded as:
[0026] F = {a+1, a+2, ..., n};
[0027] Assume that the failure time and repair time of each compressor satisfy the exponential distribution, and represent the failure rate and repair rate by λ and μ respectively.
[0028] The state evolution of the compressor station is described using a Markov process, and the conversion rate of the compressor station is represented by the matrix A as follows:
[0029]
[0030] The matrix form of the Markov process is expressed as:
[0031]
[0032] Where P(t)=(P j (t)) represents the state probability vector of the compressor station at time t, and P j (t) = P{X i (t) = j}.
[0033] The specific method for modeling the random degradation process of the pipeline in step 1 is:
[0034] Step 1.3: Model the pipeline degradation process:
[0035] Define the maximum corrosion depth of pipeline (i, j) at time t as: D i,j (t);
[0036] Assuming that the change of corrosion depth conforms to the Gamma process, the expression of its probability density function is:
[0037]
[0038] in,
[0039] Step 1.4: Model for random capacity:
[0040] Using the finite element model and the arc length method in ANSYS software, the maximum pressure value that the pipeline can withstand under different corrosion conditions is obtained. The expression is:
[0041]
[0042] Among them, P i,j cor (t) represents the maximum pressure that the corroded pipeline (i, j) can withstand at time t, P0 is the maximum pressure that the intact pipeline can withstand, wt is the wall thickness of the pipeline, a1, a2 are unknown constants, c2=a1P0-a2P0 is also a constant;
[0043] When the compressor station at node i is working normally, the maximum allowable pressure at the inlet of pipeline (i, j) is the maximum pressure it can withstand under the current corrosion state, denoted as P i,j cor (t);
[0044] Connect the outlet of pipeline (i, j) to the compressor station. The minimum allowable pressure of its outlet is the minimum inlet pressure P of compressor station j. C , where P Cis a constant determined by the performance of the compressor station;
[0045] Define the capacity c of pipeline (i, j) at time t i,j The calculation formula of (t) is:
[0046]
[0047] Among them, F is a constant, P i,j cor (t) is the maximum pressure that the pipeline (i, j) can withstand, but its value cannot be greater than the design pressure of the pipeline, P C is the minimum inlet pressure of the compressor station, D is the inner diameter of the pipeline, λ is the friction coefficient, Δ is the relative density of the gas, J is the gas compression factor, T0 is the average temperature of the pipeline, L i,j is the length of pipeline (i, j);
[0048] According to the maximum pressure value and capacity calculation, the pipeline capacity c can be obtained. i,j (t) and maximum corrosion depth d i,j The functional relationship between (t) is:
[0049]
[0050] in, c4=P C 2 are all constants;
[0051] Combined maximum corrosion depth d i,j The probability density function of (t) is used to obtain the pipeline capacity c i,j The probability density function of (t) is expressed as:
[0052]
[0053] in, is a constant.
[0054] The specific method for performing reliability assessment on the compressor station in step 2.1 is:
[0055] Define that if the state probability vector of the initial state of the compressor station satisfies The reliability of compressor station i is is the probability that the compressor station is in normal working condition until time t, that is, it satisfies:
[0056]
[0057] P in the formula j (t), j∈W satisfies the following differential equations:
[0058]
[0059] Among them, P W (t)=(P0(t),P1(t),…,P a (t)) represents the probability vector of the compressor station being in working state at time t, is the block matrix of matrix A, and matrix B is the block form of matrix A, indicating that the state of the compressor station is in normal working state before and after the conversion. The specific form of matrix B is expressed as:
[0060]
[0061] Perform Laplace transform on both ends of the above differential equations and solve them:
[0062]
[0063] Where I is the identity matrix;
[0064] Substituting the above formula into the calculation formula of compressor station i reliability, we can get:
[0065]
[0066] Among them, e W is an a+1-dimensional column vector whose components are all 1;
[0067] For the above formula By performing inverse Laplace transform, we can get the system reliability of compressor station i at time t, which is expressed as:
[0068] The specific method for performing reliability assessment on the pipeline with considered capacity in step 2.2 is:
[0069] Defined as at time t = 0, the pipeline (i, j) is put into operation in a brand new state, and the corrosion depth is d i,j (t) = 0, and the pipeline reliability at this time is recorded as
[0070] When the pipeline runs to time t, the pipeline corrosion depth is d i,j (t), the maximum capacity of the pipeline is c i,j (t), that is, when the transport task of pipeline (i, j) is less than or equal to capacity c i,j (t), the pipeline can maintain reliable operation, then the corrosion depth d i,j (t), the calculation formula of pipeline (i, j) reliability at time t is:
[0071]
[0072] Where L is the corrosion failure threshold of the pipeline.
[0073] The specific method for evaluating the reliability of gas supply in the pipeline network in step 2.3 is:
[0074] The maximum flow of the pipe network is calculated, and the input is the capacity matrix of each pipe section, denoted as C = (c i,j (t)) n×n ;
[0075] Among them, the element c i,j (t) is the capacity of pipeline (i, j) under the influence of pipeline and compressor station degradation;
[0076] If there is no pipeline connection between nodes i and j, it is recorded as: c i,j (t) = 0;
[0077] Calculate the maximum flow G(t) of the pipe network at time t, which is solved by the following mathematical optimization model:
[0078] Target:
[0079]
[0080] constraint:
[0081] 0≤Q i,j (t)≤c i,j (t);
[0082]
[0083] Among them, Q i,j (t) is the actual flow rate of pipeline (i, j), S is the super source point of the pipeline network, and E is the super sink point of the pipeline network;
[0084] The constraints are: the actual flow rate Q i,j (t) The pipeline capacity limit cannot be exceeded;
[0085] For an intermediate node i, all flows into node i are equal to all flows out of node i;
[0086] All flows out of the super source point S in the pipe network are equal to all flows into the super sink point E;
[0087] The gas supply reliability of the pipeline network to be evaluated is defined as follows: under each degradation state of the pipeline network, the probability that the maximum gas supply of the pipeline network is G(t) multiplied by the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t). The specific calculation steps are:
[0088] The calculation formula for the probability that the maximum gas supply of the pipeline network is G(t) is:
[0089]
[0090] Among them, the function Indicates the reliability of considering the series and parallel relationship of pipelines. is the reliability of the compressor station at node i at time t, function It represents the structural reliability considering the series and parallel relationship of the compressor stations;
[0091] Assume the probability density function of the total demand Z(t) of the pipeline network is f Z (z(t)), then the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t) is expressed as:
[0092]
[0093] In summary, the expression for the reliability of gas supply in the pipeline network is:
[0094]
[0095] The specific method for evaluating the gas supply reliability of the pipeline network considering the compressor station and pipeline degradation update in step 2.4 is:
[0096] The degradation difference reflected in the pipeline in the actual environment is set, which only affects the scale parameter β of the Gamma process and has no effect on the shape parameter. The scale parameter β is updated using the Bayesian update process, and the conjugate distribution family is considered to simplify the analytical solution of the posterior distribution of the parameters:
[0097] The prior distribution of the scale parameter β is set to Gamma distribution, denoted as Ga(u P ,v P ), at the detection time t = lT, l = 1, 2, ..., the maximum corrosion depth data of the pipeline is obtained as follows: Then combine the state data D of pipeline (i, j) at the last detection time t = (l-1)T (l-1) , get the incremental data of pipeline (i,j) The specific calculation steps are:
[0098] Using the Bayesian update theorem, based on β (l) The prior distribution f(β (l) ) and the corresponding maximum likelihood function β can be obtained (l) The posterior distribution of is expressed as:
[0099]
[0100] Among them, when l = 1, f(β (l) ) is the prior distribution Ga(u P ,v P), when l>1, f(β (l) ) is also β (l-1) The posterior distribution of β is obtained based on the above formula. (l) The posterior distribution of is:
[0101]
[0102] Assume that the corrosion degradation of each pipeline is independent of each other, and combine β (l) The expression of the posterior distribution, which gives the prediction reliability of pipeline (i, j) at time t for:
[0103]
[0104] For compressor stations, the inspection cycle The number of newly added compressor failures follows a Poisson distribution with parameter λ. The Poisson distribution and the Gamma distribution are conjugate distributions, so the prior distribution of λ is set to Ga(u C ,v C );
[0105] At the moment k=1,2,…get the status data of the compressor station, recorded as
[0106] in, represents the number of compressor failures at the i-th compressor station at the k-th detection;
[0107] Combined with the previous detection time Status data of compressor stations X (k-1) , the number of newly added faulty compressors at compressor station i is obtained as
[0108] Using the Bayesian update theorem, according to λ (k) The prior distribution f(λ (k) ) and the corresponding maximum likelihood function We can get λ (k) The posterior distribution of is expressed as:
[0109]
[0110] When k = 1, f(λ (k) ) is the prior distribution of λ is Ga(u C ,v C ), when k>1, f(λ (k) ) is also λ (k-1) The posterior distribution of (k) The posterior distribution of is:
[0111]
[0112] The updated failure rate λ (k) Substituting into matrix B, we get the updated transfer rate block matrix, which is expressed as:
[0113]
[0114] According to the updated transfer rate block matrix B (k) and the current state Further calculate the predicted reliability of compressor station i at time t The calculation formula is:
[0115]
[0116] in, is the inverse Laplace transform, P W (t) is the state probability vector of compressor station i at time t.
[0117] The beneficial effects of the present invention compared to the prior art are as follows: the present invention proposes a natural gas pipeline network gas supply reliability assessment method based on a pipeline network degradation model, which accurately assesses and predicts the gas supply reliability of the natural gas pipeline network, can accurately assess the current pipeline network gas transmission capacity and predict future changes in the pipeline network gas supply reliability, greatly reduce the economic losses caused by gas shortage events, and provide an accurate maintenance basis for pipeline network operation and maintenance, ensure that the pipeline network maintains high gas supply and reliable operation, and ensure that the natural gas pipeline network can achieve continuous smooth supply, while reducing the operating and maintenance costs of natural gas companies and increasing corporate benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0118] The present invention will be further described below in conjunction with the accompanying drawings:
[0119] Figure 1 It is a schematic diagram of the state conversion of the compressor station of the present invention;
[0120] Figure 2 It is a structural schematic diagram of the compressor station and pipeline connection of the present invention;
[0121] Figure 3 It is a schematic diagram of the random capacity of the pipeline of the present invention;
[0122] Figure 4 The schematic diagram of the structure of the pipe network with virtual source points and confluence points added to the present invention. DETAILED DESCRIPTION
[0123] The present invention proposes a natural gas pipeline network gas supply reliability assessment method based on a pipeline network degradation model, which achieves the purpose of accurately assessing the current pipeline network gas transmission capacity and predicting the future pipeline network gas supply reliability change trend, and specifically includes the following steps:
[0124] Step 1: Modeling network degradation:
[0125] For the natural gas pipeline network system that considers the random degradation effects of sites and pipelines at the same time, degradation models are built for both according to their different impacts on the gas supply of the pipeline network.
[0126] Step 1.1: Describe the pipe network system:
[0127] Since the natural gas pipeline network has the characteristics of diverse equipment types and complex network structure, in order to simplify the pipeline network degradation model, the present invention considers the key equipment with high failure rate such as compressor stations and pipelines, analyzes the impact of their degradation on the gas supply of the pipeline network, and specifically uses the following formula to represent the simplified natural gas pipeline network topology:
[0128] G = (V, S);
[0129] Among them, V = {1, 2, ..., N} is the set of all N nodes in the pipeline network, each node represents a compressor station, S = {(i, j) | i, j ∈ V} is the set of all m edges in the pipeline network, each edge represents a section of natural gas pipeline.
[0130] Step 1.2: Model the compressor station degradation process:
[0131] Each compressor station consists of n identical compressors connected in parallel, of which there are na operating compressors and a cold standby compressors. Each compressor has two states: normal and faulty. The state of the entire station is defined by the number of faulty compressors in the compressor station: i (t), t≥0} represents the degradation process of compressor station i, where X i (t) represents the state of compressor station i at time t, satisfying X i (t)∈{0,1,2,…,n};
[0132] When the number of faulty compressors is less than or equal to the number of standby compressors, the standby compressors are immediately activated without affecting the gas transmission capacity of the entire compressor station. Therefore, state 0 to state a can be regarded as the normal working state of the compressor station, which is recorded as W = {0, 1, ..., a};
[0133] When the number of faulty compressors is greater than the number of standby compressors, the inlet natural gas flow of the compressor station will increase, and the remaining working compressors are likely to automatically shut down due to stagnation, resulting in a decrease in the inlet pressure of the pipeline connected to the compressor station and a decrease in the transportation capacity of the surrounding pipeline network. Therefore, state a+1 to state n can be regarded as the fault state of the compressor station, denoted as F={a+1,α+2,…,n}.
[0134] Assume that the failure time and repair time of each compressor satisfy the exponential distribution, and represent the failure rate and repair rate by λ and μ respectively. The state evolution of the compressor station can be described by the Markov process, and its evolution process and state transition probability are as follows: Figure 1 shown.
[0135] Furthermore, the conversion rate of the compressor station is expressed by matrix A as:
[0136]
[0137] Then the matrix form of the Markov process can be expressed as:
[0138]
[0139] Where P(t)=(P j (t)) represents the state probability vector of the compressor station at time t, and P j (t) = P{X i (t) = j}.
[0140] Step 1.3: Model the pipeline degradation process:
[0141] Pipeline corrosion can greatly reduce the reliability and integrity of pipelines and is one of the main factors restricting the continuous and smooth operation of pipelines. Engineering practice shows that the depth of corrosion defects on pipelines is the most important factor in determining the status of pipelines.
[0142] Therefore, the maximum corrosion depth of pipeline (i, j) at time t is expressed as: D i,j (t);
[0143] If maintenance measures are not considered, the change in corrosion depth presents a cumulative process with a monotonically increasing trend. The present invention assumes that the change in corrosion depth conforms to the Gamma process, and the expression of its probability density function is:
[0144]
[0145] in,
[0146] Step 1.4: Model for random capacity:
[0147] Since corrosion is a time-dependent degradation mechanism, as the maximum corrosion depth of the pipeline continues to increase, the pipeline wall thickness gradually decreases. Correspondingly, the maximum allowable operating pressure of the pipeline will also gradually decrease as the wall thickness decreases. Based on the finite element model, the present invention uses the arc length method in ANSYS software to obtain the maximum pressure value that the pipeline can withstand under different corrosion conditions. The expression is:
[0148]
[0149] Among them, P i,j cor (t) represents the maximum pressure that the corroded pipeline (i, j) can withstand at time t, P0 is the maximum pressure that the intact pipeline can withstand, wt is the wall thickness of the pipeline, a1, a2 are unknown constants, c2=a1P0-a2P0 is also a constant.
[0150] During the operation of the pipeline network, the degradation of the compressor stations and pipelines jointly affects the pipeline inlet pressure, thereby determining the natural gas capacity of the pipeline:
[0151] On the one hand, considering the economic benefits of pipeline network operation, corroded pipelines can still undertake certain gas transmission tasks, but the maximum pressure that the pipeline can withstand will gradually decrease with the corrosion and degradation of the pipeline, as shown in formula (4);
[0152] On the other hand, during the transportation of natural gas, the compressor station will compensate for the pressure drop caused by the friction between the inner surface of the pipe and the gas. When the compressor station fails, the compressor station can only play a connecting role and cannot provide pressure compensation; therefore, the reliability of the compressor station will also affect the pipeline inlet pressure, thereby affecting the pipeline natural gas capacity.
[0153] Depend on Figure 2 It can be seen from the figure that if the compressor station at node i works normally, the maximum allowable pressure at the inlet of the pipeline (i, j) is the maximum pressure P that it can withstand under the current corrosion state. i,j cor (t);
[0154] Connect the outlet of pipeline (i, j) to the compressor station, and its minimum allowable outlet pressure is the minimum inlet pressure P of compressor station j. C , P C is a constant determined by the performance of the compressor station;
[0155] If the compressor station at node i fails, it is equivalent to the pipeline (i, j) being directly connected to its upstream pipeline, that is, the compressor station only serves as a connection. The calculation formula for the capacity ci,j(t) of the pipeline (i, j) at time t is:
[0156]
[0157] Among them, F is a constant, P i,j cor (t) is the maximum pressure that the pipeline (i, j) can withstand, but its value cannot be greater than the design pressure of the pipeline, P C is the minimum inlet pressure of the compressor station, D is the inner diameter of the pipeline, λ is the friction coefficient, Δ is the relative density of the gas, J is the gas compression factor, T0 is the average temperature of the pipeline, Li,j is the length of pipe (i,j).
[0158] like Figure 3 As shown, combining equation (4) and equation (5), the pipeline capacity c can be obtained i,j (t) and maximum corrosion depth d i,j The functional relationship between (t) is:
[0159]
[0160] in, c4=P C 2 are all constants.
[0161] The randomness of the corrosion state will lead to the randomness of the pressure that the pipeline can withstand, which will further make the pipeline capacity under the influence of pressure also random. Combined with the maximum corrosion depth d i,j The probability density function of (t) and the following formula can be used to derive the pipeline capacity c i,j The probability density function of (t) is expressed as:
[0162]
[0163] in, is a constant.
[0164] Step 2: Evaluate the reliability of gas supply in the pipeline network
[0165] The assessment of gas supply reliability in the pipeline network mainly includes two aspects:
[0166] On the one hand, the probability of various operating states of the catheter network is derived. This probability can be derived based on steps 2.2-2.3;
[0167] On the other hand, evaluating the supply and demand relationship of the pipeline network under various conditions requires obtaining the maximum gas supply of the pipeline network under the influence of pipeline and compressor station degradation; therefore, determining the pipeline network gas supply plan under the random capacity constraints of the pipeline is also an important part of evaluating the reliability of pipeline network gas supply.
[0168] Step 2.1: For compressor station reliability assessment:
[0169] Define that if the state probability vector of the initial state of the compressor station satisfies The reliability of compressor station i is is the probability that the compressor station is in normal working condition until time t, that is, it satisfies:
[0170]
[0171] At the same time, P in formula (8) j(t), j∈W satisfies the differential equation system shown in formula (9):
[0172]
[0173] Among them, P W (t)=(P0(t),P1(t),…,P a (t)) represents the probability vector of the compressor station being in working state at time t, is the block matrix of matrix A, and matrix B is the block form of matrix A, indicating that the state of the compressor station is in normal working state before and after the conversion. Its specific form is expressed as:
[0174]
[0175] Considering that it is rather cumbersome to solve equation (9) using general methods, we can perform Laplace transform on both ends of equation (9) to obtain:
[0176]
[0177] Where I is the identity matrix;
[0178] Therefore, substituting formula (11) into formula (8), we can get:
[0179]
[0180] Among them, e W is an a+1-dimensional column vector whose components are all 1.
[0181] Furthermore, for the formula (12) Performing the inverse Laplace transform, we can get the system reliability of compressor station i at time t:
[0182] Step 2.2: Evaluate pipeline reliability considering capacity:
[0183] Defined as at time t = 0, the pipeline (i, j) is put into operation in a brand new state, and the corrosion depth is d i,j (t) = 0, and the pipeline reliability at this time is recorded as As the pipeline operation time increases, the maximum corrosion depth of the pipeline continues to increase, resulting in a gradual decrease in pipeline capacity, which reduces the possibility of the pipeline completing the gas transmission task and reduces the pipeline reliability. When the pipeline runs to time t, the pipeline corrosion depth is d i,j (t), from formula (5), we can know that the maximum capacity of the pipeline at this time is c i,j (t), which means that when the transport task of pipeline (i, j) is less than or equal to capacity c i,j (t), the pipeline can maintain reliable operation.
[0184] Based on the above analysis, it can be seen that considering the corrosion depth d i,j (t), the reliability of the pipeline at time t is expressed as:
[0185]
[0186] Where L is the corrosion failure threshold of the pipeline.
[0187] Step 2.3: Evaluate the reliability of gas supply from the pipeline network:
[0188] In a "single source and single sink" flow network, the maximum flow problem is to find the maximum feasible flow that satisfies the capacity and flow conservation constraints. The real natural gas pipeline network often has multiple gas sources and multiple users. If virtual source points and virtual sinks are added to the natural gas pipeline network, the maximum gas supply problem of the natural gas pipeline network can be converted into a typical maximum flow problem. For this purpose, a schematic diagram of the pipeline structure with virtual source points S and sinks E is given, as shown in Figure 4 shown.
[0189] When solving the maximum flow of the pipe network, the input is the capacity matrix of each pipe section C = (c i,j (t)) n×n , whose element c i,j (t) is the capacity of pipeline (i, j) under the influence of pipeline and compressor station degradation, and its value can be calculated by formula (5); if there is no pipeline connection between nodes i and j, ci,j(t) = 0; the maximum flow rate G(t) of the pipeline network at time t can be solved by the following mathematical optimization model:
[0190] Target:
[0191]
[0192] constraint:
[0193] 0≤Q i,j (t)≤c i,j (t) (5);
[0194]
[0195] Among them, Qi,j(t) is the actual flow of pipeline (i,j), S is the super source point of the pipeline network, and E is the super sink point of the pipeline network. Constraint (15) indicates that the actual flow of the pipeline Qi,j(t) cannot exceed the pipeline capacity limit. Constraint (16) indicates that for the intermediate node i, all flows flowing into node i are equal to all flows flowing out of node i. Constraint (17) indicates that in the pipeline network, all flows flowing out of the super source point S are equal to all flows flowing into the super sink point E. The basic algorithm of the maximum flow problem is used to solve the optimization model shown in equations (14)-(17).
[0196] In addition, the gas demand of the pipeline network is not only affected by the seasonal changes in temperature and other weather variables, but also by the daily gas usage habits of users and their socioeconomic level. Therefore, the total demand of the pipeline network is highly random. Considering it as a random variable can more objectively describe the supply and demand relationship in the pipeline network and accurately evaluate the reliability of the pipeline network gas supply. The present invention assumes that the total user demand of the pipeline network follows a normal distribution.
[0197] The reliability of gas supply in the pipeline network should be the probability that the maximum gas supply of the pipeline network is G(t) multiplied by the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t) under each degradation state of the pipeline network:
[0198] First, the calculation formula for the probability that the maximum gas supply of the pipeline network is G(t) is:
[0199]
[0200] Among them, the function Indicates the reliability of considering the series and parallel relationship of pipelines. is the reliability of the compressor station at node i at time t, function It represents the structural reliability considering the series and parallel relationship of the compressor stations.
[0201] Secondly, assume that the probability density function of the total demand Z(t) of the pipeline network is f Z (z(t)), then the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t) is:
[0202]
[0203] In summary, the expression of gas supply reliability of the pipeline network is:
[0204]
[0205] Step 2.4: Gas supply reliability assessment of pipeline network considering degradation and renewal:
[0206] During the actual operation of the pipeline network, similar equipment will exhibit different degradation characteristics due to being in different operating environments. During the operation and maintenance of the pipeline network, new degradation data of pipelines and compressor stations will be continuously obtained by detecting the degradation status of the pipeline network. Using these data to update the degradation model parameters can significantly improve the accuracy of the evaluation results and avoid unnecessary maintenance costs. Therefore, the updated pipeline gas supply reliability can be modeled based on step 2.3.
[0207] For the pipeline, it is assumed that the degradation difference of the pipeline in the actual environment only affects the scale parameter β of the Gamma process, but has no effect on the shape parameter. The scale parameter β is updated using the Bayesian update process, and the conjugate distribution family is considered to simplify the analytical solution of the posterior distribution of the parameter. To this end, it is assumed that the prior distribution of the parameter β is the Gamma distribution, denoted by Ga(u P ,v P ), at the detection time t = lT, l = 1, 2, ..., obtain the maximum corrosion depth data of the pipeline Then combine the state data D of pipeline (i, j) at the last detection time t = (l-1)T (l-1) , you can get the incremental data of pipeline (i,j)
[0208] Specifically, using the Bayesian update theorem, based on β (l) The prior distribution f(β (l) ) and the corresponding maximum likelihood function β can be obtained (l) The posterior distribution of is expressed as:
[0209]
[0210] Among them, when l = 1, f(β (l) ) is the prior distribution Ga(u P ,v P ), when l>1, f(β (l) ) is also β (l-1) From the conclusion of the above formula (21), we can see that β (l) The posterior distribution of is:
[0211]
[0212] Assuming that the corrosion degradation of each pipeline is independent of each other, combined with formula (21), the prediction reliability of pipeline (i, j) at time t can be obtained: for:
[0213]
[0214] For compressor stations, their failure rate will change with the change of operating conditions, and new detection data needs to be introduced to update the degradation model parameters. However, the repair technology of compressors is relatively mature, and their repair rate can be estimated using historical data of similar equipment without updating. The number of newly added compressor failures follows a Poisson distribution with parameter λ. The Poisson distribution and the Gamma distribution are conjugate distributions, so we assume that the prior distribution of λ is Ga(u C ,v C ).
[0215] At the moment k=1,2,…get status data of compressor station in, represents the number of compressor failures at the i-th compressor station at the k-th detection; combined with the last detection time Status data of compressor stations X (k-1) , the number of newly added failure units in compressor station i can be obtained as
[0216] Using the Bayesian update theorem, from λ (k) The prior distribution f(λ (k) ) and the corresponding maximum likelihood function We can get λ (k) The posterior distribution of is expressed as:
[0217]
[0218] When k = 1, f(λ (k) ) is the prior distribution of λ is Ga(u C ,v C ), when k>1, f(λ (k) ) is also λ (k-1) From the conclusion of formula (23), we can see that λ (k) The posterior distribution of is:
[0219]
[0220] The updated failure rate λ (k) Substituting into equation (10), we can get the updated transfer rate block matrix, which is expressed as:
[0221]
[0222] According to the updated transfer rate block matrix B (k) and the current state The predicted reliability of compressor station i at time t can be derived as It can be expressed as:
[0223]
[0224] in, is the inverse Laplace transform, P W (t) is the state probability vector of compressor station i at time t.
[0225] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model, characterized in that: The evaluation steps include: Step 1: Considering the impact of the random degradation factors of compressor stations and pipelines on the natural gas pipeline network system, the random degradation processes of compressor stations and pipelines are modeled separately according to the different impacts of the degradation of the two on the gas supply of the natural gas pipeline network system; Step 2: Analyze and calculate the probability of various operating states of the pipeline network, and based on the maximum gas supply of the pipeline network under the influence of pipeline and compressor station degradation, evaluate the supply and demand relationship of the pipeline network under various states, so as to evaluate the gas supply reliability of the pipeline network, specifically including: Step 2.1: Conduct reliability assessment for compressor stations; Step 2.2: Conduct reliability assessment for pipelines with considered capacity; Step 2.3: Evaluate the reliability of gas supply in the pipeline network; Step 2.4: Evaluate the gas supply reliability of the network taking into account the renovation of compressor stations and pipeline degradation.
2. According to claim 1, a natural gas pipeline network gas supply reliability assessment method based on a pipeline network degradation model is characterized by: The specific method for modeling the compressor station degradation process in step 1 is: Step 1.1: Describe the pipeline network system and use the following formula to express the simplified natural gas pipeline network topology: G≡(V, S); Where V = {1, 2, ..., N} is the set of all N nodes in the pipeline network, each node represents a compressor station, S = {(i, j) | i, j ∈ V} is the set of all m edges in the pipeline network, each edge represents a section of natural gas pipeline; Step 1.2: Define that each compressor station consists of n identical compressors connected in parallel, including na operating compressors and a cold standby compressors. Each compressor has two states: normal and faulty. Specifically, the state of the entire station is defined by the number of faulty compressors in the compressor station: Using the random process {X i (t), t ≥ 0} represents the degradation process of compressor station i; Among them, X i (t) represents the state of compressor station i at time t, satisfying X i (t)∈{0, 1, 2,…,n}; When the number of failed compressors increases from 0 to a, it is considered as the normal working state of the compressor station, which is recorded as: W = {01, ..., a}; When the number of failed compressors is greater than the number of standby compressors, that is, the number of failed compressors from a+1 to n is regarded as the failure state of the compressor station, which is recorded as: F = {a+1, a+2, ..., n}; Assume that the failure time and repair time of each compressor satisfy the exponential distribution, and represent the failure rate and repair rate by λ and μ respectively. The state evolution of the compressor station is described using a Markov process, and the conversion rate of the compressor station is represented by the matrix A as follows: The matrix form of the Markov process is expressed as: Where P(t)=(P j (t)) represents the state probability vector of the compressor station at time t, and P j (t) = P{X i (t) = j}.
3. The method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model according to claim 2 is characterized in that: The specific method for modeling the random degradation process of the pipeline in step 1 is: Step 1.3: Model the pipeline degradation process: Define the maximum corrosion depth of pipeline (i, j) at time t as: D i,j (t); Assuming that the change of corrosion depth conforms to the Gamma process, the expression of its probability density function is: in, Step 1.4: Model for random capacity: Using the finite element model and the arc length method in ANSYS software, the maximum pressure value that the pipeline can withstand under different corrosion conditions is obtained. The expression is: Among them, P i,j cor (t) represents the maximum pressure that the corroded pipeline (i, j) can withstand at time t, P0 is the maximum pressure that the intact pipeline can withstand, wt is the wall thickness of the pipeline, a1, a2 are unknown constants, c2=a1P0-a2P0 is also a constant; When the compressor station at node i is working normally, the maximum allowable pressure at the inlet of pipeline (i, j) is the maximum pressure it can withstand under the current corrosion state, denoted as P i,j cor (t); Connect the outlet of pipeline (i, j) to the compressor station. The minimum allowable pressure of its outlet is the minimum inlet pressure P of compressor station j. C , where P C is a constant determined by the performance of the compressor station; Define the capacity c of pipeline (i, j) at time t i,j The calculation formula of (t) is: Among them, F is a constant, P i,j cor (t) is the maximum pressure that the pipeline (i, j) can withstand, but its value cannot be greater than the design pressure of the pipeline, P C is the minimum inlet pressure of the compressor station, D is the inner diameter of the pipeline, λ is the friction coefficient, Δ is the relative density of the gas, J is the gas compression factor, T0 is the average temperature of the pipeline, L i,j is the length of pipeline (i, j); According to the maximum pressure value and capacity calculation, the pipeline capacity c can be obtained. i,j (t) and maximum corrosion depth d i,j The functional relationship between (t) is: in, c4=P C 2 are all constants; Combined maximum corrosion depth d i,j The probability density function of (t) is used to obtain the pipeline capacity c i,j The probability density function of (t) is expressed as: in, is a constant.
4. The method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model according to claim 3 is characterized by: The specific method for performing reliability assessment on the compressor station in step 2.1 is: Define that if the state probability vector of the initial state of the compressor station satisfies The reliability of compressor station i is is the probability that the compressor station is in normal working condition until time t, that is, it satisfies: P in the formula j (t), j∈W satisfies the following differential equations: Among them, P W (t)=(P0(t),P1(t),…,P a (t)) represents the probability vector of the compressor station being in working state at time t, is the block matrix of matrix A, and matrix B is the block form of matrix A, indicating that the state of the compressor station is in normal working state before and after the conversion. The specific form of matrix B is expressed as: Perform Laplace transform on both ends of the above differential equations and solve them: Where I is the identity matrix; Substituting the above formula into the calculation formula of compressor station i reliability, we can get: Among them, e W is an a+1-dimensional column vector whose components are all 1; For the above formula By performing inverse Laplace transform, we can get the system reliability of compressor station i at time t, which is expressed as:
5. The method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model according to claim 4 is characterized in that: The specific method for performing reliability assessment on the pipeline with considered capacity in step 2.2 is: Defined as at time t = 0, the pipeline (i, j) is put into operation in a brand new state, and the corrosion depth is d i,j (t) = 0, and the pipeline reliability at this time is recorded as When the pipeline runs to time t, the pipeline corrosion depth is d i,j (t), the maximum capacity of the pipeline is c i,j (t), that is, when the transport task of pipeline (i, j) is less than or equal to capacity c i,j (t), the pipeline can maintain reliable operation, then the corrosion depth d i,j (t), the calculation formula of pipeline (i, j) reliability at time t is: Where L is the corrosion failure threshold of the pipeline.
6. The method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model according to claim 5 is characterized in that: The specific method for evaluating the reliability of gas supply in the pipeline network in step 2.3 is: The maximum flow of the pipe network is calculated, and the input is the capacity matrix of each pipe section, denoted as C = (c i,j (t)) n×n ; Among them, the element c i,j (t) is the capacity of pipeline (i, j) under the influence of pipeline and compressor station degradation; If there is no pipeline connection between nodes i and j, it is recorded as: c i,j (t) = 0; Calculate the maximum flow G(t) of the pipe network at time t, which is solved by the following mathematical optimization model: Target: constraint: 0≤Q i,j (t)≤c i,j (t); Among them, Qi,j(t) is the actual flow of pipeline (i,j), S is the super source point of the pipeline network, and E is the super sink point of the pipeline network; The constraints respectively indicate: the actual flow rate Qi,j(t) of the pipeline cannot exceed the pipeline capacity limit; For an intermediate node i, all flows into node i are equal to all flows out of node i; All flows out of the super source point S in the pipe network are equal to all flows into the super sink point E; The gas supply reliability of the pipeline network to be evaluated is defined as follows: under each degradation state of the pipeline network, the probability that the maximum gas supply of the pipeline network is G(t) multiplied by the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t). The specific calculation steps are: The calculation formula for the probability that the maximum gas supply of the pipeline network is G(t) is: Among them, the function Indicates the reliability of considering the series and parallel relationship of pipelines. is the reliability of the compressor station at node i at time t, function It represents the structural reliability considering the series and parallel relationship of the compressor stations; Assume the probability density function of the total demand Z(t) of the pipeline network is f Z (z(t)), then the probability that the maximum gas supply G(t) is greater than or equal to the total demand Z(t) is expressed as: In summary, the expression for the reliability of gas supply in the pipeline network is:
7. The method for evaluating the reliability of natural gas pipeline network supply based on pipeline network degradation model according to claim 6 is characterized by: The specific method for evaluating the gas supply reliability of the pipeline network considering the compressor station and pipeline degradation update in step 2.4 is: The degradation difference reflected in the pipeline in the actual environment is set, which only affects the scale parameter β of the Gamma process and has no effect on the shape parameter. The scale parameter β is updated using the Bayesian update process, and the conjugate distribution family is considered to simplify the analytical solution of the posterior distribution of the parameters: The prior distribution of the scale parameter β is set to Gamma distribution, denoted as Ga(u P ,v P ), at the detection time t = lT, l = 1, 2, ..., the maximum corrosion depth data of the pipeline is obtained as follows: Then combine the state data D of pipeline (i, j) at the last detection time t = (l-1)T (l-1) , get the incremental data of pipeline (i,j) The specific calculation steps are: Using the Bayesian update theorem, based on β (l) The prior distribution f(β (l) ) and the corresponding maximum likelihood function β can be obtained (l) The posterior distribution of is expressed as: Among them, when l = 1, f(β (l) ) is the prior distribution Ga(u P ,v P ), when l>1, f(β (l) ) is also β (l-1) The posterior distribution of β is obtained based on the above formula. (l) The posterior distribution of is: Assume that the corrosion degradation of each pipeline is independent of each other, and combine β (l) The expression of the posterior distribution, which gives the prediction reliability of pipeline (i, j) at time t for: The number of newly added compressor failures in the compressor station within the detection period τ follows the Poisson distribution with parameter λ. The Poisson distribution and the Gamma distribution are conjugate distributions, so the prior distribution of λ is set to Ga(u C ,v C ); At time t = kτ, k = 1, 2, ..., the status data of the compressor station is obtained, which is recorded as in, represents the number of compressor failures at the i-th compressor station at the k-th detection; Combined with the status data X of the compressor station at the last detection time t = (k-1)τ (k-1) , the number of newly added faulty compressors at compressor station i is obtained as Using the Bayesian update theorem, according to λ (k) The prior distribution f(λ (k) ) and the corresponding maximum likelihood function We can get λ (k) The posterior distribution of is expressed as: When k = 1, f(λ (k) ) is the prior distribution of λ is Ga(u C ,v C ), when k>1, f(λ (k) ) is also λ (k-1) The posterior distribution of (k) The posterior distribution of is: The updated failure rate λ (k) Substituting into matrix B, we get the updated transfer rate block matrix, which is expressed as: According to the updated transfer rate block matrix B (k) and the current state Further calculate the predicted reliability of compressor station i at time t The calculation formula is: in, is the inverse Laplace transform, P W (t) is the state probability vector of compressor station i at time t.
Citation Information
Patent Citations
Method for evaluating reliability of corroded natural gas pipeline based on fuzzy random theory
CN113468757A
Intelligent fireproof alarm system for natural gas long-distance pipeline
CN114067518A
Gas supply reliability calculation method and device of natural gas pipeline system
CN115062534A
Submarine pipeline dependent competitive failure real-time reliability evaluation system and evaluation method
CN115203987A
Natural gas pipeline reliability evaluation method considering failure mode correlation
CN116150961A
Cited By
Pipe network compressor station merging and simplifying operation optimization method based on response surface method
CN120146475A
