1 Introduction

Reservoir fluids mainly contain short- and long-chain n-alkanes. These unbranched saturated hydrocarbons are non-polar and simply linear. The molecules belonging to this family are only composed of three functional groups, namely, methane, methyl and methylene groups and their intermolecular interactions can be well represented by a United-Atom Description [1] in which alkanes molecules are described by a chain of pseudo-atoms to represent the functional groups whose mutual interactions are characterized by a simple pairwise Lennard–Jones potential. Despite the simplicity of these compounds, mixtures containing different alkanes may exhibit significant deviations from ideality. These non-ideal behaviors, arising mostly from asymmetry in molecular size, are particularly obvious in methane + higher n-alkane mixtures in which liquid–liquid immiscibility may appear at certain conditions of pressure, temperature and composition [2, 3]. Furthermore, significant negative excess volumes have been observed in such asymmetric methane + heavy n-alkanes binary mixtures [4]. As an example, by comparing the excess volumes reported by Dymond et al. [5] for n-hexane + n-hexadecane at elevated pressure with the excess values measured by Regueira et al. [6] in methane + n-decane system, it can be noticed that excess volumes are greater by one order of magnitude in C1 + n-C10 system than in n-C6 + n-C16 mixture in the same conditions of pressure temperature and composition although both systems have nearly the same discrepancy in chain length.

This non-ideality is strongly marked for derivative properties such as isothermal and isentropic compressibilities as well as for speed of sound, making the prediction of these properties in reservoir fluids difficult to achieve using equation of states [7]. Speed of sound was extensively investigated in binary mixtures involving “liquids”, i.e., n-alkanes higher than pentane, at atmospheric pressure [8,9,10,11,12,13] and even at high pressure [14,15,16,17,18,19,20,21], whereas experimental data of this type are particularly limited for “gas” + “liquid” n-alkanes binary mixtures [15, 22]. A literature survey reveals that excess isentropic compressibility and excess speed of sound for asymmetric binary systems composed of methane and n-alkanes higher than pentane data are so far inexistent in the open literature. Consequently, keeping in mind both the industrial and scientific interest for studying the volumetric and acoustic properties of binary systems characterized by a significant asymmetry in the compressibility of their components, our research group has initiated a broad project on the experimental determination of density, isothermal compressibility, speed of sound, isentropic compressibility as well as their related excess properties in such light–heavy alkanes asymmetric systems.

At the initial phase of this program, which is the object of this article, it was chosen to investigate the methane + n-heptane system at different pressures ranging from 10 MPa to 70 MPa along an isotherm at T = 303.15 K. For that purpose, density and speed of sound measurements were carried out in eight different mixtures ranging from 20 % to 95 % of methane content (in mol%). From these measurements, derivative properties such as isothermal and isentropic compressibilities were obtained in the same conditions. From all these data and additional measurements performed for pure components, excess molar volume, excess isothermal compressibility, excess isentropic compressibility and excess speed of sound were determined. Finally, the partial molar volume was derived from the volumetric data to explore, by extrapolation, the partial molar volume at infinite dilution of n-heptane in methane at different pressures as it exhibits an interesting behavior.

2 Materials and Methods

2.1 Chemicals

Both the gas (methane) and liquid (n-heptane) employed for preparing the mixtures were used without any further purification. The information of the supplier, as well as on the purity of component used, is displayed in Table 1.

Table 1 Sample description

2.2 Measurements

Density measurements were carried out with a vibrating tube density meter. The core of the apparatus is a commercial U-shaped-tube density meter (Anton Paar HP). However, the study of asymmetric mixtures composed of gas and liquid components requires the addition of several pieces of equipment for preparing, stirring and transferring the samples. A high volume–high pressure cylinder with a floating piston and a stirring ball is used for preparing the mixture in large quantity while minimizing the uncertainty in composition. A hydro-pneumatic pump is used to control the floating piston via a hydraulic fluid. A volumetric pump is connected to the upstream of the density meter so as to regulate the pressure of the fluid at the outlet during high-pressure injection of the sample fluid in the U-shaped tube. Two high weight/high precision balances with an uncertainty of 10−3 g are used for weighing both gas and liquid. An aluminum tank with a high capacity (1 dm3–40 MPa) is employed for storing gas during its weighing. The complete experimental assembly is shown in Fig. 1.

Fig. 1
figure 1

Schematic diagram of experimental setup used for density measurements. (1) gas tank fixed on high weight/high precision balance; (2) temperature sensor; (3) pressure sensor; (4) high-pressure discharge pump; (5) density matter; liquid balance; (6) liquid tank; (7) high volume–high pressure cylinder with a floating piston; (8) hydro-pneumatic pump

The experimental procedure consists in first preparing the mixture into the high-pressure cylinder by successive weighing of liquid and gas loading. The system is then pressurized above the saturation pressure and stirred to mix both components so as to obtain a homogenous mixture. After 24 h of mixing, a sample part is transferred to the measuring cell at constant pressure through the action of both pumps. During this operation more than three times the volume of the measuring cell is displaced from the feeding cylinder to the output volumetric pump in such a way as to guarantee the composition of the mixture loaded in the density meter. The standard uncertainties in mass introduced by this procedure were estimated to be better than 0.01 g for liquid component and 0.005 g for gas. The resulting combined standard uncertainty in the mole faction \(x_{c1}\) of methane was estimated for each studied sample by the following relation:

$$u_{c} \left( {x_{c1} } \right) = x_{c1} \left( {1 - x_{c1} } \right)\left( {\frac{{u^{2} \left( {m_{c1} } \right)}}{{m_{c1}^{2} }} + \frac{{u^{2} \left( {m_{c7} } \right)}}{{m_{c7}^{2} }}} \right)^{1/2 } .$$
(1)

The temperature of the measuring cell is regulated by an external heat circulation thermostat and is measured with an Anton-Paar MKT 50 thermometer with an uncertainty of 0.05 K. The pressure is measured, for the full pressure range, with a Presens manometer yielding an uncertainty of 0.02 %.

The principle of the vibrating tube density meter consists of measuring the resonance period τ of the tube and relating it to the density of the fluid sample inside the tube according to the following working equation:

$$\rho \left( {T,p} \right) = A\tau_{{}}^{2} - B$$
(2)

where A and B are two parameters specific to the vibrating tube and function of both temperature and pressure. The density meter working in a relative method, the determination of the sample density requires first the evaluation of apparatus parameters through a calibration that properly accounts for the effects of pressure on apparatus parameters [23,24,25,26]. From a physical basis, May et al. [25, 26] obtained the following relations to account for temperature and pressure impact on the apparatus parameters:

$$A\left( {T,p} \right) = \left( {\frac{{\rho_{M} }}{{S_{vac,0} \tau_{vac,0}^{2} }}} \right)\frac{{1 + \beta_{\tau } p}}{{\left( {1 + \varepsilon_{1} \left( {T - T_{0} } \right) + \varepsilon_{2} \left( {T - T_{0} } \right)^{2} } \right)^{2} \left( {1 + \alpha_{V} \left( {T - T_{0} } \right) + \beta_{V} p} \right)}}$$
(3)
$$B\left( {T,p} \right) = \left( {\frac{{\rho_{M} }}{{S_{vac,0} }}} \right)\frac{1}{{\left( {1 + \alpha_{V} \left( {T - T_{0} } \right) + \beta_{V} p} \right)}}$$
(4)

where \(T_{0 }\) is a reference temperature, \(\tau_{vac,0}^{{}}\) is the resonance period of the tube under vacuum at the reference temperature and \(\rho_{M} ,S_{vac,0} ,\beta_{\tau } , \beta_{V} ,\varepsilon_{1} , \varepsilon_{1} ,\alpha_{V}\) are material and apparatus parameters. At a given temperature \(T_{0}\), Eqs. 3 and 4 can be simplified. Thus, the working equation becomes:

$$\rho \left( {T_{0} ,p} \right) = C_{0} \frac{{\left( {1 + \beta_{\tau } p} \right)\tau_{r}^{2} - 1}}{{1 + \beta_{V} p}}$$
(5)

where \(\tau_{r}^{{}} = \tau /\tau_{vac,0}^{{}}\) corresponds to the relative vibration period with respect to vacuum period, and \(C_{0}\), \(\beta_{\tau }\), and \(\beta_{V}\) are three parameters that must be determined by calibration using one or several reference fluids. Since the density interval covered by the investigated system is large (70–800 kg·m−3), two reference fluids were used in this work: nitrogen for the lower density range and water for the higher density range. The three apparatus parameters, appearing in Eq. 5, were determined by a nonlinear regression of experimental densities obtained from measurements of resonance periods \(\tau_{vac,0}^{{}} , \tau_{{H_{2} O}}^{{}} , \tau_{N2}^{{}}\) to reference data of water [27] and nitrogen [28] in the same pressure range for the temperature of investigation, T0 = 303.15 K.

In this calibration method, the nonlinear regression makes difficult to quantify uncertainty in density measurement by applying the conventional law of propagation of uncertainty. Therefore, a Monte Carlo method with M = 104 trials was considered to determine density \(\rho\) and its associated standard uncertainty according to the guide to the expression of uncertainty in measurement [29]. To do so, a discrete pseudo-random normal distribution having M points with a standard deviation equivalent to the combined standard uncertainty is assigned to each of the input quantities corresponding to the reference densities (\(\rho_{H2O}^{{}}\), \(\rho_{N2}^{{}}\)), the measured periods of the tube under vacuum as well as those of the tube filled with both the reference fluids and the studied fluids, i.e., \(\tau_{vac,0}^{{}}\), \(\tau_{{H_{2} O}}^{{}}\), \(\tau_{N2}^{{}}\), and \(\tau\). As the density data obtained from U-tube density meter result from four independent measurements of the resonance period, uncertainties in temperature and pressure were taken into account in each measurement by considering the following combined standard uncertainty for the resonance period:

$$u_{c}^{2} \left( {\tau_{i} } \right) = \left[ {u\left( {\tau_{i} } \right)} \right]^{2} + \left[ {\left( {\frac{{\partial \tau_{i} }}{\partial T}} \right)_{p} u\left( T \right)} \right]^{2} + \left[ {\left( {\frac{{\partial \tau_{i} }}{\partial p}} \right)_{T} u\left( p \right)} \right]^{2}$$
(6)

where the subscript i refers to either vacuum or nitrogen or water or even the studied fluid.

For each of the M trials, parameters C, \(\kappa_{\tau }\), and \(\kappa_{V}\) are determined by nonlinear regression of the perturbed data considered for calibration. From the obtained set of parameters, the fluid density is calculated from Eq. 5 using the perturbed period measure with the studied sample. Finally, the average and the standard deviation of the output distribution are taken as the density \(\rho\) and its standard uncertainty in measurement \(u_{M} \left( \rho \right)\) respectively. This uncertainty is combined to the uncertainty in mixture composition and component purities xsp to obtain the combined standard uncertainty \(u_{c}^{{}} \left( \rho \right)\) of density data:

