Business Requirements Document

Twin CMMS Platform — Business Requirements

Requirements for an in-house digital-twin CMMS: live BACnet data from Honeywell and Johnson Controls systems, IFC / FBX building models, dashboards, asset and maintenance management, and energy intelligence.

DocumentBRD
Version0.5 Draft
Date30 Nov 2026
RelatedSystem Design v0.4
ClassificationInternal

1Executive summary

We will build an in-house Twin CMMS platform. It takes live data from real building sensors and meters and turns it into a digital twin with dashboards, asset and maintenance management (CMMS), and energy intelligence. The aim is to match the capabilities of leading commercial smart-building platforms in the market, while owning the product ourselves.

The first release (Phase 1) covers the platform core, the operations dashboard, Asset Management with built-in CMMS, Energy Intelligence and Portfolio Management. Sustainability, Occupant Wellbeing, Space Utilization and a conversational AI assistant (Copilot) follow in Phases 2 and 3.

Item Value
Document Business Requirements Document (BRD)
Version 0.5 — Draft for review (aligned with System Design v0.4)
Reference material Market benchmark of commercial building-intelligence platforms
Requirement IDs FR-<module>-<nn> (functional), NFR-<nn> (non-functional)
Priority scale Must (Phase 1) · Should (Phase 2) · Could (Phase 3)

2Business context and objectives

Building operators now run assets on scattered systems: a BMS, separate meters, spreadsheets and a standalone CMMS. Because of this, faults are found late, energy waste goes unseen and maintenance is reactive. Commercial integrated platforms exist for this. We want the same capability as our own product, so we keep the IP, control cost per site and can sell or deploy it across our own portfolio.

2.1 Problem statement

  • No single source of truth. Sensor, meter, BMS, BIM and maintenance data sit in silos.
  • Reactive maintenance. Equipment failures are found after they cause downtime or complaints.
  • No visibility of energy use. Consumption can't be broken down by building, floor, system or asset, and inefficiencies aren't quantified.
  • Manual reporting. ESG, energy (ISO 50001) and asset KPI reports are put together by hand.
  • No portfolio view. Management can't compare buildings side by side in real time.

2.2 Business objectives

ID Objective Target KPI (to be validated with business owner)
BO-01 Centralise all live building data in one twin 100% of onboarded sensors visible within 60 s of reading
BO-02 Shift from reactive to predictive maintenance 30% fewer reactive work orders within 12 months of go-live
BO-03 Reduce energy consumption and cost 10–15% energy reduction against baseline per building
BO-04 Raise asset availability Critical asset availability ≥ 98%
BO-05 Automate compliance and ESG reporting Monthly energy/ESG report generated in < 5 min, no manual collation
BO-06 Offer a product on par with leading market platforms 100% of Phase 1 benchmark features covered (see traceability matrix, section 9)

The KPI targets above are proposed starting points. The business owner should confirm them before sign-off.

3Scope, assumptions and constraints

Phase 1 delivers a working twin for live sensor data, assets, maintenance and energy. All seven modules are in scope across three phases.

3.1 In scope

Module Phase Priority
Platform core: sensor ingestion, asset/space hierarchy, users, alarms 1 Must
Operations dashboard and 3D/BIM digital twin viewer 1 Must
Asset Management + CMMS (work orders, PPM, FDD, KPIs) 1 Must
Energy Intelligence (analytics, EnPIs, targets, forecasting) 1 Must
Portfolio Management (multi-building overview) 1 Must
Sustainability (carbon, ESG, LEED / Net Zero tracking) 2 Should
Occupant Wellbeing (IAQ, thermal, visual, acoustic comfort) 2 Should
Space Utilization (occupancy, space KPIs) 2 Should
AI: predictive maintenance ML, automated system optimisation (closed-loop control) 3 Could
Copilot — conversational AI assistant 3 Could

3.2 Out of scope (this BRD)

  • Supplying, installing or wiring sensors and gateways (hardware is supplied by the client or its integrator).
  • Replacing the existing BMS. The platform reads from it and, in Phase 3, writes setpoints back to it.
  • Finance and ERP features such as procurement, invoicing and payroll. Only integration points are covered.
  • Formal certification (e.g. UL Smart Building, ISO 50001 audit). The platform supports it but doesn't award it.

  • Native mobile apps (iOS / Android). Technicians use the responsive web app in their phone or tablet browser.

3.3 Assumptions

  • Sensor protocols: BACnet is the primary protocol (BACnet/IP, and MS/TP through routers) for the Honeywell and Johnson Controls systems. An on-site edge gateway discovers and reads BACnet points and forwards them to the platform over MQTT/TLS. MQTT, Modbus TCP and REST remain supported for meters and IoT sensors that don't speak BACnet. (Target systems are Honeywell and Johnson Controls. Development starts on mock data (FR-SIM).)
  • Technology stack: to be chosen in the solution design. This BRD is stack-neutral, and section 5 gives a reference architecture.
  • BIM models: Models come as IFC or FBX files and include all MEP components (confirmed). They are the source for the building's floors, spaces and equipment in the twin. Manual import is also supported, and more formats can be added later.
  • CMMS: we build our own CMMS as part of the platform (work orders, PPM, spares, technician view in the web app). It is the system of record for all maintenance. No third-party CMMS is used.
  • Deployment: the same product installs on an on-premise server, a single VPS, or any public cloud, or as a hybrid (gateways on site, platform in the cloud). Data residency is set per client; for Saudi clients all data stays in-Kingdom (see 7.1).
  • Commercial use: the product is for internal use first and may be sold to external clients later. Phase 1 focuses on our own buildings, but the design must not block multi-tenancy, white-labelling or licensing later.
  • Region: first deployments are in the Kingdom of Saudi Arabia. English and Arabic (RTL) UI are required, and data residency must be in-Kingdom.

3.4 Constraints

  • Must comply with the Saudi Personal Data Protection Law (PDPL) and NCA Essential Cybersecurity Controls (ECC).
  • Must not copy any third party's proprietary IP, UI artwork or algorithms. The product is designed and built independently.

  • Open source only: every software component must use an OSI-approved open-source licence with no licence fees, now or if the product is sold later. No source-available, open-core paid tiers or proprietary SDKs (NFR-40).

4Stakeholders and user roles

There are eight user roles, each with its own default landing page. Access is role-based and scoped to portfolio, site, building or floor.

