The equilibrium ratio is the ratio, for a given component of an oil-gas system at equilibrium at a given temperature and pressure, of its mole fraction yi in the gas phase to its mole fraction xi in the liquid phase:
Ki = yi / xi
Ki is a function of temperature, pressure, and composition; for systems consisting essentially of light paraffinic hydrocarbons, it depends only weakly on composition and can be treated approximately as a function of temperature and pressure alone. It is constant only for an ideal solution and is not constant for oil-gas systems at high pressure; the name "equilibrium constant" is a traditional usage (SY/T 6174-2012). Ki is used in equilibrium flash calculations, where, combined with the material balance, it gives the amounts and compositions of the gas and liquid at equilibrium. In practice Ki is often estimated with an equation of state, and different equations of state give different results.