Skip to Content
  • Article
  • Open Access

23 November 2026

46 Pages

Beyond Complete Observability: Reference Model, Protocol Checks and AI Methods for Smart Meter Defect Detection

,
,
,
,
,
and
1
School of Electrical Engineering, Afeka College of Engineering, P.O. Box 53398, Tel-Aviv 6910717, Israel
2
Israel Electric Corporation org. (IECo) Headquarters, Gan Soreq 7686500, Israel
3
School of Electrical Engineering, Tel Aviv University (TAU), P.O. Box 39040, Tel Aviv 6997801, Israel
4
Department of Artificial Intelligence, College of Informatics, Korea University, Seoul 02841, Republic of Korea

Abstract

Field-installed smart meters and grid IoT devices develop metrological, functional and communication defects that pass type-approval testing yet corrupt billing and mask energy losses, while calibrator-based verification cannot scale to hundreds of thousands of devices. This paper presents a framework that detects data-model-observable defects remotely, from the quantities a meter already logs (registers, load profiles and event logs), combining a standards-derived protocol rule checker, a statistical-features AI anomaly-detection module, and a behavioral metrological reference model. Detection is framed as importance-sampled random testing: field scenarios act as the pseudorandom stimulus and standards-derived rules as the checking oracle, so a defect activated with operational probability p is detected with at least 1 − (1 − p)n over n meter-intervals. The rule set derives from IEEE 1459, IEC 62052-11/-41, IEC 62053-21 and DLMS/COSEM IEC 62056-1, exploiting roughly 40 registers per meter. On a small field cohort, metering-registration-method firmware defects were flagged with 100% precision on the screened cases (n = 3 firmware detected defect types; 800 arithmetic ↔ vector) from the energy load profile alone, a deterministic outcome driven by an order-of-magnitude register discrepancy rather than a statistical threshold. For meter-bypass nontechnical loss, fusing energy registers, event logs and AI anomaly detection with the load profile raised measured precision on the flagged, field-inspected set from 25% (F1 0.29) to 51% (F1 0.66). Recall over the full screened population could not be measured, since only flagged premises were inspected, and is reported only as a scoped estimate against the utility’s independent loss reconciliation. Given the small number of inspected premises, these values are best read as feasibility indications rather than powered performance estimates. Mass-query acquisition raises throughput by about two orders of magnitude, to 105–106 meters per server per day, making fleet-scale screening practical. The framework complements laboratory testing rather than replacing it; Version 1.0 is released as open source.

1. Introduction

This paper is the first in a planned series that aims to provide a foundation for a unified theory of IoT defect detection and technical–nontechnical (T-NT) energy loss detection using the “digital twin” of IoT devices in a smart meter data warehouse setting. This twin architecture comprises a reference model, a simulator, a protocol rule checker, and an AI anomaly-detection module. In a future paper, digital twins for ‘smart grid’ segments that are hidden but reside in the same field-installed meters and deployment data warehouse will be discussed. Compared with test bench methods, the proposed approach allocates appropriate hardware and detects firmware defects with a higher detection probability.
The framework detects defects that manifest as violations of standard-mandated relationships among the quantities the device itself registers and communicates—that is, defects observable in the logged data model (registers, load profiles, event logs and power-quality records, per IEEE 1459 [1], IEC 62052-11 [2], and IEC 62052-41 [3], IEC 62053-21 [4] and DLMS/COSEM IEC 62056 [5,6]). We term these data-model-observable defects, and every detection claim is restricted to them (universal defect coverage is not claimed). Metering malfunction defects with a spread of 0.1–1 × 10−4% are detected even after the device has passed full laboratory acceptance tests.
The defect types detectable by the proposed system (the defect taxonomy), and those outside its scope, are listed in Table 1, Table 2 and Table 3. Cells of type (iii) are outside the method’s reach in principle. The framework is therefore presented as complementary to, and not a replacement for, calibrator-based and laboratory-type testing; claims of superiority are restricted to scalability, cost, and continuous operation, and not to completeness of coverage. Each rule of the protocol rule checker (Section 2.4) is mapped to the taxonomy cells it exercises, and the coverage demonstrated is listed in Section 4.
Reference simulation models are used in silicon system verification [7,8,9,10,11], and protocol rules in chip and communication/encryption checks [12]. This research spans verification of smart-grid IoT systems and detection of defects missed by model-type certifications, with later work showing the grid itself can study missing-data detection related to topology and anomalies—faults, technical/nontechnical energy loss, topology extraction—addressing the challenge of smart IoT devices and reference calibrators at every node. RPA also integrates several AI technologies: (i) computer vision to identify desktop objects [13]; (ii) digital-automation-intelligence (DAI), combining automation with AI for optimization and randomized scenarios; and (iii) LLMs integrated with RPA (platform examples in the Supplementary Material). Several related innovations are proposed here, with novelty stated directly against prior art: existing meter simulators [7,8,9,10] are device-specific laboratory models requiring per-model development and internal design access; AMI anomaly-detection methods [14,15,16,17,18,19,20,21] flag statistical outliers but do not attribute a violation to a specific non-compliant computation; and reference-model and assertion-based checking, though standard in VLSI verification [11,12], has, to our knowledge, not previously been reported for field-installed metering IoT.
Four families of prior work stand closest to the proposed framework; each is discussed below, and each paragraph closes with the gap it leaves open.
(a)
Meter simulation platforms [7,8,9,10]. Azmi et al. [7] model an energy meter in MATLAB/Simulink, and Gallo et al. [8] realize a microcontroller-based power meter for smart-grid use; Pathare et al. [9] and Karabiber et al. [10] extend such models to net metering and to converter-level microgrid simulation. These platforms are accurate and are intended for laboratory or design-time use: each is built for one meter architecture and requires access to that device’s internal design, and each must be re-developed per meter model. Gap: an installed fleet is heterogeneous and closed, so a device-specific simulator cannot serve as a fleet-wide reference; what is needed is a behavioral model driven by the quantities the meter itself logs.
(b)
Reference-model and assertion-based verification in silicon systems [7,11,12]. Araújo et al. [11] present a System reference-model methodology for SoC design, and Noce [12] formalizes protocol-rule (assertion) checking for communication and cryptographic protocols. This methodology is mature precisely because a system-on-chip consists of many interconnected modules whose internal state cannot be exhaustively observed: correctness is therefore established by comparing behavior against an independent reference model and by asserting protocol invariants on observable transactions. Gap: a deployed metering fleet has the same structure—many interconnected devices, no internal observability, transactions logged at the interface—yet this methodology has not been reported for field-installed metering IoT. Operationalizing that analogy is the core of the present framework.
(c)
Digital twins in other engineering domains [20,21,22,23]. Bayer and Pruckner [20,23] build a digital twin of a local energy system from real smart-meter data, Irfan et al. [21] survey digital-twin frameworks, and Shaikh et al. [22] analyze the security of digital-twin architecture. These twins model the premises or the energy system and are typically design-derived, driven by synthetic or scenario stimuli. Gap: none acts as a metrological reference for the meter itself. The construction proposed here differs on two counts: the twin is behavioral and standards-derived (its equations come from IEEE 1459, IEC 62052-41 and DLMS/COSEM rather than from a device design), and its stimuli are the field data themselves.
(d)
Remote sensing and AMI data-warehouse analytics [14,15,16,17,18,19,24]. Etman et al. [14] survey machine-learning techniques for smart grids, Beniwal et al. [15] review detection and classification methodologies, and further work addresses meter data processing and billing [18], energy management [19], and AI/RPA-based data acquisition [17,24]. These methods detect statistical outliers in load profiles with good sensitivity. Gap: an outlier score does not attribute a deviation to a specific non-compliant computation, so a flagged premise cannot be distinguished between a genuine defect, an unusual but lawful consumption pattern, and a metrology error. Standards-derived rules provide exactly that attribution, and this is the discriminating information quantified in Section 6.3.
Table 1. Six enabling technologies used in the implementation reported in this paper (see the Supplementary Material).
Table 2. Positioning of the proposed framework against the closest families of prior work.
Table 3. Defect taxonomy. Axis 1—defect class; Axis 2—observability in the logged data model. Coverage demonstrated in this paper is stated per cell.
The technologies involved in the paper are as follows: (1) Most notably, a simple and fast test tool that detects diverse data-model-observable defect classes (accuracy, functionality and communication); big data and check rules are used instead of calibration equipment, as a complementary method, providing reference-model and rule checking in the absence of calibration. Remote sensing technology for smart grids is a widely studied topic [14,15,16]. All remotely measured IoT data are transmitted to data centers [17,18,19], and digital twins in the data warehouse are responsible for data analysis [20,21]. A central contribution of this paper is a method that rapidly detects data-model-observable IoT defects. (2) Robotic process automation (RPA) technology has been applied in smart grid applications since 2020 [17,24], with many works on this topic performed since 2023 [17,24]. RPA enables fast collaboration and automation of manual tasks using computer vision technology. (3) Reference model-based checking is an active research area [7,8,9], while protocol rule checkers are less frequently applied in IoT applications. In this paper it is demonstrated how the detection of data-model-observable defect classes with that tool is achieved, how simple the tool’s coding is, and how much the detection probability increases due to that checker. The paper’s core contribution therefore comprises two methods presented at the conceptual and mathematical level: the standards-derived protocol rule checker and the statistical-feature AI classifier for defect and theft detection and classification [25,26,27,28]. Remote sensing in general is addressed by Tezcan et al. [29]. The reference model checker is presented as a partial implementation, demonstrated for metering registration-method [30] validation, with its full development deferred to a subsequent paper in this series. The remaining material—robotic process automation and development tooling—constitutes implementation enablement rather than a scientific contribution and is documented separately in the Supplementary Material. Peripheral topics (digital twins of grid segments, outage prediction) are noted only as related and future work.
The single evaluation task of this paper is the remote detection of metering defects and energy theft from fleet data. This paper has two primary contributions: the standards-derived protocol rule checker and the AI statistical-features anomaly-detection and classification method; both are experimentally validated and demonstrated on two use cases, the metering-registration-method firmware defect and meter-bypass detection. Robotic process automation is a supporting technology that enables the approach, one tier below these two methods. VLSI verification is cited only as the conceptual inspiration; fraud (meter-bypass) detection is one example use case that validates the methods; and the behavioral reference model, the statistical foundation, and the open-source release are supporting methods and context, not separate contributions.
(1) Regarding technological innovations, RPA enables the remote sensing-based checker to be combined with historical databases and makes the construction of a simulation and protocol rule checker feasible where it was not until recently. With AI coding assistants, the scientific idea remains the researcher’s while code is auto-generated for testing—for example, extracting and implementing the formulas of IEEE 1459 and IEC 62056-1,2—and we demonstrate how generic rules emerge from the standards to check correct implementation. (2) Regarding conceptual innovations, IoT digital twins generate reference-model simulations: the device’s measured inputs and outputs define the stimuli [22,23]. Thus, no laboratory device needs a stored reference model [7], yet every field-installed meter receiving pseudorandom stimuli from its location can obtain one from its twin—a hypothesis tested in this work; prior smart-meter simulations [7,10] are model-specific rather than behavioral. (3) A protocol rule checker is used as an AI-like feature space to classify anomalies such as firmware and hardware defects, demonstrated via pseudorandom algorithms. (4) A remote sensing-based (reference- and protocol-rule-based) checker detects deterministic defects: although precise calibrators are used in the laboratory, the hundreds of thousands of IoT devices with unique signals create new opportunities. This research demonstrates a line of thought for detecting accuracy failures that is at least as successful as, and occasionally more successful than, calibrators, using (i) the load profile, (ii) the DLMS/COSEM register data model (IEC 62056-1,2) [5,6], and (iii) event log files; scenario logs enable the identification of meters under specific conditions. (5) Smart-meter metering registration methods are validated from the logged energy load profile alone, including defects reproduced in the laboratory only after field detection. (6) The central novelty is the combination—to the best of our knowledge not previously reported—of a standards-derived protocol rule checker, a statistical-features AI anomaly-detection and classification module, and a behavioral (device-independent) metrological reference model, all executed remotely on routinely logged field data. We do not claim that reference models or simulators as such are new: the closest prior art [7,8,9,10] is device-specific, modeling one meter type and requiring per-model development, while premises-level simulation studies model the environment rather than the meter. The combination is adapted from pre-silicon VHDL/SoC design verification, where reference models and assertion-based checking are standard practice; Simulink’s built-in power-meter components are appropriate only for fixed-impedance loads, not for behavioral smart-meter modeling. The first reference model includes two meters, vector and arithmetic, under the same load; usually the vector serves as the reference, although both may serve as reciprocal references. (7) A “smart premise” is defined as a systematic method to reproduce all smart-grid phenomena within a single premise, generating more complex electric scenarios than conventional premises—ten smart premises yield as much information as 300,000 residential sites. Examples include rapid bidirectional import/export toggling (PV plus storage, railways, elevators, furnace arcs), which produces a registration gap between the vector and arithmetic MRM because the vector is a net meter and the arithmetic meter is not; highly asymmetric open-delta loads; harmonics/THD. Metering registration gap scenarios occur in reactive energy in the same way as in active energy. Metering registration methods [31] are implemented in firmware and behave differently under asymmetric connections, and such bidirectional, fast toggling and simultaneous flows characterize modern grids but were historically uncommon. The use of remotely sensed data to detect deterministic defects is novel, whereas evolving defects fall under predictive maintenance [32,33] but are also detectable; reference models and protocol rule checkers for evolving-defect detection are not documented in the literature. This work therefore demonstrates the feasibility of metrology validation without a physical calibrator for the specific purpose of crude defect detection, providing a comprehensive foundation for automated quality assurance.

2. Materials and Methods

This section and the following one are organized by epistemic category so the reader can distinguish the conceptual framework, the implemented tools, theoretical assumptions, the experimental validation, and the future work. The conceptual framework and its assumptions are in Section 1 and Section 2.4 (the pseudorandom-equivalence assumptions in Section 2.6); the implemented tools—protocol rule checker, behavioral reference model, and AI anomaly-detection module—are in Section 2 and Section 3; the RPA-based data acquisition is confined to the Supplementary Material as engineering enablement, not a scientific contribution; and the experimental validation, with sample sizes and limitations, is consolidated in Section 6.3. The validated contributions are the metering-registration method and meter-bypass use cases; the broader defect classes of Table 3, the power-quality rule families, and the twenty-four-fraud-type figure are identified as conceptual or future work (Section 6.3 and Section 7).

2.1. Enabling Technologies of the Implementation (Engineering Enablement; See the Supplementary Material)

Six enabling technologies underlie the implementation reported in this paper; they are listed in Table 1 and described as implementation methods rather than as scientific contributions in the Supplementary Material.
The relevance of RPA to this paper is quantitative rather than promotional: it determines the achievable interrogation throughput, and hence whether fleet-scale statistical detection (Section 6.3) is feasible at all. The characteristic scan rate is ≈500 IoT devices per day per RPA license. Considering the 7–14% market energy loss each year [34], such as in the EU (5–7%), the maximum detection (data fetch) rate with RPA technology is ~1%, with every single license/server applied to 183,000 meters/(license*year). Thus, even with server farms, each meter should be surveyed at least once a year. A practical deployment therefore requires direct connection to the utility databases, which accelerates the scanning rate by about three orders of magnitude. The acquisition method itself is described in the Supplementary Material as engineering enablement; it is not claimed as a scientific contribution of this paper.

2.2. Proposed Framework Versus Other Technologies

Section 2.2 maps each claimed contribution to one of the four gaps identified above.
Table 3 specifies the defect types of the taxonomy that are detectable by the proposed system: metrology, metering, functional, communication, sporadic hardware, and firmware implementation defects. A simple probability computation shows that, in field deployment and assuming a 0.01% defect distribution, the detection probability of the proposed system is of the order of 1 within 10 premises, compared with 0.01% for a metrology laboratory. This probability ratio supports consideration of the proposed system.

2.3. Reference Model Number 1: Trusted IoT Devices vs. Tested IoT Devices

In this model, a “trusted IoT” device serves as a reference, installed at the same measurement point as the IoT under test (IUT); the IUT’s standard outputs are compared with the reference model’s. The pair must be installed under ultra-exhaustive conditions—a “smart premise.” For a grid device, ultra-exhaustion depends on the measured quantity. For electric parameters (phase voltage, current, load, power, energy), it includes (1) bidirectional energy flow, (2) fast changes in direction, (3) significant THD, (4) reactive energy, and (5) asymmetric load—characteristics of renewables, EVs, and storage, which are also multi-harmonic through their converters. Loads are inherently asymmetric, some extremely so, such as open deltas or railways, where the phase changes periodically and motors add energy. Ultra-exhaustive conditions are thus efficient: many sub-scenarios are generated, and few-premises testing can be done pre-installation. The technique detects everything but is limited by the number of sites where paired meters are installed.

2.4. Reference Model Number 2: Virtual IoT Simulator Behavioral Reference Model and Protocol Rule Checkers

The ideas and concepts of reference modeling and protocol rule checking are inspired by pre-silicon VHDL model verification and post-silicon system validation using two chips under different operating conditions running the same software, or a VHDL model under test with a protocol rule checker. The analogy with these concepts is clearly shown in Figure 1. Silicon verification lacks observability at every location of a large-scale system, yet the design must contain zero defects. The smart IoT device is like a system-on-a-chip. It includes functional modules and integrates large-scale functions. We examine the reasoning underlying VHDL verification and evaluate its consistency with IoT device validation. (1) Protocol rule checkers are used to monitor signals and illegal behavior. Several analogies with VHDL/SoC verification motivate the approach. (1)–(2) For defect detection, electrical rules are imposed: computations must follow the rules defined by a specific protocol, and alerts are raised on violations, so that the device complies with a given standard, just as a system-on-chip’s interconnected modules each comply with their specification. (3) As VHDL verification formulates assertions that must always hold, smart IoT devices admit always-true assertions—for example, for metering registration methods. (4) As VHDL verification automatically monitors module coverage across the entire rule set, field-installed IoT devices should track the percentage of the scenario space covered. (5) SoC modules map to IoT device modules—waveform field testing lacks personnel with calibrators. The protocol-rule-checker sampling-based (register file), “electric power” computation, energy computation, load profiling, and event recording; protocol rule-checking emerges as mathematical rules, far easier to implement than a checker for a smart meter behavioral reference model generalizable to any grid-tied IoT device. Rather than complex operational forecasting simulators, this work establishes stream concepts that were inspired by system-on-chip design, where observable data are similarly scarce, while grid big data can reveal faults, anomalies, and topology. This paper focuses on IoT defects and the foundations of simulation and rule-checking theory for smart grids. The strong similarity of concepts (1)–(6) motivates transferring these technologies to this new application, inspired by their success in another field. We may employ simulations or rule checkers with these modules. The objective of this section is to demonstrate a straightforward implementation methodology for a protocol rule checker that is analogous to a simulator and detects many defect types, as in VHDL verification. (6) VHDL verification and post-silicon validation involve large data volumes but lack observable data, which is why reference models and rule checkers are needed for comparison; likewise, smart-grid verification architectures modeled on VHDL verification are highly efficient and provide robust fault coverage across the critical failure modes: accuracy degradation, functional anomalies, and communication errors. The trusted-IoT method mirrors post-silicon system validation, where two CPUs run on one board with a random test generator (here one heated, one not), probabilistically enhancing detection of defects that escape full metrology-laboratory standard tests and MID certifications, including functional defects and speed paths. A behavioral model requires the same inputs as the actual device, which is feasible despite the apparent complexity. Previous works [7,8,9,10] have described accurate models for specific meters rather than behavioral models. The inputs are phase voltage and current waveforms; common IoT devices do not record waveforms but do record RMS voltages, currents, and power factors—the minimum information for model #2—from which three waveforms are reconstructed with voltages 120° apart (Figure 2). The accuracy of the vector measurements legitimizes their use as a reference. The behavioral model computes power {active, reactive} × {import, export} and energy based on IEC 62052-41:2022 [3] and IEEE 1459:2025 [1]. Known IoT devices include voltage/current sensors [35,36], fault detectors [37,38], and power quality/event sensors, all based on phase waveforms. Events are defined in EN 50160 A1:2025 [39], IEEE 519:2022 [40], IEC 61000-4-30+AM1:2021 [41], IEC 61000-4-7:2002 [42], and DLMS/COSEM IEC 62056-1,2:2023 [5,6,43,44,45]. Reference [46] clarifies IEEE 1459:2025 [1] and DIN 40110-1:1994 [47], DIN 40110-2:2002 [48]. A special case is the smart-meter behavioral reference model (Figure 3). Prior smart-meter simulators [7] focused on cumulative maximum demand (CMD); the data model includes standard-based phase parameters, and with the energy load profile, metering methods, and tariff registers, the maximum demand (MD) and IEC 62052-41 [3] define the vector and arithmetic meter methods. The reference model reconstructs waveforms from RMS voltage, current, and power factor. In Stage 2, the instantaneous power is computed as voltage × current. Tables of all the parameters, their formulas, and a textual description of the protocol rules are given in Table 4. Because of the system architecture dynamics, this compiled repository of parameters and rules named “protocol rule checker” is designed to expand ongoing and is shown to be the most successful presented research module: registers, load profile, and events-based. Additional standards [4,49,50,51] have also been provided. Figure 3 compares two optional models with a different final implementation than that of Figure 2. Since the voltage and current waveforms are sampled once every day to enable realistic phase voltage and current pseudorandom algorithms are used for defect tracking in IoT devices. When power decreases, changes in meter levels are recorded in event logs, but deterministic defects persist; therefore, a momentary record in register file is sufficient even if sampled once every several days. Table 4 summarizes our Version 1.0 rules; the rule count is continually increasing. These rules require adding arithmetic to the vector metering registration conversion formula according to [31]. A rule to convert arithmetic MRM to vector MM has been established. In Stage 3, the results are integrated with Laplace 1/S, and the energy is obtained and separated into {active, reactive} × {import, export} components based on IEEE 1459 [1]. Metering methods are further discussed in [31]. Load profiles may be stored periodically [31]. This paper focuses on protocol rule-checking and AI identification and classification. Finally, these steps are implemented with an AI coding assistant (the Supplementary and the current waveforms as ILi = ELi/(TVLi), indicating that currents are extracted from the energy, with symmetrical voltage assumed unless a timestamped electric event is recorded in the event-log file. The model uses different algorithms for these computations. Any programming language such as MATLAB can be used for protocol rule checking, as opposed to reference-model simulation, since such methods can convert arithmetic meters to vectors.
Figure 1. (a) Schematic of the VHDL verification reference model and protocol rule checker (an existing approach) versus (b) the proposed smart IoT reference model and protocol rule checker. The proposal involves executing an IoT digital twin to detect hardware and firmware defects. (c) Protocol rule check for a smart meter.
Figure 2. (Left) schematic of a smart meter that registers data as a digital twin in a data warehouse. (Right) reference model checker built with “MATLAB Simulink DSP and Simscape Electric”. The leftmost panel shows a physical smart meter installed in the field, and the right panel shows a digital twin residing in the data warehouse.
Figure 3. (a) left: (1) the energy of the arithmetic metering registration method (3) is converted into vector energy and compared with that of the arithmetic physical metering method installed at the same point. (b) right: (1) starting from the arithmetic energy, Iph = 230V/Vph is used to construct the phase waveform and generate the arithmetic energy load profile; then, the process starting with the left diagram is repeated.
Table 4. Mathematical rules of the protocol rule checker, derived from several standards. The standard from which each rule derives is stated in the table; the derivation logic, the rationale of each rule family and the practical implementation (logged quantities consumed and tolerances applied) are given in Section 2.5.

2.5. Theory of Operation of the Reference Model and Protocol Rules in the Field, Both Pre-Installation and Post-Installation: A Statistical Approach

Derivation and Implementation of the Protocol Rules

Each rule in Table 4 is an invariant that a compliant device must satisfy, derived directly from a published standard rather than learned from data; the standard from which each rule derives is stated in the table. Three worked examples illustrate the three rule families in the testing section. The overall extraction workflow of the protocol rule checker—requesting a summary table of the relevant standard functions, generating the checking rules, and applying them to the logged data—is shown schematically in Figure 4.
Figure 4. General schematic of the protocol rule checker extraction. Step 1: Request a summary table of functions. Step 2: Generate the request code.
(i)
Register-consistency rules. The sum of the daily active-energy registers over a billing period must equal the monthly register, within a tolerance that accounts for the boundary day, register resolution, and rounding (DLMS/COSEM IEC 62056-1, register definitions; IEC 62053-21 for accuracy). Rationale: the standard mandates that the same energy be accumulated consistently across register scopes; a violation indicates a register-computation or billing-cycle defect. Implementation: the rule consumes the daily and monthly energy registers as logged and flags a device when the residual exceeds the combined resolution and boundary-day tolerance.
(ii)
Monotonicity and state rules. Cumulative maximum demand must be non-decreasing between resets, and the sum of the tariff-rate registers must equal the total energy register (IEC 62056-1 object model; IEC 62052-11 functional requirements). Rationale: these quantities are defined by the standard as accumulators or partitions of a total, so any decrease, or any mismatch between the parts and the whole, is a violation by construction; it indicates a demand-calculation, tariff-switching, or memory defect. Implementation: the rule consumes the demand register series and the tariff registers, with a tolerance for clock skew, between logging channels.
(iii)
Registration-method rules. The relationship between the arithmetic and the vector apparent-energy registration methods is fixed by the standard for given per-phase conditions (IEC 62052-41; IEEE 1459 for the underlying power definitions). Rationale: for a compliant meter, the conversion of the arithmetic registration to the vector registration reproduces the meter’s own registered energy to within rounding, whereas a non-compliant firmware implementation produces a gap an order of magnitude larger; a violation therefore indicates non-compliant metrology firmware. Implementation: the rule consumes the energy load profile only and is demonstrated in the use case of Section 4 and quantified in Section 6.3. Practical implementation. The rules are executed as queries over routinely collected data in the utility head-end or MDM data warehouse (load profiles, register reads and event logs); no additional instrumentation or site visit is required. Each rule carries an explicit numerical tolerance accounting for register resolution, rounding and clock skew between logging channels. A rule violation flags the device for the reference-model comparison of Section 3, so that the rules act as the cheap first-pass screen over the whole fleet and the reference model as the confirming second stage on the flagged subset. Pre-installation: the mathematically based software system should run during two periods of the IoT device’s lifespan. The first mode runs prior to field installation; devices may then be installed in pairs {trusted veteran IoT, IoT under test} in a modern grid environment that exhausts the device, or stand-alone against the checker. A smart premise is a characteristic of a modern grid: a “smart” site implements some or all of five characteristics—(i) bidirectional energy flow, (ii) simultaneous bidirectional flow, (iii) a reactive energy component, (iv) significant THD, and (v) highly asymmetric connections such as two loads, an open-delta load, or a rotating-phase load.
bi directional ⊕ simultaneous ⊕ reactive _ energy ⊕ ( THD V ≥ 10 % ) ⊕ ( connection diagram = asymmetric )
A “smart premise” generates far more electrically exhausting scenarios than a classic grid premise. Examples include renewables and photovoltaics (twice-daily bidirectional flows), electric railways (asymmetric bi-loads), furnace arcs or computers (THD), elevators, and storage systems with power electronics (bidirectional flows). These produce the statistically significant effects needed to cover the virtual scenario space. A single meter with quarter-hourly profiles yields ~100 daily data periods, thirty registers per week, and about five electricity events per day—~3000 profiles per meter per month; ten meters yield 30,000 periods each, 300 register records and 150 events. Selecting smart premises ensures broader coverage. For other grid IoT devices measuring parameters such as temperature, the sites where the parameter varies most should be chosen. Preinstalling a few meters enables earlier defect detection; post-installation, with many deployed, events become statistically likely. Deterministic defects may occur because conventional test-bench validation is weaker, typically identifying defects only for the tested cases.

2.6. Statistical Foundation of Remote Sensing-Based IoT Device Validation

Proposition 1 (Representation).
The electric use case scenario may be represented as a trajectory in a specified high-order dimensional space.
(i) Construction: let xn be an electric use-case event at a given timestamp—e.g., a 5-kWh load at 7:00, a 10-kWh load at 7:15, a three-phase power-down at 7:15—as logged by smart meters. A 2nd-generation smart meter includes (1) periodic load-profile channels, import/export × {active, reactive}, reactive often disabled in directly connected meters; (2) ~40 registers; and (3) event/system logs, read by utilities twice monthly. (4) Advanced Class S/A power-quality modules log up to 12 timestamped parameters. Events may be continuous (load profile) or discrete (finite state); numerical representation aids graphical analysis but is not required. Events map to axes X = x1, x2, x3, … ,xn, where the letter denotes the axis and index n the time order. Two properties follow: (i) the scenario resembles a finite state evolving over time; (ii) the trajectory is its time evolution:
Scenario = { x 1 , y 2 , x 3 , … , x n } Scenario trajectory ( t ) = { x 1 ( t ) , y 2 ( t ) , x 3 ( t ) , … , x n ( t ) }
In a virtual space containing all axes included at X → , preferably but not necessarily metrical, an electric use case scenario is a trajectory that evolves over time between discrete points. An illustration of a continuous-like trajectory is shown in Figure 5 and Figure 6.
Figure 5. Drawing scenarios as ‘scenario trajectories’ evolving over time in the smart meter scenario space. Each trajectory is mapped to a certain smart meter with different inputs from the other smart meters. Each energy load profile may be regarded as a separate scenario in a different scenario space. One of the trajectories passes close enough to a hidden bug.
Figure 6. Equivalence between (a) right. testing over many meters of the same model type or many load profile periods on the same meter in the field and (b) left. random testing via a random test generator. Each seed reflects a different scenario.
Proposition 2 (Modeling equivalence).
Remote sensing field testing is statistically equivalent to pseudorandom testing whose generator distribution equals the operational profile P_op; it is therefore importance-sampled random testing, concentrating samples on scenarios that occur in operation. Consequently, every defect with non-negligible operational occurrence probability is detected with high probability by the bound of Definition 5 Section Formal Setting: Distributions, Independence, Coverage and Detection Probability below, whereas defects with p_δ ≈ 0 under P_op are not covered—such defects have, by construction, negligible operational and billing impact and require direct testing. This claim matches the established operational-profile testing literature in software reliability and constrained-random verification in VLSI. The intuition underlying the equivalence is that the large volume and diversity of field-generated scenarios—accumulated across many installations, load conditions and grid events—statistically reproduces the coverage properties of a pseudorandom test generator: neither process targets specific defects, yet both traverse the scenario space with a density that increases with the number of trials. The supporting modeling assumptions and observations are stated below.
Modeling assumption 1: The random test generator generates scenario trajectories from events ordered in time.
Modeling assumption 2: A single scenario implemented with a cluster of meters is within the space of scenarios, with the time parameter denoted according to the scenario trajectory.
Modeling assumption 3: The scenario space of the meters in the field forms a cluster of scenario trajectories. It may also be represented as a distribution of entities (i.e., the scenarios) in the multidimensional event space.
Modeling assumption 4: The random test generator may generate a cluster of scenarios that are “visited” by the meters in the field simply by replicating the space of the scenario trajectory for all scenario trajectories. These scenario trajectories are recorded by a smart meter with a time stamp. In particular, the energy load profile and event log are logged daily in the data model.
Modeling assumption 5: The relative movement of the scenario in time, relative to some N fixed points x(tn),x(tn+1),x(tn+2) in the high-order dimensional space, is 1:1 defined in that space and can thus be reproduced. The relative motion is identical to the trajectories of the scenarios encountered by the fixed scenario of a specific meter in the field via different meters installed in the field under different stimuli.
Proof sketch (construction). 
Figure 5 shows how a random test is generated in the high-dimensional use case scenario space. In this high-dimensional space, the remote sensing field test is visualized analogously to relativity; namely, in a scenario involving two bodies, the relative motion, rather than which body moves, is important. Similarly, if one fixed scenario is applied to multiple meters under different stimuli, the trajectory resembles a random test generator “bombarding” the multidimensional space. Thus, one scenario monitored over a large cluster of meters is equivalent to a random test, which is itself a subclass of a random algorithm. Two supporting arguments follow. The first rests on the established theory of randomized algorithms [53,54], (a full formal treatment would be lengthy, would replicate that literature, and lies outside the scope of this paper). Michel Talagrand [55,56], laureate of numerous prizes, including the 2024 Abel Prize, extended this idea. Even the physical concept of randomness is relevant, as methods are associated with random algorithms. Random algorithms remain a frontier discipline and are widely applied in chip testing. Recently, the three-body problem, which lacks a deterministic solution, was solved statistically, whereas stochastic diffusion equations enable solutions to insoluble equations such as the Navier–Stokes equations (The last period saw analytic proof of Navier–Stokes equations by an AI. Prior to that was stochastic solution). □
The properties of randomized algorithms summarized below are established results from the cited literature and are restated only for context; no new mathematics is claimed. Path 2: An independent approach can be used. In this case, random algorithms are better than deterministic algorithms for the following intuitively understood reasons.
(i)
Efficiency. Randomized algorithms often outperform deterministic algorithms, especially with complex problems, by exploring a broader solution space. Randomness enables faster, near-optimal results with greater coverage in the high-dimensional solution space.
(ii)
Simplicity. In certain cases, compared with deterministic algorithms, randomized algorithms can be easier to understand and implement. This simplicity can lead to faster development times and fewer errors.
(iii)
Computational resource load balancing. Randomized algorithms support distributed and parallel computing by balancing workloads across processors, reducing bottlenecks and improving performance. In high-dimensional space, deterministic reproduction requires an exact trajectory crossing the defect, whereas random testing requires only sufficient randomization, with some iterations naturally crossing defects.
(iv)
Dealing with unknown inputs or adversaries: Randomized algorithms are useful when dealing with uncertain, unpredictable, or even adversarial inputs. By using random choices, these algorithms can reduce the likelihood of worst-case scenarios or protect against attempts to exploit the algorithm. In terms of the interpretation of high-dimensional spaces, deterministic algorithms may not know which parameters are associated with the defect and must thus scan a very large region of space; alternatively, such algorithms must know which parameters are associated with the defect scenario a priori.
(v)
Amortized analysis: Although randomized algorithms may have worse performance in worst-case scenarios, their expected performance across many runs is often superior to that of deterministic algorithms, with randomized algorithms often yielding better overall results.
Random theories provide analytic solutions where deterministic algorithms fail, such as the three-body problem [57,58], condensed-matter many-body problems, and the Navier-Stokes equation using stochastic diffusion [59,60,61,62]. Figure 6 and Figure 7 show the results of directly testing suspected defects that were identified by deterministic algorithms. Based on this discussion and the experience of other researchers [31] and this group, random testing represents a strong approach. After defects are identified, they can be reproduced in laboratory test-bench experiments. The essence of random testing is that a defect need not be recognized in advance: once a defect is remotely sensed, a bug test can be written to randomize it for reproduction in the laboratory. The equivalence between testing multiple field meters and the random-testing approach is shown in Figure 6.
Figure 7. Heuristic visual illustration demonstrates the accurate laboratory test bench experiment as the equivalent of a single-shot sniper rifle. It targets a known scenario. The path of that scenario contains a visible bug. The remote sensing system is illustrated as a machine gun that semi-randomly “sprays” a large region of the scenario space. The chances of hitting a hidden bug are significant.

Formal Setting: Distributions, Independence, Coverage and Detection Probability

Definition 1 (Scenario space).
Ω ⊆ X1 × …×X_d, where each axis is a logged quantity of the IoT device (load-profile channels, the ~40 registers, event types, and power-quality parameters). A scenario is a time-indexed trajectory s = (x(t1),…,x(t_T)) ∈ Ω^T.
Definition 2 (Operational distribution).
The population of premises induces a probability measure P_op on Ω^T; each meter-day is a draw si ~ P_op. Selection of “smart premises” deliberately tilts the sampling toward high-entropy regions of Ω, as illustrated in Figure 8.
Figure 8. Illustration of non-smart premises vs. smart premises in a virtual high-dimensional electric use-case space; 300,000 non-smart premises and 10 smart premises may cover a much wider subspace in terms of action. Once covering the five features of smart premises the space is much covered.
Definition 3 (Defect-trigger region and occurrence probability).
A defect δ has a trigger region D_δ ⊂ Ω^T, with occurrence probability p_δ = P_op(D_δ).
Definition 4 (Independence and effective sample size). 
Trajectories of different premises are modeled as conditionally independent given common covariates (weather, tariff calendar, time of day). Residual correlation ρ among the m samples of a cluster is absorbed by the standard design-effect correction, giving an effective sample size n_eff = NM/(1 + (m−1)ρ) for N meters observed over M days; within-meter temporal correlation is treated identically.
Definition 5 (Detection probability) Section Formal Setting: Distributions, Independence, Coverage and Detection Probability.
Under Definitions 2–4, the probability of detecting defect δ satisfies P(detect δ) ≥ 1 − (1 − p_δ)^{n_eff}, and the expected time to detection is at most 1/(N·p_δ) days. For the deployment reported in this paper (N = 10 m, ≈ 2880 load-profile intervals per meter-month), any defect with p_δ ≥ 10−4 is detected within one month with probability greater than 0.95. These computations are related to the independence and stationarity assumptions of Section 2.6, which are not directly measured.
Definition 6 (Coverage).
Discretizing Ω into cells, the coverage attained after n meter-days is the P_op-mass of the visited cells. This is the same functional-coverage metric used in VLSI constrained-random verification; the information-theoretic estimate of Section 2.7 (a factor of 5.6–18) is accordingly interpreted as coverage efficiency relative to bench testing, not as a claim of 300,000-fold superiority. The empirical detections reported in Section 2.6 and Section 2.7 (Figure 6 and Figure 7) are presented as validation of the bound of Definition 5, Section Formal Setting: Distributions, Independence, Coverage and Detection Probability, and not as part of its derivation. The rigorous foundations of randomized and pseudorandom computation on which Proposition 2 rests are established in the cited literature on randomized algorithms and operational-profile testing; the contribution claimed here is the mapping of that theory onto remote fleet-scale testing of metering IoT, not new mathematics.

2.7. Quantization of the Effectiveness of the Proposed Test Architecture Compared with the Classic Architecture

Ten meters in the field generate data points on the order of 3 × 105 per month: each meter logs a multidimensional vector every 15-min load-profile interval (≈2880 intervals per meter-month) across approximately ten logged channels and registers, giving ≈ 10 × 2880 × 10 ≈ 3 × 105 data points. This is an order-of-magnitude estimate under the independence and diversity assumptions of Section 2.4, and it does not mean that this approach is 300,000 times more powerful than the classic architecture. The ease of implementation of the protocol rule checker for IoT makes it possible to test an entire deployment of millions of IoT devices. The information in these scenarios is as follows:
I = − ∑ i p i log 2 ( p i )
Figure 7 is heuristic demonstration of field testing and random testing detecting unknown defects.
Therefore, 300,000 data points are in the range of 5.6–18 times more effective than the conventional architecture, which is still significant. An alternative explanation to Shannon information theory is that much information is self-ordered by hierarchies, and hierarchies can be quantized as log(x). Alternatively, it can be estimated whether the virtual space of the electric use case scenarios is considered active. An illustration is shown in Figure 8. The axes defined by the (1.1) subspace are covered entirely by the “smart premise” rather than the “residential premise”. Residential premises involve the exporting of energy only if renewable energy is generated, if they involve a 3-phase induction stove or an elevator, or if they are a small part of the subspace. If approximately the entire subspace does not involve non-smart premises, with such premises confined to a few axes regardless of the sampling, the space is entirely covered by few (~O(10)) premises. This introduces the novel concept of a possible laboratory random test generator, which is not the subject of this paper. This section provides a concise and precise description of the experimental results, their interpretation, as well as the relevant experimental conclusions that can be drawn.

2.8. Theoretical Foundation of Validating Metering Methods as a Use Case Example—Protocol Rule Checker

This study shows that many smart-meter models contain defects, so simple validation is insufficient. The causes are as follows: (1) reactive arithmetic methods are error-prone—since reactive energy is secondary, engineers often omit it; (2) asymmetric-load schemes use two-phase currents in,m, whereas the original methods use a single phase, though the method applies to both. Registration methods record flows {energy+, energy-}: grid→ load (active import) and load→ grid (active export) [3,31]. With fast bidirectional flows within one profile period, inputs cannot be fully reconstructed. Testing applies to paired arithmetic and vector meters at the same point. In one work [3], citing IEC 62052-41 [33], the conversion formulas between arithmetic and vector meters were proven valid under renewables, storage, and pumped-water scenarios; if the converted arithmetic meter overlaps the vector meter, the implementation is correct. Figure 2 shows that each meter can reference the other—the conversion algorithm is itself a reference model. Even without full reconstruction, equivalence translates one MM into the other. Table 5 lists the three rules proved here; using multiple rules increases confidence via conditional probability.
Table 5. Comparison of the reference meters/models and meters/models under test.
The second concept involves protocol rule checkers instead of physical reference meters. The reference model in general is defined in Section 2.2. The specific metering method is described here. In a prior work [31], an algorithm for revising energy {energy+, energy−} as Active(import), Active(export) was provided for a vector meter, an arithmetic meter, and the conversion between arithmetic and vector meters. The tests are performed as described in Table 6.
Table 6. Testing meters against trusted meters and testing meters against reference models differ only in terms of scalability.
The statistical foundation of the increase in the confidence level with the addition of contributory information is formulated as follows:
p ( x → | y → ) = p ( x → ∩ y → ) / p ( y → ) p ( x → ) = ∑ i = 1 N p ( x → | y → i ) p ( y → i )
Equation (4) approaches one if the components y → i are statistically independent. If partial overlap occurs, we need to reduce the overlap. However, the probability of the confidence level approaching one does not increase. Three rules that are independent should be much stronger than one rule. We attempt to show that, at the three-phase electric railway, a collection of three rules is effective as a reference-model checker. This factor 1 / p ( y → ) ensures convergence to one and less than one.

2.9. Time Synchronization of the Simulator Time Clock to the Meter Time Clock and of the Primary and Secondary Meters

The start energy value of the simulator, which is zero, and the actual energy from the smart meter are not synchronized. If the consumed/generated energy is high relative to the residual energy from the previous period, this is not an issue. From the first trial, the residual energy may be deduced. In this paper, the simulator does not contain a mechanism for determining residual energy.

2.10. Theoretical Foundation of the Remote Sensing Reference Model and Protocol Rule Checking for the IoT Device

Many IoT devices use standard-based (IEC, IEEE, EN) computations of parameters and inputs. For example, for a smart meter, the phase currents and voltages are the inputs, and the parameters are sampled daily and, with proper configuration, stored in a data warehouse. Assuming correct measurements and computations, which can be validated through laboratory test bench experiments, the rest of the data model can be computed with a reference model based on standards. Standard formulas must be used even for specific implementations. For modern smart meters, the register array is defined by the DLMS/COSEM [5,44] and blue/green books [43,44]. Metrology formulas are found in IEEE 1459 [63], DIN 40110-1,2 [47,48], and IEC 62052-41 [3]. The data model measures the RMS current and voltage phasors of three phases but does not prevent computation of the power factor and {active, reactive} × {import, export} × {power, energy} components. Comparing the reference model outputs with the meter values yields gaps, and these gaps indicate suspected defects.

3. Reference Model Checking for Electrical Parameters

A Reference Model and Protocol Rule-Based Checker for Grid IoT Devices Such as Smart Meters

A reference model checker is discussed using phase power factors as an example. After detection, the presence of the defect is confirmed. The computation of the phase power factor enables the identification of mismatches among certain smart meters produced by different manufacturers. Several mathematical results are used for verification of the phase power factor, which means that electrical knowledge must be embedded in the algorithm.
Theorem 1. 
The neutral current can be computed from the phase power factor.
Proof. 
The neutral current in the star connection is the vector sum of three phase currents following KCL:
I → n = ∑ Li = 1 3 I → Li
In the delta connection (∆), the neutral current is the vector sum of all “two-phase currents”:
I A → = I AB → − I CA → ,      I B → = I BC → − I AB → ,            I C → = I CA ⃑ − I BC →
The phase currents are computed according to the phase current RMS values and phase power factor—that is, for smart meters that provide these registers. □
Important note: In the implementation of the neutral-current computation, several technical obstacles exist that, despite their scientific simplicity, tend to limit success for a considerable time: (1) The phase power factors are referenced from the phase current phasor I Li → with respect to the phase voltage phasor V Li → . A neutral current requires the phase phasor current to be referenced relative to V L 1 → . Therefore, the power factor is calculated as cos(acos(PFL2) − 120/180π) or cos(acos(PFL3) + 120/180π). (2) The angle unit in the Python software language and Excel spreadsheet is radians rather than degrees. (3) The neutral current is the computed percentile In(%) = In/Iavg, where Iavg is the sum of the absolute values of the phase currents. (4) The power factors of smart meters usually lack signs. This is usually not significant. However, if the absolute percent of the neutral current is consistently greater than 0.4, one of the phase current phasors must be negative until the neutral current reaches a minimum In(%). Usually, the combination of I L 1 → − I L 2 → − I L 3 → is either minimal or sufficiently close to the minimum value. The next issue is clarifying what a checker is in a scenario involving a neutral current. The last barrier that implementers encounter is simple but blocking: the need to compute Real{In}, Imag{In}. Once these barriers are overcome, the neutral current is successfully computed. This is an example where obstacles are not so scientifically sophisticated but are real barriers to computation. Our team developed the neutral-current computation over several years, and the benefits are substantial.
Theorem 2. 
The neutral current for pure symmetric sinusoids is zero. Motivation: neutral currents are zero in order of magnitude, unless “meter bypass” or some phase is fully or partially disconnected.
Proof. 
The proof for star-symmetric currents is based on trigonometric identities and can be found in references [64,65,66]. □
In terms of justification, we next ask why the correctness of the phase power factor (cos(φ)) is important or whether it is a negligible defect. To obtain a phase current phasor, the phase power factor must be determined. Two examples are presented to demonstrate why the phase power factor is needed.
For meters without an event involving the loss of the neutral connection of the meter, the neutral current can be computed from the phase current as − ( ∑ n = 1 3 I → n ) . Phasors are possible only if the phase power factor is correct and available. This prevents the generation of disconnected neutral meters for which no such important event occurs. Without such neutrality, the measured voltage is not balanced.
Proposition 3. 
Under symmetrical current conditions (<10% asymmetry) and with a sufficiently low THD, the neutral current is zero in terms of the order of magnitude.
Argument (bounded-deviation sketch): For a symmetric nonharmonic load, the neutral current is zero. It is not difficult to show that with a bounded THDv < δ and bounded asymmetry unbalance < ε, the deviation of the neutral current from the zero state (purely balanced, purely harmonic) is bounded | I → n | < θ . A formal proof is possible such as ∀θ > 0, ˥(δ>0, ε > 0) such that if …. However, this is unnecessary.
Motivation: shifting from absolute zero to order-of-magnitude zero enables a practical discussion of the phenomena.
(1)
Next, we shift from completely zero to zero relative to the sum of the phase currents and ask what must be tested. Meter-bypass detection is among the hardest fraud methods because it is not inherent to smart-meter registers and because energy need not flow through the meter (e.g., to neighboring premises), so it is unclear how to detect it. Treating energy fraud as an anomaly, a successful meter-bypass detection method uses the neutral current with two indications. For the current-divider bypass type: (1) In(%) close to zero (≤0.4); if not, some phase current is bypassing the meter. (2) If the attack occurs after installation, a step appears once instantaneous peaks are smoothed with a running average at the fraud time—though our checker must run smoothly over 2–3 M meters, and no other signs must occur. The following protocol rules are added: (3) a step in daily active energy import raises confidence; (4) an open front panel generates an “event log” entry; (5) with a complete power shutdown, front-panel opening generates no event; and a phase power-down failure also raises confidence. A fraud attack may then be performed behind the phase fuse, via temporary fuse removal.
(2)
A burnt fuse also increases the neutral current because an entire phase is missing from the phasor sum, which is a priori close to zero.
(3)
Loose terminal-screws can also be detected since they degrade the phase power factor. For remote-sensing detection, partial discharge through parasitic capacitance appears when the screw is nearly tight: there is a parasitic capacitance C = εA/d and partial discharge as the insulation layer of thickness d breaks down, so the phase impedance rises significantly, and the power factor is no longer 1. Given a power factor, the daily load complex impedance is Zph = R + j/(ωC), and active/reactive components and coherent/non-coherent situations can be compared. When the screw contact is loose, air separates the screw and thread. Section 4.6 shows time plots of the phase and total power factors from three of ten residential premises: (1) such a low power factor is unreasonable, and (2) there is no ~120° angle between phases. Two rules test whether the computed phase power factor is correct: (1) the computed neutral current should be near zero in order of magnitude for a residential premise; (2) the phase power factor should be near 1, at least statistically, when consumption (phase current) is not extremely low—though the latter does not always hold for refrigerators, air conditioners, and inverter devices such as computers and cell phones.
(4)
Finally, we investigate whether five representative outages [67,68] can be used to monitor the power quality as a protocol rule checker to provide early warning of outages.

4. Testing

The detection claims of this paper are restricted to the defect classes and case studies of Table 7; defects whose effects never reach the logged data model are outside the method’s reach in principle, and the method is presented as complementary to laboratory-type testing rather than a replacement for it.
Table 7. Coverage map of the detection claims. Each claimed defect type mapped to its governing standard, detection technology, and supporting case study.

4.1. Example #1: Testing the Correctness of the Arithmetic Metering Method—An Example of the Checker Output When the Metering Method Is Correct, Demonstrating the Validity of the Reference Model with a Low-Voltage PV-Farm Meter in Star Connection

The modules of the reference model and the protocol rule-based checker for metering registration methods are included for the “reader’s convenience and usage” in [25]. Two conditions ensure the correctness of the reference model: if all the meters perfectly match the conversion from the arithmetic meter to the vector meter across all four quadrants {active, reactive} × {import, export}, the reference model is export, M formulas are a standard requirement [3]. Figure 9 shows an active import process: the arithmetic load profile is converted into a vector load profile and compared with the IEC 62052-41 [3] vector simulation and DLMS/COSEM IEC 62056 [5,6,43,44]. Standards and physics require all quadrants to comply with the meter’s MM. When the implementation is correct, all quadrant load profiles comply with this requirement. If all meter types show abnormal behavior, the “correct” behavior may apply only to active import/export channels. An experiment with current-transformer (CT)-connected energy registration is not available. There are four energy quadrants in smart meters according to the arithmetic meter method, which shows that some meters did not fully comply with active import. The reference model compares a vector MM simulator with an arithmetic MM meter. Even if both are incorrect, the checker works since only perfect matches indicate no defect. For protocol rule checking, transferring from an arithmetic meter to a vector meter is the best approach. Reference modeling requires correct waveforms for both quadrants. In terms of data extraction, 180,000 cycles represent one hour and 45,000 load profile periods, assuming vector correctness. The metering methods are tested by partly simulating the protocol rule, as described in Section 2.3 and Section 2.4.
Figure 9. Low-voltage (230 V) photovoltaic farm: arithmetic active-import energy converted to vector.

4.2. Test #2: Firmware Defect Demonstrated on a High-Voltage PV with a Meter Star Connection—A Simulator and a Reference Model

Figure 10 and Figure 11 show perfect matches when the arithmetic MM is converted to a vector MM for active import/export, confirming the validity of the presented theory. The results of laboratory tests provided 100% certainty, whereas energy load profiles provided reasonable confidence in the results. If a vector MM is assumed to be correct, any mismatch indicates firmware defects in the arithmetic MM. The model supports a 3-phase star/delta load, but an open delta load, which is common under high-voltage conditions with Aron connections, is asymmetric and less generic. An example in Figure 10 shows the correct arithmetic/vector implementation under PV stress conditions: (1) bidirectional import–export shifts at light/dark transitions; (2) the high-voltage Aron connection assumes symmetry. The arithmetic MM is transferred to the vector MM under active import energy conditions by the checker at both PV farms in reactive energy import and export scenarios. Figure 10 shows the mismatch after converting between the arithmetic and vector meters with the same meter model/type at the same measurement point under reactive import and export conditions: an exact match. Figure 11 and Figure 12 show the corresponding results. The correct arithmetic MM for active import/export conditions but improper arithmetic implementation in the reactive channels under an open delta load is shown in Figure 10 and Figure 11 (the arithmetic-to-vector mismatch under reactive import/export and open-delta conditions). The causes are as follows. The scheme is an ultra-asymmetric open delta; the reactive channels were not prioritized; the developers adapted only the active channels from the vector meter; the simultaneous PV import and export stresses both registration methods; and the load exhibits twice-daily cycles under non-storage conditions. Pre-installation setups address these issues by installing a few IoT pairs or meters at modernized sites. With ~100 quarter-hour periods/day, a single meter yields ~30K periods/month; ten meters yield 300K periods/month, providing statistical data before large-scale ~100K deployments. The MRMs are evaluated via the simulation and protocol rule checking methods described in Section 2.3 and Section 2.4.
Figure 10. Demonstration of a mutual reference-model checker confirming correct arithmetic and vector metering registration methods: active import energy quadrant. Two PV farms.
Figure 11. Demonstration of a mutual reference-model checker confirming correct arithmetic and vector metering registration methods (MRM): active import energy quadrant. A PV farm.
Figure 12. (a) FFT (top)—defect/technical loss case (left), non-defect (middle). Energy distribution function at defect/technical loss (right). FFT—(Bottom) another defect/technical loss case (left), another nontechnical/non-defect case (right). (b) FFT (top)—daily hourly trends: non-defect case stormy graphs (left); defect case regular graphs (right). (c) Seasonal hourly boxplot: non-defect case (left) only outliers; nonzero boxes with outliers; defect case (right). (d) Scatter time plot, defect case (left); clean scatter time plot, non-defect case (right). (e) Error distribution, non-defect case (left), around zero; error distribution, defect case (right), “nonzero” components. (f) 2D principal component analysis space and classification into defect and non-defect, besides the linear boundary line. Further classification is obtained using a second line. A perfect match (zero difference) is the orange cluster, while a defect is the blue cluster. (g) Wavelet scalogram: Morlet Arithmetic ↔ vector– defect case (left), non-defect (right). mean wavelet power near daily band ≈ 1.500 × 105 (right) and mean wavelet power near daily band ≈ 8.296 × 106 (left).

4.3. Comparative AI Differential View Between Defects and Non-Defects: Feature Space & Clustering Metering Methods

An AI high-dimensional space for differentiating features is presented herein. The difference between the converted arithmetic and vector load profiles is taken as the “load profile” time series and analyzed statistically, with the substantial separation between the defect and non-defect states shown in Figure 12a–g. The classifier, named “statistical features” and developed by N. Calamaro et al., constructs a high-dimensional space from all features; the rationale for separation is explained via information theory and correlations [69] and in the external supplementary document [69], with code presented in [25]. These features were described previously [26,28]. They separate simultaneous defects so that clustering (identification and classification) training time is reduced from O(N2), where N is the number of simultaneous defects, to O(N), accelerating learning and reducing the number of training examples required. One such structure is shown in Figure 12; it is a tool used here rather than a central topic, and the three AI structures developed will be published separately. The “statistical and spectral features” library used here is a previously published, generic component rather than a new learning algorithm, combining (i) statistical and spectral features highly sensitive to anomalies in the meter’s registers and event log, and (ii) an anomaly-identification theory originating in electrical power theory and generalized to generic anomaly detection (E-CPC) [27]. It learns from O(N) labeled scenarios rather than the O(N2) pairwise comparisons of conventional approaches, as derived in our prior work [69] and implemented in the open-source code [25]; this complexity advantage of feature-based representations over pairwise-comparison learning is consistent with the independent literature on metric and representation learning [32,37]. Statistically, when the converted vectors match, the difference signal is near zero; under an FFT window around the defect, it is not. The non-defect energy-difference distribution approximates two Gaussians. The FFT signature of non-defects exhibits the first harmonics, whereas the defect state exhibits 50 or more harmonics, complex daily trends, irregular boxplot outliers, and a two-peak error distribution versus a single peak at zero for non-defects; the resulting defect clusters (orange) separate cleanly from the non-defect clusters (blue) in the 2D/3D feature space (Figure 12f). The physics of this anomaly-detection/classification AI is briefly explained as follows: when the metering methods match exactly, there is no defect. A difference signal (convrted to vector − −vector) that is close to zero is input. This yields non-statistical signatures because small signals are less distributed statistically. Then, somewhat contrary to initial intuition, the non-defect signature is anomalous, and the defect signature is more normal. The library is currently used by our group for the checker system reported here, for meter-bypass nontechnical-loss detection, for energy-efficiency analysis with non-intrusive load monitoring, and for PV-premise diagnostics. The paper’s contribution is the verification architecture combining reference models, protocol-rule checking, and AI anomaly detection—not a novel learning algorithm. To make the results reproducible, the model structure, complete feature list, dataset size, label definition (defects verified by technician visits), leakage-free train-test split, hyperparameters, and decision thresholds are specified together with the open-source implementation [25], and per-class detection results with support counts are reported in place of an aggregate accuracy figure. Quantitative claims requiring dedicated experiments belong to a forthcoming paper on the AI component and are explicitly marked as preliminary and out of scope here. Statistical signatures identify an anomaly with a very high confidence level because, even if the anomaly is very similar to the non-anomaly in the time domain, it alters the statistics. In the current implementation, the defect signal is nonzero, and the non-defect signal is zero. The same anomaly-detection module is used as a component of meter-bypass detection and significantly improves the confidence level.

4.4. Test 4: A Pumped Energy Storage Plant with High Voltage: Defect in Reactive Import/Export Under Open Delta Loads—Simulator and Reference Model

Figure 13 shows the results for a star load connection. The graphs show the correct arithmetic active/reactive energy load profile and an erroneous reactive arithmetic import/export load profile. The correct implementation involves reactive energy not changing and the vector MM being maintained; the reactive export is operated through a conversion function, leading to a mismatch. The MRMs are tested according to the simulation and protocol rule-checking methods described in Section 2.3 and Section 2.4.
Figure 13. Real pumped energy storage (left) active export arithmetic converted vs. vector energy load profile simulation, (right) Reactive export arithmetic converted and vector energy load profile. Good match in the active-energy computation; mismatch in the reactive-energy computation.

4.5. Test 5: A Two-Phase Load–Electric Railway Station with a Two-Phase Load–Defect for Nonsymmetrical Load Implementation That Requires bi-Phase Voltages and Currents

Both the active and reactive loads are shown in Figure 14. Here, the entire implementation fails, including active and reactive imports and exports, meaning the firmware is not arithmetic and cannot handle asymmetric two-phase loads—the designer may not have implemented an algorithm robust to two-phase loads. The implementation involves bi-phase currents and voltages. A forthcoming paper proves the bi-phase expressions are sums of V_i·I_j: for i = j, conversion is supported (these are phase powers), and for I ≠ j, Kirchhoff’s laws impose no limitation, so the arithmetic and vector definitions align, and conversion holds. The problem is that the arithmetic MM may not handle the bi-phase voltage, current, or power correctly. Reference-model checking is thus needed not because of poor manufacturer quality but because designing arithmetic meters valid for all schemes is difficult; many migrate from vector to arithmetic meters while neglecting reactive quadrants. Remote-sensing methods complement laboratory tests, and installing ten meters suffices.
Figure 14. (top left) Two-phase load connection, high-voltage electric railway system. Active import arithmetic converted, as compared to active import vector. (top right) zoom-in. (bottom right) Reactive import arithmetic versus reactive import vector. (bottom left) average normal distribution percentile error nonzero.

4.6. Test 6: An Example of a Phase Power Factor for Suspected Errors Detected in IoT Devices and Full Remote Diagnostic Use Case

The virtual reference model checker is a common model type. The phase power factors of three residential meters under few-harmonic, low THDv, and balanced load conditions are shown in Figure 15. Two key observations are noted: (1) Different manufacturers implement phase power factors differently. (2) If the current phase is zero, the computation is inaccurate—one well-known manufacturer records a 2.0 power factor below the current threshold, and some omit the sign. The trusted-IoT reference model (L+G E360) has a power factor of 0.9–1, but incorrect phase factors may violate the neutral-current protocol rule; when the neutral current is not near zero, the simulator flags the violation, indicating either meter bypass or phase-factor computation errors (other bypass rules exist but are not discussed here). In the demonstrated scenario, the issue was meter bypass, though initially identified as a defect. Being able to test actual meters, simulations, and trusted-IoT devices and dispatch field teams is useful for issues such as meter bypass and blown fuses. The simulator’s neutral-current computation is high-quality: manufacturers usually implement phase power factor. The phase currents are occasionally imbalanced, but the phase “active import sold over 40 M meters to the EU. The protocol checker is: (i) the phase power factor is the phase current relative to voltage, or reactive relative to active energy, ignoring the ∓120° element; (ii) the neutral current, i.e., the phasor sum of the phase currents with low harmonics and balance, is not near zero, which indicates incorrect computation of the phase power” is balanced, and the voltages are balanced. Figure 16 shows the phase voltage and the balanced phase currents in the grid. The last step is to install a trusted IoT twin and compare the power factors to identify different behavior, as demonstrated in the literature [64,65,70]. The neutral current identified during field testing is correct. The characteristic transformer behavior is shown in Figure 15, bottom right. There is no defect in either the IoT meter parameters or the transformer, which may be proven only with massive field verification via the presented method. Thus, the results are consistent with the reference model simulations and protocol rule checkers described in Section 2.3 and Section 2.4. The exact algorithm for computing the neutral current is not algebraically sophisticated, but several blocking issues make the computation innovative. The computed neutral current, which is a function of the phase currents and phase power factors, is a usable and powerful parameter.
Figure 15. Typical transformer: (a) right top—phase power factor referenced to local phase voltage. (b) top left—phase power factors referenced to VL1. (c) bottom right—neutral current—demonstrates an approximately balanced load with low THDV. The orange function is a neutral-like current used for detection of meter/transformer bypass. (d) bottom left—phase currents, overall balanced.
Figure 16. Phase voltages—balanced input, collaborated with the previous phase currents graph—it reflects a relatively balanced load.

4.7. Comparison of DLMS/COSEM-Defined Registers for Simulations and Protocol Rules: An Example Involving Energy Registers

IoT firmware is very large and involves implementing approximately 295 registers for smart meters. This section presents an example of testing these registers. The big data (very large) fetched at the digital twin, assuming that the voltage and current phasors are implemented accurately, and the devices are installed under smart premises, results in scenarios that are difficult to compare with the results of the calibration tests. There are three options for checking the validity of the register implementation of the IoT system: (1) install the new IoT with a trusted IoT in pairs at the same measurement point under smart premises. (2) Perform a simulation computing all the parameters defined by the IEEE 1459 (metrology definitions) standard and then implement the chosen DLMS/COSEM registers based on the blue book (functional definitions). (3) Perform rule checking between the registers. We provide an example of a detected defect (IEC 62056) for both metrology-certified and DLMS/COSEM-certified models. Two defects arise for specific model types: (1) The accuracy of register “67” is tested and found to be correct with negligible gaps. (2) The incorrect accumulation of register “30”, is described below and was identified through both simulations and the protocol rule for the registers. Table 8 shows a snapshot of the real meter register file for the two registers for the OBIS code 1.0.1.8.10.1 – 064 – “Daily Active Energy Import” and OBIS code 1.0.1.8.10.2 – 130 – “Monthly Active Energy Import”. Registers 064 and 130 are as follows: A limitation of option (2) must be stated explicitly. The virtual simulator reconstructs the metrological quantities of IEEE 1459 from the quantities the meter itself logs—RMS voltages and currents, phase angles and power factors at load-profile resolution—and not from sampled waveforms. Consequently, harmonic content beyond the logged THD channels, sub-interval transients, and phase asymmetry that is not expressed in the logged phasors are not re-constructible, and the IEEE 1459 quantities computed by the simulator are therefore valid only for the non-sinusoidal decomposition that the logged data supports. The consequences of this limitation for the choice of validation path are discussed in Section Limitations of the Reference-Model Path and the Recommended Validation Strategy.
E monthly ≅ ∑ i = 1 N E daily ( i )
Table 8. Per-day and monthly comparison of the equipment-under-test (EUT) and simulation daily active-energy import registers over the June–July 2025 window, with the per-day percentage difference. Correct summation 99% of the time. The bottom row, shaded and in bold, is the monthly total.
This relation is inaccurate because the daily energy is modified at midnight and monthly register updates follow predetermined billing schedules. Table 8 shows that (1) the sum of the daily register values from the meter and simulation are equivalent, indicating correctness; (2) the sum of the daily register values does not equal register 130 of either the meter or the simulation; and (3) the meter register value (130) does not equal the sum of the daily values (64). That error is too large to ignore, and reproducing laboratory results is the manufacturer’s responsibility. There are “event log,” energy “load profile,” and “register” files—the latter narrowed to registers 130 and 64—used to reproduce the defects in the laboratory or by the manufacturer. Correctness should be judged by comparing the entire population with the simulation results, and the IoT event-log file must be inspected to exclude electricity events that might have caused the issue. This section aligns with the simulation reference-model and protocol-rule-checker description (Section 2.3 and Section 2.4, post-installation steps).

4.8. Interpretation of Otherwise Unnoticeable Effects of Weak Communication Frequency from Trusted IoT Twins

As shown in Table 9, simply installing the trusted IoT together with the IoT under test at “smart premises” can detect a communication problem without the need for additional tools.
Table 9. Per-day and monthly comparison over the December 2025–January 2026 window; highlighted cells mark the anomalous day (17 December 2025) and the monthly total (1 January 2026, in bold) where the EUT and simulation registers diverge.
Communication equipment. Our simulation does not emulate communication, as this is highly complex. Therefore, we shift the method from comparison to simulation of nine meters installed under smart premises. In accordance with Section 2.2, even for nine meters, substantial data are available, ~500–700 data points per day, which is 100,000 times less data than the prior example; however, according to the theory, this amount of data should be sufficient. Here, the GSM field strength is smaller than that of the trusted IoT device owing to the weak communication intensity. Table 10 shows a comparison of the trusted IoT device (3389), which provided a notification for value A, and the IoT under test (3662), which provided a notification for value B. At the same time, the trusted IoT has a value of −26. dBm, the IoT under test has a value of ~−95 dBm. For that specific model type, a logged −95 dBm value indicates that the modem has stopped functioning rather than representing the actual signal strength in dBm. This failure is much more difficult to detect during laboratory testing, as laboratory testing involves looking for known activity, while rare events are difficult to detect in time and are statistically improbable to detect. This example is in accordance with the example in Section 2.2 on trusted and EUT IoT devices.
Table 10. Smart meter register file, filtered to visualize only GSM communication registers. When the EUT IoT device provides an alert for a very low communication intensity of −95, it indicates (1) that it is much less sensitive than the trusted IoT and (2) that the value of −95 dBm indicates no communication.

5. Reference-Model Checking in the Field: Theory of Operation and Limitations

The smart meters offer ~40 parameter registers and thirteen power quality parameters. This space has not yet been fully exploited. These include tariff rate registers R1–R3 representing the maximum demand, cumulative maximum demand, and maximum generation. Figure 17 demonstrates the strength of the protocol rule checker operating on the IoT digital twin to identify and classify any anomaly at low cost. The IoT high-order dimensional space includes several subspaces. The proposed system improves defect detection, and the aim is to extend this system to all metrology parameters. Constructing a metrology reference model is challenging; only one chip-level model has been presented [7], and no behavioral models have been discussed. A full theory of T-NT loss detection using a digital twin and “protocol rule checker + reference model checker” will be discussed in a separate paper. Additionally, it will be discussed how a grid’s digital twin may be created based on the smart metering warehouse and a reference model, forming a unified toolbox. Figure 17: Currently, the only implemented parameters are the phase voltage, current, power, and energy. The lack of direct links prevents the mapping of 100% of deployments, as new anomalies constantly emerge. An EU research center report [34] noted that ~5% of nontechnical cases involve billing systems. (From a regulatory standpoint, customer data may not be used externally, but its use for maintenance operations is generally permitted, provided that utility employees sign information security agreements.)
Figure 17. High-order dimensional space constructed by the core analysis system from IoT-measured subspaces marked in blue and yellow rectangles. The timestamp is the primary axis. Three example points are marked as three purple anomaly points, demonstrating the ability to classify any anomaly through the reference model. Figure generated with the assistance of ChatGPT (OpenAI), version 6.1 Sol; prompt and technical content by the authors, who reviewed it for technical accuracy.
These are relevant for energy balance and even nontechnical losses. Substantial relevant information is available nationally. This is also related to electrical parameter registers, as there are, on average, 40 registers for smart meters, a type of IoT device. Utilities face ~4% yearly technical losses, requiring field, billing, and legal actions. In another paper, grid-segment digital twins in smart-metering warehouses and reference models built with simulators (Simulink, PSIM, Modelica) will be discussed. The inputs will include RMS voltages/currents. The outputs will be compared with simulations, and anomalies will be flagged in the AI feature space.

Limitations of the Reference-Model Path and the Recommended Validation Strategy

Version 1.0 used. The 40 registers are relevant for energy balance and even nontechnical losses. Substantial relevant information is available nationally. This is also related to electrical parameter registers, as there are, on average, 40 registers for smart meters, a type of IoT device. These parameter losses occur outside meters but are universal across utilities. Premise/customer data includes: (i) power quality events (~13 types), (ii) event logs (electricity, tampering, communication, and system parameters), (iii) daily load profiles (e.g., 15 min), and (iv) fraud detected via reference models and protocol rule checks. The axis of the timestamp is central; most electricity parameters require temporal information. Professional systems need fast scan access—not a GUI—and direct database interfaces (e.g., ODBC [71], MATLAB). The protocol rule checker is proven as the most cost effective technology. There wise development is invested there, except for metering methods were reference model (simulator) proved successful.
The three validation paths of Section 5 are not equivalent in practice, and one of the findings of this work is negative: the virtual-simulator path (option 2), which reconstructs IEEE 1459 quantities from logged RMS values, phase angles, and power factors, is the least recommended of the three. It suffers from an intrinsic observability limitation—harmonics beyond the logged channels, transients within the logging interval, and phase asymmetry not represented in the logged phasors cannot be recovered, so the reconstructed waveform is an approximation whose validity is bounded by the logged data model rather than by the standard. It also proved the hardest to maintain and the hardest to port to other IoT device types, because each device model requires its own register and event semantics. Accordingly, the reference-model path is presented in this paper as a partial implementation, demonstrated for metering registration-method validation, where it operates on the energy load profile alone and is not affected by the above limitation: the arithmetic-to-vector comparison uses the meter’s own registered energies rather than a reconstructed waveform. For all other defect classes reported here, the recommended path is the combination of the protocol rule checker with the AI anomaly-detection module, operating on the energy load profile together with the event log and the registers. These two technologies detect the same defect classes at a fraction of the implementation effort, adapt rapidly to new IoT device types, and do not depend on waveform reconstruction. The claims of this paper regarding IEEE 1459 are correspondingly restricted to the quantities that the logged data model supports. The protocol rule checker, by contrast, is comparatively easy to implement—AI-assisted code generation makes the derivation of new rules from a published standard a matter of hours—and there is no intrinsic limit to the set of rules that can be defined; the practical limit is the creativity with which standards are mined for invariants. The method adapts to any IoT class by identifying the relevant metrology, functional, and communication standards and deriving the corresponding assertions; for example, under EN 50160 and IEC 61000-4-30 the recurrence of the same power-quality event on the same phase more than fifty times within one week is itself a standards violation, detectable purely from logged data. Ongoing work, outside the scope of this paper, extends the rule set to power-quality verification against EN 50160 and the instrumentation standards IEC 61000-4-30, IEC 61000-4-7, IEC 61000-3-8 [72] and IEC 61000-4-2 [73], across three device classes: meters with no declared PQ class, Class S meters (which already expose approximately 85% of the required parameters), and Class A performance meters used at high voltage. Further rule families under development address in-depth communication monitoring, the identification of parasitic circuits arising from a loose terminal screw (which requires the joint evaluation of thirteen electrical parameters to reach a usable confidence level), and the detection of a screw tightened over only part of the wire cross-section, whose thermal signature is not observable by a thermal sensor alone—the sensor is not proximate to the heat source and reads ambient-like temperatures—but becomes identifiable when electrical parameters, time-series pattern recognition, and the thermal channel are combined with parasitic-circuit identification.

6. Examples of Anomaly Detection Using Protocol Rule-Based Checking and IoT High-Dimensional Virtual Spaces

The evaluation in this section validates the two primary methods, the protocol rule checker and the AI statistical-features detector, on the two use cases; the remaining components are assessed only insofar as they support these two detections.

6.1. Demonstration of Simple Fraud Detection of Reverse Phases and Phase Disconnection Using Protocol Rule Checking

Defect detection with simulators and protocol rules should be extended to technical and nontechnical energy loss detection. AI clustering and learning can be performed using validated failures of the specified type as well as features validated to not be of that type. This requires a ~1 M-example dataset that is not always available. The following rule is satisfactory and is shown in Figure 17: (Energyexport = progressing,non − zero)||current(sign) = −1)||. To distinguish between technical loss (wrong installation) and nontechnical loss (fraud), an event (open_front_pannel= on) with a timestamp is needed. If the timestamp is later than technician_visit, then it is an indication of fraud rather than a fault. The opposite is not correct: if (open_front_pannel= on) after meter installation, this does not necessarily indicate that it is not fraud. Table 11 shows the results of several verified cases. For the reverse-phase and phase-disconnection case demonstrated here, Table 11 reports the individual verified cases (sample size and technician-confirmation method stated in the table); these are feasibility demonstrations, and the confidence interval for such small samples is stated in the Limitations subsection (Section 6.3). The broader result—a reported forecasting accuracy of the order of 95% across twenty-four “fraud types”—rests on a larger dataset whose full statistical validation is the subject of the follow-up paper in this series and is not claimed as established here. Regardless, the connected phase currents are zero. The protocol rule check of the sample meter is shown in Figure 18.
Table 11. Experimental measurements and correlations with reverse phase findings. Each row is an individually verified case, confirmed against the register/event log and the technician front-panel inspection date; the number of rows is the sample size for this feasibility demonstration, which is small, with associated uncertainty discussed in Section 6.3.
Figure 18. Phase L1 disconnect. (a) event log: terminal-cover opening event after meter installation. (b) Phase energy vs. time drawn from register file: phase L1 stops progressing after 26 July 2025. (c) Register file: phase L1 stops progressing after 26 July 2025.

6.2. Use of a Protocol Rule-Based Checker (Rules) to Detect the Possibility of Meter Bypass

The rule of the neutral current as a bypass detector (leftmost rule) is shown in Figure 18. For balanced sinusoidal currents, the computed neutral current is zero; generally, relatively pure balanced currents include near-zero neutral currents. The phase phasors are then computed from the current and power factor. In the cases examined, this single criterion alone does not reach an operationally sufficient confidence level, and additional parameters are required; the quantified two-stage result for NTL meter bypass (precision improving from 25% to 51% when registers and the event log are added) is reported in Section 6.3 and Table 12, and the full statistical characterization is deferred to the follow-up paper. In Figure 18, if the phase power factors are correct, a nonzero neutral current is the first meter-bypass sign; however, this indicator alone is insufficient to detect bypass. This example is in accordance with the results discussed in Section 2.3 on the protocol rule and simulation reference model, Section 2.4 on post-installation requirements, and Section 2.4 on remote sensing.
Table 12. Detection metrics by use case and data-model scope, reported as the full confusion matrix. Screened = premises examined by the algorithm; Flagged = raised as suspect (=TP + FP); TP confirmed by ground-truth inspection; FP flagged but not confirmed; FN = real cases missed (P − TP); Uninspected = flagged but not yet field-verified. Precision = TP/(TP + FP); Recall = TP/(TP + FN); F1 = 2PR/(P + R).

6.3. Quantitative Validation: Ground Truth, Metrics and Comparison with Existing Methods

[Category: tested—field results with ground truth and metrics.] This subsection reports the ground truth, the standard detection metrics, and the comparison with the public benchmark for the two use cases validated in this paper: the metering registration method (MRM) firmware defect and nontechnical loss (NTL) through meter bypass. Ground truth. For the MRM use case, ground truth is the manufacturer-confirmed firmware implementation of the registration method, verified against IEC 62052-41. For the NTL use case, ground truth is field verification: every flagged premise was inspected by a utility technician, and the inspection outcome (bypass confirmed or not confirmed) constitutes the label. The evaluation set comprises 20,000 flagged 400 premises observed over several months. Because only flagged premises were inspected, recall for the NTL use case is estimated from the utility’s independent loss reconciliation and is reported with this qualification. Table 12 reports ‘detection metrics’. The number of NTL meter-bypass experimental results has increased.
Metering-registration-method defect detection has so far been close to 100% true-positive. There are 800 high-voltage meters of the same model type, with two detected defects. As for meter-bypass detection based on energy-load-profile analysis alone, the results are poor for our algorithm, and probably for any load-profile-only method. The like-for-like comparison with public load-profile benchmarks and existing fraud-detection methods therefore applies to this load-profile-only configuration (Table 12, NTL load profile only: precision 25%, F1 0.29); the improvement to the two-stage fusion (precision 51%, F1 0.66) is obtained by adding energy registers and event logs, and is a data-availability advantage rather than an inherent algorithmic advantage over methods that use the load profile alone. Physical explanation of Table 12: the primary method, an AI, detects fraud from an electricity reduction that is annually 33%, against a 66% non-loss reference. This result may be reproduced by running [74] on the SGCC smart meter theft dataset [75]. Randomness concept as a whole is supported by work [76] by A. Wigderson, references [77,78] by M. Talagrand, and references [79,80,81,82,83] by Singh, Sarma, Lai, Marjanac, García-García accordingly.
The second module is the AI statistical-features signature module. It operates only when the register file is added, enabling detection of the daily active-import total and the daily active-import phase Li step relative to the non-loss status. The neutral-current computation is likewise enabled only with the register file. Next come electricity events, such as meter shutdown or phase power-down, that indicate tampering with the meter. These electrical signatures may be avoided by those performing the bypass: if they wear thick rubber gloves, they may tamper with a phase without switching off the phase voltage. That is why electrical events carry a lower weight in sophisticated meter-bypass detection algorithms. Explanation of the parameter results: of the 400 m flagged, about 200 were bypassed. Of the 205 validated meter bypasses, 68 (33%) were validated as tampered using load-profile detection alone. This means that the load-profile-only sample (268 flagged meters) is two-thirds of the 400 m flagged with register and event log data, and that 205 of these 400 (51%) are true positives. The absence of the register file, and to a lesser extent of the event file, reduces precision from 51% to 25%, i.e., to about one half. With only the load profile, recall reflects both the identified as true TP and the missed FN and indicates that TP is approximately one third 33%. An F1 of 0.29 indicates that the detector is weak, both for verified positives and for false alarms. Referring now to the last row: of the 400 examined, approximately one half (205) are true positives and one half false positives; precision is 51%, about twice that of the previous case. Recall is higher: of the flagged cases, only 51% are true, and 49% are false alarms, but 94% of the true cases are detected. Meter-bypass detection is experimental and was executed on a limited section of the deployment. All other nontechnical-loss types are standard at the local utility and are inherent to the meter data without much processing; there, 2.2 M meters were screened, 503 were flagged, and 471 were validated as real, a precision of 94%. Meter-bypass detection via protocol-rule checking and AI is a greater achievement than the detection of other nontechnical losses. The load-profile-only NTL configuration may be tested on the Chinese SGCC dataset for reproducibility. NTL tool is available for experimentation at [25]. The question may arise why so many open-source codes report 90% precision with the load profile only. Our estimate is that the datasets contain weak false-negative and false-positive examples: it is easy to detect fraud but hard to avoid false alarms. This explanation is not scientifically established but is based on experience.
Reproducibility: Detection of the registration-method firmware defect requires only the energy load profile and is essentially deterministic: for a compliant meter the arithmetic-to-vector conversion matches the meter’s own registration to within rounding, whereas a non-compliant implementation produces a gap that is orders of magnitude larger (Figure 12 and Figure 13). The separation admits no threshold ambiguity, which is why no misclassification occurred in the tested population. The MATLAB implementation and samples of both true-positive and non-defective cases are available in the open-source repository [25]; rerunning the released code reproduces the reported results directly. The field dataset itself cannot be released, as it is subject to utility confidentiality regulations. NTLs are not defects but are detected with the same checker (protocol rules and AI statistical features) and the same method as sporadic defects. Limitations of the reported validation. The sample sizes are as follows (2.2 M premises for non-bypass NTL; 20,000 premises for meter-bypass NTL, as this use case is newer; 800 high-voltage PV premises with the same meter model type for MRM, where the defects are deterministic and located in the firmware; and 268 flagged in the load-profile-only NTL configuration), so the reported proportions carry wide confidence intervals—for example, 5 of 10 corresponds to a 95% Wilson interval of approximately 24–76%. For each use case, the sample size and the confirmation method are stated where the result is reported (Table 11 for reverse-phase detection; Table 12 for the metering-registration method and meter-bypass results), and statistical significance is not claimed for these sample sizes. The results are therefore presented as feasibility demonstrations of architecture rather than as a statistically powered validation campaign, which—including the twenty-four-fraud-type accuracy figure—is the subject of the next paper in this series. Coverage is claimed only for the taxonomy cells of Table 2 that are exercised by the rules of Table 4 and by the use cases of Section 4 and Section 6; cells of type (ii) are covered probabilistically, with detection probability increasing with fleet size and observation time per Section 2.6, and cells of type (iii) are outside the method’s reach in principle.

7. Conclusions

The validated findings of this paper are two use cases. First, the metering-registration-method firmware defect was detected from the energy load profile alone with 100% precision on the screened set (Section 6.3, Table 12); the detection is deterministic, since a compliant meter reproduces its registered energy to within rounding while a non-compliant implementation produces an order-of-magnitude gap. Second, meter-bypass nontechnical-loss detection improved when energy registers and event logs were fused with the load profile, with measured precision on the flagged, inspected set rising from 25% (F1 0.29) to 51% (F1 0.66) (Section 6.3, Table 12); recall for this use case is a scoped estimate, not a direct measurement, because only flagged premises were inspected. The gain from fusing energy registers and event logs with the load profile is a data-availability advantage available to the utility, not a claim of algorithmic superiority over “load-profile-only” methods. These results are feasibility demonstrations at small sample sizes; the associated confidence intervals are wide (for example, 5 of 10 corresponds to a 95% Wilson interval of approximately 24–76%), and a statistically powered validation campaign is the subject of the follow-up paper. All broader defect classes, the power-quality rule families, and the twenty-four-fraud-type figure are proposed directions, not results of this paper (Table 12). The method is offered as a complementary, low-cost screening tool alongside existing type testing, not as a replacement for it; its advantages are restricted to scalability, cost, and continuous operation, and no claim of completeness of coverage or of standardization is made. The main result is experimental: detection is demonstrated in this paper for two defect cases only—the metering-registration-method (billing-register) defect and the meter-bypass case. The proposed technologies—the IoT reference model, the protocol rule checker, and the new AI “statistical features” model (including PCA and classification methods)—are by design applicable, at the rule level, to the wider families of defects that escape standard tests: billing registers (IEC 62052-41), metrology (IEC 62053-21, IEC 62052-11, IEEE 1459) and functional DLMS/COSEM behavior (IEC 62056-1, 2). That wider applicability is a design property, not a validated result; detection for those classes is future work (Table 12). Second, the tool provides a rich set of standards-derived mathematical rules—a “protocol rule” checker—covering, at the rule level, the data-model-observable defect classes of Table 12 (rule availability, not experimentally validated detection for every class), and numerous additional rules can be developed. Third, on the meter-bypass use case, the AI-driven anomaly detector, combined with the register and event-log rules, raised precision to the 94% reported in Section 6.3 for non “meter-bypass” NTL; its performance on the broader defect set is not established here. For meter bypass, we are still at 51% and require additional information extraction to improve the confidence level. Finally, reference-model checking is complex to implement and highly sensitive to real-world scenarios: it reconstructs IEEE 1459 quantities from logged RMS values and power factors rather than from sampled waveforms, so harmonics, transients, and phase asymmetry outside the logged data model are not observable to it (Section Limitations of the Reference-Model Path and the Recommended Validation Strategy). We therefore do not recommend it as the primary validation path and present it as a partial implementation—demonstrated for metering registration-method validation—with full development deferred to the next paper in this series. As the conceptual inspiration for the approach rather than a contribution of this paper, the following analogy is noted: these tools were inspired by VLSI pre- and post-silicon validation, given the similarities between the fields. Defects escape certification testing for two main reasons. (1) Standards do not emphasize ultra-exhaustive electrical conditions: an implementation must be accurate under all circumstances, yet asymmetric loads, harmonics, and bidirectional energy flows that occur in the grid are often not considered. Testing under “smart premises” exercises the meter under such ultra-exhaustive conditions. (2) Big data offers an alternative path: statistically random field testing across hundreds of thousands of installations is superior to, and not comparable with, benchmark testing, and requires no a priori model of “what the defects are,” since pseudo-randomness is sufficient for detection. The toolkit—simulator reference model, rule-based checker, and AI identification and classification via random algorithms—achieves much faster detection, which is valuable under data corruption. In implementing neutral-current computation, we addressed four obstacles: referencing the L2/L3 power factor to the L1 voltage phase; using radians rather than degrees (owing to Python and Excel); the absence of power-factor signs in smart meters; and percentile normalization over the sum of phase currents. This code is usable by utilities, meter manufacturers, and standards committees, and neutral-current testing indicates transformer or premise-load stability and the absence of meter bypass. The proposed AI anomaly-detection and classification “statistical-features” method was demonstrated to be very effective. Robotic process automation, conversational AI, and AI-assisted coding accelerated development by a small team, with tools and versions identified in the Supplementary Material; a consequence—not a contribution of this paper—is that fleet-scale data-acquisition campaigns can be run by a small research group rather than a large engineering team. As supporting technology one tier below the two primary methods, random algorithms and DAI (digital automation intelligence) extend this to randomized test generation, uniting computer vision and DAI within an RPA framework, and this paper highlights the value of exposing such technology to research teams. Two regimes were identified: pre-installation, where ~10 devices yield massive probabilistic coverage through thousands of load-profile scenarios, and post-installation, where defects continue to emerge. Each device can hold a secondary reference model, and a digital twin stored in the data warehouse can be compared with the simulator results. The “smart premise” concept is emphasized: a few premises with renewables, storage, railways, elevators, or harmonic loads cover more diverse scenarios than hundreds of thousands of conventional premises. Remote field testing thus represents semi-random testing and is better than directed laboratory testing, linking the work to random algorithms—a major mathematical frontier that often succeeds where deterministic algorithms fail. Comparison with laboratory data is instructive: test-bench experiments use precision calibrators with isolated meters, whereas the proposed checker works under live loads, so software reference models, AI, and pseudo-randomness act as effective hardware replacements. The checker validates conformance with the major standards—IEC 62053-21 and IEEE 1459 (metrology), IEC 62056 (DLMS/COSEM data model) and IEC 62052-41 (metering registration methods). Strong transition rules were established between arithmetic and vector methods: conversion is 100% correct instantaneously and 98% correct over “load profiles”, sufficient for defect detection; for net import-export energy the two models are equal in all scenarios; these rules provide redundancy, so a doubtful rule can be backed by others. A vector meter confirmed correct can therefore serve as a reference across entire load profiles—critical because the reference need not match the metering-method type under test. The method targets, via standards-derived rules, data-model-observable defects across the metrological, functional and communication classes of Table 2 (detection demonstrated here for the metering-registration-method and meter-bypass cases; other classes are future work); because every rule derives from a published standard and the implementation is open source, it is suitable as a complementary, low-cost screening method alongside existing type testing, with wider adoption beyond the scope of this work. In summary, the proposed system integrates RPA, reference models, digital twins, random algorithms, and standard compliance into a unified framework that extends anomaly detection from IoT defects to fraud detection and grid maintenance, including early outage alerts. The reference-model and protocol-rule approach exploits high-dimensional IoT parameter spaces and field-generated randomness to detect and classify anomalies beyond traditional laboratory methods. It is highly efficient—requiring minimal hardware beyond the core checker—and is readily adapted to new IoT devices. The following defect types are identified as addressable by the framework in principle but are not demonstrated in this paper; they are excluded from the present claims and constitute the validation of the next paper in this series (Table 13). Table 14 summarizes what’s implemented at paper scope and what’s future design to be demonstrated in future papers.
Table 13. Defect types addressable in principle but not demonstrated here—future-work validation agenda.
Table 14. Summary separating what is implemented and experimentally demonstrated in this paper from what is proposed as future work. This table complements Table 13 and consolidates the validated-versus-proposed distinction across the framework.

Supplementary Materials

The following supporting information is available in the authors’ GitHub repository [25], https://github.com/calameron/smartgrid-IoT-anomaly-detection/, in the file RPA_IoT_paper_Supplementary_Material: Section S1: Implementation: AI-assisted development and fleet-scale data acquisition using robotic process automation (RPA); Table S1: Comparison of the features of four representative robotic process automation and test automation tools; Figure S1: Using RPA technology with existing smart grid systems; Figure S2: Comparison of access with robotic process automation (left) and access with the ODBC protocol (right) to smart metering databases.

Author Contributions

Conceptualization, N.C., D.S., O.H., M.D., R.T., E.Y. and S.P.; methodology, N.C., D.S., O.H. and M.D.; software, N.C., D.S., O.H. and M.D.; validation, N.C., D.S., O.H. and M.D.; writing—original draft preparation, N.C.; writing—review and editing, N.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The open-source implementation of the reference model, protocol rule checker and statistical-features anomaly-detection library is available at https://github.com/calameron/smartgrid-IoT-anomaly-detection/ (accessed on 1 June 2026; Version 1.0; module 1: metering-registration-method validation; module 2: statistical-features anomaly detection) [25]. The repository version, commit identifier and license are stated therein. Field data are subject to utility confidentiality restrictions and available from the authors on reasonable request in anonymized form.

Acknowledgments

The authors thank Alice Eldas for fruitful discussions.

Conflicts of Interest

Authors Netzah Calamaro, Moshe Donko, Robert Tiviaev and Eli Yaakobi are employed by the company Israel Electric Corporation (IECo). The remaining authors, Doron Shmilovitz, Oshrit Hoffer and Sejun Park, are affiliated with academic institutions only; they contributed scientific and engineering knowledge, had no access to the raw field data or to any customer information, and declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. Israel Electric Corporation provided access to the field data and had no role in the design of the study, in the analysis or interpretation of the results, in the writing of the manuscript, or in the decision to publish. All field examples use anonymized premises data: meter serial numbers, customer names and other identifying details were removed or replaced with codes, so that no confidential customer information is disclosed. The research is not for profit: it is not intended for a commercial product, and the system described serves Israel Electric Corporation.

