模拟心得 MATERIAL STUDIO 中SORPTION 第一个课题是模拟金属有机框架和共价有机框架吸附CO2 以及分离CO2/CH4,使用的软件是Material studio,使用的是Sorption 模块,输入的是逸度
单组份求逸度的MATLAB程序,只需要在主程序窗 口输入function [rho,f] =PengRobinson(P1,T,N)(P1,T,N是具体的数值)就可以得到不同的压力和温度下的逸度
function [rho,f] =PengRobinson(P1,T,N) %+++++++++++++++++++++++++++++++++++++++++++++ %PengRobinson is used to calculate the density and fugacity of single %component gas at given pressure with Peng-Robinson equation
%PengRobinson v1
00 beta include the parameter of n-alkanes(1-5), CO2(6) %and CO(7)
%Where P1 means input pressure(kPa), T is temperature(K), N means the serial number of gas
rho %is density, f is fugacity
If you wanna calculate density and fugacity of methane at 300kPa, 298k,you %need input [rho,f] =PengRobinson(300,298,1)
%++++++++++++++++++++++++++++++