An intelligent mechanism that uses machine learning to detect congestion in Advanced Metering Infrastructure (AMI) in real time — dynamically adjusting DNP3 reporting parameters to maintain grid reliability at scale.
Senior students at the University of Bahrain, Department of Information and Network Engineering.
As Advanced Metering Infrastructure scales, fixed DNP3 parameters create congestion that disrupts grid monitoring. We built an adaptive solution.
A complete pipeline from simulation to real-time control, validated across 8 network configurations.
Eight simulation configurations (25/50/75/100 meters × light/heavy traffic) generate the training dataset, capturing six network metrics per 5-second observation window.
A Decision Tree classifier (max_depth=5, class_weight=balanced) is trained on the augmented dataset and exported as a portable C++ header file for embedded deployment.
Every 5 seconds, the DA node collects metrics, classifies the network state, and broadcasts updated aggregation windows and max-events-per-report parameters to all smart meters.
Results compared against a non-adaptive baseline across all 8 scenarios, measuring packet loss ratio, queue length, mean delay, and retransmission counts.
Measured across all 8 simulation configurations. The adaptive mechanism consistently outperformed the static baseline.
| Metric | Baseline (No Adaptive) | With Adaptive ML | Outcome |
|---|---|---|---|
| Packet Loss Ratio | 47.8% | 0% | Eliminated |
| Avg Queue Length | 35+ packets | 4–12 packets | ↓ 72% |
| Mean Delay | 5–9 s | 0.5–2.2 s | ↓ ~75% |
| Detection Latency | N/A | ≤ 5 s | 1 control window |
| Scales Validated | — | 25, 50, 75, 100 meters | All passed |
Have questions about this research or want to learn more about our methodology? Reach out to the team.
We'll get back to you as soon as possible.