Method and device for determining target gas supply reliability of natural gas pipeline system

By establishing a gas supply reliability model and using genetic algorithms to solve it, the problem of determining the target gas supply reliability in the natural gas pipeline system is solved, effective assessment and enhancement measures for the gas supply reliability of the natural gas pipeline system are achieved, and the reliability of the pipeline system is improved. Air supply reliability.

CN118747480APending Publication Date: 2024-10-08CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410891407.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

It is difficult to effectively determine the target gas supply reliability of natural gas pipeline systems with existing technology, especially when considering hydrothermal characteristics, operating state uncertainty, economic and safety factors. Existing methods mainly focus on the design stage of structural units and are difficult to apply in natural gas pipeline systems.

Method used

By establishing a gas supply reliability model of the natural gas pipeline system, based on the state transition conditional probability at the next moment, the implementation time interval and repair coefficient of reliability improvement measures, and virtual operating time, combined with genetic algorithm solution, a gas supply reliability model is generated to Determine the gas supply reliability of the natural gas pipeline system.

Benefits of technology

It achieves the determination of the target gas supply reliability of the natural gas pipeline system within different specified times, provides a reference for the reliability assessment of the natural gas pipeline system, and proposes gas supply reliability enhancement measures from the unit and system levels to improve the gas supply of the pipeline system. reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747480A_ABST
    Figure CN118747480A_ABST
Patent Text Reader

Abstract

The invention provides a method and device for determining target gas supply reliability of a natural gas pipeline system. The corresponding method comprises the steps that a gas supply reliability model of the natural gas pipeline system is determined according to the conditional probability of state transition of the natural gas pipeline system at the next moment and the conditional probability of transition to a specific state at the next moment; determining reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; generating an objective function of a gas supply reliability model according to the benefits and investments of the natural gas pipeline caused by the improvement of the reliability parameters within a preset time; and solving the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system. According to the method, the target gas supply reliability of the natural gas pipeline system in different specified time in the operation stage can be determined, so that reference is provided for reliability evaluation of the natural gas pipeline system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil and gas field pipeline transportation, and in particular to a method and a device for determining target gas supply reliability of a natural gas pipeline system. Background Art

[0002] As a bridge between fossil energy and new energy, the demand for natural gas is growing rapidly. At the same time, the proportion of natural gas in the primary energy consumption structure is also increasing year by year. Therefore, improving the reliability of gas supply in the natural gas pipeline system is of great theoretical and engineering significance to ensure the gas demand of natural gas users.

[0003] Improving the gas supply reliability of the natural gas pipeline system needs to be done on the basis of determining the target gas supply reliability of the pipeline system. After determining the target reliability of the natural gas pipeline system, gas supply reliability enhancement measures can be proposed from both the unit and system levels based on the pipeline gas supply reliability evaluation results and target reliability. The unit level focuses on pipeline and equipment materials, defect and load control, and maintenance and repair time determination; the system level focuses on macro optimization during the planning period, design parameter determination and redundancy setting during the design and construction period, and dynamic adjustment of operating conditions during the operation and maintenance period.

[0004] In the existing technology, the research on gas supply reliability mainly focuses on gas supply reliability indicators and calculation methods, while there are few studies on the setting of target gas supply reliability. In addition, the research on target reliability is mainly concentrated in the field of structural reliability, and most of them are in the design stage. It is mainly based on two principles: one is to take safe operation as the goal and economy as the constraint; the other is the opposite, taking economy as the goal and safe operation as the constraint. The first corresponding method mainly includes the direct value method of the specification and the risk-based method, and the second corresponding method is mainly the economic optimization method.

[0005] The above methods are aimed at determining the target reliability of structural units, and most of them are in the design stage. However, when determining the target reliability of a natural gas pipeline system, it is necessary to consider the hydrothermal characteristics of the natural gas pipeline system, the uncertainty of the upstream, midstream and downstream operating conditions, and economic, safety, and supply guarantee factors. Therefore, the existing target reliability determination methods are difficult to use for determining the target reliability of a natural gas pipeline system. Summary of the invention

[0006] In view of the problems in the prior art, the present invention aims at the system characteristics of the natural gas pipeline and establishes a method for determining the target gas supply reliability of the natural gas pipeline system, providing technical support for the development of reliability theory and engineering applications.

[0007] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0008] In a first aspect, the present invention provides a method for determining a target gas supply reliability of a natural gas pipeline system, comprising:

[0009] Determine a gas supply reliability model of the natural gas pipeline system according to a conditional probability of a state transition of the natural gas pipeline system at the next moment and a conditional probability of the state transition to a specific state at the next moment;

[0010] Determine the reliability parameter of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0011] Generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0012] The gas supply reliability model is solved based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0013] In one embodiment, the components of the natural gas pipeline system include: a pipeline and a compressor; the reliability parameters include: reliability, failure probability and failure rate of the components;

[0014] The gas supply reliability determination method further includes:

[0015] The virtual operating time is determined according to the implementation time interval of the reliability improvement measures of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measures and the implementation time of the last reliability improvement measures.

[0016] In one embodiment, a method for determining gas supply reliability of a natural gas pipeline system further includes:

[0017] When all components in the natural gas pipeline system are in normal working condition, determining the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components;

[0018] When the specific state of a specific component is a failure state, the conditional probability of transferring to the specific state at the next moment is determined according to the maintenance rates of all specific components in the failure state and the failure rates of all other components.

