Activity Coefficient Model Fitting for Binary Mixtures

A model fitting for Activity Coefficients of Binary Mixtures given Vapor-Liquid Equilibrium (VLE) Data

Download
Download

You are now following this Submission

Cite As

Robby Ching (2026). Activity Coefficient Model Fitting for Binary Mixtures (https://au.mathworks.com/matlabcentral/fileexchange/90302-activity-coefficient-model-fitting-for-binary-mixtures), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Thermodynamics and Heat Transfer in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.8

Added the following models:
NRTL
4-Suffix Margules
2-Suffix Margules
*The initial Margules model is 3-suffix (2 parameter model)

Download
1.0.7

Updated the index of RMS, now base on the number of data points from the VLE data.

Download
1.0.6

Fixed the SSE function. In the past versions, the evaluation works as: SSE(SSE(function)) since lsqnonlin already evaluates the SSE of the function. This has been fixed in this update.

Download
1.0.5

Syntax 2 using polyfit is now the open code instead of mvregress for margules.m and van laar.m so no need to download the statistics and machine learning toolbox.

Download
1.0.4

Update 2 on the Wilson, Van Laar and Margules Models

Download
1.0.3

Updated the documentation for Wilson, Van Laar and Margules.

Download
1.0.2

-Added a UNIQUAC model. All the models so far are still for isothermal conditions.
-Minor changes on Wilson, Van Laar, and Margules m files. There were indexes adjusted to n-1 instead of a value of 11.

Download
1.0.1

The only data to be loaded are x1, y1 and P.

Download
1.0.0

Download