AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (978.6 KB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese

Predicting greenhouse air temperature using LSTM-AT

Guanshan ZHANG1,2Xiaoming DING1,3Fen HE1,3Yilei YIN1,3Tianhua LI2Ji'ao REN2Junyi ZHOU2Fei QI1,3( )
Academy of Agricultural Planning and Engineering, Ministry of Agriculture and Rural Affairs, Beijing 100125, China
College of Mechanical and Electronic Engineering, Shandong Agricultural University, Tai’an 271018, China
Key Laboratory of Farm Building in Structure and Intelligent Construction, Ministry of Agriculture and Rural Affairs, Beijing 100125, China
Show Author Information

Abstract

An accurate prediction model of greenhouse air temperature can be required for the greenhouse environment control using control algorithm, such as model predictive control. Long short-term memory neural networks (LSTM) have been widely used to predict time series data, such as air temperature. However, the prediction accuracy of LSTM can be reduced for the long time series data, due to data forgetting. In this study, the LSTM model was combined with the attention mechanism to construct the LSTM-AT model. The query vector, key vector, and value vector were calculated, according to attention mechanism and output states of LSTM’s hidden layer. The similarity between the query and key vector was calculated to obtain the similarity score. Softmax function was used to obtain attention distribution for the normalization processing. The larger the attention value was, the higher the relevance of input information to the task objective was. The dot product operation was carried out with the normalized weight and value vector to obtain the output of the attention mechanism. The local information integration and data dimension transformation were carried out through the full connection layer. Finally, the output data was obtained in the output layer of the LSTM-AT model. The weights were assigned to the output states of LSTM’s hidden layer, according to the degree of importance. The forgetting of long time series data was effectively solved to improve the prediction accuracy of indoor air temperature. The prediction performances were verified and compared on the LSTM-AT, LSTM, recurrent neural network (RNN), gated recurrent unit (GRU), and bi-directional long short-term memory (BiLSTM) model in the different prediction horizons (12, 24 and 48 h). The results showed that the prediction accuracy of the five models shared a decreasing trend with the increase in prediction time. The maximum and minimum RMSE for the LSTM-AT model were 1.34 and 0.59 ℃, respectively. The maximum and minimum RMSE for the rest four models were 3.37 and 0.66 ℃, respectively. The maximum and minimum MAPE for the LSTM-AT model were 8.14% and 2.48%, respectively. The maximum and minimum MAPE for the rest four models were 38.7% and 2.90%, respectively. The average RMSE for LSTM-AT, LSTM, GRU, RNN, and BiLSTM were 0.89, 1.42, 1.89, 2.10, and 1.51 ℃, respectively. The average MAPE for LSTM-AT, LSTM, GRU, RNN, and BiLSTM were 4.26%, 8.96%, 13.57%, 17.70%, and 10.67%, respectively. The sort data of the prediction model was ranked in descending order of the LSTM-AT, LSTM, BiLSTM, GRU, and RNN. Therefore, the prediction accuracy of the LSTM-AT model was higher than that of rest four models. The prediction performances of the LSTM-AT and LSTM model were compared under different weather conditions (sunny, cloudy, and rainy), in order to further explore the universality of the LSTM-AT model. The minimum and maximum RMSE for LSTM-AT were 0.26 and 0.70 ℃, respectively. The minimum and maximum RMSE for LSTM were 0.68 and 1.57 ℃, respectively. The minimum and maximum MAPE for LSTM-AT were 1.61% and 10.51%, respectively. The minimum and maximum MAPE for LSTM were 4.27% and 25.07%, respectively. The prediction accuracy of the LSTM-AT model was higher than LSTM in all weather conditions. The LSTM-AT model has a higher prediction accuracy to accurately predict the indoor air temperature.

CLC number: S24 Document code: A

References

【1】
【1】
 
 
Transactions of the Chinese Society of Agricultural Engineering
Pages 194-201

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
ZHANG G, DING X, HE F, et al. Predicting greenhouse air temperature using LSTM-AT. Transactions of the Chinese Society of Agricultural Engineering, 2024, 40(18): 194-201. https://doi.org/10.11975/j.issn.1002-6819.202404199

1628

Views

25

Downloads

0

Crossref

0

Web of Science

22

Scopus

Received: 03 February 2024
Revised: 19 June 2024
Published: 30 September 2024
© Chinese Society of Agricultural Engineering 2024