Concept
The pipeline end section is the stretch of a trunk gas transmission pipeline between the outlet of the last compressor station and the inlet of the city gate station. Its inlet pressure is limited by the maximum discharge pressure of the compressor station, its outlet pressure is the inlet pressure of the gate station, and its outlet flow rate equals the city's gas demand.
The end section differs from the sections between intermediate stations in that the flow rates at the two ends are not synchronized: the inlet flow rate is set by the upstream stations and is essentially constant over a day, while the outlet flow rate varies at every moment with city gas demand. At night, demand is lower than the trunk line throughput, and the excess gas remains in the end section, raising its pressure; this period is called the storage stage. In the daytime, demand is higher than the trunk line throughput, and the shortfall is made up by the gas stored in the pipe, with the pressure falling; this is called the supply stage. If the average hourly gas demand over a day is taken as the baseline, it accounts for 1/24 (4.17%) of the daily demand, and the part of the demand curve above it has to be made up from storage. The quantity of gas that the end section takes in and gives out in this rise and fall is called the storage capacity of the end section; it is one of the means of handling the uneven daily gas demand of a city, and can take the place of some of the storage tanks.
Night-time operating data from the end section of a gas pipeline illustrate this process: from 21:00 to 07:00 the next day, the outlet flow rate of the end section fell from about 5.6 × 10⁴ m³/h to about 1.7 × 10⁴ m³/h, the inlet pressure rose from 4.44 MPa to 5.20 MPa, and the outlet pressure rose from 1.38 MPa to 4.39 MPa, so the outlet pressure varied far more than the inlet pressure.
Strictly speaking, the flow in the end section is unsteady and should be calculated with the unsteady flow equations; in engineering practice the two moments at the start and end of storage are usually approximated as steady flow, and the calculation uses the steady flow formula and the average pressure. The storage capacity calculated this way is about 10% to 15% smaller than the actual one. Besides the end section, any other pipe section also has a storage effect whenever its pressure changes, but far less markedly than the end section.
Calculation Methods
1. Two characteristic moments. At the start of storage (when gas demand has just fallen to equal the trunk line throughput), the inlet and outlet pressures of the end section are both at their minimum values p1min and p2min; at the end of storage (when gas demand has just risen back to equal the trunk line throughput), the pressures at both ends are at their maximum values p1max and p2max. In design, the known quantities are p2min (not lower than the minimum supply pressure required by the gate station) and p1max (not exceeding the maximum discharge pressure of the compressor station and the value allowed by the pipeline strength), and the other two pressures are found from the flow formula.
2. Flow formula. At both moments the flow rate equals the trunk line throughput Q, and for steady flow:
where p is absolute pressure, Pa; lz is the length of the end section, m; Q is the volume flow rate at engineering standard conditions (101.325 kPa, 293 K), m³/s; λ is the hydraulic (Darcy-type) friction factor; Z is the compressibility factor; Δ is the gas specific gravity; T is the average temperature, K; D is the pipe inner diameter, m; and C0 = 0.03848 in SI units. This is a rearrangement of the basic flow formula for gas pipelines; for how to choose the friction factor, see Gas Pipeline Flow Calculation. Hence:
3. Average pressure and storage capacity. The average pressure of the pipe section is
Find ppjmin and ppjmax at the start and end of storage respectively; the difference between the gas inventories of the pipe at the two moments is the storage capacity:
where p0 = 101 325 Pa, T0 = 293 K, and Vs is the volume at engineering standard conditions, m³. Here the compressibility factor and temperature are taken to be the same at the two moments; ZA and ZB can also be taken separately for the two moments, giving (VTT0/p0T)(ppjmax/ZB − ppjmin/ZA); when Z differs noticeably between the two moments, it should be taken separately.
4. Optimum end section length. Substituting the above formulas into Vs and setting dVs/dlz = 0 gives the end section length for maximum storage capacity:
lz,max = (p1max2 − p2min2)/(CQ2) is the maximum length the end section can reach: at that length the outlet pressure at the end of storage has already dropped to p2min, and the storage capacity is zero. At the optimum length, the outlet pressure at the end of storage is exactly equal to the inlet pressure at the start of storage, both being √[(p1max2 + p2min2)/2]. If the end section is shorter than the optimum length, the pipe volume is small; if it is longer, the two average pressures come closer to each other, and in both cases the storage capacity falls (Fig. 1).
5. Optimum pipe diameter and checking. With p1max, p2min and Q fixed, the maximum storage capacity Vsmax is proportional to D7, so the optimum pipe diameter can be back-calculated from the required storage volume:
The D and lz selected for optimum storage do not necessarily match the economic scheme of the whole line or the available pipe sizes, so in practice trial calculation is mostly used: first fix the end section length and pipe diameter, check the storage capacity or check whether the pressures at both ends are within the allowable range, and reselect if they are not satisfied. The pressure ratio ε = p1/p2 is more convenient for checking pressures: from the flow formula and the average pressure formula, 3ppj/(2Q√(Clz)) = φ(ε) = (ε2 + ε + 1)/[(ε + 1)√(ε2 − 1)]; find ε from the known average pressure, and then find the pressures at the two ends.
Worked Example
Given: the end section of a gas pipeline (all assumed values, used only to demonstrate the algorithm). φ610 × 10 mm steel pipe, inner diameter D = 0.590 m; hydraulic friction factor λ = 0.0110; natural gas specific gravity Δ = 0.60, average temperature of the end section T = 288 K, compressibility factor Z = 0.90 (the same value at both moments); λ is close to the 0.0112 calculated from the Weymouth formula λ = 0.009407/D1/3; trunk line throughput 5.0 × 10⁶ m³/d (engineering standard conditions), that is Q = 57.87 m³/s; maximum pressure at the end section inlet p1max = 6.0 MPa, minimum pressure at the outlet p2min = 1.6 MPa (both absolute); end section length 150 km.
Find: the storage capacity; the optimum end section length and its storage capacity.
Solution:
- Coefficient: C = 0.0110 × 0.90 × 0.60 × 288/(0.038482 × 0.5905) = 1.71072/(0.0014807 × 0.071492) = 16160. CQ2lz = 16160 × 57.872 × 150 000 = 8.118 × 1012 Pa².
- Inlet pressure at the start of storage: p1min = √(1.62 × 1012 + 8.118 × 1012) = 3.268 MPa; outlet pressure at the end of storage: p2max = √(6.02 × 1012 − 8.118 × 1012) = 5.280 MPa.
- Average pressure: ppjmin = (2/3)[3.2677 + 1.62/(3.2677 + 1.6)] = 2.529 MPa; ppjmax = (2/3)[6.0 + 5.28032/(6.0 + 5.2803)] = 5.648 MPa.
- Geometric volume π × 0.5902/4 × 150 000 = 41 010 m³. Storage capacity Vs = 41 010 × (5.6478 − 2.5291)/0.101325 × 293/(288 × 0.90) = 142.7 × 10⁴ m³, about 28.5% of the daily throughput.
- Optimum length: lz,max = (6.02 − 1.62) × 1012/(16160 × 57.872) = 617.9 km, lz,b = 308.9 km. At this length p1min = p2max = √[(36 + 2.56)/2] = 4.391 MPa, and the storage capacity is 190.8 × 10⁴ m³, about 38.2% of the daily throughput.
- Discussion: the 150 km end section is only about half the optimum length, and its storage capacity is about 75% of the maximum. When the end section length is set near the optimum, the top of the curve is flat, and a deviation of ±20% in length lowers the storage capacity by only a few percentage points; but the end section length also determines the position of the last compressor station, so it must be evaluated together with the station layout of the whole line. The above is a steady-flow approximation, and the true storage capacity will be somewhat larger.
Recommended Values
| Parameter | How to select | Notes |
|---|---|---|
| p2min | The minimum inlet pressure required by the gate station or city network | The outlet cannot fall below it at the start of storage |
| p1max | The maximum discharge pressure of the last compressor station, within the range allowed by the pipeline strength | For the strength check, see Pipeline Strength and Wall Thickness Calculation |
| Q | The design throughput of the trunk line | The inlet flow rate of the end section is approximately constant |
| Z, T | The same values can be taken at the two moments; take them separately when Z differs noticeably between the two moments | |
| Engineering standard conditions | 101 325 Pa, 293 K | C0 = 0.03848 goes with them |
| Required storage volume | Determined from the city's daily demand curve as the area of the part above the average demand | Ideally the end section can hold all the excess gas at night and release all the stored gas in the daytime; if this cannot be fully met, other storage facilities make up the shortfall |
Influencing Factors and Considerations
- The pressure range determines the storage capacity. The higher p1max and the lower p2min, the larger the difference between the two average pressures and the larger the storage capacity; raising p1max is limited both by the compressor station discharge pressure and by the pipeline strength.
- The larger the throughput, the shorter the optimum end section. lz,b is inversely proportional to Q2: as the throughput increases, friction loss takes up more of the pressure difference, and the storage capacity at the same length falls.
- Pipe diameter has the greatest influence. With other conditions fixed, the maximum storage capacity is proportional to D7; each pipe diameter corresponds to a unique optimum end section length and maximum storage capacity.
- The steady-flow approximation is conservative. The storage capacity calculated from the two steady moments is about 10% to 15% smaller than the actual one; strictly, the end section is in unsteady flow, and when an accurate storage process or time-varying pressure curve is needed, an unsteady flow method must be used.
- Design sequence. When a new gas pipeline uses its end section for storage, the process calculation should start from the end section: fix the length and pipe diameter of the end section first, and then calculate the sections between the intermediate stations.
- Operating constraints. In the storage stage, monitor that the end section inlet pressure does not exceed the allowable maximum; in the supply stage, monitor that the outlet pressure does not fall below the minimum required by the gate station; when limits are exceeded, adjust the upstream compressor stations or bring other storage facilities into use.