Next Article in Journal
Development and Modeling of an Onion Harvester with an Automated Separation System
Previous Article in Journal
Prediction of Harvest Time of Tomato Using Mask R-CNN
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Machine Learning Model for Assuring Bird Welfare during Transportation

by
Ali Moghadam
1,
Harshavardhan Thippareddi
2 and
Ramana Pidaparti
1,*
1
College of Engineering, University of Georgia, Athens, GA 30602, USA
2
College of Agriculture and Environmental Sciences, University of Georgia, Athens, GA 30602, USA
*
Author to whom correspondence should be addressed.
AgriEngineering 2022, 4(2), 367-379; https://doi.org/10.3390/agriengineering4020025
Submission received: 25 February 2022 / Revised: 17 March 2022 / Accepted: 25 March 2022 / Published: 30 March 2022

Abstract

:
Bird welfare and comfort is highly impacted by extreme environments, including hot/cold temperatures, relative humidity, and heat production within the coops during loading at the farm, transportation, and holding at the processing plants. Due to the complexity of the multiphysics phenomena involving fluid flow, heat transfer, and multispecies mixtures (humidity) within the coops, machine learning models may be helpful to evaluate broiler welfare under various environments. Machine learning techniques (Artificial Neural Networks and Bayesian Optimization) were applied to estimate the desired parameters required to ensure broiler welfare inside the coops. Artificial Neural Networks (ANNs) were trained with the results of Computational Fluid Dynamics (CFD) simulations for various ranges of inputs related to the microenvironment. Input variables included air velocity, broiler heat production, ambient temperature, and relative humidity. The Output variable was the Enthalpy Comfort Index (ECI), which is a measure of the bird welfare. The trained networks were then analyzed using Bayesian Optimization (BO) for the inverse mapping of ANNs and to predict the range of acceptable input parameters for a desired output, i.e., ECI in the comfort level. Results indicate that reducing the broilers heat production inside the coop along with increasing fan velocity enhances the broiler welfare and the thermal microenvironment. The BO developed in this study provide the microenvironmental parameters to estimate the bird welfare that is comfortable.

1. Introduction

Bird welfare and comfort is highly impacted by extreme environments (ambient temperature, relative humidity, and heat production by the bird within the poultry coop) during loading at the farm, transportation, and holding at the processing plants. The birds can be exposed to extremes of temperature and humidity during transportation, especially during the summer months and these conditions are a major cause for dead birds on arrival (DOAs) [1,2]. In the hot temperature environment, the broiler is unable to efficiently lose the produced heat (generated within the bird), resulting in an increase in its body temperature which could be fatal and/or reduce the meat quality [3]. Use of fans along with surface wetting of the birds (evaporative cooling) are among the promising approaches for reducing the body temperature and dealing with the thermal discomfort [4,5,6].
Computational Fluid Dynamics (CFD) simulations have been applied for better understanding the effects of various parameters on the bird welfare [7,8,9,10,11,12]. Heymsfield et al. [9] simulated the air velocity distribution inside coops but did not consider the impact of ambient relative humidity and the bird heat production. Pawar et al. [11] included the heat production by the birds to investigate different ventilation schemes via a 2-D CFD model; however, the ambient relative humidity was not studied. Shivkumar et al. [12] incorporated the bird’s heat flux in their 3-D model, yet the ambient relative humidity was not considered. Recently, we conducted 3-D CFD simulations to study the effects of the ambient temperature and relative humidity along with the bird heat production on the thermal microenvironment inside poultry coops [13]. While CFD simulations provide insight on the impacts of various parameters on the microenvironment, they fall short in estimating the range of acceptable input parameters to acquire the optimal microenvironment condition in the coops. The parameter estimation is an optimization problem, where the parameters are adjusted in a way to minimize a function (in this case the difference between the microenvironment and the desired conditions). Machine learning methods have been widely used to solve optimizations problem and have been the subject of various studies in agricultural engineering in the past decade for applications including, but not limited to, optimal lighting control in the greenhouse [14,15], irrigation management [16], estimation of wheat yield [17], classification of the ripeness of mango fruit [18], and disease detection in wheat [19], as well as prediction of the behavior pattern and health of broiler chicken [20,21,22]. Despite the ever-growing application of machine learning in agricultural research, to the best of our knowledge, it has not been used in any previous study for the broiler welfare inside poultry coops. This is especially important given that various parameters such as air velocity and heat production by the birds, as well as ambient temperature and relative humidity, affect the microenvironment inside the coops and the bird’s welfare. In the current study we applied machine learning to estimate the range of acceptable input parameters that ensure bird welfare.
In this context, we trained shallow Artificial Neural Networks (ANNs) that map the input parameters to the bird welfare index using the data from our CFD simulations results from our previous work [13]. The trained network was then used for the inverse mapping using Bayesian Optimization (BO) to estimate the range of input parameters for a desired broiler comfort state.
The remainder of this paper is organized as follows. The method, CFD model, and the machine learning methods, i.e., ANN and the inverse mapping using BO are discussed in Section 2. Section 3 presents the results for a typical bird welfare optimization problem. The conclusions from this study are presented in Section 4.

2. Methodology

The poultry coops are loaded with broilers on the farm, stacked on a trailer, transported to the processing plant and are parked in holding sheds as shown in Figure 1. These holding sheds are equipped with fans to blow air to improve the immediate bird environment inside the coop. Temperature and relative humidity are the two significant environmental parameters that determine the broilers welfare inside the coop. The combined effects of both temperature and relative humidity are often used to evaluate the bird welfare via an integrated comfort index called Enthalpy Comfort Index [23,24]. In this context, Enthalpy Comfort Index (ECI) is defined as:
ECI = 1.006 t + RH p b ( 71.28 + 0.052 t )   10   7.5 t 237.3 + t
Here, t is the temperature in Celsius, RH is the relative humidity percentage, and p b is the barometric pressure in mmHg [23]. The ECI in the ranges of ECI ≤ 48 kJ/kg, 48.1 ≤ ECI ≤ 57.6 kJ/kg, 57.7 ≤ ECI ≤ 66.1 kJ/kg, and 66.2 ≤ ECI kJ/kg are considered to be in the comfort, warning, critical, and lethal region, respectively.
Equation (1), despite being a powerful tool to estimate the welfare of the broilers using two most important parameters (i.e., ambient temperature and relative humidity), is not capable of distinguishing between the bird welfare along the length of the coop (fan side, center, or far from the fan). Typically, due to the heat production by the birds, birds located at the center and downstream of the coop experience more thermal discomfort compared to those near the fan (inlet). In the absence of experimental data, we applied computational fluid dynamics (CFD) simulations to model the immediate bird environment inside the coop via calculating a microenvironment metric (ECI) and using this metric in the machine learning model (Artificial Neural Networks and Bayesian Optimization). The CFD model [13], ANN model, and Bayesian optimization are presented below.

2.1. CFD Model

In the simulations, air was blown from the inlet and passed through the coop. Despite the fact that the simulations could be conducted for any number of birds, for the sole purpose of a parametric study, the coop was assumed to be loaded with 16 broilers each weighing 2.5 kg. For the sake of geometry and mesh simplicity, the wire meshing and metal supports on the side faces were excluded and broilers were modeled as cubes with surface area similar to that for 2.5 kg broilers [25]. Ansys Fluent 2020 R2 was utilized to conduct the CFD simulations, where a steady state 3-D model was considered for the humid air flow (humidity modeled by species transport model). The length, width, and height of the coop considered in this study were 1.19, 1.17, and 0.25 m, respectively. Velocity inlet boundary condition was assigned at the inlet, and the flow velocity was varied in the range of 0.15 V 0.5   m / s . The Reynolds numbers were in the order of magnitude of O(104–105) and the flow was hence turbulent. A k ε turbulence model was used for the simulations, which added the following two equations, Equations (2) and (3), for the turbulent kinetic energy (k), and the turbulent dissipation rate (ε).
t ( ρ k ) + x i ( ρ k u i ) = x j [ ( μ + μ t σ k ) k x j ] + G k ρ ε  
t ( ρ ε ) + x i ( ρ ε u i ) = x j [ ( μ + μ t σ ε ) ε x j ] + ε k ( C 1 ε G k C 2 ε ρ ε )
Here, μ t is the turbulent (eddy) viscosity and G k is the generation of turbulent kinetic energy computed as:
μ t = ρ C μ k 2 ε
G k = ρ u i u j ¯ u j x i
The following values were considered for the empirical constants:
C 1 ε = 1.44 ,   C 2 ε = 1.92 ,   C μ = 0.09 ,   σ k = 1 ,   σ ε = 1.3
The standard wall function was utilized to resolve the viscous sub-layer. No slip boundary condition was assumed for all the walls (coop and bird). The coop walls were considered adiabatic, having zero heat flux, while heat flux in the range of 0–300 W · m 2 was assigned to the birds’ wall (to consider the broilers heat production). Various ambient temperature and relative humidity values in the range of 290 V 310   k , and 15 % V 70 % were assigned at the inlet. Pressure outlet boundary condition with a zero-gauge pressure is assumed at the outlet. Symmetry boundary condition was defined for the left and right sides of the domain. A structured mesh was used in this work, and finer mesh was selected in the regions adjacent to the walls. A mesh independency study was conducted over five different grid resolutions and a total of 470,500 hexahedral elements with 510,346 nodes were selected (see Figure 2).
The CFD model in Ansys Fluent solved the conservation equations (conservation of mass, momentum, energy, mass fraction of species, and turbulence parameters) subjected to the boundary conditions until it reached the convergence. The solution convergence was judged by monitoring the residual to ensure that solution does not change subsequent iterations and has almost zero heat/mass imbalance. The CFD model was discussed in detail in our recent study [13]. The CFD solution produces temperature and relative humidity maps, showing the spatially varying values for both variables inside the coops (see Figure 3).
In our study, local (rather than ambient) temperature and relative humidity (the outputs of the CFD simulations) were applied in Equation (1), which results in a range of ECI values. The variation of the ECI along the longitudinal and transverse direction of the coop (i.e., x, and z-dir.) is shown in Figure 4.

