calc_Pr#

Sutton.calc_Pr(P=None, Ppc_corrected=None, sg=None, Tpc=None, Ppc=None, e_correction=None, Tpc_corrected=None, H2S=None, CO2=None, ignore_conflict=False)[source]#

Calculates pseudo-reduced pressure, Pr (dimensionless)

Parameters:
  • P (float) – pressure of gas (psig)

  • Ppc_corrected (float) – corrected pseudo-critical pressure, P’pc (psia)

  • sg (float) – specific gravity of gas (dimensionless)

  • Tpc (float) – pseudo-critical temperature, Tpc (°R)

  • Ppc (float) – pseudo-critical pressure, Ppc (psia)

  • e_correction (float) – temperature-correction factor for acid gases, ε (°R)

  • Tpc_corrected (float) – corrected pseudo-critical temperature, T’pc (°R)

  • H2S (float) – mole fraction of H2S (dimensionless)

  • CO2 (float) – mole fraction of CO2 (dimensionless)

  • ignore_conflict (bool) – set this to True to override calculated variables with input keyword arguments.

Returns:

pseudo-reduced pressure, Pr (dimensionless)

Return type:

float