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