Smart meter data quality and energy disaggregation: what NILM can and cannot do

Originally published 23 November 2026. Updated 24 November 2026. By StratLytics Editorial Team.

Smart meter data looks like a clean table of kilowatt-hours at fixed intervals. It rarely is. Before any forecast, demand response measurement or appliance-level analysis, interval data needs checking, because defects are systematic and bias results in ways averages hide. This article covers five checks that find many common problems, then explains energy disaggregation (non-intrusive load monitoring, NILM), how it is scored, why the usual scores mislead, and where it stops being reliable.

Five checks on interval data

1. Duplicates. The same meter and timestamp appears more than once, either as an exact repeat (a retransmission) or with a different value (a correction). Keep one row per meter and timestamp, set a rule for conflicts (for example keep the latest) and count both kinds, because a rising conflict rate points at a feed problem.

2. Clock and daylight saving. If timestamps are stored as local time without an offset, the hour when clocks go back appears twice and the hour when they go forward is missing. A pipeline that treats a timestamp as a unique key will merge or drop real intervals. Store UTC or keep the offset, and test both change-over days. A local day has 92, 96 or 100 fifteen-minute intervals, not always 96.

3. Gaps. Intervals that never arrive. Measure the share missing, the number of gap events and their length, since one 40-interval outage and 40 single misses need different handling. With cumulative register readings, the first read after a gap carries the whole gap’s energy, so a simple difference creates a false spike.

4. Meter swaps. A replacement meter starts a new register, often near zero, so the difference between reads usually goes negative. That is a swap, not negative consumption: flag the interval and split the register history.

5. Estimated reads. When a read fails, systems often fill in an estimate. Flagged estimates are easy to exclude. Unflagged ones tend to look like a flat run of identical values, which is suspicious because real load fluctuates.

Flow from raw meter feed through five checks to a flagged interval table used by later analysis.

Figure 1. The checks add a quality flag to each interval so later analysis can choose what to trust. Illustration.

Stage 1 of the worked example: 60 meters

The synthetic feed has 60 meters over 46 days (4,420 fifteen-minute intervals each, including the extra hour when clocks go back on 25 October 2026), so 265,200 expected readings. Defects were planted, then the checks run.

  • Daylight saving: 240 repeated local timestamps (60 meters x 4 intervals) across 01:00 to 01:45 on 25 October. Arrival order and register values resolve them; a pipeline that drops repeated timestamps deletes them.
  • Duplicates: 1,407 repeated timestamps in 25 meters, of which 1,092 were exact repeats and 315 had conflicting values.
  • Gaps: 1,496 missing intervals (0.56 percent of the total), in 33 meters, across 67 gap events, the longest being 96 intervals (one day). After a gap the register difference averaged 4.42 kWh, against 0.17 kWh for a typical interval.
  • Meter swaps: 3 negative increments in 3 meters, exactly the swaps planted.
  • Estimates: 946 flagged estimated intervals in 4 meters, and flat-lined runs of 8 or more identical increments in 7 meters. Three had no flag.

Bars of meters affected out of 60: clock fold 60, gaps 33, duplicates 25, estimates 4, flat-lined 3, swaps 3.

Figure 2. Meters affected by each defect, out of 60. Synthetic data.

The unflagged flat-lined stretches matter most: they pass a completeness check and quietly remove variation. A 0.56 percent share missing looks harmless, but not if concentrated on peak days.

What energy disaggregation is

Energy disaggregation, or non-intrusive load monitoring, estimates what individual appliances were doing from one measurement at the meter instead of a sensor on every appliance. There are two conceptual parts. Event detection finds the step changes in total power when a device switches on or off. Attribution decides which device caused a step, using its power level, how long it ran and when it is typically used. Modern methods learn these patterns from labelled data, but the logic is the same: the aggregate is a sum, and the task is to separate it back into parts.

Stage 2 of the worked example: one home, 1-minute data

One synthetic home, 14 days, one-minute data: a fridge (130 W cycling), kettle (2 kW for 3 minutes), heat pump (1.8 kW in cycles of 15 to 25 minutes), EV charger (7 kW for 2.5 to 4 hours, 5 sessions), washing machine (2 kW for 20 minutes then 300 W) and other load that wanders in steps. Total use was 354.84 kWh. The detector is simple by design: it finds steps of at least 1,200 W, pairs each with a matching drop, and labels the pair by size and duration (7 kW is the charger, 6 minutes or less the kettle, longer the heat pump). The appliances and their patterns are assumptions of the simulation, and the detector’s thresholds were set by someone who knew the appliance list, so the scores below are optimistic. It is told the signatures; a real system must learn them.

