Skip to main content

Steady-State Gas Supply Through a Short Pipe

A gas source, short pipe, and load represent a medium-pressure gas branch. The source maintains 0.3 MPag and downstream demand is 100 Nm³/h. NexusFlow calculates outlet pressure from the pipe data and gas properties. Use this example to practice setting pressure and flow boundaries and checking steady-state results.

Study Overview​

ItemConfiguration
ScenarioA 500 m medium-pressure branch supplies a regulator station inlet
NetworkOne gas source, one short pipe, and one terminal load
AnalysisSteady-state, isothermal gas network calculation
BoundariesUpstream pressure of 0.3 MPag and downstream standard volumetric flow of 100 Nm³/h
Gas propertiesAGA8Gross with simple gas ReferenceNaturalGas
Main resultsOutlet pressure of 0.296496 MPag and pipe pressure drop of 3.504 kPa
UseCheck branch pressure drop and terminal supply pressure for a specified demand

Scenario and Network Layout​

Short pipe model with a gas source, a 500 m medium-pressure branch, and a regulator inlet load
Short pipe model with a gas source, a 500 m medium-pressure branch, and a regulator inlet load

Connect the components in the flow direction.

Gas source (300 kPag) → 500 m PE100 SDR11 De63 branch → Regulator inlet load (100 Nm³/h)

The load represents demand at the regulator inlet. The example stops at this boundary. The short pipe is a lumped two-port component. Consider a transmission pipeline model when analyzing linepack propagation or temperature profiles along the route.

Pipe Parameters​

SettingValue
ComponentShort Pipe (Pipe)
Length500 m
Internal diameter51.4 mm
Wall thickness5.8 mm
Absolute roughness0.01 mm
Friction model and solution methodColebrook, explicit approximation
Pipe efficiency1
Inlet and outlet elevations0 m at both ends

De63 identifies the 63 mm outside diameter. Use the internal diameter of 63−2×5.8=51.463-2\times5.8=51.4 mm in the calculation. Entering the outside diameter as the internal diameter underestimates pressure drop.

Boundary Conditions and Simulation Setup​

Gas Source and Load​

ComponentBoundary typeInputCalculated result
Gas source (300 kPag)Pressure0.3 MPag, 20 °CSupply flow
Regulator inlet load (100 Nm³/h)Flow100 Nm³/hLoad pressure

Downstream demand determines supply flow. Upstream pressure and pipe resistance determine the outlet pressure. The 0.296496 MPag at the load is a calculated result.

Gas and Global Settings​

SettingValue
Simulation and thermal modesSteady-state and isothermal
Global temperature20 °C
Gas property modelAGA8Gross
Initial supply mediumSimple gas ReferenceNaturalGas
Gas relative density0.6
Carbon dioxide mole percentage0%
Higher heating value39.82 MJ/Nm³
Gauge pressure reference101.325 kPa(a)
Standard conditions101.325 kPa(a), 20 °C
Steady-state result time2026-01-01 00:00:00

Define the gas in the Simple Gas Library using these values and select it on the source. Check the flow units and reference temperature when comparing standard volumetric flows.

Steady-State Results and Analysis​

CheckReference value
Source and pipe inlet pressure0.300000 MPag
Pipe outlet and load pressure0.296496 MPag
Pipe pressure drop3.504 kPa
Gas source flow100.000 Nm³/h
Standard volumetric flow at pipe inlet and outlet100.000 / 100.000 Nm³/h
Load demand100.000 Nm³/h
Outlet temperature20 °C
Steady-state pipe results showing the result time, inlet and outlet pressures, and pressure drop
Steady-state pipe results showing the result time, inlet and outlet pressures, and pressure drop

The interface rounds outlet pressure to 0.2965 MPag and pressure drop to 3.5041 kPa. The calculations below use the unrounded result.

The pipe stores no additional mass at steady state, so the source, pipe, and load have equal standard volumetric flows. Global isothermal mode holds temperature at 20 °C.

Using the unrounded outlet pressure of 0.296495929 MPag, the difference between the two ends is

Δp=(0.300000000−0.296495929)×1000≈3.504071 kPa.\Delta p=(0.300000000-0.296495929)\times1000 \approx3.504071\ \mathrm{kPa}.

Pressure drop is about 0.87% of absolute inlet pressure. An independent Darcy calculation using mean gas properties and an iterative Colebrook solution gives 3.504243 kPa, about 0.00489% above the software result. The Reynolds number is approximately 4.45×1044.45\times10^4, in the turbulent range. See Short pipe theory.

Maximum nodal mass imbalance is approximately 2.48×10−152.48\times10^{-15} kg/s. Pressure difference at the connections is 0 Pa. Check pressure drop, flow continuity, and nodal conservation together.

Review Results​

  1. Open the example from the model gallery and check upstream pressure, downstream flow, pipe internal diameter, and simple gas properties.
  2. Select the completed steady-state task in Tasks. To try a comparison, save a personal copy of the model before changing parameters and running it.
  3. Check the source, pipe, and load results. Supply and demand should both be 100 Nm³/h.
  4. Right-click the short pipe and use Create Data Block. Check inlet and outlet pressures and pressure drop. Confirm approximately 0.296496 MPag at the outlet and 3.504 kPa across the pipe.
  5. Check for 20 °C at the outlet and review steady-state residuals under Other Results.

See Run and view results. Component references are available for the source, short pipe, and load.

Applicability and Common Checks​

CheckWhat to verify
Wrong boundary typeEnter 100 Nm³/h at the downstream flow boundary. Changing it to a pressure boundary changes the scenario and the result.
Incorrect diameter or length unitUse m for length and mm for internal diameter, wall thickness, and roughness. Internal diameter is 51.4 mm here.
Standard versus actual volumetric flowThe boundary uses 100 Nm³/h at standard conditions. Read actual volumetric flow at the operating pressure from its own result field.
Gas properties differCheck AGA8Gross, the gas name, relative density, CO₂, higher heating value, and standard conditions.
Adequate downstream supplyThe model imposes flow. Compare the calculated outlet pressure with the project's minimum acceptable inlet pressure.

To study regulator losses, local valve resistance, terrain elevation changes, or transient demand, add the relevant equipment and boundary conditions and run a separate case.

Further Comparisons​

CaseChangeCompare
Higher demandIncrease downstream flow onlyOutlet pressure, pipe pressure drop, and compliance with minimum supply pressure
Lower upstream pressureReduce source pressure at unchanged demandTerminal pressure margin
Larger branch diameterIncrease effective internal diameter at unchanged length, demand, and source conditionsReduction in pressure drop and terminal pressure
Longer branchIncrease pipe length onlyTotal pressure drop and available downstream pressure

Run each comparison separately to obtain its results.