Calculate gas piping outlet pressure from the Panhandle equation (API RP 14E section 2.4).
Compare results for the general equation (Moody diagram), the Weymouth equation, and the Panhandle A and B equations.
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 Property Type
- SGu : User Defined Gas Specific Gravity
- voltype : Fluid Flow Rate Type
- Qfu : User Defined Gas Volume Flow Rate
- Mfu : User Defined Gas Mass Flow Rate
- Ngu : User Defined Gas Mole Flow Rate
- Vfu : User Defined Gas Velocity
- efactype : Efficiency Factor Type
- Eu : User Defined Efficiency Factor
- fdtype : Darcy Friction Factor Type
- fdu : User Defined Darcy Friction Factor
- flowtype : Fluid Pressure Type
- L : Pipe Length
- zi : Inlet Elevation Relative To Datum
- zo : Outlet Elevation Relative To Datum
- Pi : Inlet Pressure
- T : Fluid Temperature
- Z : Compressibility Factor
Tool Output
- ΔP : Friction Pressure Loss
- ρ : Fluid Density (At Pf)
- E : Efficiency Factor
- ID : Inside Diameter
- Mf : Mass Flowrate
- Ng : Mole Flow Rate
- Pa : Average Fluid Pressure
- Pf : Pressure For Fluid Property Calculation
- Po : Outlet Pressure
- Qf : Volume Flowrate (At Pf)
- SG : Gas Specific Gravity
- Vf : Fluid Velocity (At Pf)
- es : Elevation Constant
- fd : Darcy Friction Factor
- ff : Fanning Friction Factor
- ls : Length Constant
- ss : Elevation Exponent
- td : Darcy Transmission Factor
- tf : Fanning Transmission Factor
- vg : Mole Specific Volume (At Pf)