1 Introduction

Rosenfeld [1] suggested a link between the residual entropy and transport properties of dense fluids. Since its development, the model was applied, modified, and improved by several authors, see, e.g., [2,3,4,5,6]. Yang et al. [7] proposed a predictive entropy scaling model for mixtures focusing on refrigerants. Basically, only one parameter of this model, i.e., the fluid-specific scaling factor \(\xi\), needs to be fitted to experimental viscosity data for each fluid of interest. In order to make the model entirely predictive, Yang et al. [8] suggested to estimate the fluid-specific scaling factor based on the residual entropy of the fluid at the critical point according to \(\xi =0.7\cdot {s}_{\text{crit}}^{+}\) with \({s}^{+}=-{s}_{\text{res}}/R\) with sres being the residual entropy and R the universal gas constant. In order to evaluate the predictive method suggested by Yang et al. [8], Jäger et al. [9] studied linear and branched alkanes, for which multiparameter equations of state (EoS) are available, many of which have been established by the group of Prof. Roland Span, and developed an improved estimation scheme for the fluid-specific scaling factor depending on the longest carbon chain in the molecule. It has been demonstrated that their proposed estimation method yields better results than the method originally proposed by Yang et al. [8]. The linear relationship between the fluid-specific scaling factor and the investigated linear and branched alkanes also holds when equations of state other than multiparameter equations of state are used to calculate the required properties (i.e., the \(p\)-\(T\)-\(\rho\) relationship as well as the residual entropy \({s}_{\text{res}}\)).

In this work, the method proposed by Jäger et al. [9] is extended to branched alkanes for which no multiparameter equations of state are available. Overall, 60 linear and branched alkanes have been investigated. In order to make the method fully predictive, the Lee–Kesler–Plöcker [10, 11] (LKP) equation of state (EoS) and the perturbed chain statistical associating fluid theory EoS of Gross and Sadowski [12] (PC-SAFT) were used and all required model parameters were estimated. For applying the LKP EoS [10, 11], critical temperatures, critical pressures, and acentric factors for the alkanes are required, which have been estimated by the group contribution method (GCM) of Constantinou and Gani [13]. The required parameters \(m\), \(\sigma\), and \(\varepsilon\) for the PC-SAFT [12] EoS have been estimated using the second-order GCM of Tihic et al. [14]. Besides the linear relationship between the longest carbon chain and the fluid-specific scaling factor, group contribution methods have been tested in order to predict the fluid-specific scaling factor for the investigated hydrocarbons.

All of the developed models have been implemented in the property software TREND [15], which is developed under the lead of Prof. Roland Span.

2 Residual Entropy Scaling for Viscosities Theory

Residual entropy scaling (RES) is a semi-empirical “universal” model for fluids that relates transport properties to thermodynamic properties. The viscosity can be formulated as the sum of the dilute-gas viscosity \({\eta }_{\rho \to 0}\left(T\right)\) and the residual part of the viscosity \({\eta }_{\text{res}}\left({s}_{\text{res}}\right)\):

$$\eta ={\eta }_{\rho \to 0}\left(T\right)+{\eta }_{\text{res}}\left({s}_{\text{res}}\right)$$
(1)

The dilute-gas viscosity is a function of the temperature \(T\) and was formulated according to the Chapman–Enskog theory [16]

$${\eta }_{\rho \to 0}\left(T\right)=\frac{5}{16}\sqrt{\frac{m{k}_{\text{B}}T}{\pi }}\frac{1}{{\sigma }^{2}{\Omega }^{\left(\text{2,2}\right)*}}.$$
(2)

In this equation, \(m\) is the mass of one molecule in kg, \({k}_{\text{B}}=1.380 649 \times {10}^{-23} \text{J}\cdot {\text{K}}^{-1}\), \(\sigma\) is the collision diameter of a 6–12 Lennard–Jones particle in m, and \({\Omega }^{\left(\text{2,2}\right)*}\) is the reduced collision integral. A simplified correlation for the collision integral of Neufeld et al. [17] has been used in the residual entropy scaling model by Yang et al. [7] in the following form:

$${\Omega ^{\left( {{\text{2,2}}} \right)*}} = {\mkern 1mu} 1.16 145 \cdot {\left( {{T^*}} \right)^{ - 0.14 874}} + 0.52487 \cdot {\text{exp}}\left( { - 0.77 320 \cdot {T^*}} \right) + 2.16 178 \cdot {\text{exp}}\left( { - 2.43 787 \cdot {T^*}} \right)$$
(3)

with \({T}^{*}={k}_{\text{B}}T/\varepsilon\) being the dimensionless temperature and \(\varepsilon\) the Lennard–Jones pair potential energy. As in our previous work [9], the Lennard–Jones parameters, \(\sigma\) and \(\varepsilon\), have been predicted using the method of Chung et al. [18] according to

$$\frac{\varepsilon }{{k}_{\text{B}}}={T}_{\text{c}}/1.2593$$
(4)

and

$$\sigma = 0.809 \cdot \rho_{{\text{c}}}^{ - 1/3} .$$
(5)

\({T}_{\text{c}}\) is the critical temperature in K and \({\rho }_{\text{c}}\) the critical density in mol·cm−3. The unit of \(\sigma\) in Eq. 5 is in Å and needs to be converted to m when used in Eq. 2.

The residual part of the viscosity has been introduced by Bell [6] and reads:

