Citation: | ZHU Jiaming, SUN Bin, PU Shihua, et al. Prediction model of temperature and humidity in pig barn based on multi-environmental factors analysis[J]. Journal of South China Agricultural University, 2024, 45(5): 709-721. DOI: 10.7671/j.issn.1001-411X.202405017 |
To address the significant fluctuations in temperature and humidity within enclosed pig barns caused by the lag in environmental control equipment regulation, an appropriate multi-element time series temperature and humidity prediction model is proposed.
Pearson correlation analysis was employed to determine the correlation among the 12 environmental factors collected, thereby preliminarily selecting the input features for the model. The selected input features were normalized to eliminate the influence of data scale. DDGCRN, long short-term memory network, support vector regression, and random forest models were chosen. The model prediction results were validated, and the best-performing model was selected.
The input features of the temperature and humidity prediction model were determined. Through comparative verification, the DDGCRN model demonstrated the highest prediction accuracy. It exhibited an average absolute error of 0.079 and 0.458 for temperature and humidity predictions respectively, with a root mean square error of 0.134 and 0.719, and an average absolute percentage error of 0.392% and 0.675%. The comparative analysis of model input configurations revealed that an excessive number of input features might not improve the predictive ability of the model and could potentially decrease it. Additionally, different types of models and different prediction targets required different suitable input features.
The use of the DDGCRN temperature and humidity prediction model can provide early warning of temperature and humidity changes within the barns, thereby offering valuable insights for precise control of temperature and humidity in breeding environment.
[1] |
谢秋菊, 郑萍, 包军, 等. 基于深度学习的密闭式猪舍内温湿度预测模型[J]. 农业机械学报, 2020, 51(10): 353-361. doi: 10.6041/j.issn.1000-1298.2020.10.040
|
[2] |
DRUMMOND J G, CURTIS S E, SIMON J, et al. Effects of aerial ammonia on growth and health of young pigs[J]. Journal of Animal Science, 1980, 50(6): 1085-1091. doi: 10.2527/jas1980.5061085x
|
[3] |
陈强. 基于PLC和组态王的猪舍环境控制系统开发与应用[D]. 扬州: 扬州大学, 2020.
|
[4] |
DE SOUZA GRANJA BARROS J, ROSSI L A, MENEZES DE SOUZA Z, et al. PID temperature controller in pig nursery: Spatial characterization of thermal environment[J]. International Journal of Biometeorology, 2018, 62(5): 773-781. doi: 10.1007/s00484-017-1479-x
|
[5] |
杨洪涛, 于晓周, 沈梅, 等. 基于ISSA-PID试验箱温度控制算法的研究[J]. 环境技术, 2023, 41(9): 140-147. doi: 10.3969/j.issn.1004-7204.2023.09.034
|
[6] |
CRAWLEY D B, HAND J W, KUMMERT M, et al. Contrasting the capabilities of building energy performance simulation programs[J]. Building and Environment, 2008, 43(4): 661-673. doi: 10.1016/j.buildenv.2006.10.027
|
[7] |
BAI Z, GUO D, LI S, et al. Analysis of temperature and humidity field in a new bulk tobacco curing barn based on CFD[J]. Sensors, 2017, 17(2): 279. doi: 10.3390/s17020279
|
[8] |
ALBATAYNEH A, ALTERMAN D, PAGE A W, et al. Warming issues associated with the long term simulation of housing using CFD analysis[J]. Journal of Green Building, 2016, 11(2): 57-74. doi: 10.3992/jgb.11.2.57.1
|
[9] |
KRAMERR, VAN SCHIJNDEL J, SCHELLEN H. Simplified thermal and hygric building models: A literature review[J]. Frontiers of Architectural Research, 2012, 1(4): 318-325. doi: 10.1016/j.foar.2012.09.001
|
[10] |
RUIZ L G B, CUELLAR M P, CALVO-FLORES M, et al. An application of non-linear autoregressive neural networks to predict energy consumption in public buildings[J]. Energies, 2016, 9(9): 684. doi: 10.3390/en9090684
|
[11] |
DELCROIX B, LE NY J, BERNIER M, et al. Autoregressive neural networks with exogenous variables for indoor temperature prediction in buildings[J]. Building Simulation, 2021, 14(1): 165-178. doi: 10.1007/s12273-019-0597-2
|
[12] |
KUMARS S, KUMAR A, AGARWAL S, et al. Forecasting indoor temperature for smart buildings with ARIMA, SARIMAX, and LSTM: A fusion approach[C]//2022 9th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI). Jakarta, Indonesia: IEEE, 2022: 186-192.
|
[13] |
GREFF K, SRIVASTAVAR K, KOUTNIK J, et al. LSTM: A search space odyssey[J]. IEEE Transactions on Neural Networks and Learning Systems, 2017, 28(10): 2222-2232. doi: 10.1109/TNNLS.2016.2582924
|
[14] |
CHO K, VAN M B, BAHDANAU D, et al. On the properties of neural machine translation: Encoder-decoder approaches[J]. arXiv: 1409.1259, 2014. https://arxiv.org/abs/1409.1259.
|
[15] |
VASWANI A, SHAZEER N, PARMAR N, et al. Attention is all you need[J]. Advances in Neural Information Processing Systems, 2017, 30: 5998-6008.
|
[16] |
KIPFT N, WELLING M. Semi-supervised classification with graph convolutional networks[J]. arXiv: 1609.02907, 2016. https://arxiv.org/abs/1609.02907.
|
[17] |
SHI X, CHEN Z, WANG H, et al. Convolutional LSTM network: A machine learning approach for precipitation nowc asting[J]. Advances in Neural Information Processing Systems, 2015, 28: 802-810.
|
[18] |
ZHANG J, CHEN F, CUI Z, et al. Deep learning architecture for short-term passenger flow forecasting in urban rail transit[J]. IEEE Transactions on Intelligent Transportation Systems, 2021, 22(11): 7004-7014. doi: 10.1109/TITS.2020.3000761
|
[19] |
MEHTAB S, SEN J, DUTTA A. Stock price prediction using machine learning and LSTM-based deep learning models[C]//Machine Learning and Metaheuristics Algorithms, and Applications: Second Symposium, SoMMA 2020. Chennai, India: Springer Singapore, 2021: 88-106.
|
[20] |
WENG W, FAN J, WU H, et al. A decomposition dynamic graph convolutional recurrent network for traffic forecasting[J]. Pattern Recognition, 2023, 142: 109670. doi: 10.1016/j.patcog.2023.109670
|
[21] |
ZHANG J, XIAO F, LI A, et al. Graph neural network-based spatio-temporal indoor environment prediction and optimal control for central air-conditioning systems[J]. Building and Environment, 2023, 242: 110600. doi: 10.1016/j.buildenv.2023.110600
|
[22] |
WU L, SUN P, HONG R, et al. Socialgcn: An efficient graph convolutional network based model for social recommendation[J]. arXiv: 1811.02815, 2018. https://arxiv.org/abs/1811.02815.
|
[23] |
DHAWAN S, SINGH K, RABAEA A, et al. ImprovedGCN: An efficient and accurate recommendation system employing lightweight graph convolutional networks in social media[J]. Electronic Commerce Research and Applications, 2022, 55: 101191. doi: 10.1016/j.elerap.2022.101191
|
[24] |
ZHANG X M, LIANG L, LIU L, et al. Graph neural networks and their current applications in bioinformatics[J]. Frontiers in Genetics, 2021, 12: 690049. doi: 10.3389/fgene.2021.690049
|
[25] |
LOSHCHILOV I, HUTTER F. SGDR: Stochastic gradient descent with warm restarts[J]. arXiv: 1608.03983, 2016. https://arxiv.org/abs/1608.03983.
|
[26] |
曾志雄, 罗毅智, 余乔东, 等. 基于时间序列和多元模型的集约化猪舍温度预测[J]. 华南农业大学学报, 2021, 42(3): 111-118. doi: 10.7671/j.issn.1001-411X.202010008
|
[27] |
刘双印, 黄建德, 徐龙琴, 等. 基于 PCA-SVR-ARMA 的狮头鹅养殖禽舍气温组合预测模型[J]. 农业工程学报, 2020, 36(11): 225-233. doi: 10.11975/j.issn.1002-6819.2020.11.026
|