[0019] In one embodiment, solving the gas supply reliability model based on a genetic algorithm includes:

[0020] Generating corresponding individual gene codes according to the reliability improvement method of the component;

[0021] generating a plurality of initial solutions of the gas supply reliability model according to individual gene codes;

[0022] Generate the fitness of the feasible solution individual of the gas supply reliability model according to the income and investment;

[0023] The gas supply reliability model is solved iteratively according to the fitness.

[0024] In one embodiment, solving the gas supply reliability model based on a genetic algorithm further includes:

[0025] When the reliability improvement method generated in the current iteration round is an infeasible method, the fitness of the reliability improvement method generated in the current iteration round is modified according to a preset penalty function, and the next round of iterative solution is performed.

[0026] In a second aspect, the present invention provides a device for determining target gas supply reliability of a natural gas pipeline system, comprising:

[0027] A gas supply reliability model generation module, used to determine the gas supply reliability model of the natural gas pipeline system according to the conditional probability of state transition of the natural gas pipeline system at the next moment and the conditional probability of transition to a specific state at the next moment;

[0028] A reliability parameter determination module, used to determine the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0029] An objective function generating module, used for generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0030] The gas supply reliability model solving module is used to solve the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0031] In one embodiment, the components of the natural gas pipeline system include: a pipeline and a compressor; the reliability parameters include: reliability, failure probability and failure rate of the components;

[0032] The gas supply reliability determination device further includes:

[0033] A virtual running time determination module is used to determine the virtual running time according to the implementation time interval of the reliability improvement measures of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measures and the implementation time of the previous reliability improvement measures.

[0034] In one embodiment, a gas supply reliability determination device for a natural gas pipeline system further includes:

[0035] The first conditional probability determination module is used to determine the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components when all components in the natural gas pipeline system are in normal working state;

[0036] The conditional probability determines the second module, which is used to determine the conditional probability of transferring to the specific state at the next moment according to the maintenance rate of all specific components in the failure state and the failure rate of all other components when the specific state of the specific component is a failure state.

[0037] In one embodiment, the gas supply reliability model solving module includes:

[0038] An individual gene code generating unit, used for generating a corresponding individual gene code according to the reliability improvement method of the component;

[0039] An initial solution generating unit, used for generating a plurality of initial solutions of the gas supply reliability model according to individual gene codes;

[0040] A fitness generating unit, used for generating the fitness of a feasible solution individual of the gas supply reliability model according to the income and investment;

[0041] The gas supply reliability model solving unit is used to iteratively solve the gas supply reliability model according to the fitness.

[0042] In one embodiment, the gas supply reliability model solving module further includes:

[0043] The fitness penalty unit is used to modify the fitness of the reliability improvement method generated in the current iteration round according to a preset penalty function when the reliability improvement method generated in the current iteration round is an infeasible method, and perform the next round of iterative solution.

[0044] In a third aspect, the present invention provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of a method for determining a target gas supply reliability of a natural gas pipeline system.

[0045] In a fourth aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of a method for determining a target gas supply reliability of a natural gas pipeline system are implemented.

[0046] In a fifth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for determining a target gas supply reliability of a natural gas pipeline system.

[0047] From the above description, it can be seen that the target gas supply reliability determination method and device of the natural gas pipeline system provided in the embodiment of the present invention, the corresponding method includes: first, determining the gas supply reliability model of the natural gas pipeline system according to the conditional probability of the natural gas pipeline system undergoing state transition at the next moment and the conditional probability of transitioning to a specific state at the next moment; then, determining the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; then, generating the objective function of the gas supply reliability model according to the income and investment of the natural gas pipeline caused by improving the reliability parameters within a preset time; finally, solving the gas supply reliability model based on the genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0048] In summary, the present invention can determine the target gas supply reliability within different specified times during the operation stage of the natural gas pipeline system, thereby providing a reference for the reliability assessment of the natural gas pipeline system; based on the system gas supply reliability evaluation results and the target gas supply reliability, measures to enhance the gas supply reliability of the pipeline system can be proposed from both the unit and system levels. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0050] Figure 1 Schematic diagram of the process of determining the target gas supply reliability of the natural gas pipeline system in an embodiment of the present invention Figure 1 ;

[0051] Figure 2 Schematic diagram of the process of determining the target gas supply reliability of the natural gas pipeline system in an embodiment of the present invention Figure 2 ;

[0052] Figure 3 It is a schematic diagram of improving unit reliability in a specific application example of the present invention;

[0053] Figure 4 Schematic diagram of the process of determining the target gas supply reliability of the natural gas pipeline system in an embodiment of the present invention Figure 3 ;

[0054] Figure 5 FIG. 4 is a flow chart of step 400 in an embodiment of the present invention. Figure 1 ;

[0055] Figure 6 It is a flow chart of a gas supply reliability model solving algorithm in an embodiment of the present invention;

[0056] Figure 7 A schematic diagram of individual gene coding in an embodiment of the present invention;

[0057] Figure 8 FIG. 4 is a flow chart of step 400 in an embodiment of the present invention. Figure 2 ;

[0058] Fig. 9 This is a flow chart of step 404 in an embodiment of the present invention;

[0059] Fig.10 A schematic diagram of individual gene mutations in an embodiment of the present invention;

