Name | TDE.Margules.ActivityCoefficients |
---|---|
Comment | Activity coefficients model |
Variable GEX | Excess Gibbs energy |
Variable T | Temperature |
Variable x1 | Mole fraction of component 1 |
Variable x2 | Mole fraction of component 2 |
Parameter a | Array (0 to nTerms) |
Constant nTerms | Number of terms |
Constant R | Gas constant |
GEX/(R×T) = Σai×x1×x2×(x1 - x2)i, where the summation is from i = 0 to nTerms.