Skip to content
Tactiverge

Mission Labs / ML-003 · NIGHT WATCH

Mission 003The Unstable Greenhouse

Warm enough, cheap enough, quiet enough. Pick all three.

Seedlings, a cold night and a heater controller that is either too lazy or too twitchy.

A small glass greenhouse at night under a crescent moon, seedlings inside, a thermometer beside it and a temperature trace dipping out of a shaded comfort band.

Technical briefing

A small glass greenhouse full of seedlings faces a cold night. Below 16 °C they suffer; above 24 °C they wilt. The heater controller has been tuned by guesswork.

Every fix trades something. Push harder and the heater wears out; hold a high target and the energy bill climbs; filter the noisy thermometer and the controller reacts late. Find designs that balance all three, and prove they keep working.

Engineering objectiveKeep the greenhouse in band all night while meeting each level's energy and switching limits.

Systems in play

  • Simulation OS · Greenhouse through a cold night (greenhouse-night)

No new physics: every number comes from an existing, tested Tactiverge model. These are simplified educational models, not engineering-grade tools.

Five levels, five different questions

  1. Level 1 · ExplorerCause and effect: how do the target and the gain change the coldest moment?Keep the seedlings between 16 and 24 °C all night on every trial, using at most 18 kWh.
  2. Level 2 · BuilderRules and debugging: why is the heater clicking all night?Stay in the 16–24 °C band on every trial, use at most 18 kWh, and switch the heater at most 30 times in the worst trial.
  3. Level 3 · InnovatorIntegration to a specification: reject a disturbance within budget.No time outside the band, at most 21 kWh and at most 30 switches in the worst trial, with the vent open for three hours.
  4. Level 4 · Systems EngineerDynamics and trade-offs: noise, lag and wear.Never outside the band, at most 22 kWh, and at most 15 heater switches in the worst trial, vent open for three hours.
  5. Level 5 · Research EngineerEvidence under uncertainty: a guarantee, not a lucky night.Over 12 seeded nights (thermometer σ 1.0 °C, vent open four hours): never outside the band, mean + 2 SD energy at most 23 kWh, mean switches at most 15.

Mission console

Choose a level, change the design, run seeded trials and read the automatic feedback. Your design and notes stay on this device unless you save them to your Journal.

Bringing the mission console online…

More than one way to win

These approaches all have honest costs. They describe ideas, not answers: the numbers are yours to find, and the model checks them.

  • Aim higher

    Raise the target so the coldest moment of the night stays above the limit, with a moderate gain.

    Gains

    • Simple, robust, few switches

    Costs

    • Pays for extra warmth all night, not just when it is needed

    Useful at levels 1, 2, 3, 4, 5

  • Push harder

    Increase the gain so small errors already bring strong heating.

    Gains

    • Sits closer to the target, so less wasted margin

    Costs

    • Reacts to thermometer noise: the heater chatters

    Useful at levels 1, 2

  • Strong gain behind a filter

    Keep a strong gain but average the thermometer over several minutes so noise no longer flips the heater.

    Gains

    • Close tracking without chatter

    Costs

    • The controller reacts late to real changes
    • Too long a window lets the house drift

    Useful at levels 2, 3, 4, 5

  • Add integral action

    Let an integral term build up extra heat while a steady loss, such as an open vent, keeps the house cold.

    Gains

    • Removes the lasting gap without a high target
    • Lower energy for the same safety

    Costs

    • Can overshoot after the disturbance ends
    • One more gain to tune

    Useful at levels 3, 4, 5

Assumptions and limits

Knowing what the model leaves out is part of the mission.

  • One well-mixed air volume (a single temperature).
  • Heat capacity and loss coefficient are illustrative values for a ~10 m² glass greenhouse, not measurements.
  • Outdoor temperature follows a smooth daily curve (11 °C at 15:00, 1 °C at 03:00).
  • PI controller with conditional-integration anti-windup; heater power is continuous between 0 and its rating.
  • One well-mixed air volume: no gradients, humidity, wind or plant transpiration.
  • Heat capacity and loss coefficients are illustrative values for a small glass greenhouse, not measurements.
  • Switches count changes between heating and not heating; real relay wear also depends on load and timing.

Go deeper

Content status: technically checked (automated tests run every level's starting design, which must fail, and at least two different approaches, which must pass). Written with AI assistance; not yet reviewed by an educator. Simulation only: never connected to physical hardware.