Accurately predicting environmental parameters in solar greenhouses is crucial for achieving precise environmental control.In solar greenhouses,temperature,humidity,and light intensity are crucial environmental parame...Accurately predicting environmental parameters in solar greenhouses is crucial for achieving precise environmental control.In solar greenhouses,temperature,humidity,and light intensity are crucial environmental parameters.The monitoring platform collected data on the internal environment of the solar greenhouse for one year,including temperature,humidity,and light intensity.Additionally,meteorological data,comprising outdoor temperature,outdoor humidity,and outdoor light intensity,was gathered during the same time frame.The characteristics and interrelationships among these parameters were investigated by a thorough analysis.The analysis revealed that environmental parameters in solar greenhouses displayed characteristics such as temporal variability,non-linearity,and periodicity.These parameters exhibited complex coupling relationships.Notably,these characteristics and coupling relationships exhibited pronounced seasonal variations.The multi-parameter multi-step prediction model for solar greenhouse(MPMS-SGH)was introduced,aiming to accurately predict three key greenhouse environmental parameters,and the model had certain seasonal adaptability.MPMS-SGH was structured with multiple layers,including an input layer,a preprocessing layer,a feature extraction layer,and a prediction layer.The input layer was used to generate the original sequence matrix,which included indoor temperature,indoor humidity,indoor light intensity,as well as outdoor temperature and outdoor light intensity.Then the preprocessing layer normalized,decomposed,and positionally encoded the original sequence matrix.In the feature extraction layer,the time attention mechanism and frequency attention mechanism were used to extract features from the trend component and the seasonal component,respectively.Finally,the prediction layer used a multi-layer perceptron to perform multi-step prediction of indoor environmental parameters(i.e.temperature,humidity,and light intensity).The parameter selection experiment evaluated the predictive performance of MPMS-SGH on input and output sequences of different lengths.The results indicated that with a constant output sequence length,the prediction accuracy of MPMS-SGH was firstly increased and then decreased with the increase of input sequence length.Specifically,when the input sequence length was 100,MPMS-SGH had the highest prediction accuracy,with RMSE of 0.22℃,0.28%,and 250lx for temperature,humidity,and light intensity,respectively.When the length of the input sequence remained constant,as the length of the output sequence increased,the accuracy of the model in predicting the three environmental parameters was continuously decreased.When the length of the output sequence exceeded 45,the prediction accuracy of MPMS-SGH was significantly decreased.In order to achieve the best balance between model size and performance,the input sequence length of MPMS-SGH was set to be 100,while the output sequence length was set to be 35.To assess MPMS-SGH’s performance,comparative experiments with four prediction models were conducted:SVR,STL-SVR,LSTM,and STL-LSTM.The results demonstrated that MPMS-SGH surpassed all other models,achieving RMSE of 0.15℃for temperature,0.38%for humidity,and 260lx for light intensity.Additionally,sequence decomposition can contribute to enhancing MPMS-SGH’s prediction performance.To further evaluate MPMS-SGH’s capabilities,its prediction accuracy was tested across different seasons for greenhouse environmental parameters.MPMS-SGH had the highest accuracy in predicting indoor temperature and the lowest accuracy in predicting humidity.And the accuracy of MPMS-SGH in predicting environmental parameters of the solar greenhouse fluctuated with seasons.MPMS-SGH had the highest accuracy in predicting the temperature inside the greenhouse on sunny days in spring(R^(2)=0.91),the highest accuracy in predicting the humidity inside the greenhouse on sunny days in winter(R^(2)=0.83),and the highest accuracy in predicting the light intensity inside the greenhouse on cloudy days in autumm(R^(2)=0.89).MPMS-SGH had the lowest accuracy in predicting three environmental parameters in a sunny summer greenhouse.展开更多
文摘Accurately predicting environmental parameters in solar greenhouses is crucial for achieving precise environmental control.In solar greenhouses,temperature,humidity,and light intensity are crucial environmental parameters.The monitoring platform collected data on the internal environment of the solar greenhouse for one year,including temperature,humidity,and light intensity.Additionally,meteorological data,comprising outdoor temperature,outdoor humidity,and outdoor light intensity,was gathered during the same time frame.The characteristics and interrelationships among these parameters were investigated by a thorough analysis.The analysis revealed that environmental parameters in solar greenhouses displayed characteristics such as temporal variability,non-linearity,and periodicity.These parameters exhibited complex coupling relationships.Notably,these characteristics and coupling relationships exhibited pronounced seasonal variations.The multi-parameter multi-step prediction model for solar greenhouse(MPMS-SGH)was introduced,aiming to accurately predict three key greenhouse environmental parameters,and the model had certain seasonal adaptability.MPMS-SGH was structured with multiple layers,including an input layer,a preprocessing layer,a feature extraction layer,and a prediction layer.The input layer was used to generate the original sequence matrix,which included indoor temperature,indoor humidity,indoor light intensity,as well as outdoor temperature and outdoor light intensity.Then the preprocessing layer normalized,decomposed,and positionally encoded the original sequence matrix.In the feature extraction layer,the time attention mechanism and frequency attention mechanism were used to extract features from the trend component and the seasonal component,respectively.Finally,the prediction layer used a multi-layer perceptron to perform multi-step prediction of indoor environmental parameters(i.e.temperature,humidity,and light intensity).The parameter selection experiment evaluated the predictive performance of MPMS-SGH on input and output sequences of different lengths.The results indicated that with a constant output sequence length,the prediction accuracy of MPMS-SGH was firstly increased and then decreased with the increase of input sequence length.Specifically,when the input sequence length was 100,MPMS-SGH had the highest prediction accuracy,with RMSE of 0.22℃,0.28%,and 250lx for temperature,humidity,and light intensity,respectively.When the length of the input sequence remained constant,as the length of the output sequence increased,the accuracy of the model in predicting the three environmental parameters was continuously decreased.When the length of the output sequence exceeded 45,the prediction accuracy of MPMS-SGH was significantly decreased.In order to achieve the best balance between model size and performance,the input sequence length of MPMS-SGH was set to be 100,while the output sequence length was set to be 35.To assess MPMS-SGH’s performance,comparative experiments with four prediction models were conducted:SVR,STL-SVR,LSTM,and STL-LSTM.The results demonstrated that MPMS-SGH surpassed all other models,achieving RMSE of 0.15℃for temperature,0.38%for humidity,and 260lx for light intensity.Additionally,sequence decomposition can contribute to enhancing MPMS-SGH’s prediction performance.To further evaluate MPMS-SGH’s capabilities,its prediction accuracy was tested across different seasons for greenhouse environmental parameters.MPMS-SGH had the highest accuracy in predicting indoor temperature and the lowest accuracy in predicting humidity.And the accuracy of MPMS-SGH in predicting environmental parameters of the solar greenhouse fluctuated with seasons.MPMS-SGH had the highest accuracy in predicting the temperature inside the greenhouse on sunny days in spring(R^(2)=0.91),the highest accuracy in predicting the humidity inside the greenhouse on sunny days in winter(R^(2)=0.83),and the highest accuracy in predicting the light intensity inside the greenhouse on cloudy days in autumm(R^(2)=0.89).MPMS-SGH had the lowest accuracy in predicting three environmental parameters in a sunny summer greenhouse.