[0060] Fig.11 It is a flow chart of a method for determining target gas supply reliability of a natural gas pipeline system in a specific application example of the present invention;

[0061] Fig.12 A flow chart for determining target gas supply reliability of a natural gas pipeline system in a specific application example of the present invention;

[0062] Fig.13 The structure frame of the target gas supply reliability determination device of the natural gas pipeline system in the embodiment of the present invention is Figure 1 ;

[0063] Fig.14 The structure frame of the target gas supply reliability determination device of the natural gas pipeline system in the embodiment of the present invention is Figure 2 ;

[0064] Fig.15 The structure frame of the target gas supply reliability determination device of the natural gas pipeline system in the embodiment of the present invention is Figure 3 ;

[0065] Fig.16 The structure frame of the gas supply reliability model solving module 40 in the embodiment of the present invention is Figure 1 ;

[0066] Fig.17 The structure frame of the gas supply reliability model solving module 40 in the embodiment of the present invention is Figure 2 ;

[0067] Fig.18 It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0069] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0070] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or apparatuses.

[0071] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0072] The embodiment of the present invention provides a specific implementation method of a method for determining target gas supply reliability of a natural gas pipeline system, see Figure 1 , the method specifically includes the following contents:

[0073] Step 100: determining a gas supply reliability model of the natural gas pipeline system according to a conditional probability of a state transition of the natural gas pipeline system at the next moment and a conditional probability of the natural gas pipeline system transitioning to a specific state at the next moment;

[0074] Step 200: Determine the reliability parameter of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0075] Step 300: generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0076] Step 400: Solving the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0077] From the above description, it can be seen that the method for determining the target gas supply reliability of the natural gas pipeline system provided in an embodiment of the present invention includes: first, determining the gas supply reliability model of the natural gas pipeline system according to the conditional probability of the natural gas pipeline system undergoing state transition at the next moment and the conditional probability of transitioning to a specific state at the next moment; then, determining the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; then, generating the objective function of the gas supply reliability model according to the income and investment of the natural gas pipeline caused by improving the reliability parameters within a preset time; finally, solving the gas supply reliability model based on the genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0078] In summary, the present invention can determine the target gas supply reliability within different specified times during the operation stage of the natural gas pipeline system, thereby providing a reference for the reliability assessment of the natural gas pipeline system; based on the system gas supply reliability evaluation results and the target gas supply reliability, measures to enhance the gas supply reliability of the pipeline system can be proposed from both the unit and system levels.