2.2. Optimization Using Machine Learning

The maximum value of the ECI inside the coop was then selected for the design (optimization) problem. In this section, we applied machine learning techniques to the results of the CFD simulations to find a relationship between the maximum ECI and air velocity, bird heat production, ambient temperature, and relative humidity as ECI max = f   ( V , T , RH , Q ) .

2.2.1. Artificial Neural Network (ANN) Model

ANNs are statistical models used to find non-linear relations between input data ( X ) and outputs ( Y ). In other words, ANN is a process of estimating the function f that maps inputs to the outputs, i.e., Y = f ( X ) . In general, the input and outputs can be vectors of lengths m, and n (m, n 1 ), i.e., X = [ X 1 , X 2 , , X m ] , and Y = [ Y 1 , Y 2 , , Y n ] as shown in Figure 5.
In the CFD analysis, there are four major input parameters, i.e., air velocity, heat production, ambient temperature, relative humidity ( m = 4 ) and one output parameter, i.e., ECI ( n = 1 ). Note that the ambient pressure is often a constant value (1 atm) and is not considered as an individual input parameter in this study. The shallow ANNs (network with a single hidden layer) with eight hidden neurons were trained with 108 training examples obtained from CFD simulations. The training examples were randomly split in a way that 70%, 15%, and 15% of the dataset was assigned for training, validating, and testing the network, respectively. The architecture of the ANNs used for the training is illustrated in Figure 6.
Ten different ANNs were trained in this study, and the best performer was selected for the inverse mapping problem.

2.2.2. Inverse Mapping of the ANNs Using Bayesian Optimization

Consider an optimization problem where we are interested in knowing the range of heat production and inlet velocity parameters required to obtain a desired thermal comfort level ECI0 (ECI0 ≤ 48 kJ/kg) for the birds in an ambient temperature and relative humidity of T0 and RH0. In order to find an explicit equation between the optimization ECI and input parameters like ECI max = f   ( V , T , RH , Q ) , shallow ANNs with eight hidden neurons were fitted to our CFD data. MATLAB’s tansig transfer function was used as the activation function in the hidden layer. Upon mathematical computation of the weight, bias, and activation functions of the trained network (best performer), the ECI max is calculated as:
ECI max = 93.4272 + i = 1 8 c i
with the c i being calculated from Table 1. This equation explicitly maps the input parameters ( T , RH , V , Q ) to the output ( ECI max ), which simplifies the optimization problem. To get the desired comfort index of ECI 0 (output), for a specific ambient condition ( T 0 , RH 0 ), one can plug these values into Equation (6) to have:
ECI 0 = f   ( T = T 0 , RH = RH 0 , V , Q ) = g ( V , Q )
Equation (7) becomes a problem of finding roots for V , Q that satisfies g ( V , Q ) ECI 0 = 0 , which can be solved using any traditional root finding approaches. In this study, we applied the Bayesian Optimization (BO) to minimize ( g ( V , Q ) ECI 0 ) 2 which ultimately gives the roots. BO is a learning algorithm for finding the minimum of an objective function (cost function) j ( x ) . BO is performed by first initializing a Gaussian Process ‘surrogate function’ prior distribution, and then selecting several data points x in a way that maximizes the acquisition function a(x) operating on the current prior distribution. The data points x in the objective cost function j ( x ) are then evaluated and the results, y, are obtained and added to the data set and the Gaussian Process prior distribution will be updated with the new data to produce a posterior (basically the prior in the next step). The above-mentioned steps were repeated over several iterations. Ultimately the global minima were found by interpreting the current Gaussian Process distribution. The Bayesian Optimization function of bayesopt in MATLAB R2020b was used in this study, which considers the acquisition function of expected improvement [26].

