fugacity_coefficients#
- class FugacityCoefficients[source]#
Abstract class for the estimation of fugacity coefficients. Non-abstract subclasses should implement the following methods:
- __init__(self, chemicals: Iterable[
Chemical
]): Should use pure component data from chemicals to setup future calculations of fugacity coefficients.
- __call__(self, y: 1d array, T: float, P:float):
Should accept an array of vapor molar compositions y, temperature T (in Kelvin), and pressure P (in Pascal), and return an array of fugacity coefficients. Note that the molar compositions must be in the same order as the chemicals defined when creating the FugacityCoefficients object.
- __init__(self, chemicals: Iterable[
- class IdealFugacityCoefficients(chemicals)[source]#
Create an IdealFugacityCoefficients object that estimates all fugacity coefficients to be 1 when called with composition, temperature (K), and pressure (Pa).
- Parameters:
chemicals (Iterable[
Chemical
])
- property chemicals#
tuple[Chemical] All chemicals involved in the calculation of fugacity coefficients.
- class PRTranslatedConsistentFugacityCoefficients(chemicals)#
- EOS#
alias of
PRMIXTranslatedConsistent
- class PRTranslatedPPJPFugacityCoefficients(chemicals)#
- EOS#
alias of
PRMIXTranslatedPPJP
- class PRTranslatedFugacityCoefficients(chemicals)#
- EOS#
alias of
PRMIXTranslated
- class SRKTranslatedConsistentFugacityCoefficients(chemicals)#
- EOS#
alias of
SRKMIXTranslatedConsistent
- class MSRKTranslatedFugacityCoefficients(chemicals)#
- EOS#
alias of
MSRKMIXTranslated
- class SRKTranslatedFugacityCoefficients(chemicals)#
- EOS#
alias of
SRKMIXTranslated