Introduction

The gas hydrates are pseudo-ice structured compounds which consist of water molecules and natural gas components. The natural gas components act as guest trapped in cage-like structure formed by water (Sloan and Koh 2007; Bahadori and Vuthaluru 2009). Generally, hydrate is generated at specific low temperature and high pressure which are affected by gas composition. Hydrate formation usually causes unfavorable effects such as obstruction in pipelines, gas tubing wells and in surface facilities (Elgibaly and Elkamel 1998). C2 + recovery from natural gas is an economic process through which methane with high purity is separated from other hydrocarbons, and is subject to hydrate formation in presence of water. Hence, any effort which facilitates prevention of unsolicited phenomenon such as methane hydrate formation in gas transmission pipeline should be taken into consideration (Koh et al. 2002). High energy demand persuades countries like China, Japan, India and South Korea to explore and exploit methane hydrate resources (Collett 2002; Vedachalam et al. 2015; Konno et al. 2016). It was understood that methane hydrate-bearing sandy sediments are found in the Japan, South Korea, India and USA (Ruppel et al. 2008; Ryu et al. 2013; Collett et al. 2014; Fujii et al. 2015). Several researchers tried to explore different aspects of methane hydrate formation conditions. Zhong et al. investigated separating methane from a coal mine methane gas using gas hydrate crystallization method (2016). This was due to large gas storage capacity of methane hydrate and finding average formation conditions. Their proposed method was promising for separation of gas mixtures. Another illustration is that of Zhong et al. (2015) who used gas hydrate formation for CO2 removal from a simulated shale gas. Moreover, methane hydrate formation as a huge source of energy was the aim of study indifferent researches especially to evaluate enhancement of methane hydrate growth and its density. As an example, Ganji et al. used a surfactant to decrease surface tension of water. Results of their study showed that methane hydrate formation rate and storage capacity increased effectively (Ganji et al. 2007). Several studies focus on the rate of methane hydrate formation in presence of different chemicals and porous materials (Liang et al. 2005, 2009a, b; Yan et al. 2005; Ganji et al. 2007; Park and Kim 2010; Babu et al. 2013; Chari et al. 2013; Pasieka et al. 2013; Lim et al. 2014, Siangsai et al. 2014, 2015).

Studies of hydrate formation prediction are presented in two general categories, thermodynamic models and empirical correlations. In addition, use of intelligent models is extended recently for prediction of physical properties of energy sources (Mohamadi-Baghmolaei et al. 2014, 2015). Mathematical-based equations and thermodynamic relations are proposed for use in simulation process and program code where the relationship between input and output is pretty clear. Common thermodynamic models for hydrate formation are K value method and van der Waals Platteeuw (Wilcox et al. 1941; Van der Waals and Platteeuw 2007). The first method is developed based on vapor–solid equilibrium constants for prediction of hydrate formation condition, while the second is based on statistical thermodynamic approach. The main drawback of thermodynamic models is their weak ability in prediction of high and low pressure and temperature. Also, thermodynamic models are complicated to be programmed and applied (Garapati and Anderson 2014). Application of thermodynamic models as function of equation of state including several components is considerably time taking process as the inter-molecular interaction and proper mixing rules should be estimated through trial and error process (Mohamadi-Baghmolaei et al. 2014, 2016a). In the case of empirical correlations, the input parameters include temperature, pressure and gas gravity. These methods are useful for rapid estimation of the hydrate formation conditions. Moreover, less input data make them easy to use for industrial and practical purposes (Carroll 2014). For instance, Hammerschmidt presented a simple empirical correlation for hydrate formation which was independent of gas gravity (1934). This correlation shown in Eq. (1) is function of pressure (psi) and results the temperature (°F) of hydrate formation. The simplicity of Hammerschmidt (HSCH) correlation may cause deviation from experimental data.

$$ T = 8.9P^{0.285} $$
(1)

Another example is Holder et al.’s (1988) correlation developed for predicting hydrate formation pressure which was simple and easy to use. Their correlation depends on two coefficients which are function of temperature range for each gas. These coefficients can be determined by curve fitting on experimental data.

$$ P = { \exp }\left( {38.9803 + \frac{ - \,8533.80}{T}} \right) $$
(2)

Some empirical correlations contain large number of coefficients in their equations. For example, Kobayashi et al. (1987) proposed their correlation with fifteen coefficients. Other example in the same category is the presented correlation by Amin et al. (2015) which was developed based on leverage approach or Ghiasi (2012) who offered a correlation as a function of molecular weight and pressure to predict hydrate formation temperature (HFT). Ghiasi developed his correlation for prediction of hydrate formation temperature (HFT) (K) of sweet natural gases. The correlation depends on pressure (kPa) and molecular weight (\( M_{\text{w}} \)).

$$ T = A_{0} + A_{1} M_{\text{w}} + A_{1} M_{\text{w}}^{2} + A_{4} \left( {\ln P} \right)^{2} + A_{5} M_{\text{w}} \ln P $$
(3)

The coefficients of Eq. (3) are reported by Ghiasi (2012).

There are other correlations published in the literature which are tested in this paper. Details of these correlations are given in “Empirical correlations” appendix section.

In the current study, a comprehensive comparison is performed between empirical correlations and van der Waals Platteeuw (VdW-P) model. Application of VdW-P EOS is described for fugacity calculation. To do this, seven equations of state (EOS) including Virial, van der Waals (VdW), Redlich–Kwong (RK), Soave–Redlich–Kwong (SRK), Peng–Robinson (PR), Tsai–Jan (TJ) and Patel–Teja (PT) (Van der Waals 1873; Redlich and Kwong 1949; Soave 1972; Peng and Robinson 1976; Patel and Teja 1982; Tsai and Jan 1990; Prausnitz et al. 1998) are employed in VdW-P model to find an accurate method for predicting hydrate formation pressure (HFP) and HFT in temperature range of 259.1–320.1 (K). The accuracy of each model is validated using pure methane hydrate formation experimental data of temperature and pressure. Finally, new empirical correlation is developed for HFT of pure methane.

Van der Waals Platteeuw model

The VdW-P thermodynamic model which was proposed for hydrate formation conditions. This model is based on the following assumptions (Chen and Guo 1996):

  1. 1.

    Each cavity should contain at most one guest (gas) molecule.

  2. 2.

    The ideal gas partition function is applicable to guest molecules.

  3. 3.

    The interaction between guest and water molecules can be described by a pair potential function, and the cavity can be treated as perfectly spherical.

  4. 4.

    Guest–guest molecule interactions are neglected.

  5. 5.

    There is no interaction between guest molecules in different cavities, and the guest molecules interact only with the nearest neighboring water molecules.

  6. 6.

    The free energy contribution of water molecules is independent of the modes of occupancy of dissolved guest molecules.

Thermodynamic equilibrium suggests that chemical potentials of each component in liquid, solid (hydrate) and vapor (L wHV) should be equal. This results in equality of fugacities which is the condition of equilibrium state. The fugacity and chemical potential of each term are denoted by f (bar) and μ (J/mol), respectively.

$$ \mu_{\text{g}}^{L} \left( {P,T} \right) = \mu_{\text{g}}^{V} \left( {P,T} \right) = \mu_{\text{g}}^{H} \left( {P,T} \right) $$
(4)
$$ \mu_{\text{w}}^{L} \left( {P,T} \right) = \mu_{\text{w}}^{V} \left( {P,T} \right) = \mu_{\text{w}}^{H} \left( {P,T} \right) $$
(5)

The chemical potential difference between hydrate and virtual phase (β) is:

$$ \mu_{\text{w}}^{\beta - H} \left( {P,T} \right) = \mu_{\text{w}}^{\beta } \left( {P,T} \right) - \mu_{\text{w}}^{H} \left( {P,T} \right) $$
(6)

The potential difference of Eq. 3 is calculated using a statistical relation developed for gas hydrate (Van der Waals and Platteeuw 2007). It was assumed that the solid phase can be modeled by inspiring from the Langmuir gas adsorption model.

$$ \mu_{\text{w}}^{\beta - H} \left( {P,T} \right) = RT\mathop \sum \limits_{m = 1}^{N} \nu_{m} \ln \left( {1 + \mathop \sum \limits_{j = 1}^{NH} C_{jm} f_{j}^{v} } \right) $$
(7)

where R, T, ν, C and f are universal gas constant, temperature, number of type-m cavities per water molecule in the lattice, the Langmuir constant and pure fugacity of component j. The number of types of cavities in crystalline hydrate lattice, types of cavity and number of gas type molecules which can enter the hydrate phase and fill the cavities are N, m and NH, respectively.

The Langmuir constant can be calculated using Lennard-Jones and Devonshire cell theory (1939) or empirical correlation proposed by Parrish and Prausnitz (1972).

$$ C_{jm} = \frac{{A_{jm} }}{T}{ \exp }\left( {\frac{{B_{jm} }}{T}} \right) $$
(8)

This correlation is fitted for temperature range of 260–300 K.

Constants A and B of the current work are given in Table 1.

Table 1 Coefficients of Langmuir constant

A proper EOS should be hired to obtain fugacity of component j in gas phase, Eq. (9). The applied EOS in the current study is introduced in “Equation of state” section.

$$ f_{j}^{v} = \emptyset_{j}^{v} \left( {P,T,y,{\text{EOS}}} \right) \times P \times y_{j} $$
(9)

The chemical potential difference of water and virtual phase is:

$$ \frac{{\Delta \mu_{\text{w}}^{\beta - L} }}{RT} = \frac{{\Delta \mu_{\text{w}}^{0} }}{{RT_{0} }} - \mathop \int \nolimits_{{T_{0} }}^{T} \frac{{\Delta h_{\text{w}}^{\beta - L} }}{{RT^{2} }}{\text{d}}T + \mathop \int \nolimits_{{P_{0} }}^{P} \frac{{\Delta v_{\text{w}}^{\beta - L} }}{RT}{\text{d}}P - \ln a_{\text{w}} $$
(10)

The molar enthalpy difference can be determined as:

$$ \Delta h_{\text{w}}^{\beta - L} = \Delta h_{\text{w}}^{0,\beta - L} + \int\limits_{{T_{0} }}^{T} {\Delta C_{P} \,{\text{d}}T} $$
(11)

Also, heat capacity can be calculated as:

$$ \Delta C_{P} =\Delta C_{P}^{0} + \alpha^{{\prime }} \left( {T - T_{0} } \right) $$
(12)

The required coefficients of above correlations are presented in Table 2 (Parrish and Prausnitz 1972).

Table 2 Thermodynamic parameters of VdW-P

The activity of water in liquid phase is presumed to be unit due to low solubility of methane in water. The calculation algorithm suggested by VdW-P model is shown in Fig. 1.

Fig. 1
figure 1

Typical algorithm of VdW-P model

Equation of state

Six including cubic EOSs (van der Waals (VdW), Redlich–Kwong (RK), Soave–Redlich–Kwong (SRK) and Peng–Robinson (PR), Patel–Teja (PT) and Tsai–Jan (TJ)) along with Virial EOS are introduced in Table 3. The corresponding fugacity coefficients of each EOS are shown in Table 3. These EOSs were chosen because of their popularity in equilibrium thermodynamic modeling. The fugacity coefficients are needed for calculation of pressure and temperature of hydrate formation.

Table 3 EOS and corresponding fugacity coefficients

New correlation

In this work, genetic programing (GP) is manipulated to develop new mathematical correlation for methane hydrate formation temperature (Ganji et al. 2007). The origin of evolutionary algorithms is Darwinian Theory which is inspired by biological evolution (Mohamadi-Baghmolaei et al. 2016a). These algorithms grow according to survival of fittest. The mutation and crossover process, which are the random mechanisms, introduce the strongest genomes as parents of next generations (Linga et al. 2009a). In GP algorithm, the individuals are represented by trees. Indeed, this method is capable of reproducing a mathematical equation based on its tree structural mechanism, whereas other evolutionary algorithms are incapable or their flexibility is less pronounced (Zhong et al. 2016). A tree structural GP individual is displayed in Fig. 2. The prefixed notion of GP presented equation (Fig. 2) is shown by Eq. (13).

$$ {\text{Parent}} 1 = \log \left( x \right) \cdot \log \left( y \right) + \frac{y - x}{3 \sin \left( x \right)} $$
(13)
Fig. 2
figure 2

Mutation process in GP

The fundamental and detail concept of GP algorithm is described by Mohamadi-Baghmolaei et al. (2016b). Based on GP algorithm, a new correlation is developed to predict the hydrate formation temperature. The HFT (K) is correlated for pure methane as function of pressure (MPa). About 75% of experimental data are implemented for validation of correlation, and the remains and non-repetitive data are chosen to test the new correlation. Tree structure of new correlation is shown in Fig. 3.

Fig. 3
figure 3

Tree structure of new correlation

Details of proposed correlation are as follows:

$$ T = \varvec{a} + \varvec{b} \times \ln \left( A \right) $$
(14)
$$ A = \varvec{c}p + \varvec{d} \times \ln \left( B \right) + \varvec{e} \times \ln \left( p \right) - {\raise0.7ex\hbox{$\varvec{f}$} \!\mathord{\left/ {\vphantom {\varvec{f} p}}\right.\kern-0pt} \!\lower0.7ex\hbox{$p$}} $$
(15)
$$ B = \varvec{g} \times \ln \left( p \right) $$
(16)

The developed correlation covers a wide range existing input data (\( 259.1 \le T\left( K \right) \le 320.1 \)) and compensates other correlations which are mostly coverless range of input data. Despite the long and tedious conventional empirical correlations, the new developed correlation includes less involving terms. The proposed correlation is simple, which makes it profitable for academic and industrial proposes. Constants of new correlation (Eqs. 1416) are given in Table 4.

Table 4 Constants of new correlation

Results and discussion

In this study, VdW-P thermodynamic model (considering seven EOSs) and several empirical correlations are chosen to find the most accurate one. To do this, 101 experimental datasets for pure methane were extracted from open literature (Sloan and Koh 2007). The statistical characteristics of data are reported in Table 5. Different statistical errors functions are used to evaluate models and determine the most accurate one. These functions are defined in “Required parameters of EOS” appendix section.

Table 5 Statistical information of data points

Comparison of applying different EOSs in VdW-P model

Quantitative comparison of utilizing different EOSs in VdW-P model based on statistical errors is presented in Table 6 where the temperature range is 259.1–320.1 (K). It is observed that for the total temperature range, the SRK EOS has the least and preferable root-mean-squared error (RMSE) (41.1626). In contrast, PR has the maximum value RMSE (1.2987e+04) which may make it unsuitable for prediction of hydrate formation condition. It is worth mentioning that for the temperature range of 259.1–284.3 (K), the Virial EOS is the most precise EOS with respect to statistical errors reported in Table 5. On the other hand, at temperatures higher than 284.3–320.1 K the SRK EOS is suggested to be used in VdW-P (see Table 6).

Table 6 Statistical error of HFP using EOS

The accuracy of EOS in VdW-P model can be recognized from Figs. 4 and 5 where predicted pressures and experimental data are displayed by different symbols.

Fig. 4
figure 4

Comparison between different EOSs used in VdW-P for \( 259.1 \le T \le 284.3 \) K

Fig. 5
figure 5

Comparison between different EOSs used in VdW-P for \( 284.3 \le T \le 320.1 \) K

The Langmuir constants were determined based on SRK EOS, which has best predictions for HFP of methane. The accuracy lays behind the difference between calculated fugacities by each EOS. Calculated errors of fugacity by different EOSs are shown in Table 7.