Role Main goals Key screens Access
Executive / Portfolio owner Compare buildings, track cost, energy and ESG Portfolio dashboard, reports Read-only, all sites
Facility Manager Keep buildings running, manage the team and contractors Ops dashboard, assets, work orders, KPIs Full, assigned sites
Maintenance Supervisor Plan and dispatch work, approve closures Work order board, PPM calendar, FDD alarms Full CMMS, assigned sites
Technician Receive, carry out and close work orders Technician view of the web app on phone / tablet, asset QR scan Own work orders
Energy Manager Find waste, set targets, verify savings Energy Intelligence, forecasts, EnPIs Full energy, assigned sites
Sustainability / ESG Officer Track carbon, certifications and compliance Sustainability module, reports Read + report config
BMS / Control Room Operator Watch live alarms and equipment status Live twin, alarm console Live view + acknowledge
System Administrator / Integrator Onboard buildings, sensors and users Admin, device registry, point mapping Full admin

Other stakeholders: product owner (business sponsor), IT security, building owners and tenants (who receive reports), and integration partners (BMS vendors, sensor suppliers, CMMS/ERP owners).

5Solution overview and reference architecture

The platform is a layered pipeline. Sensors of any brand feed an edge gateway. A normalisation layer turns every vendor format into one canonical reading. Shared data services then feed the CMMS, energy and dashboard modules. The technology stack is selected and justified in the System Design document.

Data sources any vendor, any format
Honeywell / JCI BMSBACnet/IP, MS/TP
IoT sensorsMQTT, webhooks, APIs
Utility meterspower, water, CHW
BIM and documentsIFC, FBX, O&M docs
BACnet objects, mock or live ▼
Edge gateway
BACnet discovery and polling · 72 h store-and-forward buffer · outbound-only MQTT over TLS
MQTT / HTTPS over TLS ▼
Ingestion and normalisation (FR-NORM)
Vendor adaptersone per format
Field mappingunits, time, IDs
Validationquality flags
Dead-letter queuefix mapping, replay
canonical readings only ▼
Data platform
Time-series DBraw + roll-ups
Twin modelspaces, assets, points
Object storepayloads, BIM, docs
Event buslive readings, events
live stream + history ▼
Application services
Alarms and FDDrules, faults, KPIs
CMMSwork orders, PPM
Energy analyticsEnPIs, forecasts
Reports and APIPDF, REST, BI
APIs and events ▼
User applications
Web dashboard3D twin, trends
Technician viewweb, phone / tablet
Notificationsemail, SMS, in-app
Copilot (Phase 3)chat assistant

Figure 1 · Reference architecture. Setpoint commands back to the BMS are a Phase 3 option only.

Modules never read vendor payloads directly. Adding a new sensor brand means adding an adapter or a mapping, and the dashboards, FDD and CMMS don't change.

Selected technology stack (detailed in the System Design): ASP.NET Core on .NET 10 LTS for the platform and stream workers, with Wolverine for outbox, inbox and sagas · Python for the BACnet edge gateway, analytics/ML and IFC/FBX conversion · PostgreSQL (business data) + ClickHouse (time-series) · Apache Kafka · Eclipse Mosquitto (MQTT) · Valkey · SeaweedFS (S3-compatible storage) · Keycloak · OpenBao · responsive React + TypeScript web app with a Three.js 3D twin (no native mobile app) · containers with Helm. All components are open source with no licence fees (NFR-40).

6Functional requirements

Requirements are grouped by module. Priority M = Must (Phase 1), S = Should (Phase 2), C = Could (Phase 3). The "Benchmark ref" column ties each requirement to the market benchmark feature it covers (section 9).

6.1 Platform core — data ingestion and the twin model (CORE)

ID Requirement Priority Benchmark ref
FR-CORE-01 Ingest live readings from BMS controllers over BACnet (primary, via edge gateway — see 6.1.3), and from other meters and IoT sensors over MQTT, Modbus TCP and REST/webhook M AM-01
FR-CORE-02 Device registry: register gateways and sensors with ID, type, protocol, location, unit, sampling rate, calibration date and status (online / offline / faulty) M AM-01
FR-CORE-03 Point mapping: map each raw tag (e.g. AHU-01.SAT) to a standard tag (Brick Schema / Project Haystack) and to an asset and space M AM-01
FR-CORE-04 Data quality: flag missing, frozen, out-of-range and spiking values; mark device offline after a configurable timeout (default 5 min) M —
FR-CORE-05 Store raw time-series for at least 13 months online and roll it up into 15-min, hourly, daily and monthly aggregates kept for 7 years M PM-01..03
FR-CORE-06 Location hierarchy: Portfolio → Site/Campus → Building → Floor → Zone/Room, with area (m²), use type and occupancy capacity M PM, SU
FR-CORE-07 Asset hierarchy: System → Equipment → Component (e.g. HVAC → AHU-01 → Supply Fan), linked to location and sensor points M AM-01
FR-CORE-08 Virtual meters: create calculated points from formulas (e.g. Building total = sum of sub-meters; COP = cooling kWh / electrical kWh) M EI-01
FR-CORE-09 Common Data Environment: attach documents (O&M manuals, datasheets, as-built drawings, warranties) to assets and spaces M AM-01
FR-CORE-10 Alarm engine: threshold, rate-of-change and rule-based alarms with severity (Critical / Major / Minor / Info), acknowledge, shelve and escalation M AM-02, OW-02
FR-CORE-11 Notifications by in-app message, email and SMS, set per role and severity M AM-06
FR-CORE-12 Users, roles, SSO (SAML / OIDC / Azure AD) and permission scoping by location M —
FR-CORE-13 Audit log of all configuration changes, work order actions and control commands M —
FR-CORE-14 Bulk onboarding by Excel/CSV import of assets, points and spaces M —
FR-CORE-15 Open REST API and outbound webhooks for every main entity M —
FR-CORE-16 Bilingual UI (English / Arabic with RTL); units, time zone and currency configurable per site M —
ID Requirement Priority Benchmark ref
FR-CORE-17 Integrate other building systems through adapters: HVAC and lighting (BACnet, or KNX/DALI via BACnet gateways), energy meters (BACnet, Modbus, M-Bus), access control and people counters (vendor APIs), fire alarm panels read-only (life-safety is never controlled) M AM-01
FR-CORE-18 Alarm priority P1–P4 from severity × asset criticality; configurable escalation (default: unacknowledged P1 to supervisor after 10 min, facility manager after 30 min); flood suppression when a device or gateway is offline; audited shelving M AM-02, OW-02
FR-CORE-19 Retention and archive policy configurable per tenant (defaults: raw data 13 months online, archive 7 years); archived data restorable on demand; legal hold M —

