An energy meter can be wired correctly, show plausible values, and still produce a dataset that is unsafe to use for cost allocation, performance reporting, or operational decisions. Missing intervals, clock drift, duplicated records, register scaling errors, counter resets, and silent communication failures can all turn a technically sound meter into an unreliable information source.
The practical answer is to validate the measurement chain, not just the meter. A defensible dataset should be complete, correctly timestamped, physically plausible, traceable to the source device, and explicit about every correction. This guide presents a repeatable workflow for facility energy managers, integrators, commissioning engineers, and monitoring-platform operators.
Scope note: This is an operational data-quality workflow, not a substitute for legal-metrology requirements, calibration, or a revenue-metering standard. Where data supports billing, regulated reporting, contractual settlement, or performance guarantees, follow the applicable rules and project specification.
What good energy-meter data should prove
A reliable dataset should answer five questions:
- Completeness: Did every expected meter and interval arrive?
- Time integrity: Is each record attached to the correct time period?
- Value integrity: Are units, signs, scaling, phases, and register meanings correct?
- Physical plausibility: Can the readings exist on the actual electrical system?
- Traceability: Can an investigator reconstruct where the value came from and what changed?
These dimensions are related but not interchangeable. A smooth graph may conceal a wrong CT ratio. A complete series may be shifted by one hour. A correct cumulative kWh register may be converted into bad interval consumption after a reset. The validation process therefore needs both technical checks and operating context.
Start with a data contract for every meter
Do not begin with anomaly thresholds. Begin by documenting what each point is supposed to mean. For every meter, record:
| Data-contract item | Example | Why it matters |
|---|---|---|
| Device identity | Site, switchboard, feeder, meter serial number | Prevents data from being attached to the wrong asset |
| Measurement boundary | Main incomer, tenant feeder, PV output, EV charger | Defines what should reconcile with what |
| Electrical configuration | 3P4W, 400/230 V, 50 Hz | Sets plausible voltage, phase and frequency ranges |
| Transformer ratios | CT 400/5 A; VT 11 kV/110 V | Establishes the required scaling |
| Register definition | Import active energy, total kWh | Prevents confusion between import, export, net and total values |
| Data type and byte order | IEEE 754 float, two registers, word order ABCD | Avoids large but superficially numeric decoding errors |
| Units | W, kW, Wh or kWh | Prevents factors of 1,000 |
| Sign convention | Positive = import | Keeps power and energy direction consistent |
| Sampling and logging interval | Read every 60 s; store 15 min | Defines completeness and aggregation expectations |
| Time source | Meter NTP, gateway UTC, platform receipt time | Identifies the authoritative timestamp |
| Counter behavior | Non-resettable, resettable, rollover value | Determines how interval energy is calculated |
| Expected limits | 800 A feeder, 500 kVA transformer | Supports plausible-value tests |
| Firmware and register-map revision | Meter firmware 2.3; map revision 1.7 | Explains behavior changes and protects integrations |
The data contract is the reference for commissioning, monitoring, and future troubleshooting. If the register map changes after a firmware update, the integration should not continue silently under the old assumptions.
For the physical checks that should precede data validation, use How to Commission an Energy Meter: CT Polarity, Phase Mapping, and Validation. Data-quality logic cannot compensate for an incorrectly wired or configured measurement chain.
Establish a trusted baseline before automating checks
Choose a period when the site is operating in a known, relatively stable state. Record readings at three layers:
- the meter display or native web interface;
- the gateway, PLC, or data collector;
- the final database or energy-management platform.
Compare voltage, current, active power, power factor, import/export direction, and cumulative energy. The values do not need to update at exactly the same instant, but the units, scale, sign, and order of magnitude must agree.

