Asphaltene Characterization
Documentation for asphaltene modeling using SARA analysis in NeqSim.
Table of Contents
- Overview
- SARA Analysis
- Colloidal Instability Index
- AsphalteneCharacterization Class
- CPA Parameters
- Usage Examples
- De Boer Screening
Overview
Package: neqsim.thermo.characterization
Asphaltene precipitation is a critical flow assurance issue that can cause:
- Well bore plugging
- Pipeline blockages
- Separator fouling
- Production downtime
NeqSim provides tools for characterizing asphaltene content and predicting precipitation using thermodynamic models (primarily CPA).
Key Classes
| Class | Description |
|---|---|
AsphalteneCharacterization |
SARA-based characterization |
PedersenAsphalteneCharacterization |
Pedersen’s correlation approach |
Pedersen asphaltene properties
PedersenAsphalteneCharacterization calculates its own critical temperature, critical
pressure and acentric factor. Both single-component and distributed-asphaltene addition pass
those values through the explicit-property addTBPfraction overload and retain each
asphaltene component’s independently calculated normal boiling point. This route remains
available for cuts above 1120 g/mol because it does not estimate their critical properties
with the rejected generic Pedersen heavy-oil TBP branch; see
TBP Fraction Models for that boundary.
The asphaltene correlations remain empirical. Calibrate their inputs and binary interaction parameters against representative density, phase-equilibrium and precipitation measurements; this separate property pathway does not validate the generic heavy-oil correlations or establish accuracy outside the asphaltene model’s qualified range.
SARA Analysis
What is SARA?
SARA analysis separates crude oil into four fractions:
| Fraction | Description | Characteristics |
|---|---|---|
| Saturates | Alkanes (linear, branched, cyclic) | Non-polar, lightest |
| Aromatics | Aromatic rings | Moderately polar |
| Resins | Polar aromatics with heteroatoms | Stabilize asphaltenes |
| Asphaltenes | Large polyaromatic molecules | Heaviest, most polar |
SARA Fraction Properties
| Property | Saturates | Aromatics | Resins | Asphaltenes |
|---|---|---|---|---|
| MW (g/mol) | 300-600 | 300-800 | 500-1200 | 1000-10000 |
| H/C ratio | ~2.0 | 1.0-1.5 | 1.0-1.4 | 0.9-1.2 |
| Polarity | Non-polar | Low | Medium | High |
| Solubility | n-alkanes | Toluene | Toluene | Toluene |
Colloidal Instability Index
Definition
The Colloidal Instability Index (CII) predicts asphaltene stability:
\[CII = \frac{Saturates + Asphaltenes}{Aromatics + Resins}\]Stability Criteria
| CII Value | Stability | Risk |
|---|---|---|
| < 0.7 | Stable | Low precipitation risk |
| 0.7 - 0.9 | Metastable | Moderate risk |
| > 0.9 | Unstable | High precipitation risk |
Physical Interpretation
- Resins stabilize asphaltenes by forming a solvation shell
- Aromatics provide a favorable solvent environment
- Saturates are poor solvents for asphaltenes
- High CII indicates insufficient stabilization
AsphalteneCharacterization Class
Creating a Characterization
Use the constructor when all four SARA mass fractions are known. They must sum to 1.0 within the class tolerance. For a reusable object, update all fractions together so validation is applied to the complete assay.
import neqsim.thermo.characterization.AsphalteneCharacterization;
AsphalteneCharacterization asphChar =
new AsphalteneCharacterization(0.45, 0.30, 0.20, 0.05);
AsphalteneCharacterization reusable = new AsphalteneCharacterization();
reusable.setSARAFractions(0.45, 0.30, 0.20, 0.05);
Calculating Stability Indices
double cii = asphChar.getColloidalInstabilityIndex();
double resinToAsphaltene = asphChar.getResinToAsphalteneRatio();
String assessment = asphChar.evaluateStability();
The CII and resin-to-asphaltene ratio are screening quantities derived from the supplied SARA assay. The returned assessment applies the current class thresholds; it is not a calibrated precipitation-onset or deposition prediction.
Setting C7+ Properties
Set the C7+ molecular weight in g/mol and density in kg/m3 together before requesting the correlation estimates.
asphChar.setC7plusProperties(350.0, 850.0);
double estimatedAsphalteneMw = asphChar.estimateAsphalteneMolecularWeight();
double estimatedResinMw = asphChar.estimateResinMolecularWeight();
CPA Parameters
Asphaltene Association Parameters
The characterization object exposes the asphaltene and resin molecular weights plus the asphaltene self-association and the asphaltene-resin cross-association parameters. Energies are in J/mol (the unit NeqSim’s CPA uses); volumes are dimensionless.
asphChar.setMwAsphaltene(1700.0); // an explicit value is never replaced by the C7+ estimate
asphChar.setMwResin(800.0);
asphChar.setAsphalteneAssociationEnergy(3500.0);
asphChar.setAsphalteneAssociationVolume(0.005); // default, matches the component database
asphChar.setResinAsphalteneAssociationEnergy(2500.0); // asphaltene-resin cross-association
asphChar.setResinSelfAssociationEnergy(0.0); // default: resins do not self-associate
double epsilon = asphChar.getAsphalteneAssociationEnergy();
double kappa = asphChar.getAsphalteneAssociationVolume();
addAsphalteneComponents(system, totalC7plusMoles) requires setC7plusProperties(...) first
(IllegalStateException otherwise; earlier versions silently added nothing). It adds:
- the database component
asphaltene(CPA scheme 1A) with the molecular weight and association parameters above, set in every allocated phase; - a resin TBP pseudo-component
Resin_PC, with critical properties from the Pedersen heavy-fraction correlations at the resin molecular weight andsetResinDensity(...)(default 1.0 g/cm3). Earlier versions calledaddComponent("resin", ...), which is not a database component.
In an SRK-CPA fluid the resin gets a 2B association scheme. NeqSim’s site-charge rules let only its positive site bond to the asphaltene’s single 1A site, and with zero self-association energy the resin bonds only to asphaltene, as in Li and Firoozabadi (2010). The bond strength is the cross-association, which is set after the mixing rule:
asphChar.setC7plusProperties(300.0, 900.0);
asphChar.addAsphalteneComponents(fluid, 0.1);
fluid.setMixingRule(10);
asphChar.applyCrossAssociation(fluid); // after every setMixingRule call
applyCrossAssociation uses PhaseCPAInterface.setCrossAssociationParameters(i, j, energy, volume),
which switches the pair from the default Elliott rule (sqrt(Delta_ii Delta_jj), zero when one
component does not self-associate) to explicit cross parameters. Setting the mixing rule again resets
them. Treat the default values as starting points and qualify or fit them against representative onset
or precipitation data before engineering use.
Usage Examples
Complete SARA Screening Workflow
import neqsim.thermo.characterization.AsphalteneCharacterization;
public final class AsphalteneCharacterizationExample {
private AsphalteneCharacterizationExample() {
}
public static void main(String[] args) {
AsphalteneCharacterization characterization =
new AsphalteneCharacterization(0.42, 0.32, 0.22, 0.04);
characterization.setC7plusProperties(380.0, 870.0);
double cii = characterization.getColloidalInstabilityIndex();
if (!Double.isFinite(cii) || Math.abs(cii - 0.8518518518518519) > 1.0e-12) {
throw new IllegalStateException("Unexpected colloidal instability index");
}
double resinToAsphaltene = characterization.getResinToAsphalteneRatio();
if (!Double.isFinite(resinToAsphaltene)
|| Math.abs(resinToAsphaltene - 5.5) > 1.0e-12) {
throw new IllegalStateException("Unexpected resin-to-asphaltene ratio");
}
double asphalteneMw = characterization.estimateAsphalteneMolecularWeight();
double resinMw = characterization.estimateResinMolecularWeight();
if (!Double.isFinite(asphalteneMw)
|| Math.abs(asphalteneMw - 2793.0) > 1.0e-9
|| !Double.isFinite(resinMw)
|| Math.abs(resinMw - 1396.5) > 1.0e-9) {
throw new IllegalStateException("Unexpected C7+ correlation estimate");
}
String assessment = characterization.evaluateStability();
if (!assessment.contains("MODERATE RISK")
|| !assessment.contains("good peptization")) {
throw new IllegalStateException("Unexpected screening classification");
}
}
}
The example is an executable SARA screening contract. It demonstrates current API names, units,
correlation output, and classification thresholds without interpreting a generic thermodynamic
solid phase as asphaltene.
Pressure Depletion and Gas Injection
A generic TP flash does not by itself establish an asphaltene phase, precipitation amount, or onset pressure. Pressure-depletion and gas-injection studies require a configured asphaltene model, fluid-specific pseudo-components or CPA parameters, and calibration against representative experimental data. Continue with the asphaltene modeling guide, CPA calculations, and parameter fitting.
De Boer Screening
Use the dedicated De Boer screening guide and its executable example rather than copying threshold logic into an application. De Boer is an empirical screening method; it does not replace fluid-specific onset or deposition qualification.
Best Practices
SARA Data Quality
- Laboratory method: Ensure consistent SARA analysis method (ASTM D2007, ASTM D4124)
- Sample handling: Prevent oxidation and evaporation
- Reproducibility: Use average of multiple analyses
Model Tuning
- Onset pressure: Tune association parameters to match experimental onset
- Amount precipitated: Validate against filtration experiments
- Temperature dependence: Check stability at multiple temperatures
Operational Recommendations
| CII Range | Recommendation |
|---|---|
| < 0.7 | Standard operations |
| 0.7-0.9 | Regular monitoring, consider inhibitors |
| > 0.9 | Inhibitor treatment, pressure management |
See Also
- Wax Characterization - Wax modeling
- Flow Assurance - Complete guide
- Electrolyte CPA - CPA model details