The Hydraulic Grade Line (HGL) and Energy Grade Line (EGL) are fundamental tools in hydraulic engineering for visualizing pressure and energy variations along a pipe system. Properly plotting these lines helps engineers identify potential issues such as low pressure, cavitation, or excessive energy loss. This article provides a comprehensive, step-by-step guide on how to plot HGL and EGL, including key formulas, practical examples, and common pitfalls. For a broader overview of hydraulic calculations, see The Complete Guide to Hydraulic Calculations for Engineers and Designers.
Understanding HGL and EGL
The Energy Grade Line (EGL) represents the total energy per unit weight of fluid at any point along the pipe. It is the sum of the elevation head, pressure head, and velocity head. The Hydraulic Grade Line (HGL) represents the sum of elevation head and pressure head only—it excludes velocity head. Mathematically:
- EGL = Elevation + Pressure/(ρg) + V²/(2g)
- HGL = Elevation + Pressure/(ρg)
Thus, HGL = EGL - Velocity Head. In open-channel flow, HGL coincides with the water surface. In pressurized pipes, HGL is the line to which water would rise in a piezometer tube. The difference between EGL and HGL is the velocity head, which decreases as pipe diameter increases.
Data Required for Plotting
Before plotting, you need the following data for each point along the pipe system:
- Elevation (z) of the pipe centerline or invert (m or ft)
- Pressure (p) at that point (Pa or psi)
- Flow velocity (V) (m/s or ft/s) — from continuity: V = Q/A
- Fluid density (ρ) and gravitational acceleration (g)
- Head loss (hf) between points due to friction and minor losses
For friction loss, you can use the Darcy-Weisbach or Hazen-Williams equations. Read more about their differences in Hazen-Williams vs Darcy-Weisbach. The Darcy-Weisbach friction factor can be obtained from the Moody chart or empirical formulas.
Step-by-Step Plotting Procedure
Step 1: Establish the Datum and Elevations
Choose a horizontal datum (e.g., mean sea level) and measure or estimate the elevation of the pipe centerline at key points: reservoir surface, pump inlet/outlet, pipe bends, valves, and discharge point. Plot these elevations on a vertical axis (y) versus distance along the pipe (x).
Step 2: Calculate EGL at the Upstream Reservoir
At the free surface of a reservoir, the pressure is atmospheric (gage pressure = 0) and velocity is negligible. Thus, EGL = HGL = reservoir elevation. For a tank under pressure, add the pressure head (p/ρg).
Step 3: Compute Head Losses and Draw EGL Downstream
For each pipe segment, calculate the friction loss using the appropriate equation. For example, using Darcy-Weisbach: hf = f (L/D) (V²/(2g)). Minor losses from fittings, valves, and bends are added as equivalent lengths or using loss coefficients (K). The EGL drops by the total head loss over each segment. Plot the EGL as a sloping line connecting the energy values at successive points.
Step 4: Subtract Velocity Head to Obtain HGL
At any point, HGL = EGL - V²/(2g). If the pipe diameter changes, the velocity head changes, causing a sudden jump or drop in HGL at the transition. For example, at a sudden expansion, the velocity decreases, so HGL rises. At a contraction, HGL may drop.
Step 5: Account for Pumps and Turbines
A pump adds energy to the fluid, causing a sudden rise in EGL. The pump head (Hpump) is added at the pump location. Conversely, a turbine extracts energy, causing a drop. For pump selection, refer to Pump Head Calculator and NPSH Calculations for Pump Selection.
Step 6: Check for Cavitation and Low Pressure
The HGL must always remain above the pipe elevation; otherwise, negative gauge pressure occurs, which can lead to cavitation or air entrainment. If HGL drops below the pipe, the pressure is subatmospheric. Ensure that the NPSH available exceeds the pump's required NPSH. See also Water Hammer: Causes and Prevention for transient effects.
Example: Simple Pipe System
Consider a reservoir (elevation 100 m) feeding a pipe of diameter 0.3 m, length 500 m, roughness 0.00015 m, flow rate 0.2 m³/s. The pipe ends at a tank with free surface at elevation 80 m. Use Darcy-Weisbach with f=0.018 (from Moody chart).
- Reservoir: EGL = HGL = 100 m.
- Pipe entrance (minor loss K=0.5): Velocity V = Q/A = 0.2/(π*0.3²/4) = 2.83 m/s. Velocity head = V²/(2g) = 0.408 m. Minor loss = 0.5*0.408 = 0.204 m. EGL at entrance = 100 - 0.204 = 99.796 m. HGL = EGL - 0.408 = 99.388 m.
- Friction loss over 500 m: hf = f (L/D) V²/(2g) = 0.018*(500/0.3)*0.408 = 12.24 m. EGL at exit = 99.796 - 12.24 = 87.556 m. HGL = 87.556 - 0.408 = 87.148 m.
- Exit to tank: The pipe discharges into the tank; velocity head is dissipated. EGL at tank = 80 m (tank elevation). HGL at tank = 80 m (since pressure head = 0).
Plot these values along the pipe length. The EGL slopes downward due to friction and minor losses. The HGL parallels the EGL but is offset by the constant velocity head (0.408 m) except at the entrance and exit where velocity head changes.
Common Mistakes and Tips
- Incorrect datum: Always use the same datum for all elevations. Avoid mixing relative and absolute elevations.
- Ignoring minor losses: Neglecting bends, valves, and fittings can significantly alter the HGL and EGL, especially in complex systems.
- Velocity head changes: When pipe diameter changes, recalculate velocity head at each section. The HGL will have a sudden change at the transition.
- Pump head addition: Ensure the pump head is added at the correct point on the EGL. The HGL also jumps by the same amount because velocity head remains unchanged across the pump if diameter is constant.
- Negative pressures: If HGL falls below the pipe elevation, the pressure is negative. This may indicate a need for a larger pipe or a different pump.
Software Tools for Plotting
While manual plotting is educational, engineers often use software like EPANET, WaterGEMS, or Pipe Flow Expert. These programs automatically calculate HGL and EGL based on input data. For simple systems, spreadsheets can be used. The Pump Affinity Laws article explains how pump performance curves affect HGL. For fire protection systems, see NFPA 13 Hydraulic Calculations and Fire Sprinkler Density/Area Curves.
Applications in System Design
Plotting HGL and EGL helps designers ensure that pressures are within acceptable limits. For example, in a water distribution network, the HGL must remain above the highest consumer tap to provide adequate pressure. In irrigation systems, Irrigation Mainline Sizing Example shows how HGL guides pipe sizing. Pressure regulators may be needed where HGL is too high (see Irrigation Pressure Regulators). Economic pipe diameter selection balances capital cost against pumping cost; the Economic Pipe Diameter article provides more insight. Velocity limits are also important to avoid erosion and noise (Pipe Velocity Limits).
Conclusion
Mastering the plotting of Hydraulic Grade Line and Energy Grade Line is essential for hydraulic engineers. It provides a visual representation of energy losses and pressure variations, enabling efficient and safe system design. By following the steps outlined above and using appropriate tools, you can accurately plot HGL and EGL for any pipe system. For further reading, explore the related articles below.
Related Articles
- The Complete Guide to Hydraulic Calculations for Engineers and Designers
- Hazen-Williams vs Darcy-Weisbach
- Darcy-Weisbach Friction Factor
- Pump Head Calculator
- Water Hammer: Causes and Prevention