System Architecture

Balancing Competing Demands Across the P-Block Project

System Architecture Overview


The figure above illustrates how our intelligent building management system connects sensors, cloud infrastructure, an AI model, and the building’s existing control systems into a unified, automated platform.

How the system works

How do we select the appropriate IAQ monitor?

Why cloud storage?

How control signals reach the BMS — reliably and securely

  1. Low latency and local deployment. Rather than routing control signals through an external server, the AI model runs on a local workstation within the building. This keeps communication between the AI and the BMS on the local network, minimising delays and reducing exposure to external network disruptions.
  2. Reliability through redundancy. To prevent a single communication failure from affecting building operations, the system can use redundant communication channels, for example, running wired Ethernet alongside wireless as a fallback. The BMS also includes fail-safe defaults: if a control signal is delayed or lost, the system reverts to predefined, safe operating settings. Heartbeat monitoring between the AI workstation and BMS ensures that any connectivity disruption triggers an immediate alert.
  3. Secure transmission. All control commands are validated before reaching the BMS, protecting against unauthorised access or signal tampering.
  4. Integration via existing BMS APIs. Rather than bypassing or replacing the existing system, the AI model works through the BMS’s own application programming interface (API). Crucially, the AI only suggests changes to setpoints, such as a target indoor temperature, rather than issuing direct commands to individual fans or dampers. This keeps integration straightforward and avoids the need to redesign the existing control infrastructure.

The AI model — balancing three objectives simultaneously

To handle this, the system uses deep reinforcement learning (DRL), an approach where the AI learns optimal control strategies by interacting with the building environment over time, guided by a reward function that balances all three objectives. Unlike rule-based systems or static models, an RL agent can dynamically shift its priorities in response to context. For example, prioritising air quality during a high-pollution event, or focusing on energy savings during off-peak hours.

Advantages: The approach is highly flexible and does not require an exhaustive manual specification of every possible scenario. It can also adapt across different building types and operational patterns.

Limitations to be aware of: Reinforcement learning requires substantial data or simulation environments during the training phase. Poorly designed reward functions can produce unintended behaviours, and policies trained in simulation may need careful validation before deployment in the real building.

Validation and safety before live deployment

Shadow model testing. The AI runs in parallel with the existing BMS, observing conditions and generating recommendations, without executing any of those recommendations. This allows the team to benchmark performance, detect anomalies, and verify compliance with local building codes for ventilation and temperature, without any risk to occupants.

Manual override capability. Facility managers retain full authority to override any AI decision at any time. Anomaly detection algorithms monitor AI outputs for unusual patterns, such as extreme setpoint changes, and flag them for human review. Override controls are integrated directly into the BMS interface for immediate access.