Proceedings of ESCAPE 35ISSN: 2818-4734
Volume: 4 (2025)
Table of Contents
LAPSE:2025.0334
Published Article
LAPSE:2025.0334
Data-Driven Reinforcement Learning for Greenhouse Temperature Control
Farhat Mahmood, Sarah Namany, Rajesh Govindan
June 27, 2025
Abstract
Efficient temperature control in greenhouses is essential for optimal plant growth, especially in arid regions where the harsh environment poses significant challenges to maintaining a stable microclimate. Maintaining the optimum temperature range directly influences healthy plant development and overall agricultural productivity, impacting crop yields and financial outcomes. However, the greenhouse in the present case study fails to maintain the optimum temperature as it operates based on predefined settings, limiting its ability to adapt to dynamic climate conditions. To maintain an ideal temperature range within the greenhouse while dynamically adapting to fluctuating external conditions, this study introduces a control framework using Deep Deterministic Policy Gradient, a model-free deep reinforcement learning algorithm, to optimize temperature control in the closed greenhouse. A deep neural network is trained using historical data collected from the greenhouse to accurately represent the nonlinear behavior of the greenhouse system under varying conditions. The deep deterministic policy gradient algorithm learns optimal control policy by interacting with a simulated greenhouse environment, continuously adapting without needing an explicit system dynamics model. Results from the study demonstrated that, over a five-day simulation period, the deep deterministic policy gradient control system outperformed the existing greenhouse climate system in temperature regulation. It achieved a mean squared error of 0.01°C and a mean absolute error of 0.13°C. Additionally, the deep deterministic policy gradient algorithm demonstrated a significant improvement in energy efficiency, reducing total energy consumption by 6.80% compared to the current system.
Keywords
Closed environment agriculture, Greenhouse temperature control, Reinforcement learning
Suggested Citation
Mahmood F, Namany S, Govindan R. Data-Driven Reinforcement Learning for Greenhouse Temperature Control. Systems and Control Transactions 4:1133-1138 (2025) https://doi.org/10.69997/sct.189272
Author Affiliations
Mahmood F: College of Science and Engineering, Hamad Bin Khalifa University, Qatar Foundation, Doha, Qatar
Namany S: College of Science and Engineering, Hamad Bin Khalifa University, Qatar Foundation, Doha, Qatar
Govindan R: College of Science and Engineering, Hamad Bin Khalifa University, Qatar Foundation, Doha, Qatar
Journal Name
Systems and Control Transactions
Volume
4
First Page
1133
Last Page
1138
Year
2025
Publication Date
2025-07-01
Version Comments
Original Submission
Other Meta
PII: 1133-1138-1429-SCT-4-2025, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2025.0334
This Record
External Link

https://doi.org/10.69997/sct.189272
Article DOI
Download
Files
Jun 27, 2025
Main Article
License
CC BY-SA 4.0
Meta
Record Statistics
Record Views
1069
Version History
[v1] (Original Submission)
Jun 27, 2025
 
Verified by curator on
Jun 27, 2025
This Version Number
v1
Citations
Most Recent
This Version
URL Here
http://psecommunity.org/LAPSE:2025.0334
 
Record Owner
PSE Press
Links to Related Works
Directly Related to This Work
Article DOI
References Cited
  1. Mahmood F, Govindan R, Yang D, Bermak A, Al-Ansari T. Forecasting cooling load and water demand of a semi-closed greenhouse using a hybrid modelling approach. International Journal of Ambient Energy. 2022 Dec 31;43(1):8046-66 https://doi.org/10.1080/01430750.2022.2088617
  2. Sajid MU, Mahmood F, Bicer Y, Al-Ansari T. Cost analysis of agricultural greenhouse yield production using spectrum selective fluids. Solar Energy. 2024 Jun;275:112607 https://doi.org/10.1016/j.solener.2024.112607
  3. Mahmood F, Ghiat I, Hazrat B, Luqman M, Al-Ansari T. A framework based on an input-yield model for greenhouse optimisation for varying environmental conditions. Energy Conversion and Management: X. 2024 Apr;22:100555 https://doi.org/10.1016/j.ecmx.2024.100555
  4. Goldenits G, Mallinger K, Raubitzek S, Neubauer T. Current applications and potential future directions of reinforcement learning-based Digital Twins in agriculture. Smart Agricultural Technology. 2024 Aug;8:100512 https://doi.org/10.1016/j.atech.2024.100512
  5. Ajagekar A, Mattson NS, You F. Energy-efficient AI-based Control of Semi-closed Greenhouses Leveraging Robust Optimization in Deep Reinforcement Learning. Advances in Applied Energy. 2023 Feb;9:100119 https://doi.org/10.1016/j.adapen.2022.100119
  6. Ajagekar A, Decardi-Nelson B, You F. Energy management for demand response in networked greenhouses with multi-agent deep reinforcement learning. Appl Energy. 2024 Feb;355:122349 https://doi.org/10.1016/j.apenergy.2023.122349
  7. Tan H. Reinforcement Learning with Deep Deterministic Policy Gradient. In: 2021 International Conference on Artificial Intelligence, Big Data and Algorithms (CAIBDA). IEEE; 2021. p. 82-5 https://doi.org/10.1109/CAIBDA53561.2021.00025
  8. Morcego B, Yin W, Boersma S, van Henten E, Puig V, Sun C. Reinforcement Learning versus Model Predictive Control on greenhouse climate control. Comput Electron Agric. 2023 Dec;215:108372 https://doi.org/10.1016/j.compag.2023.108372
  9. Imambi S, Prakash KB, Kanagachidambaresan GR. PyTorch. In 2021. p. 87-104 https://doi.org/10.1007/978-3-030-57077-4_10