References

  1. IEEE 1459:2025; IEEE Standard Definitions for the Measurement of Electric Power Quantities Under Sinusoidal, Nonsinusoidal, Balanced, or Unbalanced Conditions. IEEE Standards Association: Piscataway, NJ, USA, 2025. Available online: https://standards.ieee.org/ieee/1459/7578/ (accessed on 1 June 2026).
  2. IEC 62052-11; Electricity Metering Equipment—General Requirements, Tests and Test Conditions—Part 11: Metering Equipment. IECEE org: Geneva, Switzerland, 2020.
  3. IEC 62052-41:2022; Electricity Metering Equipment—General Requirements, Tests and Test Conditions—Part 41: Energy Registration Methods and Requirements for Multi-Energy and Multi-Rate Meters. IEC: Geneva, Switzerland, 2022. Available online: https://webstore.iec.ch/en/publication/66531 (accessed on 1 June 2026).
  4. IEC 62053-21:2020; Electricity Metering Equipment—Particular Requirements—Part 21: Static Meters for AC Active Energy (Classes 0,5, 1 and 2). IECEE org: Geneva, Switzerland, 2020.
  5. 5. IEC 62056-1:2014; Electricity Metering Data Exchange—The DLMS/COSEM Suite—Part 1-0: Smart Metering Standardisation Framework. IEC: Geneva, Switzerland, 2014. Available online: https://webstore.iec.ch/en/publication/6397 (accessed on 1 June 2026).
  6. IEC 62056-2:2023; Electricity Metering Data Exchange—The DLMS®/COSEM Suite—Part 6-2: COSEM Interface Classes. IEC: Geneva, Switzerland, 2023. Available online: https://webstore.iec.ch/en/publication/67917 (accessed on 1 June 2026).
  7. Azmi, N.H.; Leh, N.A.M.; Kamaruzaman, N.A. Modeling of energy meter using MATLAB/Simulink. In 2018 9th IEEE Control and System Graduate Research Colloquium (ICSGRC); IEEE: Washington, DC, USA, 2018; pp. 75–80. [Google Scholar]
  8. Gallo, D.; Ianniello, G.; Landi, C.; Luiso, M. An advanced energy/power meter based on ARM microcontroller for smart grid applications. In Proceedings of the 17th Symposium IMEKO TC4, 3rd Symposium IMEKO TC19 and 15th IWADC Workshop, Kosice, Slovakia, 8–10 September 2010. [Google Scholar]
  9. Pathare, A.A.; Singh, R.P.; Sethi, D. An IoT-Enabled Smart Net-Metering System for Real-Time Analysis of Renewable Energy Generation in MATLAB/Simulink. J. Inst. Eng. (India) Ser. B 2024, 105, 1583–1598. [Google Scholar] [CrossRef] [Scilit]
  10. Karabiber, A.; Keles, C.; Kaygusuz, A.; Alagoz, B.B.; Akcin, M. Power converters modeling in Matlab/Simulink for microgrid simulations. In 2016 4th International Istanbul Smart Grid Congress and Fair (ICSG); IEEE: Washington, DC, USA, 2016; pp. 1–5. [Google Scholar]
  11. Araújo, G.; Barros, E.; Melcher, E.; Azevedo, R.; Silva, K.R.D.; Prado, B.; Lima, M.E.D. A SystemC-only design methodology and the CINE-IP multimedia platform. Des. Autom. Embed. Syst. 2005, 10, 181–202. [Google Scholar] [CrossRef] [Scilit]
  12. Noce, P. Formal Verification of Cryptographic Protocols with Isabelle/HOL. In Handbook of Formal Analysis and Verification in Cryptography; CRC Press: Boca Raton, FL, USA, 2023; pp. 153–212. [Google Scholar]
  13. Gavrilovskaya, N.V.; Kuvaldin, V.P.; Zlobina, I.S.; Lomakin, D.E.; Suchkova, E.E. Developing a robot with computer vision for automating business processes of the industrial complex. J. Phys. Conf. Ser. 2021, 1889, 022024. [Google Scholar] [CrossRef] [Scilit]
  14. Etman, A.M.; Abdalzaher, M.S.; Emran, A.; Yahya, A.; Shaaban, M. A Survey on Machine Learning Techniques in Smart Grids Based on Wireless Sensor Networks. IEEE Access 2025, 13, 2604–2627. [Google Scholar] [CrossRef] [Scilit]
  15. Beniwal, R.K.; Saini, M.K.; Nayyar, A.; Qureshi, B.; Aggarwal, A. A critical analysis of methodologies for detection and classification of power quality events in smart grid. IEEE Access 2021, 9, 83507–83534. [Google Scholar] [CrossRef] [Scilit]
  16. Savva, A.; Kyrkou, C.; Kolios, P.; Theocharides, T. Advances in Remote Sensing and AI for Vegetation Monitoring in Power Line Corridors: A Review and Future Directions: A review and future directions. IEEE Geosci. Remote Sens. Mag. 2025, 13, 415–439. [Google Scholar] [CrossRef] [Scilit]
  17. Guo, J.; Chen, B.; Li, Z.; Liu, B.; Wu, W.; Yang, J. Optimizing Renewable Strategies for Emission Reduction Through Robotic Process Automation in Smart Grid Management. Atmosphere 2024, 15, 1429. [Google Scholar] [CrossRef] [Scilit]
  18. Jeyadevi, S.; Kalyani, S. Smart Energy Meter Data Processing and Billing. In Cloud Computing in Smart Energy Meter Management; Scrivener Publishing LLC: Beverly, MA, USA, 2025; pp. 207–238. [Google Scholar]
  19. Desai, J.P. Smart Grid and Energy Management. In Electric Vehicle Charging Infrastructures and Its Challenges; Springer Nature: Singapore, 2025; pp. 103–126. [Google Scholar]
  20. Bayer, D.; Pruckner, M. A digital twin of a local energy system based on real smart meter data. Energy Inform. 2023, 6, 8. [Google Scholar] [CrossRef] [Scilit]
  21. Irfan, M.; Niaz, A.; Habib, M.Q.; Shoukat, M.U.; Atta, S.H.; Ali, A. Digital Twin Concept, Method and Technical Framework for Smart Meters. Eur. J. Theor. Appl. Sci. 2023, 1, 105–117. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Shaikh, E.; Al-Ali, A.R.; Muhammad, S.; Mohammad, N.; Aloul, F. Security analysis of a digital twin framework using probabilistic model checking. IEEE Access 2023, 11, 26358–26374. [Google Scholar] [CrossRef] [Scilit]
  23. Meyer, L.; Jorstad, K.L.; Mortensen, L.K.; Santos, A.Q.; Handrup, K.; Shaker, H.R. Digital twin of radio-mesh smart meter communication for outage management using a multi-agent system. In 2022 IEEE 10th International Conference on Smart Energy Grid Engineering (SEGE); IEEE: Washington, DC, USA, 2022; pp. 119–124. [Google Scholar]
  24. Ray, J.K.; Sultana, R.; Bera, R.; Sil, S.; Alfred, Q.M. A Comprehensive review on artificial intelligence (AI) and robotic process automation (RPA) for the development of smart cities. In Confluence of Artificial Intelligence and Robotic Process Automation; Springer: Singapore, 2023; pp. 289–311. [Google Scholar]
  25. Calamaro, N.; Hoffer, O. Section 1: Metering Registration Method Validation, Module 2: Statistical Features Anomaly Detection. Available online: https://github.com/calameron/smartgrid-IoT-anomaly-detection/ (accessed on 1 June 2026).
  26. Calamaro, N.; Beck, Y.; Ben Melech, R.; Shmilovitz, D. An energy-fraud detection-system capable of distinguishing frauds from other energy flow anomalies in an urban environment. Sustainability 2021, 13, 10696. [Google Scholar] [CrossRef] [Scilit]
  27. Calamaro, N.; Ofir, A.; Shmilovitz, D. Application of enhanced CPC for load identification, preventive maintenance and grid interpretation. Energies 2021, 14, 3275. [Google Scholar] [CrossRef] [Scilit]
  28. Calamaro, N.; Donko, M.; Shmilovitz, D. A highly accurate NILM: With an Electro-Spectral space that best fits algorithm’s National deployment requirements. Energies 2021, 14, 7410. [Google Scholar] [CrossRef] [Scilit]
  29. Tezcan, Ö.; Akcay, C.; Sari, M.; Cavus, M. Sensor-Based Automatic Recognition of Construction Worker Activities Using Deep Learning Network. Sensors 2025, 25, 3988. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. European Forum for Energy Business Information Exchange (ebIX). Smart Meter Reading Method; Technical Memorandum; ebIX, 2017. Available online: https://www.ebix.org/artikel/MDS_reports (accessed on 1 June 2026).
  31. Calamaro, N.; Donko, M.; Shmilovitz, D. Algorithms that transfer between different energy metering methods for simplification of energy trading and unified billing. Heliyon 2022, 8, e11542. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  32. Chen, L.; Lao, K.W.; Ma, Y.; Zhang, Z. Error modeling and anomaly detection of smart electricity meter using TSVD+ L method. IEEE Trans. Instrum. Meas. 2022, 71, 3521314. [Google Scholar] [CrossRef] [Scilit]
  33. Shah, A.L.; Mesbah, W.; Al-Awami, A.T. An algorithm for accurate detection and correction of technical and nontechnical losses using smart metering. IEEE Trans. Instrum. Meas. 2020, 69, 8809–8820. [Google Scholar] [CrossRef] [Scilit]
  34. Alaton, C.; Tounquet, F. Benchmarking Smart Metering Deployment in the EU-28 Final Report; Directorate-General for Energy (European Commission): Brussels, Belgium; Tractebel Impact: Brussels, Belgium, 2018. [Google Scholar]
  35. Alonso, M.; Amaris, H.; Alcala, D.; Florez R., D.M. Smart sensors for smart grid reliability. Sensors 2020, 20, 2187. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  36. Mohsenian-Rad, H. Smart Grid Sensors: Principles and Applications; Cambridge University Press: Cambridge, UK, 2022. [Google Scholar]
  37. Awasthi, A.; Mahesh, T.R.; Joshi, R.; Pandey, A.K.; Saxena, R.; Goswami, S. Smart grid sensor monitoring based on deep learning technique with control system management in fault detection. Int. J. Commun. Netw. Inf. Secur. 2022, 14, 123–137. [Google Scholar] [CrossRef] [Scilit]
  38. Jiang, C.; Xu, H.; Jin, W.; Bi, X. Research on application of power Internet of Things technology in leakage fault diagnosis of rural power grid. Energy Rep. 2023, 9, 847–854. [Google Scholar] [CrossRef] [Scilit]
  39. EN 50160:2022/A1:2025; Voltage Characteristics of Electricity Supplied by Public Electricity Networks. European Committee for Electrotechnical Standardization: Brussels, Belgium, 2025. Available online: https://standards.iteh.ai/catalog/standards/clc/c8691375-8082-4c4c-8a5d-01b79af10f85/en-50160-2022-a1-2025 (accessed on 1 June 2021).
  40. IEEE 519:2022; IEEE Standard for Harmonic Control in Electric Power Systems. IEEE Standards Association: Piscataway, NJ, USA, 2022. Available online: https://webstore.ansi.org/standards/ieee/IEEE5192022 (accessed on 1 June 2021).
  41. IEC 61000-4-30:2015+AMD1:2021 CSV; Electromagnetic Compatibility (EMC)—Part 4-30: Testing and Measurement Techniques—Power Quality Measurement Methods. IEC: Geneva, Switzerland, 2021. Available online: https://webstore.iec.ch/en/publication/68642 (accessed on 1 June 2021).
  42. IEC 61000-4-7:2002; Electromagnetic Compatibility (EMC)—Part 4–7: Testing and Measurement Techniques—General Guide on Harmonics and Inter-Harmonics Measurements and Instrumentation, for Power Supply Systems and Equipment Connected Thereto. IEC: Geneva, Switzerland, 2002. Available online: https://webstore.iec.ch/en/publication/4226 (accessed on 1 June 2021).
  43. DLMS User Association. COSEM Architecture and Protocols, 7th ed.; DLMS User Association: Geneva, Switzerland, 2005. [Google Scholar]
  44. DLMS User Association. Identification System and Interface Classes, 13th ed.; DLMS User Association: Geneva, Switzerland, 2019. [Google Scholar]
  45. DLMS User Association. What is DLMS/COSEM. Available online: http://www.dlms.com/information/whatisdlmscosem/index.html (accessed on 1 January 2025).
  46. Emanuel, A.E. Power Definitions and the Physical Mechanism of Power Flow; Wiley-IEEE Press: Piscataway, NJ, USA, 2010. [Google Scholar] [CrossRef] [Scilit]
  47. DIN 40110-1:1994; Quantities Used in Alternating Current Theory; Two-Line Circuits. DIN Media: Berlin, Germany, 1994.
  48. DIN 40110-2:2002; Quantities Used in Alternating Current Theory—Part 2: Multi-Line Circuits. DIN Media: Berlin, Germany, 2002.
  49. IEC 62053-22:2020; Electricity Metering Equipment—Particular Requirements—Part 22: Static Meters for AC Active Energy (Classes 0,1S, 0,2S and 0,5S). IECEE org: Geneva, Switzerland, 2020.
  50. IEC 62053-23:2020; Electricity Metering Equipment (A.C.)—Particular Requirements—Part 23: Static Meters for Reactive Energy (Classes 2 and 3). IEC: Geneva, Switzerland, 2020.
  51. IEC 62053-24:2014/AMD1:2016/COR1:2018; Corrigendum 1—Amendment 1—Electricity Metering Equipment (A.C.)—Particular Requirements—Part 24: Static Meters for Reactive Energy at Fundamental Frequency (Classes 0,5 S, 1 S and 1). International Electrotechnical Commission (IEC): Geneva, Switzerland, 2018. Available online: https://webstore.iec.ch/en/publication/62768 (accessed on 1 June 2026).
  52. IEC 62056-3-1:2021; Electricity Metering Data Exchange—The DLMS/COSEM Suite—Part 3-1: Use of Local Area Networks on Twisted Pair with Carrier Signalling. IEC: Geneva, Switzerland, 2021.
  53. Wigderson, A. Randomness—A Computational Complexity Perspective. In XVIIth International Congress on Mathematical Physics; Jensen, A., Ed.; World Scientific: Hackensack, NJ, USA, 2013; pp. 254–263. [Google Scholar] [CrossRef] [Scilit]
  54. Wigderson, A. Mathematics and Computation: A Theory Revolutionizing Technology and Science; Princeton University Press: Princeton, NJ, USA, 2019. [Google Scholar]
  55. Talagrand, M. Upper and Lower Bounds for Stochastic Processes; Springer: Berlin/Heidelberg, Germany, 2014; Volume 60. [Google Scholar]
  56. Talagrand, M. The Generic Chaining: Upper and Lower Bounds of Stochastic Processes; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2005. [Google Scholar]
  57. Stone, N.C.; Leigh, N.W. A statistical solution to the chaotic, non-hierarchical three-body problem. Nature 2019, 576, 406–410. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  58. Kol, B. Flux-based statistical prediction of three-body outcomes. Celest. Mech. Dyn. Astron. 2021, 133, 17. [Google Scholar] [CrossRef] [Scilit]
  59. Armstrong, S.; Bou-Rabee, A.; Kuusi, T. Super diffusive central limit theorem for a Brownian particle in a critically-correlated incompressible random drift. arXiv 2024, arXiv:2404.01115. [Google Scholar] [CrossRef] [Scilit]
  60. Bou-Rabee, A.; Gwynne, E. Random walk on sphere packings and Delaunay triangulations in arbitrary dimension. arXiv 2024, arXiv:2405.11673. [Google Scholar] [CrossRef] [Scilit]
  61. Gomez Serrano, J. FRG: Collaborative Research: Singularities in Incompressible Flows: Computer Assisted Proofs and Physics-Informed Neural Networks; NSF Award Number 2245017; Directorate for Mathematical and Physical Sciences: Alexandria, VA, USA, 2023. [Google Scholar]
  62. Ansede, M. Spanish Mathematician Javier Gómez Serrano and Google DeepMind Team Up to Solve the Navier-Stokes Million-Dollar Problem. El País (English Edition). 24 June 2025. Available online: https://english.elpais.com/science-tech/2025-06-24/spanish-mathematician-javier-gomez-serrano-and-google-deepmind-team-up-to-solve-the-navier-stokes-million-dollar-problem.html (accessed on 1 July 2025).
  63. IEEE 1459-2010; IEEE Standard Definitions for the Measurement of Electric Power Quantities Under Sinusoidal, Non sinusoidal, Balanced, or Unbalanced Conditions. IEEE Standards Association: Piscataway, NJ, USA, 2010.
  64. Gonen, T. Electric Power Distribution System Engineering; McGraw-Hill: New York, NY, USA, 1986. [Google Scholar]
  65. Arrillaga, J.; Watson, N.R. Computer Modelling of Electrical Power Systems, 2nd ed.; Wiley: Hoboken, NJ, USA, 2001. [Google Scholar]
  66. Dugan, R.; McGranaghan, M.; Santoso, S.; Beaty, H.W. Electrical Power Systems Quality; McGraw-Hill: New York, NY, USA, 2012. [Google Scholar]
  67. Corsi, S.; Sabelli, C. General blackout in italy sunday september 28, 2003, h. 03: 28: 00. In IEEE Power Engineering Society General Meeting; IEEE: Washington, DC, USA, 2004; pp. 1691–1702. [Google Scholar]
  68. Jiménez-Gómez, M.; Sayas-Catalán, J.; Hernando-Sanz, A.; Ribeiro, C.; Seabra, B.; Lujan, M. Preparedness and Impact of a Large-Scale Power Outage in the Iberian Peninsula on Patients Using Home Respiratory Therapies: An International Multicentre Cross-Sectional Survey. SSRN 2025. preprint. [Google Scholar] [CrossRef] [Scilit]
  69. Calamaro, N.; Donko, M. Appendix_Proof_Computational_Complexity_Post_Review1.docx. Supplementary Document. Available online: https://www.kaggle.com/moshedo500/nilm-project (accessed on 26 June 2021).
  70. IEEE Std 141-1993; IEEE Recommended Practice for Electric Power Distribution for Industrial Plants. IEEE Standards Association: Piscataway, NJ, USA, 1994.
  71. Geiger, K. Inside ODBC; Microsoft Press: Redmond, WA, USA, 1995. [Google Scholar]
  72. IEC 61000-3-8:1997; Electromagnetic Compatibility (EMC)—Part 3: Limits—Section 8: Signalling on Low-Voltage Electrical Installations—Emission Levels, Frequency Bands and Electromagnetic Disturbance Levels. IEC: Geneva, Switzerland, 1997.
  73. IEC 61000-4-2:2025; Electromagnetic Compatibility (EMC)—Part 4-2: Testing and Measurement Techniques—Electrostatic Discharge Immunity Test. IEC: Geneva, Switzerland, 2025.
  74. NTL Source Code and Data. Available online: https://github.com/calameron/ECPC/tree/main (accessed on 1 June 2021).
  75. Sun, Y.; Sun, X.; Hu, T.; Zhu, L. Smart Grid Theft Detection Based on Hybrid Multi-Time Scale Neural Network. Appl. Sci. 2023, 13, 5710. [Google Scholar] [CrossRef] [Scilit]
  76. Wigderson, A. The power and weakness of randomness in computation. In LATIN 2006: Theoretical Informatics; Lecture Notes in Computer Science; Springer: Berlin/Heidelberg, Germany, 2006; Volume 3887, pp. 28–29. [Google Scholar]
  77. Talagrand, M. Mean Field Models for Spin Glasses: Volume I: Basic Examples; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2010; Volume 54. [Google Scholar]
  78. Talagrand, M. Spin Glasses: A Challenge for Mathematicians: Cavity and Mean Field Models; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2003; Volume 46. [Google Scholar]
  79. Singh, A.; Aasma, S. Grid failure in Northern, Eastern and North-Eastern grid in 2012: Cause and its effect on economy of India An Review. SAMRIDDHI J. Phys. Sci. Eng. Technol. 2012, 3, 67–72. [Google Scholar] [CrossRef] [Scilit]
  80. Sarma, H.; Russell, R. Second Day of India’s Electricity Outage Hits 620 Million. USA Today. 31 July 2012. Available online: http://usatoday30.usatoday.com/news/world/story/2012-07-31/india-power-outage/56600520/1 (accessed on 1 June 2021).
  81. Lai, L.L.; Zhang, H.T.; Lai, C.S.; Xu, F.Y.; Mishra, S. Investigation on july 2012 indian blackout. In 2013 International Conference on Machine Learning and Cybernetics; IEEE: Washington, DC, USA, 2013; Volume 1, pp. 92–97. [Google Scholar]
  82. Marjanac, S.; Patton, L. Extreme weather event attribution science and climate change litigation: An essential step in the causal chain? J. Energy Nat. Resour. Law 2018, 36, 265–298. [Google Scholar] [CrossRef] [Scilit]
  83. García-García, D.; León-Gómez, I.; Pérez-Marín, L.; Gómez-Barroso, D. Exploring all-cause mortality surveillance during the Iberian Peninsula power outage, Spain, 28 April 2025. Eurosurveillance 2025, 30, 2500405. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.