基于数据-物理混合模型的菇房空调节能控制方法

    Energy-saving control method of air conditioning in mushroom house based on data - physics mixed model

    • 摘要: 针对模型预测控制在菇房节能控制中存在纯数据驱动温度预测模型可解释性差、优化求解速度慢等问题,该研究提出了一种基于数据-物理混合模型的菇房空调节能控制方法。首先,使用门控循环单元神经网络(gated recurrent unit neural network, GRU)与注意力机制(attention)作为预测模型,将菇房内部热平衡方程纳入损失函数中,实现基于数据-物理混合模型的菇房温度预测方法。然后,基于模型输出与参考轨迹的偏离程度和设备控制量建立目标函数。最后,利用改进型Adam算法快速地求解出空调在控制时域内的最优控制序列,实现菇房空调能耗最优控制。试验结果表明:与纯数据驱动的GRU模型相比,本文所提出的菇房温度预测模型,预测精度提高18%,均方根误差可控制在0.10 ℃内。与自适应矩估计(adaptive moment estimation,Adam)优化算法相比,改进型Adam算法适应度值降低6%,与带精英策略的快速非支配排序遗传算法相比(non-dominated sorting genetic algorithm Ⅱ, NSGA-Ⅱ)运算时长减少81%。与传统的阈值控制方法相比,本文所提出的模型预测控制方法跟踪精度提高63%,控制精度的均方根误差平均降低了73%,空调能耗平均降低了12%。该研究为菇房空调的节能控制提供了有效的控制方法。

       

      Abstract: The data-driven model predictive control (MPC) has been widely applied in the field of energy-saving control. However, the low interpretability and speed of optimization often occur on the pure MPC of temperature in the energy-saving control system. In this study, a data-physics mixed model was proposed for the air conditioning energy-saving control system in mushroom houses. Firstly, a basic prediction model was established to combine the gated recurrent unit (GRU) neural network with the attention mechanism. Some influencing factors were considered, such as heat transfer from fresh air, heat dissipation from mushroom respiration, radiant heat from envelope structures, and air conditioning cooling. The internal thermal balance equation of the mushroom house was incorporated into the physical loss term, along with the data loss term between the predicted and actual temperatures. The loss function was then formed. The prediction model and the loss function together formed a special gray-box prediction model. Temperature prediction was implemented on the mushroom house using a data-physical hybrid model. Then, a target function was established to consider the deviation among the predicted temperature. The reference trajectory was taken as the prediction accuracy term, while the air conditioning operation time was taken as the energy consumption term. Finally, an improved Adam algorithm was developed to integrate the "belief" and the "look-ahead" mechanisms, according to the basic Adam algorithm. The target function was rapidly obtained in the optimal control sequence for the air conditioner over the control time domain. The first control value in the sequence was applied to the air conditioning system. Thus the optimal control was achieved to simultaneously consider both accuracy and energy consumption for the air conditioning system in the mushroom house. Experimental results showed that the temperature prediction model with the data-physical hybrid outperformed the various previous models. The accuracy of prediction was improved by 18%, compared with the pure data-driven GRU model, while the root mean square error (RMSE) was controlled within 0.10 °C, and the model training time was only 16 s. The fitness value of the improved Adam algorithm was 0.751, with a computation time of 47 s. A comparative analysis with various optimization algorithms showed that the fitness value decreased by 6%, compared with the Adam optimization algorithm, while the computation time was reduced by 81%, compared with the elitist fast non-dominated sorting genetic algorithm (NSGA-II). Compared with the traditional threshold control, the air conditioning model adapted the best to the flexible changes in the reference trajectory. The control input was adjusted in advance using a unique prediction mechanism, indicating the better tracking performance of the reference trajectory. The tracking accuracy was improved by 63% during a 5-day simulation experiment. The control accuracy RMSE was reduced by an average of 73% and the energy consumption of air conditioning was reduced by an average of 12%. The energy-saving control model enhanced the interpretability of the prediction. The computation speed was also improved with the high solution accuracy of the rolling optimization. The high robustness was used to change the control parameters. As such, precise temperature and energy-saving control were achieved in the mushroom house. The finding can also provide a strong reference for the energy-saving control system in industrialized mushroom cultivation.

       

    /

    返回文章
    返回