Lee-Kesler-Plocker¶
The Lee-Kesler-Plocker package is a corresponding-states model: the mixture is represented by a simple and a reference fluid, each obeying a Benedict-Webb-Rubin equation, and its properties are interpolated with the mixture acentric factor. Its derivatives are the most involved of the packages, so every ingredient is written out below.
Mixture pseudo-critical rules¶
With the pair quantities
the mixture critical properties are
Hydrogen enters these rules with the effective (quantum-corrected) constants of Gunn, Chueh and Prausnitz, evaluated at the temperature of the calculation with the molar mass \(M\) (g/mol):
The hydrogen \(k_{jk}\) of the table go with these constants. A hydrogen pair missing from the table takes
with \(T_{c,k}\) in K and \(V_{c,k}\) in m3/kmol, fitted to the eleven hydrogen pairs of the table and to hydrogen solubilities in n-dodecane, benzene, toluene, cyclohexane and methylcyclohexane. Table values and values set by the user are kept. Because the hydrogen constants depend on temperature, the temperature derivatives of the fugacity coefficients are taken by finite differences when hydrogen is present.
Other pairs missing from the table get an estimate when one compound is a hydrocarbon (elements C and H only, or a petroleum fraction) and the other a lighter hydrocarbon, nitrogen or carbon monoxide, provided \(T_{c2}/T_{c1}\geq1.3\) (component 2 the heavier):
Carbon dioxide with a hydrocarbon of \(T_{c}\geq304.21\) K takes
with \(V_{c,k}\) in m3/kmol, and hydrogen sulfide the carbon dioxide value less 0.027. Equation [eq:d-lkp-hckij] fits the 87 hydrocarbon pairs of the table with an rms deviation of 0.011, and the nitrogen row within 0.02; both correlations were fitted to the table and to parameters regressed from about 800 solubility points of methane, ethane, nitrogen, carbon monoxide, carbon dioxide and hydrogen sulfide in heavy alkanes, aromatics and naphthenes. All other pairs take 1. Table values and values set by the user are never replaced, and the parameter editor shows the estimates.
Compressibility and fugacity coefficient¶
Each fluid (simple \(s\) and reference \(h\) , with its own constant set) gives a compressibility from the reduced volume \(V_{r}=P_{c}V/(RT_{c})\) , and the mixture interpolates with \(w_{h}=0.3978\) :
with \(B=b_{1}-b_{2}/T_{r}-b_{3}/T_{r}^{2}-b_{4}/T_{r}^{3}\) , \(C=c_{1}-c_{2}/T_{r}+c_{3}/T_{r}^{3}\) , \(D=d_{1}+d_{2}/T_{r}\) (the two fluid constant sets are the standard Lee-Kesler table). The component fugacity coefficient is built from the composition derivatives of the mixing rules,
where \(\ln\varphi_{m}\) is the mixture (corresponding-states) fugacity coefficient, \(\hat{H}=H_{m}^{\mathrm{dep}}M_{m}/(RT_{cm})\) the reduced enthalpy departure, \(\partial\ln\varphi_{m}/\partial w_{m}=(\ln\varphi^{(h)}-\ln\varphi^{(s)})/w_{h}\) , and
The pairwise mixing-rule derivatives are
Temperature derivative¶
Since \(T_{r}=T/T_{cm}\) and \(P_{r}=P/P_{cm}\) is constant in \(T\) , each fluid needs the Benedict-Webb-Rubin derivatives at fixed \(P_{r}\) . Writing the residual \(\mathcal{R}=P_{r}V_{r}/T_{r}-1-B/V_{r}-C/V_{r}^{2}-D/V_{r}^{5}-\phi_{4}=0\) with \(\phi_{4}=(c_{4}/T_{r}^{3}V_{r}^{2})(\beta+\gamma/V_{r}^{2})e^{-\gamma/V_{r}^{2}}\) , implicit differentiation gives
with \(B'=b_{2}/T_{r}^{2}+2b_{3}/T_{r}^{3}+3b_{4}/T_{r}^{4}\) , \(C'=c_{2}/T_{r}^{2}-3c_{3}/T_{r}^{4}\) , \(D'=-d_{2}/T_{r}^{2}\) . The single-fluid fugacity coefficient and its temperature derivative are
where \(E=\dfrac{c_{4}}{2T_{r}^{3}\gamma}\big[\beta+1-(\beta+1+\gamma/V_{r}^{2})e^{-\gamma/V_{r}^{2}}\big]\) . The mixture derivatives interpolate the two fluids, \(dz_{m}/dT_{r}=dz^{(s)}/dT_{r}+(w_{m}/w_{h})(dz^{(h)}/dT_{r}-dz^{(s)}/dT_{r})\) and likewise for \(d\ln\varphi_{m}/dT_{r}\) , and the component derivative assembles as
The reduced enthalpy-departure derivative is the only non-analytical ingredient and is taken by a tight central finite difference. The composition derivative differentiates the same fugacity expression through the pseudo-critical mixing rules; because those rules enter both directly and through the corresponding-states functions, a few mixture terms are likewise taken by finite differences, so the package uses a hybrid composition derivative.