IDEAS home Printed from https://ideas.repec.org/a/gam/jagris/v13y2023i4p837-d1117769.html
   My bibliography  Save this article

Predicting Ventilation Rate in a Naturally Ventilated Dairy Barn in Wind-Forced Conditions Using Machine Learning Techniques

Author

Listed:
  • Mengbing Cao

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Qianying Yi

    (Department of Engineering for Livestock Management, Leibniz Institute for Agricultural Engineering and Bioeconomy (ATB), Max-Eyth-Allee 100, 14469 Potsdam, Germany)

  • Kaiying Wang

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

  • Jiangong Li

    (College of Animal Science and Technology, China Agricultural University, Beijing 100083, China)

  • Xiaoshuai Wang

    (College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)

Abstract

Precise ventilation rate estimation of a naturally ventilated livestock building can benefit the control of the indoor environment. Machine learning has become a useful technique in many research fields and might be applied to ventilation rate prediction. This paper developed a machine-learning model for ventilation rate prediction from batch computational fluid dynamics (CFD) simulation results. By comparing deep neural networks (DNN), support vector regression (SVR), and random forest (RF), the best machine learning algorithm was selected. By comparing the modeling scheme of direct single-output (ventilation rate) and indirect multiple-output (predict averaged air velocities normal to the openings, then calculate the ventilation rate), the performances of the machine learning models widely applied in ventilation rate prediction were evaluated. In addition, this paper further evaluated the impact of adding indoor air velocity measurement in ventilation rate prediction. The results showed that the modeling performance of the DNN algorithm (Mean Absolute Percentage Error (MAPE) = 20.1%) was better than those of the SVR (MAPE = 23.2%) and RF algorithm (MAPE = 21.0%). The scheme of multiple-output performed better (MAPE < 8%) than the single-output scheme (MAPE = 20.1%), where MAPE was the mean absolute percentage error. Additionally, the comparison of modeling schemes with different inputs showed that the predictive accuracy could be improved by adding indoor velocities to the inputs. The MAPE decreased from 7.7% in the scheme without indoor velocity to 4.4% in the scheme with one indoor velocity, and 3.1% in the scheme with two indoor velocities. The location of the additional air velocity affected the accuracy of the predictive model, with the ones at the bottom layer performing better in the prediction than those at the top layer. This study enables a real-time and accurate prediction of the ventilation rate of a barn and provides a recommendation for optimal indoor sensor placement.

Suggested Citation

  • Mengbing Cao & Qianying Yi & Kaiying Wang & Jiangong Li & Xiaoshuai Wang, 2023. "Predicting Ventilation Rate in a Naturally Ventilated Dairy Barn in Wind-Forced Conditions Using Machine Learning Techniques," Agriculture, MDPI, vol. 13(4), pages 1-18, April.
  • Handle: RePEc:gam:jagris:v:13:y:2023:i:4:p:837-:d:1117769
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2077-0472/13/4/837/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2077-0472/13/4/837/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:13:y:2023:i:4:p:837-:d:1117769. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.