calc_Pr#
- Piper.calc_Pr(P=None, sg=None, Tpc=None, Ppc=None, H2S=None, CO2=None, N2=None, J=None, K=None, ignore_conflict=False)[source]#
Calculates pseudo-reduced pressure, Pr (dimensionless)
- Parameters:
P (float) – pressure of gas (psig)
sg (float) – specific gravity of gas (dimensionless)
H2S (float) – mole fraction of H2S (dimensionless)
CO2 (float) – mole fraction of CO2 (dimensionless)
N2 (float) – mole fraction of N2 (dimensionless)
J (float) – SBV parameter, J, (°R/psia)
K (float) – SBV parameter, K, (°R/psia^0.5)
ignore_conflict (bool) – set this to True to override calculated variables with input keyword arguments.
- Returns:
pseudo-reduced pressure, Pr (dimensionless)
- Return type: