arXiv:2610.06444cs.SEOct 2026

Manuscript Offprint

arXiv:2610.06444

Choosing an energy-efficient software architecture for building system diagnostic support

Roxane Koitz-Hristov, Franz Wotawa

Abstract

Around 30% of global energy expenditure can be attributed to the building sector, where a large portion of energy-consumption could be avoided by repairing existing faults. Fault detection and diagnosis (FDD) software addresses this issue; however, its creation and operation also have an environmental impact. The magnitude of this impact is influenced by the diagnosis architecture, as different architectures and methods have different energy demands. Yet, simply considering the energy consumed by the software itself is not sufficient to assess its overall environmental impact, since the diagnostic performance, e.g., number of detected faults or number of faults missed, also contributes to its ecological footprint.

In this paper, we propose an energy-consumption model that considers FDD performance and energy spend directly by the diagnosis software. In an initial experiment, we compare several FDD architecture families, i.e., rule-based, model-based, classical machine learning, and large-language-model-based, in simulation using performance and energy-consumption values collected from prior literature. The results show that considering the computational energy and accuracy of FDD can change the relative benefit of the different approaches. Computationally efficient machine learning methods, such as random forest, provide the largest net savings on smaller buildings, whereas more resource-intensive approaches, such as fine-tuned large language models, become advantageous as building size increases. Our findings suggest that overall energy efficiency depends not only on the computational demand of the FDD software, but also on its diagnostic performance and the scale of the building.

1 Introduction

The energy expenditure of residential and commercial buildings constitutes a critical challenge in achieving the United Nations' climate targets. Recent estimates indicate that the domain is responsible for 40% of the final energy-consumption in the European Union [15] and 30% worldwide [18]. Roughly 75% of the EU building stock is energy inefficient [14], with operational faults as a major contributing factor [8]. Notably, heating, ventilation, and air conditioning (HVAC) systems account for a considerable portion of the energy demand in the building sector. Studies estimate that simply repairing existing HVAC faults could substantially reduce the energy-consumption [2]. Thus, fault detection and diagnosis (FDD) for building systems is a highly relevant strategy for ensuring energy efficiency and the achievement of sustainability goals.

Historically, FDD in buildings has primarily relied on knowledge-based approaches [30, 7, 59, 34]. However, in recent years, the widespread adoption of building automation systems (BAS), increasing availability of sensor data, and advancements in data science have led to the development of various machine learning (ML) techniques for FDD [75]. ML has proven to be a suitable approach, which can achieve high detection and diagnostic accuracy while requiring little to no prior knowledge of the system's underlying composition or dynamics [33, 6, 73, 23].

One goal of FDD in buildings is to improve energy efficiency, yet sophisticated FDD methods can be computationally costly to train and operate, leading potentially to a substantial amount of energy use and therefore additional carbon emissions. The questions of how much energy software requires and which design choices influence its resource consumption have been studied in software engineering previously. In software engineering, sustainability has been established as a multi-dimensional property of software quality in its own right, which includes technical, economic, social, and environmental aspects [38, 64, 5]. In our work, we are interested in the environmental dimension, in particular, in the environmental impact of FDD software. While most definitely the implementation itself, i.e., the underlying code, affects the ecological footprint of software, there have been studies that show that also software architecture can measurably influence the energy demands of a system [16, 50, 25]. In general, architectural decisions shape a system's structure and behavior. Therefore they influence the quality and sustainability of software products. Moreover, changing design decisions is expensive, especially later in the software life cycle [63].

With the adoption of complex ML methods, which are associated with high energy demands for training [61], the conversation on software sustainability has extended to the domain of artificial intelligence (AI). A recent debate contrasts “Red AI”, which prioritizes performance without regard for environmental cost, with “Green AI”, which favors computational efficiency and reduced energy use while maintaining acceptable accuracy [57, 65]. Recent work addresses the architectural angle within the discussion around sustainable ML with the goal to determine “green” architectural strategies [43, 27].

“Green software” and “Green AI” often aim to reduce the energy-consumption of the software under consideration. In the building domain, the FDD software not only consumes energy itself, but it is also intended to enable energy savings in the building it monitors. Thus, to minimize the overall environmental footprint, one has to consider the energy consumed by the software as well as the energy savings enabled by the software. In practice, this raises the question of which of the available FDD techniques is the most overall energy-efficient solution. Answering this question is more intricate than it initially seems, since the commonly used methods differ largely in the computational resources they require and their diagnostic quality. For instance, diagnosing a building from a small set of threshold-based rules can be done very efficiently, however, if the rule-based system raises a large number of false alarms the additional energy needed for the unnecessary maintenance activities offsets some of the computational efficiency of the FDD approach. The reverse may also happen, where a model is associated with substantially more resources to be able to diagnose a system, e.g., a deep neural network, yet it may be able to detect faults more reliably and therefore may decrease the energy expenditure of the building. Consequently, the computational energy required to operate the diagnosis software has a direct environmental impact, whereas the energy savings resulting from diagnosis activities have an indirect, enabling impact [37]. Often there might be a tradeoff between diagnostic performance and environmental impact, yet both affect the ecological footprint of a building. Thus, in order to answer the question which FDD technique is the most overall energy-efficient solution, we must analyze which combination of the two

Figure

Figure 1: Rule-based diagnosis architecture

factors maximizes energy savings.

In this paper, we address this question in the context of building HVAC systems by making the following contributions: First, we introduce an energy-consumption model that relates fault detection performance of an FDD method to the energy-consumption of a building affected by faults. Second, we extend this model with energy requirements associated with the training of the diagnosis method as well as its inference. Third, we compile diagnosis performance and energy-consumption data reported for the considered methods from the FDD literature and use the resulting values to compare the methods in simulation experiments to assess the suitability of the different diagnosis architectures and methods.

References (56)