function res = resPsat(T, P, sc)
T = T*sc.x;
res = (P-Psat(T))./sc.res;
