What is a digital twin of a building?
A digital twin of a building is an interactive 3D model of the real building that is connected to its live and historical data, so people can see and query the building's state instead of reading it from separate systems.
Facilities teams don't want another dashboard; they want to click the chiller and see its readings, its manual and its maintenance history. A twin puts geometry, live data and documents in one place.
Why use a game engine like Unity to build a digital twin?
Because a game engine already solves the problems a twin has: huge 3D scenes, hierarchy, performance, state, events and navigation that ordinary people can use without training.
| Game concept | Digital twin use |
|---|---|
| Scene graph | Site → building → floor → room → asset hierarchy |
| Level of detail & streaming | Large BIM models that still run on ordinary laptops and the web |
| State machines | Equipment status: running, alarm, maintenance due |
| Event systems | Sensor alarms and thresholds that update the scene |
| Camera & UX | Walk, fly and jump to any floor or asset in a click |
| Asset bundles | Per-building content loaded on demand (more on bundles) |
I spent more than a decade building games and apps before building twins, and almost every habit transferred.
What data goes into a building digital twin?
BIM models for geometry and asset metadata, live building-management and energy data, IoT sensor feeds, 360° panoramas, and documents such as O&M manuals, drawings and commissioning certificates.
In the twins I've built for a UK proptech company, BIM models come in from Revit and are prepared for Unity; live BMS and EMS data covers HVAC, chillers, boilers and energy metering; SharePoint, reached through Microsoft Graph, is the backend for documents and asset tags. The same platform has served operations and maintenance teams, sales apps for new developments, and apps for residents.
What is the hardest part of building a digital twin?
The mapping layer: reliably linking each 3D element to the right documents, sensors and records, across sources that name things differently.
Rendering is the easy part. Making sure "AHU-02" in the model, the BMS feed and the O&M manual are the same air handler is where projects succeed or stall. Other hard parts are performance on large models, offline use (I pre-index documents into a bundled SQLite database for fast search without connectivity) and honesty: when a feed is down, the twin shows "not known", not a reassuring zero.
How do you add AI to a digital twin?
Point it at the building's own data: natural-language Q&A over documents, chat over live sensor data, and predictive maintenance built on fault detection and diagnostics (FDD).
- Document Q&A using Semantic Kernel and Azure AI Foundry over the building's SharePoint content.
- Sensor chat that answers questions about live readings.
- A predictive-maintenance chatbot on FDD data, using a model a colleague trained on around 3 billion building data points. I built how it all comes together in the twin.
- Voice: speech-to-text and text-to-speech on the web and inside Unity.
- Agents: Semantic Kernel agents in Unity that will open floors, highlight assets and pull graphs on request.
Who uses a building digital twin?
Facilities and maintenance teams most of all, plus building owners, sales teams for new developments, and residents.
Each audience needs a different "game mode" on the same data: operations needs alarms and manuals, sales needs orientation, pricing and views, residents need to know how their apartment works. Designing those modes is product work as much as engineering. See my digital twin work for examples.
Frequently asked questions
Is a digital twin just a 3D model?
No. A 3D model shows geometry. A digital twin connects that geometry to the building's live and historical data and documents, so you can query the real building through it.
Do you need BIM to build a digital twin?
BIM makes it much easier, because it carries asset metadata with the geometry. Without BIM you can start from drawings, scans or 360° captures, but mapping assets to data takes more work.
Can a digital twin work offline?
Yes, if it's designed for it. Documents can be pre-indexed into a local database such as SQLite so search works without connectivity, with live data syncing when the connection returns.
What is FDD in buildings?
Fault detection and diagnostics (FDD) analyses building-system data to spot equipment faults and inefficiencies, often before they cause failures. It's a common foundation for predictive maintenance.
How many digital twins has Asim Butt built?
Muhammad Asim Butt has built 14 digital twins for UK buildings, combining BIM, live building data, documents and AI features.