๐Ÿ“ Overview

The Pipeline Pressure Drop Calculator estimates the pressure drop in gas or liquid pipelines, supporting various flow scenarios and pipeline codes. It supports unit conversion, accepts both gas and liquid properties, and flags whether the result meets typical code requirements.


๐Ÿงพ Inputs

  • Pipeline Medium: Gas or Liquid
  • Pipeline Length: m, km, ft, mi (selectable)
  • Pipe Inside Diameter: mm, inches (selectable)
  • Flow Rate:
    • Gas: mยณ/h, MMSCFD
    • Liquid: mยณ/h, bbl/d, L/s
  • Inlet Pressure: bar, psi, MPa (selectable)
  • Temperature: ยฐC, ยฐF (for gas)
  • Gas Properties: Gas gravity, Z-factor (gas)
  • Liquid Properties: Density (kg/mยณ, lb/ftยณ), Viscosity (cP, mPaยทs) (liquid)
  • Pipeline Design Code:
    • ASME B31.4
    • ASME B31.8
    • API RP 14E
    • ISO 13623
    • DNVGL-RP-F110
  • Output Pressure Drop Unit: bar, psi, MPa

๐Ÿงฎ Calculations

  • All units are converted to SI internally.
  • Gas pipelines: Panhandle equation for quick field estimate (based on flow, gas properties, pressure, diameter).
  • Liquid pipelines: Darcy-Weisbach equation with automatic friction factor and flow regime identification (laminar/turbulent).
  • Acceptance logic based on pressure drop relative to inlet pressure and code guidance (e.g., <10% for transmission lines).

๐Ÿ“ค Outputs

  • Acceptance Status: โœ… Acceptable per code or โš ๏ธ Excessive pressure drop
  • Calculated Pressure Drop: In selected unit
  • Medium, Method, and Key Input Summary
  • Flow regime and friction factor for liquids