Skip to main content

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​

ProjectContent
Working conditionsThe city gas gate station supplies gas to the two gas consumption areas through the medium-pressure main pipe and two branches.
Pipe network scale1 gas source, 3 sections of pipeline, 1 branch node, 2 terminal gas areas
Analysis typeSteady-state, isothermal gas pipeline network calculations
boundary conditionsThe gate station adopts a pressure boundary; the two gas consumption areas adopt the same end pressure boundary
Working condition characteristicsThe pipe diameter, wall thickness, roughness and elevation of branches A and B are the same, only the length is different.
Calculate contentGate station air supply, branch flow distribution, main and branch pressure drops, node conservation and pressure closure
Scope of applicationAnalysis of flow distribution and gas supply capacity of tree-shaped medium-pressure pipe network
Job statussuccess / 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​

Urban gas tree pipe network in NexusFlow gas pipe network simulation platform
Urban gas tree pipe network in NexusFlow gas pipe network simulation platform

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 SectionLengthInner DiameterWall ThicknessAbsolute Roughness
main pipe1500 m300 mm8 mm0.045 mm
Branch A600 m200 mm6 mm0.045 mm
Branch B800 m200 mm6 mm0.045 mm

All three pipes use Colebrook explicit approximation and zero inlet/outlet elevations.

Boundary Conditions and Simulation Setup​

Air Source and Load Boundaries​

CategoryLabelBoundary Configuration
Air sourceGate station air sourcePressure boundary; 0.4 MPag
loadGas area APressure boundary; 0.2 MPag
loadGas area BPressure boundary; 0.2 MPag

City gate and both demand areas use pressure boundaries; pressure differences and resistance determine branch flow.

Simulation Settings​

SettingValue
Simulation / thermalSteady-state / isothermal
Temperature15 °C
EOSBWRS
GasNaturalGas
Gauge reference101.325 kPa(a)
Standard state101.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​

PipeInlet MPagOutlet MPagDrop kPaNm³/h
Trunk0.400000.3095590.4532934.69
A0.309550.20000109.5517667.54
B0.309550.20000109.5515267.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 ContentApplication in This Example
Pressure boundary network solutionCalculate 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 distributionCalculate 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 calculationCalculate the pressure drop along the main pipe and branches, and obtain the branch node pressure
Node mass conservationCheck the consistency of the main traffic flow and the sum of the branch traffic flows
Connection pressure closedCheck the pressure relationship between gate stations, branch nodes and terminal gas areas
Calculation of gas physical propertiesComplete gas steady state calculations using the BWRS equation of state and prescribed standard states
Result checkRead out pressure, flow and pressure drop via residual curve, component data block and results table

Results Viewing Process​

  1. Open urban tree distribution and completed steady job.
  2. Create trunk/A/B data blocks and check pressures, losses, and flow.
  3. 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 ConditionsModify ContentKey Comparison ResultsEngineering Purposes
B branch path expansionKeep other conditions unchanged and increase the diameter of branch B.B branch flow, flow distribution ratio and branch node pressureEvaluate the effect of branch road expansion
Two roads of equal lengthAdjust the length of branch B from 800 m to 600 mIs the flow rate of branches A and B consistent?Verify the impact of pipe length on flow distribution
Actual load checkChange two gas consumption zones to predicted flow boundariesTwo terminal pressures and minimum pressure marginCheck the gas supply capacity during peak hours
Gate station pressure adjustmentChange gate station outlet pressureMain flow, branch flow and terminal pressureAnalyze door station operating pressure requirements
Added third gas zoneAdd a gas supply branch to the branch nodeTrunk capacity, branch flow and node pressureAssess 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.