Introduction

Oil production has declined over the years, and energy companies are searching for innovative methods to enhance recovery (Hosseini et al. 2021). One such method is CO2 flooding, which has been successfully proven to increase oil production (Cao and Gu 2013a; Hartono et al. 2021; Rosiani et al. 2022; Zhang et al. 2018). When CO2 is injected into a reservoir, it physically and chemically interacts with the reservoir rock and the existing hydrocarbon fluid. These interactions are the fundamental mechanisms that explain why and how CO2 injection recovers the remaining oil place. The fundamental mechanisms that occur when the CO2 interacts with the hydrocarbon fluid are oil volume swelling, oil viscosity and density reduction, as well as a decrease in CO2 – Oil interfacial tension (IFT), and vaporization-extraction phenomenon (Dindoruk et al 2020; Cao and Gu 2013b; Siagian and Grigg 1998; Zick 1986; Holm 1986). The high solubility of carbon dioxide in oil causes it to swell, thus decreasing its viscosity and density. Oil swelling causes the coalescence of disconnected oil blubs to become connected, making them a continuous phase that can be mobilized (Rezk and Foroozesh 2019).

Many studies have investigated CO2 flow mechanisms and its interactions with hydrocarbon fluid in porous media, including the oil volume swelling, vaporization/extraction phenomena, and interfacial tension (IFT) reduction. However, only a few investigated the effects of CO2–hydrocarbon fluid interactions on crude oil stability and its impact on oil recovery. Moreover, the effects of mutual interactions between crude oil and CO2 on EOR mechanisms are not well understood (Zanganeh et al. 2012). The major components of crude oil are divided into saturate, aromatic, resin, and asphaltene (SARA) components (Ashoori et al. 2017; Fakher et al. 2020; Mohammed et al. 2021). These components are all stabilized and homogenized in solution to form crude oil under normal conditions (Alimohammadi et al. 2019; Fakher and Imqam 2019). The crude oil stability depends on the characteristic interaction between its components, asphaltenes and resin (Xiong et al. 2020). Crude oil stability has been proven to be experimentally affected by several parameters, including pressure, temperature, mixture characteristics, and the number of precipitants. The injection of a solvent, such as CO2, into the hydrocarbon fluid also leads to disturbance and changes the crude oil thermodynamics (Fakher et al. 2020; Guzmán et al. 2017; Mohammed et al. 2021). Consequently, it causes asphaltene precipitation and deposition due to the disturbance of crude oil thermodynamics by CO2 injection.

Rezk and Foroozesh (2019) investigated the effect of fluid interactions of CO2 and light oil systems on swelling/extraction and interfacial tension (IFT) reduction mechanisms. They also observed that extracting the light and intermediate components by CO2 causes crude oil instability, leading to higher possibilities of precipitation asphaltene in a porous media. However, they did not investigate the effect of CO2 flooding on crude oil stability and its impact on oil recovery. Maqbool et al. (2011) investigated the effect of temperature on the asphaltene destabilization from crude oils. They concluded that the solubility of asphaltene in crude is higher at higher temperatures. This is due to the fact that a change in temperature tends to alter viscosity. The experiments conducted by these studies only focused on the effect of temperature on crude oil stability without the addition or injection of solvents such as CO2. They also did not perform the oil recovery. Cao and Gu (2013a, b) studied the CO2 flow mechanism using core flood and asphaltene precipitation due to CO2 flooding. Their work was focused on oil recovery rather than CO2 flow mechanisms and hydrocarbon fluid interactions that led to asphaltene precipitation. Kazemzadeh et al. (2015) studied asphaltene precipitation during gas injection to oil recovery by interfacial tension. They concluded that asphaltene precipitation, which occurs during gas injection, would increase the MMP of an oil–gas system. The asphaltene precipitation that occurred during gas injection indicates that the CII value is higher than 0.9, which is considered unstable (Mohammed et al. 2021). Lashkarbolooki et al. (2017) investigated the minimum miscibility pressure of CO2 and crude oil during CO2 injection in the reservoir. Their experimental results showed that for crude oil-containing asphaltene and resin, the interfacial tension can be lower for heavy crude oil with high asphaltene content. It would affect the miscibility of CO2 and crude oil because interfacial tension is one of the fundamental mechanisms of CO2 and crude oil miscibility. Ashoori et al. (2017) studied the relationship between crude oil compositions and its stability based on SARA fractions. The crude oil stability was investigated by using SARA analysis to observe the different components of seven crude oil types. Their investigations found that the stability of crude oil depends on all these components and cannot be associated only with one of them individually. Each fraction of SARA influences the stability of crude oil. Their study was focused only on the compositions of crude oil based on SARA components and preliminary screening to detect problems associated with asphaltene. Fakher and Imqam (2019) investigated the flow mechanism of CO2 flooding in nanopores and the factors that affect oil recovery. They observed the effects of CO2 injection pressure, temperature, oil viscosity, soaking time, and porous media thickness on the oil recovery and the possibility of asphaltene precipitation. They showed that those parameters have an impact on oil recovery and tend to form asphaltene precipitation. Nevertheless, they did not observe the change in crude oil stability due to CO2 flooding based on SARA components, alongside its impact on oil recovery performance. Asphaltene precipitation can be predicted by the colloidal and solubility approach, such as the colloidal instability index (CII), which views asphaltene as a colloidal peptized by resins in the oil mixture (Mohammed et al. 2021; Mullins 2008). Moreover, asphaltene precipitation impacts oil recovery and thus would affect minimum miscibility pressure (MMP) measurement.

Much research has been conducted to investigate the mechanisms of CO2 and hydrocarbon fluid interactions on oil swelling, extraction of light and intermediate oil components, reduction in oil viscosity, and CO2–oil interfacial tension reduction. These phenomena are directly caused by CO2 dissolution into crude oil. However, little research has been conducted to investigate the mechanisms of CO2 and hydrocarbon fluid interactions on crude oil stability and its impact on oil recovery. Sarma (2003) and Alimohammadi et al. (2019) also reported that asphaltene problems due to CO2 injection occurred more easily from light oil than from heavy oil. It is important to note that asphaltene problems tend to occur if the equilibrium condition of crude oil is disturbed. Furthermore, light oil reservoirs are more often become candidates for gas or CO2 injection. This study aims to investigate the effects of CO2 and crude oil interactions on crude oil stability and its impact on oil recovery performance. Understanding the effects of CO2 flooding on crude oil stability and recovery performance on the enhanced oil recovery (EOR) mechanism is crucial because it can help the petroleum industry optimize their CO2 flooding implementation and forecast any possible problems due to the interactions between CO2 and crude oil, such as asphaltene problems. The factors or parameters studied include CO2 injection pressure, temperature, and crude specific gravity. This study was conducted in different temperatures and crude samples. Then the oil recovery was measured from the slim tube apparatus. The crude oil stability was observed based on the results of the SARA analysis.

CO2 flooding and crude oil stability: overview

Crude oils can be described compositionally by several methods. One simple compositional analysis scheme is to divide an oil into its saturate, aromatic, resin, and asphaltene fractions, commonly referred to as SARA (Fan et al. 2002). SARA stands for saturates, aromatics, resins, and asphaltenes. SARA analysis divides crude oil components based on their polarity. Saturates are the compounds in the hydrocarbon that are saturated and nonpolar. Saturates also do not contain double bonds (Fakher et al. 2020). Saturated hydrocarbons are referred to as alkanes, including normal alkanes, branched alkanes, and cyclo alkanes. Methane is the most basic alkane compound, followed by ethane and propane (Goel et al. 2017). Aromatics compounds are slightly more complex in structure than saturates. In general, they are nonpolar and possess an unsaturated hydrocarbon ring with multiple carbon–carbon double bonds within the ring structure, for example, toluene, xylene, and phenolic acid (Liao et al. 2019; Punase et al. 2016). Since aromatics are typically nonpolar, they are not very stable with asphaltene, which is typically a highly polar compound. Resins are peptizing agents and play significant roles in stabilizing asphaltene in crude oil (Leontaritis and Mansoori 1988). Resins have both a polar side and a nonpolar side. Thus, the role of resins as a bridging material that connects the nonpolar hydrocarbon to the highly polar asphaltene (Miadonye and Evans 2010). They have a higher molecular weight than saturates and aromatics.

Asphaltenes are defined as the fraction of crude oil that is insoluble in normal alkanes. They are considered one of the most complex components of crude oils. Asphaltenes are highly polar and complex molecules, in contrast to crude oil as it is. Asphaltenes are insoluble in light n-alkanes such as n-pentane or n-heptane (Fakher et al. 2020; Kokal and Sayegh 1995; Mullins 2008; Soleymanzadeh et al. 2019). The molecular structure of each SARA fractions, including asphaltenes, refers to the studies conducted by Alimohammadi et al. (2019), Fakher et al. (2020), and Subramanian et al. (2016). All these SARA components are stabilized in solution to form crude oil under normal conditions. If the equilibrium condition of crude oil is disturbed by solvent injection or pressure depletion, it leads to asphaltene precipitation or asphaltene destabilization (Fakher and Imqam 2019). The terms asphaltene destabilization refers to the growth of nanoscale asphaltene. The subsequent process is aggregation, which represents asphaltene particles on a microscale (Chaisoontornyotin et al. 2016). The final stage is the precipitation process, which entails the transition from nanoscale particles to microscale particles. Asphaltene destabilization is affected by a number of parameters, including pressure, temperature, crude oil mixture characteristics, and precipitants properties (Alimohammadi et al. 2019). The destabilization of asphaltenes in crude oils can have a negative impact on the performance of production systems and lead to reduced recovery efficiencies, both upstream and downstream. For instance, blockage of pore throats, alteration of reservoir wettability, and a decrease in reservoir permeability are deleterious effects of asphaltene precipitation and deposition. In addition, asphaltene precipitation/deposition in the downstream portion results in the clogging of flow facilities, the formation of solids in storage containers, and the fouling of safety valves (Kokal and Sayegh 1995; Sarma 2003; Zanganeh et al. 2012). Therefore, understanding the effects of CO2 flooding on crude oil stability is crucial to forecast of any possible problems due to CO2 flooding implementation.

