Transmission Pipeline
The along-process discrete model is used to describe the pressure, temperature, composition and pipe storage distribution of long-distance gas pipelines.
Component Appearance and Location
Expand Pipeline Valve in the component library on the left and find "Long-distance Pipeline".
Ports and Connections
| Port Key | Type | Direction | Interface Name | Display Conditions |
|---|---|---|---|---|
0 | FLUID | input | fluid inlet | always show |
1 | FLUID | output | Fluid outlet | always show |
A transmission pipeline has only two fluid ports. To send a running value to the control network, select the pipe and measurement point in a measurement instrument. Configure thermal boundaries on the pipe using its parameters and curves.
Parameter List
Equipment Specifications
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Pipe Internal Diameter [mm] | Diameter | real | 300 | Original steel internal diameter. |
| Pipe Length [km] | Length | real | 5 | Total pipeline length. |
| Wall Thickness [mm] | WallThickness | real | 8 | Determines steel outside diameter. |
| Internal Roughness [mm] | Roughness | real | 0.045 | Absolute internal roughness from material/condition; ordinary steel reference 0.045 mm. |
| Friction Model | FrictionModel | choice | Colebrook / AGA / Weymouth / Panhandle A / Panhandle B / Nikuradse / Constant Friction Factor | Transmission friction model; only selected-model parameters apply. |
| AGA Resistance Correction | AGADragFactor | real | 0.98 | AGA Drag Factor from project/calibration data, separate from pipeline efficiency. |
| Colebrook Method | ColebrookSolutionMethod | choice | Explicit Approximation / Implicit Iteration | Explicit approximation versus iterative solution of Colebrook. |
| Darcy Friction Factor | FrictionCoefficient | real | 0.02 | Darcy factor in (0,1], from design/test data. |
| Pipeline Efficiency Factor | PipeEfficiency | real | 1 | Friction calibration: 1 unchanged, below 1 increases resistance, above 1 reduces it. Calibrate against measured drop. |
| Elevation Profile | Elevation | table | Configure one row at a time | Centerline elevations on one datum, measured from fixed inlet. One point must be at 0 and applies throughout. Multiple points strictly increase through 0 and total length with linear interpolation; no automatic rescaling/moving. Elevation differences cannot exceed segment lengths. |
| Elevation Profile / Distance Along Pipeline [km] | Elevation.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Elevation Profile / Elevation [m] | Elevation.elevation | real | 0 | Centerline elevation at this point in m. |
| Linepack Pressure Upper Limit [MPa(g)] | MaxPressure | real | 150 | Transient linepack/charging ceiling; not a substitute for design pressure or strength checks. |
External Heat Transfer
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| External Heat Transfer Model | ExternalHeatMethod | choice | Specified Overall Coefficient / Specified Heat per Unit Length / Equivalent Cylinder | Overall coefficient uses steel outside area and temperature difference; heat per length imposes heat directly; equivalent cylinder uses steel/layers/environment and optionally material storage. |
| Installation | InstallationType | choice | Buried / Above-Ground / Submerged | Buried, above-ground, or submerged determines environment. Not used for specified heat per length. |
| Include Material Thermal Storage | MaterialHeatStorageEnabled | choice | Without Thermal Storage / With Thermal Storage | Includes steel, effective external layers, and equivalent-soil heat capacity. Disabled retains conduction without storage. |
| Overall Heat Transfer Coefficient Mode | HeatTransferCoefficientInputMode | choice | Fixed Value / Axial Variation / Axial Time Variation | Engineering input mode for overall coefficient K. |
| Overall Heat Transfer Coefficient [W/(m²·K)] | HeatTransferCoefficient | real | 0 | Gas-to-environment overall coefficient on steel outside area; no separate layer conductivity/storage inputs needed. |
| Axial Overall Coefficient | HeatTransferCoefficientProfile | table | Configure one row at a time | Overall coefficient on steel outside area, without separate layer conduction/storage inputs. Distances use the fixed inlet: a single point at 0 applies throughout; multiple points strictly increase through 0 and total length, interpolating linearly without automatic rescaling/moving. |
| Axial Overall Coefficient / Distance Along Pipeline [km] | HeatTransferCoefficientProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Axial Overall Coefficient / Overall Heat Transfer Coefficient [W/(m²·K)] | HeatTransferCoefficientProfile.value | real | 0 | Gas-to-environment overall coefficient on steel outside area; no separate layer conductivity/storage inputs needed. |
| Overall Heat Transfer Coefficient Curve References | HeatTransferCoefficientCurveLibraryProfile | table | Configure one row at a time | Select a time series from the curve database for each location along this pipe. The distances apply to this pipe only. Measure them from the designated inlet along the pipe centerline. A single point must be at distance 0 and applies to the entire pipe. For multiple points, distances must strictly increase and include 0 and the full pipe length. The solver interpolates linearly between points and preserves their positions. Steady-state runs use the value at the start time, which the curves must cover. Transient runs require coverage for the entire simulation period. The solver does not extrapolate in time. |
| Overall Heat Transfer Coefficient Curve References / Distance Along Pipeline [km] | HeatTransferCoefficientCurveLibraryProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Overall Heat Transfer Coefficient Curve References / Curve Name | HeatTransferCoefficientCurveLibraryProfile.curveName | choice | __UNSELECTED__ | Select an overall heat transfer coefficient time series from the curve database. It must cover the start time for steady-state runs or the entire simulation period for transient runs. Multiple locations can use the same series. |
| Heat per Unit Length Mode | HeatRatePerLengthInputMode | choice | Fixed Value / Axial Variation / Axial Time Variation | Engineering input mode for heat per unit length. |
| Heat per Unit Length [W/m] | HeatRatePerLengthSpec | real | 0 | Heat per length, positive outward loss, negative external heating. |
| Axial Heat per Unit Length | HeatRatePerLengthProfile | table | Configure one row at a time | Heat per length, positive outward loss, negative external heating. Distances use the fixed inlet: a single point at 0 applies throughout; multiple points strictly increase through 0 and total length, interpolating linearly without automatic rescaling/moving. |
| Axial Heat per Unit Length / Distance Along Pipeline [km] | HeatRatePerLengthProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Axial Heat per Unit Length / Heat per Unit Length [W/m] | HeatRatePerLengthProfile.value | real | 0 | Heat per length, positive outward loss, negative external heating. |
| Heat Flow per Unit Length Curve References | HeatRatePerLengthCurveLibraryProfile | table | Configure one row at a time | Select a time series from the curve database for each location along this pipe. The distances apply to this pipe only. Measure them from the designated inlet along the pipe centerline. A single point must be at distance 0 and applies to the entire pipe. For multiple points, distances must strictly increase and include 0 and the full pipe length. The solver interpolates linearly between points and preserves their positions. Steady-state runs use the value at the start time, which the curves must cover. Transient runs require coverage for the entire simulation period. The solver does not extrapolate in time. |
| Heat Flow per Unit Length Curve References / Distance Along Pipeline [km] | HeatRatePerLengthCurveLibraryProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Heat Flow per Unit Length Curve References / Curve Name | HeatRatePerLengthCurveLibraryProfile.curveName | choice | __UNSELECTED__ | Select a heat flow per unit length time series from the curve database. It must cover the start time for steady-state runs or the entire simulation period for transient runs. Multiple locations can use the same series. |
| Internal Convection Coefficient Mode | InternalHeatTransferCoefficientMode | choice | Custom / Automatic Calculation | Specified coefficient or automatic calculation from flow, temperature difference, and properties. |
| Internal Convection Coefficient [W/(m²·K)] | InternalHeatTransferCoefficient | real | 500 | Gas-to-inner-wall convection coefficient, distinct from overall gas-to-environment coefficient. |
| Pipe Wall Conductivity [W/(m·K)] | PipeWallThermalConductivity | real | 45 | Steel wall conductivity for equivalent-cylinder model. |
| Steel Density [kg/m³] | PipeWallDensity | real | 7850 | Steel density for heat capacity, used with material storage. |
| Steel Specific Heat [J/(kg·K)] | PipeWallHeatCapacity | real | 500 | Steel specific heat for capacity, used with material storage. |
| Initial Steel Temperature [℃] | PipeWallInitialTemperature | real | 20 | Manual initial material temperature for transient material storage only. Steady initialization or loaded states supply their own material temperatures. |
| External Layers | OuterMaterialLayers | table | Configure one row at a time | Layers ordered outward from steel. Move whole rows; recheck manual radial-mesh references after renaming/adding/removing. |
| External Layers / Material Name | OuterMaterialLayers.name | text | — | Unique within this pipeline; update manual mesh after renaming. |
| External Layers / Thickness [mm] | OuterMaterialLayers.thickness | real | 0 | One-sided radial thickness; zero layers retain settings but are inactive. |
| External Layers / Conductivity [W/(m·K)] | OuterMaterialLayers.thermalConductivity | real | 0 | Material conductivity, positive for positive thickness. |
| External Layers / Density [kg/m³] | OuterMaterialLayers.density | real | 0 | Layer heat-capacity property, needed only for positive thickness with storage enabled. |
| External Layers / Specific Heat [J/(kg·K)] | OuterMaterialLayers.heatCapacity | real | 0 | Layer heat-capacity property, needed only for positive thickness with storage enabled. |
| External Layers / Initial Temperature [℃] | OuterMaterialLayers.initialTemperature | real | 20 | Manual initial material temperature for transient material storage only. Steady initialization or loaded states supply their own material temperatures. |
| Pipe Center Burial Depth [m] | BurialDepthToCenter | real | 1.2 | Center-to-ground depth must exceed the outermost actual material radius; equivalent soil extent is automatic. |
| Soil Conductivity [W/(m·K)] | SoilThermalConductivity | real | 1.6 | Soil conductivity for buried equivalent cylinder. |
| Soil Density [kg/m³] | SoilDensity | real | 1800 | Soil density for material storage. |
| Soil Specific Heat [J/(kg·K)] | SoilHeatCapacity | real | 900 | Soil specific heat for material storage. |
| Initial Soil Temperature [℃] | SoilInitialTemperature | real | 20 | Manual initial material temperature for transient material storage only. Steady initialization or loaded states supply their own material temperatures. |
| Burial-Depth Soil Temperature Mode | BuriedGroundTemperatureInputMode | choice | Fixed Value / Axial Variation / Axial Time Variation | Engineering input mode for soil temperature at burial depth. |
| Burial-Depth Soil Temperature [℃] | BuriedGroundTemperature | real | 25 | Soil temperature at pipeline depth, the buried external condition. |
| Axial Soil Temperature | BuriedGroundTemperatureProfile | table | Configure one row at a time | Axial soil temperature at burial depth. Distances use the fixed inlet: a single point at 0 applies throughout; multiple points strictly increase through 0 and total length, interpolating linearly without automatic rescaling/moving. |
| Axial Soil Temperature / Distance Along Pipeline [km] | BuriedGroundTemperatureProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Axial Soil Temperature / Burial-Depth Soil Temperature [℃] | BuriedGroundTemperatureProfile.value | real | 25 | Soil temperature specified by axial position. |
| Soil Temperature at Burial Depth Curve References | BuriedGroundTemperatureCurveLibraryProfile | table | Configure one row at a time | Select a time series from the curve database for each location along this pipe. The distances apply to this pipe only. Measure them from the designated inlet along the pipe centerline. A single point must be at distance 0 and applies to the entire pipe. For multiple points, distances must strictly increase and include 0 and the full pipe length. The solver interpolates linearly between points and preserves their positions. Steady-state runs use the value at the start time, which the curves must cover. Transient runs require coverage for the entire simulation period. The solver does not extrapolate in time. |
| Soil Temperature at Burial Depth Curve References / Distance Along Pipeline [km] | BuriedGroundTemperatureCurveLibraryProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Soil Temperature at Burial Depth Curve References / Curve Name | BuriedGroundTemperatureCurveLibraryProfile.curveName | choice | __UNSELECTED__ | Select a time series for soil temperature at burial depth from the curve database. It must cover the start time for steady-state runs or the entire simulation period for transient runs. Multiple locations can use the same series. |
| Air Convection Coefficient Mode | OverheadExternalHeatTransferCoefficientMode | choice | Custom / Automatic Calculation | Specified coefficient or automatic calculation from flow, temperature difference, and properties. |
| Air Convection Coefficient [W/(m²·K)] | OverheadExternalHeatTransferCoefficient | real | 12 | Convection between outermost pipe surface and air. |
| External Wind Speed [m/s] | AirExternalVelocity | real | 0 | Nonnegative external fluid speed relative to pipe, for automatic outer convection. |
| Air Density [kg/m³] | AirExternalFluidDensity | real | 1.205 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Air Dynamic Viscosity [Pa·s] | AirExternalFluidDynamicViscosity | real | 0.0000181 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Air Constant-Pressure Specific Heat [J/(kg·K)] | AirExternalFluidHeatCapacity | real | 1005 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Air Conductivity [W/(m·K)] | AirExternalFluidThermalConductivity | real | 0.026 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Air Thermal Expansion Coefficient [1/K] | AirExternalFluidThermalExpansion | real | 0.00341 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Air Temperature Mode | AirTemperatureInputMode | choice | Fixed Value / Axial Variation / Axial Time Variation | Engineering input mode for air temperature. |
| Air Temperature [℃] | AirTemperature | real | 20 | Ambient air temperature for above-ground pipe. |
| Axial Air Temperature | AirTemperatureProfile | table | Configure one row at a time | Axial air temperature. Distances use the fixed inlet: a single point at 0 applies throughout; multiple points strictly increase through 0 and total length, interpolating linearly without automatic rescaling/moving. |
| Axial Air Temperature / Distance Along Pipeline [km] | AirTemperatureProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Axial Air Temperature / Air Temperature [℃] | AirTemperatureProfile.value | real | 20 | Air temperature specified by position. |
| Air Temperature Curve References | AirTemperatureCurveLibraryProfile | table | Configure one row at a time | Select a time series from the curve database for each location along this pipe. The distances apply to this pipe only. Measure them from the designated inlet along the pipe centerline. A single point must be at distance 0 and applies to the entire pipe. For multiple points, distances must strictly increase and include 0 and the full pipe length. The solver interpolates linearly between points and preserves their positions. Steady-state runs use the value at the start time, which the curves must cover. Transient runs require coverage for the entire simulation period. The solver does not extrapolate in time. |
| Air Temperature Curve References / Distance Along Pipeline [km] | AirTemperatureCurveLibraryProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Air Temperature Curve References / Curve Name | AirTemperatureCurveLibraryProfile.curveName | choice | __UNSELECTED__ | Select an air temperature time series from the curve database. It must cover the start time for steady-state runs or the entire simulation period for transient runs. Multiple locations can use the same series. |
| Water Convection Coefficient Mode | SubseaExternalHeatTransferCoefficientMode | choice | Custom / Automatic Calculation | Specified coefficient or automatic calculation from flow, temperature difference, and properties. |
| Water Convection Coefficient [W/(m²·K)] | SubseaExternalHeatTransferCoefficient | real | 12 | Convection between outermost pipe surface and water. |
| External Water Speed [m/s] | WaterExternalVelocity | real | 0 | Nonnegative external fluid speed relative to pipe, for automatic outer convection. |
| Water Density [kg/m³] | WaterExternalFluidDensity | real | 998.2 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Water Dynamic Viscosity [Pa·s] | WaterExternalFluidDynamicViscosity | real | 0.001002 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Water Constant-Pressure Specific Heat [J/(kg·K)] | WaterExternalFluidHeatCapacity | real | 4182 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Water Conductivity [W/(m·K)] | WaterExternalFluidThermalConductivity | real | 0.598 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Water Thermal Expansion Coefficient [1/K] | WaterExternalFluidThermalExpansion | real | 0.000207 | Air/water properties at actual external temperature for automatic convection. Defaults are about 20 °C references, not automatically updated with ambient temperature. |
| Water Temperature Mode | WaterTemperatureInputMode | choice | Fixed Value / Axial Variation / Axial Time Variation | Engineering input mode for water temperature. |
| Water Temperature [℃] | WaterTemperature | real | 15 | Water temperature around submerged pipe. |
| Axial Water Temperature | WaterTemperatureProfile | table | Configure one row at a time | Axial water temperature. Distances use the fixed inlet: a single point at 0 applies throughout; multiple points strictly increase through 0 and total length, interpolating linearly without automatic rescaling/moving. |
| Axial Water Temperature / Distance Along Pipeline [km] | WaterTemperatureProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Axial Water Temperature / Water Temperature [℃] | WaterTemperatureProfile.value | real | 15 | Water temperature specified by position. |
| Water Temperature Curve References | WaterTemperatureCurveLibraryProfile | table | Configure one row at a time | Select a time series from the curve database for each location along this pipe. The distances apply to this pipe only. Measure them from the designated inlet along the pipe centerline. A single point must be at distance 0 and applies to the entire pipe. For multiple points, distances must strictly increase and include 0 and the full pipe length. The solver interpolates linearly between points and preserves their positions. Steady-state runs use the value at the start time, which the curves must cover. Transient runs require coverage for the entire simulation period. The solver does not extrapolate in time. |
| Water Temperature Curve References / Distance Along Pipeline [km] | WaterTemperatureCurveLibraryProfile.distance | real | 0 | Centerline distance from fixed inlet, 0 to total length; unchanged by flow reversal. |
| Water Temperature Curve References / Curve Name | WaterTemperatureCurveLibraryProfile.curveName | choice | __UNSELECTED__ | Select a water temperature time series from the curve database. It must cover the start time for steady-state runs or the entire simulation period for transient runs. Multiple locations can use the same series. |
Sampling Settings
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Profile Output Mode | SpatialResultSamplingMode | choice | First and Last Only / Every Calculation Step / Fixed Simulation Interval | Profile output instants, delivered together after simulation. First/last reduces data; does not alter calculation time steps. |
| Profile Output Interval [h] | SpatialResultSamplingIntervalHours | real | 6 | Simulation-time output interval, independent of wall time. Adaptive runs choose the nearest completed calculation instant without changing time steps. |
| Output Material Temperature Profiles | OutputMaterialTemperatureProfile | choice | Closed / Open | Output steel, active-layer, and equivalent-soil temperature profiles in steady/transient mode, with or without storage. Does not change heat calculations. |
Advanced Settings
| Name | key | Type | Default / Options | Description |
|---|---|---|---|---|
| Axial Mesh Mode | AxialGridMode | choice | Automatic Mesh / User-Specified | Automatic uniform axial mesh targets 1 km with at least 5 cells. User-specified uses entered count. Initial mesh remains fixed. |
| Axial Cell Count | LongPipeCellCount | integer | 10 | User axial count; automatic uses 1 km and at least 5. More cells improve resolution and cost; assess sufficiency through result sensitivity. |
| Radial Mesh Mode | RadialGridMode | choice | Automatic Mesh / User-Specified | Automatic radial mesh: steel 2, each active layer 3, soil 8 cells. Manual needs each count. Assess resolution versus cost using result sensitivity. |
| Steel Radial Cell Count | SteelWallRadialCellCount | integer | 2 | Manual steel radial cells; more resolution costs more, so check result sensitivity. |
| External Layer Radial Mesh | OuterMaterialRadialCellCounts | table | Configure one row at a time | One row per active material, keyed by unique name. Update after name/add/remove changes; moving layers does not require count changes. |
| External Layer Radial Mesh / Material Name | OuterMaterialRadialCellCounts.name | choice | — | Reference by material name; update after renaming/removal. |
| External Layer Radial Mesh / Radial Cell Count | OuterMaterialRadialCellCounts.cells | integer | 3 | Radial Cell Count |
| Soil Radial Cell Count | SoilRadialCellCount | integer | 8 | Manual soil radial cells; assess resolution versus cost using result sensitivity. |
| Higher-Order Species Transport | HighOrderSpeciesTransport | choice | Closed / Enabled | Reduces species numerical diffusion for sharper composition fronts, at higher cost. Disabled uses first-order upwind. |
Parameter Guidance
- Geometry. Length uses km; follow displayed diameter, thickness, and roughness units. Use one elevation datum and profiles measured from inlet to outlet.
- Mesh and sampling. Automatic mesh uses roughly 1 km cells, at least 5. Select User-specified to enter cell count. Transient profile output supports first/last instants, every step, or fixed simulation intervals; this only controls profile saving.
- Thermal boundaries. For non-isothermal simulations, select overall heat transfer coefficient, heat flow per unit length, or the equivalent cylinder model according to the engineering data. Heat flow per unit length uses W/m, with heat loss to the environment positive. Enter local points or reference database time curves at axial positions. Each time curve must cover the calculation interval.
- Equivalent cylinder. Configure buried, above-ground, or submerged conditions and additional layers. Enable wall/layer thermal storage for non-isothermal transients as needed and check material heat capacities.
Enter Axial Time Curves
After selecting Axial Time Variation, set the curve source for overall heat transfer coefficient, heat flow per unit length, or the soil, air, or water temperature for the selected installation.
| Curve source | Axial table entries |
|---|---|
| Edit Local Curve | Enter distance in km and time–value pairs at each position. |
| Reference Curve Database | Enter distance in km and the name of a time curve of the corresponding type at each position. |
Distances increase from inlet to outlet and must cover the modeled segment. Each time curve must cover the calculation interval. The software evaluates each position at the current time, then interpolates along the pipe. For variation by distance alone, enter distance and value pairs.
Set sources separately. Use W/(m²·K) for overall coefficient, W/m for heat flow per unit length, and °C for ambient temperature. Choose a curve source.
Modeling Steps
- Add a transmission pipeline and connect fluid ports.
- Enter diameter, length, maximum allowable pressure, wall, roughness, and elevation control points by distance.
- Without dedicated calibration, retain Colebrook explicit approximation and efficiency 1.0.
- For non-isothermal calculations, select buried, above-ground, or submerged installation and choose overall heat transfer coefficient, heat flow per unit length, or the equivalent cylinder model. Use fixed values, axial profiles, or axial time variation as appropriate. Enter local time curves or reference the database.
- Set profile output frequency; prefer first/last or fixed intervals for long runs.
- For monitoring, target the pipeline with a measurement instrument and connect
signalto controls. - Check direction, pressure/temperature profiles, linepack, and boundaries.
View Results
The results of long-distance pipelines should be judged based on the endpoint values and distribution along the route:
- Inlet, outlet pressure and total pressure drop;
- Pressure distribution along the route and check changes caused by elevation and friction;
- Inlet, outlet flow and transient inlet and outlet flow differences;
- Total inventory within the tube and its changes over time;
- Temperature along the path, ambient temperature and heat dissipation in non-isothermal calculations;
- Gas composition and propagation process along the route in component transport calculations;
- Whether the spatial distribution at different sampling moments corresponds to boundary changes.
Professional Theory
Long-distance pipelines adopt a one-dimensional compressible flow model that is discrete along the route. Different from the endpoint lumped model of short pipes, long pipes solve pressure, flow rate and temperature at internal nodes, and save gas inventory and components in the control volume. Therefore, they can describe pressure wave propagation, pipe storage peak shaving, temperature changes along the way, and gas source component migration.
1. Main Symbols
| Symbol | Meaning | Unit |
|---|---|---|
| Axial distance along the pipe | m | |
| Simulation time | s | |
| 、 | Pipe inner diameter, flow cross-sectional area | m、m² |
| 、、 | Absolute pressure, temperature, density | Pa、K、kg/m³ |
| Axial flow velocity, positive direction from inlet to outlet | m/s | |
| Darcy friction coefficient | — | |
| pipeline efficiency | — | |
| Comprehensive heat transfer coefficient outside the tube | W/(m²·K) | |
| The mole or mass fraction of the component | — |
The geometric cross-sectional area is:
2. Conservation of Mass and Momentum
The one-dimensional mass conservation equation is:
The momentum equation takes into account inertia, pressure gradient, friction along the way, and elevation:
Pipe efficiency only corrects for hydraulic friction:
Therefore, reducing pipe efficiency increases the pressure drop along the path for the same flow rate, but does not repeatedly correct the elevation term, the thermal equation, or the independent local resistance component.
3. Friction Model
The local form of Darcy pressure drop is:
Reynolds number and relative roughness are:
The selection principles of Colebrook model, AGA, Weymouth, Panhandle A/B and constant friction coefficient are consistent with those of short pipes. The long tube uses local pressure, temperature and composition to calculate density, viscosity and friction at each internal location.
4. Energy Conservation and Heat Transfer Outside the Tube
4.1 Energy Equation and Positive Direction of Heat Dissipation
The one-dimensional energy equation including kinetic energy, potential energy and heat transfer outside the tube is:
is the heat loss per unit pipe length, in W/m. The notation convention is:
- : The gas dissipates heat to the external environment;
- : The external environment supplies heat to the gas;
- : Pipe insulation.
The outer thermal boundary of the tube is uniformly written in linear form:
For a heat transfer model driven by temperature differences:
Where is the thermal conductivity per unit length, the unit is W/(m·K). It goes into the source term of the gas temperature equation:
Here is the actual flow diameter. Additional layers within the tube will reduce the , thus not only changing the heat transfer area, but also affecting the hydraulic cross-sectional area and flow rate.
4.2 Laying Environment and Ambient Temperature
Different laying methods use different environmental boundaries:
| Laying Method | Ambient Temperature | External Heat Transfer Path |
|---|---|---|
| Buried | The ground temperature deep in the center of the pipe | Pipe inner membrane, pipe wall and additional layers, soil, surface environment |
| overhead | air temperature | Tube inner membrane, tube wall and additional layer, air side convection |
| underwater | water temperature | Tube inner membrane, tube wall and additional layer, water side convection |
The ambient temperature can be set to a fixed value, a distribution along the route, or a time curve corresponding to the location along the route. Linear interpolation is used between positions along the route; linear interpolation is also used between adjacent moments in the time curve. The interface is entered in °C and the energy equation uses K internally.
4.3 Customized Overall Heat Transfer Coefficient
When the total heat transfer coefficient of the entire heat transfer path is known, the heat dissipation per unit length is:
Where is the outer diameter of the steel pipe:
Therefore:
in this model is based on the outer surface area of the steel pipe and should include all equivalent thermal resistances such as the inner membrane of the pipe, the pipe wall, the insulation layer and the external environment. means adiabatic. If the total heat transfer coefficient in the design data uses another diameter as the area basis, it should first be converted according to the conservation of thermal conductivity per unit length:
can be a fixed value, a distribution along the way, or a time-varying value along the way. It is suitable for scenarios where the total heat transfer coefficient has been back-calculated in experiments, designs, or operations.
4.4 Customized Heat Flow per Unit Length
When the heat loss along the pipeline is known, it can be specified directly:
The model no longer back-calculates heat flow based on the temperature difference between the gas and the environment, so a positive specified value will still cause the gas to continue to cool even if is used. Users should ensure that the direction and magnitude of heat flow are consistent with the working conditions. It is suitable for calculations with known heat loads, test inversion heat flows, or calculations that require the application of external heating power; negative values indicate external heating per unit length.
Specifying heat flow also supports fixed values, distribution along the path, and time changes along the path. The total heat loss of the pipe section is:
4.5 Equivalent Cylinder Model
When it is necessary to explicitly describe the pipe wall, insulation layer and external environment, the one-dimensional radial equivalent cylinder model is used. The engineering expression of the total thermal resistance per unit length is:
and have:
The thermal resistance of the inner film of the tube is:
The thermal resistance of the th cylindrical thermal conductive layer is:
The outer film thermal resistance of overhead or underwater pipes is:
Where is the outermost diameter. Buried pipes also contain soil heat conduction from the outside surface of the pipe to the surface. Its commonly used equivalent thermal resistance is:
Among them, is the buried depth of the pipe center, and is the soil thermal conductivity.
The equivalent cylinder model converts the heat transfer path composed of the inner film of the tube, the steel tube, the additional layer and the external environment into the total thermal resistance per unit length. The steel pipe layer is determined by the inner diameter, wall thickness and pipe wall thermal conductivity; additional layers can represent inner coating, inner lining layer, outer anti-corrosion layer, insulation layer and outer protective layer.
4.6 Inner Tube Film Heat Transfer Coefficient
The heat transfer coefficient of the inner tube membrane can be given directly or automatically calculated according to the local gas state. Automatically calculated using:
The laminar flow area adopts the inlet section correlation, and the fully developed turbulent flow area adopts:
The transition zone is a continuous connection between laminar and turbulent flow correlations. The automatic calculation will change with the local density, viscosity, specific heat, thermal conductivity and flow rate, so different can be obtained at each position of the long pipe.
4.7 Ambient Side Heat Transfer Coefficient
The ambient side heat transfer coefficient can be given by the user or automatically calculated.
The automatic surface environmental heat transfer coefficient of the buried scene is:
Among them, represents the surface wind speed. It describes the heat exchange boundary between the surface and the outside world. The heat conduction inside the soil is still calculated separately by the burial depth and soil thermal conductivity.
Both natural and forced convection are considered for overhead and underwater scenarios. The external dimensionless number is:
The Nusselt numbers for natural convection and forced convection are respectively:
Final take:
Therefore automatic mode requires external flow velocity, density, dynamic viscosity, constant pressure specific heat, thermal conductivity and volume expansion coefficient. The properties of air should be used for overhead pipes, and the properties of water should be used for underwater pipes.
4.8 Results Interpretation and Model Selection
The result is the heat dissipation along the way:
It should be analyzed together with the ambient temperature, gas temperature and flow rate along the way. Under low flow, the same heat loss per unit length will cause a greater temperature drop per unit mass; under high flow, the temperature is closer to the upstream incoming flow temperature.
Suggested uses for the three models are as follows:
| Model | Recommended Conditions of Use | Key Considerations |
|---|---|---|
| Customized overall heat transfer coefficient | Overall known equipment or operating conditions | Check area benchmark to ensure includes all thermal resistance |
| Customized unit length heat flow | Thermal loads along the route are known or external heating needs to be applied | The heat flow does not automatically reverse with the temperature difference. The user is responsible for the sign and magnitude. |
| Equivalent cylinder model | Known pipe wall, insulation layer, burial depth and external medium parameters | Check thickness, thermal conductivity, inner and outer membrane parameters and laying scenarios layer by layer |
Do not repeatedly superimpose the total heat transfer coefficient that includes the thermal resistance of the insulation layer with the insulation layer parameters of the equivalent cylinder model. The two are different closure methods, and one should be selected based on available engineering data.
5. Storage and Component Transportation
The total mass in the pipe is the storage mass:
In the transient state, the mass flow difference between the inlet and outlet changes the pipe storage:
The component satisfies the conservation transport equation:
The components adopt conservative upwind discretization: the inflow boundary uses the external air component, and the outflow boundary uses the upstream control volume component in the pipe. Therefore, the air source switching will propagate along the pipeline section by section, rather than appearing at the outlet instantaneously.
6. Boundaries and Flows
In forward flow, the inlet temperature and inlet composition are the incoming flow boundaries; in reverse flow, the boundary roles are exchanged. The two-way inflow or two-way outflow conditions apply boundaries according to the actual flow directions of the two endpoints, avoiding the fixed assumption of "left-end inlet, right-end outlet".
7. Scope of Application
- Suitable for long-distance gas pipelines that require distribution, storage, pressure waves and component migration along the route.
- The denser the grid, the higher the spatial resolution, but the greater the computational effort; the grid and time steps should match the scale of pressure, temperature, or composition changes.
- One-dimensional models do not resolve three-dimensional flows within elbows, tees, and equipment. These additional losses should be expressed using local resistance or specialized equipment components.
Common Inspections
- The parameter units shall be subject to the interface markings; the pressure shall be distinguished between gauge pressure and absolute pressure, and the flow rate shall be distinguished between standard conditions and local working conditions.
- Conditional parameters are only displayed and involved in calculations in the corresponding mode. Do not judge their validity based solely on the existence of fields in the model JSON.
- When the port connections, number of boundaries, or control directions are wrong, the model topology should be corrected first, and then the solver parameters should be adjusted.