#
# Example of Vapour-Liquid-Liquid-Solid equilibrium calculation
#
# Revised: 17.07.2009
#
remove all;
units temperature K pressure Pa enthalpy J/mol entropy J/mol/K volume m3/mol
amounts mol viscosity Pas thcond W/m/K surten N/m diffusion m2/s;

puredata infodata;
bipdata OILANDGAS INFOBIPS;

bipset PRBIP 1;
model MPR pr PRBIP;
model Msol1 freezeout naphthalene MPR;
pd Gas vapour MPR;
pd Liquid1 liquid  MPR;
pd Solid1 condensed Msol1;

components butane pentane naphthalene;

amounts 0.4 0.4 0.2;
temperature 300;
pressure 1e5;
ptflash;