The two approaches widely used to describe asphaltene behavior are the colloidal and solubility approaches. The colloidal approach considers asphaltene to be a colloid peptized by the presence of resins in the oil mixture and implies that the precipitation is irreversible (Mullins 2008). The concept of asphaltene's colloidal existence has been intensively studied and widely used (Guzmán et al. 2017). Some of the tests currently used to determine the stability of crude oils, which applied the colloidal approaches, based on SARA fraction are colloidal instability index (CII), colloidal stability index (CSI), and Stankiewics plot (SP). This study used colloidal instability index (CII) for screening criterion to identify the possible asphaltene precipitation phenomenon. As mentioned, asphaltene stability is a function of saturates, aromatics, and resins (Guzmán et al. 2017). Then, colloidal instability index (CII) is mathematically expressed as a ratio of the sum of saturates and asphaltenes (flocculants) to the sum of resins and aromatics (peptizers), as stated in Eq. 1. The lower the value of CII, the higher asphaltene stability in crude oils. According to Asomaning and Watkinson (2000), if CII values are less than 0.7 (\(\mathrm{CII}\le 0.7)\), it is considered stable. If the CII values are greater than 0.9 (\(\mathrm{CII}\ge 0.9)\), the asphaltene fraction tends to be unstable within the crude oil. Stankiewics plot (SP) is a cross-plot to determine asphaltene precipitation tendency, and it is also perceived as a quick evaluation tool (Mohammed et al. 2021; Saboor et al. 2022). This method considers the SARA fraction, and the cross-plot is divided into two regions. The regions consist of the stable and unstable regions, when asphaltene/resins ratios (A/R) are less than 0.5 irrespective of saturates/aromatics (S/Ar) ratio, the region is considered to be stable as reported by Bahrami et al. (2015) and Sulaimon et al. (2020). Stankiewics plots are often combined with the CII to obtain reliable results.

$${\text{CII}} = { }\frac{{\left( {{\text{Asphaltenes in wt}}.{\text{\% }}} \right) + \left( {{\text{Saturates in wt}}.{\text{\% }}} \right){ }}}{{\left( {{\text{Resins in wt}}.{\text{\% }}} \right) + \left( {{\text{Aromatics in wt}}.{\text{\% }}} \right)}}$$
(1)

Materials and methods

This study's experiment design and method are intended to accomplish the research objectives. This study aims to investigate the mechanisms of CO2 and crude oil interactions on crude oil stability and its impact on recovery performance. Therefore, to achieve the research objective, several parameters were studied to investigate the effects of those parameters on crude oil stability and their impact on CO2 flow mechanism in porous media. This study was conducted at different pressures, temperatures, and crude samples. Then the CO2 flow mechanism in porous media and oil recovery were observed from the slim tube apparatus. The stability of crude oil was observed based on the results of the SARA analysis.

Experimental apparatus

The experiment was conducted using CO2 displacement slim tube apparatus STS 700 by Vinci Technologies, which has a silica sand pack design with a pore volume of 120 mL. The slim tube tests have been widely accepted and used by the petroleum industry as a standard method for CO2 displacement in porous media and for the minimum miscibility pressure (MMP) measurement (Abdurrahman et al. 2015; Zhang et al. 2019; Zhang and Gu 2015). The slim tube apparatus is considered to be the most accurate way to determine the minimum miscibility pressure (Adel et al. 2016). Therefore, in this study, the slim tube apparatus was considered to determine the minimum miscibility pressure.

This slim tube systems comprise of the following hardware features: a floating piston high-pressure accumulator for oil, a floating piston high-pressure accumulator for gas, a floating piston high-pressure accumulator for solvent, a high-pressure positive displacement syringe pump, a Hastelloy coil tube (slim tube), air bath for temperature control, back-pressure regulator, liquid measurement system, wet gas meter, a workstation for remote control, and high-pressure visual cell. The slim tube experiment was validated by simultaneous density measurement which integrated to the coil tube and computer system. Therefore, an additional densitometer was fitted to monitor the effluent fluid density from the slim tube. The effluent liquid volumes, density, and pressure drop are continuously monitored using a digital volume measuring detector or sensor and recorded in an integrated computer system. This slim tube has the ability to test the dynamic miscibility at reservoir conditions with a maximum pressure of 10,000 Psi and a maximum temperature of 150 °C. The specification of this slim tube system and schematic diagram of the slim tube is shown in Table 1 and Fig. 1, respectively.

Table 1 Specification of slim tube apparatus system
Fig. 1
figure 1

The slim tube STS 700 apparatus system diagram

Materials

The crude oil samples were collected from the JTB and RDG Indonesian oilfields with a specific gravity of 36.4oAPI and 42.6oAPI, respectively. The crude oil samples, JTB and RDG, were light dead oil samples taken from stock tanks with densities of 810.26 kg/m3 and 802.2 kg/m3, respectively, measured under ambient conditions at a standard temperature of 15.5 °C (60°F). In addition, the average reservoir temperature of the field was 90 °C. The crude oil samples' compositions were analyzed using gas chromatography Agilent 7890B GC System, and the results are shown in Table 2. The compositions of the crude oil samples were also analyzed based on their polarity, consisting of saturates, resins, aromatics, and asphaltenes (SARA) components, as shown in Table 3. The procedures for quantifying the SARA fractions followed the American Society for Testing and Materials (ASTM) method, which will be explained in the following section. The CO2 used for the slim tube experiments was ultra-high pure CO2 (99.9%).

Table 2 Compositional crude oil samples
Table 3 SARA content of crude oil samples

Experimental procedures

The main experiment in this study was CO2 flooding using a dynamic slim tube test. Prior to conducting the slim tube tests, the hydrocarbon composition of the crude oil samples was analyzed using gas chromatography. The composition of the crude oil samples was further analyzed based on their polarity components which contain SARA contents. The asphaltene content of crude oil was measured by following the American Society for Testing and Materials method ASTM D6560, also known as IP-143 (El Nagy et al. 2022; Santos et al. 2019). In summary, for this method, a mass portion of crude oil was mixed with a volume of the precipitant agent (n-heptane) under hot reflux. The mixture was then filtered using the specified filter paper. Then, the solid fraction was washed with heated heptane under reflux to remove residual maltenes from the asphaltene particles. The asphaltene was separated from any precipitated inorganic material by hot toluene dissolution. The ASTM D6560 method has some limitations, such as being time-consuming and using relatively large amounts of solvent. In addition, the ASTM D6560 method covers the quantification range of 0.5–30% asphaltene (Kharrat et al. 2013; Rogel et al. 2009). Therefore, the repeatability and reproducibility of this method are 10% and 20%, respectively. The consideration of applying the ASTM D6560 for quantifying the asphaltene content in this study is due to the use of light crude oil samples, which have a small quantity of asphaltene content. SARA analysis is important for the preliminary screening of crude oil instability. The results of SARA analysis conducted on original crude oil samples in weight percentages are shown in Table 3. It is important to identify and conduct preliminary screening on crude oil instability by calculating the colloidal instability index (CII) (Ashoori et al. 2017). CII, which is based on the input of SARA fractions, is defined as the ratio of the sum of asphaltene and saturates fractions to resins and aromatics fraction (Ashoori et al. 2017; Guzmán et al. 2017; Mohammed et al. 2021), as stated in Eq. 1. As mentioned, Crude oil with CII values less than 0.7 (\(\mathrm{CII}\le 0.7)\) is considered as stable. If the CII value is greater than 0.9 (\(\mathrm{CII}\ge 0.9)\) is considered unstable. After measuring and analyzing the composition of the original crude oil samples, the next step was to prepare for the slim tube experiment.

Slim tube experiment

As mentioned, a slim tube experiment is well known and used by the petroleum industry as a standard method for CO2 displacement in porous media and for the minimum miscibility pressure (MMP) measurement (Abdurrahman et al. 2015). The slim tube experiment was conducted in three stages: preparation, cleaning, oil saturation stages, and CO2 injection. The slim tube system needs to be cleaned first before it is saturated with oil. The preparation stage includes cleaning the existing fluid, washing and drying liquid-saturated parts, and reassembling the system. These activities were followed by filling the three accumulators with an oil sample, ultra-high pure CO2, and solvent, with the system set at the desired pressure and a stable reservoir temperature of 90 °C.

Two pore volumes (2 PV) of toluene were injected into the coil tube, followed by two pore volumes (2 PV) of supercritical CO2 to ensure that the porous medium inside was clean and dry. The coil tube was then weighed and compared to its initial weight to ensure that it was fully clean and dry. If the weight discrepancy exceeds one gramme, the cleaning and drying process must be repeated. After the coil tube was cleaned and verified, it was saturated by injecting an oil sample. At the same time, the back pressure gradually increased until the desired test pressure was reached. It is noteworthy that a back pressure regulator was included to maintain constant pressure inside the system. In the first run, the pressure was set and maintained at 1000 psi. After stabilizing the pressure and temperature of the system, two pore volumes of the crude sample were injected to ensure the coil tube was fully saturated. The details of the slim tube experiment procedures refer to Adel et al. (2016) and Abdurrahman et al. (2015).