$${\eta }_{\text{res}}\left({s}_{\text{res}}\right)=\frac{{\eta }_{\text{res}}^{+} {\rho }_{N}^{2/3}\sqrt{m{k}_{\text{B}}T}}{{\left({s}^{+}\right)}^{2/3}}$$
(6)

\({\eta }_{\text{res}}^{+}\) denotes the dimensionless plus-scaled residual viscosity; \({\rho }_{N}\) is the number density in \({\text{m}}^{-3}\); the dimensionless quantity \({s}^{+}\) is defined according to

$${s}^{+}= -{s}_{\text{res}}/R$$
(7)

with the universal gas constant \(R=8.31 446 261 815 324 \text{J}\cdot {\text{mol}}^{-1}\cdot {\text{K}}^{-1}\) [19]; \({s}_{\text{res}}\) is the residual molar entropy as the difference of the entropy \(s\) and the entropy of the ideal gas \({s}^{0}\) at the same temperature and density

$${s}_{\text{res}}=s\left(T,\rho \right)-{s}^{0}(T,\rho )$$
(8)

The empirical formulation of Yang et al. [7] was used to calculate the plus-scaled dimensionless residual viscosity \({\eta }_{\text{res}}^{+}\) according to

$$\text{ln}\left({\eta }_{\text{res}}^{+}+1\right)={n}_{\text{g}1}\cdot {(s}^{+}/\xi )+{n}_{\text{g}2}\cdot {{(s}^{+}/\xi )}^{1.5} +{n}_{\text{g}3}\cdot {{(s}^{+}/\xi )}^{2} +{n}_{\text{g}4}\cdot {{(s}^{+}/\xi )}^{2.5}.$$
(9)

In this equation, the global parameters \({n}_{\text{g}k}\) as proposed by Yang et al. [7] were used, cf. Table 1. \(\xi\) is the fluid-specific scaling parameter which has been adjusted to experimental viscosity data for 39 refrigerants by Yang et al. [7] and later has been extended to 124 fluids by Yang et al. [20].

Table 1 Global parameters \({n}_{\text{g}k}\) according to Yang et al. [7]

3 Estimated Parameters for LKP EoS and PC-SAFT EoS

When it comes to process modeling and screening of new working fluids for different applications, it is favorable to utilize the best model available, i.e., for pure fluids reference equations of state formulated in the dimensionless Helmholtz energy \(\alpha\) [21] and preferably for mixtures the multi-fluid mixture model [22]. However, if no adjusted mixture models and/or multiparameter equations of state for pure components are available, simpler equations of state need to be used, such as cubic equations of state, e.g., [23, 24], the Lee–Kesler–Plöcker equation of state (LKP) [10, 11], or the PCP-SAFT equation of state [12, 25, 26]. In our previous works, we found that especially the LKP [10, 11] and PCP-SAFT [12, 25, 26] are promising substitutes if there is no multiparameter EoS for a specific substance available [27, 28]. Jäger et al. [9] developed a predictive scheme for estimating the fluid-specific scaling parameter \(\xi\). In [9], the estimation method was restricted to all linear and branched alkanes for which multiparameter equations of state exist, i.e., methane [29], ethane [30], propane [31], n-butane [32], n-pentane [33, 34], n-hexane [34, 35], n-heptane [36], n-octane [37], n-nonane [38], n-decane [38], n-undecane [39], n-dodecane [40], n-hexadecane [41], n-docosane [41], isobutane [32], isopentane [38], isohexane [38], and isooctane [34, 42]. Additionally, results have been compared when using the LKP [10, 11] and Peng–Robinson equation of state [23] for calculating the required thermodynamic properties for applying entropy scaling. It was found that the LKP [10, 11] should rather be used than the Peng–Robinson [23] for entropy scaling as generally better results for the studied hydrocarbons are obtained with the LKP [10, 11] (note that there are some restrictions of the LKP [10, 11] in its present form for hydrocarbons of large chain-lengths, see Jäger et al. [9]).

In this work, the predictive scheme is extended to branched alkanes up to decane for which experimental viscosity data exist. The focus is set on good predictive capabilities of the model; therefore, the LKP [10, 11] and the PC-SAFT [12] equations of state are used with appropriate estimation schemes available in the literature in order to estimate the required model parameters.

3.1 Estimation of LKP Parameters

For the estimation of the critical temperature, critical pressure, and normal-boiling-point temperature, the second-order group contribution method of Constantinou and Gani [13] was used (Table 2). The model can be formulated with the following equation:

$$f\left( X \right) = \mathop \sum \limits_{i} N_{i} C_{i} + \mathop \sum \limits_{j} M_{j} D_{j} ,$$
(10)

where \({C}_{i}\) is the first-order contribution of group type \(i\) for the specific property occurring \({N}_{i}\) times and \({D}_{j}\) is the contribution of the second-order groups occurring \({M}_{j}\) times in the molecule. \(f\left(X\right)\) is a function of the property \(X\) as defined in Table 3.

Table 2 Names, formula, CAS number, molar weight and critical temperature \({T}_{\text{c}}\), critical pressure \({p}_{\text{c}}\), normal-boiling-point temperature \({T}_{\text{b}}\) and acentric factor \(\omega\) estimated by Constantinou and Gani [13] and the Antoine equation (Eq. 12) as well as PC-SAFT [12] parameters estimated by Tihic et al. [14] of all investigated alkanes sorted by the number of carbon atoms \({N}_{\text{C}}\) and number of branches \({N}_{\text{B}}\)
Table 3 Function \(f(X)\) for the property \(X\) and additional parameters according to Constantinou and Gani [13]