Table 7 Statistical errors of PR and Virial EOSs in comparison with SRK EOS

As mentioned before, accuracy of calculated fugacities should be evaluated and compared by the fugacities determined from SRK EOS in which the experimental pressure and temperature are applied. The results shown in Table 7 confirm that calculated fugacity by PR and Virial EOSs at experimental temperature and pressure are not consistent with SRK EOS at temperature higher than 295 K; therefore, calculated HFP by these two EOSs has large statistical error.

Comparison between empirical correlations

Comparison between empirical correlations is given in Table 8. Of the seven correlations, the Berge has the least RMSE value (2.1431), followed by Ghiasi (Ghiasi 2012) with RMSE (6.7202). On the other side, Ghayyem et al. (2014) correlation shows a significant disagreement with experimental data. It should be mentioned that HSCH, BV, TM are the abbreviation form of Hammerschmidt (1934), Bahadori and Vuthaluru (2009), Towler and Mokhatab (2005) correlation, respectively. These correlations are introduced in “Empirical correlations” appendix section.

Table 8 Statistical error of HFP using empirical correlations for \( 259.1 \le T \le 320.1 \)

The accuracy of Berge correlation among others is clear in Fig. 6 where the high deviation of HSCH from experimental data is significantly apparent.

Fig. 6
figure 6

Comparison between empirical correlations

Evaluation of new correlation

The new developed correlation shows the highest agreement with experimental data, as shown in Table 9. The computed errors of developed correlation for validation and test steps are reported in Table 9.

Table 9 Statistical error of HFP based on new correlation

Also, comparison between new correlation and experimental data is illustrated in Fig. 7. It is clear that the highest accuracy is observed in tracing experimental data using new correlation. As seen, total errors of proposed correlation compensate all reported empirical correlations and VdW-P models. The new correlation satisfied the experimental data well enough.

Fig. 7
figure 7

Comparison between new correlation and experimental data

To compare best predicting method of HFP, scattered diagram of best empirical correlation, VdW-model and new correlation are depicted in Fig. 8. For temperature range of 259.1–284.3 K, the Virial EOS is the most accurate EOS. For overall temperature range (259.1–320.1 K), the SRK EOS has best results between other EOSs. In addition, Berge correlation is the most accurate one in comparison with other empirical correlations considering overall range of temperatures. Also, our new correlation is the best predictor between all other methods and equations.

Fig. 8
figure 8

Scattered diagrams of the best predicting methods

Modified correlations

The modified HSCH correlation shows an improvement of predictability for HFP. It precedes all empirical correlation predictions. It is noteworthy that, the modified HSCH is more accurate than all models of VdW-P. Another modified correlation is that of Holder et al. although the modified Holder et al.’s correlation is better than the old version, but it is still less accurate in comparison with Berge and Ghiasi and TM correlations. The modified Holder et al.’s correlation convinces the experimental data much better than VdW-P models except for SRK EOS. The calculated errors for modified correlations are reported in Table 10. The modified correlations of HSCH and Holder et al. are:

$$ T = 265.9744P^{0.0309} $$
(17)
$$ P = \exp \left( {34.4077 + \frac{ - \,9165.9451}{T}} \right) $$
(18)

where temperature and pressure are reported in K and MPa.

Table 10 Statistical error of HFP using modified empirical correlations

Conclusion

In the current paper, the new simple correlation for prediction of hydrate formation temperature for temperature range of 259.1–320.1 (K) was developed. The computed statistical errors signify the excellence of proposed method in comparison with common empirical correlations and application of different EOSs in VdW-P model. Also it has been noticed that for the range of 259.1 ≤ T (K) ≤ 284.3 the Virial EOS is the best among other EOS, whereas for the temperature range of 284.3 ≤ T (K) ≤ 320.1 the SRK EOS has the maximum consistency with experimental data. Of the seven empirical correlations, that of Berge is the most truthful. The simplicity and accuracy of proposed new correlation prepare the easiest way of methane HFT prediction among longsome VdW-P methods and complicated correlations.