City Gas Tree Pipe Network Gas Distribution
This example consists of 1 gate station gas source, 1 medium-pressure main pipe, 2 branch pipes and 2 gas consumption areas, forming a tree-shaped urban gas distribution network. The calculation includes the branch air supply capacity, flow distribution, pressure drop along the way and node conservation under the specified end pressure, and compares the impact of branch length differences on the transportation capacity.
Study Overview
| Project | Content |
|---|---|
| Working conditions | The city gas gate station supplies gas to the two gas consumption areas through the medium-pressure main pipe and two branches. |
| Pipe network scale | 1 gas source, 3 sections of pipeline, 1 branch node, 2 terminal gas areas |
| Analysis type | Steady-state, isothermal gas pipeline network calculations |
| boundary conditions | The gate station adopts a pressure boundary; the two gas consumption areas adopt the same end pressure boundary |
| Working condition characteristics | The pipe diameter, wall thickness, roughness and elevation of branches A and B are the same, only the length is different. |
| Calculate content | Gate station air supply, branch flow distribution, main and branch pressure drops, node conservation and pressure closure |
| Scope of application | Analysis of flow distribution and gas supply capacity of tree-shaped medium-pressure pipe network |
| Job status | success / 100% |
Working Conditions Background and Pipe Network Structure
Working Condition Background
A city gas gate station supplies gas to two gas consumption areas through a medium-pressure main pipe. The end pressures of the two gas consumption areas are the same, but the lengths of the connecting branches are different. This working condition calculates the total air supply volume of the gate station, the flow distribution of the two branches, and the impact of the difference in branch length on the transportation capacity.
Pipe Network Structure

The door station air source first reaches the branch node through the DN300 main pipe, and then supplies air to the gas consumption area A and the gas consumption area B through two DN200 branch lines respectively. Branch A is 600 m long and branch B is 800 m long. The two branches adopt the same pipe diameter, wall thickness, roughness and elevation conditions except for length, which is used to analyze the influence of pipe length and resistance along the way on flow distribution.
Pipe Parameters
| Pipe Section | Length | Inner Diameter | Wall Thickness | Absolute Roughness |
|---|---|---|---|---|
| main pipe | 1500 m | 300 mm | 8 mm | 0.045 mm |
| Branch A | 600 m | 200 mm | 6 mm | 0.045 mm |
| Branch B | 800 m | 200 mm | 6 mm | 0.045 mm |
All three pipes use Colebrook explicit approximation and zero inlet/outlet elevations.
Boundary Conditions and Simulation Setup
Air Source and Load Boundaries
| Category | Label | Boundary Configuration |
|---|---|---|
| Air source | Gate station air source | Pressure boundary; 0.4 MPag |
| load | Gas area A | Pressure boundary; 0.2 MPag |
| load | Gas area B | Pressure boundary; 0.2 MPag |
City gate and both demand areas use pressure boundaries; pressure differences and resistance determine branch flow.
Simulation Settings
| Setting | Value |
|---|---|
| Simulation / thermal | Steady-state / isothermal |
| Temperature | 15 °C |
| EOS | BWRS |
| Gas | NaturalGas |
| Gauge reference | 101.325 kPa(a) |
| Standard state | 101.325 kPa(a), 20 °C |
NaturalGas mole percentages: methane 90%, ethane 5%, propane 2%, nitrogen 2%, carbon dioxide 1%.
Steady State Calculation Results and Analysis
| Pipe | Inlet MPag | Outlet MPag | Drop kPa | Nm³/h |
|---|---|---|---|---|
| Trunk | 0.40000 | 0.30955 | 90.45 | 32934.69 |
| A | 0.30955 | 0.20000 | 109.55 | 17667.54 |
| B | 0.30955 | 0.20000 | 109.55 | 15267.15 |
The split node shares 0.30955 MPag. Each source-to-load path loses 90.45+109.55=200.00 kPa.
Both branches share end pressures. Shorter A has lower friction and carries 53.64%, B 46.36%. Same gas/reference conditions permit standard-flow conservation: branches sum to trunk 32934.69 Nm³/h.
Simulation Capabilities Reflected in Calculation Examples
| Simulation Content | Application in This Example |
|---|---|
| Pressure boundary network solution | Calculate the steady-state flow rate of the entire pipeline network based on the specified pressures at the gate station and the two gas consumption areas. |
| Tree-shaped pipe network traffic distribution | Calculate the main flow rate and the flow ratio of the two branches based on the hydraulic resistance of each branch. |
| Pipe friction and pressure drop calculation | Calculate the pressure drop along the main pipe and branches, and obtain the branch node pressure |
| Node mass conservation | Check the consistency of the main traffic flow and the sum of the branch traffic flows |
| Connection pressure closed | Check the pressure relationship between gate stations, branch nodes and terminal gas areas |
| Calculation of gas physical properties | Complete gas steady state calculations using the BWRS equation of state and prescribed standard states |
| Result check | Read out pressure, flow and pressure drop via residual curve, component data block and results table |
Results Viewing Process
- Open urban tree distribution and completed steady job.
- Create trunk/A/B data blocks and check pressures, losses, and flow.
- Compare shared-node pressure and split balance; inspect steady residuals if needed.
See Run and View Results for jobs and blocks.
Extended Comparison Conditions
| Compare Working Conditions | Modify Content | Key Comparison Results | Engineering Purposes |
|---|---|---|---|
| B branch path expansion | Keep other conditions unchanged and increase the diameter of branch B. | B branch flow, flow distribution ratio and branch node pressure | Evaluate the effect of branch road expansion |
| Two roads of equal length | Adjust the length of branch B from 800 m to 600 m | Is the flow rate of branches A and B consistent? | Verify the impact of pipe length on flow distribution |
| Actual load check | Change two gas consumption zones to predicted flow boundaries | Two terminal pressures and minimum pressure margin | Check the gas supply capacity during peak hours |
| Gate station pressure adjustment | Change gate station outlet pressure | Main flow, branch flow and terminal pressure | Analyze door station operating pressure requirements |
| Added third gas zone | Add a gas supply branch to the branch node | Trunk capacity, branch flow and node pressure | Assess the impact of new load access |
When performing extended working condition comparison, only change a single parameter to be compared each time, and keep other boundary conditions and pipeline parameters consistent. For intraday load fluctuations, storage changes, or equipment operation processes, a transient model should be established based on this steady-state model, and corresponding time-varying boundaries or equipment operation conditions should be set.