3. Results and Discussion

The shallow neural networks with eight hidden neurons perfectly fit the training data set (70% of the data; Figure 7a) where the data lie on a line with a slope of R = 0.99951 (the 45° line) in the output vs. target plot. It is also worth mentioning that the ANNs work precisely for other data sets as well, e.g., the fit to the validation, test, and all datasets are shown in Figure 7b–d, respectively. This proves the fact that shallow ANNs can perfectly map the inputs to the output without any bias or variance problem.
Figure 8a shows the error histogram illustrating the performance of the networks. It is shown that most datasets lay near the zero-error point, where target equals the output values, and only few instances are away from this point with maximum error being negligible compared to range of ECIs (30–160). The performance of the ANN is shown in terms of the Mean Squared Error (MSE) in Figure 8b. As shown in this figure, the MSE keeps decreasing with each training cycle (epoch), until it converges and reaches a minimum value for the validation datasets.
For the sole purpose of demonstrating the accuracy of the ANN prediction, we considered a case with an inlet velocity of V = 0.3   m / s , temperature of T = 307   k , relative humidity of RH = 57 % , and a heat production of Q = 200   W · m 2 . Each of these input values were different from those used to train the ANN which results in unbiased predictions (in addition to the test set regression plot shown in Figure 7c). The trained ANN predicts a maximum comfort index value of ECI max = 105.61   kJ / kg . After conducting the CFD simulations for those input conditions the ECI max = 106.55   kJ / kg was computed, which shows a reasonable accuracy for the ANNs prediction.
As discussed earlier, the inverse mapping was conducted using the bayesopt function in MATLAB. The results of the CFD simulations show that increasing ambient temperature and/or relative humidity results in an increase in ECI, and unfavorable bird welfare (distress). It is also known from CFD simulation that increasing the bird heat production results in higher ECI. A similar trend was observed from the BO inverse mapping as seen in Table 2. Note that to estimate each of the input parameters (e.g., T) via the BO, one needs to plug the known values for other parameters (i.e., V = V 0 , Q = Q 0 , and RH = RH 0 ) into Equation (6) and solve for the unknown parameter.
Table 3 estimates the velocity and heat production for various broilers welfare conditions on a typical day with ambient temperature of 300 k and relative humidity of 15%.
For the inverse mapping, one can specify any combinations of inputs and estimate the other inputs. Table 4 estimates various input parameters for different welfare conditions.
The accuracy of the inverse mapping using BO is shown here by considering one of the cases in Table 4, where at an inlet velocity of V = 0.5   m / s and temperature of T = 300   k , for the broilers to be in a critical welfare condition (with ECI max = 63   kJ / kg ) the BO predicts the relative humidity of RH = 30.07 % , and a heat production of Q = 280.48   W · m 2 . Performing CFD simulations for these input parameters ( V ,   T ,   RH ,   and   Q ) results in a maximum comfort index of ECI max = 64.79   kJ / kg , which has less than 3% difference with the objective ECI max .
The birds are loaded in the coops at the farm, transferred to the trailer, transported to the processing facility, and held in holding sheds until processing. At the farm and in the holding sheds at the processing facility, fans are provided to blow air through the coops to reduce the temperature and, in some cases, the humidity (water vapor) within the coop—both generated by the bird. However, under extreme environmental conditions prevalent during the summer months in Southeast U.S., Moghadam et al. [13] showed that blowing air using the fans alone is not adequate to assure bird welfare (as indicated by the ECI). Using the ANN approach, we were able to show that under extreme environmental conditions (high temperate and humidity), the bird welfare can be assured by decreasing the heat produced by the birds. Alternatively, for a given heat flux per bird this can be done by decreasing the number of birds loaded on to the coop. This may be a practical approach to minimize the bird mortality and other meat quality-related issues that reduce the value of the broiler meat and the resulting economic loss for the processor. Another important problem is finding the airflow velocity that assures welfare for increasing number of birds. To investigate this problem, we applied BO on the ANN model for cases with a fixed ambient temperature and relative humidity of 300 k and 15%, but with heat generation in the range of 100–250 W · m 2 to find the velocity that assures the bird welfare with ECI = 45 kJ/kg (see Table 5).
It is seen that larger airflow velocity is needed to assure comfort for an increasing number of birds, which is implicitly represented by increasing heat flux in our study. An explicit prediction of the maximum number of birds that needs to be loaded in the coop to assure bird comfort for a particular set of environmental conditions (temperature, humidity, and maximum air velocity) can be accomplished by conducting CFD simulations with similar environmental conditions and fan velocity, but various numbers of birds per coops and calculating the ECI max , which could be the subject of a future study.

