NODES - SPOKE 6 Project FORMIDABILÆ - D4.2 Simulation model for heat stress scenarios

This document focused on predicting milk yield and monitoring heat stress in dairy cows using data-driven and machine-learning approaches. Data from commercial farms in Italy were collected during summer 2022, including daily milk yield, parity, lactation stage, milking information, feed intake, and environmental data (temperature, humidity, THI). Several prediction models were tested: a General Linear Model (GLM) and machine learning algorithms (Random Forest, Gradient Boosting Machine, and Extreme Gradient Boosting). In internal validation, GBM achieved the highest accuracy, but in external validation on an independent farm, GLM performed best, showing the highest generalizability and the lowest prediction error. A deep learning forecasting system was developed using TimeSeries K-Means clustering and LSTM neural networks to predict next-day milk yield from the previous 7 days of data. Grouping cows by production patterns improved prediction accuracy and adaptability, especially during heat waves. Based on these results, Heat Guard, a decision-support application, was developed in both web (Shiny) and Android formats. The app automatically calculates heat-stress indices (THI, Adjusted THI, ETIC), classifies risk levels, and provides 5-day forecasts using real-time weather data. In addition, an interactive Heat Guard chatbot was developed using Zephyr-7B and semantic search to answer questions related to heat stress management. Overall, the outcomes demonstrate that combining predictive modeling, real-time monitoring tools, and AI-based decision support can improve management responses to heat stress and support farmers in maintaining milk production efficiency under future climate challenges. This document is a deliverable of the project FORMIDABILÆ ("Forage system to make resilient Maize, Dairy and Biogas supply chains for a Lasting Agricultural Ecosystem"), which promotes approaches aimed at improving the smart, resilient, circular and diversified farm to ensure food security and social economic sustainability of dairy food chains with the aim of reducing greenhouse gas emissions in this sector. This document is part of the project NODES which has received funding from the MUR – Missione 4, Componente 2, Investimento 1.5 – Creazione e rafforzamento di “Ecosistemi dell’innovazione”, costruzione di “leader territoriali di R&S'' – del PNRR funded by the European Union - NextGenerationEU with grant agreement no. ECS00000036

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-11-06
DOI
https://doi.org/10.5281/zenodo.17540522
Primary Topic
Effects of Environmental Stressors on Livestock
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

NODES - SPOKE 6 Project FORMIDABILÆ - D4.2 Simulation model for heat stress scenarios

Zenodo (CERN European Organization for Nuclear Research)
Effects of Environmental Stressors on Livestock
article

NODES - SPOKE 6 Project FORMIDABILÆ - D4.2 Simulation model for heat stress scenarios

article en

Abstract

This document focused on predicting milk yield and monitoring heat stress in dairy cows using data-driven and machine-learning approaches. Data from commercial farms in Italy were collected during summer 2022, including daily milk yield, parity, lactation stage, milking information, feed intake, and environmental data (temperature, humidity, THI). Several prediction models were tested: a General Linear Model (GLM) and machine learning algorithms (Random Forest, Gradient Boosting Machine, and Extreme Gradient Boosting). In internal validation, GBM achieved the highest accuracy, but in external validation on an independent farm, GLM performed best, showing the highest generalizability and the lowest prediction error. A deep learning forecasting system was developed using TimeSeries K-Means clustering and LSTM neural networks to predict next-day milk yield from the previous 7 days of data. Grouping cows by production patterns improved prediction accuracy and adaptability, especially during heat waves. Based on these results, Heat Guard, a decision-support application, was developed in both web (Shiny) and Android formats. The app automatically calculates heat-stress indices (THI, Adjusted THI, ETIC), classifies risk levels, and provides 5-day forecasts using real-time weather data. In addition, an interactive Heat Guard chatbot was developed using Zephyr-7B and semantic search to answer questions related to heat stress management. Overall, the outcomes demonstrate that combining predictive modeling, real-time monitoring tools, and AI-based decision support can improve management responses to heat stress and support farmers in maintaining milk production efficiency under future climate challenges. This document is a deliverable of the project FORMIDABILÆ ("Forage system to make resilient Maize, Dairy and Biogas supply chains for a Lasting Agricultural Ecosystem"), which promotes approaches aimed at improving the smart, resilient, circular and diversified farm to ensure food security and social economic sustainability of dairy food chains with the aim of reducing greenhouse gas emissions in this sector. This document is part of the project NODES which has received funding from the MUR – Missione 4, Componente 2, Investimento 1.5 – Creazione e rafforzamento di “Ecosistemi dell’innovazione”, costruzione di “leader territoriali di R&S'' – del PNRR funded by the European Union - NextGenerationEU with grant agreement no. ECS00000036

Zenodo (CERN European Organization for Nuclear Research)
Zero hunger
Openalex Percentile: Top 42%
Effects of Environmental Stressors on Livestock
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.