Return liquid and gas composition at equilibrium, plus the gas fraction
pure function twoPhasesFlash_pTX input AbsolutePressure p; input Temperature T; input Real z[subsNum]; output Real x[subsNum]; output Real y[subsNum]; output Real gf; end twoPhasesFlash_pTX;