Introduction

Chemical heat generation is used to improve the oil recovery and the fluidity of oil in the formation using the heat generated in the exothermic chemical reaction. In recent years, chemical heat generating methods have been widely applied in oilfield development and have shown good effectiveness for in-situ heat fracturing, paraffin plug removal, surface cleanup, and thermal chemical flooding in heavy oil reservoirs [1,2,3,4,5,6,7,8].

There are three kinds of chemical heat generating systems commonly used in oil production, namely NaNO2/NH4Cl, H2O2, and polyhydroxyaldehyde/CrO3. Numerous studies have been conducted on these chemical heat generating systems. Huang et al. [9] compared three heat generation systems and concluded that the NaNO2/NH4Cl system has a much lower corrosion rate. Davies et al. [10] suggested that the NaNO2/NH4Cl system has a considerably larger heat generating capacity in the presence of iron ions. To summarize, the NaNO2/NH4Cl system is characterized by higher heat generation, higher safety factor, lower corrosivity, lower formation damage, and lower costs, compared with other chemical heat systems [11–16]. However, the results of the previous researchers as presented in the literature differ significantly. Furthermore, little attention was paid to investigation of the kinetics.

In this paper, experiments on the ammonium chloride/sodium nitrite reaction were performed, which showed good repeatability. Citric acid was used as a catalyst. The kinetic equations with or without the heat loss consideration were then established and improved to reveal the relationship between the reaction rate and the concentrations of reactants and the catalyst.

1. EXPERIMENTAL DESIGN

1.1 Experimental equipment and materials

The experimental equipment included a high pressure/high temperature reaction vessel JBF-2, a temperature and pressure monitor, and a temperature controlling device. The chemicals used in the experiments include NH4Cl, NaNO2, C6H8O7, and distilled water.

1.2 Experimental procedure

  1. (1)

    Prepare 50 mL NH4Cl solution of a certain concentration and add citric acid. Introduce the solution into the chamber of the reactor.

  2. (2)

    Prepare 50 mL NaNO1 solution of the same concentration and introduce the solution into the container hanging above the chamber.

  3. (3)

    Set the initial reaction temperature of the system

  4. (4)

    Mix the two solutions instantly by turning the handle on top of the reactor and keep stirring gently for better mixing. Observe and record the temperature and pressure in the reactor during the reaction.

  5. (5)

    Change one of the reaction parameters (the initial reactant concentration, catalyst concentration, or the initial reaction temperature), and repeat steps 1-4.

2. KINETIC EQUATION REGRESSION

2.1 Assumptions

  1. (1)

    The heat loss is neglected. The experimental reaction data with low heat loss values were selected for regression. The heat loss is defined as the heat that is not absorbed by the liquid phase.

  2. (2)

    The effect of side reactions is neglected.

  3. (3)

    The obtained gas temperature is equal to that of the liquid phase during the reaction.

  4. (4)

    The specific heat of the solution is assumed to be equal to the specific heat of water, which is 4.2 LT/(kg·K).

2.2. Kinetic equation regression procedure

As was established in the literature, there are two types of kinetic equations for the ammonium chloride/sodium nitrite system, respectively shown as Eqs. (1) and (2) [16-17]. Both equations were obtained by combining the Arrhenius empirical formula with the experimental results. Both equations used the same parameters, including the half-life of the reaction (t1/2), the reaction order (n), the reaction rate constant (KT), the relationship between KT and the concentration of H+, and the reaction activation energy (Ea).

The difference between the coefficients in Eqs. (1) and (2) reflects the fact that the kinetic equation accuracy is strongly affected by the particular experimental conditions at the oil field. The two equations have the same mathematical form revealing the relationship between KT and the concentration of H+, as represented by Eq. (3). In our study the coefficients k0, k1, m, n in Eq. (3) were obtained based on the experimental data. The method of undetermined coefficients was used for regression:

$$ dC/ dt=-1.267\times {10}^7{C}_{{\mathrm{H}}^{+}}^{1.17}{\mathrm{e}}^{-5630/T}{C}^{1.88} $$
(1)
$$ dC/ dt=-2.066\times {10}^7{C}_{{\mathrm{H}}^{+}}{\mathrm{e}}^{-6045/T}{C}^2 $$
(2)
$$ dC/ dt=-{k}_0{C}_{H^{+}}^m{e}^{-{k}_1/T}{C}^n $$
(3)

where dC/dt is the reaction rate of NaNO2 (or NH4C1), mol/(L-min); C is the concentration of NaNO2(or NH4C1); when t = 0, then C = Co, mol/L; \( {C}_H^{+} \) is the mass concentration of catalyst in the mixed solution, wt.%; and T is temperature of the mixed solution, K

The temperature and pressure readings are recorded during the reaction. According to the energy conservation law, the heat generated by the reaction is divided into two parts: the heat absorbed by the liquid phase and the heat loss absorbed by the reactor body. The energy conservation equation is the following:

$$ 2\rho v{c}_p\left(T-{T}_0\right)+{\int}_{t_0}^t2q(t) vdt=\left({C}_0-C\right) Hv $$
(4)

where 2ρvcp(TT0) is the heat absorbed by the solution; \( {\int}_{t_0}^t2q(t) vdt \) is the heat loss; (C0C)Hv is the total heat generated by the reaction; ρ is the density of the mixed solution, 103kg/m3; v is the volume of the solution of NaNO2 (or NH4C1), L; C0 is the initial reactant concentration (before mixing), mol/L; cp is the specific heat of the mixed solution, kJ/(kg·K); T0 is the initial reaction temperature, K; H is the reaction enthalpy, 332.58 LT/mol; q(t) is the rate of heat loss per volume of the mixed solution, kJ/(L·min).

Equation (4) can be transformed mathematically, so the reactant concentration is expressed as

$$ C={C}_0-\frac{2\rho v{c}_p\left(T-{T}_0\right)+{\int}_{t_0}^t2q(t) vdt}{Hv}. $$
(5)

When the heat loss is neglected, \( {\int}_{t_0}^t2q(t) vdt=0 \), Eq. (5) is written as

$$ C={C}_0-\frac{2\rho v{c}_p\left(T-{T}_0\right)}{Hv}. $$
(6)

Here C can be calculated by Eq. (6), and.dC/dt can be calculated by the numerical method of weighted difference, as shown below:

$$ {\left.\frac{dC}{dt}\right|}_{t={t}_i}=\frac{\left({t}_{i+1}-{t}_i\right)\frac{C_i-{C}_{i-1}}{t_i-{t}_{i-1}}+\left({t}_i-{t}_{i-1}\right)\frac{C_{i+1}-{C}_i}{t_{i+1}-{t}_i}}{t_{i+1}-{t}_{i-1}} $$
(7)

Citric acid is an organic acid, which can partially ionize in water. It is selected as a catalyst for its low corrosivity to the wellbore and reservoir. The ionization equilibrium constant depends on the temperature; thus the molar concentration of the hydrogen ions also changes with the temperature. To keep CH+ as a constant, mass concentration (wt.%) is used instead of molar concentration of hydrogen ions (mol/L). Finally, the equation was regressed using the nonlinear least squares method and substituted into the expressions for dC/dt, CH+(wt.%), and C into Eq. (3).

2.3 Kinetic equation regression results

As shown in Table 2, the eight groups of experimental data meeting the criterion of negligible heat loss were selected for regression. Using the data from multiple experiments helped to avoid the multi-solution problem during regression.

Table 1
Table 2
Table 3
Table 4
Table 5
Table 6

Hence, the kinetic equation of the ammonium chloride/sodium nitrite reaction exclusive of the heat loss is

$$ dC/ dt=-2.63\times {10}^7{C}_{H^{+}}^{0.9}{e}^{-6178/T}{C}^{2.3} $$
(8)

2.4 Accuracy of the regressed kinetic equation

In practice, heat loss is inevitable no matter what kind of reaction device is used. In order to check the accuracy of the above kinetic equation and to evaluate the influence of the heat loss on the heat generation process, two groups of experimental data were selected, as shown in Table 3. The experimental parameters differ significantly. Then Eq. (8) is solved by the fourth-order Runge-Kutta method. For Exp. No.9, the peak temperature time is only 19 s, while for Exp. No.10, it is 291 s. A comparison between the measured and calculated values for experiments Nos.9 and 10 is shown in Figs.1 and 2, respectively.

Fig. 1.
figure 1

Comparison between the experimental data and the regression curve (Exp. 19).

Fig. 2.
figure 2

Comparison between the experimental data and the regression curve (Exp.No.10).

As shown in Fig.1, the fitted curve (red line) strongly correlates with the experimental data (blue line), and the average relative deviation is 2.49%, as shown in Table 4. The kinetic equation satisfies the requirements of accuracy.

As shown in Fig.2, the relative error is comparatively high. The longer reaction time in Exp. No.10 causes a larger heat loss when compared with Exp.No.9. Thus, the heat loss has a great impact or the accuracy of the equation, and the longer the time to reach the peak temperature, the larger the error.

3. EMPROVED KINETIC EQUATION

For field application, when the heat loss in the wellbore and the formation is large and cannot be neglected, the prediction of heat generation performance by Eq. (8) could cause a large deviation. In order to improve the accuracy of the kinetic equation, the effect of the heat loss should be considered. The improved equation could then be applied for calculating the temperature field in the formation and optimizing parameters of the heat generating system.

3.1 Mathematical model incorporating heat loss

Integrate Eq. (3) to obtain the analytical expression of reactant concentration as a function of time:

$$ \frac{1}{C^{n-1}}-\frac{1}{C_0^{n-1}}=\left(n-1\right){k}_0{C}_{H^{+}}^m{\int}_0^t{e}^{\frac{-{k}_1}{T}} dt. $$
(9)

The differential form of the energy conservation equation in the reactor is

$$ 2{\rho c}_p\frac{dT}{dt}={k}_0{C}^n{C}_{H^{+}}^m{e}^{\frac{-{k}_1}{T}}H-2q(t). $$
(10)

Substituting Eq. (9) into Eq. (10), and considering Eq. (11), we obtain

$$ {e}^{\frac{-{k}_1}{T}}=\frac{1}{\left(n-1\right){k}_0{C}_{H^{+}}^m}{\left[\frac{1}{C_0^{n-1}}+\left(n-1\right)\right]}^{\prime } $$
(11)
$$ \frac{dT}{dt}=\frac{H}{2\left(n-1\right)\rho {c}_p}{\left[\frac{1}{C_0^{n-1}}+\left(n-1\right){k}_0{C}_{H^{+}}^m{\int}_0^t{e}^{\frac{-{k}_1}{T}} dt\right]}^{\frac{n}{1-n}}{\left[\frac{1}{C_0^{n-1}}+\left(n-1\right){k}_0{C}_{H^{+}}^m{\int}_0^t{e}^{\frac{-{k}_1}{T}} dt\right]}^{\prime }-\frac{q(t)}{{\rho c}_p}. $$
(12)

Integrate Eq. (12) to obtain

$$ {\left(-\frac{H}{2{\rho c}_p}\right)}^{n-1}{\left(T+{\int}_0^t\frac{q(t)}{{\rho c}_p}\mathrm{d}t-{T}_0-\frac{C_0H}{2{\rho c}_p}\right)}^{1-n}\frac{1}{C_0^{n-1}}=\left(n-1\right){k}_0{C}_{H^{+}}^m{\int}_0^t{\mathrm{e}}^{\frac{-{k}_1}{T}} dt $$
(13)

Differentiate Eq. (13) with respect to t:

$$ -\frac{{\mathrm{e}}^{\frac{-{k}_1}{T}}}{k_0{C}_{H^{+}}^m}{\left(-\frac{H}{2{\rho c}_p}\right)}^{n-1}{\left(T+{\int}_0^t\frac{q(t)}{{\rho c}_p} dt-{T}_0-\frac{C_0H}{2{\rho c}_p}\right)}^{-n}\left({T}^{\prime }+\frac{q(t)}{{\rho c}_p}\right)=1 $$
(14)

Multiply Eq. (14) by dt, and then integrate it to obtain

$$ t={\left(-1\right)}^n-\frac{2{\rho c}_p{H}^{n-1}}{k_0{C}_{H^{+}}^m}\left\{{\int}_0^t\frac{{\mathrm{e}}^{\frac{-{k}_1}{T}} dT}{{\left[2{\rho c}_p\left(T-{T}_0\right)+\left.{\int}_0^t2q(t) dt-{C}_0H\right)\right]}^n}+{\int}_0^t\frac{{{\mathrm{e}}^{\frac{-{k}_1}{T}}}_{\frac{q(t)}{\rho {c}_p} dT}}{{\left[2{\rho c}_p\left(T-{T}_0\right)+\left.{\int}_0^t2q(t) dt-{C}_0H\right)\right]}^n}\right\} $$
(15)

The heat loss rate is derived as a function of temperature T, that is. q(t) = g(T). Differentiate Eq. (15) with respect to T. Then the reciprocal expression is

$$ \frac{dT}{dt}={\left(-1\right)}^n\frac{k_0{C}_{H^{+}}^m}{2\rho {c}_p{H}^{n-1}}\frac{{\left[2\rho {c}_p\left(T-{T}_0\right)+{\int}_0^t2g(T) dT-{C}_0H\right]}^n}{{\mathrm{e}}^{\frac{-{k}_1}{T}}\left(1+\frac{g(T)}{\rho {c}_p}\right)} $$
(16)

Equation (5) after mathematical transformation takes the form

$$ CH={C}_0H-2\rho {c}_p\left(T-{T}_0\right)-{\int}_{T_0}^T2g(T) dT $$
(17)

Substituting Eq. (17) into Eq. (16), we have

$$ \frac{dT}{dt}=\frac{k_0{C}_{H^{+}}^mH}{2\rho {c}_p}{\mathrm{e}}^{\frac{-{k}_1}{T}}{C}^n\frac{\rho {c}_p}{\rho {c}_p+g(T)} $$
(18)

Differentiate Eq. (17) with respect to t, and then substitute Eq. (17) into Eq. (18):

