Accurately predicting the air quality in a piggery and taking control measures in advance are important issues for pig farm production and local environmental management. In this experiment, the NH3 concentration in a semi-automatic piggery was studied. First, the random forest algorithm (RF) and Pearson correlation analysis were combined to analyze the environmental parameters, and nine input schemes for the model feature parameters were identified. Three kinds of deep learning and three kinds of conventional machine learning algorithms were applied to the prediction of NH3 in the piggery. Through comparative experiments, appropriate environmental parameters (CO2, H2O, P, and outdoor temperature) and superior algorithms (LSTM and RNN) were selected. On this basis, the PSO algorithm was used to optimize the hyperparameters of the algorithms, and their prediction performance was also evaluated. The results showed that the R2 values of PSO-LSTM and PSO-RNN were 0.9487 and 0.9458, respectively. These models had good accuracy when predicting NH3 concentration in the piggery 0.5 h, 1 h, 1.5 h, and 2 h in advance. This study can provide a reference for the prediction of air concentrations in pig house environments.
Fine particulate matter (PM), including PM2.5 in pig houses, has received increasing attention due to the potential health risks associated with PM. At present, most studies have analyzed PM2.5 in Chinese pig houses utilizing natural ventilation. These results, however, are strongly affected by the internal structure and regional environment, thus limiting their applicability to non-mechanically ventilated pig houses. This experiment was carried out in an environmentally controlled pig house. The animal feeding operation and manure management in the house were typical for Southwest China. To reduce the influence of various environmental factors on PM2.5, the temperature and humidity in the house were maintained in a relatively stable state by using an environmental control system. The concentration of PM2.5 in the pig house was monitored, while the biological contents and chemical composition of PM2.5 were analyzed, and feed, manure, and dust particles were scanned using an electron microscope. Moreover, bacterial and fungal contents and some water-soluble ions in PM2.5 were identified. The results showed that the concentration of PM2.5 in the pig house was strongly affected by pig activity, and a phenomenon of forming secondary particles in the pig house was found, although the transformation intensity was low. The concentration of PM2.5 had negative correlations of 0.27 and 0.18 with ammonia and hydrogen sulfide, respectively. Interestingly, a stronger correlation was observed between ammonia and hydrogen sulfide and ammonia and carbon dioxide concentrations (the concentration of ammonia had stronger positive correlations with hydrogen sulfide and carbon dioxide concentrations at +0.44 and +0.59, respectively). The main potential sources of PM2.5 production were feed and manure. We speculate that manure could contribute to the broken, rough, and angular particles that formed the pig house PM2.5 that easily adhered to other components.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.