Introduction

The deposition of paraffin waxes on to the wall of the pipeline usually occurs during the transportation of crude oil particularly when the temperature of the crude oil is below the wax appearance temperature (WAT) (dos Santos et al. 2004; Hosseinipour et al. 2016; Jang et al. 2007; Ridzuan, Adam, and Yaacob 2016; Wei, Acosta, Gawas and Krishnamurthy 2015; Zheng et al. 2016). WAT is defined as the maximum temperature where the first wax crystals start to form when waxy crude oil is cooled (Aiyejina et al. 2011). Deposition occurs when the long n-paraffin chains in the crude oil crystallize and agglomerate and then adhere to the cold pipeline wall. This causes the reduction in inner pipeline diameter, thus increasing the pressure drop along the pipeline and hence hindering the production of oil if the problem is not rectified. Therefore, most oil producing companies prefer to ensure that the crude oil temperature inside the pipeline is above the WAT by considering the use of current insulation, mechanical, thermal or chemical technologies (Aiyejina et al. 2011; Hilbert 2011).

Among the inhibition technologies, the use of chemical inhibitors is more commonly preferred due to the low operating cost and maintenance. Chemical inhibitors function by reducing the pour point of the crude oil, enhancing the crude oil flowability and reducing the agglomeration of the wax crystals (Ferworn, Fluid, Hammami, Robinson and Ellis 1997; Tung et al. 2001). However, chemical inhibitors currently used in the industry still have a significant impact on the operating cost of the pipeline and possess an environmental threat if there is a spill as it is not biodegradable. Few studies have been conducted on using plant-based additives as potential chemical inhibitors (Akinyemi et al. 2016, 2018; Hafiz and Khidr 2007; Patel et al. 2017; Soni et al., 2010). From the research done by Akinyemi et al. (2018) whereby the authors used plant seed oils such as jatropha (JSO), rubber (RSO) and castor (CSO) as potential chemical additives in Nigerian waxy crude oil. The results showed that the plant seed oils were able to reduce the deposition of wax as efficient as commercial inhibitors (ethylene–vinyl acetate). The authors then further concluded in their research that the high composition of oleic acid in the plant seed oils is the main factor to the high inhibition efficiency (Akinyemi et al., 2016, 2018). Furthermore, authors such as Patel et al. (2016), Soni et al. (2010) and Hafiz and Khidr (2007) have further proved that oleic-based polymers can potentially be excellent chemical inhibitors where the authors utilized several esters of oleic acid as polymeric flow improvers by evaluating the rheological modifying properties. The authors then concluded that at high concentrations, the synthesized flow improvers are excellent pour point depressants which reduces the apparent viscosity, plastic viscosity as well as the yield value of the Langhnaj crude oil (Hafiz & Khidr 2007; Patel et al. 2017; Soni et al. 2010).

In addition, chemical inhibitors used currently are usually polymer based which comprises of two groups which are polar and non-polar. In a wax chemical inhibitor, the polar group functions by interfering with the crystallization process as well as altering the morphology of the crude oil, where else the non-polar group of the polymer functions by interlocking the wax molecule and the inhibitor molecule together (Machado et al. 2001a, b). The polymer inhibitors are able to adsorb onto the surface of the paraffin crystals and reduce the growth rate and crystal nucleation of the paraffin waxes (Anisuzzaman et al. 2017; Paso and Fogler 2004; Ridzuan, Adam and Yaacob, 2014). For example, polyethylene vinyl acetate (EVA) and triethanolamine (TEA) are commercially used polymers which are able to coalesce and interact with wax crystals and hinders the growth of the crystals (Bucaram 1967; Popoola et al. 2015; Ridzuan et al. 2014). Currently, much research has been conducted utilizing molecular simulation software to further enhance the understanding of the interaction mechanism of polymer with wax crystals. For example, Wu et al. (2005) and Zhang et al. (2008) successfully studied the relationship of wax crystal planes and EVA in diesel fuels (Wu et al. 2005; Zhang et al. 2008). Besides, Ridzuan et al. (2014) also utilized molecular simulation technique to compare the wax inhibition efficiency of EVA with poly-maleic anhydride-alt-1-octadecene (MA) (Ridzuan et al. 2014). The mechanism utilizes the incorporation of the inhibitor molecules into the wax deposit which then acts as a perturbation to hinder the transition of the soft wax into a more stable, harder wax crystal. Therefore, this study will investigate the wax–wax as well as the wax inhibitor efficiency of oleic acid as a potential chemical inhibitor as compared to commercially used chemical inhibitors such as polyethylene vinyl acetate (EVA) and triethanolamine (TEA) through molecular dynamic simulation technique as well as experimentally using the cold finger technique under static conditions. During the static deposition test, crude palm oil (CPO) and crude palm kernel oil (CPKO) will be used to represent oleic acid as the palm oil-based additives contains high traces of oleic acid and its isomers. Table 1 portrays the composition of fatty acids in CPO and CPKO.