4. Conclusions

Machine learning techniques were applied to estimate the optimal conditions required for ensuring bird welfare and thermal microenvironment inside the poultry coops. Simulation results of a CFD model for a loaded poultry coop were applied to train the simple, yet highly efficient shallow ANNs which found a nonlinear mathematical equation between the input (flow velocity, broiler heat production, ambient temperature, and relative humidity) and the output (ECI) parameters. The inverse mapping of the trained ANNs was then performed via BO method to estimate the range of acceptable parameters that result in a comfort region in the entire coop microenvironment. The results show that the bird welfare can be improved by reducing the number of birds in the coop, along with increasing the air flow velocity. The results also show that the BO can be utilized to investigate the combined effects of parameters, such as estimating the extent to which the airflow needs to be increased to assure welfare for an increasing number of birds. This information might be useful for poultry industries.

Author Contributions

Conceptualization, R.P.; methodology, A.M., R.P. and H.T.; implementation, A.M.; writing—original draft, A.M.; review and editing, R.P. and H.T.; project administration, R.P. and H.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by USDA, National Institute of Food and Agriculture under award 2020-67015-31915.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

This material is based on work that is supported by the USDA, National Institute of Food and Agriculture under award 2020-67015-31915. Mention of trade names or commercial products in this publication is solely for the purpose of providing scientific information and does not imply recommendation or endorsement by the USDA or the University of Georgia, Athens.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Hoxey, R.P.; Kettlewell, P.J.; Meehan, A.M.; Baker, C.J.; Yang, X. An investigation of the aerodynamic and ven-tilation characteristics of poultry transport vehicles: Part I, full-scale measurements. J. Agric. Eng. Res. 1996, 65, 77–83. [Google Scholar] [CrossRef]
  2. Kettlewell, P.J.; Mitchell, M.A. Mechanical ventilation: Improving the welfare of broiler chickens in transport. J. R. Agric. Soc. Engl. 2001, 162, 175–184. [Google Scholar]
  3. Schwartzkopf-Genswein, K.; Faucitano, L.; Dadgar, S.; Shand, P.; Gonzalez, L.; Crowe, T. Road transport of cattle, swine and poultry in North America and its impact on animal welfare, carcass and meat quality: A review. Meat Sci. 2012, 92, 227–243. [Google Scholar] [CrossRef] [PubMed]
  4. Aldridge, D.J.; Luthra, K.; Liang, Y.; Christensen, K.; Watkins, S.E.; Scanes, C.G. Thermal Micro-Environment during Poultry Transportation in South Central United States. Animals 2019, 9, 31. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Liang, Y.; Tabler, G.T.; Costello, T.A.; Berry, I.L.; Watkins, S.E.; Thaxton, Y.V. Cooling broiler chickens by surface wetting: Indoor thermal environment, water usage, and bird performance. Appl. Eng. Agric. 2014, 30, 249–258. [Google Scholar]
  6. Tao, X.; Xin, H. Surface wetting and its optimization to cool broiler chickens. Trans. ASAE 2003, 46, 483. [Google Scholar] [CrossRef]
  7. Bustamante, E.; García-Diego, F.J.; Calvet, S.; Estellés, F.; Beltrán, P.; Hospitaler, A.; Torres, A.G. Exploring venti-lation efficiency in poultry buildings: The validation of computational fluid dynamics (CFD) in a cross-mechanically ventilated broiler farm. Energies 2013, 6, 2605–2623. [Google Scholar] [CrossRef] [Green Version]
  8. Gilkeson, C.; Thompson, H.; Wilson, M.; Gaskell, P. Quantifying passive ventilation within small livestock trailers using Computational Fluid Dynamics. Comput. Electron. Agric. 2016, 124, 84–99. [Google Scholar] [CrossRef] [Green Version]
  9. Heymsfield, C.L.; Liang, Y.; Costello, T.A. Computational Fluid Dynamics Model of Air Velocity through a Poultry Transport Trailer in a Holding Shed. Appl. Eng. Agric. 2020, 36, 963–973. [Google Scholar] [CrossRef]
  10. Norton, T.; Kettlewell, P.; Mitchell, M. A computational analysis of a fully-stocked dual-mode ventilated livestock vehicle during ferry transportation. Comput. Electron. Agric. 2013, 93, 217–228. [Google Scholar] [CrossRef]
  11. Pawar, S.R.; Cimbala, J.M.; Wheeler, E.F.; Lindberg, D.V. Analysis of Poultry House Ventilation Using Computational Fluid Dynamics. Trans. ASABE 2007, 50, 1373–1382. [Google Scholar] [CrossRef]
  12. Shivkumar, A.P.; Li, L.; Shah, S.B.; Stikeleather, L.; Fuentes, M. Performance Analysis of a Poultry Engineering Chamber Complex for Animal Environment, Air Quality, and Welfare Studies. Trans. ASABE 2016, 59, 1371–1381. [Google Scholar] [CrossRef]
  13. Moghadam, A.; Thippareddi, H.; Regmi, P.; Pidaparti, R. Modeling and Simulation of the Microenvironment in the Poultry Coops. J. ASABE 2022. [Google Scholar] [CrossRef]
  14. Afzali, S.; Mosharafian, S.; van Iersel, M.W.; Mohammadpour Velni, J. Development and Implementation of an IoT-Enabled Optimal and Predictive Lighting Control Strategy in Greenhouses. Plants 2021, 10, 2652. [Google Scholar] [CrossRef] [PubMed]
  15. Mosharafian, S.; Afzali, S.; Weaver, G.M.; van Iersel, M.; Velni, J.M. Optimal lighting control in greenhouse by incorporating sunlight prediction. Comput. Electron. Agric. 2021, 188, 106300. [Google Scholar] [CrossRef]
  16. Abioye, E.A.; Hensel, O.; Esau, T.J.; Elijah, O.; Abidin, M.S.Z.; Ayobami, A.S.; Nasirahmadi, A. Precision Irri-gation Management Using Machine Learning and Digital Farming Solutions. AgriEngineering 2022, 4, 70–103. [Google Scholar] [CrossRef]
  17. Astaoui, G.; Dadaiss, J.; Sebari, I.; Benmansour, S.; Mohamed, E. Mapping Wheat Dry Matter and Nitrogen Content Dynamics and Estimation of Wheat Yield Using UAV Multispectral Imagery Machine Learning and a Variety-Based Approach: Case Study of Morocco. AgriEngineering 2021, 3, 29–49. [Google Scholar] [CrossRef]
  18. Worasawate, D.; Sakunasinha, P.; Chiangga, S. Automatic Classification of the Ripeness Stage of Mango Fruit Using a Machine Learning Approach. AgriEngineering 2022, 4, 32–47. [Google Scholar] [CrossRef]
  19. Xie, Y.; Plett, D.; Liu, H. Detecting Crown Rot Disease in Wheat in Controlled Environment Conditions Using Digital Color Imaging and Machine Learning. AgriEngineering 2022, 4, 141–155. [Google Scholar] [CrossRef]
  20. Hepworth, P.J.; Nefedov, A.V.; Muchnik, I.B.; Morgan, K.L.; Akbar, M.; Fraser, A.R.; Graham, G.J.; Brewer, J.M.; Grant, M.H. Broiler chickens can benefit from machine learning: Support vector machine analysis of observational epidemiological data. J. R. Soc. Interface 2012, 9, 1934–1942. [Google Scholar] [CrossRef]
  21. Branco, T.; Moura, D.; Nääs, I.D.A.; Lima, N.D.S.; Klein, D.; Oliveira, S. The Sequential Behavior Pattern Analysis of Broiler Chickens Exposed to Heat Stress. AgriEngineering 2021, 3, 447–457. [Google Scholar] [CrossRef]
  22. Milosevic, B.; Ciric, S.; Lalic, N.; Milanovic, V.; Savic, Z.; Omerovic, I.; Doskovic, V.; Djordjevic, S.; Andjusic, L. Machine learning application in growth and health prediction of broiler chickens. World’s Poult. Sci. J. 2019, 75, 401–410. [Google Scholar] [CrossRef]
  23. Dos Santos, V.M.; Dallago, B.S.L.; Racanicci, A.M.C.; Santana, P.; Cue, R.I.; Bernal, F.E.M. Effect of transportation distances, seasons and crate microclimate on broiler chicken production losses. PLoS ONE 2020, 15, e0232004. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Rodrigues, V.C.; Da Silva, I.J.O.; Vieira, F.M.C.; Nascimento, S. A correct enthalpy relationship as thermal comfort index for livestock. Int. J. Biometeorol. 2010, 55, 455–459. [Google Scholar] [CrossRef] [PubMed]
  25. Aerts, J.; Berckmans, D. A virtual chicken for climate control design: Static and dynamic simulations of heat losses. Trans. ASAE 2004, 47, 1765–1772. [Google Scholar] [CrossRef]
  26. MathWorks Bayesian Optimization Algorithm. 2016. Available online: https://www.mathworks.com/help/stats/bayesian-optimization-algorithm.html#bva8rew-1 (accessed on 20 October 2021).
Figure 1. The stacks of poultry coops on a trailer, and the 3-D model for a single coop. Cubes represent broilers.
Figure 1. The stacks of poultry coops on a trailer, and the 3-D model for a single coop. Cubes represent broilers.
Agriengineering 04 00025 g001
Figure 2. The mesh independency analysis by calculating ECI along x-axis for an ambient temperature of 300 k, relative humidity of 15%, the broilers heat production of 150 W · m 2 and air velocity of 0.5 m/s.
Figure 2. The mesh independency analysis by calculating ECI along x-axis for an ambient temperature of 300 k, relative humidity of 15%, the broilers heat production of 150 W · m 2 and air velocity of 0.5 m/s.
Agriengineering 04 00025 g002
Figure 3. Contours of (a) temperature and (b) relative humidity are shown on the horizontal plane at the mid height of the coop for the simulation with an inlet velocity of 0.5 m/s, relative humidity of 15%, and the temperature of 300 k.
Figure 3. Contours of (a) temperature and (b) relative humidity are shown on the horizontal plane at the mid height of the coop for the simulation with an inlet velocity of 0.5 m/s, relative humidity of 15%, and the temperature of 300 k.
Agriengineering 04 00025 g003
Figure 4. Effects of inlet air relative humidity on the enthalpy comfort index for inlet velocity of 0.5 m/s, inlet temperature of 300 k, and the broilers heat production of 150 W · m 2 along (a) x-direction and (b) z-direction.
Figure 4. Effects of inlet air relative humidity on the enthalpy comfort index for inlet velocity of 0.5 m/s, inlet temperature of 300 k, and the broilers heat production of 150 W · m 2 along (a) x-direction and (b) z-direction.
Agriengineering 04 00025 g004
Figure 5. Architecture of the ANNs, consisting of the input, hidden, and output layer.
Figure 5. Architecture of the ANNs, consisting of the input, hidden, and output layer.
Agriengineering 04 00025 g005
Figure 6. Integration of the CFD model with the machine learning to estimate the range of acceptable input parameters.
Figure 6. Integration of the CFD model with the machine learning to estimate the range of acceptable input parameters.
Agriengineering 04 00025 g006
Figure 7. The regression plot to show the accuracy of the ANN in fitting to data in the, (a) training, (b) validation, (c) test, and (d) all datasets.
Figure 7. The regression plot to show the accuracy of the ANN in fitting to data in the, (a) training, (b) validation, (c) test, and (d) all datasets.
Agriengineering 04 00025 g007
Figure 8. The performance of the ANN on the training, validation, and test datasets are depicted in terms of (a) the error histogram and (b) the MSE during various training cycles.
Figure 8. The performance of the ANN on the training, validation, and test datasets are depicted in terms of (a) the error histogram and (b) the MSE during various training cycles.
Agriengineering 04 00025 g008
Table 1. The coefficients for calculating the ECI max .
Table 1. The coefficients for calculating the ECI max .
c 1 + 310.2581 ( 1 + e ( 0.418 V 0.0177 R H 0.0786 T 0.0015 Q + 26.5789 ) ) 1
c 2 0.6159 ( 1 + e ( 0.0803 Q 0.3673 R H 2.6073 T + 42.7161 V + 773.3056 ) ) 1
c 3 3.2731 ( 1 + e ( 0.756 T 0.7118 R H 0.0322 Q 41.0195 V 155.6548 ) ) 1
c 4 8.3053 ( 1 + e ( 0.0947 Q 0.0143 R H + 1.6077 T + 1.9214 V 480.4114 ) ) 1
c 5 + 7.1696 ( 1 + e ( 0.0159 Q 1.0873 R H 0.8966 T + 3.6897 V + 300.6368 ) ) 1
c 6 + 4.0429 ( 1 + e ( 0.8199 R H 0.07 Q + 1.4731 T + 46.5986 V 465.7919 ) ) 1
c 7 81.3912 ( 1 + e ( 0.0105 Q 0.0027 R H 0.0068 T 14.0453 V + 1.1714 ) ) 1
c 8 + 15.3403 ( 1 + e ( 9.9785 0.0171 R H 0.0223 T 6.4837 V 0.034 Q ) ) 1
Table 2. Results of BO inverse mapping to obtain ambient relative humidity and temperature for various ECI max .
Table 2. Results of BO inverse mapping to obtain ambient relative humidity and temperature for various ECI max .
Case 1— V   =   0.5   m / s ,   R H   =   15 % ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) T   ( k )
Comfort43293.18
Warning53303.91
Critical63308.78
Lethal73312.39
Case 2— V   =   0.5   m / s ,   T   =   300   k ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) R H   ( % )
Comfort4316.06
Warning5330.82
Critical6338.76
Lethal7357.89
Case 3— T   =   300   k ,   R H   =   15 % ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) V   ( m / s )
Comfort430.99
Warning530.34
Critical630.19
Lethal730.13
Case 4— V   =   0.5   m / s ,   T   =   300   k ,   R H   =   15 %
Welfare E C I m a x   ( k J / k g ) Q   ( W · m 2 )
Comfort4362.14
Warning53223.78
Critical63436.13
Lethal73544.5932
Table 3. Results of BO inverse mapping to estimate input parameters for T = 300   k ,   RH = 15 % and various ECI max   ( kJ / kg )   = 43 (comfort); 53 (warning); 63 (critical); and 73 (lethal).
Table 3. Results of BO inverse mapping to estimate input parameters for T = 300   k ,   RH = 15 % and various ECI max   ( kJ / kg )   = 43 (comfort); 53 (warning); 63 (critical); and 73 (lethal).
ComfortWarningCriticalLethal
V   ( m / s ) Q   ( W · m 2 ) V   ( m / s ) Q   ( W · m 2 ) V   ( m / s ) Q   ( W · m 2 ) V   ( m / s ) Q   ( W · m 2 )
0.9109.210.55243.80.677531.51895.7
0.4362.3640.5222.10.153122.20.95873.7
0.87108.991474.70.9696911896.8
0.7172.5180.74338.40.72553.71898.9
0.7987.2840.43200.10.941639.30.52560.6
0.95121.790.292.330.252213.60.87845.4
0.4561.1710.66297.80.637516.30.85824.5
0.6966.2441474.50.868601.20.62649.1
0.5458.1140.27116.50.545466.60.79758.9
0.6765.8010.5221.40.966686.70.96882.3
Table 4. Results of BO inverse mapping to estimate input parameters for various ECI max   ( kJ / kg ) .
Table 4. Results of BO inverse mapping to estimate input parameters for various ECI max   ( kJ / kg ) .
Case 1— V   =   0.5   m / s ,   T   =   300   k
Welfare E C I m a x   ( k J / k g ) R H   ( % ) Q   ( W · m 2 )
Comfort4311.5774.86
Warning5323.29166.07
Critical6330.07280.48
Lethal7359.42160.08
Case 2— R H   =   15 % ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) V   ( m / s ) T   ( k )
Comfort430.52293.25
Warning530.69302.08
Critical630.76309.42
Lethal730.59311.34
Case 3— T   =   300   k ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) V   ( m / s ) R H   ( % )
Comfort430.8811.29
Warning530.4520.93
Critical630.6946.53
Lethal730.8069.56
Case 4— V   =   0.5   m / s ,   Q   =   150   W · m 2
Welfare E C I m a x   ( k J / k g ) T   ( k ) R H   ( % )
Comfort43292.2527.81
Warning53298.9136.11
Critical63298.9751.12
Lethal73302.5851.27
Table 5. Results of BO inverse mapping to estimate velocity to ensure comfort for various heat production for T = 300   k ,   RH = 15 % and ECI max   ( kJ / kg )   = 45 (comfort).
Table 5. Results of BO inverse mapping to estimate velocity to ensure comfort for various heat production for T = 300   k ,   RH = 15 % and ECI max   ( kJ / kg )   = 45 (comfort).
Q   ( W · m 2 ) V   ( m / s )
1000.512
1500.735
2000.919
2501.097
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Moghadam, A.; Thippareddi, H.; Pidaparti, R. Machine Learning Model for Assuring Bird Welfare during Transportation. AgriEngineering 2022, 4, 367-379. https://doi.org/10.3390/agriengineering4020025

AMA Style

Moghadam A, Thippareddi H, Pidaparti R. Machine Learning Model for Assuring Bird Welfare during Transportation. AgriEngineering. 2022; 4(2):367-379. https://doi.org/10.3390/agriengineering4020025

Chicago/Turabian Style

Moghadam, Ali, Harshavardhan Thippareddi, and Ramana Pidaparti. 2022. "Machine Learning Model for Assuring Bird Welfare during Transportation" AgriEngineering 4, no. 2: 367-379. https://doi.org/10.3390/agriengineering4020025

Article Metrics

Back to TopTop