1 Introduction

The special properties of supercritical fluids and their mixtures open up a wide range of possibilities for various technical applications. In this context, due to an easy availability at low cost, non-toxicity and outstanding solvent properties, CO\(_2\) in particular plays an important role in several industrial applications such as extraction and purification processes or supercritical drying [1]. Moreover, supercritical CO\(_2\) (sCO\(_2\)) gets an increasing attraction in the field of energy technology. Its favorable location of the critical point, close to typical ambient temperatures, combined with its high temperature stability allows a wide applicability to different energy sources of conventional and regenerative origin. The near critical properties like, e.g., high densities and low viscosities promise significant increases in efficiency while potentially reducing the complexity and size of individual components. This enables the reasonable and more complete use of available energy sources which are not or only partially usable with existing technologies. If, in addition, supercritical mixtures are used instead of pure CO\(_2\), further improvements may be possible for example by better adapting the location of the critical point to pre-given boundary conditions or by improving size and efficiency of key components (see e.g. [2,3,4,5]).

However, as even small amounts of admixture may have significant influence on its location [3], across all applications, the reliable prediction of the critical point of mixtures not only concerns blends of targeted compositions, but also unintentional mixtures for example caused by impurities. Moreover, it was already shown, that the involved equations of state and mixture models may have significant influence on the critical lines as well as on the overall results for technical applications in this region [3, 6,7,8,9]. At the same time, more and more mixtures are being considered for sCO\(_2\) power plant applications, for which no adjusted or only simple models exist (e.g. CO\(_2\)+Xe, CO\(_2\)+TiCl\(_4\), CO\(_2\)+SF\(_6\), cf. [3, 10,11,12]). Accordingly, calculation methods are required which, for a selected blend, allow to combine the best available models including predictive approaches and which can be applied easily within technical applications.

Based on the constraints on defining a critical phase stated by Gibbs in 1878 [13], a number of calculation procedures has been established over time. For instance, as an early work, Redlich and Kister [14] derived a basic calculation approach for binary mixtures based on the fugacity coefficients. Spear et al. [15, 16] calculated vapor-liquid critical states for binary and ternary mixtures by searching extremum pressures on the fluids instability curves using the Redlich-Kwong equation of state (EoS). Van Konynenburg and Scott [17] used the van der Waals equation to calculate critical lines and phase diagrams. Baker and Luks [18] presented an iterative method to solve the critical criteria using a modified version of the Redlich-Kwong EoS including methods to find appropriate starting values. As a frequently cited work, Heidemann and Khalil [19] reformulated the stability criteria in terms of an expansion of the Helmholtz free energy in a Taylor series. This leads to a sum-term formulation which significantly reduces the computational effort compared to earlier methods. By using the Soave-Redlich-Kwong (SRK) EoS, critical properties were calculated for selected examples of binary and higher order mixtures. Subsequently, this method was taken up by several authors. Michelsen and Heidemann [20] modified the original method to further reduce the computing time. Kolár and Kojima [21] extended the Heidemann and Khalil approach by the predictive Soave-Redlich-Kwong (PSRK) model [22, 23] including its analytical derivatives to predictively calculate multicomponent critical points for a total of 36 mixtures. Stockfleth and Dohrn [24] used the method by Heidemann and Khalil [19] including modifications by Michelsen [20] to compile an algorithm independent of specific equations of state and mixture models by relying on a numerical calculation of the derivatives. Example calculations were done for selected binary and ternary mixtures by an implementation of their algorithm in the commercial software tool ASPEN PLUS using the Peng-Robinson EoS and the SRK EoS combined with the PSRK model. Bell and Jäger [25] developed a method for calculating all critical points of mixtures using analytic derivatives of Helmholtz-energy-explicit mixture models. They found that multiparameter equations of state tend to have false solutions for the critical point criterion which complicates the evaluation of critical points for this type of EoS. Deiters and Bell [26] presented a robust method on calculating critical points by numerically integrating sets of differential equations. Critical lines for a selection of binary and ternary mixtures were calculated with different model combinations including the GERG 2008 model(s) [27] and the Peng-Robinson EoS. Applied to a selection of binary mixtures of hydrocarbons in a subsequent work [28], they could show unphysical behavior of several model combinations as also mentioned in the work of Bell and Jäger [25]. This in turn emphasizes the need for a reliable implementation of a critical point algorithm, allowing the best possible freedom in the selection and combination of different EoS and mixture models.

Related to this, this paper presents the implementation of a critical point algorithm in the thermodynamic property software TREND [29], which has been developed under the lead of Prof. Roland Span at Ruhr-University Bochum, and its application to a selection of CO\(_2\) mixtures recently considered for power plant applications. Herein, emphasis was placed on its flexible usability with the EoS and mixture models available in TREND, and particularly with regard to the applicability of higher-order predictive approaches. Based on the method of Heidemann and Khalil [19], as well as on the additions of Michelsen [30] and Stockfleth and Dohrn [24], a completely numerical approach was chosen and extended in terms of numerical stability. Applied to a selection of CO\(_2\) mixtures, the algorithm was validated for different mixture models and equations of state. In addition, the calculated critical points of several EoS and mixture models were compared to each other. Critical lines calculated with the combination of the multi-fluid mixture model and the excess Gibbs energy (\(g^\text {E}\)) model COSMO-SAC are published for the first time in this article.

1.1 Fluid Modeling

Due to the full integration of the algorithm into the thermodynamic property software TREND [29] and the use of numerical derivatives, all EoS and mixture models which are available in the software can be used for calculating critical lines. Out of these, in this work, multiparameter equations of state as well as the Soave-Redlich-Kwong (SRK) equation of state were used in combination with the multi-fluid mixture model, standard SRK mixing rules and the excess Gibbs energy (\(g^\text{E}\)) model COSMO-SAC. With reference to this, these models are briefly introduced in the following section.

Multiparameter equations of state formulated in the dimensionless Helmholtz energy \(\alpha\) are currently the most advanced method for accurate modeling of thermodynamic properties [31]. On the basis of empirically obtained parameters fitted to a preferably huge database of experimental values, they intend to represent all experimental data within the measurement uncertainty. The dimensionless Helmholtz energy \(\alpha\) is usually composed of an ideal gas term \(\alpha ^0\) and a residual term \(\alpha ^\text {r}\) which accounts for the deviation from the ideal fluid model:

$$\begin{aligned} \dfrac{\alpha }{RT}=\alpha (\tau ,\delta )=\alpha ^0(\tau ,\delta )+\alpha ^\text {r}(\tau ,\delta ) \end{aligned}$$
(1)

Herein, \(\tau\) and \(\delta\) are, respectively, the reciprocal reduced temperature and reduced density,

$$\begin{aligned} \tau =\dfrac{T_\text {c}}{T}; \qquad \delta = \dfrac{\rho }{\rho _\text {c}} \end{aligned}$$
(2)

in which T denotes the temperature, \(\rho\) the molar density and, indicated by the subscript c, their respective values at the critical point. While \(\alpha ^0\) can be obtained from experimental or simulated data of the isobaric heat capacity (or isochoric heat capacity or speed of sound data) in combination with the ideal gas law, \(\alpha ^\text {r}\) consists of different sets of empirical terms (polynomial terms, exponential terms, Gaussian-bell shaped terms, and non-analytical terms), which are fitted to experimental data.

