fugacity_coefficient

despasito.equations_of_state.saft.saft.EosType.fugacity_coefficient

EosType.fugacity_coefficient(P, rho, xi, T, dy=1e-05, log_method=True)[source]

Compute fugacity coefficient.

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

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

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

  • xi (list[float]) – Mole fraction of each component, sum(xi) should equal 1.0

  • log_method (bool, Optional, default=False) – Choose to use a log transform in central difference method. This allows easier calculations for very small numbers.

Returns:

fugacity_coefficient – Array of fugacity coefficient values for each component

Return type:

numpy.ndarray