Pipeng Toolbox : Bernoulli EGL Calculators Login
Short Cuts
GO
Main ±
Beams ±
References ±
Fluid Flow ±
Fluid Properties ±
Maths ±
Materials ±
Pipelines ±
Soils ±
Subsea ±
Data ±
Units ±
Help ±
Demo

Bernoulli's Equation Energy Grade Line

Calculate gas pipeline Bernoulli pressure or energy grade line (EGL) from data points using the Bernoulli equation.

The Bernoulli or total pressure (EGL) is calculated by

`Pb = Ps + Pd + Pz `
`Ph = Ps + Pz `

where :

Pb = Bernoulli pressure or total pressure (EGL)
Ps = static pressure
Pz = potential pressure
Pd = dynamic pressure
Ph = hydraulic or piezometric pressure (HGL)

For constant diameter pipelines, the friction pressure loss can be calculated from the difference in Bernoulli pressure. For gas pipelines, the changes in dynamic pressure are usually small compared to the other terms so that the hydraulic pressure (HGL) can also be used to calculate pressure loss.

Note : The pressure terms are calculated at the selected data point. The data point option is set to pipe inlet when the page loads. Click calculate to update the data point options to include all of the data points before you select the data point. Click calculate each time you change the position data (X) values, and before you select the data point. Data points can be entered as comma separated values (Xi, Zi, Pi) with each set on a new line, or copy and paste from a spreadsheet.

Change Module :

Related Modules :

[FREE] tools are free in basic mode with no login (no plots, tables, goal seek etc). Login or Open a free account to use the tools in plus mode (with plots, tables, goal seek etc).
[PLUS] tools are free in basic CHECK mode with Login or Open a free account (CHECK values no plots, tables, goal seek etc). Buy a Subscription to use the tools in plus mode (with plots, tables, goal seek etc).
Try plus mode using the Plus Mode Demo tools with no login.   Help Using The Pipeng Toolbox (opens in the popup workbook)

Links : ±
CALCULATOR : Bernoulli Equation Gas Pipeline Energy Grade Line EGL From Data Points [FREE]   ±

Calculate the Bernoulli equation total pressure or EGL (energy grade line) and pressure loss from data points for gas flow.

Enter data points as three values separated by commas (position X, elevation Z, static pressure P) with each set of data on a new line. The position data should be in ascending order from the pipeline inlet to the pipeline outlet. Static pressure is gauge pressure (change units on the setup page).

Select a data point to calculate the pressure terms at that data point (default is the pipe inlet). The total pressure or Bernoulli pressure equals the sum of the potential pressure, the static pressure and the dynamic pressure. For pipelines with constant diameter, the friction pressure loss is equal to the difference in total pressure.

Note : The data point option is set to pipe inlet when the page loads. Click calculate to update the data point options to include all of the data points, then you select the data point. Click calculate each time you change the position data (X) values, and before you select the data point.

Use the Result Plot option to plot the static pressure, dynamic pressure, potential pressure, hydraulic pressure and total pressure versus position. Use the Result Table option to display a table of static pressure, potential pressure, hydraulic pressure, delta hydraulic pressure and delta pressure per length versus data point.

Tool Input

  • schdtype : Pipe Schedule Type
  • diamtype : Pipe Diameter Type
    • ODu : User Defined Outside Diameter
    • IDu : User Defined Inside Diameter
  • wtntype : Wall Thickness Type
    • tnu : User Defined Wall Thickness
  • fluidtype : Fluid Type
    • SGu : User Defined Gas Specific Gravity
  • zfactype : Compressibility Factor Type
    • zu : User Defined Compressibility Factor
  • datatype : Data Point (Click Calculate To Update)
  • Xdata : Position Data Points
  • Zdata : Elevation Data Points
  • Pdata : Static Pressure Data Points
  • T : Temperature
  • Ng : Mole Flowrate

Tool Output

  • ID : Inside Diameter
  • Pb : Bernoulli Pressure At Data Point
  • PbΔ : Pressure Loss (From Inlet)
  • Pbo : Bernoulli Pressure At Inlet
  • Pd : Dynamic Pressure At Data Point
  • Ph : Hydraulic Pressure At Data Point
  • PhΔ/d : Pressure Loss Per Length
  • Ps : Static Pressure At Data Point
  • Pz : Potential Pressure At Data Point
  • SG : Gas Specific Gravity
  • ZΔ : Delta Elevation
  • d : Distance From Pipe Inlet
  • z : Compressibility Factor

CALCULATOR : Bernoulli Equation Gas Density And Compressibility Factor [FREE]   ±

Calculate Bernoulli equation gas density and compressibility factor from the fluid pressure, temperature and critical point constants for selected gases.

The compressibility factor can be calculated from either the Peng Robinson, Soave, Redlich Kwong, or van der Waals equation of state (EOS). The compressibility factor calculation is valid for gas phase only. Use the Result Plot option to plot compressibility factor versus pressure and temperature, compressibility factor versus pressure and equation of state type, or compressibility factor versus temperature and equation of state type.

Tool Input

  • fluidtype : Fluid Type
    • SGu : User Defined Gas Specific Gravity
    • ωu : User Defined Acentric Factor
    • Pcu : User Defined Critical Pressure
    • Tcu : User Defined Critical Temperature
  • eostype : Equation Of State
    • Zu : User Defined Compressibility Factor
  • P : Fluid Pressure
  • T : Fluid Temperature

Tool Output

  • ρ : Fluid Density
  • ω : Accentric Factor
  • Pc : Critical Point Pressure
  • Pr : Reduced Pressure
  • SG : Gas Specific Gravity Relative To Air
  • Tc : Critical Point Temperature
  • Tr : Reduced Temperature
  • Vm : Molar Volume
  • Z : Compressibility Factor
  • cvg : Convergence Check
  • mw : Fluid Molar Mass