Skip to content
Jupiter documentation
Menu

Limits of the model

What the room model assumes, what it leaves out, and which parts of control are untested on hardware.

What the model assumes#

The forecast and the fit use one equation for each room:

  • One thermal node per room. The air, walls, furniture and floor share one temperature. A room that cools fast at first and slowly later fits this model less well.
  • Power is a proxy for cooling delivered. P is the electrical input in kW, and c is the effective room cooling per electrical kW, in K/h. The fit folds the unit's efficiency and the airflow into c. A correction moves c with the outdoor temperature and the room humidity when the readings support it.
  • k and g are constants. k is the heat gain toward outdoors, and g is the steady internal gain from people and appliances.
  • Rooms with several room sensors use their median. A sensor that stalls drops out of the median.

What the model does not include#

  • No humidity node. Room humidity enters only as a correction to c, and only with a room humidity sensor. AC dry intervals and AC heat intervals are kept out of the cooling fit and have their own models.
  • No solar node. Solar gain enters as a correction to g, and only with a window area set. It has no lag: sun that heats a wall for hours is not modelled.
  • A correction is kept only when it lowers the error on the newest 30 % of the readings by 3 %. A room with under 12 hours of readings that carry a term has no correction for it.
  • The heating model has one rate per device, constant at every outdoor temperature. A heat pump whose output falls on a cold day heats slower than the forecast.
  • The drying model is one rate in percent per hour. It does not depend on the humidity or the temperature.
  • No door or window opening, no occupancy change and no other heat source inside the fit. These show as noise, and the outlier filter drops the worst of them.
  • No second room. Each entry models one room. Two rooms that exchange heat are two separate fits.

What the forecast assumes#

forecast() steps the model forward in 1-minute steps.

  • The AC runs at a constant power for the whole forecast. A unit that cycles uses less energy, so the energy figure is an upper bound.
  • Without a weather entity, the outdoor temperature stays at its current value. A room that is cooling toward evening is forecast as if the outdoor temperature did not fall.
  • With a weather entity, the outdoor temperature follows the hourly forecast, corrected by the learned difference between the outdoor sensor and the forecast. The forecast is then as good as the weather forecast for the site.
  • The price slots set the cost. A minute with no slot has no cost.
  • The forecast stops after 12 hours and reports not reached within 12 hours when the room settles above the target.

What this means for a reading#

  • The forecast is most reliable on a day like the days in the stored samples. A heatwave or a cold snap lies outside the fitted range.
  • The range between minutes_low and minutes_high comes from the standard error of c. It does not include the errors listed above. The range_coverage_pct attribute of the Forecast error sensor shows how often past cool-downs fell inside it.
  • The fit needs at least 3 hours of AC on and off time over 3 runs. Until then the status reads learning.

Known limits of control#

  • Setpoint regulation covers the first AC. A second AC and fleet climates get the plain target.
  • A PID heater settles up to 0.5 K below the heat target, because it stops one deadband below it.
  • In dry and fan_only the room thermostat shows one temperature, the cool target.
  • The thermostat's fan mode, swing mode and fan_only mode are those of the first AC. A second AC and fleet devices have none.
  • The humidity target sets the level the room dries above. The humidifier limit follows it and has no control of its own.
  • Home Assistant's documentation says no temperature is set in auto. A room that only cools still takes one target in auto, because its automatic mode adds free cooling to what cool does. A room that heats and cools uses heat_cool, as documented.
  • The Heatwave sensor is information only. It changes no device command.
  • Two profiles of the simulation suite fail by design and are marked as expected failures: an 8 kW AC overshoots a small room, and the small unit's fitted rate collapses in economy mode with two ACs.
  • The watchdog and the tick run in the same Home Assistant process. A process that hangs or loses power runs neither. A device that must fail off needs its own thermostat or timer.
  • commands_unconfirmed reports a device that did not follow a command. It does not act on it, apart from the command that each tick sends again.

What has run on real devices#

A row with no under Real device is untested on hardware. Start it in observe-only and watch the first runs.

Source: belikh/hvac-horizon v0.8.0