A role-aware, locally deployed LLM architecture for trustworthy building energy analytics

Large language models (LLMs) may make building energy analytics more accessible, but their use in operational environments raises governance risks because high-resolution metering data may reveal occupancy patterns, routines, or other sensitive information. This paper presents a role-aware, locally deployed LLM architecture for policy-enforced building energy analytics. The architecture combines a web-based conversational interface, local LLM inference, Model Context Protocol (MCP) tools, and an external policy engine. The contribution is the architectural integration and prototype-level validation of local LLM inference, MCP-mediated tool access, external policy enforcement, role-aware context mediation, and audit logging for building-energy analytics; no novelty is claimed for these individual technologies. The architecture is evaluated in a real office-building case study using 5-second electricity metering data. A property-based validation protocol is applied, including role-specific tool listings, nominal and boundary prompts, policy-decision traces, MCP tool-call logs, and inspection of structured outputs injected into the model context. The results show that non-administrative roles received only policy-authorised aggregations and fields in the evaluated scenarios. Relative to the native 5-second resolution, 15-minute aggregation reduced the number of time-series records presented to the model per day from 17,280 to 96, corresponding to a 180-fold record-count reduction. Daily aggregation reduced the number to one record, corresponding to a 17,280-fold record-count reduction. Requests for unauthorised streams or finer temporal resolution were denied. The findings are limited to prototype-level validation of selected governance properties in one office building, using one local LLM configuration and a controlled prompt suite; they do not establish general applicability across buildings, models, or workloads. The evaluation does not assess the numerical accuracy, diagnostic correctness, factual correctness, or reliability of the LLM-generated building-energy analyses. The architecture provides a prototype-level reference design for integrating LLMs into building energy analytics while reducing the number of time-series records presented to the model and improving traceability.

Authors

Institutions

Publication Details

Journal
Energy Reports
Published
2026-10-29
DOI
https://doi.org/10.1016/j.egyr.2026.109821
Primary Topic
Building Energy and Comfort Optimization
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A role-aware, locally deployed LLM architecture for trustworthy building energy analytics

Lukas Gnam, Christoph Klikovits
1 links
Energy Reports
Building Energy and Comfort Optimization
article

A role-aware, locally deployed LLM architecture for trustworthy building energy analytics

Lukas Gnam, Christoph Klikovits
article en

Abstract

Large language models (LLMs) may make building energy analytics more accessible, but their use in operational environments raises governance risks because high-resolution metering data may reveal occupancy patterns, routines, or other sensitive information. This paper presents a role-aware, locally deployed LLM architecture for policy-enforced building energy analytics. The architecture combines a web-based conversational interface, local LLM inference, Model Context Protocol (MCP) tools, and an external policy engine. The contribution is the architectural integration and prototype-level validation of local LLM inference, MCP-mediated tool access, external policy enforcement, role-aware context mediation, and audit logging for building-energy analytics; no novelty is claimed for these individual technologies. The architecture is evaluated in a real office-building case study using 5-second electricity metering data. A property-based validation protocol is applied, including role-specific tool listings, nominal and boundary prompts, policy-decision traces, MCP tool-call logs, and inspection of structured outputs injected into the model context. The results show that non-administrative roles received only policy-authorised aggregations and fields in the evaluated scenarios. Relative to the native 5-second resolution, 15-minute aggregation reduced the number of time-series records presented to the model per day from 17,280 to 96, corresponding to a 180-fold record-count reduction. Daily aggregation reduced the number to one record, corresponding to a 17,280-fold record-count reduction. Requests for unauthorised streams or finer temporal resolution were denied. The findings are limited to prototype-level validation of selected governance properties in one office building, using one local LLM configuration and a controlled prompt suite; they do not establish general applicability across buildings, models, or workloads. The evaluation does not assess the numerical accuracy, diagnostic correctness, factual correctness, or reliability of the LLM-generated building-energy analyses. The architecture provides a prototype-level reference design for integrating LLMs into building energy analytics while reducing the number of time-series records presented to the model and improving traceability.

Energy ReportsVol. 16
University of Applied Sciences Burgenland (AT)
Bundesministerium für Verkehr, Innovation und Technologie
Affordable and clean energy, Climate action
Openalex Percentile: Top 16%
Building Energy and Comfort Optimization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon