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

Prediction of magnesium reduction extent and optimization of retort structure based on the machine learning (ML)

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

     

    Abstract: The intelligence of magnesium smelting equipment requires a fast and accurate digital model as the basis, and providing a digital model through "multi-field coupled numerical simulation, fast-prediction model, and then intelligent optimization design" is an important method. This article is based on the Discrete Element Method (DEM) to construct a natural and disordered stacking model, that is close to reality, of the briquette layer in the retort of magnesium production. Through single-factor numerical simulation and multi-factor 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 are obtained: (1) In response to the limitations of traditional ordered stacking models, a natural disordered stacking model of 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 heat transfer coupled the reduction reaction in the briquette layer is constructed. The natural disordered model results show a reaction time of ~10 hours which is closer to the real filed data. The simulation results also can clearly show the advancing process of reduction on the briquette layer in the retort under high temperature and vacuum conditions. (2) The 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 reaction time. This article comprehensively considers factors including the simulation results, and the magnesium production for one retort, magnesium production rate, and retort-steel’s service life, and provides the optimal range of values for each factor: briquette diameter of 20 mm-30 mm, briquette stacking layer thickness of 100 mm-140 mm, and small fluctuations around 1473 K for the retort wall temperature. (3) The results of four classic machine learning models for predicting the reduction rate of magnesium for retort show that eXtreme Gradient Boosting (XGBoost) has the highest prediction accuracy (R2=0.997) and the smallest prediction deviation for new design cases. The Random Forest (RF) model has a large prediction error (R2=0.8654) due to the low discrete values of features such as briquette stacking layer thickness in the dataset. The SHapley Additive exPlanations (SHAP) analysis of the XGBoost model shows that the thickness of the briquette stacking layer has the greatest impact on the reduction rate, followed by the temperature of the retort wall and the diameter of the briquette, while the diameter of the inner tube has the smallest impact. The application of XGBoost model can provide a reliable prediction tool for the optimization of magnesium-production retort structure and process parameters, while also compensating for the long prediction time of traditional simulation models.

     

/

返回文章
返回