Generating key points…
Answers are grounded in this paper and cite their sources.
Given the complex influent composition and variability in operating conditions, reliable predictive tools are essential for maintaining regulatory compliance in refinery wastewater treatment systems. This study developed a hybrid mechanistic–machine learning framework to estimate effluent chemical oxygen demand (COD) and facilitate refinery wastewater management. The framework was validated using 2,192 operational records obtained from a full-scale refinery effluent treatment plant in Kuwait between 2022 and 2024. The contribution of this framework lies not in introducing hybrid modeling as a general concept, but in integrating an auditable low-complexity mechanistic baseline, residual XGBoost learning, chronological independent validation, uncertainty assessment, SHAP-based operational interpretation, and seasonal compliance-risk analysis within a full-scale refinery wastewater application. The mechanistic component represented baseline biological degradation using hydraulic retention time and temperature adjustment, while XGBoost accounted for nonlinear residual variability using influent and operational factors. To prevent information leakage, final-effluent COD was excluded from all predictors and used only as the response variable. The standalone mechanistic model outperformed all standalone machine-learning models evaluated, indicating the value of incorporating physically meaningful treatment-process information for this dataset. The hybrid framework achieved the highest predictive performance on the independent test dataset, with R² = 0.894, RMSE = 3.00 mg/L, and MAE = 2.40 mg/L, representing a 50.8% reduction in RMSE relative to ANN, the strongest standalone machine-learning model. The model also demonstrated nonlinear operational responses linked to hydraulic stress, oxygen deficiency, clarifier instability, and increased organic loading. The proposed framework provides an accurate and interpretable approach for predicting refinery wastewater compliance and supporting operational decisions. The framework was developed and chronologically validated at a single refinery wastewater treatment facility; transfer to other facilities requires recalibration and independent external validation.
No takes yet. Share an insight, caveat, or question.
Al-Mutairi et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: