Short-term forecasting and predictive control of rooftop greenhouse microclimate using multi-horizon machine learning models

• Multiple greenhouse temperature forecasting data-driven models evaluated. • Novel application of machine learning to building-integrated smart greenhouses. • Three temporal horizons studied for model predictive control application. • Robust results show consistent R 2 above 0.96 with real data for all time horizons. • Fuzzy control outperforms threshold control reaching more than 60% energy savings. This study presents a data-driven forecasting and control framework tailored to rooftop smart greenhouses integrated into buildings for urban agriculture—a context rarely addressed in existing literature. By combining internal environmental data, external meteorological inputs, and actuator operation states, the framework enables short-term temperature forecasting with high temporal resolution (5, 10, and 15-minute horizons). Advanced feature engineering techniques—including lag variables, rolling statistics, and derived indicators—were applied to capture complex greenhouse dynamics. Seven regression-based machine learning models (namely, Decision Tree, Random Forest, Gradient Boosting, XGBoost, LightGBM, Support Vector Regression, and Multi-layer Perceptron) were trained and systematically compared using cross-validation and SHAP-based interpretability. The best-performing model for each horizon was selected and integrated into a threshold-based and a fuzzy logic-based predictive control system. Results from real-world rooftop greenhouse data show robust forecasting performance (R² > 0.98, MAE between 0.280 and 0.311, and RMSE between 0.638 and 0.728 for the best performing model across all horizons) and demonstrate that the fuzzy controller achieved over 60% energy savings compared to traditional threshold-based strategies, while maintaining climate stability. This work highlights the feasibility of deploying data-driven MPC strategies in building-integrated greenhouse environments and their compatibility with digital twin ecosystems. It also identifies key challenges for generalization, including dataset size, system configuration, and geographical variability.

Authors

Publication Details

Journal
Smart Agricultural Technology
Published
2025-12-17
DOI
https://doi.org/10.1016/j.atech.2025.101733
Primary Topic
Greenhouse Technology and Climate Control
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Short-term forecasting and predictive control of rooftop greenhouse microclimate using multi-horizon machine learning models

Michele Albano, Marcel Macarulla, Yunyao Cheng, Joaquim Cebolla-Alemany et al.
Smart Agricultural Technology
Greenhouse Technology and Climate Control
article

Short-term forecasting and predictive control of rooftop greenhouse microclimate using multi-horizon machine learning models

Michele Albano, Marcel Macarulla, Yunyao Cheng, Joaquim Cebolla-Alemany, Santiago Gassó, L.M.V.G. Pinto
article en

Abstract

• Multiple greenhouse temperature forecasting data-driven models evaluated. • Novel application of machine learning to building-integrated smart greenhouses. • Three temporal horizons studied for model predictive control application. • Robust results show consistent R 2 above 0.96 with real data for all time horizons. • Fuzzy control outperforms threshold control reaching more than 60% energy savings. This study presents a data-driven forecasting and control framework tailored to rooftop smart greenhouses integrated into buildings for urban agriculture—a context rarely addressed in existing literature. By combining internal environmental data, external meteorological inputs, and actuator operation states, the framework enables short-term temperature forecasting with high temporal resolution (5, 10, and 15-minute horizons). Advanced feature engineering techniques—including lag variables, rolling statistics, and derived indicators—were applied to capture complex greenhouse dynamics. Seven regression-based machine learning models (namely, Decision Tree, Random Forest, Gradient Boosting, XGBoost, LightGBM, Support Vector Regression, and Multi-layer Perceptron) were trained and systematically compared using cross-validation and SHAP-based interpretability. The best-performing model for each horizon was selected and integrated into a threshold-based and a fuzzy logic-based predictive control system. Results from real-world rooftop greenhouse data show robust forecasting performance (R² > 0.98, MAE between 0.280 and 0.311, and RMSE between 0.638 and 0.728 for the best performing model across all horizons) and demonstrate that the fuzzy controller achieved over 60% energy savings compared to traditional threshold-based strategies, while maintaining climate stability. This work highlights the feasibility of deploying data-driven MPC strategies in building-integrated greenhouse environments and their compatibility with digital twin ecosystems. It also identifies key challenges for generalization, including dataset size, system configuration, and geographical variability.

Smart Agricultural TechnologyVol. 13
ITEA, European Commission, Universitat Politècnica de Catalunya, Agència de Gestió d'Ajuts Universitaris i de Recerca, Agencia Estatal de Investigación
Openalex Percentile: Top 70%
Greenhouse Technology and Climate Control
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.