Activity Coefficient Model Fitting for Binary Mixtures

버전 1.0.8 (2.94 MB) 작성자: Robby Ching
A model fitting for Activity Coefficients of Binary Mixtures given Vapor-Liquid Equilibrium (VLE) Data
다운로드 수: 429
업데이트 날짜: 2021/6/27

라이선스 보기

NOTE: Requires Optimization toolbox for the wilson.m, nrtl.m, margules2suffix.m and margules4suffix.m to work
It includes the 2-parameter models Margules, Van Laar, and Wilson for the excess Gibbs' energy, and consequently, for the activity coefficients. VLE data for a binary mixture must be available. They are stored in the variables:
x1-equilibirum liquid mol. frac of component 1
y1-equilibirum vapor mol. frac of component 1
P-system pressure
Before running the wilson.m, van laar.m, and margules.m, make sure these variables are loaded. The saturation pressures of the pure species must also be provided. The programs will calculate model parameters, the root mean-square for performace comparison, and then plots the system pressure base on the model and compared with the given experimental data. The equations used for both programs are all based on the ones presented by Smith, Van Ness, Abbott, and Swihart in their book "Introduction to Chemical Engineering Thermodynamics (8th ed.)." The sample problem in the documentation also came from this book.
For the UNIQUAC, provide the structural and binary interaction parameters, as well as the Antoine Coefficients for the two components. The equations used are from Prausnitz, Lichtenthaler, and Gomes de Azevedo in their book "Molecular Thermodynamics for Fluid-Phase Equilibria (3rd ed)."

인용 양식

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

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Thermodynamics and Heat Transfer에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.8

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

1.0.7

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

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.

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.

1.0.4

Update 2 on the Wilson, Van Laar and Margules Models

1.0.3

Updated the documentation for Wilson, Van Laar and Margules.

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.

1.0.1

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

1.0.0