lib.PRAlmeida module

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

Bases: PR

Peng-Robinson temperature dependence modification by Almeida et al.

\[\alpha = \exp\left(m\left(1-T_r\right)\left|1-T_r\right|^{\Gamma-1} + n\left(\frac{1}{Tr}-\right)\right)\]

where m, n and Γ are adjustable parameters compound specific get in [2]

_alfa(cmp, T)[source]

α parameter calculation procedure, separate of general procedure to let define derived equation where only change this term like the 1978 version.

This method use the original alpha formulation for temperatures below the critical temperature and the Boston-Mathias formulation for supercritical states.

The procedure return too the m parameters because it’s used in Helmholtz formulation

Parameters:
cmpcomponente.Componente

Componente instance

Tfloat

Temperature, [K]

Returns:
mfloat

m parameter of equation, [-]

alphafloat

Correlation for alpha expresion at supercritical temperatures: * 0 - Original * 1 - Boston-Mathias

References