Technology · AI and the control of building systems

AI and the control of building systems

Who should decide what the building's technical systems do? Our answer is that control must be predictable, and that AI belongs next to the control, not in it.

The BMS controls. The algorithm optimises. AI improves the algorithm.

01Control must be predictable

The actual control of building systems should sit in rule-based algorithms: reliable, predictable and possible to test. An operations technician must be able to see why a system does what it does, and the system must do the same tomorrow under the same conditions.

Language models in particular cannot promise that today. A language model can give different answers to the same question, and it cannot always explain how it reached an answer. That is acceptable in an analysis. It is not acceptable in controlling the ventilation in a hospital.

02AI belongs in the analysis

AI is good at finding patterns in large amounts of data. That is why AI should be used to check whether the algorithms work as intended, and to make them better.

This can happen in two ways. Either AI gives the user or the programmer a recommendation on what should be changed. Or AI adjusts the algorithm's settings itself, within the limits the user has set.

In both cases AI does not affect the BMS directly. A change only takes effect through the optimisation algorithm and within the limits the BMS sets.

03Three layers, each with its own job

  • The BMS carries out the basic control: PID loops, control, on/off, frost protection and safety functions. It also works when the two other layers are switched off.
  • The optimisation algorithm runs in a separate environment. We recommend a local edge server in the building. It calculates values for selected parameters and sends them to the BMS.
  • AI analyses data and the algorithm's results, and proposes or makes changes to the algorithm. AI has no direct access to the BMS.

04Selected parameters, not the whole system

The BMS is built as a traditional system and exposes a limited number of parameters over BACnet that an optimisation algorithm may adjust. These could be room temperature setpoints, the supply temperature in a heating circuit, and start and stop of plant.

For each parameter, the BMS lets you choose whether external optimisation is allowed, or whether the parameter is controlled traditionally. The choice can be changed at any time, parameter by parameter. You can start with one heating circuit and extend once you have seen that it works.

Local conditions always take precedence. Fire control, frost protection, service and manual operation override an external value, whatever the algorithm sends.

05The building owner chooses model and access

When the interface is an open protocol and a known set of parameters, optimisation is not tied to a specific supplier. The building owner can choose which optimisation model to use, and how much access it gets.

One algorithm can be replaced by another, or by one you have developed yourself, without touching the BMS.

06Governing the changes

When AI may change the optimisation algorithm, it must be possible to see what has changed and who decided it.

  • Approval. The user chooses whether AI's proposals require approval before they are used, or whether AI may adjust the algorithm itself within set limits.
  • Versions. Every change to the algorithm is saved as a new version with time and reason, and an earlier version can be brought back into use.
  • Responsibility. It is agreed who owns the BMS, who owns the algorithm, and who may change the limits.
  • Access. The optimisation layer only gets access to the exposed parameters, on the technical network and not from the internet. See IT security and data.

07When something goes wrong

External optimisation must never make the plant less reliable than it was without it. This has to be programmed in the BMS and tested.

  • Limits. The BMS sets a minimum and a maximum for each parameter.
  • Fallback. If the BMS does not receive a valid value within an agreed time, it returns to local control by itself.
  • Log. Every external change is logged with time, value and sender, so you can see afterwards what the algorithm did and what it achieved.

For the specification

The system shall expose the following parameters as writable BACnet objects with a priority array (commandable objects):

  • setpoints for room controls, heating/cooling circuits, ventilation units
  • start/stop of heating/cooling circuits, ventilation units

(The list is adapted to the project.)

For each parameter it shall be possible to select on the system whether external optimisation is allowed. Under external optimisation the value is limited by minimum and maximum values set on the system. The system shall monitor the communication and return to local control by itself if no valid value has been received within a time set in the project (e.g. 1200 s). Safety functions, frost protection, fire control and manual operation always take precedence over external values.

All external changes shall be logged with time, value and sender. The function is documented in the point list and tested at handover, including limits, fallback on communication failure and manual override.

08In short

AI helps understand the building and improve the algorithms. The algorithm optimises operation. The BMS controls, and it also works without the other two.

This is how we think about CX2 Algorithm, the planned layer on top of CX2 Open.

Do you have a technical question?

Book a 45-minute meeting, or write to us.

cx1@cx1.dk