Experiment 10 — Household Energy

Δ.72 on UCI Power

Applying the coherence framework to real household energy consumption data. 34,190 hours of readings across 7 electrical features, resampled from 1-minute to hourly resolution. Can Δ detect structural shifts in consumption patterns that variance misses?

Δ = (P · A · R) / (D + N)
Applied to 7 power features: Global_active_power, Global_reactive_power, Voltage, Global_intensity, Sub_metering_1, Sub_metering_2, Sub_metering_3.
Baseline: first 8 weeks. Rolling window: 168 hours (1 week), step 24 hours.
34,190
Hours Analyzed
1,418
Windows
432
Δ Alerts
1
Variance Alerts
431
Coherence-Only
0.425
Mean Δ

Across 34,190 hours of household power data (1,418 rolling windows), the Δ coherence metric triggered 432 alerts while variance-based detection found only 1. Of the Δ alerts, 431 were coherence-only detections — structural regime shifts invisible to variance. The mean Δ value of 0.425 indicates sustained departure from baseline coherence across the dataset.

Δ Coherence

Alerts: 432

Mean Δ: 0.425

Threshold: 0.3

Sensitivity: Structural shifts

Variance

Alerts: 1

Z-score threshold: 2.5

Missed: 431 events

Sensitivity: Amplitude only

Plot 01

Coherence Overview

Full timeline of Δ coherence across 34,190 hours. Top: raw power signals. Middle: system-level Δ with alert threshold. Bottom: per-feature Δ decomposition.
Coherence overview across full timeline
Clear seasonal structure in coherence: winter months show higher Δ (more departure from baseline), while summer months are more stable. The framework captures both gradual seasonal drift and abrupt consumption regime changes. Seasonal Signal
Plot 02

Monthly Coherence Heatmap

Month-by-month coherence levels across all 4 years. Color intensity maps to mean Δ value.
Monthly coherence heatmap
The heatmap reveals a repeating annual pattern: coherence peaks in winter (Dec–Feb) and troughs in summer (Jul–Aug). 7 months exceed the high-coherence threshold while 19 remain in the low range. Repeatable
Plot 03

Daily Consumption Profile

Average hourly power consumption profile showing intra-day patterns and their relationship to coherence dynamics.
Daily consumption profile
Daily profiles show distinct morning and evening peaks typical of residential consumption. Δ is sensitive to changes in these temporal patterns — a shift in peak timing registers as a coherence change even if total consumption remains constant. Temporal Sensitivity
Plot 04

Alert Distribution

Distribution of Δ alerts across the timeline. Where and when does the coherence framework detect structural shifts?
Alert distribution
Alerts cluster around seasonal transitions and holiday periods, consistent with genuine changes in household energy behavior. The 431 coherence-only alerts represent events completely invisible to variance-based monitoring. Behavioral Shifts
Plot 05

Multi-Feature Coherence

Per-feature Δ decomposition across all 7 electrical measurements. Which features drive the coherence signal?
Multi-feature coherence analysis
Sub-metering channels show the most variable coherence profiles, reflecting appliance-level usage pattern changes. Global active power and intensity track closely, while voltage maintains lower Δ values throughout — consistent with grid stability. Feature Decomposition
MonthMean ΔLevel
2006-120.9530High
2007-011.0135High
2007-020.6874High
2007-030.6782High
2007-040.3187Low
2007-050.4017Moderate
2007-060.2873Low
2007-070.2680Low
2007-080.1836Low
2007-090.3412Low
2007-100.4374Moderate
2007-110.5460Moderate
2007-120.6057High
2008-010.5832Moderate
2008-020.4864Moderate
2008-030.4754Moderate
2008-040.3884Moderate
2008-050.3066Low
2008-060.3182Low
2008-070.2280Low
2008-080.0655Low
2008-090.4603Moderate
2008-100.2859Low
2008-110.5703Moderate
2008-120.5347Moderate
2009-010.6278High
2009-020.5744Moderate
2009-030.5398Moderate
2009-040.4305Moderate
2009-050.2982Low
2009-060.3011Low
2009-070.1476Low
2009-080.2569Low
2009-090.4610Moderate
2009-100.5022Moderate
2009-110.6541High
2009-120.5263Moderate
2010-010.5927Moderate
2010-020.5807Moderate
2010-030.4614Moderate
2010-040.3278Low
2010-050.3697Moderate
2010-060.2989Low
2010-070.0622Low
2010-080.1498Low
2010-090.2864Low
2010-100.3740Moderate
2010-110.4926Moderate

48 months analyzed. Coherence levels: High ≥ 0.6   Moderate 0.35–0.6   Low < 0.35

UCI Household Electric Power Consumption — Measurements from a single household in Sceaux, France. 4 years of data (Dec 2006 – Nov 2010) at 1-minute resolution, resampled to hourly (34,190 readings). 7 electrical features covering global power, voltage, intensity, and 3 sub-metering circuits. Source: UCI Machine Learning Repository.

Configuration — Baseline: first 8 weeks. Window: 168 hours (1 week), step 24 hours. Δ threshold: 0.3. Resample: 1h. Variance z-score: 2.5.

Python NumPy Pandas UCI ML Repository 4 Years 7 Features Hourly

← Back to all experiments