基于机器学习的离心泵气液两相压升预测

    Prediction of gas-liquid two-phase pressure increment of a centrifugal pump based on machine learning

    • 摘要: 针对离心泵气液两相压升难以准确预测的问题,该研究构建了基于机器学习的离心泵压升预测模型。通过试验获得入口体积含气率、转速和液相流量对离心泵两相压升性能的影响规律,建立气液两相运行条件下离心泵性能基础数据库。根据试验结果,确定以入口体积含气率、转速和液相流量作为输入特征,构建基于线性回归、BP神经网络、支持向量机和随机森林的4种机器学习模型。研究结果表明随机森林预测能力最优,尤其是对于泵喘振区域附近性能的预测,其更能反映出压升的变化趋势,与其他3种模型相比具有更强的预测能力。在总数据集上,随机森林模型所预测压升的平均相对误差、均方根误差和决定系数分别为3.51%、1.06 kPa和0.993,置信水平为94.44%条件下,相对误差不超过±15%。基于随机森林的离心泵气液两相性能预测模型能较好地预测离心泵的两相压升,可为离心泵设计和选型提供参考。

       

      Abstract: Abstract: An accurate and real-time prediction has been urgently required for the pressure increment performance of centrifugal pumps under gas-liquid conditions during transportation. However, there is no appropriate prediction model for the pressure increment of the centrifugal pump at present, due to the complex gas-liquid flow. Machine learning can be widely expected to serve as a new idea for the performance prediction of centrifugal pumps. In this study, a machine learning model and database were established to investigate the effects of the inlet gas volume fraction, the rotational speed, and the liquid flow rate on the two-phase pressure increment performance of the pump. The results show that the inlet gas volume fraction was a direct factor for the deterioration of pump performance. The pump rotational speed and the liquid flow rate were greatly contributed to the improved performance of pump pressure increment. Three parameters were employed as the input features. The 234 sets of sample points from the experiment were divided into the training set (187 sample points) and test set (47 sample points) with the ratio of 8:2. Four models were constructed after pre-processing the data using Linear Regression (LR), BP Neural Network (BPNN), Support Vector Machine (SVM), and Random Forest (RF). The minimum Mean Square Error (MSE) was used to determine the optimal higher-order term regression function of the LR model, the optimal number of iterations, and the number of hidden layer neurons in BPNN. The grid search and 10-fold cross-validation were used to determine the optimal penalty coefficients and kernel parameters of the SVM, the optimal number of decision trees, and the minimum number of samples on leaf nodes in RF. Then, the Mean Relative Error (MRE), the Root Mean Square Error (RMSE), the determination coefficient (R2), and the confidence level were introduced as the evaluation indexes. The prediction ability of different models was evaluated on the training, the test, and the total data set. The results show that the RF model presented the best ability to predict the pressure increment of the pump, followed by the SVM, the BPNN, and the LR model. In the total data set, the MRE, RMSE, and R2 of the predicted pressure increment by RF model were 3.51%, 1.06 kPa, and 0.993, respectively, and the relative error was no more than ±15% under the confidence level of 94.44%. The LR, BPNN, and SVM model failed to represent the characteristics of pump pressure increment, while the RF model performed better to characterize this trend near the pump surging region. It also needed to improve the pressure increment prediction of the RF model around the surging region under a small liquid flow rate. In addition, the importance of input parameters was also evaluated on the pressure increment by RF. Consequently, the rotational speed was the most important parameter on the pressure increment with a value of 52.67%, followed by the inlet gas volume fraction, and the liquid flow rate with 45.41% and 1.92%, respectively. Therefore, the gas-liquid two-phase performance prediction model using RF can be widely expected to better predict the two-phase pressure increment of centrifugal pump. The finding can also provide a strong reference for the design and selection of the centrifugal pump.

       

    /

    返回文章
    返回