$$u_{c}^{2} \left( \rho \right) = u_{M}^{2} \left( \rho \right) + \left[ {\left( {\frac{\partial \rho }{{\partial x_{c1} }}} \right)u_{c} \left( {x_{c1} } \right)} \right]^{2} + \left[ {x_{c1} \frac{{1 - x_{sp,c1} }}{\sqrt 3 }\xi \rho_{c1} } \right]^{2} + \left[ {\left( {1 - x_{c1} } \right)\frac{{1 - x_{sp,c1} }}{\sqrt 3 }\xi \rho_{c1} } \right]^{2}$$
(7)

where \(\xi\) is the fractional density difference between the pure compounds and their impurities. This quantity is arbitrary set to 20 % for both components.

The method used to measure speed of sound is based on a pulse-echo technique operating with a single 3-MHz transducer. The apparatus is similar to that described previously by Bazile et al. [30]. It is mainly composed of an acoustic probe made up of a PZT piezoelectric disc embedded between two hollow cylindrical holders of different lengths so as to get a long- and a short-path length for the acoustic waves. Two reflectors facing the transducer are fixed at each end of the holder. The speed of sound is determined from the measurement of the time delay between echoes coming from the different reflectors using a digital overlap method described in a previous paper [31]. The path length difference needed for converting time delay measurement in speed of sound is obtained by calibration with water [32,33,34,35]. The entire acoustic sensor is immerged in the studied fluid enclosed in a variable volume cell equipped with a magnetically coupled stirrer that ensures an efficient stirring of the mixture inside the acoustic sensor. The temperature of the cell is regulated by heating cartridges embedded in a jacket that surrounds the full cell body. A temperature sensor in contact with the fluid is used to measure the temperature of the fluid with an uncertainty of 0.1 K. The pressure is measured using a pressure transducer accommodated in the cell wall so as to reduce fluid dead volume. This sensor is calibrated as a function of temperature against a primary standard pressure sensor with an uncertainty better than 0.02 % on the full scale. Because of the complex shape of the acoustic probe, the mixtures are prepared inside the measurement cell by first loading liquid and then the gas. As for density measurements, feed quantities are determined by weighing the injected mass using high weight/high precision balances and the resulting uncertainty for mole fractions was determined by Eq. 1.

3 Results and Discussion

Mixtures were first prepared in the speed of sound apparatus and then duplicated in the density meter. Table 2 lists the composition of the different mixtures investigated along with their expanded uncertainty \(U\left( {x_{c1} } \right)\) obtained by multiplying by the conventional coverage factor kP = 2 (P = 95 %) with the combined standard uncertainty \(u_{c} \left( {x_{c1} } \right)\) calculated from Eq. 1. Comparison of the different compositions reported in Table 2 reveals a good agreement between mixtures prepared for both measurements. The difference is always lower than the expanded uncertainty. This condition is a prerequisite for the determination of isentropic compressibility as well as excess isentropic compressibility and excess speed of sound.

Table 2 Mol% \(x_{c1}\) and its expanded uncertainty \(U\left( {x_{c1} } \right)\) of the different sample mixtures investigated of the binary system (methane + n-heptane)

3.1 Density and Molar Volume

Table 3 presents the density data obtained in the eight mixtures investigated at 303.15 K from 10 MPa to 70 MPa. The density measured in both pure components was added in this table for comparison with literature data. The densities of both pure components have been measured many times in the literature and accurate correlations have been developed [36, 37]. The present experimental results show a good consistency with the values given by the correlation of Setzmann and Wagner [36] for methane. An average absolute deviation (AAD) of 0.1 kg·m−3 and a maximum deviation (MD) of 0.22 kg·m−3 are observed with this correlation. Similarly, a good agreement is observed with the correlation of Span and Wagner [37] for n-heptane with an AAD of 0.43 kg·m−3 and an MD of 0.51 kg·m−3. All these deviations are consistent with the estimated uncertainties of both the measurements and the correlations, thereby confirming the capability of the calibration procedure for working in an extended density range.

