Mineral scale deposition remains a major flow-assurance constraint in oil and gas operations, especially in water-flooding and produced-water reinjection, where mixing between incompatible brines promotes super-saturation and precipitation of poorly soluble salts. This work introduces a novel extension of traditional methods used for modeling chemical inhibition and the predictive evaluation of oilfield scale-inhibitor molecules. A systematically optimized Two-Dimensional Quantitative Structure–Activity Relationship Model based on the k-Nearest Neighbors algorithm 2D-QSAR-KNN model was developed to quantitatively link molecular constitution of phosphonate inhibitors, brine chemistry, and operating factors with inhibition efficiency IE %. The optimized model achieved strong accuracy and generalization R2train = 0.9182, R2test = 0.9306, and R2global = 0.9208 with low prediction errors RMSEtrain = 4.7888%, RMSEtest = 4.5485%, and RMSEglobal = 4.7421%. Median absolute errors remained minimal for the train set = 0.80%, and test set = 1.63%, and model stability was confirmed by high correlation with experimental IE % r = 0.94 and R2train/R2test ≈ 0.99, showing no sign of overfitting. Additionally, an inverse-2D-QSAR framework was applied to identify the optimal molecular descriptor profile expected to maximize inhibitory performance within normalized bounds, providing rational rules for next-generation inhibitor design. The findings highlight the practical value of QSAR-inspired AI modeling to accelerate molecule screening and dosage exploration prior to laboratory validation, supporting more cost-effective, interpretable, and environmentally aware sulfate-scale inhibition strategies under high-salinity reservoir conditions.
Belkacem et al. (Thu,) studied this question.