function P2 = rhoEq(x,P)
Mmix = x(1); T2 = x(2); % Dynamic states
Mmwater = P(8);  R = P(9); Vmix = P(10); % Parameters


P2 = ((Mmix/Vmix)*R*T2)/Mmwater; % Computing pressure out of superheater
end

