Abstract
This study presents a physics-informed neural networks (PINN) modeling approach we developed as a practical application of neural computing to predict manure temperature during storage at a dairy farm all year round. Manure temperature is a factor that impacts the microbial and chemical processes associated with releasing aerial pollutants. Therefore, knowing the dynamics and quantifying the manure temperature value during storage is critical for designing methods to mitigate its potential contribution to polluting the environment. Also, manure temperature is a pertinent input parameter for on-farm decision support tools and nutrient accounting models used to assess sustainable manure management practices. However, there is no standard method to estimate it. Currently, decision support tools use surrogates derived from various ambient air temperature averages instead of the manure temperature, which underestimates the contaminants lost to the atmosphere during the manure storage. In this study, we developed a PINN model as an alternative for predicting the stored manure temperature. We compared its performance to three other models (finite-elements heat transfer, classical data-driven neural network, and simulation-based neural network). We collected field data from three dairy farms with different manure management practices and storage structures to train, validate, and test the models. The manure temperatures predicted by the PINN model were the closest in magnitude to the measured temperatures at the three manure storages on the three dairy farms. In addition, the PINN model predictions were less biased and more data-efficient than the other models. The predictive ability of the models was comparable during validation (R2 > 0.90); however, the PINN model had superior generalization accuracy. The R2 for the PINN model during the testing phase exceeded 0.70. In contrast, R2 ranged from − 0.03 and 0.66 for the finite-elements heat transfer, classical data-driven neural network, and simulation-based neural network models. These results suggest that using the PINN model to estimate manure temperature in decision support tools and nutrient cycling models would provide more realistic outcomes for assessing sustainable manure management practices. The outcomes of this study contribute to the field of precision agriculture, specifically designing suitable on-farm strategies to minimize nutrient loss and greenhouse gas emissions during the manure storage periods and improve the accuracy of metrics used to assess sustainable manure management practices.
Similar content being viewed by others
Data availability
The datasets generated during and analyzed during the current study are available from the corresponding author on reasonable request.
References
Rotz CA (2004) Management to reduce nitrogen losses in animal production. J Anim Sci 82(13):E119–137. https://doi.org/10.2527/2004.8213_supplE119x
Nag R, Auer A, Markey BK et al (2019) Anaerobic digestion of agricultural manure and biomass—critical indicators of risk and knowledge gaps. Sci Total Environ 690:460–479
Manyi-Loh CE, Mamphweli SN, Meyer EL et al (2016) An overview of the control of bacterial pathogens in cattle manure. Int J Environ Res Public Health 13(9):843. https://doi.org/10.3390/ijerph13090843
Grady CPL Jr, Daigger GT, Love NG, Filipe CDM (2011) Biological wastewater treatment. CRC Press
Campbell GS, Norman JM (1998) An Introduction to Environmental Biophysics. Springer, New York, NY
Massé DI, Croteau F, Patni NK, Masse L (2003) Methane emissions from dairy cow and swine manure slurries stored at 10 ° C and 15 ° C. Canadian Biosyst Eng 45:6.1–6.6
Leytem AB, Bjorneberg DL, Koehn AC et al (2017) Methane emissions from dairy lagoons in the western United States. J Dairy Sci 100:6785–6803. https://doi.org/10.3168/jds.2017-12777
Mangino J, Bartram D, Brazy A Development of a Methane Conversion Factor to Estimate Emissions from Animal Waste Lagoons. Technical Report (Washington, DC: Environmental Protection Agency) p 14
Chianese DS, Rotz CA, Richard TL (2009) Simulation of methane emissions from dairy farms to assess greenhouse gas reduction strategies. Trans ASABE 52:1313–1323. https://doi.org/10.13031/2013.27781
Masse DI, Masse L, Claveau S, Benchaar C, Thomas O (2008) Methane emissions from manure storages. Transactions of the ASABE 51(5):1775–1781
Baldé H, VanderZaag AC, Burtt S et al (2016) Measured versus modeled methane emissions from separated liquid dairy manure show large model underestimates. Agric Ecosyst Environ 230:261–270. https://doi.org/10.1016/j.agee.2016.06.016
Rennie TJ, Baldé H, Gordon RJ et al (2017) A 3-D model to predict the temperature of liquid manure within storage tanks. Biosyst Eng 163:50–65. https://doi.org/10.1016/j.biosystemseng.2017.08.014
Genedy RA, Ogejo JA (2021) Using machine learning techniques to predict liquid dairy manure temperature during storage. Comput Electron Agric. https://doi.org/10.1016/j.compag.2021.106234
Genedy R, Ogejo J (2020) Dairy manure temperature dynamics during storage. In: ASABE 2020 annual international meeting
Johannesson GH, Lauzon J, Crolla A et al (2017) Impact of manure storage conditions and time on decomposition of and losses from liquid dairy manure stored in a temperate climate. Can J Soil Sci 98:148–160. https://doi.org/10.1139/cjss-2017-0083
Li C, Salas W, Mitloehner F (2012) Manure-DNDC: a biogeochemical process model for quantifying greenhouse gas and ammonia emissions from livestock manure systems. Nutr Cycl Agroecosyst. https://doi.org/10.1007/s10705-012-9507-z
Stefan HG, Preud’homme EB (1993) Stream temperature estimation from air temperature. J Am Water Resour Assoc 29:27–45. https://doi.org/10.1111/j.1752-1688.1993.tb01502.x
Willcox KE, Ghattas O, Heimbach P (2021) The imperative of physics-based modeling and inverse theory in computational science. Nat Comput Sci 1:166–168
Genedy R, Ogejo J (2022) Estimating ammonia emitted from manure during storage on a dairy farm. In: 2022 ASABE annual international meeting
Genedy RA, Ogejo J, Chung M (2021) Predicting liquid dairy manure temperature during storage using machine learning and finite element analysis tools. In: American society of agricultural and biological engineers annual international meeting, ASABE 2021
Sanikhani H, Deo RC, Yaseen ZM et al (2018) Non-tuned data intelligent model for soil temperature estimation: a new approach. Geoderma 330:52–64. https://doi.org/10.1016/j.geoderma.2018.05.030
Samadianfard S, Ali M, Mohammadi B (2018) Forecasting soil temperature at multiple-depth with a hybrid artificial neural network model coupled- hybrid firefly optimizer algorithm. Inf Process Agric 5:465–476. https://doi.org/10.1016/j.inpa.2018.06.005
Lee SY, Lee IB, Yeo UH et al (2022) Machine learning approach to predict air temperature and relative humidity inside mechanically and naturally ventilated duck houses: application of recurrent neural network. Agriculture (Switzerland). https://doi.org/10.3390/agriculture12030318
Cao H, Xin Y, Yuan Q (2016) Prediction of biochar yield from cattle manure pyrolysis via least squares support vector machine intelligent approach. Bioresour Technol 202:158–164. https://doi.org/10.1016/j.biortech.2015.12.024
Al-Saif AM, Abdel-Sattar M, Eshra DH et al (2022) Predicting the chemical attributes of fresh citrus fruits using artificial neural network and linear regression models. Horticulturae 8:1016. https://doi.org/10.3390/horticulturae8111016
Paluszek M, Thomas S (2016) MATLAB machine learning. Apress
Nevala K (2017) The machine learning primer. SAS Institute Inc, 100
Isaac Abiodun O, Jantan A, Esther Omolara A et al (2018) State-of-the-art in articial neural network applications: a survey. Heliyon 4:938. https://doi.org/10.1016/j.heliyon.2018
Yang Y, Perdikaris P (2019) Adversarial uncertainty quantification in physics-informed neural networks. J Comput Phys 394:136–152. https://doi.org/10.1016/j.jcp.2019.05.027
Pang G, ‘D’Elia M, Parks M, Karniadakis GE (2020) nPINNs: nonlocal physics-informed neural networks for a parametrized nonlocal universal laplacian operator. Algorithms and applications. J Comput Phys 422:109760. https://doi.org/10.1016/j.jcp.2020.109760
Sawant N, Kramer B, Peherstorfer B (2023) Physics-informed regularization and structure preservation for learning stable reduced models from data with operator inference. Comput Methods Appl Mech Eng 404(1): 115836. https://doi.org/10.1016/j.cma.2022.115836
Abiodun OI, Jantan A, Omolara AE et al (2019) Comprehensive review of artificial neural network applications to pattern recognition. IEEE Access 7:158820–158846
Raissi M, Perdikaris P, Karniadakis GE (2017) Physics informed deep learning (Part II): data-driven discovery of nonlinear partial differential equations
Lawal ZK, Yassin H, Lai DTC, Che Idris A (2022) Physics-informed neural network (PINN) evolution and beyond: a systematic literature review and bibliometric analysis. Big Data Cogn Comput 6(4):140. https://doi.org/10.3390/bdcc6040140
Vadyala SR, Betgeri SN, Matthews JC, Matthews E (2022) A review of physics-based machine learning in civil engineering. Results Eng. https://doi.org/10.1016/j.rineng.2021.100316
He QZ, Barajas-Solano D, Tartakovsky G, Tartakovsky AM (2020) Physics-informed neural networks for multiphysics data assimilation with application to subsurface transport. Adv Water Resour. https://doi.org/10.1016/j.advwatres.2020.103610
Shen S, Lu H, Sadoughi M et al (2021) A physics-informed deep learning approach for bearing fault detection. Eng Appl Artif Intell. https://doi.org/10.1016/j.engappai.2021.104295
Raissi M, Perdikaris P, Karniadakis GE (2019) Physics-informed neural networks: a deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. J Comput Phys 378:686–707. https://doi.org/10.1016/j.jcp.2018.10.045
Patel RG, Manickam I, Trask NA, et al (2022) Thermodynamically consistent physics-informed neural networks for hyperbolic systems. J Comput Phys 449(C):110754. https://doi.org/10.1016/j.jcp.2021.110754
Kadeethum T, Jørgensen TM, Nick HM (2020) Physics-informed neural networks for solving nonlinear diffusivity and ’Biot’s equations. PLoS One. https://doi.org/10.1371/journal.pone.0232683
Wang K, Chen Y, Mehana M et al (2021) A physics-informed and hierarchically regularized data-driven model for predicting fluid flow through porous media. J Comput Phys 443:110526. https://doi.org/10.1016/j.jcp.2021.110526
Shi R, Mo Z, Huang K, et al (2022) A Physics-Informed Deep Learning Paradigm for Traffic State and Fundamental Diagram Estimation. IEEE Trans Intell Transp Syst 23:11688–11698
Tartakovsky AM, Marrero CO, Perdikaris P et al (2020) Physics-informed deep neural networks for learning parameters and constitutive relationships in subsurface flow problems. Water Resour Res. https://doi.org/10.1029/2019WR026731
Sahli Costabal F, Yang Y, Perdikaris P et al (2020) Physics-informed neural networks for cardiac activation mapping. Front Phys. https://doi.org/10.3389/fphy.2020.00042
Abiodun EO, Alabdulatif A, Abiodun OI et al (2021) A systematic review of emerging feature selection optimization methods for optimal text classification: the present state and prospective opportunities. Neural Comput Appl 33:15091–15118
Guyon I, Elisseeff, A (2003) An introduction to variable and feature selection. J Mach Learn Res 3:1157–1182
Karunarathne SA, Ogejo JA, Chung M (2020) Compartmental process-based model for estimating ammonia emissions from stored liquid dairy manure. SN Appl Sci. https://doi.org/10.1007/s42452-020-2503-z
Nayyeri MA, Kianmehr MH, Arabhosseini A, Hassan-Beygi R (2009) Thermal properties of dairy cattle manure. Int Agrophys 23:359–366
Greiner TH (1980) Heat transfer in a beef manure anaerobic digester. Iowa State University, Digital Repository
Agarap AF (2018) Deep learning using rectified linear units (ReLU). arXiv preprint arXiv:1803.08375
Kingma DP, Ba J (2014) Adam: a method for stochastic optimization. arXiv preprint arXiv:1412.6980
Cai S, Wang Z, Wang S et al (2021) Physics-informed neural networks for heat transfer problems. J Heat Transf. https://doi.org/10.1115/1.4050542
Dwivedi V, Srinivasan B (2020) Physics informed extreme learning machine (PIELM)–a rapid method for the numerical solution of partial differential equations. Neurocomputing 391:96–118. https://doi.org/10.1016/j.neucom.2019.12.099
Nabian MA, Meidani H (2018) Physics-driven regularization of deep neural networks for enhanced engineering design and analysis. Nutr Cycl Agroecosyst. https://doi.org/10.1115/1.4044507
Henkes A, Wessels H, Mahnken R (2022) Physics informed neural networks for continuum micromechanics. Comput Methods Appl Mech Eng 393:114790. https://doi.org/10.1016/j.cma.2022.114790
Acknowledgements
This study is supported by funds from the USDA National Institute of Food and Agriculture (NIFA) AFRI Foundational Program grant no. 2017-67019-26399 and the Virginia Agricultural Experiment Station.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicting financial or other interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Genedy, R.A., Chung, M. & Ogejo, J. Physics-informed neural networks for predicting liquid dairy manure temperature during storage. Neural Comput & Applic 35, 12159–12174 (2023). https://doi.org/10.1007/s00521-023-08347-w
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00521-023-08347-w