6.1.1 Multi-vendor data normalisation (NORM)

Each sensor provider sends data in its own format. Examples include JSON with different field names, nested arrays of readings, CSV over SFTP, binary LoRaWAN payloads, BACnet object values, and epoch or local-time timestamps in different units. The platform must turn all of these into one canonical reading format before anything else sees the data. Dashboards, FDD, energy and CMMS modules read only the canonical form.

Canonical reading (minimum fields): point_id, timestamp (UTC, ISO 8601, ms), value (number / boolean / string), unit (SI or the site's configured unit), quality (good / suspect / bad), source_vendor, received_at.

ID Requirement Priority
FR-NORM-01 Pluggable vendor adapters: one adapter per provider or format that parses the raw payload into canonical readings. New adapters can be added without changing or redeploying the core platform M
FR-NORM-02 No-code payload mapping: admins can map fields from a sample payload (JSONPath / XPath / CSV column, e.g. $.data[*].temp → value) through the UI and test it on a live sample before activating M
FR-NORM-03 Accept push (MQTT topics, HTTPS webhooks), pull (polling vendor REST APIs on a schedule), file drops (CSV / Excel over SFTP or upload) and gateway protocols (BACnet, Modbus, OPC-UA) M
FR-NORM-04 Decoders for binary / compact payloads (e.g. LoRaWAN, hex-encoded Modbus registers), with scaling factor, offset, byte order and data type per point M
FR-NORM-05 Unit conversion to the canonical unit (e.g. °F→°C, Wh→kWh, ppm, gallons→m³) using a unit library; the original unit is kept in metadata M
FR-NORM-06 Timestamp normalisation: handle epoch s/ms/µs, ISO strings and vendor local time with configurable time zone; use receive time if the payload has none; detect clock skew M
FR-NORM-07 Identity resolution: map the vendor's device/channel IDs to platform point_ids; unmapped readings go to a "discovered points" queue for an admin to map M
FR-NORM-08 Validation and dead-letter queue: payloads that fail parsing or schema checks are stored with the error, raise an admin alert and can be replayed after the mapping is fixed. No data is silently dropped M
FR-NORM-09 Store the raw payload for 30 days (configurable) next to the normalised reading, for audit and re-processing M
FR-NORM-10 Versioned mappings: every adapter or mapping change is versioned, and historical data can be re-processed with a corrected mapping S
FR-NORM-11 BACnet adapter profiles for Honeywell and Johnson Controls (point naming conventions, units, device instance ranges), confirmed against real point lists (Q-01). Vendor cloud APIs are optional later M
FR-NORM-12 Per-adapter monitoring: message rate, parse error rate, latency and last-seen time, shown on an integration health dashboard M

6.1.2 Mock data generator (SIM)

Until real sites are connected, the platform runs on simulated data. The simulator must produce payloads in the same shape as Honeywell and Johnson Controls systems. Live sources can then replace it later without changing the platform, because they go through the same adapters and normalisation as real data.

ID Requirement Priority
FR-SIM-01 Mock data generator that runs as a simulated BACnet/IP network (virtual BACnet devices and objects that the edge gateway discovers and polls like real controllers), plus MQTT for non-BACnet sensors. It never writes straight into the database M
FR-SIM-02 Two vendor profiles: Honeywell-style and Johnson Controls-style BACnet devices, each with its own object naming convention, device instance range, units and status flags, to test point mapping and normalisation (FR-NORM, FR-BAC) M
FR-SIM-03 Realistic building model: at least 1 demo building with floors, zones and typical assets (chillers, AHUs, FCUs, pumps, VAVs, lighting circuits, electricity / water / chilled-water meters, IAQ sensors) M
FR-SIM-04 Realistic behaviour: daily and weekly occupancy profiles, weather-driven loads, setpoint tracking, meter totals that match sub-meters, and normal noise M
FR-SIM-05 Fault injection: switch on scenarios on demand (e.g. stuck valve, simultaneous heating and cooling, sensor drift, meter spike, device offline, after-hours equipment running) to test FDD, alarms and auto work orders M
FR-SIM-06 Data problem injection: missing fields, bad units, late or duplicate messages, malformed payloads, to test validation and the dead-letter queue M
FR-SIM-07 Back-fill mode: generate 12+ months of history in minutes for baselines, forecasts and reports M
FR-SIM-08 Config file (YAML/JSON) to set points, rates (default 1 reading/min per point), scenarios and vendor profile; start, stop and reset from an admin page S
FR-SIM-09 Every simulated reading tagged source = simulated so it can't be mixed into real reports M

Real Honeywell and Johnson Controls BACnet point lists (EDE files) should be collected as early as possible, so the mock formats match production (Q-01).

6.1.3 BACnet integration (BAC)

BACnet is the main way data enters the platform. An edge gateway on the building's OT network talks BACnet to the Honeywell and Johnson Controls controllers, and sends normalised readings to the platform.

ID Requirement Priority
FR-BAC-01 Support BACnet/IP (ASHRAE 135, Annex J); reach MS/TP field devices through BACnet routers; support BBMD and foreign-device registration across subnets M
FR-BAC-02 Auto-discovery: Who-Is / I-Am for devices, then read each device's object list and key properties (Object_Name, Description, Units, Present_Value, Status_Flags) M
FR-BAC-03 Polling with ReadPropertyMultiple at a configurable interval per point (default 60 s, 15 s for critical points), and SubscribeCOV where the device supports it M
FR-BAC-04 Object types: Analog / Binary / Multi-state Input, Output and Value, plus Trend Log, Schedule, Calendar and Notification Class M
FR-BAC-05 Map BACnet engineering units to canonical units; map Status_Flags, Reliability and Out_Of_Service to the reading's quality flag M
FR-BAC-06 Receive native BACnet alarms and events (event notifications) into the platform alarm engine M
FR-BAC-07 Back-fill history from controller Trend Logs (ReadRange) when a building is onboarded or after an outage S
FR-BAC-08 Tagging assist: parse Honeywell and JCI point naming conventions to suggest asset links and standard tags; an admin confirms them (FR-CORE-03) M
FR-BAC-09 Import point lists from EDE files / CSV exports to speed up onboarding M
FR-BAC-10 Read-only by default. Phase 3 write-back uses WriteProperty at a configurable command priority, only on allow-listed points, with limits and automatic relinquish on rollback C
FR-BAC-11 Support BACnet Secure Connect (BACnet/SC) where controllers allow it; otherwise keep the gateway on an isolated OT VLAN S
FR-BAC-12 Gateway health: device online/offline, poll success rate, response time per device, shown on the integration health dashboard M

6.2 Operations dashboard and 3D digital twin (DASH)

ID Requirement Priority Benchmark ref
FR-DASH-01 Home dashboard per building: live KPIs (energy today vs target, active alarms, open work orders, asset availability, comfort index) M UDE
FR-DASH-02 3D BIM viewer: load IFC or FBX models, navigate by floor and system, click an element to open its asset card with live values M AM-03
FR-DASH-03 Live overlays on the 3D model and 2D floor plans: colour assets and rooms by status, alarm, temperature, CO₂ or occupancy (heat maps) M AM-03, PM-08
FR-DASH-04 Configurable widgets (KPI tile, trend, gauge, table, map, heat map) that users can add, arrange and save per role M PM-08
FR-DASH-05 Trend viewer: plot any points over any time range, compare periods and export CSV / PNG M PM-08
FR-DASH-06 Live alarm console with filtering, acknowledgement and one-click "create work order" M AM-02
FR-DASH-07 GIS / campus map view for multi-building sites S PM

6.2.1 BIM model import: IFC, FBX and manual (BIM)

Building models come as IFC or FBX files and include all MEP components. Both formats are imported into the product to build the twin: floors, spaces and every MEP element, each linked to its asset record and live BACnet points. Data can also be entered or imported manually, and the importer is built so other formats can be added later without changing the rest of the platform.

The two formats carry different information. IFC holds the building structure (storeys, spaces), element types and properties. FBX is mainly 3D geometry with object names and some metadata, so FBX imports rely more on name rules and a companion asset list to classify elements and place them on floors and in spaces.

Topic IFC FBX
Floors and spaces Read from the model (IfcBuildingStorey, IfcSpace) Taken from node hierarchy / layer names, or defined manually
MEP element types Read from IFC classes and property sets Matched from object names using configurable rules, or from a companion list
Properties (tag, make, model) Read from property sets Read from FBX user properties where present, otherwise from a companion Excel/CSV
3D geometry Yes Yes
ID Requirement Priority
FR-BIM-01 Import IFC (2x3 and 4) and FBX files by upload; convert them into a web-optimised format for fast 3D loading in the browser and on tablets M
FR-BIM-02 IFC: auto-create the location hierarchy from IfcSite, IfcBuilding, IfcBuildingStorey and IfcSpace, including names, numbers and areas M
FR-BIM-03 IFC: auto-create asset records for all MEP elements (e.g. IfcDistributionElement, IfcFlowTerminal, IfcEnergyConversionDevice), keeping the IFC GlobalId and property sets M
FR-BIM-04 FBX: read the node hierarchy, object names, layers and user properties; classify MEP elements and assign them to floors and spaces using configurable naming rules (e.g. AHU-* → Air Handling Unit) M
FR-BIM-05 FBX: optional companion asset list (Excel/CSV) matched on object name to add tags, types, make/model and location where the FBX lacks them M
FR-BIM-06 Import review screen: before committing, show what was found (floors, spaces, assets by type), what couldn't be classified, and let the admin fix or exclude items M
FR-BIM-07 Manual import and entry: create or edit floors, spaces and assets in the UI, bulk import them from Excel/CSV templates, and link existing assets to 3D objects by clicking them in the viewer M
FR-BIM-08 Link BACnet points to model elements: auto-match on tag / name where present, plus a manual drag-and-drop linking tool M
FR-BIM-09 Pluggable importer: each format is a separate import module behind a common interface, so new formats (e.g. Revit RVT, Navisworks NWD, glTF/GLB, OBJ, COBie spreadsheets) can be added later without changes to the core M
FR-BIM-10 Model versioning: re-import an updated IFC or FBX, show what was added, changed or removed, and keep existing asset, point and work order links S
FR-BIM-11 Filter the 3D view by discipline and system (HVAC, electrical, plumbing, fire, architecture); isolate a floor or a system M
FR-BIM-12 Generate 2D floor plans from the model (IfcSpace geometry, or floor sections of FBX) for faster views on phones and tablets S
FR-BIM-13 Keep the original uploaded files (IFC, FBX, companion lists) with version history in the document store M

6.3 Asset Management and CMMS (AM)

ID Requirement Priority Benchmark ref
FR-AM-01 Asset register: ID, name, class, make/model, serial, location, install date, warranty, criticality (A/B/C), status, QR/barcode M AM-01
FR-AM-02 Asset card: live sensor values, trends, alarms, work order history, documents, KPIs and position in BIM, all on one screen M AM-01, AM-03
FR-AM-03 Rule-based Fault Detection and Diagnosis (FDD): a library of predefined rules per equipment type (AHU, FCU, chiller, pump, boiler, VAV, lighting, meters), e.g. simultaneous heating and cooling, valve leakage, short cycling, sensor drift M AM-02
FR-AM-04 Rule builder: users can create and edit FDD rules (condition + duration + severity) without code, and set overrides and exclusions M AM-02
FR-AM-05 Root cause analysis view: show the fault, the points that triggered it, the likely cause, the recommended action and the estimated cost/energy impact M AM-02
FR-AM-06 Fault prioritisation by criticality, energy cost and comfort impact M AM-02
FR-AM-07 Asset KPIs: effectiveness, health score, availability, utilisation, performance, energy impact, comfort index, MTBF and MTTR M AM-04
FR-AM-08 Work orders: create manually, from an alarm/fault, or automatically by rule; types Corrective, Preventive, Predictive, Inspection, Request M AM-06, AM-07
FR-AM-09 Work order lifecycle: New → Assigned → In progress → On hold → Completed → Verified → Closed, with SLA timers, comments, photos, checklists, signature and feedback M AM-06
FR-AM-10 Preventive maintenance (PPM) schedules: calendar-based, meter/run-hour based and condition-based triggers, with task templates (e.g. SFG20) M AM-07
FR-AM-11 Assignment to technicians or teams by skill, location and availability; contractor management M AM-06
FR-AM-12 Service requests from occupants (web form / QR code), routed into work orders M AM-07
FR-AM-13 Spare parts and inventory: stores, stock levels, reorder points, parts used per work order M AM-07
FR-AM-14 Maintenance logs and history per asset; labour and material cost per work order M AM-07
FR-AM-15 Technician view of the web app, designed for phones and tablets in the browser (no native app to install): my work orders, QR scan via the camera, photos, checklists, signatures, close-out M AM-06
FR-AM-16 Optional connector to an external CMMS (e.g. IBM Maximo, SAP PM), only if a future client insists on keeping theirs. The built-in CMMS is the system of record C AM-07
FR-AM-17 Advanced FDD with ML: anomaly detection and predictive failure models that learn from history C AM-05
ID Requirement Priority Benchmark ref
FR-AM-18 Asset codes belong to the position (functional location), not the physical unit. When a component is replaced, the asset code, sensor links, BIM link and trend history stay; the old and new units keep their own serial numbers and history. New components get a new position and code from the site naming rule M AM-01

6.4 Energy Intelligence (EI)

ID Requirement Priority Benchmark ref
FR-EI-01 Energy Information System in line with ISO 50001: track consumption and demand in kWh, kW and cost for electricity, chilled water / thermal, gas, water and fuel M EI-01
FR-EI-02 Granular breakdown by building, floor, zone, system (HVAC, lighting, plug, lifts) and asset, using physical and virtual meters M EI-01
FR-EI-03 Energy baseline (regression on weather / CDD, occupancy and operating hours) and targets per building and meter M EI-01
FR-EI-04 Energy Performance Indicators (EnPIs), e.g. kWh/m², kWh/occupant, chiller kW/TR, plant COP M EI-01
FR-EI-05 Energy Use Intensity (EUI) and benchmarking against industry references and peer buildings M EI-01
FR-EI-06 Rank Significant Energy Users (SEUs) by share of consumption and savings potential M EI-01
FR-EI-07 Tariff engine: time-of-use, demand charges and multiple utilities, so consumption converts to cost M EI-01
FR-EI-08 Overconsumption and anomaly alarms when actual consumption exceeds the baseline/target by a configurable % M PM-01
FR-EI-09 Performance gap view: actual vs optimised target in real time, with the gap shown in kWh and cost M EI-02
FR-EI-10 Actionable recommendations, ranked by priority and estimated saving (e.g. "Reset AHU-03 supply temp setpoint 12→14 °C: est. 4,200 kWh/month"); track savings achieved or missed M EI-02
FR-EI-11 Energy forecasting per building and floor (day-ahead, month-ahead) and peak demand forecasting S EI-04
FR-EI-12 Measurement & Verification (M&V, IPMVP option B/C) of savings after an action is carried out S EI-02
FR-EI-13 AI insights: pattern detection, e.g. after-hours consumption, weekend baseload, equipment left on S EI-01
FR-EI-14 Automated system optimisation: send setpoint and schedule commands to the BMS (e.g. optimal HVAC start/stop), with manual-approve or auto mode, limits and rollback C EI-03

6.5 Portfolio Management (PM)

ID Requirement Priority Benchmark ref
FR-PM-01 Portfolio overview: map / 3D city view of all buildings with headline KPIs and status M PM
FR-PM-02 Electricity monitoring across buildings: real-time and historical kWh, kW, cost, overconsumption alarms M PM-01
FR-PM-03 Thermal energy monitoring: kWhₜ, kWₜ, cost, alarms M PM-02
FR-PM-04 Water monitoring: m³, m³/h, cost, leak and overconsumption alarms M PM-03
FR-PM-05 Asset monitoring roll-up: KPIs, maintenance status, utilisation, alarms and FDD across the portfolio M PM-04
FR-PM-06 Building league table: rank buildings by EUI, cost/m², open faults, availability and comfort M PM
FR-PM-07 Space utilisation, wellbeing and sustainability roll-ups (once those modules are live) S PM-05..07
FR-PM-08 Drill down from portfolio → building → floor → asset in at most 3 clicks M PM-08

6.6 Sustainability (SUS) — Phase 2

ID Requirement Priority Benchmark ref
FR-SUS-01 Carbon emissions calculated from energy and fuel data with configurable emission factors (e.g. Saudi grid factor), broken down by floor, zone, system and asset S S-01
FR-SUS-02 Scope 1, 2 and 3 categorisation; GHG intensity (kgCO₂e/m²) S S-01
FR-SUS-03 Waste tracking: disposable, recycled and non-disposable quantities S PM-07
FR-SUS-04 Benchmark emissions against similar buildings and climates S S-02
FR-SUS-05 Track progress towards LEED O+M, Net Zero, Mostadam and WELL targets, with a built-in score and goal plan S S-03
FR-SUS-06 ESG reports (GRI / GHG Protocol aligned) exportable to PDF / Excel S S-04

6.7 Occupant Wellbeing (OW) — Phase 2

ID Requirement Priority Benchmark ref
FR-OW-01 Monitor thermal comfort (temperature, RH), visual comfort (lux), acoustic comfort (dB) and air quality (CO₂, VOC, PM2.5) in real time, with heat maps S OW-01
FR-OW-02 Comfort index per zone; thresholds preset to WELL / ASHRAE 55 / ASHRAE 62.1 and editable S OW-01
FR-OW-03 Alarms on static or dynamic setpoints, prioritised by impact, with automatic work order creation S OW-02
FR-OW-04 Occupant feedback (hot/cold, rating) by QR code, linked to the zone's sensor data C —

6.8 Space Utilization (SU) — Phase 2

ID Requirement Priority Benchmark ref
FR-SU-01 Occupancy and utilisation from people counters, PIR, Wi-Fi and access control; average and peak utilisation per space S SU-01
FR-SU-02 Show utilisation on the 3D / 2D floor plan S SU-01
FR-SU-03 Compare designed vs actual use; recommend consolidation and estimate avoided cost (leasing, construction) S SU-02
FR-SU-04 Use occupancy to drive demand-based cleaning, maintenance and HVAC schedules C SU-02

6.9 Copilot — conversational assistant (CP) — Phase 3

ID Requirement Priority Benchmark ref
FR-CP-01 Ask questions in plain English or Arabic (e.g. "Which chillers had faults last week and what did they cost?") and get answers with charts and links C Copilot
FR-CP-02 Take actions by chat (create a work order, raise a report) with user confirmation, inside that user's permissions C Copilot
FR-CP-03 Answers grounded in platform data and attached documents (O&M manuals), with the sources shown C Copilot

6.10 Reports

ID Requirement Priority
FR-RPT-01 Standard reports: energy monthly, asset KPI, work order SLA, FDD summary, alarm history, portfolio league table M
FR-RPT-02 Scheduled reports emailed as PDF / Excel M
FR-RPT-03 Ad-hoc report builder and export of any table to CSV / Excel S
FR-RPT-04 BI connector (e.g. Power BI) via API or read replica S

7Non-functional requirements

The platform must handle about 50,000 live points per building and stay usable during sensor or network outages.

ID Category Requirement
NFR-01 Scalability 100 buildings and 2 million points per tenant; sustained ingestion of 50,000 readings/s; scale horizontally
NFR-02 Latency Reading shown on the dashboard ≤ 5 s (p95) after it reaches the platform; alarm notification sent ≤ 30 s after the condition is met
NFR-03 Performance Dashboard load ≤ 3 s; 1-year trend of 10 points ≤ 2 s; 3D model of up to 500 MB opens ≤ 10 s
NFR-04 Availability 99.5% monthly (Phase 1), 99.9% target later; RPO ≤ 15 min, RTO ≤ 4 h
NFR-05 Resilience Edge gateways buffer at least 72 h of data during network loss and back-fill in order when back online
NFR-06 Security TLS 1.2+ in transit, AES-256 at rest; device authentication by X.509 certificates or per-device keys; OWASP ASVS L2; annual penetration test
NFR-07 OT isolation IT/OT segmentation (IEC 62443 zones); BMS write-back only through an approved gateway with allow-listed points and limits
NFR-08 Compliance Saudi PDPL, NCA ECC and CCC (cloud); data hosted in-Kingdom
NFR-09 Multi-tenancy Launch as single-tenant for internal use, but build in tenant separation from day one (tenant ID on all data, tenant-scoped access), so external clients can be added later without a redesign. Per-tenant branding (white-label) is deferred until a decision to sell
NFR-10 Usability One responsive web app for desktop, tablet and phone (no native mobile app); WCAG 2.1 AA; English/Arabic
NFR-11 Interoperability Brick / Haystack tagging, IFC 2x3/4 and FBX, open REST + OpenAPI docs, MQTT/Sparkplug B
NFR-12 Observability Central logs, metrics and tracing; integration health dashboard (FR-NORM-12)
NFR-13 Maintainability Modular services; a new vendor adapter can be added and deployed in ≤ 5 working days

7.1 Deployment models

The platform ships as one product that installs on an on-premise server, a VPS or any cloud. The choice is made per client, features are the same everywhere, and it can grow from one server to a cluster without a redesign.

Topic Single server / VPS On-premise cluster Any cloud
Typical use Pilot, small sites (up to ~20,000 points) Production, sensitive or offline sites Portfolios, multi-site clients, future SaaS
Runs on One server or VPS (Docker Compose or single-node Kubernetes) Client data centre, 3+ nodes Any provider's managed Kubernetes or VMs
Availability target 99.5% 99.9% 99.9%+ (multi-zone)
Data residency Client premises or chosen VPS region Client premises Chosen region; in-Kingdom for Saudi clients
Edge gateway Outbound-only TLS connection; no inbound ports Same Same
Updates Scripted packages; offline-capable Scripted / GitOps; offline-capable Rolling updates by us
Backup / DR Nightly off-site backup Second site or cloud for DR Provider backups + second zone or region
Tenancy Single tenant (internal) Single tenant Single tenant now; multi-tenant once sold
Licensing Not needed for internal use; licence model defined if sold Same Same
ID Requirement Priority
NFR-14 Same container-based build (e.g. Kubernetes / Docker) for both models; no feature runs only in the cloud M
NFR-15 On-premise install runs fully offline (no internet), including maps, 3D viewer, licensing and AI features that are enabled M
NFR-16 Minimum on-premise server spec defined per building size (e.g. small: up to 10,000 points; large: up to 100,000 points) M
NFR-17 No provider-specific services: only portable dependencies (PostgreSQL, S3 API, Kafka API, MQTT, OIDC). For Saudi clients hosted in a public cloud, use an in-Kingdom region and comply with NCA CCC and CST cloud regulations M
NFR-18 Install, upgrade and backup procedures documented and scripted for client IT teams M

7.2 Reliability, scalability, data ownership and support

ID Category Requirement
NFR-19 Scalability Grow from one server (pilot) to an HA cluster and then a multi-building portfolio (100 buildings, 2M points) by adding capacity or splitting modules into services, without redesigning data formats or APIs
NFR-20 No data loss Every reading and business event is delivered at least once: gateway store-and-forward, transactional outbox for events between modules, and dead-letter queues for anything that fails. Nothing is silently dropped
NFR-21 No duplicates (idempotency) Every receiver is idempotent: stable message IDs, unique keys and an inbox for events, and an Idempotency-Key on API writes. Retries, replays and double-clicks never create duplicate readings, alarms, work orders or notifications
NFR-22 Consistency across modules Multi-step processes (fault → work order, asset replacement, model import, data export) run as sagas with compensating actions, so a failure part-way never leaves inconsistent data
NFR-23 Building systems independence The platform never sits in a control loop. If the internet, gateway or platform fails, building systems keep running on their own controllers, and data is back-filled when the link returns
NFR-24 Backup and restore Continuous database log archiving plus daily and weekly backups (35 days point-in-time); object storage versioned and replicated; restore tested monthly
NFR-25 Data ownership and export The client owns all its data. A full export (time-series as Parquet/CSV, twin, CMMS and configuration as JSON/CSV, original BIM files and documents) can be produced at any time, self-service
NFR-26 Exit and migration Open formats and standards (Brick/Haystack tags, IFC, Parquet, documented schemas, point-to-asset mapping as CSV) and a documented exit plan, so data, configuration and mappings can move to another platform
NFR-27 Incident response Documented incident procedure; client notified of high-severity security incidents within 4 hours of confirmation (default, set in the support agreement); regulator notified as the law requires (PDPL: 72 hours); root-cause report within 5 working days
NFR-28 Updates and support Monthly patch and quarterly feature releases; critical security patches within 7 days; automatic rollback on failed updates; support SLA tiers P1–P4 (proposed P1: 1 h response, 4 h restore)
NFR-29 Compliance alignment Designed to align with ISO/IEC 27001, IEC 62443, NCA ECC/CCC, PDPL and OWASP ASVS L2, and to support ISO 50001; annual penetration test and monthly vulnerability scans

7.3 Security, privacy and operational readiness

ID Category Requirement
NFR-30 Privacy (PDPL) Keep a register of all personal data (purpose, legal basis, retention, location). Collect the minimum: occupancy and space use as counts only, never tracking named individuals. Privacy impact assessment before occupancy, feedback or access-control features. Handle access, correction and deletion requests (personal fields anonymised, work history kept) within legal deadlines
NFR-31 Data classification Four classes (Internal, Confidential, Personal, Restricted) with handling rules for each. Exports of Confidential or Personal data restricted by role, logged and alerted when unusual
NFR-32 Privileged access MFA mandatory for administrators and remote access; time-limited admin rights; quarterly access reviews; vendor (Honeywell / JCI) remote access time-limited, approved and logged
NFR-33 Security monitoring Tamper-evident audit log kept 7 years; security events forwarded to the client's SIEM (syslog) or a built-in SIEM; security alerts monitored around the clock
NFR-34 Vulnerability management Fix deadlines: critical 7 days, high 30 days, medium 90 days, low next release. Monthly scans; independent penetration test every year and after major changes
NFR-35 Data breach management Documented breach response plan and breach register. Notify affected individuals without undue delay where there is a high risk to them. Notification templates in English and Arabic. Breach exercise every year
NFR-36 Integration stability Versioned APIs and events; breaking changes only in a new version; the previous version supported for at least 12 months with advance notice
NFR-37 Time and calendar All data stored in UTC and shown in the site's time zone; daily and monthly figures use the site's local calendar; reports can show Gregorian and Hijri dates
NFR-38 Service level reporting Availability, data freshness (≤ 5 s), alarm notification delay (≤ 30 s) and gateway connectivity measured continuously and reported to the business owner every month
NFR-39 Go-live acceptance A building goes live only when ≥ 98% of its points are mapped and live, a load test at 2× the expected volume meets the service levels, a full restore has been tested, there are no open critical or high security findings, and UAT is signed against the requirement IDs
ID Category Requirement
NFR-40 Licensing 100% open-source components under OSI-approved licences, with zero licence fees. Permissive licences (MIT, Apache-2.0, BSD, PostgreSQL) preferred; copyleft tools only unmodified and run as separate services. Source-available licences (BSL, SSPL, RSAL, Timescale License), paid open-core features and proprietary SDKs are not allowed. A licence scan in the build pipeline blocks non-approved licences, and a component licence register is kept up to date

8Data, integrations and KPIs

The twin rests on nine core entities. Every reading, alarm and work order is linked back to a Point, an Asset and a Location.

8.1 Core data entities

Entity Key attributes Linked to
Location id, type (portfolio/site/building/floor/zone), area m², capacity, BIM GUID parent Location
Asset id, class, make/model, serial, criticality, status, install date, warranty, BIM GUID Location, parent Asset, Documents
Point id, standard tag, unit, kind (sensor/setpoint/command/meter/virtual), vendor ID, adapter Asset, Location, Device
Device / Gateway id, vendor, protocol, firmware, last seen, status Location
Reading (time-series) point_id, timestamp, value, quality, raw-payload ref Point
Alarm / Fault id, rule, severity, start/end, state, cost impact Point, Asset, Work Order
Work Order id, type, priority, status, SLA, assignee, tasks, parts, cost Asset, Location, Alarm
PPM Plan id, asset class, frequency/trigger, task template Asset
Meter / Tariff / Target utility, tariff rates, baseline model, target Point, Location

8.2 External integrations

System Direction Method Phase
IoT sensors / vendor clouds In MQTT, HTTPS webhook, REST polling, SFTP files (via vendor adapters) 1
BMS: Honeywell and Johnson Controls first; others (Siemens, Schneider) later In (Phase 1), Out (Phase 3) BACnet/IP and MS/TP via edge gateway (primary) 1 / 3
Utility / smart meters In Modbus, M-Bus, vendor API 1
BIM authoring In IFC and FBX upload; manual Excel/CSV import; more formats later (FR-BIM-09) 1
Identity provider In SAML / OIDC (Azure AD) 1
Email / SMS Out SMTP, SMS gateway 1
Weather service In REST API (for baselines and forecasts) 1
ERP / finance (e.g. SAP) for maintenance costs and procurement; external CMMS only if a client requires it Both REST / SOAP 2
Access control / people counters In API 2
BI tools Out API / read replica 2

8.3 Headline KPIs the platform must calculate

  • Asset: availability %, MTBF, MTTR, health score, open faults, fault cost/day.
  • Maintenance: WO backlog, SLA compliance %, PPM compliance %, reactive vs planned ratio, cost per asset.
  • Energy: kWh, kW peak, cost, EUI (kWh/m²/yr), EnPIs, savings vs baseline, performance gap.
  • Sustainability: tCO₂e by scope, kgCO₂e/m², waste diversion %.
  • Wellbeing / space: comfort index, % time in comfort band, utilisation % (average / peak).

9Traceability to market benchmark features

Every feature in our market benchmark maps to at least one requirement here. Of the 29 features, 14 start in Phase 1, and the rest come in Phases 2–3.

Benchmark feature Our requirement(s) Phase
AM-01 Centralising asset data (IT/OT/IoT live data, O&M docs) FR-CORE-01..09, FR-NORM-*, FR-AM-01/02 1
AM-02 Rule-based Fault Detection & Diagnosis FR-AM-03..06, FR-CORE-10 1
AM-03 BIM integration FR-DASH-02/03, FR-AM-02 1
AM-04 Asset KPIs (effectiveness, health, availability, utilisation, performance, comfort) FR-AM-07 1
AM-05 Advanced ML-based FDD FR-AM-17 3
AM-06 Task management (work orders, assignment, comments, alerts) FR-AM-08/09/11/15, FR-CORE-11 1
AM-07 CMMS integration (spares, logs, service requests, auto WO) FR-AM-10/12/13/14 (built in), own CMMS; FR-AM-16 optional connector 1 / 2
EI-01 Energy Information System (ISO 50001, EnPIs, EUI, SEUs, AI insights) FR-EI-01..07, FR-EI-13 1 / 2
EI-02 Energy optimisation (performance gap, recommendations, savings) FR-EI-09/10/12 1 / 2
EI-03 Automated energy optimisation (control commands, auto/manual) FR-EI-14 3
EI-04 Automated forecasting (building / floor, peak demand) FR-EI-11 2
PM-01 Electricity monitoring FR-PM-02, FR-EI-08 1
PM-02 Thermal energy monitoring FR-PM-03 1
PM-03 Water monitoring FR-PM-04 1
PM-04 Asset monitoring FR-PM-05 1
PM-05 Space utilisation monitoring FR-PM-07, FR-SU-* 2
PM-06 Occupant wellbeing monitoring FR-PM-07, FR-OW-* 2
PM-07 Sustainability tracking (carbon, scores, waste) FR-PM-07, FR-SUS-01..03 2
PM-08 Graphs and heat maps FR-DASH-03..05, FR-PM-08 1
S-01 Managing carbon emissions (Scope 1/2/3, GHGI) FR-SUS-01/02 2
S-02 Performance benchmarking FR-SUS-04 2
S-03 Compliance tracking (LEED O+M, Net Zero) FR-SUS-05 2
S-04 Generating ESG reports FR-SUS-06 2
OW-01 Environmental comfort monitoring FR-OW-01/02 2
OW-02 Target-driven alarming FR-OW-03 2
SU-01 Space utilisation monitoring FR-SU-01/02 2
SU-02 Space optimisation FR-SU-03/04 2
AI Copilot (multi-agent conversational UI) FR-CP-01..03 3
UDE — Unified Data Environment FR-CORE-, FR-NORM- 1

Where we go beyond the brochure: the multi-vendor normalisation layer (FR-NORM), a phone-friendly technician view, spare-parts inventory, Arabic/RTL UI, in-Kingdom hosting, and tariff-based cost calculation.

10Risks, open questions and sign-off

The biggest delivery risk is sensor data variety. Onboarding effort depends on how many vendor formats we must support, so that list is the first open question.

10.1 Risks

Risk Impact Mitigation
Many vendor payload formats and undocumented APIs Delays onboarding each building Adapter framework + no-code mapping (FR-NORM); collect sample payloads from every vendor before build
Poor sensor data quality (gaps, drift, wrong units) False alarms, wrong KPIs, loss of user trust Data quality rules (FR-CORE-04), commissioning checklist, quality flags on every reading
IFC models outdated, very large, or missing MEP detail 3D twin incomplete or slow Fall back to 2D floor plans; model optimisation pipeline; a minimum-model spec for clients
Writing commands back to the BMS (Phase 3) Safety and comfort incidents Manual-approve mode first, allow-listed points, limits, automatic rollback, OT security review
Building FDD and energy algorithms in-house to vendor level Lower accuracy than mature commercial FDD engines with thousands of deployments Start with proven open rule sets (e.g. ASHRAE Guideline 36 FDD); measure false-positive rate; add ML in Phase 3
Scope creep across 7 modules Late Phase 1 Strict phase gates; Phase 1 = 5 modules only

10.2 Open questions

  • ☐ Q-01 Players confirmed: Honeywell and Johnson Controls. Still needed: which product lines (e.g. Honeywell WEBs/Niagara or Forge; JCI Metasys or OpenBlue), BACnet point lists (EDE files) and sample trend exports so the mock data matches production.
  • ☐ Q-02 BACnet confirmed. For the pilot building(s): BACnet/IP or MS/TP, how many devices and points, is a BBMD in place, is BACnet/SC available, and can the gateway get network access to the OT VLAN?
  • ☐ Q-03 IFC or FBX with all MEP components confirmed. Still needed: one sample of each file, IFC version (2x3 or 4), file sizes, the object naming convention used in FBX, and whether asset tags or BACnet names are stored as properties in either format.
  • ☑ Q-04 Decided: we build our own CMMS inside the platform (section 6.3). No external CMMS is needed for Phase 1.
  • ☐ Q-05 Hosting decided: on-premise server, VPS or any cloud. Still needed: which option for the pilot, which Saudi cloud provider, the on-premise server spec and IT standards (OS, virtualisation), and the preferred tech stack.
  • ☐ Q-06 Pilot building, number of points, and target go-live date?
  • ☐ Q-07 Confirm the KPI targets in section 2.2.
  • ☑ Q-08 Decided: internal use first; it may be sold to external clients later. Still needed: a rough date for when a commercial decision is expected, so multi-tenancy and white-labelling can be scheduled.

10.3 Sign-off

Role Name Decision Date
Business sponsor
Product owner
IT / Security
Facilities representative

11Appendix: client due-diligence questions

Each standard client question maps to the requirements that answer it. Detailed answers are in the System Design, section 18.

# Question (short) Covered by
1 How is data captured and sent to the dashboard? FR-CORE-01, FR-BAC-01..06, FR-NORM-01..08
2 How often is data collected and updated? FR-BAC-03, NFR-02
3 How long is data kept; archival policy? FR-CORE-05, FR-CORE-19
4 How are replaced or new components mapped to asset codes? FR-AM-18, FR-BAC-08
5 How are sensor faults, comms failures and data loss detected? FR-CORE-04, FR-NORM-08, FR-BAC-12
6 Which protocols are used? FR-BAC-01, FR-NORM-03, NFR-11
7 What happens if the internet, gateway or server goes offline? NFR-05, NFR-23, FR-BAC-07
8 How is unauthorised access and cyberattack prevented? NFR-06, NFR-07, FR-CORE-12/13, NFR-31..34
9 Incident response and client notification? NFR-27, NFR-35
10 Where is it hosted? 7.1, NFR-14..17
11 Is data encrypted in transit and at rest? NFR-06
12 Backups, restore and disaster recovery? NFR-04, NFR-24
13 Uptime and redundancy? NFR-04, NFR-38, 7.1
14 How are alarms generated, prioritised, notified and escalated? FR-CORE-10/11, FR-CORE-18
15 Integration with HVAC, lighting, fire, access control, energy? FR-CORE-17
16 Maintenance, updates and support SLAs? NFR-28
17 Who owns the data; can it be exported? NFR-25, NFR-30
18 Migration if the platform or provider changes? NFR-26
19 Certifications, audits and compliance? NFR-08, NFR-29, NFR-34
20 How is data correlated into insights and recommendations? FR-CORE-03, FR-AM-03..07, FR-EI-03..10