Multi-gas-source and multi-loop fuel gas hydraulic analysis method

By employing a multi-source, multi-loop gas hydraulic analysis method, the problems of data separation and inconsistent solutions in gas transmission and distribution networks were solved, enabling efficient modeling and optimization of gas pipeline networks and improving computational accuracy and decision support.

CN121352243APending Publication Date: 2026-01-16武汉智博创享科技股份有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511892929.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-01-16

AI Technical Summary

Technical Problem

Existing technologies lack a unified solution interface and data connectivity in multi-source, multi-loop gas transmission and distribution networks, resulting in topological breaks, missing attributes, lack of gas consumption point constraint verification and automatic area division capabilities, difficulty in forming closed loops in numerical solutions, lack of ring network pressure balance criteria and safety assessment capabilities, and insufficient support for parameter iteration and analysis optimization.

Method used

By employing a multi-source, multi-loop gas hydraulic analysis method, combined with geographic information systems and hydraulic calculations, a node-pipeline correlation matrix is ​​established, gas supply and consumption points are configured, pressure and flow along the pipeline are numerically solved, ring network pressure balance is checked, abnormal nodes are detected, and parameters are iteratively optimized to form a closed-loop process.

Benefits of technology

It improves the consistency of gas pipeline network modeling and the readability of results, enhances computational stability and accuracy, and provides efficient support for design planning and operation scheduling decisions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121352243A_ABST
    Figure CN121352243A_ABST
Patent Text Reader

Abstract

The invention relates to the field of gas hydraulic analysis, and discloses a multi-gas-source multi-loop gas hydraulic analysis method which comprises the following steps: S1, geographic information system data analysis and pipe network topology modeling: receiving geographic information system structured data of a gas pipe network, analyzing the geographic information system structured data, and establishing a gas network topology model; establishing a directed graph topological structure consisting of nodes and pipe sections; s2, configuring a gas supply point and a gas use point; through a geographic information system pipe network topology model and a node-pipe section incidence matrix, in cooperation with constrained configuration of gas supply point outlet pressure and gas use point design flow, a closed-loop process from data analysis, parameter configuration to result backfilling is completed in the same solving interface; on a geographic information system map interface, node pressure is displayed in a blue mode, pipe section flow is displayed in a green mode, a lowest pressure gas using point is highlighted through a red dot, errors caused by manual import and export and topology proofreading are reduced, and modeling consistency and result readability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of gas hydraulic analysis, in particular to a gas hydraulic analysis method for a multi-gas-source multi-loop network. BACKGROUND

[0002] A city gas transmission and distribution network is usually composed of nodes and pipe sections, including valves, pressure regulating stations, compressors and other key equipment. With the increasing access of multiple gas sources and the intensification of temporal and spatial fluctuations in gas load, the gas pipe network is evolving from a tree structure to a multi-gas-source multi-loop structure, with an expanding scale, an increasing number of business logic regions, and more variable operating conditions. In engineering applications, it is necessary to accurately express the network structure in a geographic information system, form a directed graph topology structure composed of nodes and pipe sections, generate a node-pipe section association matrix, and build a geographic information system pipe network topology model. At the same time, it is necessary to configure the outlet pressure of the gas supply point and the design flow of the gas consumption point with constraints, and numerically solve the pressure distribution along the pipe and the pipe volume flow, and express the node pressure, pipe volume flow, and the location and state of the minimum pressure gas consumption point on the geographic information system map interface.