Table 1 Composition of fatty acids in CPO and CPKO (Malaysian Palm Oil Council 2012)

Methodology

Molecular dynamics simulation

The simulation wax conducted utilizing Material Studio 8.0 using an MSI GL62M 7REX laptop. The molecule structure of the wax molecule (eicosane), oleic acid, TEA and EVA was obtained from ChemSpider (Chemistry 2019), and then geometry optimized as well as energy minimized utilizing Smart minimizer. The initial condition of the cubical simulation box with periodic boundary of the inhibitor and the wax crystal was created utilizing the mixture density (Adam and Tajuddin, 2014; Ridzuan et al. 2014). The simulation system comprises of the wax molecular in the absence of additives as well as in the presence of oleic acid, EVA and TEA, respectively. The temperature as well as the pressure were kept at constant at 298 K and atmospheric pressure. Further specifics of the experiment are as shown in Table 2, while the chemical structure of the molecules tested are shown in Fig. 1. The molecule intermolecular interactions were portrayed by the COMPASS force field. The constant number, volume and energy (NVE) was performed initially for equilibration at a total simulation of 200 ps under the time step of 1 fs. Next, the constant number, volume and temperature (NVT) ensemble was performed for a total simulation of 1000 ps at a time step of 1 fs. During the NVT simulation, the temperature was controlled by utilizing the Nose thermostat at a ratio, Q of 1.0. Then, utilizing the Verlet algorithm, the equation of motion was integrated with an atom-based summation procedure to portray the non-bonded energies in periodic system. The radial distribution function (rdf) was used to analyse the results from the dynamic simulation. Rdf is used to measure the probability of obtaining another neighbouring molecule, g(r) at a particular distance r and r + dr from the reference molecule. The g(r) can be obtained using Eq. 1 (Ridzuan et al., 2014).

$$g_{xy} \left( r \right) = \frac{{N_{y} \left[ {r,r + dr} \right]}}{{\rho_{y} 4\pi r^{2} dr}}$$
(1)

where r represents the spherical radius, ρy is the density of y atom (H59 or H60) and Ny is the number of y atom (H59 or H60).

Table 2 Specification of simulation experiment conducted
Fig. 1
figure 1

The chemical structure of the molecule tested. a Eicosane (wax molecule), b oleic acid, c triethanolamine and d ethylene vinyl acetate

Characterization of the crude oil sample

The physical as well as the chemical properties of the crude oil are shown in Table 3. The density, specific gravity as well as the API gravity are obtained using densitometer. The wax appearance temperature (WAT) and the pour point of the crude oil were obtained using the SETA pour point and cloud point apparatus. The wax content of the crude oil was obtained using the wax content analyser.

Table 3 Physical and chemical properties of crude oil sample

Static wax deposition test

The static wax deposition test was conducted as a method to confirm the results portrayed by the simulation method. From the experiment, the rate of wax deposition in the crude oil as a relation of the type of inhibitor can also be obtained. The experiment was performed using a cold finger apparatus set-up as shown in Fig. 2. The chiller regulates cold water to the cold finger apparatus at 5 °C while the crude oil in the beaker is maintained at 20 °C. At 2-h interval, the amount of wax deposited is weighed and the paraffin inhibition efficiency is calculated using Eq. 2. The experiment is then repeated with the presence of 0.1 wt%. 0.5 wt%, 1 wt%, 5 wt% and 10 wt% of CPO, CPKO, TEA and EVA separately.

$${\text{PIE}} = \frac{{W_{a} - W_{p} }}{{W_{p} }} \times 100\%$$
(2)

where Wa is the weight of wax deposited in the absence of additives, g, and Wp is the weight of wax deposited in the presence of additives, g.

