Overview of Activity Coefficient Models
masterThermo provides several models to predict excess Gibbs energy and activity coefficients, which are used to correct Raoult's law for non-ideal phase equilibria (vapor-liquid or liquid-liquid).
All activity coefficient models inherit from the GibbsExcess base class. The available models include:
- Regression-based models (require literature or regressed coefficients):
NRTL(thermo.nrtl.NRTL)Wilson(thermo.wilson.Wilson)UNIQUAC(thermo.uniquac.UNIQUAC)
- Predictive models:
RegularSolution(thermo.regular_solution.RegularSolution): Based on solubility parameters and liquid molar volumes; does not implement temperature dependence.UNIFAC(thermo.unifac.UNIFAC): A group-contribution scheme that fragments molecules into interacting sections.
- Ideal model:
IdealSolution(thermo.activity.IdealSolution): A dummy class predicting zero excess Gibbs energy and activity coefficients of 1.