Skip to content
Tactiverge

School/□ Systems Engineer/Week 12

A greenhouse is a first-order system

Open the greenhouse door on a cold morning and the air cools in minutes. Shut it and the heater takes far longer to win it back. Why the asymmetry?

About 40 min · 3 goals · Checked by automated tests

1.Why should I care?

Thermal systems are the classic first-order plant, and they are everywhere: homes, ovens, battery packs, data centres. Model one carefully and you have a template for all of them.

  • ◇ Derive a first-order thermal model C·dT/dt = P − G·(T − T_out) and identify its τ and K.
  • ◇ Predict the greenhouse's step response to a heater change and check it in simulation.
  • ◇ Explain how changing insulation or air volume changes τ and K.

2.Discover

Open the Smart Greenhouse at Level 2. Switch the heater on at a fixed power with no control and log the air temperature. Mark the 63 % point and estimate τ. Then predict, before running it, what happens when you halve the heater power.

Can't use the interactive? Read a description instead

With the heater switched on at fixed power, the greenhouse air temperature rises steeply at first and then levels off at a few degrees above outside, following a first-order curve. Halving the heater power halves the final rise but leaves the time to reach 63 % unchanged.

3.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

A greenhouse has heat capacity C = 900 kJ/K and loss coefficient G = 500 W/K. What is τ, in minutes?

min

4.Apply it

In the Smart Greenhouse build, compare the step response with two different insulation or ventilation settings. Fit τ and K to both and check that the ratio of τ values matches the ratio you'd predict from τ = C/G.

Open BUILD 007: Design a Smart Greenhouse →

5.Understand

An energy balance is a first-order model

One energy store (the air and contents), one way in (the heater), one way out (the walls): C·dT/dt = P − G·(T − T_out). Rearranged, it is exactly τ·dy/dt + y = K·u with y = T − T_out, τ = C/G and K = 1/G.

Why cooling can be faster than heating

Opening the door makes G much larger, so τ = C/G becomes much smaller and the air rushes towards T_out. Shut the door and G drops back; now the heater fights the slow τ. The model is the same equation with a different parameter, which is why the asymmetry isn't mysterious.

The model's honest limits

One lumped temperature assumes the air is well mixed. Real greenhouses have warm ceilings and cold floors, soil that stores heat with its own slow τ, and sunshine that varies. A first-order model is a good start for control design; it isn't a full thermal simulation.

Explain it another way

The greenhouse is a leaky bucket of heat. The heater pours in; the walls leak out faster the hotter it is inside. Bigger bucket or smaller leak: slower to change.

Derivation: From an energy balance to τ and K
  1. Energy stored in the air and plants: C·T, with C the heat capacity (J/K). Its rate of change = heat in − heat out.

  2. Heat in: heater power P. Heat out through the walls: G·(T − T_out), with G the loss coefficient (W/K).

  3. So C·dT/dt = P − G·(T − T_out). Divide by G: (C/G)·dT/dt + (T − T_out) = P/G.

  4. Compare with τ·dy/dt + y = K·u, where y = T − T_out and u = P: τ = C/G and K = 1/G.

  5. Better insulation (smaller G) raises both τ and K: slower to respond, but each watt buys more temperature.

Worked example 1

A greenhouse settles 8 °C above outside with its heater on, and τ = 15 min. Starting at outside temperature, how far above outside is it after 30 min?

y(30) = 8(1 − e^(−30/15)) = 8(1 − 0.135) = 6.92 °C above outside.

Common mix-ups

  • Better insulation makes a building heat up faster.
    ✓ It raises the final temperature for the same heater but also raises τ, so the approach is slower.

6.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

Same greenhouse (G = 500 W/K) with a 3 kW heater. What steady temperature rise above outside does it reach, in °C?

°C

Practice 3

Opening the door multiplies G by 5. What happens to τ?

Practice 4 · a fresh version every time

A first-order system τ·dy/dt + y = K·u starts at rest (y = 0). Its parameters are K = 2 and τ = 12 s, and a step input u = 5 is applied at time zero. What is y at t = 36 s?

Practice 5

When is a one-temperature (lumped) greenhouse model likely to fail?

7.Predict

You double the greenhouse's insulation (halve G). What happens to the time constant τ = C/G?

Guess first. Being wrong here is how the surprise works.

8.Reflect

Concepts: First-order systems and the time constant · Open-loop and closed-loop control · The sense–think–act loop