Fig. 2
figure 2

Cold finger instrument

Results and discussion

Molecular dynamics simulation

The precipitation of wax crystals is due to the long chain hydrocarbon in the crude oil to self-assemble and agglomerate among themselves. Besides, the heavier and dense properties of the long chain hydrocarbons aid in stimulating and achieving a supersaturation state which drives the amorphous wax crystal to nucleate. The longer the hydrocarbon chain, the higher the van der Waals interaction that would occur. From the chemical structure shown in Fig. 1a, the hydrogen atoms in the eicosane, especially H59 and H60 (hydrogen atoms at terminal end), form long as well as heavy hydrocarbon chains through van der Waals intermolecular interactions (Chua and Kelland 2012; Jang et al. 2007; Ridzuan et al. 2016; Zhang et al. 2008). Supersaturation point is then reached when the wax crystal nucleates as the hydrocarbon chain concentrates.

The wax molecule used, eicosane is a non-polar compound where the H59 and H60 atoms have been acknowledged as the atoms which permit the molecular interaction. Hence, the H59-H60 intermolecular interaction were investigated in all the scenarios tested. It should be noted that, the higher the rdf value, the higher the space between the H59 and H60 molecules. In the case of H59-H60 interaction, the higher the rdf value, the lower the ability of the wax molecules to interact between each other. Therefore, the higher the efficiency of additives used to inhibit wax deposition. The rdf analysis of the H59-H60 interaction in each system is illustrated in Figs. 3, 4, 5, 6, 7.

Fig. 3
figure 3

Rdf pattern H59-H60 of eicosane in the presence of only eicosane, 0.1% EVA, 0.1% TEA and 0.1% oleic acid

Fig. 4
figure 4

Rdf pattern H59-H60 of eicosane in the presence of only eicosane, 0.5% EVA, 0.5% TEA and 0.5% oleic acid

Fig. 5
figure 5

Rdf pattern H59-H60 of eicosane in the presence of only eicosane, 1% EVA, 1% TEA and 1% oleic acid

Fig. 6
figure 6

Rdf pattern H59-H60 of eicosane in the presence of only eicosane, 5% EVA, 5% TEA and 5% oleic acid

Fig. 7
figure 7

Rdf pattern H59-H60 of eicosane in the presence of only eicosane, 10% EVA, 10% TEA and 10% oleic acid

The result of the simulation portrays that the rdf value of the H59-H60 in a pure wax system signifies a strong vdW interaction at 2.25 Å. However, the probability of the molecules being at the rdf distance, g(r), is substantially low at 0.77. In addition, the H59-H60 interaction in the presence of inhibitors shows a shift of rdf value to a weaker vdW interaction indicating that the additives are incorporating into the wax molecule and preventing the wax molecules to cluster and agglomerate except for the case of 10% EVA where the rdf value is similar to the rdf value in the absence of additives implying that there was no effective inhibition that took place. The rdf value (1st peak) of the H59-H60 interaction in the presence of various additives is as shown in Table 4.

Table 4 Rdf value of H59-H60 interaction

The deviation signifies the effect of the inhibitor molecules on the wax–wax interaction in the presence of inhibitor in the mixture system. It should be noted that, the higher the rdf value, the higher the space between the H59 and H60 molecules. It should be mentioned again that, in the case of H59-H60 interaction, the higher the rdf value, the lower the ability of the wax molecules to interact between each other. Therefore, the higher the efficiency of additives used to inhibit wax deposition.

The findings from Fig. 3 portray that in the presence of 0.1% inhibitors, EVA had the highest rdf value at 5.25 Å, followed by oleic acid at 4.25 Å, while TEA has the lowest rdf value at 2.75 Å. This implies that EVA has the best efficiency at inhibiting the agglomeration or crystallization of the wax crystals as compared to oleic acid and TEA at 0.1% concentration. This may be due to the fact that EVA and oleic acid being a straighter chain molecule have a better compatibility of inhibiting wax agglomeration and crystallization as compared to the highly branched molecule like TEA.

A similar trend was observed when 0.5% concentrations as observed from Fig. 4 of the inhibitors were simulated. The best inhibitor was observed to be 0.5% EVA at 4.75 Å, then 0.5% TEA and oleic acid have a similar rdf value of 4.25 Å. However, it can be noticed as the concentration of the inhibitor used increases, the rdf value for EVA decreases but for TEA increases. This indicates as the concentration increases, the efficiency of the EVA inhibitor to inhibit agglomeration decreases where else in the case of TEA, the efficiency increases.

Meanwhile, when 1% concentration of the inhibitors was analysed as illustrated in Fig. 5, 1% oleic acid as well as 1% TEA had the highest rdf value at 4.75 Å, followed by 1% EVA at 4.25 Å. Oleic acid had the best inhibition mainly because of the straight chain molecular structure which matches the paraffin distribution of the wax (eicosane) being inhibited (Manka et al. 2001). In the case of EVA, however, it can be observed that the inhibition performance is poor at higher concentration which may be due to the fact that EVA tends to act as a site for agglomeration and modifies the wax crystal causing the formation of softer wax deposition as reported by Machado et al. (2001) (Machado et al. 2001a, b). However, in the case of TEA, it can be observed that the rdf value increases as the concentration of the additives increases.

However, as the concentration further increases to 5% and 10% concentration as portrayed in Figs. 6 and 7, respectively, the rdf value can be seen to decrease. At 5% concentration, the best inhibitor was 5% oleic acid and 5% TEA at 4.25 Å, followed by 5% EVA at 3.75 Å. In addition, in the presence of 10% concentration of the inhibitors, the rdf value further decreased where the most efficient inhibitor was still oleic acid and TEA at 3.25 Å and worst was EVA at 2.25 Å, which is similar to the rdf value of the crude oil in the absence of inhibitor. The decline in the efficiency of the inhibitors may be due to the fact that the high concentration of the inhibitors used may act as potential site which catalyse the agglomeration of the eicosane wax crystals.

The efficiency of oleic acid as mentioned previously can be attributed to the straight chain molecular structure which matches the paraffin distribution of the wax (eicosane) being inhibited (Manka et al., 2001). Besides, the presence of the carboxy group (–COOH) in oleic acid is also a reason for the effective inhibition efficiency. The carboxy group which has high polarity decreases the ability for the wax to crystallize (from orthorhombic crystal structure to a compact pyramidal form) as well as increase the solubility. Furthermore, Akinyemi et al. (2016) also theorized that the delocalized unpaired electrons or hydroxyl functions over the π bond (double bond) of the fatty acid components interacts with the wax functionalities to reduce wax crystallization (Akinyemi et al., 2016, 2018). Figure 8 shows the structure of oleic acid and the active interaction site.

Fig. 8
figure 8

Structure of oleic acid indicating the site of interactions with the wax molecules

In addition, in the presence of EVA which comprises of ethylene and vinyl acetate (VA), the polar compound consisting of methyl and methylene group (found in VA) has two active oxygen atoms also functions similarly to the active oxygen atoms found in oleic acid when it comes to inhibiting wax crystallization. Moreover, the side chains in both the carboxy group from the oleic acid and the VA from EVA may hinder the agglomeration process and reduce the WAT as well as the pour point of the crude oil (Patel et al., 2017; Ridzuan et al., 2016; Soni et al., 2010).

In order to get a better understanding on how the additives inhibits the deposition of wax, the active oxygen atoms which plays a vital role in reducing or affecting the crystallization process is further studied. Oleic acid and EVA have two active oxygen atoms where else TEA has three active oxygen atoms. The rdf of H59 and H60 of the eicosane and the active oxygen atoms of each inhibitors at 298 K are represented in Figs. 9, 10, 11.

Fig. 9
figure 9

Rdf pattern of H59 and H60 in eicosane and oleic acid of a 0.1% concentration, b 0.5% concentration, c 1% concentration, d 5% concentration and e 10% concentration

Fig. 10
figure 10

Rdf pattern of H59 and H60 in eicosane and EVA of a 0.1% concentration, b 0.5% concentration, c 1% concentration, d 5% concentration and e 10% concentration

Fig. 11
figure 11

Rdf pattern of H59 and H60 in eicosane and TEA of a 0.1% concentration b 0.5% concentration c 1% concentration d 5% concentration and e 10% concentration

The simulation result from Fig. 9a illustrates that in terms of H59 in 0.1% oleic acid the first neighbouring atom (1st peak) of H59-O1 is higher that the molecular interaction of H59-O2 at 4.75 Å and 2.25 Å, respectively. The lower rdf value of H59-O2 molecular interaction signifies a strong molecular bond which prompts the decrease in eicosane solubility in the presence of oleic acid, where else the H59-O1 interaction (rdf value = 4.75 Å) portrays a lower intermolecular bond which increases the eicosane solubility and hinders wax precipitation, while the interaction of the H60 molecule with O1 and O2 shows a weaker interaction where the rdf value is at 4.25 Å and 3.75 Å.

Meanwhile, in Fig. 9b in the presence of 0.5% oleic acid, the lowest rdf value was simulated by H59-O1 at 2.25 Å, followed by H59-O2 at 3.25 Å. The interaction of H60 atom with the two oxygen atoms can be seen to be weaker than the interaction portrayed by H59 as observed in Figure 9a, hence prompting that the H59 atom has a significant effect on the inhibition efficiency of oleic acid. In addition, when comparing the results of Figure  9a and b, it can be seen that as the concentration increases, the g(r) value decreases. The lower g(r) value prompts that the interaction of H59 and H60 between the oxygen atoms in oleic acid indicates the low solubility of wax solid crystal.

From Fig. 9c in the presence of 1% oleic acid, a similar trend was observed where the most interactive bond was H59-O1 and H59-O2 at rdf 2.75 Å. The g(r) value also further decreased as the concentration increases.

The simulation result from Fig. 9d portrays that in 5% oleic acid, the first neighbouring atom (1st peak) of H59-O1 is higher that the molecular interaction of H59-O2 at 2.75 Å and 2.25 Å, respectively. Again, the H59 atoms have a higher interaction with the two oxygen atoms as compared to the H60. The g(r) value of the rdf value can be seen to increase, indicating a higher probability of the molecular interaction which can prevent wax inhibition.

Figure 9e where eicosane was simulated in the presence of 10% oleic acid also shows a similar trend to that of Fig. 9d, but with a slightly higher g(r) which may indicate higher interaction where a possible site for agglomeration can occur and decreases the efficiency of the inhibitor to perform.

Figure 10a and b portrays the rdf trend of the intermolecular interaction between H59 and H60 with the two-carbonyl oxygen in 0.1% and 0.5% EVA. The H59-O25 interaction shows a rdf value of 3.25 Å, while the rdf value of H59-O16 is at 4.75 Å. Meanwhile, the rdf value of H60-O25 is 2.75 Å and H60-O16 is 5.75 Å. This concludes that the primary carbonyl oxygen which aids in the inhibition of wax crystallization is O16, while the molecular attraction between H60-O25 may deteriorate the inhibitors efficiency at higher concentrations.

Furthermore, as the concertation of the EVA inhibitor simulated increases up to 5%, it can be seen that g(r) decreases, indicating a lower probability of the molecular interaction. In addition, as the concentration of the EVA inhibitor increases, it can be observed that the rdf value of H60-O25 increases while H60-O16 increases. In terms of the H59 atom, however, it can be seen to increase in the presence of 5% EVA but stays the same at 1% EVA. This concludes that H60 is more reactive with the oxygen atoms in EVA which may cause a disruption in inhibiting wax deposition.

According to Fig. 10e, in the presence of 10% EVA, the g(r) value of at the molecule interaction can be seen to be high, indicating a high possibility of molecule interaction. This may cause the catalyst of wax deposition as the inhibitor may act as potential site for the wax crystals to agglomerate and precipitate. The most reactive molecular attraction can be seen to be H59 and H60 with O25 at 2.75 Å.

Furthermore, in the case of TEA, the results followed the similar pattern of oleic acid as illustrated from Fig. 11 and the H60-O1 is the lowest rdf value as compared to the other molecular interaction while the molecular interaction of H59-O10, H60-O10, H59-O7 and H60-O7 is the highest. This concludes that the primary wax inhibition prone carbonyl oxygen in TEA is O10 and O7.

Static wax deposition test