[0079] In one embodiment, for step 100, a sequential Monte Carlo method may be used to simulate the state transition of the natural gas pipeline system. Let k represent all possible operating states of the natural gas pipeline system. Assume that the current operating state of the natural gas pipeline is k=s m , then the conditional probability of the next transition of the system at time t is T(t, k = s n |t',k=s m ), transfer to state k = s n The conditional probability is C(k=s n |t,k=s m ). For example, when all components are currently in normal working condition, the conditional probability of transitioning to a specific state at time t is equal to the sum of the failure rates of all individual components, that is, the integral of the total transition rate over time. Then, when considering transitioning to a state where a specific component k fails at time t, the corresponding conditional probability is the product of the probability that all other components are reliable and the probability of component k failing. Therefore, the system transitions to state k = s at time t n The probability expression is:

[0080] K(t,k=s n |t′; k = sm )=T(t|t′,k=s m )·C(k=s n |t,k=s m ) (1)

[0081] Based on the above formula, it is assumed that the initial state of each unit in the pipeline system is normal, and then from the conditional probability density T(t,k=s n |t',k=s m ) to sample the next state transition time, t; then from the conditional probability C(k=s n |t,k=s m ) to obtain the next state, k = s n Repeat the above steps until the task time. According to the sampling results of the sequential Monte Carlo method, the operation status of the natural pipeline in the task, as well as the occurrence time and duration of each status, are obtained.

[0082] In one embodiment, for step 200, the objective function of the gas supply reliability model is to maximize the difference between the benefits brought by improving the reliability of the natural gas pipeline system unit and the system gas supply reliability and the required investment within a specified time, as shown below:

[0083] max ΔC=ΔC F -C R (2)

[0084] Where: ΔC is the difference between the benefits and the required investment brought by improving the reliability of natural gas pipeline system units and system gas supply reliability; C R Investment required to improve the reliability of natural gas pipeline system units and system gas supply reliability; ΔC F To improve the benefits of natural gas pipeline system unit reliability and system gas supply reliability.

[0085] In one embodiment, the implementation time interval of the reliability improvement measures in step 200 refers to the time difference between the implementation time of the current reliability improvement measures and the implementation time of the previous reliability improvement measures, and the reliability parameters include: the reliability, failure probability and failure rate of the components; it can be understood that the repair coefficients of adding wall sleeves to pipelines and minor repairs of compressor units, the repair coefficients of pipeline replacement measures and the repair coefficients of major repairs of compressor units increase in sequence.

[0086] In addition, the virtual operating time of the natural gas pipeline system here refers to the virtual operating time of the components of the natural gas pipeline system. Preferably, the present application refers to the virtual operating time of the pipeline and the virtual operating time of the compressor.

[0087] In one embodiment, the gas supply reliability model constructed in step 400 contains many nonlinear constraints, which makes it difficult to solve the optimization model. The heuristic genetic algorithm is a mature algorithm that can solve single-objective optimization problems under nonlinear constraints and has been successfully applied in the field of reliability optimization. Therefore, the present application provides a heuristic genetic algorithm method to solve the model.

[0088] Specifically, when implementing step 400, a series of feasible solutions can be randomly generated by setting the encoding form of feasible solutions, and the feasible solution group can be iteratively evolved while considering the adaptive evaluation of the feasible solutions as well as crossover and mutation, so as to gradually obtain the global optimal solution.

[0089] In one embodiment, the components of the natural gas pipeline system include: a pipeline and a compressor; the reliability parameters include: reliability, failure probability and failure rate of the components;

[0090] In one embodiment, see Figure 2 , a method for determining target gas supply reliability of a natural gas pipeline system, further comprising:

[0091] Step 500: Determine the virtual operating time according to the implementation time interval of the reliability improvement measure of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measure and the implementation time of the previous reliability improvement measure.

[0092] Specifically, the virtual age model proposed by Kijima is used to quantify the reliability improvement of natural gas pipeline system units due to reliability improvement measures. The virtual age model proposed by Kijima assumes that the unit has two attributes: actual operating age and virtual age, where the virtual age is a function of the actual operating age and reliability improvement measures.

[0093] Kijima proposed two types of virtual age models, namely Kijima Type I and Kijima Type II. This application adopts the Kijima Type II model. The Kijima Type II model assumes that after each reliability improvement measure is implemented on the unit, the accumulated reliability loss of the unit during the actual operating time can be repaired. The mathematical expression of the model is shown in formula (19).

[0094] v(t i )=(1-δ i )(v(t i-1 )+Δt i ) (3)

[0095] Where: v(t i )——t i Virtual age at the moment, years; ti ——Implementation time of the i-th reliability improvement measure, year; t i-1 ——Implementation time of the i-1th reliability improvement measure, year; Δt i ——The time interval between the i-1th reliability improvement measure and the i-th reliability improvement measure, year; δ i ——The repair coefficient of the i-th reliability improvement measure, the value range is [0,1]. The smaller the value, the smaller the degree of repair of reliability loss. i =0 means the repair is as good as the old one, and the unit reliability is not improved. i =1 means that the repair is as good as new, and the unit reliability is improved to the reliability of the unit's initial state. Preferably, the repair coefficient for adding wall sleeves to pipelines and minor repairs of compressor units is 0.6; the repair coefficient for pipeline replacement measures is 1, and the repair coefficient for major repairs of compressor units is 0.8.

[0096] Assuming that the reliability of a unit follows a two-parameter Weibull distribution and no reliability improvement measures have been implemented on the unit, the unit's reliability, failure probability, failure rate and other parameters can be calculated using the actual operating age t:

[0097]

[0098] Where α is the size parameter, β is the shape parameter, and t is the unit runtime, or age.

[0099] According to formulas (4) to (6), the reliability and failure rate of the unit change as follows Figure 3 As shown. According to the virtual age model, the virtual age of the unit in the initial state is zero, that is, v(t0) = t0 = 0. When the unit operation time is t, its reliability and failure rate are R(t) and λ(t) respectively. After the reliability improvement measures are implemented on the unit at time t, the Kijima Type II model is used. The virtual age of the unit after improvement can be calculated according to formula (3):

[0100] v(t)=(1-δ)(v(t0)+t) (7)

[0101] According to formula (7), v(t)≤t, so it can be seen that R(v(t))≥R(t), λ(v(t))≤λ(t), as shown in Figure 3 shown.

[0102] In one embodiment, see Figure 4 , a method for determining target gas supply reliability of a natural gas pipeline system, further comprising:

[0103] Step 600: when all components in the natural gas pipeline system are in normal working condition, determine the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components;

[0104] Step 700: When the specific state of a specific component is a failure state, determine the conditional probability of transferring to the specific state at the next moment according to the maintenance rates of all specific components in the failure state and the failure rates of all other components.

[0105] In step 600 and step 700, the failure rates of the gas pipeline unit and the compressor unit may be calculated based on their respective failure probability functions, and the failure probability function may be obtained from literature or based on coupling of historical failure data.

[0106] In one embodiment, see Figure 5 as well as Figure 6 , step 400 comprises:

[0107] Step 401: Generate a corresponding individual gene code according to the reliability improvement method of the component;

[0108] The decision variables of the gas supply reliability model are the reliability improvement strategies of the pipeline unit and the compressor unit. Figure 7 The GA encoding method shown in the figure determines the binary variable m p,i and m c,i The corresponding reliability improvement measures of each unit are determined by the value of , where i∈{1,2} is the reliability improvement measure of the pipeline or compressor unit, i=1 means that the compressor takes the measure of unit minor repair or the pipeline unit takes the measure of adding wall sleeve, and i=2 means that the compressor takes the measure of unit major repair or the pipeline takes the measure of pipe replacement.

[0109]

[0110] It is understandable that in engineering practice, multiple reliability improvement measures cannot be taken at the same time for the same unit, that is, only one of the measures of adding wall sleeves and replacing pipes can be selected for the pipeline unit, and only one of the unit minor repairs and unit major repairs can be selected for the compressor unit. Therefore, individual gene coding needs to be subject to the following constraints:

[0111]

[0112] Step 402: generating a plurality of initial solutions of the gas supply reliability model according to individual gene codes;

[0113] After a plurality of initial solutions are randomly generated according to the coding form in step 401, the reliability parameters of each unit, the system gas supply reliability, and the benefits and required investment of improving the reliability of the natural gas pipeline system units and the system gas supply reliability can be calculated.

[0114] Step 403: generating the fitness of the feasible solution individuals of the gas supply reliability model according to the income and investment;

[0115] Specifically, the difference between return and investment is defined as the fitness of the feasible solution individual.

[0116] Step 404: Iteratively solving the gas supply reliability model according to the fitness.

[0117] In one embodiment, see Figure 8 as well as Figure 6 , step 400 further includes:

[0118] Step 405: When the reliability improvement method generated in the current iteration round is an infeasible method, the fitness of the reliability improvement method generated in the current iteration round is modified according to a preset penalty function, and the next round of iterative solution is performed.

[0119] Specifically, for infeasible solutions that violate constraints (10) and (11), their individual fitness will be penalized, and the penalty function is as follows:

[0120] C′ w =γC w (12)

[0121] Among them, C′ w is the difference between the penalty-reward of the wth feasible solution and the required investment, γ is the penalty coefficient, and the recommended value is 2. Finally, the individual fitness can be obtained as:

[0122]

[0123] Then, based on the fitness, the probability of passing it to the next generation is further calculated. The calculation formula is as follows:

[0124]

[0125] For individual w, if its fitness w The larger the probability, the smaller the probability of the individual being selected. Therefore, the probability obtained using the traditional roulette wheel requires further transformation. Take the reciprocal and normalize the probability Pr w As the probability of selection. After selection, all solutions in the group are optimized towards the minimum cost under the constraints.

[0126] In one embodiment, see Fig. 9 , step 404 includes:

[0127] Step 4041: During the iterative solution process, the individual gene codes are genetically recombined according to preset regulations.

[0128] In the genetic algorithm (GA), crossover simulates natural sexual reproduction, and paired individuals recombine genes according to specific rules to produce offspring with new genetic composition, while considering gene mutation to produce new genes, such as Fig.10 These mechanisms are essential for generating diversity and ensuring that the genetic algorithm finds a global rather than a local optimal solution. Initially, a high mutation rate promotes genetic diversity, but as the algorithm evolves, maintaining this mutation rate may lead to deviations from the optimal solution. Therefore, after many iterations, the mutation rate is significantly reduced, similar to the decreasing probability of mutation in the simulated annealing algorithm, ensuring that the algorithm performance is not affected.

[0129] To further illustrate the present invention, the present invention also provides a specific application example of a method for determining a target gas supply reliability of a natural gas pipeline system, which specifically includes the following contents, see Fig.11 .

[0130] Terminology explanation:

[0131] Gas supply reliability: the ability of the natural gas pipeline system to complete the specified gas transmission task within the specified time and under the specified conditions.

[0132] Target gas supply reliability: the expected value of the natural gas pipeline system's ability to complete the specified gas transmission task within the specified time and under the specified conditions.

[0133] Step S1: Construct the objective function.

[0134] Specifically, the problem of determining the target gas supply reliability of the natural gas pipeline system is transformed into solving a gas supply reliability model with the maximum difference between benefits and investment as the optimization goal by using the operations research method. The optimal solution obtained by solving the model is the target gas supply reliability of the natural gas pipeline system. Furthermore, the objective function of the gas supply reliability model is to maximize the difference between the benefits brought by improving the unit reliability and system gas supply reliability of the natural gas pipeline system and the required investment within a specified time.

[0135] Based on formula (2), the objective function is the difference between the unit and system unreliability costs before and after taking reliability improvement measures, as shown below.

[0136]

[0137] is the unit and system unreliability cost before taking reliability improvement measures, It is the unit and system unreliability cost after taking reliability improvement measures.

[0138] The unit and system unreliability costs of the natural gas pipeline system include three parts: potential unit failure costs, potential system production loss costs, and potential system contract breach costs.

[0139] The unit potential failure cost is the loss of life, property and environment caused by the failure of pipelines or units in the natural gas pipeline system. The system potential production loss cost is the loss of production profit reduction caused by the unit or external uncertainties in the natural gas pipeline system. The system potential contract breach cost is the compensation loss caused by breach of the gas supply contract caused by the unit or external uncertainties in the natural gas pipeline system.

[0140] Therefore, the calculation formula of unit and system unreliability cost before and after taking reliability improvement measures is as follows:

[0141]

[0142]

[0143] in: — potential failure cost of the unit before taking reliability improvement measures; — the potential production loss cost of the system before taking reliability improvement measures; — potential contract default costs of the system before taking reliability improvement measures; ——The potential failure cost of the unit after taking reliability improvement measures; ——The potential production loss cost of the system after taking reliability improvement measures; ——The potential contract default cost of the system after taking reliability improvement measures;

[0144] Here, only pipelines and compressor units are considered. The investment calculation formula required to improve the reliability of natural gas pipeline system units and system gas supply reliability is as follows:

[0145]

[0146] in: ——The sum of the costs of reliability improvement measures taken by pipeline units; ——The sum of the costs of taking reliability improvement measures for the compressor units;

[0147] Step S2: Construct constraints.

[0148] In the constructed gas supply reliability model, model constraints related to cost and reliability need to be considered, as follows:

[0149] (1) Investment constraints required to improve the reliability of natural gas pipeline system units and system gas supply reliability.

[0150] According to pipeline engineering practice, the reliability improvement measures for pipelines include adding wall sleeves and replacing pipes, and the reliability improvement measures for compressor units include minor repairs and major repairs. Therefore, the cost of taking reliability improvement measures for pipeline units and the cost of taking reliability improvement measures for compressor units are shown in formulas (19) and (20).

[0151]

[0152] Where: I = 2; ——The cost of the compressor taking the i-th type of reliability improvement measures, i=1 is the cost of the compressor taking the unit minor repair measures, i=2 is the cost of the compressor taking the unit major repair measures; ——The cost of taking the i-th type of reliability improvement measures for the pipeline, i=1 is the cost of adding a wall sleeve to the pipeline, and i=2 is the cost of replacing the pipeline; n i ——The number of compressor units / pipeline units that adopt the i-th type of reliability improvement measures;

[0153] Unit potential failure cost constraint: The unit potential failure cost of the natural gas pipeline system is equal to the sum of the failure costs of all units in the system multiplied by the unit failure probability. Therefore, the unit potential failure cost is shown in formula (21).

[0154]

[0155] Where: C A - potential failure cost of a unit of the natural gas pipeline system; ——Loss costs caused by failure of natural gas pipelines; - the cost of damage caused by failure of the compressor unit; ——failure probability of the nth gas pipeline unit; ——failure probability of the nth compressor unit; N p ——Number of pipeline units in the natural gas pipeline system. N c ——Number of compressor units in the natural gas pipeline system.

[0156] Among them, the failure probability of the natural gas pipeline unit and the compressor unit can be calculated according to their respective failure probability functions, and the failure probability function can be obtained from the literature or based on the coupling of historical failure data. The loss cost of the failure of the natural gas pipeline unit and the compressor can be obtained based on the statistics of historical failure data.

[0157] System potential production loss cost constraint: System potential production loss cost is the loss of production profit reduction caused by unit or external uncertainties in the natural gas pipeline system. The system potential production loss cost calculation formula (22) is as follows.

[0158]

[0159] Where: C L ——potential production loss cost of natural gas pipeline system; R k ——Gas supply reliability of the kth user of the natural gas pipeline system; Q k ——The gas volume delivered to the kth user of the natural gas pipeline system, m 3 / day; T missi on——the specified mission time in the gas supply reliability calculation, day; C price ——Unit price of pipeline transportation fee, RMB / km / m 3 ; L k ——The length of the pipeline from the natural gas source to the kth user, km;

[0160] System potential contract breach cost: System potential contract breach cost is the compensation loss caused by gas supply contract breach due to unit or external uncertainties in the natural gas pipeline system. The calculation formula of system potential contract breach cost is shown in formula (23).

[0161]

[0162] Where: C B ——Potential contract breach costs of natural gas pipeline system, RMB 10,000; C replace ——Energy cost of replacing natural gas per unit, RMB / m 3 ;

[0163] The calculation methods of unit reliability parameters such as failure probability and system gas supply reliability in equations (21) and (23) are as follows.

[0164] (1) Reliability assessment model of natural gas pipeline unit.

[0165] It is understandable that the reliability of the natural gas pipeline and the compressor unit is time-dependent, and thus can be calculated based on their respective reliability functions, which can be obtained from the literature or based on coupling of historical failure data.

[0166] (2) Evaluation of gas supply reliability of natural gas pipeline system.

[0167] After taking reliability improvement measures for the natural gas pipeline system, the Kijima Type II model can be used to quantify the improvement in the reliability of each unit caused by the reliability improvement measures. The improved unit reliability can then be used as input to evaluate the improvement in the gas supply reliability of the natural gas pipeline system.

[0168] Step S3: Establishing a gas supply reliability index.

[0169] First, the reliability of the natural gas pipeline system is defined as the ability of the system to complete the specified gas transmission task under specified time and conditions. Based on the definition of natural gas pipeline supply reliability, this application establishes the natural gas pipeline system supply reliability index from the gas volume dimension as shown in formulas (24) and (25):

[0170] System gas supply reliability:

[0171]

[0172] Gas supply reliability for the kth user of the system:

[0173]

[0174] Where: R system ——Gas supply reliability; R k ——Gas supply reliability of the kth user of the natural gas pipeline system; X t,k ——The system gas supply volume for the kth user on the tth day, ten thousand cubic meters; T missi on——the specified mission time in the gas supply reliability calculation, day; D t,k ——is the natural gas demand of the kth user on the ith day, ten thousand cubic meters; K——is the number of demanding users.

[0175] Secondly, the calculation method of unit reliability has been explained above, and the failure probability and failure rate of pipelines and compressor units can be obtained. It should be noted that if reliability improvement measures are implemented, the failure rate of the unit will change.

[0176] Step S4: constructing a gas supply reliability model and calculating a gas supply reliability index to evaluate the gas supply reliability.

[0177] For details, please refer to the relevant content of formula (1). In addition, the state of the natural gas pipeline system directly affects the amount of gas that downstream users can obtain. When the system state changes, the gas supply of the system will also change accordingly. After obtaining the operating state of the natural gas pipeline at different time periods during the mission time based on sequential Monte Carlo simulation, the changes in the gas supply flow when the system transfers to each state are analyzed to obtain the actual gas supply of each user during the mission time. Then, according to formula (26), the system gas supply reliability index can be calculated. Based on N times (N is a large number) Monte Carlo simulation, the gas supply reliability of the natural gas pipeline is evaluated (see Fig.12 ).

[0178]

[0179] In the formula, R system is the expected value of gas supply reliability; R system (j) is the gas supply reliability of the jth simulation.

[0180] Based on the same inventive concept, the embodiments of the present application also provide a device for determining the target gas supply reliability of a natural gas pipeline system, which can be used to implement the methods described in the above embodiments, such as the following embodiments. Since the principle of solving the problem by the device for determining the target gas supply reliability of a natural gas pipeline system is similar to that of the method for determining the target gas supply reliability of a natural gas pipeline system, the implementation of the device for determining the target gas supply reliability of a natural gas pipeline system can refer to the implementation of the method for determining the target gas supply reliability of a natural gas pipeline system, and the repeated parts will not be repeated. As used below, the terms "unit" or "module" can be a combination of software and / or hardware that implements predetermined functions. Although the system described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and conceivable.

[0181] The embodiment of the present invention provides a specific implementation of a target gas supply reliability determination device for a natural gas pipeline system that can implement a target gas supply reliability determination method for a natural gas pipeline system, see Fig.13 , a device for determining target gas supply reliability of a natural gas pipeline system specifically includes the following contents:

[0182] A gas supply reliability model generation module 10 is used to determine the gas supply reliability model of the natural gas pipeline system according to the conditional probability of the natural gas pipeline system transitioning to a state at the next moment and the conditional probability of the natural gas pipeline system transitioning to a specific state at the next moment;

[0183] A reliability parameter determination module 20, for determining the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0184] An objective function generating module 30, for generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0185] The gas supply reliability model solving module 40 is used to solve the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0186] In one embodiment, the components of the natural gas pipeline system include: a pipeline and a compressor; the reliability parameters include: reliability, failure probability and failure rate of the components;

