Reliability assessment method, system and storable medium for gas-electricity integrated energy system
By constructing a four-state Markov state model and a double-layer Monte Carlo sampling algorithm, the problem of ignoring the air leakage failure mode in the existing technology is solved, and the reliability assessment accuracy and safety of the gas-electric integrated energy system are improved.
Patent Information
- Application Number
- CN202211111409.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-13
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-09-13
AI Technical Summary
The existing reliability assessment methods of gas-electric integrated energy systems ignore the leakage failure mode of natural gas pipelines, resulting in large errors in risk assessment, and leakage failures may cause major risks such as explosions, fires, and poisoning.
Construct a four-state Markov state model of the natural gas pipeline, simulate the multi-state multi-fault mode of the pipeline through a double-layer Monte Carlo sampling algorithm, determine the location and size of the leak, and incorporate it into the risk assessment of the gas-electric integrated energy system. .
It improves the accuracy of reliability assessment of gas-electric integrated energy systems, can effectively prevent gas leakage failures, reduce losses caused by gas leakage, and provide quantitative analysis to prevent major safety risks.
Smart Images

Figure CN115688332B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of gas-electricity integrated energy system evaluation, and the present invention relates to a reliability evaluation method, system and storable medium for a gas-electricity integrated energy system. Background Art
[0002] As an important component of the gas-electricity integrated energy system, natural gas pipelines can only be effectively estimated for the reliability level of the entire gas-electricity integrated energy system by accurately modeling their reliability. In engineering practice, it is found that the failure modes of natural gas pipelines can usually be divided into three categories: small hole leakage, large hole leakage, and fracture failure. When a serious fracture failure occurs in a natural gas pipeline due to external interference or geological disasters, the upstream natural gas supply will not be able to reach the downstream gas load area through the faulty natural gas pipeline. However, when the natural gas pipeline only has a small hole leakage or a large hole leakage, the upstream natural gas supply can still reach the downstream gas load area through the faulty natural gas pipeline, but a part of the natural gas will inevitably leak into the surrounding environment, and the leakage failure will not be repaired until it is detected.
[0003] The downside is that Figure 1 As shown in the figure, the existing reliability assessment research of gas-electricity integrated energy system generally only considers the pipeline rupture failure mode, and completely ignores the impact of natural gas pipeline leakage failure (small hole leakage and large hole leakage). Relevant statistics show that the frequency of small hole leakage and large hole leakage is 5-10 times that of rupture failure. Therefore, ignoring these two types of pipeline leakage failures in the risk assessment of gas-electricity integrated energy system may lead to large errors in risk assessment. More importantly, pipeline leakage may cause explosions, fires, and poisoning, which in turn may lead to major casualties, huge economic losses, and environmental pollution. Therefore, it is necessary to quantitatively analyze the leakage risk in the gas-electricity integrated energy system, that is, to consider the degree, location and probability of leakage failure at the same time, which is of great significance for preventing leakage failures and reducing the losses caused by leakage failures.
[0004] Application No. 2021111780609 discloses a natural gas pipeline network gas supply reliability detection method and device based on the cross entropy theory. According to the input data, the state transition process of the target natural gas pipeline network is simulated by the temporal Monte Carlo method based on the cross entropy to obtain the temporal state transition sequence; the gas supply volume of the target natural gas pipeline network after the state transition is obtained according to the gas usage characteristics of the users contained in each demand point and the calculation results of the temporal state transition sequence; the gas supply reliability detection data of the target natural gas pipeline network is obtained according to the user demand prediction results and the gas supply volume analysis. This method only discloses the simulation of the state transition process of the target natural gas pipeline network by the temporal Monte Carlo method based on the cross entropy to obtain the temporal state transition sequence, and does not consider the various failure modes of the pipeline. The accuracy of the reliability assessment is not very high.
[0005] Application No. 201710175146.3 discloses a method and system for evaluating the impact of pipeline fault propagation in a city natural gas pipeline system. By establishing a network model of the city natural gas pipeline system, the flow and pressure distribution of the city natural gas pipeline system in a normal state is obtained, and then the pipeline fault is simulated to obtain the flow and pressure distribution of the city natural gas pipeline system after the pipeline fault. The flow pressure distribution in the normal state is compared with the flow pressure distribution in the fault state, and the impact of pipeline fault propagation in the city natural gas pipeline system is further evaluated. This method simulates the pipeline fault through the flow and pressure distribution in the normal state of the pipeline system, and does not model the failure mode of the pipeline, nor simulate the random state transition process, so the accuracy of the reliability evaluation is not very high. Summary of the invention
[0006] The purpose of the present invention is to provide a reliability assessment method, system and storable medium for a gas-electricity integrated energy system, which can realize quantitative analysis of leakage risks in the gas-electricity integrated energy system, determine the location of pipeline leakage and the size of the leakage hole, and be used to assess the reliability level of the gas-electricity integrated energy system, which can further improve the accuracy of reliability assessment of the gas-electricity integrated energy system.
[0007] The technical solution to achieve the purpose of the present invention is:
[0008] A reliability assessment method for a gas-electricity integrated energy system comprises the following steps:
[0009] S01: Construct a Markov state model for the multi-state transition process of a natural gas pipeline and obtain relevant parameters of the gas-electricity integrated energy system;
[0010] S02: within a given time interval, obtain the time sequence transfer state process of the natural gas pipeline and the state time sequence of other components;
[0011] S03: obtaining the state transition process of the sequential system by combining the sequential sequences of all component states;
[0012] S04: Perform energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determine whether to perform optimal energy flow analysis based on the energy flow calculation and analysis results;
[0013] S05: Obtain risk indicators based on the obtained system analysis results, and determine whether the convergence stop criterion meets the requirements. If not, proceed to step S02; otherwise, stop executing.
[0014] In the preferred technical solution, the Markov state model of the natural gas pipeline in step S01 is:
[0015]
[0016] Among them, λ 12 is the transition rate from a normal pipeline to a fault failure, λ 13 is the transfer rate from normal operation of pipeline to small hole leakage fault, λ 14 is the transfer rate from normal operation of pipeline to large hole leakage fault, λ 21 is the transition rate from the fracture fault state to the normal state, λ 32 is the transfer rate from small hole leakage fault to fracture fault, λ 34 is the transfer rate from small hole leakage fault to large hole leakage fault, λ 42 is the transfer rate from large-pore leakage fault to fracture fault, f3 and f4 are the frequencies of encountering small-pore leakage fault and large-pore leakage fault respectively, and f2 is the frequency of entering the repair state.
[0017] In a preferred technical solution, the relevant parameters in step S01 include an annual load curve and a state transition rate of each component.
[0018] In the preferred technical solution, the method for obtaining the time sequence transfer state process of the natural gas pipeline in step S02 includes:
[0019] S21: Identify the current state of the pipeline model and the next state that the current state may reach;
[0020] S22: according to each outward transfer rate of the current state of the pipeline, sample and determine all possible state durations of the current state;
[0021] S23: Select the minimum value among all possible state durations as the duration of the current state of the pipeline, and determine the next transfer direction of the pipeline state.
[0022] In the preferred technical solution, the risk indicators in step S05 include six angles: generalized load reduction, electric load reduction, gas load reduction, wind power reduction, small gas leakage and severe gas leakage. Three types of risk indicators are defined for each angle, which respectively represent the probability of failure, the severity of failure and the frequency of failure.
[0023] The convergence stop criterion is the variance coefficient of EENS:
[0024] β=std(EENS) / EENS (44)
[0025] Where std(EENS) is the standard deviation of the indicator EENS, and EENS represents the expected generalized load shortage.
[0026] In the preferred technical solution, if the pipeline is in a leaking state, two independent random numbers are used to determine the location of the pipeline leak point and the size of the leak hole, including the following steps:
[0027] S211: Sampling a uniformly distributed random number U between 0 and 1, the location of the natural gas leak is located at a distance of length L from the starting point ml Department:
[0028] L ml =L mn U (11)
[0029] L mn is the length of the pipeline;
[0030] S212: Sampling a normal distribution random number d~N(μ,σ) as the leak hole diameter, the leak hole area A is determined by the following formula:
[0031]
[0032] Among them, the normal distribution parameters μ and σ vary with the type of leakage failure mode, and d is the leakage hole diameter.
[0033] The present invention further discloses a computer storage medium on which a computer program is stored. When the computer program is executed, the reliability assessment method of the gas-electricity integrated energy system is implemented.
[0034] The present invention further discloses a reliability assessment system for a gas-electricity integrated energy system, comprising:
[0035] The four-state Markov model construction module of the natural gas pipeline builds the Markov state model of the multi-state transition process of the natural gas pipeline and obtains the relevant parameters of the gas-electricity integrated energy system;
[0036] State transfer simulation module: within a given time interval, obtain the time-series transfer state process of the natural gas pipeline and the state time-series sequence of other components;
[0037] The system combination module obtains the sequential system state transition process by combining the sequential sequences of all component states;
[0038] The energy flow calculation and analysis module performs energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determines whether to perform the optimal energy flow analysis based on the energy flow calculation and analysis results;
[0039] The system probabilistic risk assessment module obtains risk indicators based on the system analysis results and determines whether the convergence stop criteria meet the requirements. If not, the state transfer process is simulated; otherwise, execution is stopped.
[0040] Compared with the prior art, the present invention has the following significant advantages:
[0041] The present invention constructs a pipeline four-state Markov state transition model, generates a random state transition process from the pipeline Markov multi-state model through a double-layer Monte Carlo sampling algorithm, and samples to determine the location of the leakage and the size of the leakage hole to represent the multiple failure modes of the pipeline, and incorporates the pipeline leakage failure mode into the risk assessment of the gas-electricity integrated energy system to assess the reliability level of the gas-electricity integrated energy system, which can further improve the accuracy of the reliability assessment of the gas-electricity integrated energy system. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a traditional two-state outage model of natural gas pipeline that does not consider the gas leakage failure mode;
[0043] Figure 2 A flow chart of a reliability assessment method for a gas-electricity integrated energy system according to a preferred embodiment;
[0044] Figure 3 A four-state Markov model of a natural gas pipeline with three failure modes in this embodiment;
[0045] Figure 4 It is a schematic diagram of energy flow when a gas leakage fault occurs in the natural gas pipeline of this embodiment;
[0046] Figure 5 This is a principle block diagram of the reliability assessment system of the gas-electricity integrated energy system of this embodiment;
[0047] Figure 6 A schematic diagram of the reference direction of energy flow at the virtual gas load node of this embodiment;
[0048] Figure 7EENS and EENS of the test system of the preferred embodiment in scenario 1 and scenario 2 g Schematic diagram of risk indicators. DETAILED DESCRIPTION
[0049] The principle of the present invention is to incorporate pipeline leakage failure modes into the risk assessment of the gas-electricity integrated energy system, specifically including a four-state Markov state model for representing the multi-state and multi-fault mode transfer process of the natural gas pipeline, and a double-layer Monte Carlo sampling algorithm used in system risk assessment, which improves the accuracy of system assessment.
[0050] Embodiment 1:
[0051] like Figure 2 As shown, a reliability assessment method for a gas-electricity integrated energy system comprises the following steps:
[0052] S01: Construct a Markov state model for the multi-state transition process of a natural gas pipeline and obtain relevant parameters of the gas-electricity integrated energy system;
[0053] S02: within a given time interval, obtain the time sequence transfer state process of the natural gas pipeline and the state time sequence of other components;
[0054] S03: obtaining the state transition process of the sequential system by combining the sequential sequences of all component states;
[0055] S04: Perform energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determine whether to perform optimal energy flow analysis based on the energy flow calculation and analysis results;
[0056] S05: Obtain risk indicators based on the obtained system analysis results, and determine whether the convergence stop criterion meets the requirements. If not, proceed to step S02; otherwise, stop executing.
[0057] A preferred embodiment, such as Figure 3 As shown, the Markov state model of the natural gas pipeline in step S01 is:
[0058]
[0059] Among them, λ 12 is the transition rate from a normal pipeline to a fault failure, λ 13 is the transfer rate from normal operation of pipeline to small hole leakage fault, λ 14 is the transfer rate from normal operation of pipeline to large hole leakage fault, λ 21 is the transition rate from the fracture fault state to the normal state, λ 32 is the transfer rate from small hole leakage fault to fracture fault, λ34 is the transfer rate from small hole leakage fault to large hole leakage fault, λ 42 is the transfer rate from large-pore leakage fault to fracture fault, f3 and f4 are the frequencies of encountering small-pore leakage fault and large-pore leakage fault respectively, and f2 is the frequency of entering the repair state.
[0060] In a preferred embodiment, the relevant parameters in step S01 include an annual load curve and a state transition rate of each component.
[0061] In a preferred embodiment, the method for obtaining the time sequence transfer state process of the natural gas pipeline in step S02 includes:
[0062] S21: Identify the current state of the pipeline model and the next state that the current state may reach;
[0063] S22: according to each outward transfer rate of the current state of the pipeline, sample and determine all possible state durations of the current state;
[0064] S23: Select the minimum value among all possible state durations as the duration of the current state of the pipeline, and determine the next transfer direction of the pipeline state.
[0065] In a preferred embodiment, the energy flow equation of the energy flow calculation and analysis method in step S04 is composed of all the following equality constraints:
[0066] Gas grid subsystem equality constraints:
[0067]
[0068]
[0069]
[0070] S cgc,t -K gc ·S gc,t ·(R t ·α -1)=0 (16)
[0071]
[0072]
[0073]
[0074]
[0075]
[0076] Among them, Sp,t is the energy flow vector at time t, that is, S p,t =[S 12,t ,…,S mn,t ,…] T ; sgn is the sign operation, M g p is the gas node-pipeline association matrix, whose number of rows is equal to the number of gas nodes and the number of columns is equal to the number of pipelines. If the gas node is the starting point of the pipeline in the reference direction, the corresponding element in the matrix is 1; if the gas node is the end point of the pipeline, the corresponding element in the matrix is -1; otherwise, the corresponding element in the matrix is 0; t is the square vector of the air pressure at the gas node at time t; Z p is the natural gas pipeline impedance coefficient vector; the upper right corner·α represents the α-th power operation for each element in the vector; S p,u,t is the energy flow vector upstream of the pipeline at time t; S p,d,t is the energy flow vector downstream of the pipeline at time t; K p is the tube storage coefficient vector;
[0077] S cgc,t is the energy consumption vector of the compressor station at time t, S gc,t is the energy flow vector through the compressor station at time t; R t is the compression ratio vector at time t; K gc and α are constant coefficient vectors; is the gas node-compressor station upstream association matrix, is the gas node-compressor station downstream association matrix, is the gas node-compressor station association matrix;
[0078] is the working gas content vector of the gas storage at time t, is the gas content vector of the gas storage at time t, is the working gas content vector of the gas storage at time t-Δt, S st,dis,t is the gas storage deflation rate, and is the maximum storage / release rate of the gas storage at time t, K st,1 , K st,2 , and K st,3 is a constant coefficient vector;
[0079] S gw,t is the gas supply power vector of the gas well at time t, S L,t is the gas load vector at time t, S Lc,t is the gas load reduction vector at time t, S gpg,t is the gas power consumption vector of the gas generator GPG at time t, S p2g,tis the gas supply power vector of the power-to-gas station P2G at time t, is the gas node-gas well association matrix, is the gas node-gas storage association matrix, M g L is the gas node-gas load association matrix, is the gas node-pipeline upstream association matrix, M g p,d is the gas node-pipeline downstream association matrix, is the gas node-gas generator association matrix, It is the gas node-electricity-to-gas station association matrix.
[0080] like Figure 4 As shown, if a pipeline is transformed into a leakage fault state after sampling, the corresponding air flow constraint equations (13)-(15) of the pipeline are transformed into the following equations (1)-(10):
[0081]
[0082]
[0083]
[0084]
[0085]
[0086]
[0087]
[0088]
[0089] S ml,d,t -S ln,u,t -S Leak,t =0 (9)
[0090]
[0091] Among them, S ml,u,t , S ml,d,t are the energy flow rates of the upstream and downstream of the pipe segment ml at time t, S ln,u,t ,S ln,d,t are the energy flow rates of the upstream and downstream of the ln section of the pipeline at time t; π m,t is the inlet pressure at the first end at time t, π n,t is the terminal outlet pressure at time t, π l,t is the air pressure at the leak point at time t; is the reference directional coefficient of the pipe segment ml, when πm,t Greater than π l,t Its value is 1 when it is, otherwise its value is -1; The reference direction coefficient of the ln section of the pipeline, when π l,t Greater than π n,t Its value is 1 when Z is mn is the pipe impedance coefficient, Z ml is the impedance coefficient of the pipe segment ml, Z ln is the impedance coefficient of the ln section of the pipeline; L mn is the pipe length, L ml is the distance from the first end of the pipeline m to the leak point l, L ln is the distance from the pipeline leakage point l to the end n; K mn is the pipeline storage factor, K ml is the pipe storage coefficient of the pipe segment ml, K ln is the pipe storage coefficient of the ln section of the pipeline;
[0092] Power subsystem equality constraints:
[0093]
[0094]
[0095] Among them, T t is the electric power vector on the line at time t, θ t is the phase angle vector at the electrical node at time t, X T is the transmission line impedance vector, P g,t is the generator power vector at time t, P L,t is the electric load vector at time t, P Lc,t is the load reduction vector at time t, P gpg,t is the power vector of the gas generator GPG at time t, P p2g,t is the power consumption vector of the P2G power-to-gas station at time t, P w,t is the wind turbine power vector at time t, P wc,t is the wind turbine power reduction vector at time t, M e TL is the electrical node-power transmission line association matrix, M e g is the electrical node-generator association matrix, M e L is the electrical node-electrical load association matrix, is the electric node-gas generator association matrix, is the electricity node-electricity-to-gas station association matrix, M e w is the electrical node-wind power station association matrix;
[0096] Coupler equality constraints:
[0097] P gpg,t -η gpg ·S gpg,t =0 (36)
[0098] S p2g,t -η p2g ·P p2g,t =0 (37)
[0099] Among them, η gpg is the efficiency coefficient vector, η p2g is the efficiency coefficient vector.
[0100] In a preferred embodiment, if the energy flow calculation result in step S04 shows that there is any state quantity that violates the operation constraint, then the optimal energy flow calculation is performed, and the objective function of the optimal energy flow model is:
[0101]
[0102] Among them, ω1, ω2 and ω3 are weight coefficients, N G Indicates the total number of gas load nodes, N E Represents the total number of electrical load nodes, N W Indicates the total number of wind power nodes;
[0103] Constraints include:
[0104] Gas grid subsystem equality constraints;
[0105] Power subsystem equality constraints;
[0106] Coupler equality constraints;
[0107] Inequality constraints of gas grid subsystem:
[0108]
[0109] R min ≤R t ≤R max (twenty three)
[0110]
[0111]
[0112]
[0113]
[0114]
[0115] 0≤S Lc,t ≤S L,t (29)
[0116] Among them, S c p is the energy flow capacity of the pipeline; R max and R min is the upper and lower limits of the compression ratio of the natural gas compressor station; S max gc and S min gc is the upper and lower limits of the compressor station energy flow, E max st and E min st are the upper and lower limits of the working gas content of the gas storage; and are the upper and lower limits of the gas release rate of the gas storage, and are the upper and lower limits of the gas supply power of the gas well, and are the upper and lower limits of the square of the pipeline air pressure;
[0117] Power subsystem inequality constraints:
[0118]
[0119] -T max ≤T t ≤T max (33)
[0120] 0≤P Lc,t ≤P L,t (34)
[0121] 0≤P wc,t ≤P w,t (35)
[0122] in, and is the generator power P at time t g,t The maximum and minimum values of T max and -T max is the transmission capacity of the transmission line at time t t The upper and lower limits of
[0123] Coupled device inequality constraints:
[0124]
[0125]
[0126] in, and is the GPG power generation power P at time t gpg,t The upper and lower limits of and is the P2G natural gas production rate S at time t p2g,t upper and lower limits.
[0127] In a preferred embodiment, the risk indicators in step S05 include six angles: generalized load reduction, electric load reduction, gas load reduction, wind power reduction, small gas leakage and severe gas leakage. Three types of risk indicators are defined for each angle, which respectively represent the probability of failure, the severity of failure and the frequency of failure;
[0128] The convergence stop criterion is the variance coefficient of EENS:
[0129] β=std(EENS) / EENS (44)
[0130] Where std(EENS) is the standard deviation of the indicator EENS, and EENS represents the expected generalized load shortage.
[0131] A preferred embodiment, if the pipeline is in a leaking state, uses two independent random numbers to determine the location of the pipeline leak point and the size of the leak hole, including the following steps:
[0132] S211: Sampling a uniformly distributed random number U between 0 and 1, the location of the natural gas leak is located at a distance of length L from the starting point ml Department:
[0133] L ml =L mn U (11)
[0134] L mn is the length of the pipeline;
[0135] S212: Sampling a normal distribution random number d~N(μ,σ) as the leak hole diameter, the leak hole area A is determined by the following formula:
[0136]
[0137] Among them, the normal distribution parameters μ and σ vary with the type of leakage failure mode, and d is the leakage hole diameter.
[0138] In another embodiment, a computer storage medium is disclosed, on which a computer program is stored, and when the computer program is executed, the reliability assessment method of the above-mentioned gas-electricity integrated energy system is implemented.
[0139] In another embodiment, Figure 5 As shown, a reliability evaluation system for a gas-electricity integrated energy system is disclosed, comprising:
[0140] A natural gas pipeline four-state Markov model construction module 10 constructs a Markov state model of a natural gas pipeline multi-state transition process and obtains relevant parameters of a gas-electricity integrated energy system;
[0141] State transfer simulation module 20: obtaining the time sequence transfer state process of the natural gas pipeline and the state time sequence sequence of other components within a given time interval;
[0142] The system combination module 30 obtains the time-sequential system state transfer process by combining the time-sequential sequences of all component states;
[0143] The energy flow calculation and analysis module 40 performs energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determines whether to perform optimal energy flow analysis according to the energy flow calculation and analysis results;
[0144] The system probability risk assessment module 50 obtains the risk index according to the obtained system analysis results, and determines whether the convergence stop criterion meets the requirements. If not, the state transfer process is simulated; otherwise, the execution is stopped.
[0145] Specifically, the process of reliability assessment system of gas-electricity integrated energy system is described below by taking a specific example as follows:
[0146] A Pipeline Component Risk Modeling Phase:
[0147] The traditional two-state reliability model of natural gas pipeline is as follows: Figure 1 As shown in Figure 1, the model only considers the pipeline rupture failure mode and completely ignores the impact of natural gas pipeline leakage failure. There are three failure modes in natural gas pipelines: small hole leakage failure, large hole leakage failure and rupture failure. Each failure mode has different failure frequencies, failure durations and failure consequences. Based on the analysis of different failure modes of natural gas pipelines and the relationship between failures, a Markov state space diagram is used to establish the following Figure 3The four-state Markov model of the natural gas pipeline shown in the figure is used to capture the transitions between these fault states and between these fault states and the normal state, where state 1 represents the normal state, state 2 represents the fault or repair state, state 3 represents the slight leakage state, and state 4 represents the severe leakage state. The slight leakage state represents a fault scenario in which a small hole leakage fault occurs in the pipeline, resulting in a small amount of natural gas leaking into the surrounding environment. This usually does not cause an immediate emergency safety risk, so it is allowed to have a relatively long time before being repaired. The severe leakage state represents another fault scenario in which a large hole leakage fault occurs in the pipeline, resulting in a large amount of natural gas being released into the surrounding environment in a short time. This usually requires emergency treatment in a short time to prevent the harm from worsening. When a rupture fault occurs, its impact is huge and can be detected quickly, so that it is equivalent to directly entering the pipeline repair state. Transition rate λ 12 ,λ 13 and λ 14 They respectively represent the transition process of a normally operating pipeline to a rupture fault, a small hole leakage fault, and a large hole leakage fault. 21 It represents the repair process from the fault state to the normal state. Transition rate λ 32 It shows the transfer process of discovering a small hole gas leakage fault during daily pipeline patrol and allowing it to enter the repair process. The transfer rate λ 34 It shows the transition process from a small hole leakage fault to a large hole leakage fault due to the lack of timely human intervention and the development of corrosion. 42 It shows the transfer process in which a serious gas leakage fault is detected and emergency measures are taken to put the faulty pipeline into repair state.
[0148] Combining the Markov equation of the state space graph and the frequency duration method, the present invention derives the calculation formula of the unknown transfer rate in the pipeline four-state Markov model:
[0149]
[0150] All the transfer rates and frequencies f3 and f4 on the right side of the formula can be directly calculated from statistical data. f3 and f4 are the frequencies of encountering small hole leakage faults and large hole leakage faults, respectively. f2 is the frequency of entering the repair state, and the fracture fault frequency (expressed as f0) is only a part of it. When f2 cannot be obtained from the data system, the present invention derives its calculation formula according to the frequency balance method:
[0151]
[0152] B Pipeline element operation modeling phase:
[0153] Figure 4A schematic diagram of energy flow when a gas pipeline leaks is given. When a gas pipeline leaks, its pipeline energy flow equation will be described by the following equation:
[0154]
[0155]
[0156]
[0157]
[0158]
[0159]
[0160]
[0161]
[0162] Among them, S ml,u,t , S ml,d,t are the energy flow rates of the upstream and downstream of the pipe segment ml at time t, S ln,u,t ,S ln,d,t are the energy flow rates of the upstream and downstream of the ln section of the pipeline at time t; π m,t is the inlet pressure at the first end at time t, π n,t is the terminal outlet pressure at time t, π l,t is the air pressure at the leak point at time t; is the reference directional coefficient of the pipe segment ml, when π m,t Greater than π l,t Its value is 1 when it is, otherwise its value is -1; The reference direction coefficient of the ln section of the pipeline, when π l,t Greater than π n,t Its value is 1 when Z is mn is the pipe impedance coefficient, Z ml is the impedance coefficient of the pipe segment ml, Z ln is the impedance coefficient of the ln section of the pipeline; L mn is the pipe length, L ml is the distance from the first end of the pipeline m to the leak point l, L ln is the distance from the pipeline leakage point l to the end n; K mn is the pipeline storage factor, K ml is the pipe storage coefficient of the pipe segment ml, K ln It is the storage coefficient of the ln section of the pipeline.
[0163] The leakage load is regarded as a virtual gas load. With the emergence of virtual gas load nodes, the corresponding energy balance equation needs to be added to the gas-electricity integrated energy system model. In the above case, the added energy balance equation can be expressed as equation (9), where the energy flow direction at the virtual gas load node is as follows: Figure 6 shown.
[0164] S ml,d,t -S ln,u,t -S Leak,t =0 (9)
[0165] Where S Leak,t is the leakage power, which can be calculated using the following formula:
[0166]
[0167] Where A is the leak area (mm 2 ), π l,t is the pressure at the leaking pipe (MPa), M is the molar mass (kg / kmol), R is the gas constant (J / (kmol·K)), T a is the operating temperature (K), k is the heat capacity ratio, V LH is the lower calorific value of natural gas (MJ / m 3 ), and ρ is the gas density (kg / m 3 ).
[0168] C Two-layer Monte Carlo sampling algorithm:
[0169] According to the pipeline multi-state Markov model and the transfer rate in the model, a double-layer Monte Carlo sampling algorithm is proposed to simulate the multi-state and multi-mode transfer process of the natural gas pipeline and the random failure and fault severity of gas leakage. For other components in the gas-electricity integrated energy system, their states are determined using traditional sequential Monte Carlo sampling.
[0170] In the first layer of sampling of the proposed two-layer Monte Carlo sampling algorithm, the sequential sampling method is used to determine the duration of the current state and the next state transition direction of the pipeline multi-state model. It includes the following basic steps:
[0171] Step 1: Identify the current state of the pipeline model and the next state that the current state may reach.
[0172] Step 2: According to each outward transition rate of the current state of the pipeline, sample and determine all possible state durations of the current state.
[0173] Step 3: Select the minimum value among all possible state durations as the duration of the current state of the pipeline. The selected state duration also determines the next transfer direction of the pipeline state.
[0174] In the second-level sampling, if the pipeline is in a leaking state, two independent random numbers are used to determine the location of the pipeline leak and the size of the leak. Figure 4 As shown, the length is L mn The pipeline is at a distance L from the starting point m ml Gas leakage occurs at point l of the detector. Assume that the leak is circular and its diameter is d. The location and size of the leak are determined by the following steps:
[0175] Step 1: Sample a uniformly distributed random number U between 0 and 1. The location of the gas leak is located at a distance of length L from the starting point. ml Department:
[0176] L ml =L mn U (11)
[0177] Step 2: Sample a normal distribution random number d~N(μ,σ) as the leak diameter, where the normal distribution parameters μ and σ vary with the type of leakage failure mode. The leak area A is determined by the following formula:
[0178]
[0179] D Gas-electricity integrated energy system network model:
[0180] D1 Gas Network Subsystem Equality Constraints
[0181] Gas grid subsystem equality constraints:
[0182]
[0183]
[0184]
[0185] S cgc,t -K gc ·S gc,t ·(R t ·α -1)=0 (16)
[0186]
[0187]
[0188]
[0189]
[0190]
[0191] Among them, constraint equations (13)-(15) give the upstream and downstream airflow equations of the pipeline in the reference direction, constraint equations (16)-(17) are the energy flow constraint equations and compression ratio calculation equations of the natural gas compressor station, respectively, constraint equations (18)-(20) are the gas volume balance equation, maximum gas release capacity equation, and maximum gas storage capacity equation of the gas storage, respectively, and constraint equation (21) ensures the airflow balance of each gas node in each time period. p,t is the energy flow vector at time t, that is, S p,t =[S 12,t ,…,S mn,t ,…] T ; sgn is the sign operation, M g p is the gas node-pipeline association matrix, whose number of rows is equal to the number of gas nodes and the number of columns is equal to the number of pipelines. If the gas node is the starting point of the pipeline in the reference direction, the corresponding element in the matrix is 1; if the gas node is the end point of the pipeline, the corresponding element in the matrix is -1; otherwise, the corresponding element in the matrix is 0; t is the square vector of the air pressure at the gas node at time t; Z p is the natural gas pipeline impedance coefficient vector; the upper right corner. α means that each element in the vector is subjected to the α-th power operation; S p,u,t is the energy flow vector upstream of the pipeline at time t; S p,d,t is the energy flow vector downstream of the pipeline at time t; K p is the tube storage coefficient vector;
[0192] S cgc,t is the energy consumption vector of the compressor station at time t, S gc,t is the energy flow vector through the compressor station at time t; R t is the compression ratio vector at time t; K gc and α are constant coefficient vectors; is the gas node-compressor station upstream association matrix, is the gas node-compressor station downstream association matrix, is the gas node-compressor station association matrix;
[0193] is the working gas content vector of the gas storage at time t, is the gas content vector of the gas storage at time t, is the working gas content vector of the gas storage at time t-Δt, S st,dis,t is the gas storage deflation rate, and is the maximum storage / release rate of the gas storage at time t, K st,1 , K st,2 , and K st,3 is a constant coefficient vector;
[0194] S gw,t is the gas supply power vector of the gas well at time t, S L,t is the gas load vector at time t, S Lc,t is the gas load reduction vector at time t, S gpg,t is the gas power consumption vector of the gas generator GPG at time t, S p2g,t is the gas supply power vector of the power-to-gas station P2G at time t, is the gas node-gas well association matrix, is the gas node-gas storage association matrix, M g L is the gas node-gas load association matrix, is the gas node-pipeline upstream association matrix, M g p,d is the gas node-pipeline downstream association matrix, is the gas node-gas generator association matrix, It is the gas node-electricity-to-gas station association matrix.
[0195] Inequality constraints of gas grid subsystem:
[0196]
[0197] R min ≤R t ≤R max (twenty three)
[0198]
[0199]
[0200]
[0201]
[0202]
[0203] 0≤S Lc,t ≤S L,t (29)
[0204] Among them, S c p is the energy flow capacity of the pipeline; R max and R min is the upper and lower limits of the compression ratio of the natural gas compressor station; S max gc and S min gc is the upper and lower limits of the compressor station energy flow, E max stand E min st are the upper and lower limits of the working gas content of the gas storage; and are the upper and lower limits of the gas release rate of the gas storage, and are the upper and lower limits of the gas supply power of the gas well, and are the upper and lower limits of the square of the pipeline air pressure;
[0205] Power subsystem equality constraints:
[0206]
[0207]
[0208] Among them, constraint equations (30)-(31) give the power balance constraints on the power transmission line and the power at the electrical node, T t is the electric power vector on the line at time t, θ t is the phase angle vector at the electrical node at time t, X T is the transmission line impedance vector, P g,t is the generator power vector at time t, P L,t is the electric load vector at time t, P Lc,t is the load reduction vector at time t, P gpg,t is the power vector of the gas generator GPG at time t, P p2g,t is the power consumption vector of the power-to-gas station P2G at time t, P w,t is the wind turbine power vector at time t, P wc,t is the wind turbine power reduction vector at time t, M e TL is the electrical node-power transmission line association matrix, M e g is the electrical node-generator association matrix, M e L is the electrical node-electrical load association matrix, is the electrical node-gas generator association matrix, is the electricity node-electricity-to-gas station association matrix, M e w is the electrical node-wind power station association matrix;
[0209] Power subsystem inequality constraints:
[0210]
[0211] -T max ≤T t ≤T max(33)
[0212] 0≤P Lc,t ≤P L,t (34)
[0213] 0≤P wc,t ≤P w,t (35)
[0214] in, and is the generator power P at time t g,t The maximum and minimum values of T max and -T max is the transmission capacity of the transmission line at time t t The upper and lower limits of
[0215] Coupler equality constraints:
[0216] P gpg,t -η gpg ·S gpg,t =0 (36)
[0217] S p2g,t -η p2g ·P p2g,t =0 (37)
[0218] Among them, η gpg is the efficiency coefficient vector, η p2g is the efficiency coefficient vector.
[0219] Coupled device inequality constraints:
[0220]
[0221]
[0222] in, and is the GPG power generation power P at time t gpg,t The upper and lower limits of and is the P2G natural gas production rate S at time t p2g,t upper and lower limits.
[0223] D7 Energy Flow and Optimal Energy Flow Model
[0224] In the risk assessment of the gas-electricity integrated energy system, each sampled system state needs to be subjected to energy flow calculation to determine whether the state violates the operating constraints. The energy flow equation of the gas-electricity integrated energy system consists of all the above-mentioned equality constraints and can be solved by Newton's method. If the energy flow calculation results show that there are any state quantities that violate the operating constraints, it is necessary to perform optimal energy flow calculation to restore the gas-electricity integrated energy system from the abnormal state to the normal state by adjusting the output of the generator, gas well or gas storage reservoir or even reducing the node load. The optimal energy flow model of the gas-electricity integrated energy system consists of an objective function that contains all the above-mentioned equality and inequality constraints (13)-(39). The minimization objective is the gas load reduction S Lc,t , Electric load reduction P Lc,t and wind power reduction P wc,t The weighted sum of:
[0225]
[0226] Where ω1, ω2 and ω3 are weight coefficients, N G Indicates the total number of gas load nodes, N E Represents the total number of electrical load nodes, N W Represents the total number of wind power nodes. The primal-dual interior point algorithm can be used to solve the optimal model.
[0227] E. System probabilistic risk assessment considering pipeline leakage failure mode:
[0228] E1 Risk indicators of gas-electricity integrated energy system
[0229] In order to fully demonstrate the risks of the gas-electricity integrated energy system, the risk indicators of the gas-electricity integrated energy system are defined from multiple perspectives, including generalized load reduction (electricity load and gas load), electricity load reduction, gas load reduction, wind power reduction, small gas leakage and serious gas leakage. Three types of risk indicators are defined for each perspective, representing the probability of failure, the severity of failure and the frequency of failure. For example, the risk indicator based on generalized load reduction can be described by the following mathematical expression:
[0230]
[0231]
[0232]
[0233] Where LOLP (generalized load shedding probability) is equal to the sum of the probabilities of random failure events that will lead to load shedding; i represents the total duration of the generalized load reduction state in the i-th simulation year; N represents the total number of simulation years; is a state indicator function. If a fault that causes generalized load reduction occurs during period t in the i-th simulation year, then Equal to 1, otherwise Equal to 0. EENS represents the expected generalized load shortage, Eens i represents the total generalized load shortage in the ith simulation year, is the state indicator function, whose function value is equal to the generalized load shortage of the system state in the t period of the ith simulation year. LOLF represents the generalized load reduction frequency, Lolf i represents the number of occurrences of generalized load reduction in the i-th simulation year, is a state indicator function, if and Its function value is 1, otherwise the function value is 0.
[0234] Similarly, other risk indicators for gas-electric integrated energy systems are easily defined, including LOLP based on electricity load reduction. e EENS e and LOLF e , LOLP based on gas load reduction g , EENS g and LOLF g , the probability of wind power curtailment POWC (probability of wind power curtailment), expected wind energy curtailment EOWC (expectation of wind energy curtailment) and frequency of wind power curtailment FOWC (frequency of wind power curtailment) based on wind power curtailment, the probability of minor gas leak POML (probability of minor gas leak), expected small gas leakage EOML (expectation of minor gas leak) and frequency of minor gas leakage FOML (frequency of minor gas leak) based on small gas leakage, and the probability of serious gas leak POSL (probability of serious gas leak), expected serious gas leakage EOSL (expectation of serious gas leak) and frequency of serious gas leak FOSL (frequency of serious gas leak) based on serious gas leakage.
[0235] The convergence stop criterion of the risk assessment process is the variance coefficient of EENS, which is calculated as follows:
[0236] β=std(EENS) / EENS (44)
[0237] where std(EENS) is the standard deviation of the indicator EENS.
[0238] E2 Gas-electricity Integrated Energy System Risk Assessment Process
[0239] The risk assessment process of the gas-electricity integrated energy system after considering the pipeline leakage failure mode is as follows:
[0240] Step 1: Obtain relevant parameters of the gas-electricity integrated energy system, including annual load curve, state transition rate of each component and other parameters. Assume that all components are in normal state at the initial moment.
[0241] Step 2: Within a given time interval (one year), the proposed double-layer Monte Carlo sampling algorithm is used to obtain the time-series transition state process of the natural gas pipeline, and the state time series of other components is obtained through the traditional state duration sampling method.
[0242] Step 3: Obtain the sequential system state transition process by combining the sequential sequences of all component states.
[0243] Step 4: Analyze each system state of the gas-electric integrated energy system within a given time interval (one year). First, perform energy flow calculation analysis (see equations (13)-(21), (30)-(31) and (36)-(37)) to determine whether it is necessary to perform optimal energy flow analysis (see the optimal load reduction model of D7).
[0244] Step 5: Obtain the annual risk index based on the obtained system analysis results (simulating the gas load reduction, electricity load reduction or wind abandonment in each period of the year). Check whether the convergence stop criterion meets the requirements: if not, go to step 2; otherwise, stop the algorithm.
[0245] A gas-electricity integrated energy system (GEIES) consisting of a modified RBTS and a 7-node natural gas network interconnected is taken as an example to verify the GEIES risk assessment method proposed in this chapter after considering pipeline leakage failure, and to demonstrate the impact of natural gas pipeline leakage failure mode on GEIES risk assessment.
[0246] Table 1 shows the comparison of system risk assessment results using two pipeline models. In scenario 1, the natural gas pipeline adopts a two-state model, while in scenario 2, the natural gas pipeline adopts the proposed four-state Markov model. It can be seen from Table 1 that the system risk index after considering pipeline leakage failure is greater than the system risk index considering only pipeline rupture failure, and there is a large difference between the two results. This is because the natural gas pipeline is the main transmission link in the natural gas subsystem, and its outage model has a greater impact on the system risk index. This also shows that for the gas-electric integrated energy system, if the leakage failure is ignored in the component risk modeling process according to the common assumptions in the current literature, the system risk index will be greatly underestimated, which is likely to lead to unreasonable conclusions in system planning. Compared with the risk index of the integrated energy system and the risk index of the power subsystem in the two cases, the risk index of the natural gas subsystem in the two cases is more different. This is because the natural gas pipeline failure has a greater impact on the natural gas subsystem in which it is located. In addition, Figure 7 shows the system EENS index and the natural gas subsystem EENS within 1000 simulation years in the two scenarios. g Indicators, and then more clearly feel the impact of the two different pipeline models on the system risk indicators.
[0247] Table 1 Comparison of test system risk index results under different pipeline models
[0248]
[0249]
[0250] Table 2 Test system leakage risk index results and comparison
[0251]
[0252] Table 2 shows the results of the test system leakage risk indicators and their comparison with the system risk indicators. LOLP, LOLF and EENS are risk indicators representing the generalized system load reduction (electric load and gas load); POML, FOML and EOML are small leakage risk indicators, while POSL, FOSL and EOSL are serious leakage risk indicators. From the first three rows of Table 2, it can be seen that the small leakage probability indicator POML is about five times the system load loss probability indicator LOLP, the small leakage frequency indicator FOML is lower than the system load loss frequency indicator LOLF, and the small leakage volume indicator EOML is greater than half of the system expected load loss shortage EENS. This shows that the risk of natural gas leakage is equivalent to or even greater than the risk of load reduction of the entire system. In addition to the significance of being comparable to the system risk indicators, the natural gas leakage risk indicators can also provide quantitative information related to possible safety hazards such as fire, explosion and poisoning. From the last three rows of Table 2, it can be seen that for this test system, the frequency index of severe gas leakage is comparable to that of minor gas leakage, which are 0.1231occ. / yr and 0.1948occ. / yr respectively, indicating that this gas-electricity integrated energy system has 1 to 2 severe gas leakage faults and minor gas leakage faults every 10 years on average. In addition, compared with the probability index and leakage index of severe gas leakage, the relevant index of minor gas leakage is much larger, which indicates that even minor gas leakage faults should not be ignored in risk assessment, and it is reasonable and necessary to model minor gas leakage faults and severe gas leakage faults in pipeline gas leakage faults separately.
[0253] Table 3 Comparison of test system risk indicators under different pipeline models
[0254]
[0255] In engineering practice, there is always a lot of uncertainty in any fault statistics. The frequency of occurrence of small hole leakage faults, large hole leakage faults and fracture faults used in the above example may be too low. This paper examines two other scenarios after the failure frequency increases by 50% on the same test system. The system risk indicators under these two scenarios are shown in Table 3. In Scenario 3, the natural gas pipeline adopts a two-state model that does not consider leakage faults, while in Scenario 4, the natural gas pipeline adopts a four-state Markov model that considers leakage faults. It can be seen that compared with Table 1, the difference between each system risk indicator in the two cases has increased by about 2 times. This shows that for the gas-electricity integrated energy system where natural gas pipeline failures occur frequently, ignoring the leakage failure mode of the pipeline will lead to a more serious underestimation of the system risk indicator.
[0256] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications made without departing from the spirit and principles of the present invention shall be equivalent replacement modes and shall be included in the protection scope of the present invention.
Claims
1. A reliability assessment method for a gas-electricity integrated energy system. It is characterized in that The following steps are involved: S01: Construct a Markov state model for the multi-state transfer process of a natural gas pipeline and obtain relevant parameters of the gas-electricity integrated energy system; S02: In a given time interval, obtain the time sequence transfer state process of the natural gas pipeline and the state time sequence of other components; S03: obtaining the state transition process of the sequential system by combining the sequential sequences of all component states; S04: Perform energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determine whether to perform optimal energy flow analysis based on the energy flow calculation and analysis results; the energy flow equation of the energy flow calculation and analysis method is composed of all the following equation constraints: Gas grid subsystem equality constraints: S cgc,t -K gc ·S gc,t ·(R t ·α -1)=0 (16) Among them, S p,t is the energy flow vector at time t, that is, S p,t =[S 12,t ,…,S mn,t ,…] T ; sgn is the sign operation, M g p is the gas node-pipeline association matrix, whose number of rows is equal to the number of gas nodes and the number of columns is equal to the number of pipelines. If the gas node is the starting point of the pipeline in the reference direction, the corresponding element in the matrix is 1; if the gas node is the end point of the pipeline, the corresponding element in the matrix is -1; otherwise, the corresponding element in the matrix is 0; t is the square vector of the air pressure at the gas node at time t; Z p is the natural gas pipeline impedance coefficient vector; the upper right corner·α represents the α-th power operation for each element in the vector; S p,u,t is the energy flow vector upstream of the pipeline at time t; S p,d,t is the energy flow vector downstream of the pipeline at time t; K p is the tube storage coefficient vector; S cgc,t is the energy consumption vector of the compressor station at time t, S gc,t is the energy flow vector through the compressor station at time t; R t is the compression ratio vector at time t; K gc and α are constant coefficient vectors; is the gas node-compressor station upstream association matrix, is the gas node-compressor station downstream association matrix, is the gas node-compressor station association matrix; is the working gas content vector of the gas storage at time t, is the gas content vector of the gas storage at time t, is the working gas content vector of the gas storage at time t-Δt, S st,dis,t is the gas storage deflation rate, and is the maximum storage / release rate of the gas storage at time t, K st,1 , K st,2 , and K st,3 is a constant coefficient vector; S gw,t is the gas supply power vector of the gas well at time t, S L,t is the gas load vector at time t, S Lc,t is the gas load reduction vector at time t, S gpg,t is the gas power consumption vector of the gas generator GPG at time t, S p2g,t is the gas supply power vector of the power-to-gas station P2G at time t, is the gas node-gas well association matrix, M st g is the gas node-gas storage association matrix, M g L is the gas node-gas load association matrix, is the gas node-pipeline upstream association matrix, M g p,d is the gas node-pipeline downstream association matrix, is the gas node-gas generator association matrix, is the gas node-electricity-to-gas station association matrix; If a pipeline is transformed into a leakage fault state after sampling, the corresponding airflow constraint equations (13)-(15) of the pipeline are transformed into the following equations (1)-(10): S ml,d,t -S ln,u,t -S Leak,t =0 (9) Among them, S ml,u,t ,S ml,d,t are the energy flow rates of the upstream and downstream of the pipe segment ml at time t, S ln,u,t ,S ln,d,t are the energy flow rates of the upstream and downstream of the ln section of the pipeline at time t; π m,t is the inlet pressure at time t, π n,t is the terminal outlet pressure at time t, π l,t is the air pressure at the leaking point at time t; d m l is the reference directional coefficient of the pipe segment ml, when π m,t Greater than π l,t Its value is 1 when it is, otherwise its value is -1; d l n The reference direction coefficient of the ln section of the pipeline, when π l,t Greater than π n,t Its value is 1 when Z is mn is the pipe impedance coefficient, Z ml is the impedance coefficient of the pipe segment ml, Z ln is the impedance coefficient of the ln section of the pipeline; L mn is the pipe length, L ml is the distance from the first end of the pipeline m to the leak point l; K mn is the pipeline storage factor, K ml is the pipe storage coefficient of the pipe segment ml, K ln is the pipe storage coefficient of the ln section of the pipeline; S Leak,t is the leakage power, A is the leakage area, M is the molar mass, R is the gas constant, T a is the operating temperature, k is the heat capacity ratio, V LH is the lower heating value of natural gas, ρ is the gas density; Power subsystem equality constraints: Among them, T t is the electric power vector on the line at time t, θ t is the phase angle vector at the electrical node at time t, X T is the transmission line impedance vector, P g,t is the generator power vector at time t, P L,t is the electric load vector at time t, P Lc,t is the load reduction vector at time t, P gpg,t is the power vector of the gas generator GPG at time t, P p2g,t is the power consumption vector of the P2G power-to-gas station at time t, P w,t is the wind turbine power vector at time t, P wc,t is the wind turbine power reduction vector at time t, M e TL is the electrical node-power transmission line association matrix, M e g is the electrical node-generator association matrix, M e L is the electrical node-electrical load association matrix, is the electric node-gas generator association matrix, is the electricity node-electricity-to-gas station association matrix, M e w is the electrical node-wind power station association matrix; Coupler equality constraints: P gpg,t -or gpg ·S gpg,t =0 (36) S p2g,t -or p2g ·P p2g,t =0 (37) Among them, η gpg is the efficiency coefficient vector, η p2g is the efficiency coefficient vector; S05: Obtain risk indicators based on the obtained system analysis results, and determine whether the convergence stop criterion meets the requirements. If not, proceed to step S02; otherwise, stop executing.
2. The reliability assessment method of the gas-electricity integrated energy system according to claim 1, It is characterized in that The Markov state model of the natural gas pipeline in step S01 is: Among them, λ 12 is the transition rate from a normal pipeline to a fault failure, λ 13 is the transfer rate from normal operation of pipeline to small hole leakage fault, λ 14 is the transfer rate from normal operation of pipeline to large hole leakage fault, λ 21 is the transition rate from the fracture fault state to the normal state, λ 32 is the transfer rate from small hole leakage fault to fracture fault, λ 34 is the transfer rate from small hole leakage fault to large hole leakage fault, λ 42 is the transfer rate from large hole leakage fault to fracture fault, f 3 and f 4 are the frequencies of encountering small hole leakage fault and large hole leakage fault, f 2 is the frequency of entering the repair state.
3. The reliability assessment method of the gas-electricity integrated energy system according to claim 1, It is characterized in that The relevant parameters in step S01 include the annual load curve and the state transfer rate of each component.
4. The reliability assessment method of the gas-electricity integrated energy system according to claim 1, It is characterized in that The method for obtaining the time sequence transfer state process of the natural gas pipeline in step S02 includes: S21: Identify the current state of the pipeline model and the next state that the current state may reach; S22: according to each outward transfer rate of the current state of the pipeline, sample and determine all possible state durations of the current state; S23: Select the minimum value among all possible state durations as the duration of the current state of the pipeline, and determine the next transfer direction of the pipeline state.
5. The reliability assessment method of the gas-electricity integrated energy system according to claim 1, It is characterized in that In step S04, if the energy flow calculation result shows that there is any state quantity that violates the operation constraint, the optimal energy flow calculation is performed, and the objective function of the optimal energy flow model is: Among them, ω 1 ,ω 2 and ω 3 is the weight coefficient, N G Indicates the total number of gas load nodes, N E Represents the total number of electrical load nodes, N W Indicates the total number of wind power nodes; Constraints include: Gas grid subsystem equality constraints; Power subsystem equality constraints; Coupler equality constraints; Inequality constraints of gas grid subsystem: R min ≤R t ≤R max (23) 0≤S Lc,t ≤S L,t (29) Among them, S c p is the pipeline energy flow capacity; R max and R min is the upper and lower limits of the compression ratio of the natural gas compressor station; S max gc and S min gc is the upper and lower limits of the compressor station energy flow, E max st and E min st are the upper and lower limits of the working gas content of the gas storage; and are the upper and lower limits of the gas release rate of the gas storage, and are the upper and lower limits of the gas supply power of the gas well, and are the upper and lower limits of the square of the pipeline air pressure; Power subsystem inequality constraints: -T max ≤T t ≤T max (33) 0≤P Lc,t ≤P L,t (34) 0≤P wc,t ≤P w,t (35) in, and is the generator power P at time t g,t The maximum and minimum values of T max and -T max is the transmission capacity of the transmission line at time t t The upper and lower limits of Coupled device inequality constraints: in, and is the GPG power generation power P at time t gpg,t The upper and lower limits of and is the P2G natural gas production rate S at time t p2g,t upper and lower limits.
6. The reliability assessment method of the gas-electricity integrated energy system according to claim 1, It is characterized in that The risk indicators in step S05 include six aspects: generalized load reduction, electric load reduction, gas load reduction, wind power reduction, small gas leakage and severe gas leakage. Three types of risk indicators are defined for each aspect, which respectively represent the probability of failure, the severity of failure and the frequency of failure; The convergence stop criterion is the variance coefficient of EENS: β=std(EENS) / EENS (44) Where std(EENS) is the standard deviation of the indicator EENS, and EENS represents the expected generalized load shortage.
7. The reliability assessment method of the gas-electricity integrated energy system according to claim 4, It is characterized in that If the pipeline is in a leaking state, two independent random numbers are used to determine the location of the pipeline leak point and the size of the leak hole, including the following steps: S211: Sampling a uniformly distributed random number U between 0 and 1, the location of the natural gas leak is located at a distance of length L from the starting point ml Department: L ml =L mn And (11) L mn is the length of the pipeline; S212: Sampling a normal distribution random number d~N(μ,σ) as the leak hole diameter, the leak hole area A is determined by the following formula: Among them, the normal distribution parameters μ and σ vary with the type of leakage failure mode, and d is the leakage hole diameter.
8. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed, the reliability assessment method of the gas-electricity integrated energy system according to any one of claims 1 to 7 is implemented.
9. A reliability assessment system for a gas-electricity integrated energy system. It is characterized in that include: The four-state Markov model construction module of the natural gas pipeline builds the Markov state model of the multi-state transition process of the natural gas pipeline and obtains the relevant parameters of the gas-electricity integrated energy system; State transfer simulation module: within a given time interval, obtain the time-series transfer state process of the natural gas pipeline and the state time-series sequence of other components; The system combination module obtains the sequential system state transition process by combining the sequential sequences of all component states; The energy flow calculation and analysis module performs energy flow calculation and analysis on each system state of the gas-electricity integrated energy system within a given time interval, and determines whether to perform optimal energy flow analysis based on the energy flow calculation and analysis results; the energy flow equation of the energy flow calculation and analysis method is composed of all the following equation constraints: Gas grid subsystem equality constraints: S cgc,t -K gc ·S gc,t ·(R t ·α -1)=0 (16) Among them, S p,t is the energy flow vector at time t, that is, S p,t =[S 12 ,t,…,S mn ,t,…] T ; sgn is the sign operation, M g p is the gas node-pipeline association matrix, whose number of rows is equal to the number of gas nodes and the number of columns is equal to the number of pipelines. If the gas node is the starting point of the pipeline in the reference direction, the corresponding element in the matrix is 1; if the gas node is the end point of the pipeline, the corresponding element in the matrix is -1; otherwise, the corresponding element in the matrix is 0; t is the square vector of the air pressure at the gas node at time t; Z p is the natural gas pipeline impedance coefficient vector; the upper right corner. α means that each element in the vector is subjected to the α-th power operation; S p,u,t is the energy flow vector upstream of the pipeline at time t; S p,d,t is the energy flow vector downstream of the pipeline at time t; K p is the tube storage coefficient vector; S cgc,t is the energy consumption vector of the compressor station at time t, S gc,t is the energy flow vector through the compressor station at time t; R t is the compression ratio vector at time t; K gc and α are constant coefficient vectors; is the gas node-compressor station upstream association matrix, is the gas node-compressor station downstream association matrix, is the gas node-compressor station association matrix; is the working gas content vector of the gas storage at time t, is the gas content vector of the gas storage at time t, is the working gas content vector of the gas storage at time t-Δt, S st,dis,t is the gas storage deflation rate, and is the maximum storage / release rate of the gas storage at time t, K st,1 , K st,2 , and K st,3 is a constant coefficient vector; S gw,t is the gas supply power vector of the gas well at time t, S L,t is the gas load vector at time t, S Lc,t is the gas load reduction vector at time t, S gpg,t is the gas power consumption vector of the gas generator GPG at time t, S p2g,t is the gas supply power vector of the power-to-gas station P2G at time t, is the gas node-gas well association matrix, M st g is the gas node-gas storage association matrix, M g L is the gas node-gas load association matrix, is the gas node-pipeline upstream association matrix, M g p,d is the gas node-pipeline downstream association matrix, is the gas node-gas generator association matrix, is the gas node-electricity-to-gas station association matrix; If a pipeline is transformed into a leakage fault state after sampling, the corresponding airflow constraint equations (13)-(15) of the pipeline are transformed into the following equations (1)-(10): S ml,d,t -S ln,u,t -S Leak,t =0 (9) Among them, S ml,u,t ,S ml,d,t are the energy flow rates of the upstream and downstream of the pipe segment ml at time t, S ln,u,t ,S ln,d,t are the energy flow rates of the upstream and downstream of the ln section of the pipeline at time t; π m,t is the inlet pressure at time t, π n,t is the terminal outlet pressure at time t, π l,t is the air pressure at the leak point at time t; is the reference directional coefficient of the pipe segment ml, when π m,t Greater than π l,t Its value is 1 when it is, otherwise its value is -1; d l n The reference direction coefficient of the ln section of the pipeline, when π l,t Greater than π n,t Its value is 1 when Z is mn is the pipe impedance coefficient, Z ml is the impedance coefficient of the pipe segment ml, Z ln is the impedance coefficient of the ln section of the pipeline; L mn is the pipe length, L ml is the distance from the first end of the pipeline m to the leak point l; K mn is the pipeline storage factor, K ml is the pipe storage coefficient of the pipe segment ml, K ln is the pipe storage coefficient of the ln section of the pipeline; S Leak,t is the leakage power, A is the leakage area, M is the molar mass, R is the gas constant, T a is the operating temperature, k is the heat capacity ratio, V LH is the lower heating value of natural gas, ρ is the gas density; Power subsystem equality constraints: Among them, T t is the electric power vector on the line at time t, θ t is the phase angle vector at the electrical node at time t, X T is the transmission line impedance vector, P g,t is the generator power vector at time t, P L,t is the electric load vector at time t, P Lc,t is the load reduction vector at time t, P gpg,t is the power vector of the gas generator GPG at time t, P p2g,t is the power consumption vector of the P2G power-to-gas station at time t, P w,t is the wind turbine power vector at time t, P wc,t is the wind turbine power reduction vector at time t, M e TL is the electrical node-power transmission line association matrix, M e g is the electrical node-generator association matrix, M e L is the electrical node-electrical load association matrix, is the electric node-gas generator association matrix, is the electricity node-electricity-to-gas station association matrix, M e w is the electrical node-wind power station association matrix; Coupler equality constraints: P gpg,t -or gpg ·S gpg,t =0 (36) S p2g,t -or p2g ·P p2g,t =0 (37) Among them, η gpg is the efficiency coefficient vector, η p2g is the efficiency coefficient vector; The system probability risk assessment module obtains the risk index according to the system analysis results, and determines whether the convergence stop criterion meets the requirements. If not, the state transfer process is simulated; otherwise, the execution is stopped.
Citation Information
Patent Citations
Pipeline failure propagation impact assessment method and system for city natural gas pipeline system
CN107101087A
Pneumoelectric integrated energy distribution network robust optimization method considering network reconstruction and demand response
CN113659572A
Integrated energy system reliability evaluation method based on MCMC algorithm
CN114757500A
System energy efficiency controller in smart energy network, control method thereof, and control method for terminal device
US20140148964A1