For linear and branched alkanes, the first-order groups CH3–, –CH2–, –CH< and >C< are needed and the second-order groups (CH3)2–CH–, (CH3)3–C–, –CH(CH3)–CH(CH3)–, and –CH(CH3)–C(CH3)2– were selected. An additional second-order group for ethane (CH3–CH3) was used according to Constantinou and Gani [13]. The first- and second-order group parameters of the GCM of Constantinou and Gani [13] for the selected functional groups are listed in Tables 4 and 5. The resulting normal-boiling-point temperatures, critical temperatures, and critical pressures for all investigated fluids are summarized in Table 2.

Table 4 First-order group contributions for the normal-boiling-point temperature \({T}_{\text{b}}\), the critical temperature \({T}_{\text{c}}\), and the critical pressure \({p}_{\text{c}}\) of selected groups for linear and branched alkanes according to Constantinou and Gani [13]
Table 5 Second-order group contributions for the normal-boiling-point temperature \({T}_{\text{b}}\), the critical temperature \({T}_{\text{c}}\), and the critical pressure \({p}_{\text{c}}\) of selected groups for linear and branched alkanes according to Constantinou and Gani [13]

Another parameter needed for the description of the LKP EoS [10, 11] is the acentric factor \(\omega\) introduced by Pitzer [43] and can be calculated by the following equation:

$$\omega =-\text{log}{\left(\frac{{p}_{\text{s}}}{{p}_{\text{c}}}\right)}_{T}-1$$
(11)

with \({p}_{\text{c}}\) being the critical pressure and \({p}_{\text{s}}\) the saturation pressure at the temperature \(T=0.7\cdot {T}_{\text{c}}\) with \({T}_{\text{c}}\) being the critical temperature. The Antoine equation (Eq. 12) was used to calculate the pressure \({p}_{\text{s}}\) by adjusting the parameters \(A\) and \(B\) to the critical temperature, critical pressure, and normal-boiling-point temperature estimated by the second-order GCM method of Constantinou and Gani [13].

$${p}_{\text{s}}={10}^{A-B/T}$$
(12)

The resulting acentric factors \(\omega\) are listed in Table 2.

3.2 Estimation of PC-SAFT Parameters Using a Second-Order Group Contribution Method

There are several publications on estimation schemes for PC-SAFT [12] parameters. Among others, there are first and second-order group contribution methods, where the latter is used for a better distinction of structural isomers. Vijande et al. [44] incorporated proximity effects in the GCM for linear alkanes, alkanes with one branch, linear mono-ethers, and esters. No multiple branches and mixed tertiary aliphatic carbon groups with quaternary aliphatic carbon groups have been investigated. Habicht et al. [45] used machine learning and extended-connectivity fingerprints as input to estimate PC-SAFT [12] parameters. Sauer et al. [46] compared homo- and heterosegmented, also known as first- and second-order groups, GCM for estimating PC-SAFT [12] parameters and came to the conclusion that the heterosegmented GC approach agrees significantly better with the experimental data. The second-order contributions are not adjusted individually to experimental data, but binary group connections are calculated using Lorentz–Berthelot combining rules with the appropriate group contributions of that binary group connection. Tihic et al. [14] applied the second-order GCM to PC-SAFT [12] parameters of polymers, but also used linear and branched alkanes as experimental reference for the model adjustment. Structural isomers for branched alkanes can be distinguished up to methylhexane. Starting with methylheptane, the second-order GCM cannot distinguish all isomers. Despite this shortcoming, this model has been chosen in this work for the estimation of PC-SAFT [12] parameters as it is applicable to the branched alkanes investigated here and it is based on the second-order GCM method by Constantinou and Gani [13] with identical first- and second-order groups. Selected first- and second-order group contributions for groups specific to branched alkanes are listed in Tables 6 and 7. The resulting PC-SAFT [12] parameters for the individual molecules investigated in this work are summarized in Table 2. The number of occurrences of each group for the investigated alkanes is indicated in Table S1 in the Supplementary Information.

Table 6 First-order group contributions for \(m\), \(m{\sigma }^{3}\), and \(m\varepsilon\) of selected groups for branched alkanes of Tihic et al. [14]
Table 7 Second-order group contributions for \(m\), \(m{\sigma }^{3}\), and \(m\varepsilon\) of selected groups for branched alkanes of Tihic et al. [14]

4 Adjusting the Fluid-Specific Scaling Factor \({\varvec{\xi}}\) to Experimental Data

The fluid-specific scaling factors ξ have been adjusted against experimental data. In order to perform this step, the viscosity Eq. 1 has been fitted against experimental dynamic and kinematic viscosity data taken from NIST TDE 103.b [47]. The selected fitting methodology relies on a machine-learning algorithm based on the covariance matrix evolutionary strategy (CMA-ES) as offered in the DEAP computation framework [48, 49]. The algorithm is a modification of the formulation introduced by Grau Turuelo et al. [50] with no weight factors, which is based on the method developed by Hansen and Ostermeier [51]. Such machine-learning methods do not need any derivatives, providing stable solutions for non-linear functions, as well as poorly conditioned ones. The same algorithm was already used by Jäger et al. [9] in order to fit the fluid-specific scaling factors ξ for the linear and branched alkanes to experimental viscosity data.

