function Y = sumY_UNIQUAC2(T);
global l XU
% This function returns the vector of differences (1-sumY) at given values of 
% temperature (T), pressure (P) and liquid composition (X)

Y = UNIQUAC2(T);
Y = 1-sum(Y);