Development of a thermodynamically consistent, robust and efficientphase equilibrium solver and its validations