Analytical Instrumentation

Controlling corrosion: A new method to measure the TAN in crude oil and refinery distillation fractions

May 23 2022

Author: G. Bryce McGarvey, Bert Thakkar, Colette E. McGarvey, Larry Tucker, Lori Carey and Stephanie Kappes on behalf of Metrohm AG

Free to read

This article has been unlocked and is ready to read.


Many refiners look at discounted opportunity crudes as a means to improve their margin spread. The growing varieties of discounted opportunity crudes on the market contain certain risks for the purchaser, such as high naphthenic acid or sulfur content. Sulfur compounds and naphthenic acids are among the many species that contribute to the corrosive nature of crude oils and refined fractions. Opportunity crudes with high naphthenic acid and sulfur content therefore come with an ongoing risk of increased corrosion. The refiner must balance the cost benefit versus the risk and the cost of corrosion control when processing these crudes.


Naphthenic acids: Occurrence

Naphthenic acids are found in many types of crude oil and can be present at varying concentrations. Their presence is found in crudes of diverse global origin including California, Venezuela, China, India, Mexico, Brazil, West Africa, North Sea, Western Canada, and other regions. Broader availability and higher volume of naphthenic-acid-containing crudes increase the risk of experiencing high-temperature corrosion of refinery equipment in refinery operations. The atmospheric and vacuum distillation columns, side strippers, furnaces, piping, and overhead systems are particularly at risk.


Naphthenic acid and sulfur corrosion

The link between naphthenic acids and refinery corrosion was established by W.A. Derungs,1 who noted it was difficult to differentiate between sulfide and naphthenic acid corrosion. Both produced high corrosion rates at elevated temperatures. The mechanism of corrosion from combined naphthenic acid and sulfur content has been described by the following chemical reactions.2, 3, 4
In the first reaction, iron naphthenates are formed from the reaction of naphthenic acids with steel. Being soluble in oil, the iron naphthenates are carried in the fluid flow. Simultaneously, hydrogen sulfide or other sulfide-containing species react with the steel to form an iron sulfide coating on the surface (Reaction 2). Hydrogen sulfide reacts with the iron naphthenates to form iron sulfide and liberate the naphthenic acids (Reaction 3).
While these three reactions form the recognized mechanism of naphthenic acid in sulfur-containing crudes, naphthenic acid corrosion is in fact more complex and affected by many factors such as temperature and velocity as well as acid and sulfur content.5 Corrosion risk from naphthenic acids is greater at process temperatures over 200 °C.
At operating temperatures greater than 420 °C, naphthenic acids are believed to break down into shorter-chain organic acids. These can end up in distillation fractions, and there is concern about their corrosivity.6 As operating process temperature increases, so does the possibility of corrosion due to these short-chain organic acids.


Physical parameters affecting corrosion

Flow-induced wall shear stress can separately influence the corrosion by naphthenic acid and sulfur species. Refinery units with process stream flow velocities greater than 2.7 m/s and areas of high turbulence are more susceptible to naphthenic acid corrosion. A thin film of iron sulfide – formed through the reaction of hydrogen sulfide in crude and steel refinery units – protects the steel from naphthenic acid attack. High-velocity flow and turbulence can, however, dissolve the sulfide film, leaving the metal vulnerable to attack by naphthenic acid.


Desalter upsets caused by naphthenic acids

In the crude oil desalter, naphthenic acids can cause upsets through the formation of emulsions: as the pH of the water inside a desalter increases, naphthenic acids can form very stable sodium naphthenate emulsions. Emulsions that are formed must be broken to restore the efficiency of the desalter and reduce fouling.

Corrosion control:
Monitoring the acid number
To control corrosion in the processing of crude oil, the acid number and sulfur content of the crude or refinery fraction are measured. The acid number (AN) is defined as the total acidity, i.e., the amount of potassium hydroxide in milligrams required to neutralize one gram of sample. It is not uncommon to find crude or traded fractions such as vacuum gas oil (VGO) with acid numbers up to 4 mg KOH/g. Most crude or refinery fractions have an acid number of less than 1 mg KOH/g. Experience from refineries and corrosion studies shows elevated corrosion risk when the naphthenic acid content is greater than 0.5 mg KOH/g in crude, and greater than 1.0 mg KOH/g in fractions. If the acid number of a crude or fraction exceeds these values it is considered to be a high-acid-number stream.
Until the release of acid number standard ASTM D8045, the acid number of crude oil and fractions was estimated by using potentiometric method ASTM D664. This test method was originally developed for the analysis of new and used lubricants and presents the analyst with a number of analytical challenges when applying it to crude oil and fractions. For example, insufficient dissolution of crudes and fractions in the titration solvent can pose a problem: asphaltic, paraffinic (waxy), and bitumen materials are not all readily dissolved in the titration solvent that the D664 method stipulates. When the sample is not fully dissolved, the titrant cannot react with all of the acid contained in the sample. Also, the undissolved sample forms a coating on the glass membrane of the electrode in the titration cell, reducing its ability to accurately sense voltage changes during the titration and subsequently leading to imprecision and poor accuracy.
A colorimetric titration method, namely ASTM D974, has been used to measure some clear refinery fractions. This test method cannot be applied to measure crudes and front-end refinery fractions due to the intense dark color they exhibit when dissolved in the titration solvent.


