strelokz / Pxy-diagram-for-mixtures

Computes the fugacity of a liquid mixture using the Peng-Robinson EOS and the Van Der Waals mixing rules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pxy diagram for chemical mixtures

This program computes the composition of the liquid and vapor phases of a mixture using the Peng-robinson EOS and the Van Der Waals mixing rules. The computed data is presented in a Pxy diagram for a single component.

This is an object oriented implementation using MATLAB code. The equations utilized for the calculations are from the textbook FUNDAMENTALS OF CHEMICAL ENGINEERING THERMODINAMICS, Themis Matsoukas.

Binary interaction parameters for the CO2 / n-pentane mixture from Sandler pag. 565. The computation gives a better aproximation to the real mixture properties if experimental binary parameters are used for the selected temperature.

For the CO2 / n-pentane mixture the scrip generates the following graph: screeshot

About

Computes the fugacity of a liquid mixture using the Peng-Robinson EOS and the Van Der Waals mixing rules.

License:MIT License


Languages

Language:MATLAB 100.0%