MaximaLabs
All unit operations

Compressor simulation

1 inlet -> 1 outlet (raises vapor pressure)

Governing equations

The exact equations the solver works for a compressor — the same math shown in the app's "Theory" panel, not a black box.

S(T2s,P2)=S(T1,P1)(real-gas isentropic, solved for T2s)S(T_{2s}, P_2) = S(T_1, P_1) \quad(\text{real-gas isentropic, solved for } T_{2s})
T2=T1+T2sT1η,W=F(H(T2,P2)H(T1,P1))T_2 = T_1 + \frac{T_{2s}-T_1}{\eta},\qquad W = F\,(H(T_2,P_2) - H(T_1,P_1))
T
temperature [K]
P
pressure [Pa]
S
molar entropy [J/mol/K]
H
molar enthalpy [J/mol]
\eta
isentropic efficiency
W
shaft power [W]
F
molar flow [mol/s]

Parameters

outlet_pressure [Pa, > inlet]; efficiency [default 0.75]

Example flowsheets that use it

Stop fighting legacy software. Build your first flowsheet in 60 seconds.