PO.SF.PL.Gas.Vel


Description

Gas velocity at pipeline conditions, [ft/s]

Syntax

=PO.SF.PL.Gas.Vel(Qg, pipe_ID, P, T, Z)

Parameters

Parameter Description
Qg Gas flow rate at standard conditions, [Mscf/d]
pipe_ID Pipe inner diameter, [in]
P Pipeline pressure, [psia]
T Pipeline temperature, [degF]
Z Gas compressibility factor

SI Unit Version

Lambda Name PO.SF.PL.Gas.Vel.SI
Formula
=LAMBDA(Qg, pipe_ID, P, T, Z, LET( Qg_Mscfd, PO.UnitConverter(Qg, "sm3/d", "Mscf/d"), pipe_ID_in, PO.UnitConverter(pipe_ID, "cm", "in"), P_psi, PO.UnitConverter(P, "kPa", "psi"), T_degF, PO.UnitConverter(T, "degC", "degF"), result_fts, PO.SF.PL.Gas.Vel(Qg_Mscfd, pipe_ID_in, P_psi, T_degF, Z), PO.UnitConverter(result_fts, "ft/s", "m/s")))
SI Parameters
Parameter Unit Description
Qg sm3/d Gas flow rate at standard conditions, [sm3/d]
pipe_ID cm Pipe inner diameter, [cm]
P kPa Pipeline pressure, [kPa]
T degC Pipeline temperature, [degC]
Z - Gas compressibility factor
How to save as a reusable Excel function

LAMBDA is a built-in Excel feature (Microsoft 365) that lets you create custom functions without VBA. The formula above works as-is when pasted into a cell.

To save a LAMBDA as a reusable named function:

  1. Go to Formulas → Name Manager → New
  2. Enter a name, e.g. PO.SF.PL.Gas.Vel.SI
  3. In Refers to, paste the LAMBDA formula without the trailing invocation (...)
  4. Click OK

Now use =PO.SF.PL.Gas.Vel.SI(...) anywhere in your workbook.

Missing a formula? Suggest a New Formula

An unhandled error has occurred. Reload X