A baseline comparison should follow the value from the physical meter to the final platform. Photo by Fatih Yurtman via Pexels.
Capture a baseline evidence pack with meter photographs or exports, configuration files, register reads, gateway logs, platform screenshots, and the test time. This becomes invaluable when a later software update, meter replacement, CT change, or network outage creates a discontinuity.
Test completeness at the expected interval
If a meter is expected to produce one 15-minute record, there should normally be 96 intervals in a 24-hour UTC day. Local days affected by daylight-saving changes may contain a different number of wall-clock intervals, which is one reason UTC storage is usually easier to validate.
For each meter and day, calculate:
- expected records;
- received records;
- missing intervals;
- duplicate intervals;
- late-arriving intervals;
- longest consecutive gap;
- percentage completeness.
A simple completeness metric is:
Completeness (%) = valid expected intervals / expected intervals x 100
Do not count a row as valid merely because it exists. A record with a null value, a communication error code, a repeated stale value, or an impossible timestamp may need to be classified separately.
Distinguish at least four conditions:
- No record: the interval is absent.
- Invalid record: the interval exists but failed validation.
- Zero energy: the meter validly reported no consumption.
- Estimated record: the value was filled using an approved method.
Converting all four to zero corrupts consumption totals and conceals system reliability problems.
Make timestamps a controlled part of the measurement chain
The timestamp may come from the meter, gateway, polling service, historian, or cloud platform. Decide which one is authoritative and store the others as diagnostic metadata where practical.
Schneider Electric's PowerLogic documentation explains that the meter clock is used to timestamp data and determine time-based measurement intervals, and that external references such as NTP, PTP, or GPS can improve clock accuracy. Its Power Monitoring Expert documentation also warns that poor synchronization can result in missing or duplicated logs. Those are not cosmetic issues: a time shift can allocate energy to the wrong tariff period, operating shift, day, or reporting month.
Validate:
- UTC offset and time-zone configuration;
- daylight-saving behavior;
- clock difference from the approved reference;
- timestamp format and precision;
- whether an interval is stamped at its start or end;
- whether gateway and platform transformations preserve the original time;
- behavior after a power outage, network outage, or meter reboot.
Store timestamps in UTC where possible, then apply the reporting time zone at presentation time. Also preserve the site's time zone and interval convention in metadata. A local timestamp such as 2026-11-01 01:30 can be ambiguous during a daylight-saving transition; its UTC equivalent is not.
Set a clock-drift alarm appropriate to the use case. Sequence-of-events analysis may need much tighter synchronization than monthly energy trending. The threshold should follow the business requirement rather than an arbitrary universal number.
Validate cumulative energy before calculating interval consumption
Many systems derive interval energy from a cumulative register:
Interval energy = current cumulative reading - previous cumulative reading
This works only when the counter is interpreted correctly. Check whether the register is:
- import, export, net, or total energy;
- delivered or received energy;
- active or reactive energy;
- resettable or non-resettable;
- primary-scaled or secondary-scaled;
- Wh, kWh, MWh, or another unit;
- monotonic until a documented rollover;
- affected by a meter replacement or firmware procedure.
For a normal monotonic import register, a negative delta is an exception that requires explanation. Common causes include a reset, rollover, meter replacement, byte-order error, data arriving out of order, or an incorrect device identity. Do not automatically take the absolute value: that converts evidence of a fault into apparently valid consumption.
Manufacturer behavior differs. Eastron's SDM630 documentation, for example, identifies reset operations for certain demand or resettable-energy values. Schneider Electric documentation advises backing up accumulated energy values before some firmware work and describes configurable integrator rollover behavior. The correct rule must therefore come from the exact device and register documentation.
Record reset and rollover handling explicitly:
- Detect the discontinuity.
- Check meter event logs, uptime, configuration history, and maintenance records.
- Identify the last valid pre-event value and first valid post-event value.
- Apply the documented rollover value only when rollover is confirmed.
- Mark the affected interval as corrected, estimated, or unresolved.
- Preserve the raw values and the correction method.
Use physical plausibility checks, not just database checks
Energy data has relationships that should remain physically credible. Useful tests include:
Range checks
- Voltage should remain within the site's credible operating range.
- Current should not materially exceed the CT or circuit range without a corresponding event.
- Frequency should remain within the expected grid or generator range.
- Power factor should be between its valid limits and interpreted with the meter's sign convention.
- Active power should not exceed a credible limit based on voltage, current, phases, and equipment capacity.
For a three-phase system, a rough upper-bound check is:
Apparent power (kVA) is approximately sqrt(3) x line voltage (kV) x current (A)
Active power should not exceed apparent power. This is a screening check, not a substitute for the meter's calculation or a power-quality analysis.
Relationship checks
- Total active power should broadly agree with the phase sum.
- An increase in a large feeder's current should normally be visible in power.
- Import energy should increase during sustained positive-import operation.
- Solar export should be consistent with generation exceeding on-site demand.
- Zero voltage with substantial current and power is generally implausible.
- Identical unchanging values over many polls may indicate a stale cache rather than a stable load.
Rate-of-change checks
Flag steps that exceed what the connected process can realistically do. A 300 kW change may be normal for a large motor or furnace but impossible for a small office feeder. Thresholds should be asset-specific and should allow known switching events.
Avoid treating every outlier as bad data. Real events are often the most valuable records. A validation system should distinguish a plausible operational event from a sensor, communication, or transformation fault.
Reconcile meters across the electrical hierarchy
A main meter and its downstream submeters provide one of the strongest data-quality tests:
Main energy is approximately the sum of downstream energy plus unmetered loads and losses
Use the same time window, direction convention, and energy type before comparing them. Allow for:
- transformer and conductor losses;
- auxiliary loads outside the submeter boundary;
- different accuracy classes;
- different logging intervals and interval boundaries;
- CT and VT errors;
- missing data;
- generation or storage connected between measurement points.
Track the residual as both energy and percentage:
Residual = main meter - sum of comparable submeters
A stable residual may represent known unmetered load. A sudden change is more interesting: it can indicate a failed submeter, a changed circuit boundary, a scaling error, a clock shift, or a newly added load.

Hierarchical reconciliation is more reliable when meter identities, boundaries, and interval timing are documented. Photo by Vjanodic WERSOV via Pexels.
Do not force a hierarchy to balance by spreading the residual across submeters unless the method is approved and disclosed. That makes dashboards look tidy while destroying traceability.
Monitor the communication layer as data, too
Modbus and other field protocols need explicit health indicators. The Modbus Application Protocol distinguishes a timeout or no response from an exception response returned by a device that received but could not process a request. Those conditions should not be flattened into the same generic null.
For each poll, retain or aggregate useful diagnostics such as:
- request time and response time;
- device address or unit ID;
- function code and register range;
- timeout count;
- CRC or framing errors for serial links;
- Modbus exception code;
- retry count;
- gateway connection state;
- last successful read time;
- firmware and integration version.
The official Modbus serial-line guide describes CRC checking for detecting corrupted messages. A CRC failure is evidence about the communication path, not a valid zero reading. Repeated failures may point to termination, shielding, baud rate, parity, topology, interference, or hardware problems.
Good platform design keeps three states separate:
- the electrical quantity measured by the meter;
- the quality status of that measurement;
- the health of the communication path.
Treat configuration changes as data-quality events
A CT-ratio change, wiring-mode change, register-map update, meter replacement, or firmware upgrade can create a step change even when every record arrives.
Use device event logs and an external change log to record:
- who made the change;
- when it occurred;
- old and new values;
- reason and work order;
- affected meters and registers;
- pre-change backup;
- post-change validation result.
Schneider Electric documents that meter event logs can record configuration changes and relevant device events. ABB's M4M documentation also describes onboard storage for trends, cumulative snapshots, maintenance data, alarms, and timestamps for key configuration changes. Use these capabilities where available, but do not rely on the device alone: event-log retention may be limited or altered during service.
Use quality flags instead of silently editing history
Every processed interval should carry a quality state. A practical scheme might include:
| Flag | Meaning | Typical action |
|---|---|---|
| Valid | Passed required checks | Use normally |
| Suspect | Plausible but one check failed | Review or exclude from sensitive calculations |
| Missing | No valid source record | Leave null pending recovery or estimation |
| Estimated | Replaced using an approved method | Use with disclosure |
| Corrected | Deterministic repair from verified source information | Preserve before/after values and reason |
| Invalid | Known decoding, scaling, timing, or device fault | Exclude from totals |
| Maintenance | Expected interruption or test mode | Handle under project rules |
Keep the raw layer immutable. Store transformations, validation results, and corrections in downstream layers with versioned logic. If an engineer later discovers that a byte order or CT ratio was wrong, the original records should still exist for a controlled reprocessing exercise.
Estimation should be a governed exception. Document the method, input data, affected interval, confidence, approver, and whether the value is suitable for operational reporting, cost allocation, or neither.
A practical acceptance test
Before a meter-data stream is accepted into production, run this minimum test:
- Verify device identity, serial number, measurement boundary, firmware, and register map.
- Confirm network type, CT/VT ratios, phase mapping, and import/export convention.
- Compare meter, gateway, and platform values under a known load.
- Confirm units, scaling, data type, byte order, and phase order.
- Verify the authoritative timestamp, time zone, interval boundary, and clock synchronization.
- Observe at least one complete reporting cycle at the required interval.
- Confirm cumulative energy increases as expected and interval deltas are calculated correctly.
- Test a controlled communication interruption and confirm that missing data is not stored as zero.
- Confirm recovery behavior, late-data handling, and duplicate prevention.
- Review event logs and verify that configuration changes are traceable.
- Reconcile the meter with a parent meter, reference instrument, or known load where feasible.
- Save the baseline evidence and assign the ongoing alarm thresholds and owners.
The acceptance period should match the risk. A small trend monitor may need a short observation. A tenant-allocation or performance-contract meter may need a longer and more formal verification process.
Ongoing data-quality dashboard
The operations team should be able to see, by site and meter:
- data completeness over the last day, week, and month;
- last successful read;
- clock offset;
- missing and duplicate intervals;
- negative or discontinuous counter deltas;
- stale-value duration;
- communication error rate;
- parent-child reconciliation residual;
- unresolved quality incidents;
- days since configuration and source documentation were verified.
Prioritize alarms that change decisions. A short gap on a low-value trend point may be a ticket; a scaling change on a main incomer may require immediate containment because every downstream cost and performance metric is affected.
Common mistakes to avoid
- Treating a successful Modbus response as proof that the value is correct.
- Replacing missing intervals with zero.
- Using platform receipt time without preserving meter or gateway time.
- Differencing a cumulative register without reset and rollover logic.
- Applying the same plausible-value thresholds to every asset.
- Comparing parent and child meters with different interval boundaries or direction conventions.
- Correcting historical data without retaining the raw value, method, and approval.
- Ignoring firmware and register-map revisions.
- Assuming a graph without spikes is a high-quality dataset.
- Using operational monitoring data for billing without checking legal and contractual requirements.
Final checklist
Before trusting an energy dataset, confirm that:
- the meter identity and measurement boundary are unambiguous;
- the register definition, units, scaling, byte order, and sign are documented;
- CT/VT ratios and phase mapping have been commissioned;
- timestamps use a controlled source and interval convention;
- missing, invalid, zero, estimated, and corrected data remain distinct;
- cumulative registers have explicit reset and rollover rules;
- physical and hierarchy-based plausibility checks are active;
- communication faults retain their diagnostic meaning;
- configuration changes are logged and validated;
- raw data is preserved and corrections are auditable;
- alert ownership and response times match the business risk.
Reliable energy management depends on reliable evidence. The goal is not to eliminate every anomaly; it is to make every material anomaly visible, explainable, and handled consistently.
Sources
- Schneider Electric PowerLogic PM8000: Logging overview
- Schneider Electric PowerLogic PM8000: Time and timekeeping overview
- Schneider Electric Power Monitoring Expert: Time synchronization for ION meters
- Schneider Electric PowerLogic PM8000: Event log
- Modbus Organization: Modbus Application Protocol Specification V1.1b3
- Modbus Organization: Modbus over Serial Line Specification and Implementation Guide V1.02
- Eastron SDM630MCT Modbus Protocol
- ABB M4M 30 product documentation