Whole-home power over one day, and true against estimated EV charger plus heat pump power, which overlap closely.

Figure 3. One day (day 8) in which the method works well: heat pump cycling from 12:00 and an EV session from about 18:40. Synthetic data.

Over the 14 days the detector reported 4 EV sessions (5 true), 156 heat pump cycles (175 true) and 55 kettle boils (59 true).

Why the usual scores mislead

Three scores are common. On/off accuracy is the share of minutes with the state guessed correctly. F1 combines precision (of minutes called on, how many were) and recall (of minutes truly on, how many were found). Energy recovered compares estimated and true kWh.

Appliance        On share   Accuracy   Always-off   F1     Energy recovered
Kettle            0.9%       99.9%       99.1%      0.94        93%
Heat pump        17.4%       98.1%       82.6%      0.95       103%
EV charger        5.1%       99.1%       94.9%      0.90        80%
Fridge           24.8%       75.2%       75.2%      0.00         0%
Washing machine   0.9%       99.1%       99.1%      0.00         0%

Accuracy, F1 and energy recovered for five appliances; fridge and washing machine score zero on F1 and energy despite high accuracy.

Figure 4. The same results scored three ways. Accuracy is high even where the method found nothing. Synthetic data.

The washing machine scores 99.1 percent accuracy and the fridge 75.2 percent while the method found neither, because a mostly-off appliance is easy to get right by guessing off. For the kettle, accuracy beats that guess by only 0.8 points. F1 exposes this, but energy figures can hide something else: the heat pump’s 103 percent energy recovery looks excellent, yet it includes 47 of the 60 minutes of washing machine heating, which the detector labelled as heat pump because the power and duration look alike. Two errors partly cancelled. Report all three scores and where the energy went, never accuracy alone.

Limits

  • Small loads vanish. The fridge draws 130 W and other load steps by 50 to 600 W; the detector ignores steps below 1,200 W. About 41 percent of the home’s energy stayed unexplained (208.92 of 354.84 kWh attributed).
  • Look-alike loads. Washing machine heating and heat pump cycles share a power level, and overlapping switching blurs edges: the EV charger’s 80 percent energy recovery is a warning.
  • Resolution. At 15-minute resolution the kettle is invisible to this method.
  • Generalisation. These scores are for one home on which the thresholds were set; another home needs fresh validation.

A note on privacy

Appliance-level information describes behaviour. In this simulation, averaging the one-minute data to 15 minutes still showed all 5 EV charging sessions as runs above 4,500 W, while a kettle boil adds at most 400 W to a 15-minute average, which is within the normal wander of the other load. That is a synthetic-data result, not a claim about real homes or what any law requires. Decide which resolution you need before collecting it, limit who sees appliance-level output, and take advice from your privacy and legal team on obligations.

What goes wrong

  • Timestamp keys that delete the repeated hour at the clock change.
  • Differences across a gap turned into one giant interval.
  • Completeness checks alone, which let unflagged estimates pass.
  • Quoting accuracy for rarely used appliances.
  • Validating on the same homes used to build the method.

How to start

  1. Store UTC timestamps and run the five checks per meter on a month of history.
  2. Add a quality flag per interval.
  3. Before disaggregation work, state the question (which loads, what resolution) and whether a sub-metered sample exists for validation.
  4. Score with accuracy, F1 and energy recovered against an always-off guess.

An illustrative project

This is an illustrative scenario built on synthetic data. It does not describe a specific client.

An analytics team wants to estimate how much evening peak comes from EV charging in a feeder’s homes. They first run the five checks, find flat-lined stretches and a dropped clock-change hour, and repair them. They test step-matching on homes with a sub-meter on the charger and report the share of charging energy recovered, not accuracy. Charging proves detectable at 15-minute resolution but kettle-sized loads do not, so they scope the project to charging.

SLIQ (StratLytics Intelligence for Quantum Grid) supports load forecasting, energy disaggregation, demand response optimisation and grid visibility.