Phase diagram solution