The next stage was the injection of CO2 into the slim tube, and the effluent fluids were observed visually from the visual cell separator. The effluent fluids were also measured along the duration of the experiment, which were recorded and stored in an integrated computer data acquisition system to calculate the recovery factor at each pressure. An additional densitometer was also fitted to monitor the effluent fluid density from the slim tube. The data obtained from the experiment, such as the inlet and outlet pressure, differential pressure, effluent oil volume, effluent density, and temperature, were stored in an integrated computer data acquisition system. The oil recovery factor for each pressure was calculated, and the results were plotted to determine the MMP. Six to seven runs were conducted with different displacement pressures to ensure consistency. In all cases, the displacement pressures were performed at 1000, 2000, 2500, 3000, 3500, 4000, and 5000 Psi.

Furthermore, MMP obtained from the distinct point of maximum curvature at an oil recovery of 1.2 PV gas injected was plotted against pressure (Glaso 1990; Hudgins et al. 1990) or near maximum recovery in a series of displacements (Yellig and Metcalfe 1980). The final stage was cleaning oil samples in the slim tube by injecting toluene as a solvent. It is also important to note that these procedures were applied at a reservoir temperature of 90 °C. The composition of oil samples in the slim tube's outlet separator was also analyzed using a gas chromatograph to observe the extraction of hydrocarbon components at each pressure. Furthermore, the compositions of asphaltene fractions were observed from the residual oil/effluent fluid at each CO2 injection pressure using ASTM D6560 method as stated above. The slim tube experiment was re-conducted at a temperature of 70 °C to investigate and observe the effects of temperature on crude oil stability and its impact on oil recovery performance.

Results and discussions

As mentioned earlier, understanding the effects of CO2 flooding on crude oil stability and recovery performance on the enhanced oil recovery (EOR) mechanism is crucial because it can help the petroleum industry optimize their CO2 flooding implementation and forecast any possible problems due to the interactions between CO2 and crude oil, such as asphaltene problems. The effects of the interactions between CO2 and crude oil on crude stability and recovery performance will be explained and discussed in this section. The CO2 flow mechanism in porous media is presented, including the impact of crude oil instability due to CO2 flooding on recovery performance and minimum miscibility pressure (MMP) measurement. Subsequently, factors that can disrupt the stability of crude oil, including CO2 injection pressure, temperature, and different crude oil samples, are discussed in this section.

CO2 flooding flow mechanism in porous media

The CO2 flooding experiment was conducted using slim tube apparatus with seven runs in different pressures and different temperatures. The displacement process was performed at high operating pressures of 1000, 2000, 2500, 3000, 3500, 4000, and 5000 Psi. All displacement processes were conducted at the temperature of 90 °C, which is the average reservoir temperature, and re-conducted at the temperature of 70 °C which is the average temperature of the surface and the reservoir in the field.

Impacts crude oil instability due to CO2 flooding on oil recovery performance

The oil recovery performance from the CO2 displacement process was measured using the slim tube experiment. The determination of minimum miscibility pressure (MMP) was also estimated by oil recovery against injection pressure, as referred to (Glaso 1990; Hudgins et al. 1990; Yellig and Metcalfe 1980). Table 4 shows the oil recovery results against CO2 injection pressures on crude oil samples at operating temperatures of 70 °C and 90 °C. Table 4 further shows that the oil recovery obtained for both crude oil samples at operating temperature 70 °C is lower than at 90 °C. The maximum oil recovered at a temperature of 70 °C for RDG and JTB crude oil samples are 85.7% and 89%, respectively. Meanwhile, at a temperature of 90 °C for RDG and JTB crude samples are 93.5% and 94.5%. Increasing temperature resulted in increased oil recovery. As earlier mentioned, an increase in temperature causes a decrease in viscosity, and it is the reason behind the increase in oil recovery at a higher temperature. Colloidal Index Instability (CII) result showed that it is higher at a temperature of 70 °C than 90 °C. Furthermore, asphaltene wt.% precipitates more at a lower temperature, as shown in Tables 6, 7, 8 and 9.

Table 4 Oil recovery and MMP estimation from slim tube experiments at operating temperatures of 70 °C and 90 °C

The other phenomenon in these experiment results was that the RDG crude sample (42.6oAPI), lighter than the JTB crude sample (36.4oAPI), resulted in lower oil recovery than the JTB crude sample for either operating temperature at 70 °C or 90 °C. After the CO2 injection, CII results of RDG crude sample are also much higher than the JTB. It indicates that asphaltene tends to be easily precipitated when the CO2 is injected into the RDG crude sample than JTB, even though RDG is lighter than JTB. Therefore, oil recovery from the CO2 displacement process involving RDG crude is lower than JTB. It should be noted that the asphaltene content in JTB crude is higher than in RDG, as shown in Table 3.

Impacts crude oil instability on minimum miscibility pressure (MMP) measurement

