Skip to content
All projects

A metering data platform for smart meters

Project write-up

The client is described by industry and scale, without a name. KPI figures are targets agreed with the client after a baseline measurement.

In brief

Problem
The volume of metering data is growing exponentially, and the current data warehouse cannot keep up with processing it.
Approach
We build a time series data platform with a layer for validation, gap filling (VEE), and aggregation.
Goal
Share of records meeting quality rules: ≥ 98% in critical tables; Data freshness in reports: ≤ D+1 (or ≤ 15 min for operational data).

Client context

The energy sector is undergoing a transformation: distributed sources, storage, smart meters, and new retail market processes change the requirements for IT and OT systems. The client is a distribution system operator rolling out smart meters at scale, with fifteen-minute data from millions of metering points.

Challenge

The volume of metering data is growing exponentially, and the current data warehouse cannot keep up with processing it. Analyses of network losses and transformer loads are run on samples.

Requirements and constraints

  • The Central Energy Market Information System (CSIRE) changes the model for exchanging metering data and retail energy market processes. Retailers and distribution system operators (OSD) must adapt their billing and customer service systems to the information exchange standard of the energy market information operator. (source)
  • NIS2, that is Directive (EU) 2022/2555, and the amendment to the KSC Act require essential and important entities to implement cybersecurity risk management measures and supply chain security, and to report incidents within short deadlines (early warning within 24 hours). The management board is personally liable, so documenting decisions is part of the product. (source)
  • The Polish National Cybersecurity System Act defines the obligations of operators of essential services, including incident handling, cooperation with CSIRT, and security audits every two years. The project must provide for an incident reporting procedure and audit trails. (source)
  • GDPR, that is Regulation (EU) 2016/679, requires data minimization, a legal basis for processing, and processing agreements, and for high-risk processing also a data protection impact assessment (DPIA). In practice it rules out copying production data into test environments without anonymization or pseudonymization. (source)
  • Project constraints: work only on anonymized or synthetic data outside production, access to systems through the client's infrastructure, and every deliverable shipped with documentation that the client's team can take over.

Approach and architecture

We build the data platform in layers (raw, cleansed, and business), with transformations in code, data quality tests, and automatic lineage documentation. Every data product has an owner, a quality agreement (completeness, freshness, correctness), and a catalog where a business user can find the definition of a metric before asking an analyst.

We build a time series data platform with a layer for validation, gap filling (VEE), and aggregation. Loss and load analyses run on the full data, and data used for settlements passes through quality rules that meet market requirements.

Key elements of the solution:

  • Metering data ingestion through a stream
  • Validation, estimation, and editing (VEE)
  • A time series store with aggregations
  • Loss and load analyses on the full data

Team and roles

RoleCountResponsibility
Solution architect1target architecture, ADR decisions, technical reviews
Data engineer3pipelines, data model, data quality tests
Data scientist1models, validation, explainability
BI analyst1dashboards, metric definitions, user training
Product owner and domain experts (client side)as neededpriorities, business decisions, acceptance

Phased schedule

PhaseWeeksDeliverable
1. Inventory of sources and metrics1–4metric dictionary, source map
2. Architecture and data model5–10layered model, standards
3. Building pipelines and quality tests11–20pipelines, tests, catalog
4. Reconciliation and parallel run21–26consistency reports
5. Rollout and training27–28dashboards, training, handover

Technology stack

Kafka, Apache Flink, TimescaleDB or ClickHouse, Spark, Airflow, Grafana.

Risks and how we mitigate them

RiskHow we mitigate it
Data migration errorsdata profiling, trial migrations with reconciliation, quality criteria before cutover
Uncontrolled growth of cloud costsbudgets and alerts, tagging, a weekly FinOps review, reservations once the load has stabilized
Undocumented behavior of the legacy systemcharacterization tests (golden master) before the change, comparison of old and new results

Measurable goals and KPIs

The values below are targets that we agree with the client after a baseline measurement in the first phase.

KPITargetHow it is measured
Share of records meeting quality rules≥ 98% in critical tablesdata quality tests
Data freshness in reports≤ D+1 (or ≤ 15 min for operational data)pipeline metadata
Time to prepare a regulatory or management reportreduced from days to hoursbefore and after measurement

Lessons learned and good practices

Metering data is personal data: a consumption profile says a lot about a household. VEE is a business process, not just a technique, so it needs an owner on the operator's side. A shared metric definition is worth more than the fastest query engine.

Why B2B.net

B2B.net S.A. has operated since 2015 and has worked for more than 50 brands, mainly where audits are routine: in banks, insurers, and critical infrastructure. We are an accredited exam center, so a test methodology is not a declaration for us but a working standard. We give a first proposal of specialists within 24 hours, and a team can start within 5 business days.

Acceptance criteria

Each phase ends with a formal acceptance against criteria agreed at the start. In this implementation, acceptance covers: metric dictionary, source map; layered model, standards; pipelines, tests, catalog; consistency reports; dashboards, training, handover. Final acceptance requires a KPI measurement report against the baseline, complete documentation handed over to the client's team, and a list of recommendations for the next stage, with a cost and risk assessment for each.

Next step

Facing a similar challenge? Write to office@b2bnetwork.pl or call +48 577 317 312. You will get a first proposal of specialists or a plan for the first step within 24 hours.

What would this look like for you?

Book a 30-minute call. We will prepare a plan for the first weeks and a team matched to your system.

Let's talk

B2Bnetwork · B2B.net S.A. · accredited exam center. We describe clients by industry and scale, without names.

More projects: Energy