Answers are grounded in this paper and cite their sources.
Comparative analysis shows XGBoost's superior accuracy for wax deposition in petroleum fluids, indicating the value of machine learning in flow assurance.
Wax deposition in petroleum pipelines presents a significant flow assurance challenge, requiring accurate predictive models to optimize mitigation strategies. This study systematically evaluates three machine learning approaches, random forest, extreme gradient boosting (XGBoost), and physics-informed neural networks (PINNs), for wax deposition prediction using comprehensive fluid compositional and thermodynamic data. A curated dataset of 88 experimentally measured samples was used, including detailed hydrocarbon composition (from C1 to C30+), temperature, pressure, and observed wax deposition percentages. Key thermodynamic descriptors such as the weighted average carbon number and long-chain hydrocarbon ratio were engineered to capture relevant physical behavior. Through comparative performance analysis, uncertainty quantification, and interpretability diagnostics, we demonstrate that XGBoost achieves superior predictive accuracy [R2 = 0.813–0.957; mean absolute error = 0.095–0.258] while maintaining robust generalization capabilities. The model's gradient-boosting architecture effectively captures nonlinear relationships between critical factors, including temperature and hydrocarbon fractions (C1–C3, C8–C15, and C16–C22), and wax deposition behavior. Partial dependence and SHAP (SHapley Additive exPlanations) analyses reveal physically interpretable patterns: temperature dominates as an inverse predictor, while mid-range hydrocarbons (C8–C15) exhibit inhibitory effects. Beyond accuracy, this study addresses critical gaps in the existing literature by incorporating uncertainty quantification via bootstrap resampling and model explainability using SHAP. Unlike previous efforts that relied on point prediction or lacked physical integration, this work demonstrates how hybrid data-physics modeling can enhance robustness and decision confidence. Although PINNs incorporate valuable thermodynamic constraints, they underperform data-driven models due to systematic biases in balancing physical priors with empirical learning. Bootstrap uncertainty analysis confirms XGBoost's operational reliability, with well-calibrated prediction intervals across diverse scenarios. These findings establish XGBoost as the preferred method for industrial wax prediction, while highlighting opportunities for hybrid physics-informed machine learning approaches. The study provides both practical guidelines for pipeline management and a framework for integrating domain knowledge into predictive modeling of wax deposition.
No takes yet. Share an insight, caveat, or question.
Mohammad Ali Ahmadi (2025) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: