Power quality analysis and management in smart buildings

It began with a flicker. At precisely 9:03 a.m., the lights in a high-end smart office tower dimmed for a second, barely noticeable to its occupants

But in the server room two floors below, the momentary dip triggered a cascade of system alerts. HVAC units briefly slowed, elevators paused, and automated lighting scenes reset across multiple zones.

Reviewing the Building Energy Management System (BEMS) dashboard, the building's facility manager traced the disruption to a brief voltage sag induced by the startup of a high-power EV charging bank in the basement. It wasn't a blackout nor a failure. It was a power-quality event—small in duration but significant in impact.

In modern smart buildings, where critical systems rely on continuous and conditioned power, minor Power Quality (PQ) disturbances can cause disruptions, equipment degradation, or data loss. Why do such anomalies persist in technologically advanced, automated environments? And more importantly, how can engineers identify, analyse, and mitigate these invisible yet damageing disturbances?

The answer lies in the complex power environment of smart buildings. With the integration of energy-efficient lighting, renewable sources, VFDs, IoT devices, and high-density electronics, buildings now both consume and generate power in nonlinear, dynamic ways. This leads to harmonics, sags, swells, transients, and unbalanced loads—each capable of compromising equipment performance and grid interaction if left unmanaged. This article explores the methodologies, technologies, and strategies for power quality analysis and management in smart buildings.

Power quality in smart buildings: Definition and challenges

Power quality refers to the degree to which electrical power remains stable, clean, and within acceptable voltage, frequency, and waveform purity standards. It ensures that electricity delivered to equipment matches expected characteristics without spikes, dips, imbalances, or distortions. The key factors include voltage level, frequency stability, waveform shape, and phase balance. Power quality directly impacts electrical systems' performance, efficiency, reliability, and safety. Smart buildings face the following PQ challenges with

  • Harmonics from nonlinear loads: Smart buildings host far more nonlinear loads than conventional structures. Variable frequency drives (VFDs) in HVAC systems, switch-mode power supplies (SMPS) in IT equipment, LED lighting systems with electronic ballasts, and electric vehicle charging stations contribute to complex harmonic distortion patterns. VFDs often generate 5th, 7th, 11th, and 13th harmonics, while LED drivers can produce both odd and even harmonics based on their topologies.
  • Electromagnetic interference in IoT networks: The dense deployment of IoT sensors, wireless communication modules, and edge computing devices creates a challenging electromagnetic environment. Power line communication (PLC) systems, often used in building automation, can introduce conducted emissions that interfere with sensitive measurement equipment. The switching frequencies of DC-DC converters in IoT devices, typically ranging from 100 kHz to 2 MHz, can create intermodulation products that affect power quality measurements and communication systems.
  • Grid-interactive building systems: Smart buildings increasingly function as prosumers, incorporating photovoltaic systems, battery energy storage systems (BESS), and demand response capabilities. Grid-tie inverters introduce high-frequency switching noise and can create resonance conditions with building electrical systems.
Figure 1: Common Power Quality issues

Video 1: Understanding Power Quality

Common PQ disturbances and their impacts

PQ covers issues like wiring faults, voltage distortion, harmonics, and load fluctuations. These often go unnoticed but can silently damage equipment, causing overheating, failures, and early ageing. Distorted power stresses transformers and cables, leading to costly downtime, higher maintenance, and reduced equipment life. Common PQ issues in smart buildings include:

  • Voltage variations: Voltage variations, such as sags, swells, and interruptions, are common power quality issues that can severely affect smart building equipment. Sags caused by faults, large motor startups, or lightning reduce voltage briefly and can shut down sensitive devices or damage motors. Swells, often due to load changes or capacitor switching, briefly raise the voltage and risk damageing electronics or corrupting data. When the voltage drops to zero, interruptions can halt operations, even if momentary. These disturbances often stem from grid dynamics or (Distributed Energy Resources (DER) integration, highlighting the need for smart buildings to use internal voltage regulation and protection to maintain stable operation.
  • Waveform distortions: Waveform distortions, such as harmonics, interharmonics, and electrical noise, pose significant challenges in smart buildings due to widespread nonlinear loads like VFDs, LED drivers, and inverters. Harmonics caused by these devices are frequency multiples of the power supply, which lead to overheating, energy losses, poor power factor, equipment malfunctions, and faster wear of components. THD measures this distortion as a percentage of the fundamental frequency, while TDD provides a more practical view by comparing it to peak demand, reflecting real-world system impact. Though less obvious than voltage events, harmonics quietly degrade performance and increase long-term costs. Interharmonics, with non-integer frequencies and electrical noise caused by motors, welders, and lightning, can disrupt sensitive electronics, making proactive harmonic mitigation essential for reliable and efficient smart building operation.
  • Other disruptions like transients/spikes, flicker, and voltage unbalance: In smart buildings, transients or spikes caused by lightning, arcing, or switching can instantly damage electronics and corrupt data. Flicker, often from fluctuating loads like welders or heat pumps, causes annoying light fluctuations that affect comfort and disrupt sensitive tasks. Voltage unbalances, resulting from uneven phase loads or asymmetrically distributed generation like solar PVs, lead to overheating, energy loss, and reduced motor life. These issues are more frequent in smart buildings due to rapid switching, widespread LED use, and integrated renewables.

In addition to common power quality issues, smart building technologies introduce unique challenges such as islanding transients, reduced system inertia, bidirectional power flow, and electromagnetic interference, which require integrated and dynamic power quality management.

Figure 1: Common Power Quality issues

Power quality analysis: From detection to diagnostics

PQ analysis follows five key steps: identify the issue, choose the proper monitoring tools, install them strategically, analyse the data, and take corrective action.

  • Total Harmonic Distortion (THD) monitoring: Power quality is evaluated using key metrics like voltage/current harmonics, THD, TDD, voltage and frequency variations, and power factor. THD measures waveform distortion as a percentage of the fundamental frequency, while TDD relates distortion to peak demand, offering a more realistic view of system impact. Power factor indicates system efficiency by comparing the actual power used to the total power drawn. Together, these metrics represent a shift from basic readings to performance-based analysis.
  • Waveform analysis and data logging: Waveform analysis is key to detecting issues like voltage spikes, interruptions, and waveform distortions. Techniques such as Fast Fourier Transform (FFT) and wavelet transforms break down voltage and current signals into frequency components—FFT handles steady-state harmonics, while wavelets are ideal for spotting transients. Tools like MATLAB and PowerGUI (Simulink) support in-depth analysis.

    Data logging in smart buildings continuously records power quality parameters, such as voltage, current, and frequency, to identify patterns, trends, and intermittent faults. This data is analysed against standards using metrics like THD and voltage sag duration, helping detect anomalies early.

  • PQmonitoring system: Effective power quality monitoring in smart buildings relies on tools like power quality analysers, oscilloscopes, smart meters, and energy management systems (EMS). analysers offer high-precision insights into voltage, current, harmonics, and transients—especially in industrial setups. For example, Fluke 435 Series II and Dranetz HDPQ deliver real-time insights into voltage, current, power factor, and harmonics, adhering to IEC 61000-4-30 standards for accurate measurement. With high sampling rates (up to 200 kS/s), harmonic analysis up to the 50th order, and event logging with waveform capture, these tools are essential for transient detection and post-event analysis. Oscilloscopes help visualise waveform distortions and spikes, while smart meters provide real-time energy and power quality data for homes and businesses. In smart buildings, the PQ monitors seamlessly integrate with Building Management Systems (BMS) via Modbus or BACnet, enabling centralised monitoring and visualisation.
  • Advanced cloud-based monitoring solutions: Cloud-based power quality monitoring solutions enable real-time, remote data collection and analysis across multiple sites, offering centralised control, predictive maintenance, and instant detection of issues like voltage dips and harmonics. They transform raw data into actionable insights with automated reports and trend analysis, supporting compliance and performance optimisation. By integrating operational technology with IT systems, these solutions enhance smart grid interaction, scalability, and energy management, making them essential for modern, intelligent buildings and smart city infrastructures.
Figure 2(a): Triboelectric charging

Video 2: Power Quality – Essentials (Siemens)

PQ management and mitigation strategies

PQ management in smart buildings involves a combination of mitigation technologies, system design, and operational strategies.

  • Active and passive harmonic filters: Active Harmonic Filters (AHFs) dynamically cancel harmful harmonics and correct power factors in real time by injecting counteracting currents, improving efficiency and extending equipment life. They adapt to changing loads using predictive algorithms and reduce reactive power losses. On the other hand, Passive Harmonic Filters (PHF) use capacitors and reactors to divert harmonics by offering a low-impedance path, providing a cost-effective solution when tuned to specific frequencies. On the other hand, sine wave filters smooth PWM outputs from VFDs to protect motors.

Figure 2(a): Triboelectric charging

Figure (b): Triboelectric charging

Figure (b): Triboelectric charging

  • Voltage regulation and stabilisation devices: Maintaining stable voltage is critical in smart buildings, and devices such as Static VAR Compensators (SVCs), Uninterruptible Power Supply (UPS) systems, and Surge Protective Devices (SPDs) play key roles. SVCs use thyristor-controlled capacitors and reactors to provide fast reactive power compensation, stabilise voltage, improve power factor, and support renewable integration. (UPS) systems ensure continuous power during outages or surges, protecting vital systems like automation, security, and data centers, often with real-time monitoring and redundant configurations for enhanced reliability. Surge Protective Devices (SPDs) shield equipment from transient overvoltages by diverting excess voltage to the ground. Type 1, Type 2, and Type 3 SPDs provide layered protection at different points in the electrical system.
  • Power factor correction: Power factor reflects how efficiently electrical power is used, and a low power factor leads to energy losses, higher costs, and utility penalties. While capacitors traditionally correct lagging power factor by supplying reactive power, they can worsen harmonic distortion in smart buildings with many nonlinear loads. To avoid this, integrated solutions like Static Var Generators (SVGs), tuned harmonic filters, and Active Harmonic Filters (AHFs) are used to dynamically correct power factor and mitigate harmonics. In smart buildings, effective power factor correction must go hand-in-hand with harmonic mitigation to ensure overall power quality and energy efficiency.
Figure 3: Low PF Power Transmission with No PFC (Left) and Power Transmission with Corrected Power Factor and PFC (Right)

Figure 3: Low PF Power Transmission with No PFC (Left) and Power Transmission with Corrected Power Factor and PFC (Right)

Video 3: Power quality applications, measurements, and analysis (Megger)

Role of standards and compliance

Ensuring power quality in smart buildings requires adherence to key standards. IEEE 519-2022 sets limits for harmonic distortion at the Point of Common Coupling (PCC) and emphasises Total Demand Distortion (TDD) for real-world impact assessment. The IEC 61000 series provides global standards for electromagnetic compatibility and power quality measurement, with IEC 61000-4-30 defining precision requirements for Class A and S meters. EN 50160 outlines voltage characteristics delivered by public networks and highlights the need for coordination between utilities and building operators to address internal vs. external issues. ASHRAE 90.1, though focused on energy efficiency, indirectly affects power quality by promoting technologies like LEDs and VFDs that generate harmonics, underscoring the importance of integrating efficiency goals with power quality strategies for reliable building performance.

Distributed energy resources (DERs) and microgrids: Impact on power quality

Integrating Distributed Energy Resources (DERs) and microgrids transforms power quality in smart buildings, introducing both disruptions and solutions. When paired with Battery Energy Storage Systems (BESS), intermittent sources like solar and wind help smooth output fluctuations and regulate voltage and frequency. Smart inverters (per IEEE 1547) and microgrid controllers play a critical role by manageing load balancing, seamless grid transitions, and real-time voltage control. While DERs can introduce issues like overvoltages and islanding transients, advanced control and storage systems turn them into assets for improving power quality, positioning smart buildings as active grid participants rather than passive consumers.

Conclusion

PQ analysis and management are integral to smart buildings' reliable and efficient operation. By using advanced monitoring tools, mitigation technologies, and data-driven strategies, engineers can address the challenges posed by complex electrical environments. Compliance with standards, integration with DERs, and adopting emerging technologies like AI and digital twins will further enhance PQ management, ensuring robust performance for mission-critical systems.