Skip to content

Airflow Lab 0.3.0

Choose a tag to compare

@jamesccupps jamesccupps released this 28 Nov 18:29
· 5 commits to main since this release

Buildings now leak air and lose heat through the floor, the way real ones do, and the first building checked against its own sensors is in the Examples list.

▶ Open it in your browser: nothing to install. To run it on your own computer, download Airflow-Lab.zip below, unzip it and start node serve.mjs (on Windows, double-click Start Airflow Lab.cmd). It needs Node.js 20 or newer, only to hand the files to the browser.

A real one-bedroom apartment on a cold night, in 3D: one heat pump head in the kitchen, the far rooms cooler

New

  • Air leaks (Conditions): Airtight, Tight, Average, Leaky or Very leaky, sized the way a blower-door test sizes a building (3 to 20 air changes an hour at 50 Pa). The outdoor air that really comes in follows from the weather, by the LBL model: more when it is colder or windier outdoors, about a twentieth of the blower-door number on a winter day. It trades places with the room air along the outside walls and takes heat, moisture, CO₂ and smoke with it.
  • Under the floor (Conditions): a heated room, a crawl space with or without floor insulation, an unheated basement, or a slab on the ground, which loses its heat around its edge.
  • Both work in flat air and 3D air, at any speed. A room's panel and the totals show what goes out through the walls, the ceiling, the floor and the leaks. Both are off in a new layout and in layouts saved before, so those run as they did.
  • A real apartment, checked against its sensors (Examples): a one-bedroom apartment drawn from its floor plan, with one heat pump head and a sensor in every room. With how leaky it is and what its head really holds picked to fit, the model puts all six rooms within about 2 °F of a night of real readings and draws about what the real heat pump is estimated to have used (it has no meter of its own). One night, two fitted settings: a fit, not a proof.

Fixed

  • A heat pump head hung flat on a wall lost heat and moisture in 3D air. The wall magnet of 0.2.0 puts a head flat against the wall, where its cells had the wall behind them and set air speeds on every other side. They sent out air they never got, and the solver made that air up with no heat or moisture in it: the room dried out and the unit ran flat out without warming it. Such cells now draw in at the top, as a real head does, or at the side when the ceiling is right above. Flat air was not affected. The apartment check found this.
  • Fast-forward in flat air let a whole room drift far too slowly. A room cooling back down, or drying out, lagged behind when the steps were long: one check room read 72.3 °F six hours on where the right answer, and the answer with short steps, is 69.1 °F. Its long steps now correct each room as a whole, as the 3D solver's did, and give the same answer at any step length.

How far to trust it

209 checks against known answers run on every change, 22 of them new: leaks against the handbook numbers and a hand sum of the heat they carry, a room drying at the rate of its leaks, CO₂ from a person settling where the leaks carry it off, each kind of floor against its hand sum, and a wall-hung heat pump keeping its room's heat and water. Still not modelled: the draught in at the floor and out at the ceiling that leaks make in winter, and the spaces under the floor as rooms of their own. The README lists the limits, and the roadmap has a new chapter on turning the lab into a planning tool: tracing a blueprint, typed sizes, a room-by-room heat-loss report, industrial buildings.