[0003] The existing technology adopts a process of separating the geographic information system and the hydraulic calculation: the geographic information system side is responsible for collecting and displaying geometric coordinates, structure attributes and operating parameters, and the hydraulic calculation side is solved according to offline data, and there is a lack of unified solving interface and stable data penetration between the two, the node-pipe section association matrix often needs to be manually extracted and corrected, which is easy to cause topological fracture and attribute loss; in the configuration of the gas supply point and the gas consumption point, there is a lack of constraint checking and automatic regional division capability of "the gas consumption points being concentrated on the side of the highest pressure gas supply point", which is easy to lead to unreasonable regional division of the analysis network; in the numerical solving link, there is a lack of integrated coupled solving and result backfill mechanism based on the node flow in-out balance constraint equation, pipe pressure drop equation and state equation, and it is difficult to form a closed loop from configuration to calculation to visual feedback after parameter adjustment; for the network containing loop structure, there is a lack of unified checking method and convergence judgment based on loop network pressure balance tolerance; in the safety evaluation aspect, there is a lack of automatic detection and red marking capability of the node pressure being lower than the preset threshold or lower than the minimum allowable pressure, and there is also a lack of targeted adjustment suggestions for the outlet pressure of the gas supply point, the pipe diameter and the pipe direction; in the parameter iteration and analysis optimization aspect, there is a lack of support for multiple iterations and index output (including recommended pipe diameter configuration, minimum pressure margin, maximum volume flow capacity and overall operation efficiency of the pipe network) of key parameters such as pipe diameter, pipe material and conveying temperature, the visualization specification is not uniform, and the operation and decision support is not sufficient. SUMMARY

[0004] In view of the deficiencies of the prior art, the present application provides a gas hydraulic analysis method for a multi-gas-source multi-loop network, which solves the problems raised in the above background.

[0005] To achieve the above object, the present application is implemented by the following technical solutions: a multi-gas source multi-loop gas hydraulic analysis method, comprising the following steps: S1. Geographic information system data analysis and pipe network topology modeling: receiving geographic information system structured data of a gas pipe network, analyzing the geographic information system structured data, establishing a directed graph topology structure composed of nodes and pipe segments, and generating a node and pipe segment association matrix to construct a pipe network topology model based on geographic information system data; S2. Supply point and gas use point configuration: based on the pipe network topology model, configuring supply point and gas use point information in the analysis area, setting the supply point outlet pressure as the boundary condition, inputting the gas use point design flow as the load condition, and constraining the gas use points to be concentrated within the analysis area range of the highest pressure supply point during the configuration process; S3. Numerical solution of along-path pressure and pipe segment flow: based on the node flow in and out balance constraint equation and pipe segment pressure drop equation of gas in the pipeline, and combined with the supply point outlet pressure and gas use point design flow, the along-path pressure distribution and pipe segment flow distribution from the supply point to the gas use point path are solved, and the lowest pressure gas use point is automatically identified; S4. Ring network pressure balance check: performing full network pressure balance check on the gas pipe network with ring structure, and determining the ring network pressure balance state by calculating the node flow in and out difference; S5. Abnormal node detection and safety evaluation: safety analysis is performed on the along-path pressure distribution result, when a node pressure lower than a preset threshold is detected, the node is marked as an abnormal node and adjustment suggestions are output; S6. Parameter iteration and analysis optimization: dynamically adjusting the key parameters that affect the fluid conveying state of pipe diameter, pipe material and conveying temperature.

[0006] Preferably, the geographic information system structured data in S1 includes the spatial coordinates and elevation of the nodes of the gas pipe network, the length and diameter of the pipe segments, the rated parameters of the valves and pressure regulating stations, the pressure ratio and flow parameters of the compressors.

[0007] Preferably, in S1, a node flow in and out constraint is applied to each node in the pipe network topology model, so that the difference between the total inflow and outflow of any node is equal to the difference between the supply and use of the node.

[0008] Preferably, the equation of state is used to calculate the relationship between gas density and pressure, and the gas density is calculated based on gas pressure, gas molar mass, compression factor, universal gas constant and temperature, and the pressure drop and flow relationship in the pipe segment is represented by a square pressure difference equation, considering the along-path friction loss and gravity potential difference.

[0009] Preferably, the S3 is solved by solving the coupled equations of the node flow in and out of the balance constraint equation and the pipe segment pressure drop equation, to obtain the node pressure field and the pipe segment volume flow field of the entire gas pipe network.

[0010] Preferably, the S6 is that the adjusted parameters are re-input into the calculation process and the steps of S3 to S5 are repeated, and the optimal pipe network design scheme under the conditions of meeting the gas supply demand and the operation safety constraint is obtained through multiple rounds of iterative calculation, including the recommended pipe diameter configuration, the minimum pressure margin, the maximum flow capacity and the overall operation efficiency of the pipe network.

[0011] The gas hydraulic analysis system of multiple gas sources and multiple loops comprises a geographic information system data analysis module, a gas supply and use point configuration module, a fluid state calculation and along-the-way solving module, a loop network pressure balance checking module, an abnormality diagnosis and safety evaluation module and a parameter iteration and scheme optimization module, the modules are interacted through a data bus, and the data are processed, called and fed back through a unified solving interface, wherein: The geographic information system data analysis module is used for receiving the structured geographic information data of the gas pipe network, establishing a directed graph topology composed of nodes and pipe segments and generating a node-pipe segment association matrix; The gas supply and use point configuration module is used for configuring the gas supply point outlet pressure and the gas use point design flow; The fluid state calculation and along-the-way solving module is used for solving the along-the-way pressure distribution and the pipe segment flow distribution based on the continuity equation, the momentum equation and the state equation; The loop network pressure balance checking module is used for calculating the flow in and out difference of each node in the loop network and judging the loop network pressure balance state; The abnormality diagnosis and safety evaluation module is used for detecting the abnormal node and outputting the adjustment suggestion; The parameter iteration and scheme optimization module is used for adjusting the pipe diameter, the pipe material and the conveying temperature and outputting the optimal pipe network design scheme under the conditions of meeting the gas supply demand and the operation safety constraint.

[0012] Preferably, the fluid state calculation and along-the-way solving module displays the calculated node pressure value at each node device and identifies the node pressure value in blue; and displays the calculated pipe segment flow value on each pipe segment and identifies the pipe segment flow value in green.

[0013] Preferably, the abnormality diagnosis and safety evaluation module automatically judges that the gas supply pressure is insufficient to meet the gas use demand, identifies the abnormal node in red on the geographic information system map and prompts the operation personnel that the gas supply point outlet pressure needs to be improved or the parameters of the pipe diameter and the pipe direction need to be adjusted.

[0014] The present application provides a gas hydraulic analysis method of multiple gas sources and multiple loops. 1、The present application completes the closed loop process from data analysis, parameter configuration to result backfilling in the same solving interface through the geographic information system network topology model and node-pipe segment association matrix, with the constrained configuration of gas supply point outlet pressure and gas use point design flow; in the geographic information system map interface, the node pressure is displayed in blue, the pipe segment flow is displayed in green, and the lowest pressure gas use point is highlighted in red dot, reducing the errors caused by manual import and export and topology correction, and improving the modeling consistency and result readability.

[0015] 2、In the numerical solving of the pressure along the pipeline and the pipe segment flow, the present application solves the coupling by combining the node flow in and out balance constraint equation with the pipe segment pressure drop equation and the state equation; for the gas pipeline network with ring structure, the ring network pressure balance is checked, and the pressure drop constraint check and convergence judgment are performed on the whole network by combining the ring network pressure balance parameter threshold, so as to give consideration to the solving accuracy and physical rationality, and improve the calculation stability and consistency in the multi-gas source and multi-loop scene.

[0016] 3、When the node pressure is detected to be lower than the preset threshold, the present application automatically marks the abnormal node and outputs the adjustment suggestions for the gas supply point outlet pressure, pipe diameter and pipeline direction; in the parameter iteration and analysis optimization, the pipe diameter, pipeline material and conveying temperature are dynamically adjusted, and the solving and checking process is repeatedly executed, and the results including the recommended pipe diameter configuration, minimum pressure margin, maximum flow capacity and overall operation efficiency of the pipeline network are output, the operation safety constraint and gas supply demand are considered, and the efficient decision support for design planning, operation scheduling and expansion and reconstruction is realized. BRIEF DESCRIPTION OF DRAWINGS

[0017] Figure 1 The flowchart of the present application. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the specification of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0019] Embodiment: Please refer to the drawings in the specification of the present application. Figure 1 The present application provides a gas hydraulic analysis system of multi-gas source and multi-loop, which can realize the automatic configuration of gas supply point and gas use point, path pressure flow distribution calculation, ring network balance check and parameter iteration optimization, thereby providing data support and decision basis for the design planning, operation scheduling and expansion and reconstruction of urban gas pipeline network.

[0020] Specifically include geographic information system data analysis module, gas supply point configuration module, fluid state calculation and along the solution module, ring network pressure balance check module, abnormal diagnosis and safety evaluation module and parameter iteration and scheme optimization module, each module through the data bus for interaction, and with a unified solution interface to realize the processing, calling and feedback of data, form a complete analysis process and control closed loop.

