Related Experiment Video
Updated: Oct 9, 2025

On-line Analysis of Nitrogen Containing Compounds in Complex Hydrocarbon Matrixes
Published on: August 5, 2016
Modeling of nitrogen solubility in normal alkanes using machine learning methods compared with cubic and PC-SAFT
Seyed Ali Madani1, Mohammad-Reza Mohammadi2, Saeid Atashrouz3
1Department of Chemical and Petroleum Engineering, Sharif University of Technology, Tehran, Iran.
Abstract:
Accurate prediction of the solubility of gases in hydrocarbons is a crucial factor in designing enhanced oil recovery (EOR) operations by gas injection as well as separation, and chemical reaction processes in a petroleum refinery. In this work, nitrogen (N2) solubility in normal alkanes as the major constituents of crude oil was modeled using five representative machine learning (ML) models namely gradient boosting with categorical features support (CatBoost), random forest, light gradient boosting machine (LightGBM), k-nearest neighbors (k-NN), and extreme gradient boosting (XGBoost). A large solubility databank containing 1982 data points was utilized to establish the models for predicting N2 solubility in normal alkanes as a function of pressure, temperature, and molecular weight of normal alkanes over broad ranges of operating pressure (0.0212-69.12 MPa) and temperature (91-703 K). The molecular weight range of normal alkanes was from 16 to 507 g/mol. Also, five equations of state (EOSs) including Redlich-Kwong (RK), Soave-Redlich-Kwong (SRK), Zudkevitch-Joffe (ZJ), Peng-Robinson (PR), and perturbed-chain statistical associating fluid theory (PC-SAFT) were used comparatively with the ML models to estimate N2 solubility in normal alkanes. Results revealed that the CatBoost model is the most precise model in this work with a root mean square error of 0.0147 and coefficient of determination of 0.9943. ZJ EOS also provided the best estimates for the N2 solubility in normal alkanes among the EOSs. Lastly, the results of relevancy factor analysis indicated that pressure has the greatest influence on N2 solubility in normal alkanes and the N2 solubility increases with increasing the molecular weight of normal alkanes.
Related Concept Videos
Physical Properties of Alkanes
Physical Properties Affecting Solubility
As for any solution, the solubility of a gas in a liquid is affected by the attractive intermolecular forces between solute and solvent species. Unlike solid and liquid solutes, however, there is no solute-solute intermolecular attraction to overcome when a gaseous solute dissolves in a liquid solvent since the atoms or molecules comprising a gas are far separated and experience negligible interactions. Consequently, solute-solvent interactions are the sole...
Entropy and Solvation
Molecular Comparison of Gases, Liquids, and Solids
Chemical and Solubility Equilibria
Combustion Energy: A Measure of Stability in Alkanes and Cycloalkanes
Alkanes undergo combustion in the presence of excess oxygen and high-temperature conditions to give carbon dioxide and water. A combustion reaction is the energy source in natural gas, liquified...

