A high-precision simulation method for the full pressure grade of urban gas
By considering the influence of the eddy current interface on the pressure distribution in the urban gas simulation method, the eddy current interface pressure disturbance component is used to correct the fluid pressure equation, which solves the problem of inaccurate pressure simulation in the prior art and achieves a higher precision simulation effect.
Patent Information
- Application Number
- CN202210049048.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2025-08-05
- Estimated Expiration
- 2042-01-17
AI Technical Summary
The existing urban gas simulation method based on big data systems needs to be improved for the accuracy of pressure simulation at any position in the pipeline, and the influence of the eddy current interface on the pressure distribution is not considered.
By establishing the equation of the flow relationship of gas in the pipeline, considering the influence of the eddy current interface against the pressure distribution, the fluid pressure equation is corrected by the eddy current interface pressure perturbation component, and iteratively solve it to improve the simulation accuracy.
The accuracy of pressure simulation at any position in the pipeline is improved, and the influence of the eddy current interface on the pressure distribution is taken into account, which enhances the accuracy of the simulation results.
Smart Images

Figure CN114510886B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of simulation methods, and in particular to a high-precision simulation method for all pressure levels of urban gas based on a big data system. Background Art
[0002] With the rapid development of global gas pipeline networks, pipeline accidents are becoming increasingly common, particularly major oil and gas leaks, fires, explosions, and other serious incidents that pose significant risks to human safety and the natural environment. City gas full-pressure networks utilize a large number of intelligent instruments, which collect extensive real-time data at specific locations. However, the instrumentation within the pipeline only captures real-time data at the specific locations where the instrument is installed. Monitoring parameters within the pipeline network, such as pressure, requires simulation calculations based on collected big data.
[0003] However, the existing urban gas simulation method based on big data system needs to improve the accuracy of pressure simulation at any location in the pipeline. During the simulation process, the influence of the eddy interface on the pressure distribution in the pipeline is not taken into account.
[0004] Therefore, it is necessary to provide a high-precision simulation method for all pressure levels of city gas, taking into account the influence of the eddy interface on the pressure distribution in the pipeline, and improving the pressure simulation accuracy at any position in the pipeline. Summary of the Invention
[0005] The technical problem to be solved by the present invention is that the accuracy of pressure simulation at any position in the pipeline by the existing urban gas simulation method based on big data system needs to be improved, and the influence of the eddy flow interface on the pressure distribution in the pipeline is not taken into account during the simulation process.
[0006] The technical solution adopted by the present invention to solve the technical problem is:
[0007] A high-precision simulation method for all pressure levels of city gas, the method comprising:
[0008] The first step is to establish the flow relationship equation of gas in the pipeline.
[0009] According to the continuity of gas quality in the pipeline, the continuity relationship equation of gas in the pipeline network is established:
[0010]
[0011] Where ρ is the density of the gas, t is the time variable, P is the pipeline pressure, w is the gas transmission rate vector, and curl is the curl of the gas transmission rate vector.
[0012] The flow energy transfer formula is:
[0013]
[0014]
[0015]
[0016] Where P is the pipeline pressure; x, y, z are the components of the gas transmission rate vector in the x, y, and z directions, and the three axes x, y, and z intersect vertically; Kx, Ky, and Kz are the supplementary components in the x, y, and z directions respectively. is the pressure difference level component.
[0017] In order to simplify the calculation process, the pressure difference level components are merged into their respective supplementary components, and the obtained
[0018]
[0019]
[0020]
[0021] The second step is to establish the unit limiting fluid formula, which includes:
[0022] In step 2.1, the circular cross-section pipe interface is divided into multiple sector-shaped regions based on diameter R and rotation angle θ. Each region has boundaries S1, S2, S3, and S4. For the central sector, S3 approaches 0.
[0023] Step 2.2, establish the fluid pressure equation:
[0024]
[0025] in, is the real-time component in each direction,
[0026] is the pressure offset term,
[0027] It is the supplementary component item after merging.
[0028] In step 2.3, the cross-sectional flow parameter A and the decreasing parameter B along the axial direction are introduced to establish the unit-restricted fluid formula.
[0029]
[0030]
[0031] The third step is to calculate the pressure disturbance component at the vortex interface.
[0032] Assume that two gas flows C and D form a vortex and form an interface within the region ψ. The region occupied by fluid C is ψ1, and the region occupied by fluid D is ψ2.
[0033] Step 3.1, first determine the boundary function
[0034]
[0035] Wherein, V is the volume of the unit-limiting sector unit divided in step 2.
[0036] Step 3.2, establish the pressure disturbance component equation for the eddy interface:
[0037]
[0038] Step 3.3 Use the pressure disturbance component of the eddy interface to modify the fluid pressure equation:
[0039]
[0040] The fourth step is to iteratively solve the above equations.
[0041] The high-precision simulation method for the full pressure levels of urban gas provided by the present invention has the following beneficial effects: it provides a high-precision simulation method for the full pressure levels of urban gas based on a big data system, takes into account the influence of the eddy interface on the pressure distribution in the pipeline, and improves the pressure simulation accuracy at any position in the pipeline. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 Schematic diagram of the unit volume division of the pipeline in step 2. DETAILED DESCRIPTION
[0043] The following is a further detailed description of a high-precision simulation method for full pressure levels of city gas based on a big data system of the present invention.
[0044] The present invention will be described in more detail below with reference to the accompanying drawings, in which preferred embodiments of the present invention are shown. It should be understood that those skilled in the art may modify the present invention described herein while still achieving the beneficial effects of the present invention. Therefore, the following description should be understood as a general guide for those skilled in the art and not as a limitation of the present invention.
[0045] For the sake of clarity, not all features of the actual embodiments are described. In the following description, well-known functions and structures are not described in detail because they would obscure the present invention with unnecessary detail. It should be understood that in the development of any actual embodiment, numerous implementation details must be made to achieve the developer's specific goals.
[0046] In order to make the purpose and features of the present invention more obvious and easy to understand, the specific embodiments of the present invention are further described below with reference to the accompanying drawings. It should be noted that the drawings are all in a very simplified form and use non-precise ratios, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.
[0047] The present invention provides a high-precision simulation method for all pressure levels of city gas based on a big data system, comprising:
[0048] The first step is to establish the flow relationship equation of gas in the pipeline.
[0049] According to the continuity of gas quality in the pipeline, the continuity relationship equation of gas in the pipeline network is established:
[0050]
[0051] Where ρ is the density of the gas, t is the time variable, P is the pipeline pressure, w is the gas transmission rate vector, and curl is the curl of the gas transmission rate vector.
[0052] The flow energy transfer formula is:
[0053]
[0054]
[0055]
[0056] Where P is the pipeline pressure; x, y, z are the components of the gas transmission rate vector in the x, y, and z directions, and the three axes x, y, and z intersect vertically; Kx, Ky, and Kz are the supplementary components in the x, y, and z directions respectively. is the pressure difference level component.
[0057] In order to simplify the calculation process, the pressure difference level components are merged into their respective supplementary components, and the obtained
[0058]
[0059]
[0060]
[0061] The second step is to establish the unit limiting fluid formula, which includes:
[0062] In step 2.1, the circular cross-section pipe interface is divided into multiple sector-shaped regions based on diameter R and rotation angle θ. Each region has boundaries S1, S2, S3, and S4. For the central sector, S3 approaches 0.
[0063] Step 2.2, establish the fluid pressure equation:
[0064]
[0065] in, is the real-time component in each direction,
[0066] is the pressure offset term,
[0067] It is the supplementary component item after merging.
[0068] In step 2.3, the cross-sectional flow parameter A and the decreasing parameter B along the axial direction are introduced to establish the unit-restricted fluid formula.
[0069]
[0070]
[0071] The third step is to calculate the pressure disturbance component at the vortex interface.
[0072] Assume that two gas flows C and D form a vortex and form an interface within the region ψ. The region occupied by fluid C is ψ1, and the region occupied by fluid D is ψ2.
[0073] Step 3.1, first determine the boundary function
[0074]
[0075] Wherein, V is the volume of the unit-limiting sector unit divided in step 2.
[0076] Step 3.2, establish the pressure disturbance component equation for the eddy interface:
[0077]
[0078] Step 3.3 Use the pressure disturbance component of the eddy interface to modify the fluid pressure equation:
[0079]
[0080] The fourth step is to iteratively solve the above equations.
[0081] The specific steps are as follows:
[0082] (1) Initialize each fluid pressure equation function and set boundary conditions. The boundary conditions are that the flow velocity of the central sector area S3 approaches 0.
[0083] (2) Initialize the gas density ρ, pipeline pressure P, and gas transmission rate vector w, and calculate the limiting fluid formula for each unit.
[0084] (3) Solve the fluid pressure equation using the current gas density ρ, pipeline pressure P, and gas transmission rate vector w.
[0085] (4) Use the pressure disturbance component of the vortex interface to obtain the corrected solution of the fluid pressure equation.
[0086] (5) Update the gas density ρ, pipeline pressure P, and gas transmission rate vector w.
[0087] (6) Repeat steps (3) to (5) until the fluid pressure equation converges.
[0088] The high-precision simulation method for all pressure levels of urban gas based on a big data system provided by the present invention has the following beneficial effects: considering the influence of the eddy interface on the pressure distribution in the pipeline, the pressure simulation accuracy at any position in the pipeline is improved.
[0089] The above shows and describes the basic principles, main features and advantages of the present invention. Therefore, the above description is only an embodiment of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiment. The above embodiment and description only describe the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention also includes various equivalent changes and improvements, which will fall within the scope of the invention. The scope of protection claimed in the present invention is defined by the appended claims and their equivalents.
Claims
1. A high-precision simulation method for all pressure levels of city gas, characterized in that: The method includes: The first step is to establish the flow equation of gas in the pipeline: , Where ρ is the density of the gas, t is the time variable, P is the pipeline pressure, w is the gas transmission velocity vector, curl is the curl of the gas transmission velocity vector; P is the pipeline pressure; x, y, z are the components of w in the x, y, and z directions of the gas transmission velocity vector, specifically, the x, y, and z axes intersect perpendicularly. , , is the pressure difference level component; K'x, K'y, and K'z are the results of merging the pressure difference level component into the supplementary components in the x, y, and z directions respectively; The second step is to establish the unit limiting fluid formula; Step 2.1: Divide the interface of the circular cross-section pipe into multiple sector-shaped regions according to the diameter R and the rotation angle θ. Each region has boundaries S1, S2, S3, and S4. Step 2.2, establish the fluid pressure equation: , in, 、 、 is the real-time component in each direction, is the pressure offset term, is the supplementary component item after merging; In step 2.3, the cross-sectional flow parameter A and the decreasing parameter B along the axial direction are introduced to establish the unit limiting fluid formula; The third step is to calculate the pressure disturbance component of the eddy interface, which specifically includes: Assume that two gas flows C and D form a vortex and form an interface in the region ψ. The region occupied by fluid C is ψ1, and the region occupied by fluid D is ψ2. Step 3.1, first determine the boundary function, dt, Where V is the volume of the unit-restricted sector unit divided in step 2; Step 3.2, establish the pressure disturbance component equation for the eddy interface: ; Step 3.3, use the pressure disturbance component of the eddy interface to correct the fluid pressure equation: ; The fourth step is to iteratively solve the above equations.
2. The high-precision simulation method for all pressure levels of city gas according to claim 1 is characterized in that: Used for high-precision simulation of all gas pressure levels in small and medium-sized cities.
3. The high-precision simulation method for all pressure levels of city gas according to claim 2 is characterized in that: Use distributed computing for high-precision simulation.
4. The high-precision simulation method for all pressure levels of city gas according to claim 3 is characterized by: The distributed computer is a cloud computer.
5. The high-precision simulation method for all pressure levels of city gas according to claim 4 is characterized in that: The distributed computer is a cloud server.
6. The high-precision simulation method for all pressure levels of city gas according to claim 1 is characterized in that: Run simulations based on historical data.
7. The high-precision simulation method for all pressure levels of city gas according to claim 1 is characterized in that: Get historical data by setting up sensors.
8. The high-precision simulation method for all pressure levels of city gas according to claim 1 is characterized in that: Simulation data is obtained by setting up pressure sensors and flow sensors.
9. The high-precision simulation method for all pressure levels of city gas according to claim 1, characterized in that: The acquired historical data is preprocessed and used for simulation.
10. The high-precision simulation method for all pressure levels of city gas according to claim 8, characterized in that: Preprocessing involves removing data with obvious errors or performing manual verification.