The first step of this method is to define the objective function that must be globally minimized. In the present case study, the objective function consists of the sum of the normalized squared residuals (SNR) of the measured and calculated values through the least-squares formulation:

$$\text{SNR}=\sum_{i=0}^{n}{\left(\frac{{\eta }_{i,\text{calc}}-{\eta }_{i,\text{exp}}}{{\eta }_{i,\text{exp}}}\right)}^{2}$$
(13)

Due to the large amount of processed data, a pre-filtering step was applied as suggested by Yang et al. [7]. In general, the first filter consists of discarding experimental data lying outside of the temperature/pressure/density range of validity of the employed multiparameter EoS. For this certain instance, the first filter has no effective consequence, as there are no set ranges of validity for the LKP [10, 11] and PC-SAFT [12] EoS. The second filter excludes data points that do not agree with the reported phase. The third filter, following the formulation of Jäger et al. [9], discards experimental data points, which deviate by more than 30 % to the calculated viscosity when using the following fluid-specific scaling factor \(\xi\) as a first estimate:

$$\xi =0.0571{n}_{\text{chain}}+0.8019$$
(14)

where nchain is the number of carbon atoms of the longest carbon chain.

To obtain the residuals and the fitted values of ξ with the suggested genetic evolution method, each iteration consists of the following steps:

  1. (1)

    Definition of the number of individuals of the population. The individuals are the number of ξ values that are tested at the same time. During the first iteration, their values are randomly chosen within a predefined selection range. These are taken as the first possible solutions. In this work, a value of 10 individuals is selected.

  2. (2)

    The selected values of ξ are then used as an input in an extended (to be released) version of TREND 5.0 for the calculation of the viscosity with the combination of the selected EoS, entering the pressure and temperature of every existing experimental point.

  3. (3)

    The output solution of TREND 5.0 is the searched value \({\eta }_{i,\text{calc}}\), with which the residuals (see Eq. 11) are obtained.

  4. (4)

    The residuals are then calculated for each individual and a ranking (the so-called “hall of fame”) of the best individuals is stored.

  5. (5)

    Just before the next iteration, the obtained information is stored and used in the covariance matrix, which is reinitialized after a recombination (new average distribution value) and mutation (averaged zero value random vector addition) step.

  6. (6)

    New individuals are chosen, following the direction of the best-ranked individuals of the previous step, due to the operations performed in the covariance matrix, and the process starts again, beginning a new iteration.

After a predefined number of iterations, the highest ranked individual is chosen as the solution. The goodness of the solution is checked through the residuals plot. If during the two or three last iterations, the residuals converge to a minimum value, the solution is stored. For this specific problem, 20 iterations are generally sufficient to achieve a converged solution.

Another advantage of the employed algorithm is the definition of constraints to accelerate the convergence. For instance, it is known that ξ cannot be negative. Therefore, a penalty factor, i.e., a high-valued residual, is forced when an individual is negative, forcing the individual to be at the end of the ranking and preventing the algorithm to spend time into searching further negative ξ values. A scheme of the algorithm can be seen in Fig. 1.

Fig. 1
figure 1

Scheme of one iteration of the employed machine-learning algorithm in combination with TREND 5.0

In some cases, where the scaling parameter estimated with Eq. 14 significantly deviates from the adjusted value, the fitting process may be repeated with the adjusted fluid-specific scaling factors \(\xi\) as starting value. This causes changes in the data selection due to the modification of the third filter. Consequently, the amount of experimental data in the range of the 30 % of the new reference scaling parameter \(\xi\) is higher. The final adjusted scaling parameters \({\xi }_{\text{exp}}\) are listed in Table 8.

Table 8 Fluid-specific scaling factor \({\xi }_{\text{exp}}\) adjusted to experimental data, \({\xi }_{\text{GCM}}\) values using the proposed GCM, and AARD values applying the LKP [10, 11] and PC-SAFT [12] EoS

5 GCM Methods for Predicting the Fluid-Specific Scaling Factor \({\varvec{\xi}}\)

Different methods for describing the fluid-specific scaling factor \(\xi\) have been studied when there are no experimental viscosity data available to adjust that parameter. Yang et al. [8] related this parameter to the residual critical entropy with varying results. Jäger et al. [9] proposed a linear equation depending on the longest carbon chain for alkanes. This method displayed good results for the investigated linear alkanes, but for branched alkanes this method should be less accurate as it cannot account for the structure of more complicated molecules. In this work, the applicability to predict \(\xi\) is extended for branched alkanes utilizing a group contribution method.

Second-order GCMs, such as the method used by Tihic et al. [14], expand the first-order groups with second-order groups, allowing the description of some special structures formed by first-order groups. The same method has been adopted here for describing the fluid-specific scaling factor \(\xi\). This results in the subsequent equation

$$\xi = \mathop \sum \limits_{i} N_{i} \xi_{1,i} + \mathop \sum \limits_{j} M_{j} \xi_{2,j}$$
(15)

with \({\xi }_{1,i}\) being the first-order contribution of group type \(i\) occurring \({N}_{i}\) times and \({\xi }_{2,j}\) being the contribution of the second-order groups occurring \({M}_{j}\) times in the molecule.