[0187] See also Fig.14 , the gas supply reliability determination device further includes:

[0188] The virtual running time determination module 50 is used to determine the virtual running time according to the implementation time interval of the reliability improvement measures of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measures and the implementation time of the last reliability improvement measures.

[0189] In one embodiment, see Fig.15 , a gas supply reliability determination device for a natural gas pipeline system, further comprising:

[0190] The first conditional probability determination module 60 is used to determine the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components when all components in the natural gas pipeline system are in normal working state;

[0191] The conditional probability determination second module 70 is used to determine the conditional probability of transferring to the specific state at the next moment according to the maintenance rate of all specific components in the failure state and the failure rate of all other components when the specific state of the specific component is a failure state.

[0192] In one embodiment, see Fig.16 , the gas supply reliability model solving module 40 includes:

[0193] An individual gene code generating unit 40a, configured to generate a corresponding individual gene code according to the reliability improvement method of the component;

[0194] An initial solution generating unit 40b, used to generate a plurality of initial solutions of the gas supply reliability model according to individual gene codes;

[0195] A fitness generating unit 40c, configured to generate the fitness of a feasible solution individual of the gas supply reliability model according to the income and investment;

[0196] The air supply reliability model solving unit 40d is used to iteratively solve the air supply reliability model according to the fitness.

