Note 2: The same model must be used for all binary sub-systems in order to calculate the properties of the ternary.
Note 3: Only vapor-liquid equilibrium (VLE) and liquid-liquid equilibrium (LLE) are considered.
Ψij = exp{-B(MainGroup(i),MainGroup(j)} is the UNIFAC interaction parameter between groups i and j. Qtype(k)is the UNIFAC parameter q for structural group k of the appropriate type. Parameters q and r for each component are calculated as the sum of q and r contributions from all structural groups.