The groups were adjusted in a stepwise fashion individually for both LKP [10, 11] and PC-SAFT [12] EoS. First, only molecules were selected that contain CH3 and CH2 groups (linear alkanes) and the group contributions of the groups CH3 and CH2 were adjusted to the available experimental data of the selected fluids. These groups represent the basis for all other groups. Second, only molecules were selected that contain CH groups additionally to the CH3 and CH2 groups and the CH group was adjusted to the experimental data using the already adjusted parameters for CH3 and CH2. Third, molecules were selected that also contain C groups in addition to the previous groups and the process was repeated. The procedure was also used for the second-order contribution in the following order: (CH3)2–CH–, (CH3)3–C–, –CH(CH3)–CH(CH3)–, and –CH(CH3)–C(CH3)2–.

6 Results and Discussion

6.1 Fluid-Specific Scaling Factor \({\varvec{\xi}}\)

The fluid-specific scaling factors \(\xi\) of the residual entropy scaling model for viscosities, described in Sect. 2 were adjusted to the available experimental data of linear and branched alkanes, which are listed in Table 2, for both the LKP [10, 11] and PC-SAFT [12] EoS. In total, 13 373 experimental data points [52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484] were available in the NIST ThermoData Engine (TDE), database version 10 [47], for the investigated pure fluids. The number of literature sources and data points for each fluid can be found in Table S2 in the Supplementary Information. The parameters of both equation types have been calculated using the predictive estimation schemes outlined in Sect. 3. The experimental data has been filtered using the scheme proposed by Yang et al. [7] as described in Sect. 4. The number of available and used data points for each fluid and EoS are listed in Table S2.

The resulting values for the adjusted parameter to the experimental data \({\xi }_{\text{exp}}\) as well as the values obtained with the GCM \({\xi }_{\text{GCM}}\) can be found in Table 8. When applying the LKP [10, 11] and PC-SAFT [12] EoS in the fitting procedure, the fluid-specific scaling factor \({\xi }_{\text{exp}}\) of all investigated fluids could be fitted, for which 89 % and 87 % of the experimental data could be used, respectively. In the case of the PC-SAFT EoS [12], 3,6-dimethyloctane could not be used because all experimental data were excluded during the preselection process.

On a side note, it has to be mentioned that the number of data points for some of the investigated fluids is rather small, with as few as only one data point. A validation of the values was accomplished by means of the absolute average relative deviation (AARD) according to

$${\text{AARD}} = \frac{1}{N}\mathop \sum \limits_{i = 1}^{N} \frac{{\left| {\eta_{{{\text{exp}},i}} - \eta_{{{\text{RES}},i}} } \right|}}{{\eta_{{{\text{exp}},i}} }}$$
(16)

with \(N\) representing the total number of data points, \({\eta }_{\text{exp},i}\) being the experimental viscosity of data point \(i\) and \({\eta }_{\text{RES},i}\) the viscosity calculated using the residual entropy scaling model of data point \(i\). The \({\text{AARD}}_{\text{exp}}\) for each of the investigated fluids is listed in Table 8. The AARD over all data points is 10 % and 8.8 % for LKP and PC-SAFT, respectively.

Yang et al. [7] collapsed all experimental pure fluid viscosity data onto one single curve in a \(\text{ln}({\eta }_{\text{res}}^{+}+1)\) over \({s}^{+}/\xi\) plot in their work using the entropy scaling for viscosity approach. The same general behavior should be observed for the PC-SAFT EoS and LKP EoS used in this work and are shown in Figs. 2 and 3. Even though the experimental data for all investigated alkanes collapse onto one single curve as well, there is a slight wavy course for the LKP EoS and a sharp bend at the ratio \({s}^{+}/\xi\) of roughly 2 for the PC-SAFT EoS, which highlights the limitation of the purely predictive parameters for both LKP EoS and PC-SAFT EoS. One possible reason for this behavior might be the deviations of the EoS parameters due to the estimation methods employed in this work to the literature values which have been adjusted for the respective fluids. For the linear alkanes, a comparison of the critical temperature, critical pressure, normal-boiling-point temperature, and the acentric factor has been done and the relative deviations to the literature data [30,31,32,33, 35,36,37,38,39,41] have been illustrated in Fig. 4. The critical temperature \({T}_{\text{c}}\) agrees with the literature values the most with relative deviations of less than 6 % for all the investigated linear alkanes. Similar deviations were found for the critical pressure \({p}_{\text{c}}\). Larger deviations in the normal-boiling-point temperature \({T}_{\text{b}}\) and the acentric factor ω can be observed for the short chain alkanes, propane, and n-butane, with the exception being ethane due to an additional second-order group solely for ethane. These two alkanes, propane and n-butane, show large deviations of 107 % and 38 % in the acentric factor, respectively. Additionally, the long chain alkanes n-hexadecane and n-dodecane show larger deviations in the prediction of the acentric factor with a relative deviation of 21 % and 42 %, respectively.

Fig. 2
figure 2

Plus-scaled residual viscosity \({\eta }_{\text{res}}^{+}+1\) as a function of the plus-scaled dimensionless entropy \({s}^{+}\) devided by the fluid-specific scaling factor \(\xi\) for the LKP EoS [10, 11] for all investigated alkanes

Fig. 3
figure 3