[0197] In one embodiment, see Fig.17 The gas supply reliability model solving module 40 further includes:

[0198] The fitness penalty unit 40e is used to modify the fitness of the reliability improvement method generated in the current iteration round according to a preset penalty function when the reliability improvement method generated in the current iteration round is an infeasible method, and perform the next round of iterative solution.

[0199] As can be seen from the above description, the target gas supply reliability determination device of the natural gas pipeline system provided by the embodiment of the present invention includes: a gas supply reliability model generation module, which is used to determine the gas supply reliability model of the natural gas pipeline system according to the conditional probability of the natural gas pipeline system undergoing state transition at the next moment and the conditional probability of transitioning to a specific state at the next moment; a reliability parameter determination module, which is used to determine the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; an objective function generation module, which is used to generate the objective function of the gas supply reliability model according to the income and investment of the natural gas pipeline caused by improving the reliability parameters within a preset time; a gas supply reliability model solving module, which is used to solve the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0200] In summary, the present invention can determine the target gas supply reliability within different specified times during the operation stage of the natural gas pipeline system, thereby providing a reference for the reliability assessment of the natural gas pipeline system; based on the system gas supply reliability evaluation results and the target gas supply reliability, measures to enhance the gas supply reliability of the pipeline system can be proposed from both the unit and system levels.