Whereas for the multiparameter equations of state a sufficient experimental basis must be available, cubic equations of state, including the SRK, typically only require the knowledge of the critical quantities (i.e. \(T_\text {c}\), \(\rho _\text {c}\)) and the acentric factor \(\omega\). Within TREND, the SRK EoS is included on the basis of the residual dimensionless Helmholtz energy \(\alpha ^\text {r}\), which, as described by Bell and Jäger [32], reads:

$$\begin{aligned} \alpha ^\text {r}=-\text {ln}\left( 1-b\delta \rho _\text {c}\right) -\dfrac{\tau a}{RT_\text {c}}\dfrac{\text {ln}\left( b\rho _{c}\delta +1\right) }{b} \end{aligned}$$
(3)

where a and b are constants to account for the attractive interaction between the molecules and the volume occupied by the molecules, respectively. A more detailed description can be found in the work of Bell and Jäger [32].

Besides equations of state to represent the pure fluid properties, adequate mixture models are required. Analogously to the multiparameter EoS for pure fluids, the multi-fluid mixture model can be considered as the actual state of the art to model the behavior of mixtures [27, 33]. Based on the works of Lemmon and Tillner-Roth [34], Kunz et al. [27, 33], Gernert and Span [35] and Herrig [36], its implementation in TREND has the form

$$\begin{aligned} \begin{aligned} \alpha (\tau ,\delta ,\varvec{\textbf{x}})&=\sum ^N_{i=1}x_i\left[ \alpha ^0_{\text {o}i}(\rho ,T)+\text {ln}(x_i)+\alpha ^\text {r}_{\text {o}i}(\tau ,\delta )\right] \\&+\sum ^{N-1}_{i=1}\sum ^{N}_{j=i+1}x_i x_j F_{ij} \alpha _{ij}^\text {r}(\tau ,\delta ) \end{aligned} \end{aligned}$$
(4)

where \(\alpha\) is the dimensionless Helmholtz energy, \(\varvec{\textbf{x}}\) the composition vector of the mixture with \(x_i\) denoting the molar fraction of the component i, and N is the total number of components of the mixture. \(\alpha ^0_{\text {o}i}\) describes the ideal gas contribution for each component, depending on the temperature T and the molar density \(\rho\). Similarly, \(\alpha ^\text {r}_{\text {o}i}\) denotes the residual part of the dimensionless Helmholtz energy of the component i, which can be gained by any equation of state formulated in terms of the residual dimensionless Helmholtz energy, such as the aforementioned multiparameter EoS or, i.e., referring to Eq. 3, simpler formulations such as cubic EoS, see, e.g., [7]. Furthermore, \(\alpha _{ij}^\text {r}\) is the binary specific departure function of the component-tuple ij with \(F_{ij}\) as a parameter and, as before, \(\tau\) and \(\delta\) represent reduced temperature and reduced density:

$$\begin{aligned} \tau =\dfrac{T_\text {r}}{T}; \qquad \delta = \dfrac{\rho }{\rho _\text {r}} \end{aligned}$$
(5)

However, unlike the equations of state for pure fluids (cf. Equation 2), the reducing temperature \(T_\text {r}\) and the reducing density \(\rho _\text {r}\) do not directly correspond to the critical properties but are formulated as a function of the composition of the mixture, i.e., according to Klimeck [37] and Kunz et al. [27, 33]:

$$\begin{aligned} T_\text {r}=\sum _{i=1}^{N}\sum _{j=1}^{N} x_i x_j \beta _{T,ij} \gamma _{T,ij}\dfrac{x_i+x_j}{\beta ^2_{T,ij}x_i+x_j}\sqrt{T_{\text {c},i}T_{\text {c},j}} \end{aligned}$$
(6)

and

$$\begin{aligned} \rho _\text {r}= \left( \sum _{i=1}^{N}\sum _{j=1}^{N}x_i x_j \beta _{v,ij} \gamma _{v,ij}\dfrac{x_i+x_j}{\beta ^2_{v,ij}x_i+x_j} \frac{1}{8} \left( \rho _{\text {c},i}^{-1/3}+\rho _{\text {c},j}^{-1/3}\right) ^{3}\right) ^{-1} \end{aligned}$$
(7)

\(\beta _{T,ij}\), \(\gamma _{T,ij}\), \(\beta _{v,ij}\) and \(\gamma _{v,ij}\) are adjustable parameters, which can be fitted to experimental data for the respective binary mixture of components i and j.

Referring to the cubic equations of state and in particular to the SRK, the standard representation of mixtures is carried out by applying mixing rules to the parameters a and b. As described by Bell and Jäger [32], a is modeled by a quadratic mixing rule:

$$\begin{aligned} a_{\text {mix}}(T,\vec{\varvec{x}}) = \sum _{i=1}^{N} \sum _{j=1}^{N} x_i x_j a_{ij}(T) \end{aligned}$$
(8)

with

$$\begin{aligned} a_{ij}(T)=\left( 1-k_{ij}\right) \sqrt{a_{ii}(T)a_{jj}(T)} \qquad \vert \qquad k_{ij} = 0 \; \text {for}\; i=j \end{aligned}$$
(9)

where \(k_{ij}\) is a binary interaction parameter which has to be fitted to experimental data or alternatively may be set to zero for predictive use. b is modeled by a simple linear mixing rule only based on the molar fraction \(x_i\) of each component:

$$\begin{aligned} b_{\text {mix}}=\sum _{i=1}^{N} x_i b_{ii} \end{aligned}$$
(10)

Equivalently to setting \(k_{ij}\) to zero for the SRK, also the multi-fluid mixture model may be used predictively, if no adjusted parameters are available.

At its most basic level, \(T_\text {r}\) and \(\rho _\text {r}\), needed for the multi-fluid mixture model, can be evaluated either by linear mixing rules:

$$\begin{aligned} T_\text {r}=\sum _{i=1}^{N} x_i T_{\text {c},i}; \qquad \qquad \rho _\text {r}=\left( \sum _{i=1}^{N}x_i \dfrac{1}{\rho _{\text {c},i}}\right) ^{-1} \end{aligned}$$
(11)

or by Lorentz-Berthelot combining rules by setting \(\beta _{T,ij}\), \(\gamma _{T,ij}\), \(\beta _{v,ij}\) and \(\gamma _{v,ij}\) in Eqs. 6 and 7 to unity each. Note that the departure function \(\alpha _{ij}^\text {r}(\tau ,\delta )\) in Eq. 4 is omitted in both cases. However, as for example shown by Jäger et al. [38, 39] or Rath et al. [3], linear mixing rules or Lorentz-Berthelot combining rules typically don’t yield good results. Connected with this, and to increase the predictive capabilities of the multi-fluid mixture model, Jäger et al. [38, 39] proposed a combination with excess Gibbs energy (\(g^\text {E}\)) models, which results in a predictively applicable, theoretically based departure function. Referring to the original formulation of the multi-fluid mixture model shown in Eq. 4, this results in

$$\begin{aligned} \begin{aligned} \alpha (\tau ,\delta ,\vec{\varvec{x}})&=\sum ^N_{i=1}x_i\left[ \alpha ^0_{\text {o}i}(\rho ,T)+\text {ln}(x_i)+\alpha ^\text {r}_{\text {o}i}(\tau ,\delta )\right] \\&+\dfrac{\text {ln}\left( 1+b\rho \right) }{\text {ln}\left( 1+b\rho _\text {ref}\right) }\left[ \dfrac{g_{\text {GE}}^{\text {E,r}}}{RT} -\sum _{i=1}^{N}x_i\left[ \alpha _{\text {o},i}^\text {r}(\delta _\text {ref},\tau )- \alpha _{\text {o},i}^\text {r}(\delta _{\text {ref},i},\tau _i)\right] \right] \end{aligned} \end{aligned}$$
(12)

where the second term has been replaced by the theoretically based formulation of the departure function, in which \(g_{\text {GE}}^{\text {E,r}}\) is the residual part of the excess Gibbs energy, which can be calculated by arbitrary excess Gibbs energy models such as COSMO-SAC or UNIFAC. Furthermore, b denotes the co-volume of the mixture, \(\rho _\text {ref}\) the density of the mixture at the reference pressure of \(p_0=101325\) Pa, given as a linearly mixed composition of the respective reference density of each component. The reduced properties are given by \(\delta _{\text {ref}}=\rho _\text {ref}/\rho _\text {r},\) \(\delta _{\text {ref},i}=\rho _{\text {ref},i}/\rho _{\text {c},i}\), and \(\tau _i=T_{\text {c},i}/T\). A more detailed description of the model can be found in the works of Jäger et al. [38, 39].

Within this work, the COSMO-SAC model and its extended COSMO-SAC-dsp version, both by Hsieh et al. [40, 41] were used to calculate the residual part of the excess Gibbs energy \(g_{\text {GE}}^{\text {E,r}}\). Both models are improved versions of the original formulation by Lin and Sandler [42, 43], which is based on the conductor-like screening model (COSMO) and the conductor-like screening model for real solvents (COSMO-RS) developed by Klamt and coworkers [44, 45]. Herein, the basic idea is to calculate surface screening charges \(\sigma\) of the molecules, which are then averaged over a finite amount of standard surface elements m, resulting in a set of standard surface charges \(\sigma _m\). The probability \(p_i(\sigma _m)\) of finding a surface with a defined charge \(\sigma _m\) on a molecule i is then described by taking into account the bonding influences of the molecule. Hsieh et al. [40] used a split-up profile in their model by considering surface elements that are non-hydrogen-bonding groups (nhb), hydrogen-bonding hydroxyl groups (OH), and hydrogen-bondings due to other relatively strongly charged atoms (OT) for each molecule:

$$\begin{aligned} p_i(\sigma ) = p_i^{\text {nhb}}(\sigma ) + p_i^{\text {OH}}(\sigma ) + p_i^{\text {OT}}(\sigma ). \end{aligned}$$
(13)

The sigma-profiles are an input to the COSMO-SAC model and therefore sigma-profiles calculated from COSMO-calculations need to be available to apply the model. In this work, the sigma-profiles provided in the open-source implementation of COSMO-SAC by Bell et al. [46] have been used. In a mixture, the mixed sigma-profile can be calculated from the sigma-profiles of the components that the mixture consists of in the following way:

$$\begin{aligned} p_{\text {S}}(\sigma )=\dfrac{\sum _{i=1}^{N} x_i A_i p_i(\sigma )}{\sum _{i=1}^{N} x_i A_i}. \end{aligned}$$
(14)

On this basis, segment activity coefficients \(\Gamma _i^t\) and \(\Gamma _{\text {S}}^t\) are calculated, for which the sigma-profiles of the pure components \(p_i(\sigma )\) and the sigma-profiles of the mixture \(p_{\text {S}}(\sigma )\) are required, respectively. Note that the superscript t stands for either nhb, OH, or OT. The residual activity coefficients \(\gamma ^\text {r}_{i,\text {S}}\) for each component i in the mixture can then be obtained according to:

$$\begin{aligned} \text {ln}\left( \gamma ^\text {r}_{i,\text {S}}\right) = n_i \sum _{t}^{\text {nhb,OT,OH}} \sum _{\sigma _{\text {m}}}p_i^t(\sigma _{\text {m}}^t) \left[ \text {ln}\left( \Gamma _{\text {S}}^t\sigma _{\text {m}}^t\right) -\text {ln}\left( \Gamma _i^t\sigma _{\text {m}}^t\right) \right] . \end{aligned}$$
(15)

Finally, the residual part of the excess Gibbs energy \(g_{\text {GE}}^{\text {E,r}}\) results from a summation of the molar fraction weighted natural logarithm of residual activity coefficients \(\gamma ^\text {r}_\text {S}\) for each component:

$$\begin{aligned} g_{\text {GE}}^{\text {E,r}}=RT\sum _{i=1}^{N}x_i\text {ln}(\gamma ^\text {r}_{i,\text {S}}). \end{aligned}$$
(16)

A more detailed description of the model can be found in the works of Lin and Sandler [42, 43] and Hsieh et al. [40, 41] as well as in the work by Klamt und Schüürmann [44] for the calculation of the sigma profiles.

Hsieh et al. [41] extended the model of Hsieh et al. [40] by additionally considering the dispersive interactions between the molecules using a dispersion parameter \(\varepsilon\), which is used to calculate a parameter A with which activity coefficients can be calculated using a simple one-constant Margules approach for a binary mixture consisting of components 1 and 2

$$\begin{aligned}{} & {} \text {ln}\left( \gamma ^\text {dsp}_{1,\text {S}}\right) =A \cdot x_2^2 \end{aligned}$$
(17)
$$\begin{aligned}{} & {} \text {ln}\left( \gamma ^\text {dsp}_{2,\text {S}}\right) =A \cdot x_1^2 \end{aligned}$$
(18)

The residual part of the excess Gibbs energy can then be obtained as follows

$$\begin{aligned} g_{\text {GE}}^{\textrm{E,r}}=RT\sum _{i=1}^{N}x_i\left[ \text {ln}(\gamma ^\text {r}_{i,\text {S}}) + \text {ln}\left( \gamma ^\text {dsp}_{i,\text {S}}\right) \right] . \end{aligned}$$
(19)

For more details regarding the dsp extension of COSMO-SAC, the interested reader is referred to the article of Hsieh et al. [41].

2 Model Formulation

2.1 Method of Heidemann and Khalil

Heidemann and Khalil [19] reformulated the Gibbs definition of stability criteria by a Taylor series for the Helmholtz free energy A, resulting in a combination of two summation terms:

$$\begin{aligned} \begin{aligned} \left[ A-A_0-\sum _{i=1}^{N}\mu _{i,0}\Delta n_i\right] _{T_0,V_0}&= \dfrac{1}{2!}\sum _j\sum _i\left( \dfrac{\delta ^2A}{\delta n_j\delta n_i}\right) _{T_0,V_0} \Delta n_i\Delta n_j\\&+ \dfrac{1}{3!}\sum _k\sum _j\sum _i\left( \dfrac{\delta ^3A}{\delta n_k\delta n_j\delta n_i}\right) _{T_0,V_0} \Delta n_i\Delta n_j\Delta n_k \end{aligned} \end{aligned}$$
(20)