Table 3 Values of density ρ with their expanded uncertainties \(U\left( \rho \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%

The volumetric behavior of methane + n-heptane binary system has been previously investigated by Reamer et al. [38] from 10 mol to 90 mol% in an extended range of pressure and temperature and by Robertson and Clark [39] for one composition (95 % of methane). However, due to the difference in both mixture compositions and experimental p, T conditions, it was not possible to compare them to the present measurements. Figure 2 illustrates the experimental density data as a function of mole percent of methane at various pressures. As shown in this figure, the density of mixtures decreases monotonically from n-heptane toward pure methane density. However, this monotonicity is lost when molar volume \(V_{m}^{{}}\) is represented, instead of density, as a function of mole percent. More precisely, as can be observed in Fig. 3, at pressures below 50 MPa, the isobaric curves of \(V_{m}^{{}}\) first decrease with the mole percentage of methane and then increase for the highest content of methane (i.e., low content of n-heptane). This trend can only be explicitly observed on 30 and 40 MPa isobars, as for 10 and 20 MPa isobars, bubble points limit the curves to low methane contents only (60 % and 20 %, in mole, respectively).

Fig. 2
figure 2

Density ρ in the binary system methane + n-heptane as a function of methane mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 30 MPa; , 50 MPa; , 70 MPa (Color figure online)

Fig. 3
figure 3

Molar volume in the binary system methane + n-heptane as a function of methane mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

This non-monotonic variation in \(V_{m}^{{}}\) with \(x_{C1}\) means a sign change in \(\left( {\partial V_{m}^{{}} /\partial x_{C1} } \right)_{p,T}\) that is given from the thermodynamic relation as

$$\left( {\frac{{\partial V_{m}^{{}} }}{{\partial x_{C1} }}} \right)_{p,T} = \frac{{V_{C1}^{{}} - V_{m}^{{}} }}{{1 - x_{C1} }} = - \frac{{V_{C7}^{{}} - V_{m}^{{}} }}{{x_{C1} }}.$$
(8)

This equation indicates that the composition \(x_{C1,min}\) at which the mole volume \(V_{m}^{{}}\) is minimum corresponds to the condition where the molar volume \(V_{m}^{{}}\) is equal to both partial molar volumes \(V_{C1}^{{}}\) and \(V_{C7}^{{}}\). Below \(x_{C1,min}\), \(V_{m}^{{}}\) decreases with respect to \(x_{C1}\) meaning that \(V_{C7}^{{}} > V_{m}^{{}} > V_{C1}^{{}}\) whereas the opposite trend, i.e., \(V_{C7}^{{}} < V_{m}^{{}} < V_{C1}^{{}}\), is observed for methane compositions higher than \(x_{C1,min}\). This result implies the intersection of the curves representing the partial molar volumes \(V_{C7}^{{}}\) and \(V_{C1}^{{}}\) as a function of methane mole fraction. To confirm this behavior, the partial molar volumes of both components were numerically computed from measurements according to the following relations:

$$V_{C1}^{{}} = V_{m}^{{}} + \left( {1 - x_{C1} } \right)\left( {\frac{{\partial V_{m}^{{}} }}{{\partial x_{C1} }}} \right)_{p,T} ,$$
(9)
$$V_{C7}^{{}} = V_{m}^{{}} - x_{C1} \left( {\frac{{\partial V_{m}^{{}} }}{{\partial x_{C1} }}} \right)_{p,T} .$$
(10)

In these relations, the derivatives of molar volume with respect to methane mole fraction were estimated by first fitting the molar volume data by a Padé approximant of order 2/3. Due to the numerical derivation, the uncertainty in the determination of \(V_{C1}^{{}}\) and \(V_{C7}^{{}}\) is particularly significant at the limits of the mole fraction interval (0 and 1) which correspond to the infinite dilution of methane \(V_{C1}^{\infty }\) and heptane \(V_{C7}^{\infty }\), respectively. Nevertheless, the method is sufficiently robust for a qualitative exploration of the change in partial molar volume with respect to composition, as shown graphically in Figs. 4 and 5. It can be seen in these figures that \(V_{C1}^{{}}\) is monotonically increasing whereas \(V_{C7}^{{}}\) is monotonically decreasing with respect to \(x_{C1}^{{}}\), meaning that both partial molar volumes are always lower than pure components molar volumes \(V_{C1}^{*}\) and \(V_{C7}^{*}\), leading to a negative excess volume at any condition.

Fig. 4
figure 4

Partial molar volume of methane \(V_{C1}^{{}}\) in the binary system methane + n-heptane as a function of methane mol% \(x_{c1}\) for different isobars at temperature T = 303.15 K. , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

Fig. 5
figure 5

Partial molar volume of n-heptane \(V_{C7}^{{}}\) in the binary system methane + n-heptane as a function of methane mol% \(x_{c1}\) for different isobars at temperature T = 303.15 K. , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

It can be noticed in Fig. 5 that \(V_{C7}^{{}}\) remains equal to \(V_{C7}^{*}\) up to 40% of methane and then it drastically decreases with the addition of methane. The lower the pressure, the higher the drop in the n-heptane partial molar volume leading to a crossover point of different isobars around 60% of methane. Such a crossover of the isobaric curves of \(V_{C7}^{{}}\), already observed by Reamer and Sage [40], spotlights a change in the pressure effect on isopleth curves of \(V_{C7}^{{}}\). Indeed, as shown in Fig. 6 which presents the effect of pressure on \(V_{C7}^{{}}\) at fixed methane composition, for mixtures with low methane content \(V_{C7}^{{}}\) decreases with respect to pressure as it would normally be the case for the molar volume of pure components. However, for higher methane content, an increase of this partial molar volume with pressure is observed.

Fig. 6
figure 6

Partial molar volume of n-heptane \(V_{C7}^{{}}\) in the binary system methane + n-heptane as a function of pressure for different isopleths at temperature T = 303.15 K. , \(x_{c1}\) = 0 %; , \(x_{c1}\) = 40 %; , \(x_{c1}\) = 60 %;  , \(x_{c1}\) = 70 %;  , \(x_{c1}\) = 80 %;  , \(x_{c1}\) = 85 %;  , \(x_{c1}\) = 90 %;  , \(x_{c1}\) = 95 %; , \(V_{C7}^{\infty }\) (Color figure online)

The results for \(V_{C1}^{{}}\) and \(V_{C7}^{{}}\) at 30 MPa are plotted as a function of \(x_{C1 }\) on the same graph in Fig. 7. As expected by Eq. 8, a crossover between both curves is observed (around 90 % of methane for this pressure). In agreement with Eq. 8, it can be seen that the crossover point between partial molar curves also intersects the \(V_{m}^{{}}\) curve at its minimum. The fall in n-heptane partial molar volume is so pronounced at this pressure that \(V_{C7}^{{}}\) reaches a negative value at infinite dilution in this condition of temperature and pressure. Such a negative solute molar volume leads to a contraction of the system and a decrease in pressure by addition of nC7 molecules in pure C1 at fixed total volume V according to the following thermodynamic relation:

$$\left( {\frac{\partial p}{{\partial n_{C7} }}} \right)_{T,V} = \frac{{V_{C7}^{{}} }}{{V\kappa_{T} }} < 0.$$
(11)
Fig. 7
figure 7

Molar volume \(V_{m}^{{}} ,\) partial molar volumes of methane \(V_{C1}^{{}}\) and n-heptane \(V_{C7}^{{}}\) as a function of methane mol% \(x_{C1}\) at temperature T = 303.15 K and pressure p = 30 MPa. , \(V_{m}^{{}}\); , \(V_{C1}^{{}}\); , \(V_{C7}^{{}}\) (Color figure online)

Thus, the mixture in these supercritical conditions has a lower overall volume than methane alone, see Fig. 3. Such a negative value of the nC7 partial molar volume was already noticed at infinite dilution of heptane in supercritical carbon dioxide [30]. This behavior observed in diluted solutions formed by a solvent with a very large compressibility and a solute of low volatility is often qualified as a clustering effect [41, 42]. It has been interpreted as a local structuring of solvent molecules around solute molecules [43,44,45], a picture which is fully supported by molecular simulations [46].

In this clustering regime, the number of solvent molecules (methane) surrounding a solute molecule (n-heptane) is larger than the bulk. The excess number of solvent molecules surrounding a solute molecule with respect to a uniform distribution can be quantified by means of the “cluster size” \(\xi_{cluster}^{{}}\) [43] which is related to solute–solvent fluctuation integral according to the following relation:

$$\xi_{cluster}^{{}} =\rho_{C1}^{*} 4\pi \mathop \smallint \limits_{0}^{\infty } \left[ {g_{C1 - nC7}^{\infty } \left( r \right) - 1} \right]r^{2} dr$$
(12)

where \(g_{C1 - nC7}^{\infty }\) is the pair correlation function at infinite dilution of nC7 in the C1 solvent. According to the statistical mechanical theory of solutions of Kirkwood and Buff [47], the cluster size can also be related to volumetric data [43]:

$$\xi_{cluster}^{{}} = \frac{{RT\kappa_{T,C1}^{*} }}{{V_{C1}^{*} }} - \frac{{V_{C7}^{\infty } }}{{V_{C1}^{*} }}.$$
(13)

From this relation and using volumetric measurements carried out at 303.15 K and 30 MPa, a value equal to 1.2 is obtained, thereby confirming an excess number of methane molecules around n-heptane at infinite dilution for this thermodynamic condition.

The deviations of molar volume from ideality have been calculated to complete the volumetric study of the system. From the experimental density, the excess molar volume \(V_{m}^{E}\) was calculated for each composition and pressure using the following expression:

$$V_{m}^{E} = \frac{{x_{C1} M_{C1} + x_{C7} M_{C7} }}{{\rho_{{}} }} - V_{m}^{id} ,$$
(14)

with

$$V_{m}^{id} = \frac{{x_{C1} M_{C1} }}{{\rho_{C1} }} + \frac{{x_{C7} M_{C7} }}{{\rho_{C7} }}.$$
(15)

The results are listed in Table 4 and plotted as a function of methane mol% in Fig. 8. To highlight the importance of excess volume in comparison to the ideal volume, the relative excess volume \(V_{m}^{RE}\) is plotted in Fig. 8 instead of \(V_{m}^{E}\). As proposed by Balankina [48] this quantity is defined by the ratio between excess volume and ideal molar volume:

$$V_{m}^{RE} = \frac{{V_{m}^{E} }}{{V_{m}^{id} }}.$$
(16)
Table 4 Excess molar volume \(V_{m}^{E}\) with its expanded uncertainty \(U\left( {V_{m}^{E} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%
Fig. 8
figure 8

Relative excess molar volume \(V_{m}^{RE} \%\) as a function of methane mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

Figure 8 shows that the excess volume caused by the asymmetry in molecular size is largely negative for all the pressure investigated indicating a substantial contraction of system during mixing compared to an ideal behavior. The lower the pressure, the larger the differences in pure component compressibility and the more significant the excess molar volume. At the lower pressures of investigation, the deviation with respect to the mole fraction additivity rule Eq. 15 can be higher than 20 %, which represents a very significant value for that excess property.

3.2 Isothermal Compressibility

The experimental observation of the large negative excess volume as well as the significant decrease in partial molar volume of nC7 solute at high dilution in methane solvent is a result of large asymmetry in the compressibility of pure components. Thus, it appears useful to study the excess isothermal compressibility of such light–heavy binary system. To this end, the isothermal compressibility was first determined by numerical derivation of density measurements carried out in pure components and in the different binary mixtures. The derivation of density data was achieved by a computation technique based on a Monte Carlo method [49] which makes possible to obtain both the isothermal compressibility \(\kappa_{T}\) and its expanded uncertainty \(U\left( {\kappa_{T} } \right)\).

The method consists in randomly disturbing the data according to their combined standard uncertainties so as to obtain M (5000) set of perturbed density data. Each of them is fitted with an equation of state and derived so as to calculate the compressibility for each of the 5000 Monte Carlo trials. Finally, the mean and the standard deviation of the resulting compressibility distribution are calculated to obtain both the compressibility and its standard uncertainty. The method which was originally developed for weakly compressible liquids works with three different equations of state proposed, respectively by Hudleston [50], Murnaghan [51] and Tammann [52] for representing liquid density with respect to pressure with only three parameters. However, for mixtures containing more than 60% of methane these equations are no longer suitable to represent the high compressibility of these mixtures. For such compressible fluids a Benedict–Webb–Rubin [53] type equation was considered for representing the high compressibility of the system in these conditions. This equation expresses the compressibility factor of the mixture \(\left( {Z = PV_{m} /\left( {RT} \right)} \right)\) of the molar density \(\rho_{m}\) according to the following expression:

$$Z = 1 + A\rho_{m} + B\rho_{m}^{2} + E\rho_{m}^{5} + F\rho_{m}^{2} \left( {1 + \gamma \rho_{m}^{2} } \right)exp\left( { - \gamma \rho_{m}^{2} } \right).$$
(17)

So as to limit oscillation risk in compressibility computation at the extremity of the investigated pressure domain, 3 additional density measurements were added above the upper bound (at p = 75 MPa, 80 MPa and 90 MPa) and below the lower bound (7 MPa, 8 MPa and 9 MPa for a lower bound at 10 MPa). These additional densities were measured only to reduce the uncertainty in the compressibility determination and therefore were not included in Table 3. Both the isothermal compressibility and its expanded standard uncertainties \(U\left( {\kappa_{T} } \right)\) obtained in this way are listed in Table 5. This expanded uncertainty accounts for the uncertainty caused by mixture preparation and sample purities in addition to the uncertainty in isothermal compressibility computation.

Table 5 Isothermal compressibility \(\kappa_{T}\) with its expanded uncertainties \(U\left( {\kappa_{T} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%

As for density, the compressibility data for pure methane and n-heptane have been compared with the calculation of Setzmann and Wagner [36] and Span and Wagner [37], respectively. An average absolute deviation (AAD) of 0.14 % and a maximum deviation (MD) of 0.40 % are observed for methane whereas for n-heptane an AAD of 0.47 % and an MD of 1.2% are found. All these deviations are in good agreement with the estimated uncertainties of both the measurements and the correlations, thereby confirming the capability of the proposed computation procedure for working in an extended compressibility range.

The change in isothermal compressibility with addition of methane is shown in Fig. 9. It can be seen in this figure that \(\kappa_{T}\) increases with methane mole fraction with an exponential shape. In particular, at high content of methane, the compressibility of methane solvent drastically decreases by addition of n-heptane. This significant decrease in compressibility at high methane content is related to the positive slope of the molar volume with respect to pressure as observed in Fig. 6 for mixture with a methane content higher than 60 %. Indeed, for such conditions, the isothermal compressibility of the system is related to the difference of two positive contributions:

$$\kappa_{T}^{{}} = - \frac{{x_{C1} }}{{V_{m} }}\left( {\frac{{\partial V_{C1}^{{}} }}{\partial P}} \right)_{T,x} - \frac{{1 - x_{C1} }}{{V_{m} }}\left( {\frac{{\partial V_{C7}^{{}} }}{\partial P}} \right)_{T,x}$$
(18)

with

$$\left( {\frac{{\partial V_{C1}^{{}} }}{\partial P}} \right)_{T,x} < 0\;{\text{for}}\;0\% < x_{C1} < 100\% ,$$
(19)
$$\left( {\frac{{\partial V_{C7}^{{}} }}{\partial P}} \right)_{T,x} > 0\;{\text{for}}\;60\% < x_{C1} < 100\% .$$
(20)
Fig. 9
figure 9

Isothermal compressibility \(\kappa_{T}\) as a function of methane mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

By comparing the real compression behavior with the ideal one defined by the following combination rule:

$$\kappa_{T}^{id} = \emptyset_{C1} \kappa_{T,C1}^{*} + \left( {1 - \emptyset_{C1} } \right)\kappa_{T,C7}^{*}$$
(21)

where \(\emptyset_{C1}\) stands for the volume fraction of the light component:

$$\emptyset_{C1} = \frac{{x_{C1} M_{C1} }}{{\rho_{C1}^{*} \left( {x_{C1} \frac{{M_{C1} }}{{\rho_{C1}^{*} }} + \left( {1 - x_{C1} } \right)\frac{{M_{C7} }}{{\rho_{C7}^{*} }}} \right)}} .$$
(22)

It can be observed in Fig. 10 that the real compressibility is much lower than the ideal one. To emphasize this difference, excess isothermal compressibility \(\kappa_{T}^{E} \left( {\kappa_{T}^{{}} - \kappa_{T}^{id} } \right)\) was calculated. The results are listed in Table 6 and the relative excess isothermal compressibility \(\kappa_{T}^{RE}\) corresponding to the ratio between excess isothermal compressibility and the ideal isothermal compressibility \(\kappa_{T}^{E} /\kappa_{T}^{id}\) is plotted along different isobars in Fig. 11. An observation of this figure reveals a large deviation of compressibility data from ideality for all investigated pressures. The excess isothermal compressibilities are much lower than those expected for an ideal solution whatever the composition. By comparing the relative excess compressibility and the relative excess volume, it can be noticed that the effect of non-ideality caused by size asymmetry is magnified on such derivative property.

Fig. 10
figure 10

Comparison between ideal and real isothermal compressibility \(\kappa_{T}\) as a function of volume fraction \(\emptyset_{C1}\) at T = 303.15 K and p = 30 MPa. , measurement, ideal behavior (Color figure online)

Table 6 Excess isothermal compressibility \(\kappa_{T}^{E}\) with its expanded uncertainty \(U\left( {\kappa_{T}^{E} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%
Fig. 11
figure 11

Relative excess isothermal compressibility \(\kappa_{T}^{RE} \%\) as a function of methane mol% \(x_{c1}\) at T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

3.3 Speed of Sound and Isentropic Compressibility

Measurements of speed of sound w were performed for pure n-heptane and eight different mixtures ranging from 20 mol to 95 mol% methane as for density. The data of pure methane were obtained from the reference equation of state developed by Setzmann and Wagner [36] with a maximum uncertainty of 0.15 % (level of confidence = 0.95, k = 2) in the experimental range. The full set of data is summarized in Table 7. Pure heptane data were compared with previously measured values [54,55,56,57] in the same range through the deviations with the interpolation of the literature data. Comparison with data from Boelhouwer [54] shows a very good agreement with a maximum deviation of 0.09 %. Comparison with Daridon et al. [55] yields again a good match of both sets of data with an average deviation of 0.03 % with a maximum of 0.11 %. Data from Yebra et al. [57] are also in good agreement with an average of 0.11 % and maximum deviation of 0.25 %. A slightly higher deviation is observed with the data of Dzida and Ernst [56] with an average value of 0.13 % and a maximum of 0.40 %.

Table 7 Values of speed of sound w with their expanded uncertainties \(U\left( w \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%

The influence of composition on speed of sound is graphically presented in Fig. 12. An examination of this figure shows that the speed of sound does not follow a monotonous decrease with addition of methane. A minimum is observable in the isobaric curves whatever the pressure. To analyze the presence of this minimum, the isentropic compressibility \(\kappa_{S}^{{}}\) was calculated from speed of sound and density data using the Newton–Laplace equation:

$$\kappa_{S}^{{}} = \frac{1}{{\rho w^{2} }}.$$
(23)
Fig. 12
figure 12

Speed of sound w a function of methane mol% \(x_{c1}\) at T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

The result is plotted in Fig. 13 for one pressure (30 MPa). The isentropic compressibility \(\kappa_{S}^{id}\) corresponding to ideal behavior is added in this figure. Because \(\kappa_{S}^{id}\) cannot be calculated by a simple combination of isentropic compressibility of pure components, the ideal isentropic compressibility is determined from the thermodynamic equation that relates it to the isothermal compressibility:

$$\kappa_{S}^{id} = \kappa_{T}^{id} - \Delta \kappa^{id}$$
(24)

where \(\Delta \kappa^{id}\) is the ideal non-isothermal compressibility correction:

$$\Delta \kappa^{id} = \frac{{TV_{m}^{id} \left( {\alpha_{p}^{id} } \right)^{2} }}{{C_{pm}^{id} }}.$$
(25)
Fig. 13
figure 13

Comparison between ideal and real isentropic compressibility \(\kappa_{S}\) as a function of mol% \(x_{c1}\) at T = 303.15 K and p = 30 MPa. , experiments; , ideal behavior (Color figure online)

In this expression, the ideal isobaric expansion \(\alpha_{p}^{id}\) and ideal molar heat capacity \(C_{pm}^{id}\) were obtained from the following ideal combination rules:

$$\alpha_{P}^{id} = \mathop \sum \limits_{i} \emptyset_{i} \alpha_{p,i}^{*} ,$$
(26)
$$C_{pm}^{id} = \mathop \sum \limits_{i} x_{i} \frac{{TM_{i} \left( {\alpha_{p,i}^{*} } \right)^{2} }}{{\rho_{i}^{*} \left( {\kappa_{T,i}^{*} - \kappa_{S,i}^{*} } \right)}}.$$
(27)

This set of equations requires, in addition to density, isothermal compressibility and speed of sound data given in Tables 3, 5 and 7, the isobaric expansion of both pure components. It was obtained by derivation of density data with respect to temperature using the same method than the one proposed for computing isothermal compressibility. In this case polynomial functions \(\rho \left( T \right)\) and \(Z\left( T \right)\) were considered for fitting isobaric density data of pure n-heptane and methane, respectively. For that purpose, additional density data (not reported here) were used to extend the temperature range around 303.15 K. The values of isobaric expansion obtained in this way are reported in Table 8 for both components. They deviate of 0.1 % and 2.1 % on average from the correlations of Setzmann and Wagner [36] and Span and Wagner [37] for methane and n-heptane, respectively.

Table 8 Values of isobaric expansion \(\alpha_{P}^{*}\) and its expanded uncertainty \(U\left( {\alpha_{P}^{*} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p for pure methane and n-heptane

Observation of Fig. 13 shows that the experimental data are always lower than the ideal isentropic compressibility as already observed for isothermal compressibility. The experimental data monotonously increase with methane content whereas ideal behavior exhibits a maximum around 94 % of methane. This maximum is related to the difference in the shape of the curves \(\kappa_{T}^{id}\) and \(\Delta \kappa^{id}\), from which \(\kappa_{S}^{id}\) is deduced thanks to Eq. 24. One increases linearly with methane volume fraction \(\emptyset_{C1}\) whereas the other one exhibits a nearly parabolic shape as shown in Fig. 14. The result is a maximum in their difference and consequently a change of sign of the derivative of \(\kappa_{S}^{id}\) with respect to methane content.

Fig. 14
figure 14

Comparison between idea isothermal and isentropic compressibilities as a function of volume fraction \(\emptyset_{C1}\) at temperature T = 303.15 K and pressure p = 30 MPa. , ideal isothermal compressibility \(\kappa_{T}^{id}\); , ideal non-isothermal compressibility correction \(\Delta \kappa^{id}\); , ideal isentropic compressibility \(\kappa_{S}^{id}\) (Color figure online)

The equation of Newton–Laplace (Eq. 23) implies that twice the logarithmic derivative of speed of sound with respect to mole fraction is equal to the sum of two contributions: \(- \left( {\partial \rho /\partial x_{C1} } \right)/\rho\) and \(- \left( {\partial \kappa_{S} /\partial x_{C1} } \right)/\kappa_{S}\). The logarithmic derivative of \(\rho\) is positive whereas the logarithmic derivative of \(\kappa_{S}\) with respect to \(x_{C1}\) can be either positive or negative. In case of an ideal solution, the logarithmic derivative of \(\kappa_{S}^{id}\) decreases with \(x_{C1}\) to reach a negative value at high methane content due to the maximum observed in Fig. 13. Consequently, the curve representing this logarithmic derivative intersects the curve of the opposite of logarithmic derivative of \(\rho_{{}}^{id}\) that monotonically increases with \(x_{C1}\) as shown in Fig. 15. At this point (around 70 % of methane) the ideal speed of sound \(w_{{}}^{id}\) (calculated from Eq. 23 with \(\rho_{{}}^{id}\) and \(\kappa_{S}^{id}\)) presents a minimum as observed in Fig. 16. A maximum is not observed in Fig. 13 for \(\kappa_{S}^{{}}\) but only in its logarithmic derivative, as shown in in Fig. 15. This leads to an intersection with the opposite of the logarithmic derivative of \(\rho\) around 95 % of methane and therefore a minimum in the speed of sound isobaric curve as shown in Fig. 16. Consequently, the existence of the extremum in the speed of sound isobaric curves is not related to the non-ideality of the binary system but rather to the definition of the speed of sound which depends both on density and isentropic compressibility according to the Newton–Laplace equation, Eq. 23.

Fig. 15
figure 15

Comparison of the change of the logarithmic derivatives with respect to methane mol% \(x_{C1}\) at T = 303.15 K and p = 30 MPa for the real and ideal solutions. , \(\left( {\partial \kappa_{S}^{id} /\partial x_{C1} } \right)/\kappa_{S}^{id}\); , \(- \left( {\partial \rho_{{}}^{id} /\partial x_{C1} } \right)/\rho_{{}}^{id}\); , \(\left( {\partial \kappa_{S} /\partial x_{C1} } \right)/\kappa_{S}\); ,\(- \left( {\partial \rho /\partial x_{C1} } \right)/\rho\) (Color figure online)

Fig. 16
figure 16

Comparison between ideal and real speed of sound w as a function of mol% \(x_{c1}\) at temperature T = 303.15 K and pressure p = 30 MPa. , experiment; , ideal behavior (Color figure online)

Finally, the excess isentropic compressibility \(\left( {\kappa_{S}^{E} = \kappa_{S}^{{}} - \kappa_{S}^{id} } \right)\) and the excess speed of sound \(w_{{}}^{E} = w - w_{{}}^{id}\) were calculated. Both properties are compiled in Tables 9 and 10. The relative excess properties \(\left( {\kappa_{S}^{RE} = \kappa_{S}^{E} /\kappa_{S}^{id} } \right)\) and (\(w_{{}}^{RE} = w_{{}}^{E} /w_{{}}^{id}\)) are plotted in Figs. 17 and 18 respectively. It can be noticed from these figures that \(\kappa_{S}^{RE}\) is of the same order of magnitude than \(\kappa_{T}^{RE}\) reported in Fig. 11, meaning that the deviation to ideality observed on isentropic compressibility, and consequently in speed of sound, is mainly caused by the asymmetry in isothermal compressibilities between the pure components. This asymmetry has a huge impact on speed of sound that deviates from ideal expectation by more than 200 % at low pressure.

Table 9 Excess isentropic compressibility \(\kappa_{S}^{E}\) with its expanded uncertainties \(U\left( {\kappa_{S}^{E} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%
Table 10 Excess speed of sound with its expanded uncertainties \(U\left( {w^{E} } \right)\) (level of confidence = 0.95, k = 2) at temperature T = 303.15 K and pressures p and methane content \(x_{c1}\) in mol%
Fig. 17
figure 17

Relative excess isentropic compressibility \(\kappa_{S}^{RE} \%\) as a function of methane mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

Fig. 18
figure 18

Relative excess speed of sound \(w_{{}}^{RE}\) as a function of mol% \(x_{c1}\) at temperature T = 303.15 K and at various pressures p: , 10 MPa; , 20 MPa; , 30 MPa; , 40 MPa; , 50 MPa; , 60 MPa; , 70 MPa (Color figure online)

4 Conclusion

Using two different high-pressure devices, density and speed of sound were measured in a binary asymmetric system (in terms of compressibility) composed of methane and n-heptane. The experimental data gathered at 303.15 K and at different conditions of pressure and composition have led to the determination of the isothermal and isentropic compressibilities.

In this system, the large difference in the compressibility of pure components provoked a significant negative excess values in the molar volumes with relative excess values that can reach − 20 % of the ideal molar volume. In addition, a clustering effect at p = 30 MPa was brought forth to light by evaluating the partial volume of n-heptane at infinite dilution.

Furthermore, the examination of the change of the partial molar volume of n-heptane with respect to pressure has shown an unconventional behavior with the observation of an increase of \(V_{C7}^{{}}\) with pressure for high methane content mixtures. As a result of this positive slope of the molar volume with respect to pressure, the compressibility of mixture with high methane content drastically decreases by addition of n-heptane. Relative excess volume decreases with increasing pressure but remains significant (5 %) at the highest pressure of investigation (70 MPa).

The non-ideal behavior is further reflected through the derivative properties and in particular through the relative excess isothermal compressibility that exhibits values up to 100 %. Finally, a non-monotonous change of speed of sound with respect to the addition of methane in n-heptane was found, with the presence of a minimum in the isobaric speed of sound curves plotted as a function of methane mole fraction. This extremum is not attributable to a non-ideal behavior as it is obtained, and even more significantly, with an ideal solution. It is indeed simply caused by the competition between two antagonistic effects which appear in the definition of speed of sound through the Newton–Laplace equation.