In order to quantify the effectiveness of the oleic acid derivatives as potential wax chemical inhibitors, a test was performed according to the experiment configuration as portrayed in Fig. 2. The PIE (as calculated using Eq. (2) of each inhibitor at the various concentrations was obtained and plotted against the deposition time as illustrated from Figs. 12, 13, 14, 15, 16.

Fig. 12
figure 12

Paraffin inhibition efficiency (PIE, as calculated with Eq. 2) against deposition time in the presence of 0.1% additives

Fig. 13
figure 13

Paraffin inhibition efficiency (PIE) against deposition time in the presence of 0.5% additives

Fig. 14
figure 14

Paraffin inhibition efficiency (PIE) against deposition time in the presence of 1% additives

Fig. 15
figure 15

Paraffin inhibition efficiency (PIE) against deposition time in the presence of 5% additives

Fig. 16
figure 16

Paraffin inhibition efficiency (PIE) against deposition time in the presence of 10% additives

It can be seen that at 0.1% concentration, all the additives have a positive PIE, indicating wax inhibition. The most effective among the additives tested is 0.1% EVA having an average PIE of 79.782%, followed by 0.1% CPO at 72.112%, then 0.1% CPKO at 59.58 2% and lastly 0.1% TEA at 42.654%. Moreover, the PIE of all the additives can be seen to deteriorate slightly after the 6th hour. This shows that the effect of wax ageing has a slight effect on the additive’s effectiveness in inhibiting wax deposition at high residence time.

In addition, when observing the physical appearance of the deposited wax throughout the 24-h experiment, it should be noted that the all the samples tested (except EVA) the deposited wax was soft but became more dense and thicker as the time increased. This may be due to the effect of wax ageing where the long chain paraffin molecules in the bulk oil continuously diffuse into the deposited wax layer on the cold finger probe. This then prompts the higher carbon number molecules to diffuse into the wax layer while the lighter carbon number molecules to diffuse out. This causes the deposited wax to have an increase in solid fraction making it denser and stiff which then increases in hardness as the time increases (Lim et al. 2018; Paso and Fogler 2003; Quan et al. 2015).

In the case of EVA, however, it was found that the wax deposited was brittle and required a relatively low amount of force to scrape off the cold finger probe. This characteristic of EVA may be due to the fact that the EVA which comprises of methyl as well as methylene groups which contain multiple active oxygen atoms displays a strong van der Waals interaction between the hydrogen atoms in the crude oil. This then leads to increased solubility and the reduction of the wax gel strength causing a decline in wax deposition (Ashbaugh et al. 2005; Machado et al. 2001a, b).

Furthermore, the deposition trend of all samples tested is not linear due to the depletion effect. It is vital to understand that as the experiment was conducted at a laboratory set-up which has a definite amount of sampled used and there was no fresh sample that was supplied after each reading, the depletion of wax will occur as time increases (Kelechukwu et al. 2010; Misra, Baruah and Singh 1995). However, this assumption will not be applicable in a real oilfield pipeline, as there is a continuous supply of fresh crude oil flowing from the reservoir into the pipeline which is sufficient to make the depletion effect negligible (Bott and Gudmundsson 1977; Cole and Jessen 1960).

In the presence of 0.5% additives, the PIE against deposition time as shown in Figure 13 portrays that all the additives used have a positive PIE, implying wax inhibition. The highest PIE among the additives used was in the presence of 0.5% EVA at an average PIE of 79.723%, then 0.5% CPO at an average PIE of 73.826%, followed by 0.5% CPKO at 71.170% and lastly 0.5% TEA at 51.063%. The PIE of all the additives also follows the deterioration pattern as seen in the presence of 0.1% additive concentration. In addition, when comparing the PIE of the additives at 0.1% concentration (Fig. 12) and 0.5% concentration (Figure 13), the PIE of CPO, CPKO and TEA can be seen to increase as the concentration increases but the PIE of EVA remains relatively constant. This implies that the increase of EVA concentration above 0.1% does not indicate higher inhibition and the critical concentration of the additive to be the most efficient is between 0.1% and 0.5% concentrations.

Additionally, the physical appearance of the deposited wax throughout the 24-h experiment in the presence of 0.5% concentration of the additives was similar to the physical appearance trend that was observed in the presence of 0.1% concentration of the additives.

When 1% concentration of the additives was used, the PIE against deposition time as illustrated in Fig. 14 portrays that all the additives used have a positive PIE, indicating wax inhibition occurred. The highest PIE among the additives used was in the presence of 1% CPO at an average PIE of 80.942%, then 1% CPKO at an average PIE of 80.365%, followed by 1% TEA at 76.560% and lastly 1% EVA at 52.402%. The PIE of all the additives also follows the deterioration pattern as seen in the presence of 0.1% as well as 0.5% additive concentration. Moreover, when comparing the PIE of the additives at 0.5% concentration (where eicosane was simulated in the presence Fig. 13) and 1% concentration (Fig. 14), the PIE of CPO, CPKO and TEA can be seen to increase as the concentration increases but the PIE of EVA decreases drastically. This implies that the increase of EVA concentration above critical concentration of the additive can actually cause the performance of the additive to deteriorate. This result was also observed by other researchers and will be discussed in the later part of this section (Gilby 1983; Lim et al. 2018; Soni et al. 2005; Zhang et al. 2008).

Additionally, the physical appearance of the deposited wax of CPO, CPKO and TEA throughout the 24-h experiment in the presence of 1% concentration of the additives was soft and easy to be removed but became more compact and stiffer as the deposition time increases. However, the wax deposited in the presence of 1% EVA was different compared to the previous concentration (0.1% and 0.5%) tested. The wax deposited was much softer and denser which were harder to scrap off as compared to the brittle and easy to scrap wax deposited at the lower concentration.

From Fig. 15, the PIE against deposition time in the presence of 5% concentration portrays that 5% CPO, 5% TEA and 5% CPKO have a positive PIE at an average of 70.352%, 70.305% and 69.137%, illustrating that wax inhibition occurred. While when 5% EVA was utilized, the PIE was negative for the 2nd and 4th hour, indicating that the presence of high concentration of EVA (5%) induces further wax deposition. However, the PIE of 5% EVA then increases a positive value (10.893%) indicating slight wax inhibition occurred at the 6th hour but having an average PIE of -15.274%. The positive value PIE may be due to the fact that there was insufficient wax in the cold finger to deposit onto the probe. This leads to a low difference of wax deposit when compared to the wax deposited in the absence of additives. Still, the effectiveness of the EVA at latter part of the experiment can also be due to the fact the EVA was able to prevent the deposition of longer chain paraffin molecules. Hence, to clear the ambiguity the effectiveness of the additives in the presence of 10% concentration was studied. In addition, when comparing the PIE in the presence of 1% concentration, the PIE of 5% additives is relatively lower, indicating that the additives function best above 1% and below 5% concentration.

Additionally, the physical appearance of the deposited wax of CPO, CPKO and TEA throughout the 24-h experiment in the presence of 5% concentration of the additives was soft and easy to be removed but became more compact and stiffer as the deposition time increases. However, the wax deposited in the presence of 5% EVA was similar to the wax deposited in the presence of 1% EVA but harder and denser which were harder to scrap off.

Based on Fig. 16, the positive PIE of 10% CPO, 10% CPKO and 10% TEA portrays that the additives were still effective at inhibiting wax deposition at high concentrations. The most effective additive in the 10% concentration is 10% CPO at an average PIE of 57.183%, second is 10% CPKO at average PIE of 55.983%, followed by 10% TEA at average PIE of 47.213% and finally 10% EVA having an average PIE -351.431%, respectively. The absence of PIE at the extended time of 24 h is due to the fact that there was insufficient crude oil in the cold finger container to be in contact with the cold finger probe. As mentioned before, this trend was due to the depletion effect. In addition, the negative PIE trend as well as the average PIE in the presence of 10% EVA confirms that the increase of EVA concentration above the critical concentration causes further wax deposition.

It should also be noted that the physical appearance of the deposited wax of CPO, CPKO and TEA in the presence of 10% concentration was soft and easy to be removed as observed in 0.5%, 1% and 5% concentration. However, the wax deposited in the presence of 10% EVA was harder and more compact as compared to 5% EVA. In addition, the wax deposited at the 6th hour in the presence of EVA was extremely high and due to the depletion effect discussed earlier, there was insufficient crude oil in contact with the cold finger probe afterwards. This is the reason to the stagnant mass of wax deposited at the extended time of 24 h.

To better understand, the effect of the additives in various concentrations tested, the average paraffin inhibition efficiency for each sample tested was calculated and tabulated in Table 5.

Table 5 Average PIE of each sample tested

From Table 5, the most effective concentration of EVA was in the presence of 0.1% as it has the highest average PIE among the concentration tested. The low concentration of EVA causes the formation of diminutive crystals which is smaller in size nevertheless higher in numbers as compared to the paraffin plate-like crystals. Many authors have agreed that introducing EVA at low concentration or dosages agglomerates with the increasing paraffin wax crystals and hinders the crystallization process, hence decreasing the ability of the paraffin wax crystals to link and create network among themselves. This leads to the formation of more crystals in a diminutive form, decreasing the deposition strength (Ashbaugh et al. 2005; Jafari Ansaroudi et al. 2013). In addition, in terms of molecular discussion, ethylene vinyl acetate composes of the copolymer of vinyl acetate and ethylene. The vinyl acetate which comprises of methylene and methyl group aids in lowering the solubility because of the high polarity property. Also, the side chains of the vinyl acetate group may also contribute to the inhibition of wax crystallization and decreases the WAT as well as pour point. The two active oxygen atoms in the vinyl acetate perform a significant part to decrease the formation of wax crystals in the crystallization process which has been thoroughly discussed under the simulation results section (Kelland 2009; Ridzuan et al. 2016).

As the concentration increased, the average PIE of EVA decreased especially above 1% concentration. This is due to the possibility that the EVA additives are behaving as supplementary suspended particles in the crude oil which deteriorates the efficiency of the polymer to inhibit wax deposition. This confirms that the increase in wax deposits is influenced by the concentration of wax inhibitor utilized and as the concentration reaches the optimum value, it alters the wax crystallization behaviour by implementing more structures to disturb and reconcile with edge of the developing wax crystals (Machado et al. 2001a, b; Yang et al. 2017). On top of that, the van der Waals interaction between the crude oil and wax crystals may be altered by the presence of various concentrations of wax inhibitor used which largely influences the wax solubility in the crude oil (Machado and Lucas 1999; Ridzuan et al. 2016; Zhang et al. 2008).

Besides, in the case of CPO, CPKO and TEA the most effective PIE was observed in the presence of 1% concentration based on the average PIE of each sample as portrayed in the table. In terms of the palm-based additives (CPO and CPKO), the effectiveness of the additives can be attributed to the high concentration of monounsaturated molecules present (Table 1) which aids in binding the larger paraffin molecules in the crude oil, hence preventing the agglomeration as well as the deposition of wax. In addition, the effectiveness of the CPO and CPKO may also be due to the fact that the additive co-crystallizes with the paraffin molecules from the crude oil causing a decrease in wax deposition and also the pour point (Olusegun Peter Akinyemi et al., 2016). To be more precise, the unsaturated fatty acid composition of the palm oils which has a delocalized unpaired electron or the hydroxyl function over the π-orbital at the double bond (Fig. 8) may intermingle with the functionalities of the paraffin wax resulting in the reduction of the wax deposition (Akinyemi et al. 2016; Gateau et al. 2004; Taiwo, Otolorin and Aafolabi 2012). However, the increase of the average PIE above 1% concentration can also be attributed to the fact that the high concentration of oleic acid as well other fatty acids in the palm-based additives acts as a potential site for wax agglomeration.

Meanwhile, the efficiency of TEA can be contributed to the fact that it is a cationic surfactant which have surface active agents where the surface activity depends on the nature of the quaternized amine as well as the carbon side chain length (Mahmoud et al. 2007). Yet, the average PIE above 1% concentration also increases which can also be due to the high concentration of TEA acting as potential sites for wax agglomeration.

Conclusion

The molecular dynamics simulation result portrays that oleic acid can inhibit wax formation, followed by polyethylene vinyl acetate (EVA) and triethanolamine (TEA). Eicosane is a heavy chain wax molecule of crude oil and has a strong van der Waals interaction between the carbonyl oxygen from oleic acid and the hydrogen atom (eicosane) to increase the solubility of the eicosane. Meanwhile, in the case of the static deposition test, the ability of the chemical additives to depress the wax deposition under static condition is influenced by the quantity of wax in the sample and the molecular distribution. The highest PIE as well as the lowest mass of wax deposited was observed to be in the presence of 1% CPO (Average PIE = 80.942%), followed by 1% CPKO (Average PIE = 80.365%), then 0.1% EVA (Average PIE = 79.782%) and finally 1% TEA (Average PIE = 76.560%). The results not only illustrate that oleic acid or CPO and CPKO can be an excellent wax inhibitor but also portrays that MD simulation is a good method for investigating the interaction mechanism of wax inhibitors as well as a decent screening tool for inhibitor selection.