PO.VFP.Gas.Pin Function
Description:
Calculates inlet pipe pressure for single phase pipe flow of gas (compressible fluid), [psi].
Excel Function Syntax:
=PO.VFP.Gas.Pin(Qg, P_out, T_degF, SG_gas, Ug, Z, pipe_ID, pipe_length, pipe_roughness, pipe_angle)
Parameters:
| Parameter | Description |
|---|---|
| Qg | Gas rate, [mmscf/D]. |
| P_out | Outlet pipe pressure, [psi]. |
| T_degF | Temperature at middle point of the pipe, [degF]. |
| SG_gas | Gas specific gravity, [dimensionless]. |
| Ug | Gas viscosity, [cP]. |
| Z | Gas compressibility factor (Z), [dimensionless]. |
| pipe_ID | Pipe inner diameter, [in]. |
| pipe_length | Pipe length, [ft]. |
| pipe_roughness | Pipe relative roughness, [dimensionless]. |
| pipe_angle | Pipe angle from horizontal, [degrees]. Horizontal flow: angle = 0; Vertical well producer: angle = 90; Vertical well injector: angle = -90. |
Used in Blueprints
Single-Phase Gas Well Pressure
Calculate pressure drop in single-phase gas wells using the compressible flow equations. Suitable for dry gas wells with no liquid loading.