PolymathPlus Report
PolymathPlus Report
📈   Explicit Equations 2022-04-01 18:58 

# 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)


Calculated values of explicit variables

    Variable Value
1 V 0.065
2 Pc 72.9
3 R 0.08206
4 T 300
5 omega 0.225
6 Tc 304.2
7 a 3.6539244
8 b 0.02966755
9 m 0.82631219
10 alpha 1.0114811
11 P 96.128994
12 Tr 0.98619329
13 Pr 1.3186419
14 z 0.25381366

Formatted equations

  V = 0 . 0 6 5
  P c = 7 2 . 9
  R = 0 . 0 8 2 0 6
  T = 3 0 0
  ω = 0 . 2 2 5
  T c = 3 0 4 . 2
  a = 0 . 4 2 7 4 7 R 2 T c ( ) 2 P c
  b = 0 . 0 8 6 6 4 R T c P c
  m = + 0 . 4 8 5 0 8 1 . 5 5 1 7 1 ω 0 . 1 5 6 1 ω 2
  α = + 1 m 1 T T c 2
  P = R T V b α a V + V b ( )
  T r = T T c
  P r = P P c
  z = P V R T

General Settings

number of explicit equations: 14
reporting digits 10