Herein, the stability of multiple coexisting phases is given for all positive results for any changes in the mole number \(\Delta n\) of each component compared to the initial state denoted by the subscript 0. A critical point is found for the stability limit at any resulting zero value of the whole expression. As this leads to a positive-semidefiniteness of the quadratic form, implying its determinant to be greater or equal than zero, each of the two summation terms in Eq. 20 must equate to zero. For the first part, i.e., the double sum, this leads to the following equivalent conditions:

$$\begin{aligned} \text {det}\left( {\varvec{Q}}\right) = 0 \;\;\;\;\; \textrm{and} \;\;\;\;\; {\varvec{Q}}\cdot \Delta {\varvec{n}}=0, \end{aligned}$$
(21)

where \({\varvec{Q}}\) is a matrix defined by:

$$\begin{aligned} q_{ij} = \left( \dfrac{\delta ^2A}{\delta n_j\delta n_i}\right) _{T_0,V_0}, \end{aligned}$$
(22)

and \(\Delta {\varvec{n}}\) is a unique vector (except its scalar multiples), which is represented by the differences in the mole numbers for each component:

$$\begin{aligned} \Delta {\varvec{n}} = [\Delta n_1, \Delta n_2, \cdots , \Delta n_m]^\text {T}. \end{aligned}$$
(23)

As a second part, for an existing vector \(\Delta {\varvec{n}}\), the second summation term of Eq. 20 must be zero. In order to avoid higher order partial derivatives, referring to the work of Michelsen [30], the triple sum term can be reformulated to:

$$\begin{aligned} \sum _k\sum _j\sum_i \Delta n_i\Delta n_j\Delta n_k\left( \dfrac{\delta ^3A}{\delta n_k\delta n_j\delta n_i}\right) _{T_0,V_0}&= \sum _i\sum _j \Delta n_i\Delta n_j\left[ \sum _k \Delta n_k \left( \dfrac{\delta ^3A}{\delta n_k\delta n_j\delta n_i}\right) _{T_0,V_0} \right] \\&= [...] =\Delta {\varvec{n}}^\text {T} \varvec{Q^*} \Delta {\varvec{n}} \end{aligned}$$
(24)

In which the resulting second matrix \(\varvec{Q^*}\) is a partial composition derivative of \({\varvec{Q}}\) with its entries:

$$\begin{aligned} q^*_{ij} = \lim _{s\rightarrow 0}\left( \dfrac{\delta \left[ q_{ij}({\varvec{n}}+s\cdot \Delta {\varvec{n}}, T, V)\right] }{\delta s}\right) , \end{aligned}$$
(25)

and s denoting a small factor to get an infinitesimally small change in the composition. Consequently, complementing the conditions of the double sum in Eq. 21, the third condition for a critical point results from Eq. 24 in:

$$\begin{aligned} \Delta {\varvec{n}}^\text {T} \varvec{Q^*} \Delta {\varvec{n}} = 0 \end{aligned}$$
(26)

2.2 Numerical Derivation of the Matrix Elements

By using thermodynamic identities, as also mentioned by Heidemann and Khalil [19], the second derivative of the Helmholtz free energy by the mole numbers from Eq. 22 can be expressed in terms of fugacity:

$$\begin{aligned} \left( \dfrac{\delta ^2A}{\delta n_j\delta n_i}\right) _{T,V} = RT\left( \dfrac{\delta \textrm{ln} f_i}{\delta n_j}\right) _{T,V} \end{aligned}$$
(27)

As the multiplication of a matrix by scalars (here RT) does neither influence the root of its determinant \((\text {det}\left( {\varvec{Q}}\right) =0)\) nor the solution of the system of linear equations, i.e., given by the second condition in Eq. 21, the elements of \({\varvec{Q}}\) from Eq. 22 can be reduced to:

$$\begin{aligned} q_{ij} = \left( \dfrac{\delta \textrm{ln} f_i}{\delta n_j}\right) _{T,V} \end{aligned}$$
(28)

Since now only one partial derivation is necessary, and following the work of Stockfleth and Dohrn [24], this can readily be done numerically using finite differentiation schemes with a finite increment h, e.g., in one of its simplest formulations, in terms of a first order forward differentiation step:

$$\begin{aligned} \left( \dfrac{\delta \textrm{ln} f_i}{\delta n_j}\right) _{T,V} \approx \dfrac{\textrm{ln}\left[ f_i(T,\tilde{v}=\frac{v}{1+kh},\varvec{\tilde{x}}=\frac{\varvec{\tilde{n}}}{1+kh})\right] -\textrm{ln}\left[ f_i(T,v,{\varvec{x}})\right] }{kh}, \end{aligned}$$
(29)

in which \(\varvec{\tilde{n}}\) is the normalized vector of mole numbers of the individual components, with the component \(n_j\) being increased by the k-multiple of the increment h. Adequately, sticking to the example of a first order forward differentiation step, also Eq. 25 can be expressed by finite differentiation depending on the entries of \({\varvec{Q}}\):

$$\begin{aligned} q^*_{ij} \approx \dfrac{q_{ij}(T,\tilde{\tilde{v}},\varvec{\tilde{\tilde{n}}})-q_{ij}(T,v,{\varvec{n}})}{kh^*}. \end{aligned}$$
(30)

Herein, the double tilde notations refer to a simultaneous variation of all mole numbers by a k-multiple of a small change in the mole number variation \(\Delta {\varvec{n}}\) and the respective adaption in the specific volume (\(\tilde{\tilde{v}}\)) referring to the requirement of a constant total volume V.

$$\begin{aligned} \varvec{\tilde{\tilde{n}}} = \left( x_i+kh^*\cdot \dfrac{\Delta n_i}{\sum {\varvec{n}}}\right) \cdot \sum {\varvec{n}} \qquad \qquad \tilde{\tilde{v}} = v \left( \dfrac{\sum {\varvec{n}}}{\sum \varvec{\tilde{\tilde{n}}}}\right) \end{aligned}$$
(31)

Both differentiations can be extended to higher-order differentiation schemes for a better accuracy on cost of an increase in the computational effort. For example, Stockfleth and Dohrn [24] propose a five-point central differentiation step scheme while, in the context of this work, central differentiation step schemes up to seven points were used. Apart from that, a significant reduction in computation time can be achieved by taking advantage of the symmetry of matrices \({\varvec{Q}}\) and \(\varvec{Q^*}\). As this implies that \(q_{ij}\hat{=}q_{ji}\) and \(q^*_{ij}\hat{=}q^*_{ji}\), it is only necessary to calculate either the upper or lower triangular matrix, which can then be mirrored across its diagonal.

2.3 Numerical Calculation Procedure

Fig. 1
figure 1

Flowchart of the algorithm including its connection to existing TREND routines

Figure 1 shows a flowchart of the algorithm and how it’s connected to the standard TREND routines. Following the procedure of Heidemann and Khalil [19], the calculation is carried out in two nested iteration loops. Therein, starting from adequate initial values, both terms of the sum are evaluated iteratively until all critical conditions are fulfilled within preset error tolerances. As the reliable convergence of the method depends particularly on the choice of appropriate starting values (cf. e.g. [19, 24, 30]), in a first step, \(T_{\textrm{c,guess}}\) and \(v_{\textrm{c,guess}}\) of the mixture are estimated if they were not explicitly given within the model definition when calling the routine. Herein, the critical temperature is estimated as proposed by Li [47] as the critical volumetric average of the critical temperatures of its components.

