lib.PRSV module

class lib.EoS.Cubic.PRSV.PRSV(T, P, mezcla, **kwargs)[source]

Bases: Cubic

Peng-Robinson cubic equation of state with a modified dependence of temperature by Stryjek-Vera [1]

\[\begin{split}\begin{array}[t]{l} P = \frac{RT}{V-b}-\frac{a}{V\left(V+b\right)+b\left(V-b\right)}\\ a = 0.45747\frac{R^2T_c^2}{P_c}\alpha\\ b = 0.0778\frac{RT_c}{P_c}\\ \alpha^{0.5} = 1 + k\left(1-Tr^{0.5}\right)\\ k = k_0+k_1\left(1+\sqrt{T_r}\right)\left(0.7-T_r\right)\\ k_0 = 0.378893+1.4897153\omega-0.17131848\omega^2+0.0196554\omega^3\\ \end{array}\end{split}\]

\(k_1\) is a parameter characteristic to each compound given in [1] and [2]

Examples

Example 4.3 from [3], Propane saturated at 300K

>>> from lib.mezcla import Mezcla
>>> mix = Mezcla(5, ids=[4], caudalMolar=1, fraccionMolar=[1])
>>> eq = PRSV(300, 9.9742e5, mix)
>>> '%0.1f' % (eq.Vl.ccmol)
'86.8'
>>> eq = PRSV(300, 42.477e5, mix)
>>> '%0.1f' % (eq.Vg.ccmol)
'84.2'
_cubicDefinition(T)[source]

Definition of individual components coefficients

_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

_k(cmp, Tr)[source]

References