If I'm correct, one and the same EoS is used for both liquid and gas phase. I'm trying the classical Peng-Robinson equation to get pressure from temperature and density: when using values for the gas phase the result is great, but when using values for the liquid phase, the result is very big negative pressure. What am I missing? My alpha function is one-parameter Soave, oxygen at saturation point
Gas: T = 90.062 K, V = 0.22658 m3/kg, result = 1 bar
Liquid: T = 90.062 K, V = 0.00087581 m3/kg, result = -284 bar
May be the alpha function is different for gas and liquid phases?