Dejan,
reading your post it seems that you consider the constant volume procedure applicable to vapor state only,
but the blog shows an application of the method for vapor + liquid,
in fact Prode solves the V-P flash operation with multiphase equilibria, note that a free version is available...