摘要:
炼化企业生产工艺流程复杂且装置繁多,污水水质和水量波动大,下游响应调控滞后,水质超标问题难以避免,亟需构建高效水质预测模型。以广东省某炼化企业2023年全年监测池出水水质数据为基础,构建水质预测模型。结果表明:插值算法可以实现对炼化污水缺失数据的有效填充;出水硫化物(HS)、总氮(TN)、总有机碳(TOC)、五日生化需氧量(BOD5)、pH与化学需氧量(COD)未表现出明显的相关性,多参数预测模型无法捕获数据特征;选用反向传播-神经网络(BP-NN)与支持向量回归机(SVR)为基础算法构建的时间序列预测模型可以大幅提高预测准确性,变异粒子群算法(MPSO)可以实现对BP-NN权值、阈值以及SVR惩罚因子c和核函数参数g的显著优化;MPSO-BP-NN模型在测试集中对COD的预测精度最高,决定系数(R 2)和相关系数(r)分别为0.81和0.89,MAE、RMSE、MBE和MAPE分别为1.10 mg/L、1.63 mg/L、-0.25 mg/L和2.58%;现场验证结果表明MPSO-BP-NN模型有较好的稳定性和泛化能力,可以显著提升预测水质数据的时效性,为炼化污水处理系统上游工艺参数的调控提供理论指导,保障系统长周期平稳运行。
关键词:
炼化污水,
水质预测,
相关性分析,
机器学习,
算法优化
Abstract:
The production processes in petrochemical enterprises are characterized by intricate workflows and numerous installations, leading to significant fluctuations in wastewater quality and volume. Downstream response regulation often suffers from delays, making it challenging to prevent the exceeding of water quality. There is an urgent need to establish an efficient water quality prediction model. This study developed a predictive model based on annual 2023 effluent water quality data from the monitoring tank of a petrochemical enterprise in Guangdong Province. The results demonstrated that interpolation algorithms effectively imputed missing data in petrochemical wastewater. Effluent parameters, including hydrogen sulfide (HS), total nitrogen (TN), total organic carbon (TOC), five-day biochemical oxygen demand (BOD5), pH, and chemical oxygen demand (COD), exhibited no significant correlations, rendering multi-parameter prediction models ineffective in capturing data characteristics. Time-series models constructed using backpropagation neural networks (BP-NN) and support vector regression (SVR) as foundational algorithms significantly improved prediction accuracy. Modified particle swarm optimization (MPSO) effectively optimized the weights and thresholds of BP-NN, as well as the penalty factor (c) and kernel function parameter (g) of SVR. The MPSO-BP-NN model achieved the highest prediction accuracy for COD in the test set, with a coefficient of determination (R²) of 0.81 and a correlation coefficient (r) of 0.89. The mean absolute error (MAE), root mean square error (RMSE), mean bias error (MBE), and mean absolute percentage error (MAPE) were 1.10 mg/L, 1.63 mg/L, -0.25 mg/L, and 2.58%, respectively. Field validation confirmed the robustness and generalization capability of the model, with significantly enhanced the timeliness of water quality predictions. This model provides theoretical guidance for optimizing upstream process parameters and ensuring long-term stable operation in petrochemical wastewater treatment systems.
Key words:
refining wastewater,
water quality prediction,
correlation analysis,
machine learning,
algorithm optimization
中图分类号:
陈霖, 刘浩威, 王庆宏, 冯光明, 詹亚力, 王强, 陈春茂. 基于机器学习算法的炼化污水厂出水水质预测模型研究[J]. 工业水处理, 2025, 45(7): 81-93.
Lin CHEN, Haowei LIU, Qinghong WANG, Guangming FENG, Yali ZHAN, Qiang WANG, Chunmao CHEN. Research on the prediction model of effluent quality in petrochemical industries wastewater treatment plants based on optimized machine learning algorithms[J]. Industrial Water Treatment, 2025, 45(7): 81-93.