Skip to main content

Buildings are graphs

A building isn’t a list of sensors. It’s a network of equipment distributing air, water, and electricity through chains: heat exchangers feeding AHUs feeding VAVs feeding zones. Each piece of equipment contains sub-components (fans, coils, dampers), attaches to sensors and setpoints, sits on a floor, and feeds a zone. This graph is what you query. Every relationship has a direction and a meaning:

Equipment topology: feeds

feeds captures how equipment distributes a medium through a building. This is the backbone of every HVAC system:
The HIU (Heat Interface Unit) receives hot water from the district energy network and feeds it to the AHU’s heating coil. The AHU conditions air and feeds it to VAV boxes. Each VAV feeds a zone. The medium changes at each stage: hot water becomes conditioned air.

One-hop: feeds and fedBy

Query direct connections: what this equipment feeds, or what feeds it:
feeds and fedBy return direct connections only (one hop). For the full chain (HIU → AHU → VAV → zone), use upstream and downstream.

Transitive: upstream and downstream

upstream and downstream follow feeds chains to any depth. This is the most powerful query in the API. Upstream: “What feeds this?” Start from an endpoint and trace back to the source:
One query, full chain: Library ← TW01-LBR-RPC-01 ← TW01-XX-AHU-001 ← Tower West HIU System. Without traversal, this takes four sequential API calls with stop-condition logic. Downstream: “What does this feed?” Start from a source and find everything it reaches:
Returns every AHU, VAV, and zone the HIU ultimately feeds.

Filtering traversals

Control what the traversal returns:

Equipment composition: parts

An AHU isn’t a black box. It contains fans, coils, dampers, and filters. parts exposes this composition:
Use partOf to go the other direction, from a component back to its parent:
parts is equipment composition (fan inside AHU). feeds is medium distribution (AHU supplies air to VAV). A supply fan is a part of the AHU, but the AHU feeds the VAV.

Telemetry: points

Every piece of equipment has sensors, setpoints, and commands attached through points:
A typical AHU has 10-20 points across all six Brick point types: Brick defines six Point subtypes. Use is to query any of them:
See points reference for the full cross-cutting query surface.

Spatial: location

Equipment sits somewhere physical. location tells you where:
The spatial hierarchy runs Building → Wing → Floor → Room. Query it from the building level:

Zones: feeds to zones

Zones are the spaces that equipment conditions. In Brick, a VAV box feeds one or more HVAC zones, using the same feeds relationship used between equipment. From a zone, use fedBy to find the equipment that conditions it.

Combining relationships

The real power is combining multiple relationships in a single query. Each example below is one request.

Root cause analysis

A zone is too warm. Is the problem the VAV, the AHU, or the HIU?
Read the response top-down: if Library is 26°C but the AHU supply air is 14°C, the problem is the VAV (damper stuck, reheat on). If the AHU supply air is also 22°C, the problem is upstream, so check the HIU.

Impact analysis

The Tower East HIU System is going down for maintenance. Which zones will lose conditioning?

Full equipment diagnostic

Get everything about an AHU: its parts, their sensors, what it feeds, what feeds it, and where it is:

Next steps

Class hierarchy

How is: "HVAC_Equipment" matches all subtypes automatically.

Upstream / downstream reference

Full reference for traversal arguments, return types, and filtering.