Plus-scaled residual viscosity \({\eta }_{\text{res}}^{+}+1\) as a function of the plus-scaled dimensionless entropy \({s}^{+}\) devided by the fluid-specific scaling factor \(\xi\) for the PC-SAFT EoS [12] for all investigated alkanes

Fig. 4
figure 4

Relative deviations of the GCM-based critical temperature \({T}_{\text{c}}\), critical pressure \({p}_{\text{c}}\), normal boiling point temperature \({T}_{\text{b}}\), and the acentric factor \(\omega\) of Table 2 against literature values (FEOS) [30,31,32,33, 35,36,37,38,39,41] for the investigated n-alkanes denoted by their number of carbon atoms

Other estimation methods for describing the acentric factor for the LKP EoS might yield more accurate overall results when used for the calculation of the viscosity in the residual entropy scaling model.

The PC-SAFT parameters also exhibit deviations when compared to the literature data. In Fig. 5, the relative deviations of the parameters \(\varepsilon\), \(\sigma\), and \(m\) to the literature data as reported by Gross and Sadowski [12] are shown. The relative deviations of PC-SAFT parameters decrease with an increasing number of carbon atoms for the linear alkanes and are within 5 % and 7 % for the parameters \(\varepsilon\) and \(\sigma\), respectively. The relative deviations of the parameter \(m\) have a maximum of 20 % for ethane. The branched alkanes show similar relative deviations with \(\varepsilon\) and \(\sigma\) being within 5 % and \(m\) within 13 %.

Fig. 5
figure 5

Relative deviations of the GCM-based PC-SAFT parameters \(m\), \(\sigma\), and \(\varepsilon\) of Table 2 against values reported by Gross and Sadowski [12] (GrSa) for the investigated n-alkanes (denoted by their carbon atoms) and branched alkanes for which literature values were available

None of the GCM have been adjusted using experimental data for transport properties such as the viscosity, obviously. As an outlook, the accuracy for the calculation of the viscosity (or any other transport property) by use of GCM for EoS parameters may be improved when used in residual entropy scaling models by incorporating experimental viscosity data while imposing the restriction to collapse \(\text{ln}({\eta }_{\text{res}}^{+}+1)\) over \({s}^{+}/\xi\) into a single curve in the fitting procedure.

6.2 Correlation of the Group Contribution Method

The resulting first- and second-order group contributions have been adjusted using the groups according to Constantinou and Gani [13] method and can be found in Table 9 for both LKP and PC-SAFT EoS. Parity plots for the first-order and second-order GCMs when using the LKP [10, 11] and PC-SAFT [12] EoS are illustrated in Figs. 6 and 7, respectively. Overall, the second-order GCM returns a better match of the fluid-specific scaling factor adjusted to the experimental data \({\xi }_{\text{exp}}\) for both EoS.

Table 9 First- and second-order group contributions \({\xi }_{1,i}\) and \({\xi }_{2,i}\) (in short \({\xi }_{i}\)) of Eq. 15 for the scaling parameter \(\xi\) of the proposed GCM for both LKP [10, 11] and PC-SAFT [12] EoS
Fig. 6
figure 6

Parity plots of the \({\xi }_{\text{GCM}}\) parameter obtained by the first-order GCM (left) and second-order GCM (right) for the LKP [10, 11] EoS vs. \({\xi }_{\text{exp}}\) adjusted to experimental data including propane (c3), n-butane (c4), n-decane (c12), n-hexadecane (c16), and n-docosane (c22) which are marked in the plot as purple squares with the corresponding carbon atom number (Color figure online)

Fig. 7
figure 7

Parity plots of the \({\xi }_{\text{GCM}}\) parameter obtained by the first-order GCM (left) and second-order GCM (right) for the PC-SAFT EoS [12] vs. \({\xi }_{\text{exp}}\) adjusted to experimental data

For the LKP EoS, the fluid-specific scaling factor \({\xi }_{\text{GCM}}\) obtained with the GCM vary from the experimentally adjusted fluid-specific scaling factor \({\xi }_{\text{exp}}\) as displayed in Fig. 6. When using the LKP EoS [10, 11] for n-docosane, the resulting scaling parameter is \(\xi =1.38 053\). This does not match other n-alkanes, which are showing an increasing value for the scaling parameter with the longest carbon chain. The adjustment of the CH3– and –CH2– groups of the n-alkanes are the basis of the GCM, so having one outlier in a very limited amount of \(\xi\) parameters can have a significant effect on the correlation. The LKP parameters, critical temperature, critical pressure, and acentric factor, have been calculated using the estimation scheme by Constantinou and Gani [13] and the Antoine equation. In Fig. 4, the resulting parameters for the n-alkanes have been plotted over the literature values to check how much these values deviate. Propane, n-butane, n-hexadecane, and n-docosane, plotted as purple squares in Fig. 6, exhibit rather large deviations from the literature values, which might explain why the resulting scaling parameters seem to be off. That is why these fluids have been excluded from the dataset and the GCM model has been readjusted for the remaining fluids, see Fig. 8. The results excluding the aforementioned fluids show an improved regression of the scaling parameters \({\xi }_{\text{GCM}}\) for the LKP EoS [10, 11] obtained with the GCM fitted to the experimentally adjusted fluid-specific scaling factors \({\xi }_{\text{exp}}\) (AARD = 16 %). Applying the PC-SAFT [12] EoS did not yield any outliers. Therefore, no fluid had to be excluded from the fitting procedure of the GCM. The AARD over all fluids to the experimental viscosity data for the GCM-based fluid-specific scaling factor \({\xi }_{\text{GCM}}\) adjusted using the PC-SAFT EoS is 11 %.