A new method for determining the acid number

Since 2008, Metrohm USA has been working with industry partners to overcome the sample and method challenges and has developed an improved, reliable method to measure acidity in the challenging matrices of crude and refinery fractions. The new titration method is based on thermometric endpoint detection, and uses the Metrohm thermometric titrator 859 Titrotherm (Figure 1).


Thermometric titration: Measuring principle

Previous acidity measurements of crudes and fractions according to ASTM D664 used a potentiometric titration in which a pH electrode detects the reaction between the titrant and naphthenic acid. During the titration, the sensor often becomes coated with heavier fractions which are difficult to dissolve in the titration solvent stipulated by the standard, leading to measurement imprecision.
The new Titrotherm method, ASTM D8045, uses a thermometric sensor which overcomes this issue in two ways: firstly there is no glass membrane to coat, and secondly the analyst can vary the solvent composition to aid the dissolution of heavier crudes such as bitumen.
The thermometric sensor developed by Metrohm performs well in non-aqueous titration of acidity in crude. It employs a thermistor for precise temperature measurements in the titration vessel. The neutralization reaction of naphthenic acid is exothermic, therefore, the temperature increases in the course of the reaction. To obtain a sharp discontinuity in the temperature curve at the endpoint, a thermometric indicator that reacts endothermally with excess hydroxide after the endpoint is added to the sample solution. The thermometric titration gives an inverted V-shaped curve as shown in Figure 2. Evaluation of the titration endpoint is handled by the tiamo™ software.
The measuring response time of the thermistor is less than 0.003 seconds and is much faster than that of a pH glass membrane. This means that thermometric titration by ASTM D8045 can be carried out much faster than the titration according to potentiometric methods which use pH indication, without sacrificing precision or accuracy. The thermometric sensor also allows the use of nonpolar solvents such as xylene, which improves the solubility of many oils, including crude.
Thermometric titration does not require an insulated reaction chamber because a relative temperature change is monitored to indicate completion of the reaction.


Sample preparation

The heterogeneous nature of crude oil can affect determinations, particularly when measuring relatively small sample sizes of 3–5 g. To improve the precision of the test protocol, it is necessary to homogenize the crude before analysis using a shear mixer. Studies by the work group have shown that this improves the precision of the new test method.
To optimize the solvent system in ASTM D8045, a solvent study was conducted. It was found that a mixture of xylene and 2-propanol (also called isopropyl alcohol or IPA) in the ratio of 75:25 by volume worked best to dissolve the variety of crudes and refinery fractions. The xylene–2-propanol titration solvent is efficient enough that only 30 to 40 mL of solvent is required compared to 120 mL for ASTM Method D664. The reduction in total solvent volume and waste disposal saves substantial operating costs.
Crudes and refinery fractions that are liquid at room temperature are weighed directly into a beaker; 30 mL of titration solvent containing the thermometric indicator is added to dissolve the sample which is then titrated with 0.1 M potassium hydroxide in 2-propanol. Samples that are not liquid at room temperature, such as asphalt and high-paraffin-content fractions, require sample preparation

High paraffin content: Particularly challenging samples

The analyst may encounter crude oils with high paraffinic content which are referred to as «waxy crudes». These samples can be challenging because the paraffins are often solid at room temperature. Samples with high paraffinic content should be fluidized and homogenized by heating them to 80 °C so that a representative aliquot is obtained and analyzed. The warm sample is weighed into the titration beaker and 10 mL of solvent is added (toluene or xylene). The majority of crudes analyzed, including bitumen samples, did not require this first dissolution step. Approximately 30 mL of the xylene–2-propanol titration solvent is added and the sample aliquot is reheated to 65 °C to ensure the dissolution of the paraffin content. The warm sample may be analyzed immediately without adversely affecting endpoint resolution, further supporting the method ruggedness of D8045.


Recommended sample weights

Crudes and distillation fractions with an expected acid number less than 1 mg KOH/g should be analyzed using a sample mass of 10 to 20 g. If the acid number is greater than 1 mg KOH/g, the analyst should use 5 g of sample for the measurement.
The amount used can be adjusted to accommodate for solubility limitations. For unknowns, it is advised to start with 5 g and adjust the sample size as needed for subsequent measurements.
The volume of titrant consumed must be at least 0.15 mL. A titrant volume smaller than 0.15 mL indicates that additional sample is required. A titrant volume greater than 5.0 mL suggests that less sample is needed. Recommended sample weights according to the expected value of the acid number are presented in Table 1.


Blank determination