Minimum miscibility pressure (MMP) is obtained from a distinct point of maximum curvature when oil recovery at 1.2 PV gas injected is plotted against pressure or very near maximum recovery in a series of displacements using the slim tube apparatus. As mentioned, the determination of the MMP from slim tube tests refers to the studies conducted by Glaso (1990), Hudgins et al. (1990), and Yellig and Metcalfe (1980). MMP results from the slim tube tests for RDG and JTB crude oil samples are shown in Figs. 2 and 3, respectively. The slim tube test results in Fig. 2 show that the MMP value for RDG crude oil sample for the temperature of 90 °C and 70 °C is 2639 Psi and 3517 Psi, respectively. In contrast to empirical correlations, as Desouky et al. (2017) stated, a higher temperature causes a higher MMP value and vice versa. Lashkarbolooki and Ayatollahi (2018) and Yellig and Metcalfe (1980) also reported that the MMP increased with the temperatures. Lashkarbolooki and Ayatollahi (2018) reported that MMP for crude oil with an APIo of 35 and low asphaltene content (about 0.1 wt.%) and diesel fuel show increased with the temperatures for both systems. The linear increase of MMP with temperature for heptane, hexadecane, light crude oil with APIo of 38 and 35 was also reported by Lashkarbolooki et al. (2017). On the other hand, the MMP result for RDG crude sample at 70 °C is higher than at 90 °C. This phenomenon requires a comparison of the MMP values of various crude oils and temperatures to analyze the effect of temperature and oil composition on the MMP values. Table 5 compares measured MMP values from various crude oil types and temperatures. Interestingly, some of the data show that crude oil with lower temperatures has a higher MMP value, similar to RDG crude. The same observation was also reported by Hagedorn and Orr (1994). According to Hagedorn and Orr (1994), significant quantities of multi-ring aromatic components in crude oil are disadvantageous to developing miscibility with CO2. Multi-ring aromatic components are extracted less efficiently by dense CO2. Therefore, it decreases slim tube recovery at a given pressure and correspondingly higher MMP. Based on the composition of RDG crude oil, as shown in Table 3, the aromatic component of RDG is higher than the JTB crude. Also, in contrast, resin fraction has a significant role in the stability of asphaltene in crude oil (Lashkarbolooki et al. 2017; Mohammed et al. 2021).

Fig. 2
figure 2

MMP estimation of RDG crude samples from slim tube experiments

Fig. 3
figure 3

MMP estimation of JTB crude samples from slim tube experiments

Table 5 Comparison of measured MMP value with various crude oil type and temperatures

This study demonstrates that experimental results suggest that crude oil instability, which is shown by asphaltene precipitation, significantly affects oil recovery performance and the MMP measurement. The same observation was also shown by Kazemzadeh et al. (2015). The authors reported that asphaltene precipitation, which could occur during gas injection, would increase the MMP of an oil–gas system. Although CO2 dissolution reduces the interfacial tension (IFT) values at the high-pressure range, accumulation of asphaltene at the interface of the oil phase and CO2 occurs, increasing the interfacial tension. In other words, asphaltene precipitation due to gas injection increases the MMP of an oil and gas system. Moreover, temperature changes also contribute to the formation of asphaltene precipitation in porous media (Maqbool et al. 2011). This phenomenon is caused by the change in viscosity with temperature. Therefore, temperature changes will affect the stability of crude oil and impact recovery performance and MMP. The effects of temperatures on crude oil stability will be discussed in more detail in "Effects of temperature on crude oil stability" section.

The MMP results of JTB crude oil at a temperature of 90 °C and 70 °C are 3299 Psi and 3066 Psi, respectively, as shown in Fig. 3 and Table 4. Based on the CII results in Tables 7 and 9, JTB crude oil is more stable than RDG despite being heavier. In addition, the asphaltene content in JTB crude oil is higher than in RDG sample. MMP results of JTB crude oil aligned with the empirical correlations that the higher the temperature, the higher the MMP.

The overall results indicated that changes in pressures, temperatures, and oil composition due to CO2 flooding have a significant impact on crude oil stability. Therefore, this affects the oil recovery performance and MMP measurement by the CO2 displacement process. Crude oil stability also strongly depends on all the crude oil composition (saturates, aromatics, resins, and asphaltenes) behavior and the percentage of each component, as shown in Table 3. It cannot be associated only with one of them individually. Furthermore, temperature has a significant impact on asphaltene precipitation, crude oil instability, and oil recovery performance.

Effects of CO2 flooding on crude oil stability

The stability of crude oil was analyzed based on SARA fractions and CII, calculated as shown in Eq. 1. As earlier mentioned, crude oil stability is affected by several parameters, such as pressure, temperature, mixture characteristics, and the number of precipitants.

Effects of CO2 injection pressure on crude oil stability

