Excel Function
InletPipePressureGas
Description:
Calculates inlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psia].
Excel Function Syntax:
=InletPipePressureGas(Qg, P_out, pipeLength, pipeID, pipeAngle, pipeRoughness, zFactor, T, SGgas, Ug)
Parameters:
| Parameter | Description |
|---|---|
| Qg | Gas rate, [mscf/d]. |
| P_out | Outlet pipe pressure, [psia]. |
| pipeLength | Pipe length, [ft]. |
| pipeID | Pipe inner diameter, [in]. |
| pipeAngle | Pipe angle from horizontal, [degrees]. Horizontal flow: angle = 0; Vertical well producer: angle = 90; Vertical well injector: angle = -90. |
| pipeRoughness | Pipe relative roughness, [dimensionless]. |
| zFactor | Gas compressibility factor (Z), [dimensionless]. |
| T | Temperature at middle point of the pipe, [degF]. |
| SGgas | Gas specific gravity, [dimensionless]. |
| Ug | Gas viscosity, [cP]. |
Related Theory
1 item
Single-Phase Pipe Flow
Pipe Flow
Related Functions
2 items
OutletPipePressureGas
Calculates outlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psia].
ReynoldsNumberGas
Calculates Reynolds number for single phase pipe flow of gas (compressible fluid), [dimensionless].
Missing a formula?Suggest a New Formula