Multi-Step Prediction of Greenhouse Temperature and Humidity Based on Temporal Position Attention LSTM
Listed in
This article is not in any list yet, why not save it to one of your lists.Abstract
Changes in the indoor environment of greenhouses significantly impact crop production. These microclimate changes, influenced by various environmental factors, can cause fluctuations in crop yield and quality. Accurate prediction of changes in these environmental factors is essential to preventing adverse impacts. However, greenhouse interiors are multivariable coupled systems with nonlinear, hysteretic and oscillatory behavior, posing challenges for short-term predictions. Addressing this, this study proposes a novel short-term multi-step prediction model for greenhouse microclimate using Temporal Position Attention Long Short-Term Memory (TPA-LSTM) based on position encoding and time sequence. The model uses true past environmental data, including indoor and outdoor air temperature and humidity, sunlight intensity and atmospheric pressure, employing a sliding window strategy with different lengths (30 min, 1 h, 2 h, 4 h) to predict future climate changes accurately in air temperature and humidity from 30 min to 240 min. Compared with the well-known models RNN, LSTM, and GRU, the proposed model achieves higher credibility and lower errors. In the single step prediction, the model with a 2 h sliding window yielded the best results: R2 of 0.992 and RMSE of 0.715°C for air temperature, R2 of 0.983 and RMSE of 2.775% for air humidity. For multi-step predictions of 2, 4, and 8 steps, the model achieved better results than other well-known models. The results demonstrate this model has superior short-term prediction ability for greenhouse microclimate, which significantly reducing prediction errors, enhancing environmental monitoring and early warning, and promoting intelligent greenhouse development and facility agriculture.