# Explicit Calculations # Gas pressure from SRK equation of state # Verified Solution: P = 96.129, z = 0.253814 # Ref.: Prob. 2.9 in Problem Solving in Chemical
P = R*T/(V-b)-alpha*a/(V*(V+b)) # Pressure (atm) a = 0.42747*R^2*Tc^2/Pc #SRK constant b = 0.08664*R*Tc/Pc #SRK constant alpha = (1+m*(1-sqrt(T/Tc)))^2 #SRK constant alpha m = 0.48508+1.55171*omega-0.1561*omega^2 #SRK constant m Tc = 304.2 #Critical temperature (K) Pc = 72.9 #Critical pressure (atm) R = 0.08206 #Gas constant (L-atm/gmol-K) omega = 0.225 #Acentric factor T = 300 #Temperature (K) V=0.065 # Volume (L/g-mol) #P = 100 #Pressure (atm) Tr=T/Tc Pr=P/Pc z=P*V/(R*T)