Return liquid and gas composition at equilibrium, plus temperature and gas fraction
pure function twoPhasesFlash_phsX input String opt "indicates if e is enthalpy (h) or entropy(s)"; input AbsolutePressure p; input Real e; input Real z[subsNum]; output Temperature T; output Real x[subsNum]; output Real y[subsNum]; output Real gf; end twoPhasesFlash_phsX;