Four high-pressured CO2 injection pressures were investigated in this research, including 1000, 2000, 3000, and 4000 psi for two crude oil samples RDG (42.6oAPI) and JTB (36.4oAPI). The weight percentages (wt.%) of resin fractions, asphaltene fractions, and CII at temperature 70 °C for crude sample RDG and JTB are shown in Tables 6 and 7, respectively. Meanwhile, Fig. 4 shows the compositional analysis of the initial RDG crude oil sample and the remaining oil with increasing CO2 injection pressures. Figure 4 shows that the light-intermediate component of the RDG crude oil decreases with increasing injection pressures. It indicates that the saturate components in RDG crude oil also decrease with increasing CO2 injection pressures. The saturate components in crude oil are not polar materials, they do not contain any double bond, and are generally referred to as alkanes. The decreasing saturate components with the increasing injection pressure could be due to the extraction of light and intermediate hydrocarbon by dense CO2. It is important to note that the density of CO2 increases with increasing pressure. Thus, the extraction of hydrocarbons from oil also increases as the density of CO2 increases (Dindoruk et al. 2020). According to Hagedorn and Orr (1994), branched alkanes and normal alkanes of a given carbon number are easily extracted.

Table 6 Weight percentages of resins, asphaltenes fractions, and CII results of RDG sample at temperature of 70 °C
Table 7 Weight percentages of resins, asphaltenes fractions, and CII results of JTB sample at temperature 70 °C
Fig. 4
figure 4

Compositional analysis of the initial RDG crude oil and the remaining oil with increasing CO2 injection pressure

The relationship between resin, asphaltene fractions, and CII results in pressures for crude sample RDG and JTB at temperature 70 °C can also be seen in Figs. 5 and 7, respectively. Figures 5 and 7 show that resin and asphaltene fractions decrease with increasing CO2 injection pressure. In contrast to the CII results, it shows a significantly increasing index with decreasing resin and asphaltene contents. As earlier mentioned, if the CII is higher than 0.9, it is considered unstable. Resin plays a significant role in the stability of crude oil because it is characterized by polar and nonpolar attributes used for bridging and peptizing agents connected to the nonpolar hydrocarbons compound and the highly polar asphaltene (Leontaritis and Mansoori 1988; Miadonye and Evans 2010). These results indicated that the decrease in weight percent of the resin component causes crude oil instability, indicated by increasing the CII.

Fig. 5
figure 5

Relationship between resin, asphaltene fractions, and CII with pressure for RDG crude at temperature 70 °C

The asphaltene contents in Table 6 and Fig. 5 also decrease with increasing pressure. It indicates that asphaltene was precipitated in the porous media. Asphaltene precipitation occurs due to the reduction of the resin content, which has the role of peptizing agents for the asphaltenes stability in crude oil. Prakoso et al. (2017) stated that the ratio of asphaltene and resin is critical because of its impact on asphaltene stability. Deo and Parra (2012) also stated that multiple contacts of CO2 and crude oil cause asphaltene precipitation in the formation.

Table 7 shows weight percentages of resin and asphaltene fractions results for JTB (36.4oAPI) crude oil sample at a temperature of 70 °C under various pressures. Similar to RDG crude sample, the saturate fraction in the JTB crude sample decreases due to the extraction of light-intermediate components, as shown in compositional analysis in Fig. 6. Meanwhile, resin and asphaltene fractions decrease with increasing pressure. The decreasing resin and asphaltene content could be due to some wt.% of asphaltene precipitates into porous media.

Fig. 6
figure 6

Compositional analysis of the initial JTB crude oil and the remaining oil with increasing injection pressure

The CII index shows a slight increase with the increasing CO2 injection pressure. It is shown in Table 7 and Fig. 7 that CII index tends to be constant within the range of index 2.0 to 2.3. In other words, CII of the JTB crude sample at a temperature of 70 °C is more stable than RDG crude sample. This is because the resin fraction as the peptizing agents in JTB crude sample is higher than in the RDG crude sample. Therefore, the stability of the JTB crude sample is more stable than the RDG.

Fig. 7
figure 7

Relationship between resin, asphaltene fractions, and CII with pressure for JTB crude at temperature 70 °C

Effects of temperature on crude oil stability

The CO2 flooding experiments were re-conducted at an operating temperature of 90 °C to observe the effect of temperature on crude oil stability and the impact on oil recovery. Temperature is an important parameter for the stability of asphaltenes in crude oil (Maqbool et al. 2011). The wt.% of resin, asphaltene fraction, and CII results obtained at temperature 90 °C for RDG and JTB crude samples are shown in Tables 8 and 9, respectively. In addition, the relationship between resin, asphaltene fractions, and CII at temperature 90 °C for RDG and JTB crude samples are also shown in Figs. 8 and 9, respectively.

Table 8 Weight percentages of resins, asphaltenes fractions, and CII results of RDG sample at temperature of 90 °C
Table 9 Weight percentages of resins, asphaltenes fractions, and CII results of JTB sample at temperature of 90 °C
Fig. 8
figure 8

Relationship between resin, asphaltene fractions, and CII with pressure for RDG crude at temperature 90 °C

Fig. 9
figure 9

Relationship between resin, asphaltene fractions, and CII with pressure for JTB crude at temperature of 90 °C

Table 8 and Fig. 8 show a similar trend result at the temperature of 70 °C. Compared to CII results obtained at a temperature of 70 °C in Table 6 and Fig. 5, CII at the temperature of 90 °C is lower than at 70 °C. It indicates that at a temperature of 90 °C, crude sample is more stable than at 70 °C. At a temperature of 90 °C, resin and asphaltene decrease slightly with increasing pressures. The reduction of resin and asphaltene follows a similar trend as that resulted in a temperature of 70 °C. However, asphaltene precipitate more at a temperature of 70 °C than at 90 °C.

Table 9 shows the weight percentages (wt.%) of resin, asphaltene fractions, and CII for JTB crude sample at an operating temperature of 90 °C. Meanwhile, Fig. 9 shows the relationship between resin fractions, asphaltene fractions, CII, and CO2 injection pressure. The saturate components decrease with increasing pressure due to the extraction by dense CO2 as shown in Fig. 6 above. Otherwise, the asphaltene content decreases with increasing pressure. This indicates that there are some percentages of asphaltene precipitated in porous media. The CII results obtained after the CO2 injection into JTB crude sample at a temperature 90 °C are slightly higher than the CII results at 70 °C, as shown in Table 7 and Fig. 7.

Based on weight percentages of asphaltene fraction after CO2 injection at temperatures 70 °C and 90 °C for either RDG or JTB crude samples, it can be seen that at a lower temperature, more asphaltene precipitation occurs in porous media than at higher temperature. In other words, when the CO2 interacts with crude oil, the asphaltene stability in crude oil increases with increasing temperature. A similar observation was also reported by Hu and Guo (2001), which investigated the effect of temperature and molecular weight of n-alkane precipitants on asphaltene precipitation. This phenomenon occurs due to the relationship between temperature and viscosity. As the viscosity of the mixture decreases with increasing temperature, the effective diffusivity of the particles increases (Maqbool et al. 2011). Therefore, at higher temperatures, the lower viscosity causes the asphaltene to become more stable in crude oil. Wang et al. (2016) investigated the characteristics of produced and residual oils in CO2 flooding using a core flood. Six CO2 floods were conducted under different injection pressures and two temperatures. They reported that the asphaltene content in the produced oil collected after the CO2 breakthrough was relatively lower than the original crude oil samples. It occurs because the asphaltenes component in the crude oil tends to precipitate and deposit in the sand pack (porous media).

Conclusions

This study investigates the factors that affect the instability of crude oil during the CO2 flooding process. The impacts of the instability of crude oil on CO2 displacement performance were also observed to evaluate oil recovery and minimum miscibility pressure (MMP). According to the experimental results, the main conclusions reached from this study are shown below.

  1. 1.

    An increased CO2 injection pressure causes saturates components, which contain light-intermediate hydrocarbon, to be extracted by dense CO2. Furthermore, the resin and asphaltene weight percent (wt.%) for the produced oil decreased with the increasing CO2 injection pressure. The decreased resin and asphaltene content in crude oil leads to instability in crude oil, which is also indicated by increasing the colloidal index instability (CII). Therefore, it leads to asphaltene precipitation in the porous media.

  2. 2.

    Temperatures have significant effects on crude oil stability. Increasing the temperature resulted in a decrease in the colloidal instability index (CII). It indicates that crude oil tends to be more stable at higher temperatures. At a lower temperature, more asphaltenes are precipitated in the porous media than at a higher temperature. This phenomenon tends to occur due to an increase in the mixture viscosity with a decrease in temperature, leading to a decrease in the effective diffusivity of the particles.

  3. 3.

    Increasing the temperature also leads to an increase in oil recovery. The CII results showed that crude oil is more stable at a higher temperature. The decrease in oil viscosity due to CO2 flooding with the increasing temperature is the reason behind the increase in oil recovery.

  4. 4.

    The CO2 flooding on light oil resulted in a lower oil recovery factor than the heavier crude oil, even though the heavier oil has a much higher asphaltene content. It indicates that the crude oil instability problem and asphaltene precipitation due to CO2 flooding occur more easily in light than in heavy oil.

  5. 5.

    The crude oil instability due to CO2 flooding significantly impacts minimum miscibility pressure (MMP) measurement. The quantities of multi-ring aromatic components in crude oil are disadvantageous to developing miscibility with CO2 because their components are inefficiently extracted by dense CO2. Therefore, it reduces the slim tube recovery at a given pressure and results in a correspondingly higher MMP. RDG crude oil has a higher multi-ring aromatic component than JTB in this case.

  6. 6.

    Overall, this study has shown that changes in pressures, temperatures, and oil composition due to CO2 flooding significantly impact crude oil stability. These factors affect oil recovery performance and MMP measurement using the slim tube. Crude oil stability also strongly depends on the composition of the crude oil (saturates, aromatics, resins, and asphaltenes) and the percentage of each component. However, it cannot be associated with only one of them individually.

  7. 7.

    Further studies are needed to investigate the effect of other parameters on crude oil stability during CO2 flooding, such as the number of precipitants and the rock properties of the porous media, such as permeability, porosity, and wettability, to provide more comprehensive results.