Hi everybody!
This is my first time asking a question, it is nice to meet you all!!
Now on to my question: For a project I am trying to calculate the residual enthalpy (or enthalpy departure) for a mixture of CO2/H2 with the PSRK EOS. I am comparing my results with the ASPEN V10 Plus process simulator. The problem is that my implementation (in Matlab) matches the results in Aspen accurately, but after yco2=0.25 I think the mixture begins to condensate (orange graph) but my EOS is not prediciting any liquid molar volume until about yco2=0.70. After that point the results coincide again perfectly with Aspen. Does anyone have an idea where my mistake is and why my implementation of the PSRK Eos only predicts one real solution for the gas phase?
Attached as a graph which compares the my calculation with Matlab and the one Aspen gives!
Thank you all very much in advance!
Cheers Lukas