It is important to determine a blank periodically. This should consume less than 0.1 mL titrant, in particular when measuring samples with acid numbers less than 1.0 mg KOH/g. To ensure that the blank value is less than 0.1 mL, only ACS Reagent grade solvents should be used. To determine the blank, a stable sample with a known acid number is measured three or more times, using a different sample mass each time. The largest sample size must not use a titrant volume greater than the volume of the burette. The example below shows a blank calculation for a crude oil sample with an acid number of approximately 0.9 mg KOH/g. In a plot of the titrant volume consumed until the endpoint against the sample mass, the blank value is equal to the value of the titrant volume y when the sample value x is set to zero (Figure 3). In this particular example, it equals 0.039 mL. tiamo™ titration software can be configured to fit the data and calculate the slope automatically


Correlation of thermometric and potentiometric methods

A variety of crude types and refinery fractions have been analyzed using the new thermometric ASTM D8045 titration standard.
A study comparing this method to the ASTM D664 potentiometric method shows good correlation (Table 2).
In a three-laboratory study, 89 samples were analyzed using potentiometric and thermometric methods to compare the method results. The results showed that the new thermometric ASTM Method D8045 produces equivalent results to ASTM Method D664 as shown in Figure 4.



The acid number repeatability of the thermometric method was studied for low-TAN samples in a single laboratory. A crude oil, a mineral oil, and a refinery fraction were analyzed.
The results are shown in Table 3, Table 4, and Table 5 on the next page. ASTM D8045 demonstrates excellent method precision for low TAN values.



The single-laboratory precision as well as the precision between multiple laboratories have been studied in the development of the ASTM D8045 thermometric acid number standard.
This was done in a ten-laboratory study of twelve crudes and refinery fractions. Both the single-laboratory precision, or repeatability, and the precision between multiple laboratories, or reproducibility, proved to be much better than that of method D664 when measuring crudes and refinery fractions.
These improvements are attributed to an improved solvent system that makes the sample fully accessible for reaction to the titrant as well as the use of a precise, enthalpy-detecting sensor that is unaffected by difficult samples or harsh solvents.
The new thermometric standard, D8045, offers the highest accuracy for the analysis of the total acid content in crudes and refinery fractions. By solving sample solubility and measuring accuracy issues, ASTM D8045 offers increased precision between buyers and sellers of petroleum products and is a recommended standard to add to these agreements. By using 75% less solvent and reducing the analysis time, the new solvent system also considerably lowers the cost of testing.
Table 6 provides on overview of the new D8045’s most important improvements for the analyst compared to ASTM D664.
From crude feedstock to refinery fractions, extensive testing and method development using the Metrohm Titrotherm for acid number determination by D8045 proves to be simple and precise. With improved measurement, refiners can better adjust their plant operation to control and mitigate corrosion risk from naphthenic acid while ensuring fair trade and commerce throughout the industry.



[1] Derungs, W. A. Naphthenic Acid Corrosion –
An Old Enemy of the Petroleum Industry. Corr. 1956, 12, pp. 617–622.
[2] Turnbull, A.; Slavcheva, E.; Shone, B. Factors Controlling
Naphtenic Acid Corrosion. Corr. 1998, 54 (11), pp. 922–930.
[3] Slavcheva, E.; Shone, B.; Turnbull, A. Review of naphtenic
acid corrosion in oil refining. Br. Corr. J. 1999, 34 (2), pp. 125–131.
[4] Babaian-Kibala, E.; Craig H. L.; Rusk, G. L.; Quinter R. C.;
Summers M. A. Naphthenic Acid Corrosion in Refinery Settings.
Mater. Perform. 1993, pp. 50–55.
[5] Bota, G. M.; Qu, D., Nesic, S.; Wolf, H. A. Naphthenic Acid
Corrosion of Mild Steel in the Presence of Sulfide Scales Formed in Crude Oil Fractions at High Temperature. NACE 2010 Paper # 1035377
[6] Gutzeit, J. Naphthenic Acid Corrosion in Oil Refineries. Mater.
Perform. 1977, 16 (10), pp. 24–35.
[7] Murray, D. TAN Thermometric Method Evaluation.
Canadian Crude Quality Technical Association Technical Report. April 2014.


Free to read

This article has been unlocked and is ready to read.


Digital Edition

Lab Asia 29.6 Dec

November 2022

In This Edition Chromatography Optimising Viral Vector Purification Strategies with Multimodal Chromatography Key UHPLC Characteristics Required for High throughput LC-MS New Low Volum...

View all digital editions


SPIE Photonex

Dec 06 2022 Birmingham, UK

CPhI & P-MEC China 2022 - NEW DATES

Dec 20 2022 Shanghai, China & Online 21 November 2022 to 13 January 2023

Smart Factory Expo 2023

Jan 25 2023 Tokyo, Japan

Arab Health

Jan 30 2023 Dubai, UAE

Nano Tech 2023

Feb 01 2023 Tokyo, Japan

View all events