Problem:
A pressurized vessel (V = 0.5 m3) contains 5 kg steam (H2O) at = 220°C. Calculate the pressure in the vessel
a) according to the ideal gas law
b) using the virial equation
c) using the Soave-Redlich-Kwong equation
d) using a high-precision equation of state
As obvious from the unit of the second virial coefficient B, the following form of the equation has to be used (Leiden form):
Solving the right hand side formulation for the pressure P using Symbolics - Variable - Solve leads to:
In case of the Redlich-Kwong-equation the parameters a and b need to be first calculated from the critical temperature and pressure
The second virial coefficient is directly fitted to PvT-data and therefor should give reliable results. On the other hand the total pressure is too high for a reliable calculation using only the second virial coefficient. Also in case of the SRK equation, the result might not be reliable at this high pressure.