CN116205013A - Natural gas diffusion amount and diffusion time calculation method and device - Google Patents
Natural gas diffusion amount and diffusion time calculation method and device Download PDFInfo
- Publication number
- CN116205013A CN116205013A CN202211655891.5A CN202211655891A CN116205013A CN 116205013 A CN116205013 A CN 116205013A CN 202211655891 A CN202211655891 A CN 202211655891A CN 116205013 A CN116205013 A CN 116205013A
- Authority
- CN
- China
- Prior art keywords
- gas
- natural gas
- state
- pipeline
- calculating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 title claims abstract description 272
- 239000003345 natural gas Substances 0.000 title claims abstract description 136
- 238000004364 calculation method Methods 0.000 title claims abstract description 101
- 238000009792 diffusion process Methods 0.000 title claims description 28
- 239000007789 gas Substances 0.000 claims abstract description 144
- 239000006185 dispersion Substances 0.000 claims abstract description 43
- 238000000034 method Methods 0.000 claims abstract description 43
- 230000000740 bleeding effect Effects 0.000 claims abstract description 23
- 238000004134 energy conservation Methods 0.000 claims abstract description 7
- 230000006835 compression Effects 0.000 claims description 20
- 238000007906 compression Methods 0.000 claims description 20
- 239000003570 air Substances 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 2
- 239000012080 ambient air Substances 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000005094 computer simulation Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000005496 tempering Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
- 238000013022 venting Methods 0.000 description 1
- 230000003313 weakening effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/28—Design optimisation, verification or simulation using fluid dynamics, e.g. using Navier-Stokes equations or computational fluid dynamics [CFD]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/08—Fluids
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/14—Force analysis or force optimisation, e.g. static or dynamic forces
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Computational Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Algebra (AREA)
- Computing Systems (AREA)
- Fluid Mechanics (AREA)
- Mathematical Physics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a natural gas dispersion amount and a natural gas dispersion time calculation method and a natural gas dispersion time calculation device. The method comprises the following steps: establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state; calculating natural gas release quantity according to the model; dividing the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establishing a diffusing time calculation model in the critical state and the subcritical state based on an energy conservation law and a gas equation; and calculating the diffusing time under the critical state and the subcritical state respectively by utilizing the model, and summing to obtain the natural gas diffusing time. According to the invention, the natural gas emission calculation model is established by adopting the actual gas state equation, so that the method can be more in line with the actual environment, and the calculation result is more accurate; the invention divides the gas flow of the whole natural gas pipeline into a critical state and a subcritical state, simplifies the complex bleeding time calculation process, and simultaneously ensures that the accuracy of the calculation result can meet the engineering requirements.
Description
Technical Field
The invention belongs to the technical field of natural gas emission amount calculation, and particularly relates to a natural gas emission amount and emission time calculation method and device.
Background
The world's natural gas industry has rapidly evolved since the 21 st century, and the natural gas industry has become increasingly full of life, and natural gas pipelines have also been unprecedented. The pipeline transportation which is one of the large transportation methods of railways, highways, aviation, water transportation and pipelines 5 is an important component of the current natural gas transportation system, bears 98% of natural gas transportation tasks in China, and is characterized in that a natural gas transportation pipeline is connected with an upstream gas source and a downstream user like a life line, the happiness life of the national economy and people is related at any time, and the importance of the development of the natural gas industry and the flight of the national economy is self-evident.
In 1996, the overpressure sealing tank of the petrochemical complete petrochemical flare pipe network is blocked in 06 months, so that the discharged flare gas cannot be discharged in time, and the pressure in the tank exceeds the design pressure. Normal operation of the piping system is severely impaired. Tempering failure of 8-month Romen Hasi factory emptying system in 2000 causes explosion hot air to blow into a torch system, so that the temperature in the torch system rises to 300 ℃ instantaneously, negative pressure in the system is caused, and mixed gas burns vigorously. The water seal of the emptying system is destroyed, so that few people suffer from casualties. Venting system design and operation may result in different types of incidents that create serious safety concerns. Therefore, the relationship among the flow state, the pipeline pressure drop and the relief quantity of the safety relief device in the natural gas pipeline emptying process is studied in depth, and the method has important practical significance for judging whether the design of the emptying torch system is reasonable. Meanwhile, the field emptying data only has emptying time, and no specific emptying flow process and all flow parameter changes of the emptying process exist; in addition, the current site emptying is only to continuously adjust the opening of the valve, and no fixed emptying operation step exists. Therefore, a natural gas pipeline diffusing model is constructed, the natural gas diffusing rule is mastered, the operation accident rate of the natural gas pipeline can be reduced, the loss caused by natural gas leakage is reduced, and the safety operation capability of the natural gas pipeline is improved.
Because the natural gas emission amount is relatively complex, the existing natural gas emission amount calculation method generally adopts an estimation method in engineering, and the calculation is simple, but the accuracy of the result calculated by the common quality level estimation method is not high. When the error is large, the influence on the construction time and the follow-up progress of the engineering is large, and particularly when natural gas leakage occurs, the accuracy of the calculation result is important for weakening, blocking and eliminating risks. The existing natural gas diffusion time calculation model is generally based on a continuity equation, a momentum equation and an energy equation, a nonlinear partial differential equation set is established, and then solution is carried out through a drawing method, an analysis method, a numerical method and the like, so that the complexity of the whole calculation process is high, the accuracy is high, and the method is only suitable for theoretical simulation research and is difficult to meet actual engineering requirements.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a natural gas dispersion amount and dispersion time calculation method and device.
In order to achieve the above object, the present invention adopts the following technical scheme.
In a first aspect, the present invention provides a method for calculating natural gas dispersion and dispersion time, comprising the steps of:
establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state;
calculating natural gas dispersion according to the natural gas dispersion calculation model;
dividing the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establishing a diffusing time calculation model in the critical state and the subcritical state based on an energy conservation law and a gas equation;
and calculating the diffusing time under the critical state and the subcritical state respectively by utilizing the model, and summing to obtain the natural gas diffusing time.
Further, the building of the natural gas emission calculation model based on the actual gas state equation under the standard state includes:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
further, the calculating the natural gas emission amount according to the natural gas emission amount calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x Is the gas pressure at x from the start of the pipe;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
Further, the method for establishing the bleeding time calculation model comprises the following steps:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
according to the ambient pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Dividing the whole gas flow process in the pipeline into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
Still further, α=0.55.
In a second aspect, the present invention provides a natural gas dispersion amount and dispersion time calculation device, including:
the first modeling module is used for establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state;
the first calculation module is used for calculating natural gas emission according to the natural gas emission calculation model;
the second modeling module is used for dividing the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establishing a diffusing time calculation model in the critical state and the subcritical state based on an energy conservation law and a gas equation;
and the second calculation module is used for calculating and summing the diffusing time under the critical state and the subcritical state respectively by utilizing the model to obtain the natural gas diffusing time.
Further, the building of the natural gas emission calculation model based on the actual gas state equation under the standard state includes:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
further, the calculating the natural gas emission amount according to the natural gas emission amount calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x Is the gas pressure at x from the start of the pipe;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
Further, the method for establishing the bleeding time calculation model comprises the following steps:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
according to the ambient pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Is of a size to complete the pipeThe gas flow process is divided into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
Still further, α=0.55.
Compared with the prior art, the invention has the following beneficial effects.
(1) Because the gas state equation ignores the size of gas molecules and the interaction force between molecules in the ideal state, the gas state equation does not accord with the actual engineering condition. According to the invention, the natural gas emission calculation model is established by adopting the actual gas state equation, so that the method can be more in line with the actual environment, and the calculation result is more accurate;
(2) Because the pressure in the pipeline continuously decreases along with the diffusing time in the natural gas diffusing process, and the law is complex, the gas property of the natural gas continuously changes along with the time, and the diffusing time is difficult to accurately calculate. The invention divides the gas flow of the whole natural gas pipeline into a critical state and a subcritical state, does not consider the friction force of the diffusing pipe, simplifies the complex diffusing time calculation process, and can meet the engineering requirement in terms of the accuracy of the calculation result.
Drawings
Fig. 1 is a flowchart of a natural gas dispersion amount and dispersion time calculation method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of natural gas pipeline bleed amount and bleed time calculation.
Fig. 3 is a schematic diagram of natural gas pipeline average pressure calculation.
Fig. 4 is a block diagram of a natural gas dispersion and dispersion time calculation device according to an embodiment of the present invention.
Detailed Description
The present invention will be further described with reference to the drawings and the detailed description below, in order to make the objects, technical solutions and advantages of the present invention more apparent. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a natural gas dispersion amount and dispersion time calculation method according to an embodiment of the present invention, including the following steps:
102, calculating natural gas emission according to the natural gas emission calculation model;
and 104, calculating and summing the diffusion time under the critical state and the subcritical state respectively by utilizing the model to obtain the natural gas diffusion time.
In this embodiment, step 101 is mainly used for building a natural gas emission calculation model. According to the natural gas emission calculation method, the natural gas emission calculation model is built based on the actual gas state equation under the standard state, the natural gas emission can be obtained conveniently and accurately, and meanwhile the actual engineering requirements are met. The following examples will give a specific computational model.
In this embodiment, step 102 is mainly used to calculate the natural gas emission. The natural gas emission amount can be obtained by substituting the related constants, pipeline parameters and measured variable values contained in the model into the model by using the built emission amount calculation model. The relevant constants comprise air pressure, temperature, compression factor and the like in a standard state, the pipeline parameters comprise pipeline diameter, length and the like, and the measured variable values comprise air pressure, temperature and the like at the starting point and the end point of the pipeline.
In this embodiment, step 103 is mainly used for establishing a bleeding time calculation model. In order to simplify the calculation, the embodiment divides the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and establishes a diffusing time calculation model of the critical state and a diffusing time calculation model of the subcritical state based on an energy conservation law and a gas equation respectively. And summing the two models to obtain a total release time calculation model.
In this embodiment, step 104 is mainly used to calculate the natural gas diffusion time. In the embodiment, the built bleeding time calculation model is utilized, the related parameter variable values contained in the model are substituted into the model, the bleeding time in the critical state and the bleeding time in the subcritical state are calculated respectively, and the total bleeding time of the natural gas is obtained after summation.
As an alternative embodiment, the building a natural gas emission amount calculation model based on the actual gas state equation under the standard state includes:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
the embodiment provides a technical scheme for establishing a natural gas emission calculation model. The actual gas state equation under the standard state is listed first, as in equation (1). (1) The left side corresponds to the gas state to be diffused, the embodiment is set to be in a standard state, (1) the right side corresponds to the gas state in the pipeline, and the average absolute pressure p is required because the gas state in the pipeline is diffused in actual conditions and the pressure difference and the temperature difference between the starting point and the end point are large ap And an average temperature T at As shown in fig. 2. Then, the dispersion V is obtained from the formula (1) 1 The expression of (3) is obtained.
As an alternative embodiment, the calculating the natural gas emission according to the natural gas emission calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x Is the gas pressure at x from the start of the pipe;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
The embodiment provides a technical scheme for calculating the natural gas emission according to the natural gas emission calculation model. A dispersion amount calculation model is shown as formula (3), wherein p ap 、T at 、Z 1 For unknown quantity, the unknown quantity is substituted into the formula (3) after being solved one by one.
When the gas pipeline stops conveying, a pressure balance phenomenon can occur, and the pressure in the gas pipeline does not disappear immediately like the pressure in the gas pipeline, but is still in a pressure state, and the gas at the high pressure end gradually flows to the low pressure end. Thus, the starting point pressure p 1 Gradually descend; the low pressure end is provided with high pressure gas inflow, and the end pressure p 2 Gradually rising, and finally, the pressure at the two ends reaches a certain average value, namely the average pressure, and the average pressure calculation model of the natural gas pipeline is shown in fig. 3. Average pressure p of pipeline ap Can pass throughThe pressure drop function is integrated according to the total length of the pipeline, as shown in the formula (4). Further, the average air temperature T is obtained at Formula (5).
Compression factor Z in practical environment 1 The embodiment adopts a formula of the American California Natural Gas Association (CNGA), is suitable for natural gas with the relative density of 0.55-0.70, the gas pressure of 0-6.89MPa and the gas temperature of 272.2-333.3K, and accords with the actual condition of a gas pipeline in China. Specifically as shown in formula (6).
As an alternative embodiment, the method for establishing the bleeding time calculation model includes:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
according to the ambient pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Dividing the whole gas flow process in the pipeline into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
The embodiment provides a technical scheme for establishing a bleeding time calculation model. Firstly, listing differential equations shown in the formula (7) according to the law of conservation of mass; then according to the ambient air pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Whether the critical pressure ratio alpha is exceeded or not, dividing the whole gas flow process in the pipeline into a critical state and a subcritical state, and respectively calculating the mass flow v under the critical state and the subcritical state m1 、v m2 Formula (9), (10); further calculating the release time t in critical state and subcritical state 1 、t 2 As shown in formulas (12) and (13). (13) The integral calculation of the formula is complex, and the calculation and the solution can be carried out in a python programming mode, so that the subcritical state natural gas diffusion time t is obtained 2 The method comprises the steps of carrying out a first treatment on the surface of the Final summation t=t 1 +t 2 And obtaining a total bleeding time calculation model.
As an alternative embodiment, α=0.55.
This embodiment gives a specific value of the critical pressure ratio α. The critical pressure ratio is a function of the adiabatic index K, as in equation (11). The adiabatic index K is a function of temperature, and K can be approximated as a constant value at normal temperature, and generally K is 1.3 for a gas such as natural gas composed of polyatomic molecules. Substituting k=1.3 into the formula (11) yields α=0.55.
The following gives 2 examples of the calculation of the amount of dispersion and the time of dispersion using the embodiment of the present invention.
Example 1
The pipeline and the gas parameters are as follows:
the length of the pipeline is L=30 km, the inner diameter of the pipeline is D=0.411 m, the inner diameter of the diffusing pipe is d=0.098 m, the opening degree of the diffusing pipe is mu=1, the average pressure of the initial diffusing pipe is 4MPa, the average pressure of the end diffusing pipe is 0MPa, and the average gas temperature is 200C.
The calculation result is as follows:
actual dispersion amount: 169563m 3 Calculating the dispersion amount: 172000m 3 ;
Actual release time 137 minutes: calculating the bleeding time: 140 minutes.
Example 2
The pipeline and the gas parameters are as follows:
the length of the pipeline is L=10 km, the inner diameter of the pipeline is D=0.4 m, the inner diameter of the diffusing pipe is d=0.1 m, the opening degree of the diffusing pipe is mu=0.8, the average pressure of the initial pipe of the diffusing pipe is 2.5MPa, the average pressure of the end pipe of the diffusing pipe is 0MPa, and the average gas temperature is 200C.
The calculation result is as follows:
actual dispersion amount: 32421m 3 Calculating the dispersion amount: 32769m 3 ;
The actual release time is 48 minutes: calculating the bleeding time: 49 minutes.
The results of 2 calculation examples show that the calculation results are very close to the actual data.
Fig. 4 is a schematic diagram of a natural gas emission and emission time calculation device according to an embodiment of the present invention, where the device includes:
the first modeling module 11 is used for establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state;
a first calculation module 12 for calculating a natural gas emission amount according to the natural gas emission amount calculation model;
the second modeling module 13 is configured to divide the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establish a diffusing time calculation model in the critical state and the subcritical state based on the law of conservation of energy and a gas equation;
the second calculation module 14 calculates and sums the natural gas blow-off times in the critical state and the subcritical state, respectively, by using the model.
The device of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and its implementation principle and technical effects are similar, and are not described here again. As well as the latter embodiments, will not be explained again.
As an alternative embodiment, the building a natural gas emission amount calculation model based on the actual gas state equation under the standard state includes:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
as an alternative embodiment, the calculating the natural gas emission according to the natural gas emission calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x Is the gas pressure at x from the start of the pipe;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
As an alternative embodiment, the method for establishing the bleeding time calculation model includes:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
depending on the circumstancesAir pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Dividing the whole gas flow process in the pipeline into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
As an alternative embodiment, α=0.55.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present invention should be included in the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (10)
1. The natural gas dispersion amount and dispersion time calculation method is characterized by comprising the following steps of:
establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state;
calculating natural gas dispersion according to the natural gas dispersion calculation model;
dividing the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establishing a diffusing time calculation model in the critical state and the subcritical state based on an energy conservation law and a gas equation;
and calculating the diffusing time under the critical state and the subcritical state respectively by utilizing the model, and summing to obtain the natural gas diffusing time.
2. The method for calculating the natural gas diffusion amount and the diffusion time according to claim 1, wherein the building of the natural gas diffusion amount calculation model based on the actual gas state equation under the standard state comprises:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
3. the natural gas dispersion and dispersion time calculation method according to claim 2, wherein the calculating the natural gas dispersion according to the natural gas dispersion calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x Is the gas pressure at x from the start of the pipe;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
4. A natural gas diffusion amount and diffusion time calculation method according to claim 3, wherein the method for establishing the diffusion time calculation model comprises:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
according to the ambient pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Dividing the whole gas flow process in the pipeline into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
5. The method for calculating the natural gas diffusion amount and diffusion time according to claim 4, wherein α=0.55.
6. A natural gas dispersion and time calculation device, comprising:
the first modeling module is used for establishing a natural gas emission amount calculation model based on an actual gas state equation under a standard state;
the first calculation module is used for calculating natural gas emission according to the natural gas emission calculation model;
the second modeling module is used for dividing the gas flow in the natural gas pipeline diffusing process into a critical state and a subcritical state, and respectively establishing a diffusing time calculation model in the critical state and the subcritical state based on an energy conservation law and a gas equation;
and the second calculation module is used for calculating and summing the diffusing time under the critical state and the subcritical state respectively by utilizing the model to obtain the natural gas diffusing time.
7. The natural gas bleeding amount and bleeding time calculation apparatus according to claim 6, wherein the building of the natural gas bleeding amount calculation model based on the actual gas state equation in the standard state includes:
the actual gas state equation under the standard state is:
wherein p is 0 =0.101325 MPa, absolute pressure in standard state; t (T) 0 =293.15K, which is the temperature in the standard state; p is p ap Mean absolute pressure of gas in the pipeline; t (T) at The average temperature of the gas in the pipeline; z is Z 0 Is the compression factor in the standard state; z is Z 1 Is the compression factor in the actual environment; D. l is the diameter and length of the pipeline respectively;
the dispersion amount is obtained by the formula (1):
8. the natural gas dispersion and time calculation device according to claim 7, wherein the calculating the natural gas dispersion from the natural gas dispersion calculation model includes:
calculating the average absolute pressure of the gas in the pipeline:
wherein p is 1 、p 2 The gas pressures are respectively the starting point and the ending point of the pressure pipeline; p is p x For gas pressure at x from the start of the pipeForce;
calculating the average temperature of the gas in the pipeline:
wherein T is 1 、T 2 The gas temperatures at the start point and the end point of the pressure pipeline respectively;
calculating compression factors in the actual environment:
wherein Δ is the relative density of the gas;
substituting the formulas (4), (5) and (6) into the formula (3) to obtain the natural gas emission.
9. The natural gas diffusion amount and diffusion time calculation device according to claim 8, wherein the method for establishing the diffusion time calculation model comprises the steps of:
according to the law of conservation of mass:
Vdρ=-v m dt (7)
wherein V is the volume of the pipeline; ρ is the natural gas density; v m Is mass flow; t is the bleeding time; r is the gas constant of natural gas;
according to the ambient pressure p a Average pressure p with gas in pipeline ap Ratio p of (2) a /p ap Dividing the whole gas flow process in the pipeline into two states: p is p a /p ap When alpha is less than or equal to alpha, the critical state is p a /p ap >Alpha is subcritical state, and alpha is critical pressure ratio;
calculating the mass flow v in the critical state and the subcritical state respectively m1 、v m2 :
Wherein mu is the opening degree of the diffusing pipeline; d is the inner diameter of the diffusing pipeline; k is the adiabatic index, p c Is the critical pressure;
substituting the formulas (9) and (10) into the formula (7) respectively, and integrating to obtain the diffusion time t of the critical state and the subcritical state 1 And t 2 :
Wherein p is f To diffuse the absolute pressure of the gas before p b Is the absolute pressure of the diffused gas;
the total release time was calculated: t=t 1 +t 2 。
10. The natural gas diffusion amount and diffusion time calculating apparatus according to claim 9, wherein α=0.55.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211655891.5A CN116205013A (en) | 2022-12-22 | 2022-12-22 | Natural gas diffusion amount and diffusion time calculation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211655891.5A CN116205013A (en) | 2022-12-22 | 2022-12-22 | Natural gas diffusion amount and diffusion time calculation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116205013A true CN116205013A (en) | 2023-06-02 |
Family
ID=86513815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211655891.5A Pending CN116205013A (en) | 2022-12-22 | 2022-12-22 | Natural gas diffusion amount and diffusion time calculation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116205013A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104806889A (en) * | 2015-04-22 | 2015-07-29 | 中国石油大学(北京) | Monitoring method and monitoring device for pipeline transmission loss of gas long-distance transmission pipeline |
US20150261893A1 (en) * | 2014-04-22 | 2015-09-17 | China University Of Petroleum - Beijing | Method and apparatus for determining pipeline flow status parameter of natural gas pipeline network |
CN108197070A (en) * | 2018-01-05 | 2018-06-22 | 重庆科技学院 | Natural gas not exclusively blocks pipeline method for numerical simulation |
CN114611418A (en) * | 2021-12-16 | 2022-06-10 | 中国科学院计算机网络信息中心 | Natural gas pipeline flow state prediction method |
-
2022
- 2022-12-22 CN CN202211655891.5A patent/CN116205013A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150261893A1 (en) * | 2014-04-22 | 2015-09-17 | China University Of Petroleum - Beijing | Method and apparatus for determining pipeline flow status parameter of natural gas pipeline network |
CN104806889A (en) * | 2015-04-22 | 2015-07-29 | 中国石油大学(北京) | Monitoring method and monitoring device for pipeline transmission loss of gas long-distance transmission pipeline |
CN108197070A (en) * | 2018-01-05 | 2018-06-22 | 重庆科技学院 | Natural gas not exclusively blocks pipeline method for numerical simulation |
CN114611418A (en) * | 2021-12-16 | 2022-06-10 | 中国科学院计算机网络信息中心 | Natural gas pipeline flow state prediction method |
Non-Patent Citations (2)
Title |
---|
刘革伟等: "输气管道放空过程分析", 煤气与热力, vol. 35, no. 6, 30 June 2015 (2015-06-30), pages 38 * |
唐奕等: "付纳输气管道清管器运行距离和时间预测", 油气储运, vol. 29, no. 8, 31 August 2010 (2010-08-31), pages 627 - 629 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112966378B (en) | Hydrogen leakage prediction method and system based on safety evaluation model | |
CN103527934A (en) | Pipeline leakage test set and method | |
CN112728410A (en) | Method and equipment for accurately controlling natural gas hydrogen-loading ratio | |
CN112115623B (en) | Method for calculating pressure drop rate of gas pipeline valve chamber under leakage working condition | |
CN107463737B (en) | method and device for calculating leakage of liquid pipeline | |
CN105805559A (en) | Liquid-phase pipe leakage irregular hole equivalent round hole experimental device and experimental method | |
CN105042337B (en) | Oil pipeline leakage amount calculation method | |
CN112214904A (en) | Valve chamber pressure drop rate calculation method under suction condition of gas pipeline compressor | |
CN116205013A (en) | Natural gas diffusion amount and diffusion time calculation method and device | |
CN102735409B (en) | Automatic detecting device for air tightness of liquefied petroleum gas cylinder | |
CN216247116U (en) | Gathering and transportation riser two-phase flow pattern on-line analysis experiment system | |
Tulach et al. | CFD simulation of vented explosion and turbulent flame propagation | |
CN109307158B (en) | Method and device for determining pipeline leakage | |
CN203979895U (en) | Testing device for pipeline plugging effect under pressure | |
CN202661239U (en) | Automatic detection device for air tightness of liquefied petroleum gas steel bottle | |
Reader-Harris et al. | Orifice plate pressure loss ratio: theoretical work in compressible flow and experimental work in CO2 | |
CN108710717A (en) | A kind of gas transmission station dynamic leakage calculation method of parameters | |
CN203082549U (en) | Gas diffusion device | |
CN113483946B (en) | Water filling and exhausting system and method for differential pressure transmitter | |
CN210513683U (en) | Checking device for pressure reducer safety valve | |
CN204202897U (en) | A kind of core level non-return valve dynamic countercurrent test unit | |
CN117010150A (en) | Vehicle-mounted hydrogen storage cylinder air tightness test method based on optimized test parameters | |
CN111346528B (en) | Preparation method of cold jet flow mixed gas with variable specific heat ratio | |
CN203710574U (en) | Nitrogen fire-fighting device applicable to open space | |
CN118153470A (en) | Explosion hazard distance calculation method for hydrogen-doped natural gas pipeline leakage accident |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |