Return liquid and gas composition at equilibrium, plus temperature and gas fraction
pure function twoPhasesFlash_pThetaX input String opt "indicates if theta is in molar or mas basis"; input AbsolutePressure p; input SpecificEnthalpy theta; input Real z[subsNum]; output Temperature T; output Real x[subsNum]; output Real y[subsNum]; end twoPhasesFlash_pThetaX;