基于机器学习的镁还原率预测与罐结构优化

Prediction of magnesium reduction extent and optimization of retort structure based on machine learning

  • 摘要: 镁冶炼装备的智能化需要以快速准确的数字化模型为基础,通过“多场耦合数值仿真–快速预测建模–智能优化设计”的技术路径是构建数字化模型的重要方法. 本文基于离散单元法(DEM)构建了接近实际的还原罐内物料层自然无序堆积模型,通过单因素数值仿真和多因素正交仿真设计累计获得1894条有效数据,基于该数据集完成了4种机器学习模型的训练、测试和验证,最终采用最优机器学习模型开展了新设计工况下的镁还原率预测. 单因素仿真结果表明,球团尺寸、填充层厚度和罐壁温度等因素对罐内镁还原速率影响显著,综合考虑数值计算结果及单罐产镁量、罐材使用寿命等指标,给出各因素的最佳取值范围:球团直径20~30 mm、填充层厚度100~140 mm、罐壁温度维持在1473 K小范围波动. 机器学习模型预测镁还原率的研究表明,XGBoost(eXtreme gradient boosting)的预测精度最高,且对新设计工况的预测偏差最小. 结合XGBoost模型开展的多因素SHAP(SHapley additive exPlanations)分析显示,填充层厚度对还原率影响最大,其次为罐壁温度、球团直径,内管直径影响最小. XGBoost模型能够为还原罐结构与工艺参数优化提供可的靠预测工具,同时还能解决传统仿真模型预测耗时长的问题.

     

    Abstract: The intelligence of magnesium smelting equipment requires a fast and accurate digital model as the basis. Providing a digital model through "multifield coupled numerical simulation, fast-prediction model, and intelligent optimization design" is an important method. This paper, based on the discrete element method (DEM), constructs a natural and disordered stacking model of the briquette layer in the retort of magnesium production. Through single-factor numerical simulation and multifactor orthogonal simulation design, 1894 valid data points were obtained. Then, four machine learning models were trained, tested, and validated on this dataset. Finally, the optimal machine learning model was obtained and used to predict the magnesium reduction rate under the new design conditions. The following conclusions were obtained. (1) In response to the limitations of traditional ordered stacking models, a natural disordered stacking model of the briquette layer is established based on the DEM. The free-fall motion of briquettes is simulated to obtain the true porosity and contact characteristics. The bridging treatment is used to solve the problem of grid division, and a coupled model of the heat transfer reduction reaction in the briquette layer is constructed. The natural disordered model results show a reaction time of approximately 10 h, which is closer to actual field measured data. The simulation results also show the reduction process on the briquette layer in the retort under high temperature and vacuum conditions. (2) Single factor simulation results on the disordered stacking model show that factors such as briquette size, briquette stacking layer thickness, and retort wall temperature have a significant impact on the magnesium reduction rate of the retort. Keeping other factors constant, increasing briquette size, decreasing briquette stacking layer thickness, or increasing retort wall temperature can significantly reduce the reaction time. This paper comprehensively considers factors including the simulation results, magnesium production for one retort, magnesium production rate, and the service life of retort steel. It provides the optimal range of values for each factor: briquette diameter of 20–30 mm, briquette stacking layer thickness of 100–140 mm, and small fluctuations of approximately 1473 K for the retort wall temperature. (3) The results of four classic machine learning models for predicting the reduction rate of magnesium for retorts show that eXtreme gradient boosting (XGBoost) has the highest prediction accuracy (R2 = 0.997) and smallest prediction deviation for new design cases. The random forest model had a large prediction error (R2 = 0.8654) due to the low discrete values of features such as the briquette stacking layer thickness in the dataset. The SHapley additive exPlanations analysis of the XGBoost model shows that the thickness of the briquette stacking layer had the greatest impact on the reduction rate, followed by the temperature of the retort wall and diameter of the briquette, while the diameter of the inner tube had the smallest impact. The application of the XGBoost model is a reliable prediction tool for the optimization of the magnesium-production retort structure and process parameters, while also compensating for the long prediction time of traditional simulation models.

     

/

返回文章
返回