lib.TBS module¶
- class lib.EoS.Cubic.TBS.TBS(T, P, mezcla, **kwargs)[source]¶
Bases:
CubicSalim modification of Trebble-Bishnoi cubic equation of state
\[\begin{split}\begin{array}[t]{l} P = \frac{RT}{V-b}-\frac{a}{V^2+(b+c)V+bc+d^2}\\ a = a_c \alpha\\ \alpha = 1 + m\left(1-\sqrt{T_r}\right) + p\left(\sqrt{0.7}-\sqrt{T_r}\right)\left(1-\sqrt{T_r}\right)\\ c = \frac{RT_c}{P_c}\left(1-3\zeta_c\right)\\ \end{array}\end{split}\]d, ζc, m and p are compound specific parameter available from [1] for several compounds, for other compound there are generalization correlation
\[\begin{split}\begin{array}[t]{l} d = v_c/3\\ \zeta_c = 1.063Z_c\\ m = 0.662 + 3.12\omega - 0.854\omega^2 + 9.3\left(Z_c-0.3\right)\\ p = 0.475 + 2.0\omega \; for M <= 128\\ p = 0.613 + 0.62\omega + 4.06\omega^2 \; for M > 128\\ \end{array}\end{split}\]This EoS remove the temperature dependence of co-volume parameter, b, to avoid negative values in isochoric heat capacity.
- _GEOS(xi)[source]¶
Definition of parameters of generalized cubic equation of state, each child class must define in this procedure the values of mixture a, b, delta, epsilon. The returned values are not dimensionless.
- Parameters:
- xilist
Molar fraction of component in mixture, [-]
- Returns:
- parameterslist
Mixture parameters of equation, a, b, c, d
- __lib(cmp, T)¶