首页|基于随机森林的输气管道压缩机流量软测量技术研究

基于随机森林的输气管道压缩机流量软测量技术研究

扫码查看
压缩机是输气管道最主要的耗能设备,其流量计量结果的准确与否直接关系到管道全线的管理水平.在现场测试实验的基础上,构建了基于随机森林的数据驱动软测量模型,采用网格搜索和交叉验证对影响模型精度的超参数进行寻优,最终构建最优预测模型,并与支持向量机(SVM)模型、朴素贝叶斯(NB)模型和经网格搜索确定超参数的支持向量机(GS-SVM)模型的预测结果进行对比.结果表明,通过基尼指数确定的燃料气消耗量和大气压力对压缩机流量的相关性较小,其变量应予以删减;当决策树的个数n为300,分裂特征数m为5时的预测效果最佳;随机森林模型的均方根误差(RMSE)、平均绝对百分比误差(MAPE)均最小,说明了随机森林模型对于压缩机流量这类复杂非线性数据集的回归效果较好,具有一定的先进性和科学性.
Study on Soft Sensing Technology of Gas Pipeline Compressor Flow Based on Random Forest
Compressor is the main energy consuming equipment of gas transportation pipeline.The accuracy of its flow measurement results is directly related to the management of the whole pipeline.On the basis of field test experiments,a data-driven soft sensing model based on random forest is constructed.The hyperparameters that affect the accuracy of the model are optimized by grid search and cross-validation.The optimal prediction model is constructed finally,and the prediction results are compared with those of SVM,NB,GS-SVM and other models.The results show that the correlation between fuel gas consumption and atmospheric pressure on compressor flow is small through Gini index,and its variables should be eliminated.When the number of decision tree n is 300,and the number of split features m is 5,the prediction effect is the best.The RMSE and MAPE of the random forest model are both the smallest,which indicates that the modelhas a good regression effect for complex nonlinear data sets such as compressor flow,and has certain advanced and scientific nature.

random forestcompressorGini indexsoft sensing modelgrid searchcross validation

孙海芳、胡天亨、马亚欣、刘忠刚、梁昌晶

展开 >

中油国际管道有限公司中哈天然气管道项目,北京 100029

四川省天宇锐集团有限公司,四川成都 610000

中国市政工程西北设计研究院有限公司,甘肃兰州 730000

中国石油华北油田公司第五采油厂,河北辛集 052360

展开 >

随机森林 压缩机 基尼指数 软测量模型 网格搜索 交叉验证

2024

石油化工自动化
中国石化集团宁波工程有限公司 全国化工自控设计技术中心站 中国石化集团公司自控设计技术中心站

石油化工自动化

影响因子:0.527
ISSN:1007-7324
年,卷(期):2024.60(1)
  • 10