← Latest papers
⚡ electrical engineering

Improving greenhouse fruit-production control by integrating reinforcement learning into short-horizon model predictive control

This paper proposes a trajectory-selection RL-MPC framework that integrates long-term economic insights from reinforcement learning into short-horizon model predictive control to effectively balance fruit yield and operating costs while respecting system constraints in greenhouse tomato production.

Original authors: Bart van Laatum, Salim Msaad, Eldert J. van Henten, Robert D. McAllister, Sjoerd Boersma

Published 2026-07-09
📖 5 min read🧠 Deep dive

Original authors: Bart van Laatum, Salim Msaad, Eldert J. van Henten, Robert D. McAllister, Sjoerd Boersma

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: The Greenhouse Dilemma

Imagine you are the manager of a high-tech tomato greenhouse. Your goal is simple: grow as many tomatoes as possible to make money, but spend as little as possible on heating, electricity, and CO2 to keep the plants alive.

However, you face a tricky problem:

  1. The "Myopic" Problem (Short-sightedness): If you only look at the next hour, you might turn off the heater to save money. But if you do that, the plants get cold, stop growing, and you lose money later. You need to balance today's costs with tomorrow's harvest.
  2. The "Long-Horizon" Problem: To make the perfect decision, you should look weeks ahead (since tomatoes take weeks to grow). But the math required to calculate the perfect plan for weeks is so complex that computers can't solve it fast enough in real-time.
  3. The "Weather" Problem: You can't control the weather outside. If you plan for a sunny day but it rains, your plan fails.

The Two Old Solutions (and why they weren't perfect)

The researchers looked at two existing ways to solve this:

  • The "Calculator" (Model Predictive Control or MPC): This is like a very strict accountant. It looks at the next hour, checks the weather forecast, and calculates the best way to save money right now.
    • The Flaw: It's too short-sighted. It doesn't "see" that turning off the heater today will kill the fruit growth next week. It saves pennies today but loses dollars tomorrow.
  • The "Intuitive Expert" (Reinforcement Learning or RL): This is like a veteran farmer who has seen thousands of seasons. It learns a "gut feeling" (a policy) over time that knows how to balance costs and growth over the long term.
    • The Flaw: It's a bit reckless. It might ignore strict rules (like "don't let humidity get too high") because it's focused on the big picture. Also, if the weather is weird and different from what it learned, it might make mistakes.

The New Solution: The "Hybrid Coach" (Trajectory-Selection RL-MPC)

The authors created a new system that combines the best of both worlds. Think of it as a Hybrid Coach that uses two assistants to make the final decision every 5 minutes.

Here is how the "Hybrid Coach" works:

  1. The Long-Term Visionary (The RL Assistant):
    The system first asks the "Intuitive Expert" (the RL policy) to imagine a path for the next hour. "If we follow your gut feeling, where will we be in an hour?" The Expert gives a plan that keeps the long-term economic goals in mind (like ensuring the fruit keeps growing).

  2. The Strict Accountant (The MPC Assistant):
    Next, the system asks the "Calculator" (MPC) to plan the next hour. But here's the trick: The Calculator is told, "You must end up roughly where the Expert suggested you end up." This forces the Calculator to respect the long-term goals while still doing its job of checking the immediate weather and strict safety rules (like humidity limits).

  3. The Final Decision (The Selection Mechanism):
    Now, the system has two plans for the next hour:

    • Plan A: The Expert's long-term vision.
    • Plan B: The Accountant's refined, rule-abiding version.

    The system calculates the score for both plans. It picks the one with the higher score and executes only the first step of that plan. Then, 5 minutes later, it repeats the whole process with new weather data.

Why This Works (The Results)

The researchers tested this on a massive, complex computer model of a tomato greenhouse called "GreenLight."

  • The "Specialist" Test: They trained the Expert on just one specific weather day. When they tested the Hybrid Coach on that same day, it performed just as well as the Expert (who knew the day perfectly) but was much better than the Calculator alone.
    • Analogy: It's like having a chess grandmaster (Expert) and a computer engine (Calculator). The Hybrid Coach lets the grandmaster set the strategy, but the engine checks if the move is legal and safe.
  • The "Generalist" Test: They trained the Expert on many different weather days and then tested it on new days it had never seen before.
    • The Result: The Hybrid Coach beat the Expert by 54% and beat the Calculator by 80%.
    • Why? The Expert was good at the big picture but sometimes broke the rules (like letting humidity get too high). The Calculator was good at the rules but too short-sighted. The Hybrid Coach used the Expert's long-term vision to guide the Calculator, but the Calculator's strict math kept the system safe and saved money on heating and electricity.

The Bottom Line

This paper proves that you don't have to choose between "long-term wisdom" and "short-term safety." By letting a smart AI (RL) guide a strict calculator (MPC) and then picking the best of the two plans every few minutes, you can run a greenhouse more profitably, even when the weather is unpredictable.

Key Takeaway: The system doesn't just guess; it simulates two different futures every few minutes, picks the winner, and executes the first move. This allows it to handle the complex, slow growth of tomatoes without getting overwhelmed by the math.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →