calc_K#

Piper.calc_K(sg=None, H2S=None, CO2=None, N2=None)[source]#

Calculates the Stewart-Burkhardt-VOO parameter K, (°R/psia^0.5)

Parameters:
  • 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)

Returns:

SBV parameter, K, (°R/psia^0.5)

Return type:

float