mixture_fugacity_coefficient

despasito.thermodynamics.calc.mixture_fugacity_coefficient

mixture_fugacity_coefficient(P, T, xi, rho, Eos)[source]

Mixture fugacity coefficient d(ln(φ)) = np.sum(xi*ln(φi))

Parameters:
  • P (float) – [Pa] Pressure of the system

  • T (float) – [K] Temperature of the system

  • xi (numpy.ndarray) – Liquid mole fraction of each component, sum(xi) should equal 1.0

  • rho (float) – [mol/\(m^3\)] Molar density

  • Eos (obj) – An instance of the defined EOS class to be used in thermodynamic computations.

Returns:

fugacity_coefficient_mixture – fugacity coefficient of mixture

Return type:

float