Hierarchical model predictive control of greenhouse energy systems considering energy-water-carbon-food nexus

Abstract

Greenhouse cultivation plays a vital role in ensuring food security but is often associated with high energy consumption, water usage, and carbon emissions. Integrating renewable energy systems for power supply and utilizing rainwater harvesting for irrigation can help address these challenges. However, balancing these interconnected factors requires advanced control strategies. In this study, we propose a hierarchical model predictive control (MPC) framework to optimize the management of grid-connected photovoltaic-battery systems in greenhouses, accounting for the interactions among energy use, water consumption, carbon emissions, and food production (EWCF nexus). The hierarchical MPC is structured in three layers: the first optimizes greenhouse operations to minimize total costs (MTC); the second manages the scheduling of the hybrid energy system to minimize operational cost (MOC); and the third designs an MPC controller to handle photovoltaic generation and load demand disturbances. Results show that the proposed MTC strategy reduces the total cost by 81.01% compared with the minimizing energy consumption strategy. Moreover, the MOC strategy reduces operational costs by 20.68% compared to the maximizing self-consumption strategy. In addition, the proposed MPC achieves superior performance in tracking the reference trajectory under varying disturbance levels compared to commonly used open loop controllers. This study provides practical guidance for greenhouse management by addressing key resource and environmental challenges, contributing to the sustainable development of controlled-environment agriculture. HIGHLIGHTS • Grid-connected PV–battery system powers greenhouses and reduces emissions. • Three-layer hierarchical control improves efficiency and operational flexibility. • Total cost optimization considers the energy–water–carbon–food nexus. • MPC-based energy management improves economy and robustness.

Description

DATA AVAILABILITY : Data will be made available on request.

Keywords

Model predictive control (MPC), Greenhouse cultivation, Food security, Carbon emissions, Renewable energy, EWCF nexus

Sustainable Development Goals

SDG-02: Zero hunger
SDG-07: Affordable and clean energy
SDG-09: Industry, innovation and infrastructure

Citation

Lin, D., Hu, M., Ren, Z. et al. 2026, 'Hierarchical model predictive control of greenhouse energy systems considering energy-water-carbon-food nexus', Energy, vol. 347, art. 140421, pp. 1-15, doi : 10.1016/j.energy.2026.140421.