A Method of Multi-phase Compositional Modeling under Sub- and Supercritical Thermodynamic Conditionsстатья