$$ \frac{dT}{dt}=-{k}_0{C}_{H^{+}}^m{\mathrm{e}}^{\frac{-{k}_1}{T}}{C}^n\frac{\rho {c}_p}{\rho {c}_p+g(T)}-\frac{2g(T)}{H} $$
(19)

Substituting the coefficients of Eq. (8) into Eq. (19), we have

$$ dC/ dt=-2.63\times {10}^7{C}_{H^{+}}^{0.9}{\mathrm{e}}^{-6178/T}{C}^{2.3}\frac{\rho {c}_p}{\rho {c}_p+g(T)}-\frac{2g(T)}{H} $$
(20)

The resulting equation represents a generalized expression incorporating the effect of the heat loss for different reaction conditions. When the heat loss can be neglected, meaning g(T) = 0, Eq. (20) is simplified to Eq. (8).

3.2 Heat loss function

The key for obtaining the improved kinetic equation of the NaNO2/NH4Cl system is to get the heat loss function g(T). The function g(T) may have different forms for different laboratory or reservoir conditions. In order to establish the heat loss function, the following three groups of experimental data were selected, as shown in Tables 5 and 6.

For the above three groups of time and temperature data, the value of dT/dt was calculated. As shown in Fig.3, the relationship between the temperature change rate dT/dt and (TT0) is linear, and the correlation coefficient is high, 0.985.

Fig. 3.
figure 3

Relationship between dT/dt and temperature.

For the laboratory conditions, the relationship between the temperature change rate dT/dt and the temperature T is expressed as

$$ \ln \left(2{\rho c}_p\frac{dT}{dt}\right)=a\left(T-{T}_0\right)+b $$
(21)

Substituting the a and b values from Fig. 3 into Eq. (21), we obtain the expression of the heat loss function g(T)

$$ g(T)=2.65{e}^{0.2\left(T-{T}_0\right)} $$
(22)

3.3 Validation of improved kinetic equation

After substituting Eq. (22) into Eq. (20), the final equation was solved by the fourth-order Runge-Kutta method, and the resulting curve is added to Fig. 2. As shown in Fig. 4, the temperatures calculated by the kinetic equations with and without the effect of heat loss differ significantly. The improved kinetic equation curve (green line) shows a strong correlation with the experimental data from Exp.No.10 (blue line).

Fig. 4.
figure 4

Comparison between the data of Exp.110 and the improved regression curve.

It can seen that the improved kinetic equation is characterized by good accuracy. Equation (8) is accurate when the effect of heat loss can be neglected. When the heat loss is considerable, the improved kinetic equation should be applied.

4. IMPLICATIONS FOR FIELD PRODUCTION

For low-permeability reservoirs, the precipitates of wax, asphaltenes, and inorganic salts may cause pore plugging in the formation and thus decrease the productivity or injectivity of the wells. In the process of water flooding, the water-lock phenomenon is very likely to happen, causing a decrease in the relative permeability of oil. The chemical heating technology proves to be the most effective and economical way to remove plugs and to increase oil production. Successful application of the chemical heating technology in the field operation needs optimization of the chemical reaction parameters. Parameters such as the concentration of the reactants and the catalyst, the initial temperature, and the heat loss affect the peak temperature in the reservoir. The heat loss reduces the total chemical heat that can be absorbed by the oil, lengthens the time to achieve the peak temperature, and changes the temperature profile in the reservoir. As shown in this study, the theoretical kinetic equation with consideration of the heat loss equation g(T) proves to be accurate in predicting the effectiveness of the chemical reaction and its application for plug removing in the field.

5. CONCLUSIONS

In this paper, NaNO2/NH4Cl chemical heat generation experiments are conducted, and an improved kinetic equation is established with consideration of the effect of heat loss. The following conclusions are drawn:

  1. 1

    The kinetic equation of the ammonium chloride/sodium nitrite system is regressed as dC/dt = −2.63 × 107\( {C}_{H^{+}}^{0.9}{\mathrm{e}}^{-6178/T}{C}^{2.3} \). It shows good accuracy when the effect of heat loss can be neglected, which is the case when the reaction time is short.

  2. 2

    A generalized form of the kinetic equation with consideration of heat loss impact for different conditions is obtained by introducing the heat loss function g(T):

$$ dC/ dt=-2.63\times {10}^7{C}_{H^{+}}^{0.9}{\mathrm{e}}^{-6178/T}{C}^{2.3}\frac{\rho {c}_p}{\rho {c}_p+g(T)}-\frac{2g(T)}{H} $$
(23)

where g (T) = 2.65\( {e}^{0.2\left(T-{T}_0\right)} \). The improved equation provides a more accurate fitting to experimental data for both short and long reaction times.

  1. 3

    The combination of the mathematical model and the numerous experimental data, as proposed in this paper, can be successfully used for parameter optimization and prediction of the temperature distribution in field applications of the heat generation method.