[0201] The devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is an electronic device, and the electronic device may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0202] In a typical example, the electronic device specifically includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of the method for determining the target gas supply reliability of the natural gas pipeline system described above are implemented. The steps include:

[0203] Step 100: determining a gas supply reliability model of the natural gas pipeline system according to a conditional probability of a state transition of the natural gas pipeline system at the next moment and a conditional probability of the natural gas pipeline system transitioning to a specific state at the next moment;

[0204] Step 200: Determine the reliability parameter of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0205] Step 300: generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0206] Step 400: Solving the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0207] Reference below Fig.18 , which shows a schematic structural diagram of an electronic device 600 suitable for implementing an embodiment of the present application.

[0208] like Fig.18 As shown, electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage portion 608 into a random access memory (RAM) 603. In RAM 603, various programs and data required for the operation of system 600 are also stored. CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.

[0209] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed as needed as the storage section 608.

[0210] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method for determining the target gas supply reliability of the natural gas pipeline system described above are implemented, and the steps include:

[0211] Step 100: determining a gas supply reliability model of the natural gas pipeline system according to a conditional probability of a state transition of the natural gas pipeline system at the next moment and a conditional probability of the natural gas pipeline system transitioning to a specific state at the next moment;

[0212] Step 200: Determine the reliability parameter of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system;