[0021] The geographic information system data analysis module is used for receiving structured geographic information data of the gas pipe network, including geometric coordinates, pipeline properties and operating parameters of nodes, pipe sections, valves, pressure regulating stations, compressors and other key devices of the gas pipe network, and analyzing and topologically modeling these data, specifically including a geographic information system server, a data acquisition front-end gateway, a data analysis processing unit and a topological modeling processor. The module establishes a directed graph structure of the gas pipe network and generates an association matrix between nodes and pipe sections, providing basic network topological structure data support for subsequent gas supply point configuration and fluid calculation.

[0022] The gas supply point configuration module directly interacts with the output data of the geographic information system data analysis module, and is used for configuring basic information of gas supply points and gas use points in the analysis area, specifically including a touch display terminal and a visual configuration platform. The gas supply point is a gas source outlet or a pressure regulating station outlet device in the gas pipe network, and the outlet pressure of the gas supply point needs to be input as the initial boundary condition, for example, 200 kPa. The gas use point is a terminal user device or a centralized metering end, and the design flow of the gas use point needs to be input, for example, 8000 m 3 / h. The system distinguishes and identifies the gas supply points and the gas use points in color on the geographic information system map interface, and the gas supply points are represented in blue and the gas use points are represented in green. The configuration of the gas supply points and the gas use points follows the constraint principle of the same analysis network area, that is, the selected gas use point in the analysis must be located on the side of the highest pressure gas supply point. When the constraint is not met, the system automatically triggers the region division algorithm to split the large-scale pipe network business logic region into multiple small-scale analysis regions with the same business logic.

[0023] The fluid state calculation and along the solution module is based on the continuity equation, momentum conservation equation and gas state equation of gas flow in the pipeline, and combines the configured outlet pressure of the gas supply point and the design flow of the gas use point to perform numerical calculation on the path of gas from the gas supply point to the gas use point, solve the pressure distribution and pipe section flow distribution along the path, including a high-performance computing server, a numerical solution processor, an equation set solving unit and a pressure flow display terminal. In the calculation result, the system displays the calculated node pressure value at each node device and identifies it in blue; the calculated pipe section flow value on each pipe section is displayed and identified in green. At the same time, the system automatically identifies the lowest pressure gas use point in the whole network and highlights it with a red dot, so as to quickly locate the potential pressure bottleneck point for the operator.

[0024] The ring network pressure balance verification module is used to verify the pressure balance of gas pipeline networks with ring structures. It specifically includes a data comparison processor, a flow sensor interface unit, and a ring network balance analysis terminal. This module performs mass conservation analysis on the flow inflow and outflow of each node within the ring network. When the algebraic sum of the flow at each node is less than the ring network pressure balance parameter threshold (0.00000001 m³ / s), the verification is successful. 3 When the pressure balance condition is met ( / h), the system determines that the ring network satisfies the pressure balance condition. The ring network pressure balance verification module also performs pressure drop constraint verification and convergence judgment on the entire network to ensure the stability and accuracy of the numerical solution results in a physical and mathematical sense.

[0025] The anomaly diagnosis and safety assessment module performs safety diagnoses on the calculation results from the fluid state calculation and friction-based solution modules. When the system detects a negative pressure calculation result for a certain node, it automatically determines that the gas supply pressure is insufficient to meet gas demand and marks the abnormal node in red on the geographic information system map, prompting operators to increase the outlet pressure of the gas supply point or adjust structural parameters such as pipe diameter and pipeline routing. The anomaly information provided by this module offers direct decision-making support for the safe operation and optimized design of the gas pipeline network. Specifically, this includes: after configuring the gas consumption points and gas supply points, conducting analysis based on the principle that the pressure of gas gradually decreases along the pipeline, and involving key calculation formulas including: the basic equations for hydraulic calculations of gas pipelines. After modification and simplification, the following was obtained The system inputs the response parameters and coefficients for calculation. Some parameters are obtained from pipeline network attribute data (such as pipe diameter, material, and length), some parameters are obtained from the average index of the pipeline's environment and internal gas quality (such as relative gas density and gas viscosity), and some parameters allow users to manually adjust them during use (such as temperature and friction coefficient).