$$\begin{aligned} T_\textrm{c, guess} = \sum _{i=1}^{n} \phi _{\textrm{c},i} \cdot T_{\textrm{c},i} \qquad \textrm{with} \qquad \phi _{\textrm{c},i} = \dfrac{v_{\textrm{c},i}\cdot x_\textrm{i}}{\sum _{i=1}^n v_{\textrm{c},i}\cdot x_i} \end{aligned}$$
(32)

Please note that the sum sign in the denominator in the formula for \(\phi _{\textrm{c}i}\) is missing in the original source. The critical molar volume is simply estimated by linear mixing based on the mass-fractions of the individual components:

$$\begin{aligned} v_\textrm{c, guess} = \sum _{i=1}^{n} y_i v_{\textrm{c},i}. \end{aligned}$$
(33)

Furthermore, it can be noted that Heidemann and Khalil [19] recommended setting the initial guess for \(T_\textrm{c}\) to a sufficiently (too) high value by additionally multiplying it by 1.5. Related to this, the parameter \(f_T\) is provided within the implementation, allowing to multiply the temperature guess at each call of the inner routine by a freely configurable factor:

$$\begin{aligned} T_\textrm{c, guess,0} = T_\textrm{c, guess} \cdot f_T \quad \vert \quad f_T\ge 1.0. \end{aligned}$$
(34)

However, within the calculations carried out in this work, the estimated values for \(T_\textrm{c}\) by Eq. 32 were mostly sufficient without an additional multiplication by \(f_T\). Additionally, a similar factor \(f_v\) is provided, equivalently allowing to alter the initial volume guess within the first call of the outer iteration loop.

Starting with an adequate initial value \(T_\textrm{c, guess,0}\), and following the flowchart in Fig. 1, the first sum term is evaluated recurrently by iteratively correcting \(T_\text {c}\) until the first critical condition (cf. Eq. 21) is met, i.e., until the determinant of \({\varvec{Q}}\) equals to zero within a preset error tolerance. While past studies mostly rely on Newton’s method (1st order) for the correction of \(T_\textrm{c}\) (and \(v_\textrm{c}\)), within this work, 2nd and 3rd order Householder methods were used:

$$\begin{aligned} \Delta T_\text {c}= & {} -\dfrac{2f(T_\text {c})a'(T_\text {c})}{2(f'(T_\text {c}))^2-f(T_\text {c})f''(T_\text {c})} \quad \text {(2nd order, Halley's method)} \end{aligned}$$
(35)
$$\begin{aligned} \Delta T_\text {c}= & {} -\dfrac{6f(T_\text {c})f'(T_\text {c})^2-3f(T_\text {c})^2f''(T_\text {c})}{6f'(T_\text {c})^3-6f(T_\text {c})f'(T_\text {c})f''(T_\text {c})+f(T_\text {c})^2f'''(T_\text {c})} \quad \text {(3rd order)}, \end{aligned}$$
(36)

in which \(f(T_\text {c})_i=\text {det}\left( {\varvec{Q}}\right) _i\) for the actual iteration i, while \(f'\), \(f''\) and \(f'''\) are the respective first, second, and third order derivatives. Analogous to the derivation of the matrix elements \(q_{ij}\), these were evaluated numerically using central differentiation step schemes up to a five-point stencil. In most cases of the model configurations studied here, the increased computational effort resulting from the need for second and third order derivations was compensated by a significantly better convergence and thus fewer iterations. Furthermore, especially for the \(g^\text {E}\) based mixture models, this resulted in a remarkable increase in stability as higher order methods tend to overestimate less in early iterations. Additionally, a relaxation factor \(\psi _T\) is used which limits the rate of change in the values for \(T_\text {c}\) which also leads to an increased stability, especially when the guess value is relatively far away from the iteration result. In this way, the value for the next iteration step can be obtained as follows:

$$\begin{aligned} T_{\text {c},n+1} = T_{\text {c},n} + \psi _T\cdot \Delta T_\text {c} \end{aligned}$$
(37)

In order not to slow down the convergence too much, the factor is dynamically adjusted via the actual error and the targeted error tolerance:

$$\begin{aligned} \psi _{T/v} = \textrm{max}\left( \dfrac{1}{1+50\cdot \vert \text {err}-\text {errTol}\vert }, 0.50\right) . \end{aligned}$$
(38)

Thus, on the one hand, the factor is bounded downwards toward a preset value (i.e., 0.50) and on the other hand, with a decreasing value for the error, it approaches 1, i.e., resulting in an unrelaxated iteration. It should be noted that the value of 0.50 used as the lower limit to bound the relaxation is rather conservative. This value can be set freely as an input parameter in the implemented routines if desired, e.g. to a higher value for faster convergence.

After a suitable value for \(T_\text {c}\) is found in the inner loop, a vector \(\Delta {\varvec{n}}\) is calculated by searching a non-trivial solution for the system of linear equations given by the second critical condition in Eq. 21. Subsequently, continuing the outer loop, \(\varvec{Q^*}\) is compiled and used in combination with \(\Delta {\varvec{n}}\) to evaluate the third critical condition given by Eq. 26. If the resulting value is not within the set error tolerance, \(v_\text {c}\) is adjusted analogously to the iterative correction of \(T_\text {c}\) described by Eqs. 3538 and by replacing \(a(T_\text {c})_n\) by \(a(v_\text {c})_n=\Delta {\varvec{n}}^\text {T} \varvec{Q^*} \Delta {\varvec{n}}\) (cf. Equation 26). The new value is then used for a new run including the inner loop until a resulting combination of values for \(T_\text {c}\) and \(v_\text {c}\) is found by which all three critical conditions are satisfied. Finally, the critical pressure \(p_\text {c}\) and the critical density \(\rho _\text {c}\) are evaluated using the selected combination of EoS and mixture model.

As can be seen in the flowchart in Fig. 1, the algorithm makes use of several standard routines of the software TREND at a total of three positions. When composing the matrices \({\varvec{Q}}\) and \(\varvec{Q^*}\) within the iteration loops, fugacities are calculated by

$$\begin{aligned} f_i = \phi _i(T, \rho , \varvec{\textbf{x}}) \cdot p(T, \rho , \varvec{\textbf{x}}) \cdot x_i, \end{aligned}$$
(39)

where \(\phi _i\) denotes the fugacity coefficient provided by the routines FUGCOPURE_CALC and FUGCO_CALC_MIX and p is the pressure calculated by calling P_calc. Furthermore, in the last step, P_calc is used to calculate the critical pressure from the resulting values for \(T_\text {c}\) and \(v_\text {c}\).

For the calculation of entire critical lines (of type I mixtures according to the classification of mixtures given by Scott and van Konynenburg [48]) calculations can be started at the critical point of a pure component tracing the entire critical line to the critical point of the other component. A suitably small step size needs to be set and the calculation results (or the pure component values) of the last iteration step can be used as the initial guess for the next point on the line.

The implementation of the algorithm in TREND can be used in two core routines for the calculation of single critical points (CRIT_PROPS) or complete critical lines, resp. areas/data sets for mixtures of higher order (CRIT_LINE). A description of the interfaces, including sample calls, is available in the supplementary material.

3 Calculation of Critical Lines for Selected Mixtures

To validate the functionality of the routine and for comparison of the different fluid models, the routine was applied to a selection of binary CO\(_2\)-mixtures recently considered as additives for sCO\(_2\) power cycles. As a first group, the alkanes up to hexane were selected. For example Conboy et al. [12] considered the admixture of n-butane (C\(_4\)H\(_{10}\)) to sCO\(_2\) for geothermal applications. Valencia-Chapi et al. [5] investigated the blending of various hydrocarbons, including propane (C\(_3\)H\(_{8}\)), n-butane (C\(_4\)H\(_{10}\)), and n-pentane (C\(_5\)H\(_{12}\)), with CO\(_2\) for concentrated solar power (CSP) applications. Furthermore, within a systematic screening of potential additives to improve sCO\(_2\) cycles for waste heat recovery by Rath et al. [3], propane (C\(_3\)H\(_{8}\)) was found to be a promising additive to gain higher efficiencies. Beside that, binary mixtures of CO\(_2\) and alkanes have already been well investigated and thus a broad basis of experimental values including adjusted parameters for the fluid models are available. Additionally, sulfur hexafluoride (SF\(_6\)) and xenon (Xe) were considered because positive effects have already been observed several times for these components for different configurations of sCO\(_2\) power cycles [3, 11]. However, for both components no adjusted parameters for the multi-fluid mixture model are available, which makes it reasonable to consider predictive approaches in particular for these combinations. Moreover, as past work has shown that critical lines calculated with simpler mixture models may show significant deviations from experimental values (cf. e.g., [3]), this additionally encourages to extend the scope of available models also to higher order predictive methods.

Table 1 Studied model combinations and their abbreviated designations

With reference to the equations of state and the mixture models described in Sect. 1.1, the algorithm, implemented within the critical line routine of TREND (CRIT_LINE), was used to compare several combinations of equations of state and mixture models. In this way, the multiparameter EoS were combined with the multi-fluid mixture model, as well as with both COSMO-SAC versions mentioned previously, with [41] and without [40] its dsp extension. Furthermore, the SRK EoS was used in combination with SRK mixing rules on the one hand using adjusted values for \(k_{ij}\) and on the other hand with \(k_{ij}\) predictively set to 0 as well as with both versions of COSMO-SAC. Table 1 shows an overview of the individual model combinations as well as their abbreviated designation used for referencing within the text and the plots.

Regarding the parameters for the models, the COSMO-files, except for SF\(_6\) and xenon, have been taken from the database provided by Bell et al. [46], which is an extension of the database provided by Mullins et al. [49]. The sigma profiles for SF\(_6\) and xenon were calculated in-house based on the parameter description by Mullins et al. [49] using the Dmol\(^3\) software package. An overview of the parameters of all other models used within this work, if not named directly within the text, can be found in the appendices A to  C.

Fig. 2
figure 2

Calculated critical lines and experimental values for binary mixtures of CO\(_2\) and alkanes up to hexane. Model designation in the legend according to Table 1

Starting with the alkanes, Fig. 2 shows a comparison of the critical lines calculated with the different model combinations from methane to hexane. Herein, for model combinations not listed in the legend of the respective mixture, no valid or no converged solution could be found. Gaps and missing sections in the graphs indicate locally non-converged solutions which were discarded and therefore not show up in the plots. In addition, citations for the experimental data shown in the plots (abbreviated in the legends) can be found in tabular form in Appendix D, and, in most cases, as direct references in the text.

For CO\(_2\) + methane (CH\(_4\)), both, the multiparameter EoS with the multi-fluid mixture model (MpEoS+MFmix), as well as the SRK with the SRK mixture model and an adjusted value for \(k_{ij}\) (SRK+adjk) show good accordance with the experimental values. Whereas, starting from the critical point of pure methane, in the first third of the line there is hardly any difference between the models, clear differences can be seen from approx. 230 K onwards. Referring to the data provided by Donelli et al. [50] and Kaminishi et al. [51], within this area, the SRK even shows a slightly better agreement with the data than the combination of the multiparameter EoS and the multi-fluid mixture model, which slightly overpredicts the resulting pressure peak in the critical line. On the other hand, a larger deviation can be seen when the SRK is used predictively, without an adjusted parameter for the mixture (SRK+predk). However, none of the combinations with one of the two COSMO-SAC models provided a feasible solution.

Applied to CO\(_2\) + ethane (C\(_2\)H\(_6\)), and as shown in the upper right subplot of Fig. 2, the model combinations MpEoS+MFmix and SRK+adjk show a generally good accordance with the experimental values provided by Khazanova et al. [52], Ohgaki et al. [53], Morrison et al. [54], and Horstmann et al. [55]. Both model combinations are capable to represent the pressure-maximum azeotropic behavior of the mixture. This results in a characteristic dip of the curve towards lower temperatures while the critical temperatures of the pure substances are relatively close to each other (\(T_{\text {c,CO}_2}\approx\) 304.13 K, \(T_{\text {c,C}_2\text {H}_6}\approx\) 305.32 K). When taking a closer look at the curves which were calculated predictively, it is noticeable that the SRK without an adjusted value for \(k_{ij}\) (SRK+predk) is hardly able to represent the experimental data. As can be seen in the plot in Fig. 2, the resulting line creates almost a direct connection of the critical points of both pure fluids only showing a slight bend to lower temperatures. If, on the other hand, the SRK EoS is used with COSMO-SAC in the theoretically-based departure function, both versions of the mixture model show a significantly too strong expression of the azeotropic behavior, which is even more pronounced for COSMO-SAC-dsp (SRK+COSMOdsp) [41] compared to COSMO-SAC (SRK+COSMO) [40]. Deviations are sometimes more than 10 K compared to the experimental data. Regarding the multiparameter EoS, and similar to methane, its combination with both COSMO-SAC models does not result in a feasible solution. This was observed also for the mixtures of CO\(_2\)+propane (C\(_3\)H\(_8\)) and partially for CO\(_2\)+n-butane (C\(_4\)H\(_{10}\)) as well as CO\(_2\)+n-pentane (C\(_5\)H\(_{12}\)). A reason for the problems calculating the critical lines for these mixtures with multiparameter equations of state in combination with COSMO-SAC could be the known fact [39] that the reference equation for CO\(_2\) exhibits relatively small first maxima on subcritical isotherms in a p-\(\rho\) diagram. When the vapor-liquid equilibrium (VLE) pressure of the mixture is increasing, this can lead to problems finding a valid solution for the vapor density, as was already discussed by Jäger et al. [39]. The SRK equation of state typically exhibits higher maxima than the reference equation of state and therefore when using the SRK for the pure components in the mixture model instead of the reference equations of state, these problems finding a valid vapor density solution can be avoided.

For CO\(_2\) + propane (C\(_3\)H\(_8\)), in the middle left of Fig. 2, certain disagreements between the experimental data from the individual sources can be noted. Starting from a temperature of approx. 312 K onwards to the critical point of pure propane, the measured values by Poettmann et al. [56] and Reamer et al. [57] describe a curve at significantly higher pressures than the data from more recent sources (cf. [54, 58,59,60]). With respect to the lines calculated within this work, the multiparameter EoS combined with the multi-fluid mixture model (MpEoS+MFmix) are in good agreement with the data measured by Poettman et al. [56] and Reamer et al. [57], while the SRK EoS with an adjusted \(k_{ij}\) parameter (SRK+adjk) fits better to the measured data from the more recent sources. This in turn leads to the assumption that the models were fitted to different experimental data. Regarding the predictive calculations, as for the mixtures CO\(_2\)+methane and CO\(_2\)+ethane, the combination of multiparameter EoS and both COSMO-SAC models does not result in any feasible solution. Nevertheless, combined with the SRK EoS, both formulations can reproduce the qualitative profile of the curve. Here, however, it appears that the initial bump in the curve near the critical point of pure CO\(_2\) is more pronounced than the experimental values and the other models indicate. As before in the case of the exaggerated azeotropic behavior of CO\(_2\) and ethane, this effect is also more pronounced in COSMO-SAC-dsp than for the model which does not consider the dispersive influence. If, on the other hand, the SRK EoS is used with standard SRK mixing rules and without a fitted parameter (SRK+predk), the critical points of the pure substances are merely connected by a simple arc, without reproducing the characteristic shape of the curve. Nevertheless, at increasing propane content all curves calculated with the SRK EoS are in a relatively good agreement to each other.

For CO\(_2\) + n-butane (C\(_4\)H\(_{10}\)), both model combinations with fitted mixture parameters (MpEoS+MFmix and SRK+adjk) show good agreement with the experimental values, although the multi-fluid mixture model tends to slightly higher pressures in the curve than the SRK with an adjusted value for \(k_{ij}\). Looking at the predictive calculations using COSMO-SAC and starting from the critical point of pure n-butane, in the first half of the plot both model formulations in combination with the multiparameter EoS show a quite similar curve tending to slightly higher pressures/temperatures than the resulting lines of the adjusted models and the experimental data. From a temperature of about 370 K onwards, however, both curves bend prematurely towards the critical point of pure CO\(_2\). This is well ahead of the course indicated by the fitted models and the experimental data, leading to a trend at significantly lower pressures for the last third of the curve, including a slight dip near pure CO\(_2\), similar but not as pronounced as for CO\(_2\) + propane. More obvious, however, indicated by the gap in both plots, is that neither of the two models could close the critical lines. Thus, with the multiparameter EoS + COSMO-SAC (MpEoS+COSMO) for temperatures between approx. 330 K and 340 K and for the combination of EoS with COSMO-SAC-dsp (MpEoS+COSMOdsp) even for the temperature range between approx. 310 K and 360 K no converged solution could be achieved. If the COSMO-SAC formulations are used with the SRK EoS instead, both models are able to close the critical lines. Starting from the critical point of pure n-butane, the agreement with the experimental data is even better in the first part of the curve than the combination with the multiparameter EoS. The slight trend towards higher pressures mentioned above is only present for the non-dsp formulation [40] and not to the same extent as before. Nevertheless, the aforementioned bend towards the critical point of pure CO\(_2\) occurs even earlier and also results in a dip, which is more developed with the dsp formulation than without. It is also remarkable that the SRK combination without an adjusted parameter for \(k_{ij}\) (SRK+predk) is mostly in good agreement with the experimental data. Only in the last third of the curve, towards pure CO\(_2\), there is a clear deviation towards higher pressures.

Looking at CO\(_2\) + n-pentane (C\(_5\)H\(_{12}\)) in the lower left subplot of Fig. 2, compared to the experimental data (cf. [56, 60,61,62,63]) the combination of the highly accurate equations of state (MpEoS+MFmix) shows a notable offset to higher pressures over almost the entire range. On the other hand, when COSMO-SAC is used as a mixture model, both formulations show a significantly better reproduction of the experimental data, although still with a shift towards higher pressures in the right half of the curve. However, the line calculated with the COSMO-SAC-dsp model shows a small gap near the critical point of pure CO\(_2\), for which no converged solution could be achieved. On the other hand, the SRK with adjusted mixing parameters shows good agreement with the experimental values of Poettmann et al. [56] and Cheng et al. [61] over the whole range of the curve. Experimental data from more recent sources (cf. [60, 62, 63]) describe a somewhat flatter curve in the middle of the plot, which again leads to the assumption that the parameter \(k_{ij}\) was fitted to a different selection or only to a part of the experimental data considered here, as in the case of the multi-fluid mixture model for CO\(_2\) + propane. Even without an adjusted value for \(k_{ij}\), the SRK is in fairly good agreement with the experimental data. There is a slight overshoot to higher pressures at higher concentrations of CO\(_2\). It is also worth noting that the agreement with the experimental data is even better than when using the multiparameter EoS combined with the multi-fluid mixture model (MpEoS+MFmix). Also in conjunction with the two COSMO-SAC models, the SRK EoS is able to reproduce the qualitative shape of the critical line given by the experimental data, but with slight deviations towards lower pressures. Between the two COSMO-SAC formulations there are only small differences.

A somewhat similar result can be seen for CO\(_2\) + n-hexane (C\(_6\)H\(_{14}\)) compared to the experimental data by Gurdial et al. [62], Choi et al. [64], Liu et al. [65], and Sun et al. [66]. The combination of the adapted fluid models (MpEoS+MFmix) leads to a clear overestimation of the critical pressures, which is even more pronounced than with CO\(_2\) + n-pentane. Compared to experimental data, for example from Liu et al. [65], deviations greater than 5 MPa (at approx. 480 K) can be found. Nevertheless, also here, better results can be achieved by combining the multiparameter EoS with COSMO-SAC resulting in still notable higher pressures for larger amounts of n-hexane, changing to slightly underestimated values with decreasing intensity towards pure CO\(_2\). Herein, the dsp extension of COSMO-SAC performs slightly better than the basic formulation. Despite that, the SRK EoS with adjusted mixing rule shows a good agreement with the experimental data although, compared with the results by Liu et al. [65], locally with a slight shift to higher pressures. However, it is noteworthy that for larger amounts of n-hexane, i.e., in the temperature range of about 425 K to 480 K, the predictive models are significantly closer to the experimental values than the models with the adjusted parameters. This also applies to the use of the SRK mixing rules without adjusted value for \(k_{ij}\) (SRK+predk).

Fig. 3
figure 3

Calculated critical lines and experimental values for binary mixtures of CO\(_2\) + SF\(_6\) and CO\(_2\) + Xe. Model designation in the legend according to Table 1

Finally, Fig. 3 shows the critical lines for CO\(_2\) + SF\(_6\) and for CO\(_2\) + Xe. As noted above, there are no fitted parameters for the multi-fluid mixture model for either mixture, so predictive methods are of particular interest here. Starting with CO\(_2\) + SF\(_6\), critical lines were calculated with both COSMO-SAC formulations and SRK mixing rules with and without adjusted values for \(k_{ij}\). As in the work of Hsieh et al. [41] no group contribution for SF\(_6\) is available to calculate the dispersive coefficient for COSMO-SAC-dsp, its value was adjusted manually in this work (to \(\varepsilon /k_\text {B}=164.0\)) to achieve a good agreement with the critical property data provided by Krichevskii et al. [67] and Diefenbacher et al. [68] in combination with the SRK EoS. Thus, as can be seen in the left plot in Fig. 3, the SRK EoS combined with COSMO-SAC-dsp (SRK+COSMOdsp) can reproduce the qualitative shape of the critical line including its pressure maximum azeotropic behavior albeit with some deviations from the experimental values in the lower half of the curve. In combination with the multiparameter EoS, however, the agreement with the available data is worse. While mixtures with a high CO\(_2\) fraction are still well represented, the critical curve bends from about 303 K towards an almost direct connection to the critical point for pure SF\(_6\), ignoring the more pronounced dip to lower temperatures. Hereby, it should be noted that even a further adjustment of the dispersion parameter for the combination (MpEoS+COSMOdsp) did not lead to an accurate representation of the experimental data. If, on the other hand, the dispersive part is not taken into account, i.e., the model COSMO-SAC [40] is used, neither applying the SRK nor multiparameter EoS for the pure fluids leads to a good agreement with the critical line. As can be seen in Fig. 3, the curvature of the critical line in both cases results in a sweeping arc towards higher, rather than lower, temperatures. Instead of a pressure minimum azeotrope, the critical line thus incorrectly represents a pressure maximum azeotrope. In addition, this effect is more pronounced for the multiparameter EoS than for the SRK. Again, there are convergence problems when using the model combination (MpEoS+COSMO) leading to gaps within the result plots. Returning to the significantly better solution of the SRK EoS using COSMO-SAC-dsp with the dispersion coefficient adjusted in this work, it is noticeable that the use of the SRK mixing rules with an adjusted \(k_{ij}\) does not give a better result in this case. Both with and without the adjusted value for \(k_{ij}\), the direction of the curve is correctly reproduced, but only with a clear deviation from the experimental data.

For CO\(_2\) + xenon (Xe), only 2 model combinations were able to provide a viable solution for the critical line. As shown in Fig. 3, the predictive application of the SRK almost directly connects the critical points of both pure substances. The azeotropic behavior of the mixture is not predicted by the SRK. Since no adjusted parameter for \(k_{ij}\) was available, it was adjusted manually, analogously to the dispersion parameter of the COSMO-SAC-dsp model for CO\(_2\) + SF\(_6\), targeting a good agreement of the calculated critical line with the available experimental data. As can be seen in Fig. 3, the SRK with an adjusted value of \(k_{\text {CO}_2,\text {Xe}}=0.1410\) results in a very good representation of the experimental data by Martynets et al. [69] Ribeiro et al. [70]. The characteristic curve of the pressure maximum azeotrope is correctly reproduced in both position and direction. As there were no parameters available for CO\(_2\) and Xenon for the multi-fluid mixture model, this model could not be used for the calculation of the critical line. Moreover, all combinations with COSMO-SAC, even with manual adjustment of the dispersion coefficient as for CO\(_2\) + SF\(_6\), did not lead to any converged solution.

For further comparison, additional plots (x-\(T_\text {c}\), x-\(p_\text {c}\)) of the critical lines shown in this paragraph, can be found in the supplementary material.

4 Conclusion

Within this work, a method for the calculation of critical points of fluid mixtures is presented. Based on the calculation procedure by Heidemann and Khalil [19] and subsequent works i.e., by Michelsen et al. [30] as well as Stockfleth and Dohrn [24], a fully numerical algorithm was created with an emphasis on numerical robustness promoting a fast and reliable generation of results. This includes, for example, the use of more complex differentiation schemes to predict the next iteration steps, the use of dynamic relaxation factors to limit overshooting in early iteration phases as well as estimation methods to guess starting values. Implemented into the thermodynamic property software TREND, with its fluid modeling capacities, the algorithm allows the calculation of critical points and lines for a flexible combination of different equations of state and mixture models also including predictive approaches. Hereby, the consistent use of standard TREND routines enables the use of all fluid models implemented in TREND including a direct compatibility with possible future extensions. Against the background of an increasing relevance of supercritical CO\(_2\) mixtures in energy applications, the routine was applied to a selection of binary CO\(_2\)-mixtures recently considered for sCO\(_2\) power cycles. Herein, the results of the routine for different combinations of EoS and mixture models were compared against experimental values with a special emphasis on predictive mixture models, such as the combination of the multi-fluid mixture model with the excess Gibbs energy (\(g^\text {E}\)) model COSMO-SAC which is presented for the first time in this article.

By using the algorithm, critical lines could be calculated for all selected mixtures. However, with reference to the different model configurations, remarkable variations could be observed within the results. Generally, combinations using parameters which are readily adapted to the mixture, such as the multiparameter EoS with the multi-fluid mixture model, or the SRK with an adapted value for \(k_{ij}\), in most of the cases were in relatively good agreement with the experimental data. Thereby, it was apparent that the SRK often fits even better to the experimental values than the multiparameter EoS combined with the multi-fluid mixture model. However, note that the GERG-2008 model by Kunz et al. [27, 33] was developed for typical natural gas mixtures with CO\(_2\) being a minor component and therefore, the CO\(_2\) mixtures considered in this work are not the main focus of the GERG-2008 model. Additionally, results such as those for CO\(_2\)+propane indicate that a significant influence may be expected from different datasets originally used to adjust the model parameters. Connected to this, the influence of adjusted parameters could be demonstrated for the mixture CO\(_2\)+xenon. By manually adjusting the \(k_{ij}\) parameter, a good agreement with the experimental data could be achieved, whereas the predictive use of the SRK did not yield satisfactory results. In general, the predictive applicability of SRK mixing rules was found to be quite limited, as more complex effects such as an azeotropic behavior are not or only partially captured.

In contrast, better predictive results could be achieved by combining the multi-fluid mixture model with the excess Gibbs energy model COSMO-SAC and its extension COSMO-SAC-dsp. Resulting predictions of critical lines were partially even more accurate than those of the GERG-2008 model. Especially for mixtures containing alkanes with increasing chain length, such as CO\(_2\)+pentane and CO\(_2\)+hexane, a good agreement with the experimental values could be found. For mixtures containing only small molecules, such as CO\(_2\)+ethane or CO\(_2\)+xenon, both COSMO-SAC formulations in conjunction with the multi-fluid mixture model show only limited applicability. However, this was expected, as COSMO-SAC was originally developed for long-chain complex molecules and its parameters have rather not been fitted to small molecules. Apart from that, regarding its dsp extension, a significant influence of the dispersive effects could be noted for some cases. For mixtures containing shorter alkanes, the dsp extension partially leads to an overprediction of single effects, like e.g., the azeotropic behavior of CO\(_2\)+ethane, while it tends to an improved representation of the experimental values for mixtures containing longer-chain alkanes. Moreover, a huge influence was apparent in particular for CO\(_2\)+SF\(_6\), where a good agreement could be achieved by manually adjusting the dispersion parameter, while the basic model, without consideration of dispersive effects, did not provide a good solution.

Overall, it can be stated that the quality and reliability of results for calculated critical lines depends significantly on the combination of EoS and mixture models. While, as expected, models adapted to the experimental data usually lead to better results than predictive approaches it could be shown that for some cases predictive approaches could provide a powerful alternative, especially if no adapted values are available. Specifically with regard to the results using COSMO-SAC, a certain potential for CO\(_2\) mixtures containing higher order alkanes could be identified, which, referring to CO\(_2\) applications in energy technology, has a quite high practical relevance e.g., due to impurification of the CO\(_2\) by lubricants or other residual substances within single components.