The UK utilities sector — gas, electricity, and water — processes petabytes of sensor and meter data every day. National Grid ESO manages over 300,000 monitoring points; UKPN (UK Power Networks) receives data from 8M+ smart meters across London and the South East. The smart meter rollout in the UK reached 60% coverage in 2025, generating half-hourly consumption reads that are a powerful signal for ML anomaly detection. Energy theft costs the UK industry approximately £400M per year (Energy Networks Association estimate), and network inefficiency adds a further £200–300M in unnecessary losses.
Isolation Forest and Autoencoder are the two most effective approaches for smart meter anomaly detection. Isolation Forest: an unsupervised algorithm that 'isolates' anomalies through random feature splitting — anomalies are isolated in fewer splits. Effective for: unusual consumption patterns, billing anomalies, and suspected bypass tampering. Autoencoder neural network: learns to reconstruct 'normal' consumption profiles; high reconstruction error signals an anomaly. Advantage of autoencoder: it can capture complex temporal patterns in half-hourly data — for example, consumption matching commercial operation but on a residential tariff.
SCADA (Supervisory Control and Data Acquisition) systems in UK gas and electricity networks generate real-time sensor streams: pressure, flow rates, voltage, temperature, and equipment status. ML anomaly detection for SCADA: (1) Multivariate time series anomaly detection — LSTM Autoencoder trained on normal operating signatures for each asset; (2) Predictive maintenance — anomaly patterns preceding equipment failure (transformer overheating, compressor vibration signature changes); (3) Cybersecurity anomaly detection — ML identifies unusual command sequences that may indicate a cyber intrusion into the OT (Operational Technology) network. The UK National Cyber Security Centre (NCSC) published guidance for ML-based OT security in 2024.
Ofgem (Office of Gas and Electricity Markets) regulates the UK energy sector and has specific requirements for data handling and fraud reporting. Smart Metering Equipment Technical Specifications (SMETS2) define data format and privacy requirements for smart meter data. The Data Access and Privacy Framework (DAPF) governs who can access granular consumption data: DNOs (Distribution Network Operators) have automatic access for network management purposes; suppliers require explicit customer consent for granular data. An ML anomaly detection pipeline must: process data in accordance with the DAPF, maintain an audit trail of detected anomalies, and report suspicious cases in accordance with Ofgem licence conditions.
Time series feature engineering for utility anomaly detection: key features for half-hourly smart meter data: (1) Statistical features — rolling mean, std, min/max over various windows (24h, 7d, 30d); (2) Calendar features — day of week, hour of day, UK bank holidays (GOV.UK API); (3) Weather normalisation — degree days from the Met Office UK weather API; (4) Peer comparison — consumption vs median for the postcode sector and property type. Peer comparison is particularly powerful: consumption that is 3 standard deviations from the postcode median for similar properties is a strong anomaly signal. UK-specific feature: Economy 7/10 tariff indicators that explain legitimate overnight consumption spikes.
Real UK deployment case study: Cadent Gas (the UK's largest gas distribution network, serving 11M homes) deployed ML anomaly detection for identifying gas theft and meter tampering. Architecture: Azure Databricks (UK South) for batch ML processing; streaming anomaly detection via Azure Stream Analytics; alerting via ServiceNow to field engineer dispatch. Results: 35% reduction in false positives vs the rule-based system; detection of an additional 12% of genuine tampering cases; ROI positive within 8 months. Technical stack: Python (scikit-learn, PyOD library for anomaly detection), MLflow for model registry, and Power BI for the operations dashboard.
Related Codeworth Services
Need Help with Implementation?
The Codeworth team is ready to implement these ideas in your project. Free consultation.
Discuss the ProjectCodeworth team specialist.