[0026] The parameter iteration and scheme optimization module is used to dynamically adjust the calculation parameters and perform multi-round iterative analysis based on the initial solution results. Adjustable key parameters include physical variables that significantly affect the pipeline flow state, such as pipe diameter, pipe material, and delivery temperature. Operators can set new parameter values ​​in this module and re-execute the numerical solution process. The system will generate updated pressure distribution, flow distribution, and safety margin analysis results based on the new boundary conditions and parameter configuration. Through multi-round iterative analysis, the system ultimately outputs the optimal pipeline network design scheme that meets gas supply demand and operational safety constraints, including recommended pipe diameter configuration, minimum pressure margin, maximum flow capacity, and key indicators such as overall pipeline network operating efficiency. This process significantly improves the rationality of pipeline network structural parameter design and the accuracy of gas supply scheduling strategies.

[0027] Through the organic collaboration of the aforementioned functional modules, this invention achieves fully automated calculation and analysis of the entire process, from data parsing of the gas pipeline network geographic information system, configuration of gas supply and consumption points, numerical solution of fluid states to ring network pressure balance verification, anomaly node detection, and iterative optimization of pipeline parameters. This invention not only improves the automation level and calculation accuracy of gas pipeline network hydraulic analysis but also significantly enhances the decision-making efficiency of pipeline network planning and design, operation scheduling, and capacity expansion and renovation, providing strong technical support for the intelligent management of urban gas transmission and distribution systems.

[0028] The invention provides a gas hydraulic analysis method for multi-source, multi-loop gas transmission and distribution networks. This method is used for digital modeling, gas supply and consumption point configuration, friction-line pressure and pipeline flow rate calculation, loop network pressure balance verification, abnormal pressure detection, and parameter iterative optimization analysis of gas transmission and distribution networks with multiple gas source inputs and complex loop structures. The method includes the following steps: S1. Geographic Information System Data Parsing and Pipeline Topology Modeling First, the system receives structured geographic information system (GIS) data of the gas pipeline network, including the geometric coordinates, structural attributes, and operating parameters of nodes, pipe segments, valves, pressure regulating stations, compressors, and other key equipment. The system parses this data, establishes a directed graph topology composed of nodes and pipe segments, and generates a node-pipe segment association matrix, resulting in the GIS topology model, which lays the data foundation for subsequent solutions. During this process, each node is associated with a pressure... The main variable is the volumetric flow rate for each pipe segment. The main variables are nodes and pipe segments. The connections between nodes and pipe segments constitute the topological constraints of the network equations. To ensure the solvability of subsequent calculations, the method imposes a mass conservation condition on each node in the network. For any node... The difference between the total inflow and the total outflow at a given node is equal to the difference between the gas supply and gas consumption at that node. This constraint is expressed as: ; in, The amount injected into the node (take a positive value for gas source nodes). The gas flow rate requirement at the point of use, in units of This equation reflects the quality balance at the node level, providing fundamental constraints for subsequent solutions across the entire network.

[0029] S2. Configuration of gas supply and consumption points Based on the geographic information system (GIS) topology model, gas supply and consumption point information is configured within the analysis area. Gas source outlets or pressure regulating station outlets are set as gas supply points, and the outlet pressure of the gas supply point is input as a boundary condition. End-user equipment or centralized metering terminals are set as gas consumption points, and the design flow rate of the gas consumption point is input as a load condition. The system identifies gas supply and consumption points in blue and green respectively on the GIS map interface. The configuration process must adhere to the constraint that gas supply and consumption points are concentrated on the side of the highest pressure gas supply point. If this principle is not met, the pipeline area is automatically split into multiple smaller analysis areas with the same business logic.

[0030] S3. Numerical solution of friction pressure and flow rate along the pipe section After configuring the gas supply and consumption points, the system solves for the pressure and flow rate along the pipeline based on the gas flow equations within the pipeline. The gas flow in the pipeline is constrained by the continuity equation, momentum equation, and state equation. The nodal flow balance constraint equation and the pipe section pressure drop equation are used to calculate the gas density. The relationship with pressure, under isothermal conditions, is expressed as: ; in, For gas pressure, For gas molar mass, The compression factor, This is the universal gas constant. Let the temperature be the constant. Combining the state equation, the relationship between pressure drop and flow rate in a pipe section can be expressed by the pipe section pressure drop equation: ; In the formula, and These are the pressures at the beginning and end of the pipe section, respectively. The drag coefficient is determined by a combination of factors including pipe diameter, pipe length, friction factor, and gas properties. The elevation difference between the two nodes. The acceleration due to gravity is represented by the equation. This equation reflects the influence of frictional losses and gravitational potential difference on pressure distribution. The system obtains the nodal pressure field and pipe segment volumetric flow field of the entire gas pipeline network by solving the coupled equations of the nodal flow balance constraint equation and the pipe segment pressure drop equation. In the calculation results, the system displays the calculated nodal pressure value at each node in blue and the pipe segment volumetric flow value in green. At the same time, it automatically identifies the gas consumption point with the lowest pressure in the entire network and highlights it with a red dot, providing a reference for subsequent safety assessments.

[0031] S4. Ring network pressure balance check For gas pipeline networks with ring structures, the system requires ring network pressure balance verification. The method involves calculating the flow difference at each ring node. If the algebraic sum of the flow rates at all nodes is less than the ring network pressure balance tolerance, the system is considered to meet the pressure balance condition. Simultaneously, pressure drop constraints and convergence checks are performed on the entire network to ensure the numerical solution is physically correct and meets engineering accuracy requirements. This step is particularly important for multi-ring networks, as it can be used to verify the mutual support capacity of gas supply sources and the stability of the ring network pressure distribution.

[0032] S5. Anomaly Node Detection and Security Assessment After the numerical solution is completed, a safety analysis is performed on the pressure distribution results along the friction point. When the system detects pressure at a certain node... Less than zero or below the minimum allowable pressure When an abnormal node is detected, it is automatically identified and marked in red to indicate that the gas supply pressure cannot meet the gas demand. Simultaneously, the system analyzes the cause of the abnormality, such as insufficient gas supply pressure, undersized pipe diameter, or an unreasonable ring network structure, and provides targeted adjustment suggestions. This step ensures the safety of the gas pipeline network operation and the feasibility of the design scheme.

[0033] S6. Parameter Iteration and Analysis Optimization Based on the initial calculation results, key parameters affecting the flow state are dynamically adjusted, including pipe diameter, pipe material, and delivery temperature. The adjusted parameters are then re-entered into the calculation process, and steps S3 to S5 are repeated. Through multiple rounds of iterative calculations, the optimal pipeline design scheme that meets gas supply demand and operational safety constraints is obtained, including recommended pipe diameter configuration, minimum pressure margin, maximum flow capacity, and overall pipeline network operating efficiency.

[0034] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A gas hydraulic analysis method for multiple gas sources and multiple loops, characterized in that: Includes the following steps: S1. Geographic Information System Data Parsing and Pipeline Topology Modeling: Receive structured geographic information system data of gas pipeline network, parse the structured geographic information system data, establish a directed graph topology structure composed of nodes and pipe segments, and generate a node-to-pipe segment association matrix to construct a pipeline topology model based on geographic information system data; S2. Configuration of gas supply points and gas consumption points: Based on the pipeline topology model, configure the gas supply point and gas consumption point information within the analysis area, set the gas supply point outlet pressure as the boundary condition, input the gas consumption point design flow rate as the load condition, and constrain the gas consumption points to be concentrated within the analysis area where the highest pressure gas supply point is located during the configuration process. S3. Numerical solution of friction pressure and pipe section flow: Based on the flow balance constraint equation of gas in and out of the pipeline and the pressure drop equation of the pipe section, and combined with the outlet pressure of the gas supply point and the design flow of the gas consumption point, the friction pressure distribution and pipe section flow distribution along the path from the gas supply point to the gas consumption point are solved, and the lowest pressure gas consumption point is automatically identified. S4. Ring network pressure balance verification: Perform a full network pressure balance verification on a gas pipeline network with a ring structure, and determine the ring network pressure balance status by calculating the difference between the inflow and outflow of the nodes; S5. Abnormal Node Detection and Safety Assessment: Perform safety analysis on the pressure distribution along the process. When the pressure of a node is detected to be lower than a preset threshold, mark the node as an abnormal node and output adjustment suggestions. S6. Parameter Iteration and Analysis Optimization: Dynamically adjust key parameters affecting the fluid transport state, such as pipe diameter, pipe material, and transport temperature.

2. The gas hydraulic analysis method for multiple gas sources and multiple loops according to claim 1, characterized in that: The structured data in the geographic information system in S1 includes the spatial coordinates and elevation of the gas pipeline network nodes, the length and diameter of the pipeline segments, the rated parameters of valves and pressure regulating stations, and the pressure ratio and flow parameters of the compressors.

3. The gas hydraulic analysis method for multiple gas sources and multiple loops according to claim 1, characterized in that: In S1, flow inflow and outflow constraints are applied to each node in the pipeline topology model, such that the difference between the sum of the inflow and outflow of any node is equal to the difference between the gas supply and gas consumption of that node.

4. The gas hydraulic analysis method for multiple gas sources and multiple loops according to claim 1, characterized in that: The equation of state is used to calculate the relationship between gas density and pressure, and the gas density is calculated based on gas pressure, gas molar mass, compressibility factor, universal gas constant and temperature. The relationship between pressure drop and flow rate in the pipe section is expressed by the square pressure difference equation, taking into account friction loss and gravitational potential difference.

5. The gas hydraulic analysis method for multiple gas sources and multiple loops according to claim 1, characterized in that: In S3, the nodal pressure field and pipe segment volumetric flow field of the entire gas pipeline network are obtained by solving the coupled equation set of the node flow balance constraint equation and the pipe segment pressure drop equation.

6. The gas hydraulic analysis method for multiple gas sources and multiple loops according to claim 1, characterized in that: In step S6, the adjusted parameters are re-entered into the calculation process and steps S3 to S5 are repeated. Through multiple rounds of iterative calculations, the optimal pipeline design scheme that meets the gas supply demand and operational safety constraints is obtained, including information on recommended pipe diameter configuration, minimum pressure margin, maximum flow capacity, and overall pipeline operating efficiency.

7. The multi-gas-source, multi-loop gas hydraulic analysis system according to any one of claims 1-6, characterized in that: It includes a geographic information system data parsing module, a gas supply and consumption point configuration module, a fluid state calculation and flow path solution module, a ring network pressure balance verification module, an anomaly diagnosis and safety assessment module, and a parameter iteration and scheme optimization module. These modules interact via a data bus and use a unified solution interface for data processing, retrieval, and feedback. The geographic information system data parsing module is used to receive structured geographic information data of the gas pipeline network, establish a directed graph topology composed of nodes and pipe segments, and generate a node-pipe segment association matrix. The gas supply point configuration module is used to configure the gas supply point outlet pressure and the gas consumption point design flow rate. The fluid state calculation and friction-side solution module is used to solve for the friction-side pressure distribution and pipe segment flow distribution based on the continuity equation, momentum equation, and state equation. The ring network pressure balance verification module is used to calculate the flow difference between each node in the ring network and determine the ring network pressure balance status. The anomaly diagnosis and security assessment module is used to detect abnormal nodes and output adjustment suggestions; The parameter iteration and scheme optimization module is used to adjust the pipe diameter, pipe material and delivery temperature, and output the optimal pipeline design scheme that meets the gas supply requirements and operational safety constraints.

8. The gas hydraulic analysis system with multiple gas sources and multiple loops according to claim 7, characterized in that: The fluid state calculation and friction loss solution module displays the calculated node pressure value at each node device, marked in blue; and displays the calculated pipe flow rate value at each pipe segment, marked in green.

9. The gas-hydraulic analysis system with multiple gas sources and multiple loops according to claim 7, characterized in that: The anomaly diagnosis and safety assessment module automatically determines that the gas supply pressure is insufficient to meet the gas demand and marks the abnormal node in red on the geographic information system map, prompting the operators that the outlet pressure of the gas supply point needs to be increased, or the parameters of pipe diameter and pipeline direction need to be adjusted.

Citation Information

Patent Citations

  • Gas scheduling method based on gas pipe network topology

    CN114065669A

  • Natural gas supply state monitoring method, device, equipment and medium

    CN118095129A

  • Repair analysis system of intelligent pipe network topological structure

    CN120277851A

  • Water service pipe network management system based on GIS

    CN120952760A

  • Method for measuring and scheduling node flow of pipe network based on pressure monitoring

    WO2015123916A1