[0213] Step 300: generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time;

[0214] Step 400: Solving the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

[0215] In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 609 , and / or installed from the removable medium 611 .

[0216] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0217] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0218] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0219] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0220] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0221] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, commodity or device including the element.

[0222] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0223] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0224] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for determining target gas supply reliability of a natural gas pipeline system, characterized in that: include: Determine a gas supply reliability model of the natural gas pipeline system according to a conditional probability of a state transition of the natural gas pipeline system at the next moment and a conditional probability of the state transition to a specific state at the next moment; Determine the reliability parameter of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; Generating an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time; The gas supply reliability model is solved based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

2. The method for determining target gas supply reliability according to claim 1, characterized in that: The components of the natural gas pipeline system include: pipelines and compressors; the reliability parameters include: reliability, failure probability and failure rate of the components; The gas supply reliability determination method further includes: The virtual operating time is determined according to the implementation time interval of the reliability improvement measures of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measures and the implementation time of the last reliability improvement measures.

3. The method for determining target gas supply reliability according to claim 2, characterized in that: Also includes: When all components in the natural gas pipeline system are in normal working condition, determining the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components; When the specific state of a specific component is a failure state, the conditional probability of transferring to the specific state at the next moment is determined according to the maintenance rates of all specific components in the failure state and the failure rates of all other components.

4. The method for determining target gas supply reliability according to claim 3, characterized in that: The method of solving the gas supply reliability model based on a genetic algorithm includes: Generating corresponding individual gene codes according to the reliability improvement method of the component; generating a plurality of initial solutions of the gas supply reliability model according to individual gene codes; Generate the fitness of the feasible solution individual of the gas supply reliability model according to the income and investment; The gas supply reliability model is solved iteratively according to the fitness.

5. The method for determining target gas supply reliability according to claim 4, characterized in that: The method of solving the gas supply reliability model based on a genetic algorithm further includes: When the reliability improvement method generated in the current iteration round is an infeasible method, the fitness of the reliability improvement method generated in the current iteration round is modified according to a preset penalty function, and the next round of iterative solution is performed.

6. A device for determining target gas supply reliability of a natural gas pipeline system, characterized in that: include: A gas supply reliability model generation module, used to determine the gas supply reliability model of the natural gas pipeline system according to the conditional probability of state transition of the natural gas pipeline system at the next moment and the conditional probability of transition to a specific state at the next moment; A reliability parameter determination module, used to determine the reliability parameters of the natural gas pipeline system according to the implementation time interval of the reliability improvement measures of the natural gas pipeline system, the repair coefficient and the virtual operation time of the natural gas pipeline system; An objective function generating module, used to generate an objective function of the gas supply reliability model according to the revenue and investment of the natural gas pipeline caused by improving the reliability parameter within a preset time; The gas supply reliability model solving module is used to solve the gas supply reliability model based on a genetic algorithm to determine the gas supply reliability of the natural gas pipeline system.

7. The target gas supply reliability determination device according to claim 6, characterized in that: The components of the natural gas pipeline system include: pipelines and compressors; the reliability parameters include: reliability, failure probability and failure rate of the components; The gas supply reliability determination device further includes: A virtual running time determination module is used to determine the virtual running time according to the implementation time interval of the reliability improvement measures of the component and the repair coefficient; wherein the implementation time interval is the time difference between the implementation time of the current reliability improvement measures and the implementation time of the previous reliability improvement measures.

8. The target gas supply reliability determination device according to claim 7, characterized in that: Also includes: The first conditional probability determination module is used to determine the conditional probability of transferring to the specific state at the next moment according to the failure rate of all components when all components in the natural gas pipeline system are in normal working state; The conditional probability determines the second module, which is used to determine the conditional probability of transferring to the specific state at the next moment according to the maintenance rate of all specific components in the failure state and the failure rate of all other components when the specific state of the specific component is a failure state.

9. The target gas supply reliability determination device according to claim 8, characterized in that: The gas supply reliability model solving module includes: An individual gene code generating unit, used to generate a corresponding individual gene code according to the reliability improvement method of the component; An initial solution generating unit, used for generating a plurality of initial solutions of the gas supply reliability model according to individual gene codes; A fitness generating unit, used for generating the fitness of a feasible solution individual of the gas supply reliability model according to the income and investment; The gas supply reliability model solving unit is used to iteratively solve the gas supply reliability model according to the fitness.

10. The target gas supply reliability determination device according to claim 9, characterized in that: The gas supply reliability model solving module also includes: The fitness penalty unit is used to modify the fitness of the reliability improvement method generated in the current iteration round according to a preset penalty function when the reliability improvement method generated in the current iteration round is an infeasible method, and perform the next round of iterative solution.

11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the method for determining the target gas supply reliability of a natural gas pipeline system according to any one of claims 1 to 5 are implemented.

12. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for determining the target gas supply reliability of the natural gas pipeline system according to any one of claims 1 to 5 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for determining the target gas supply reliability of the natural gas pipeline system according to any one of claims 1 to 5 are implemented.