Fig. 8
figure 8

Parity plots of the \({\xi }_{\text{GCM}}\) parameter obtained by the first-order GCM (left) and second-order GCM (right) for the LKP [10, 11] EoS vs. \({\xi }_{\text{exp}}\) adjusted to experimental data excluding propane, n-butane, n-hexadecane, and n-docosane

Other estimation schemes for the scaling parameters are compared to the method proposed in this work. These estimation schemes include the \(\xi /{s}_{\text{crit}}^{+}=0.7\) estimation method of Yang et al. [8] and longest carbon chain model of Jäger et al. [9]. As a check whether the \(\xi /{s}_{\text{crit}}^{+}=0.7\) estimation method agrees with the LKP [10, 11] and PC-SAFT [12] EoS with the GCM-based parameters used in this work, \({\xi }_{\text{fit}}/{s}_{\text{crit}}^{+}\) has been plotted for all the investigated alkanes in this work and can be seen in Figs. 9 and 10 for the LKP [10, 11] and PC-SAFT [12] EoS, respectively. The ratio \({\xi }_{\text{fit}}/{s}_{\text{crit}}^{+}=0.7\) seems to agree with the LKP [10, 11] EoS and the parameters used in this work. PC-SAFT [12] EoS underestimates the plus scaled entropy at the critical point by roughly 30 %. That is why instead of \(\xi /{s}_{\text{crit}}^{+}=0.7\), as proposed by Yang et al. [8], here \(\xi /{s}_{\text{crit}}^{+}=0.9\) has been chosen to account for the differences in the plus scaled critical entropy calculation. The longest carbon chain model of Jäger et al. [9] has been adjusted using other parameters for the LKP EoS [10, 11]. To have a fair comparison, the linear equation according to Eq. 12 has been adjusted for the LKP [10, 11] and PC-SAFT [12] EoS using the fitted fluid-specific scaling factor \(\xi\) of the n-alkanes (as was done by Jäger et al. [9]), resulting in:

Fig. 9
figure 9

Fluid-specific scaling factor \({\xi }_{\text{fit}}\) for the viscosity obtained in this work over the dimensionless plus-scaled entropy at critical point \({s}_{\text{crit}}^{+}\) for the LKP EoS

Fig. 10
figure 10

Fluid-specific scaling factor \({\xi }_{\text{fit}}\) for the viscosity obtained in this work over the dimensionless plus-scaled entropy at critical point \({s}_{\text{crit}}^{+}\) for the PC-SAFT EoS

$${\xi }_{\text{LKP}}=0.06 635 {n}_{\text{chain}}+0.77 753$$
(17)
$${\xi }_{\text{PCSAFT}}=0.05 895 {n}_{\text{chain}}+0.69 149$$
(18)

The resulting AARDs for all models and all data can be found in Table S2 in the Supplementary Information. Only data points were selected that were calculable with all the models within a deviation range which has been set to the arbitrarily chosen value of 200 %. This resulted in the evaluation of 11 956 out of the total 13 373 data points for the investigated EoSs and estimation schemes. The fluid-specific AARD values for the experimentally adjusted scaling factors and GCM-based scaling factors for LKP EoS and PC-SAFT EoS are illustrated in Fig. 11.

Fig. 11
figure 11

AARD values in % for each alkane using the experimentally adjusted scaling parameter \({\xi }_{\text{exp}}\) as blue columns for LKP EoS and orange columns for PC-SAFT EoS and the scaling parameter obtained by the GCM \({\xi }_{\text{GCM}}\) as yellow columns for LKP EoS [10, 11] and purple columns for PC-SAFT EoS [12] (Color figure online)

In general, the results in the viscosity calculation are more accurate for the PC-SAFT EoS [12] combined with any of the estimation schemes for the fluid-specific scaling factor \(\xi\) compared to the LKP EoS [10, 11]. The AARDs for the calculated viscosities when using the experimentally adjusted fluid-specific scaling factor \({\xi }_{\text{exp}}\) range from 5.3 % for n-nonane to 44 % for n-hexadecane for the linear alkanes for the LKP EoS and from 3.6 % for n-docosane to 13 % for n-hexadecane for the PC-SAFT EoS [12]. The AARDs for the branched alkanes are up to 15 % for 3,3-dimethylpentane for the LKP EoS and 14 % for 2-methylnonane for the PC-SAFT EoS [12]. For some of the branched alkanes, rather low AARDs are calculated. This is because the underlying database contains only 25 or less data points with often as much as one data source. Exceptions are 2-methylpropane (isobutane), 2-methylbutane (isopentane), 2,2,4-trimethylpentane (isooctane), which were investigated experimentally in much more detail. Therefore, the adjusted fluid-specific scaling factor for the branched alkanes are subject to higher uncertainty as they are adjusted to only very few data points.

