Multiscale Modelling of the Calcium Naphthenate Precipitation Reaction in Petroleum Processing

The formation of calcium naphthenate precipitates occurring in the petroleum industry is both an undesirable side reaction and can introduce costly shutdowns and cleaning processes. Although the reaction has been studied by experimental techniques, the exact mechanism of reaction and precipitation is still under debate. In the present work, we apply a multiscale approach to study the formation of calcium naphthenate precipitates. To systematically study this otherwise complex reaction influenced by many factors, we first have applied density functional theory (DFT) calculations on the interaction energies between carboxylate anion(s) and calcium and sodium cations. The influence of the multibody effects have been determined by DFT and their impact on the commonly used OPLS-AA force field is assessed. It has also been indicated that the calcium ion can coordinate up to four carboxylate molecules. The lowest interaction energy has been reached when calcium interacts with 3 carboxylates. A comparison between DFT and OPLS-AA shows satisfactory representation of the carboxylate - calcium interactions by the force field, which has been further used to study the calcium naphthenate precipitation reaction. The calcium naphthenate reaction has been shown to be very selective and calcium is the most abundant cation in the precipitates amongst all the divalent cations. To address this observation ab initio molecular dynamics simulations have been performed to understand the basic mechanism of the carboxylate - metal ion dissociation in water. By thermodynamic integration we have evaluated the free energy of interaction between propanoate anion and the divalent Mg2+, Ca2+, Sr2+ and Ba2+ cations. This study revealed that the strongest interactions of the carboxylate anion are with magnesium followed by calcium, strontium and barium, which partially explains the selectivity. However, magnesium shows also the strongest interactions with the solvent molecules, which has affected their dynamics. The dynamics of the solvent molecules together with the self-diffusion of the divalent ions infer that calcium most likely will bind with the carboxylate rather than magnesium. The preferred binding with calcium has been further complimented by calculating the probability for reaction between two carboxylates and one divalent metal cation as a function of the distance separating the carboxylates. That has been achieved by performing molecular dynamics (MD) simulations together with umbrella sampling. The probability of reaction has been finally used as a constituent function in the method development for recreating the interfacial density of tetracarboxylic acid (TA) molecules to calcium naphthenate precipitation. This method involves MD simulations of TA molecules at an oil-water interface for obtaining different probability distributions from the simulation trajectories describing their molecular orientation and structuring. Then the MD simulated probabilities are used to recreate the interfacial density in a coarse-grain manner from which we have determined the fractional conversion of TA molecules to calcium naphthenate precipitation as a function of the interfacial concentration. The fractional conversion is shown to increase non linearly with the increase of interfacial concentration