The parameters for the LKP EoS [10, 11] have been determined in a predictive way as has been discussed in Sect. 3.1. Calculated viscosities are less accurate for alkanes with only 3 and 4 carbon atoms as longest chain, e.g. propane, n-butane, 2-methylpropane, 2-methylbutane, and also less accurate for alkanes with 12 and more carbon atoms as longest chain, e.g. n-dodecane, n-hexadecane, and n-docosane. The former is due to larger inaccuracies when predicting the critical parameters of short hydrocarbons, because such molecules were not the focus of the GCM of Constantinou and Gani [13]. Only for ethane an additional second-order group has been introduced to improve the accuracy. The latter is caused by an inherent issue concerning the LKP EoS [10, 11] and long chain hydrocarbons as has been discussed by Jäger et al. [9]. Even though it is possible to adjust the scaling parameter with the LKP EoS [10, 11] to obtain good agreement of the calculated viscosities with experimental data, less accurate results will be obtained when using the scaling parameters calculated with the GCM proposed in this work. An example for this is n-butane, which shows an AARD of 7 % and 22 % for the adjusted \({\xi }_{\text{exp}}\) and \({\xi }_{\text{GCM}}\), respectively. This is due to weaknesses of the correlated GCM as these fluids do not fit the scheme very well.

Other estimation methods yield similar or worse results compared to the proposed model. The AARDs for all investigated fluids can be found in Table S3 in the Supplementary Information. The longest carbon chain method of Jäger et al. [9] yields good agreement with the experimental data for the linear alkanes, but exhibits weaknesses for the more complex branched alkanes. The \(\xi /{s}_{\text{crit}}^{+}=0.7\) estimation scheme of Yang et al. [8] shows an overall good agreement to the experimental data for most branched alkanes. However, especially for the LKP EoS [10, 11], this method results in large AARDs of more than 20 % for 11 out of the 13 linear hydrocarbons. More accurate results are achieved when modifying the estimation method, corrected to \(\xi /{s}_{\text{crit}}^{+}=0.9\), for PC-SAFT [12]. As a result, the linear hydrocarbons show improved AARDs ranging from 5.1 % to 15 %. The AARDs increase for the more complex branched alkanes when the fluid-specific scaling factor is estimated using the plus-scaled dimensionless entropy at the critical point \({s}_{\text{crit}}^{+}\).

Note, that the total AARD over all investigated alkanes in Table S3 might be misleading, because if a model happens to describe a fluid with many data points accurately, it can happen that the overall AARD is comparatively low, while other fluids with less data are not well described, and vice versa. Therefore, it is advisable to compare the individual AARDs for the fluids additionally to the overall AARDs.

All estimation schemes seem to overestimate the scaling parameter for 2,2-dimethylpropane (neopentane) with AARDs for the calculated viscosities ranging from 48 % to 76 %.

7 Conclusion

In this work, a GCM approach was developed to estimate the fluid-specific scaling factor \(\xi\) of the residual entropy scaling model for the viscosity of Yang et al. [7] using two equations of state. The parameters for the LKP [10, 11] and PC-SAFT [12] equations of state have been estimated using predictive methods. Two approaches were tested. The first method is the adjustment of the fluid-specific scaling factors to available filtered experimental data. For the second method, the fluid-specific scaling factors were fitted by means of the group contribution method. Both approaches were tested with both equations of state. According to the results, it is possible to calculate the viscosities within reasonable deviations with AARDs over the filtered dataset of 10.33 % and 8.76 % when the fluid-specific scaling factors are adjusted to the experimental data. The GCM-based fluid-specific scaling parameter proposed in this work yields AARDs of 16.11 % and 10.51 % for the LKP and PC-SAFT EoS, respectively. The results were compared to other estimation methods, showing an improved accuracy compared to the longest carbon chain linear regression from Jäger et al. [9]. For the filtered data points of all investigated hydrocarbons, the GCM method proposed in this work also performs better than the estimation scheme by Yang et al. [8].

The presented GCM can be extended to other functional groups according to the method proposed in this work and has, therefore, a great potential to be used for a significant number of substances. A potential and interesting application would be the use in polymers. The fluid-specific scaling factor \(\xi\) can be calculated for the repeating group of the polymer chain and then be normalized by the molar mass of that certain group. This has been already proposed for the PC-SAFT [12] parameters in the work of Tihic et al. [14], where the fluid-specific scaling factor \(\xi\) seems to have some relation to the size of the molecule. Furthermore, more functional groups can be added to include other fluids to increase the applicability of this model.

Identifying structural isomers has its limits when using the GCM by Constantinou and Gani [13]. For instance, 2-methylhexane, which shows one (CH3)2–CH– group, can be distinguished from other isomers. However, that is not the case for 3-methylhexane and 3-ethylpentane as both show identical groups (3 –CH3, 3 –CH2–, 1 –CH< group). This leads to increased uncertainties for such substances when predicting the viscosity by means of the GCM. Therefore, to increase the accuracy of the introduced estimation scheme, the underlying method for describing the molecule should be revised. Other more sophisticated options may include natural language learning algorithms for accurate molecular description not only of branched alkanes, but also more complex molecules. In addition, new insights into the physics of residual entropy [485,486,487] could pave the way for something closer to first principles predictive approaches of transport properties.

A shortcoming of the general entropy scaling approach presented here is that even when fitting fluid-specific scaling factors \(\xi\), it is still not possible to fit the experimental data within its experimental uncertainty. As the fluids studied here can be expected to follow entropy scaling, it could also be possible to use the transport property measurements to develop simultaneously thermodynamic and transport property models. Thermal conductivity could be a more fruitful path than viscosity for this process because it can be measured with a lower uncertainty in the liquid phase.