The dataset viewer is not available for this split.
Error code: TooLongColumnNameError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Beyond RMS: Power Quality Blind Spot Analysis
Feature engineering and machine learning framework for analyzing distorted electrical waveforms beyond conventional RMS measurements.
Overview
Electrical protection and monitoring systems commonly rely on RMS measurements to evaluate operating conditions. However, waveforms with similar RMS values may exhibit significantly different electrical stress due to harmonic distortion, impulsive behavior and waveform deformation.
This project investigates those blind spots using two real-world open datasets.
The workflow combines
- waveform analysis
- harmonic analysis
- crest factor analysis
- THD estimation
- machine learning
- feature importance analysis
to demonstrate why RMS alone is often insufficient for modern power-quality assessment.
Features
- High-resolution waveform analysis
- RMS / Peak / Crest Factor comparison
- THD computation
- FFT analysis
- Harmonic feature extraction
- High Impedance Fault (HIF) analysis
- Random Forest classification
- XGBoost classification
- Feature importance visualization
- Interactive Gradio demo
Repository Structure
Beyond-RMS/
β
βββ app.py
βββ README.md
βββ requirements.txt
β
βββ src/
β βββ dataset_loader.py
β βββ feature_engineering.py
β βββ visualization.py
β βββ models.py
β βββ inference.py
β
βββ notebook/
β
βββ datasets/
β
βββ models/
β
βββ figures/
β
βββ assets/
Datasets
Dataset 1 β BidyutPi
Real instantaneous voltage and current measurements (10 kHz)
Devices
- 330 W Resistive Load
- 0.5 HP Induction Motor
- Ceiling Fan
- SMPS Mobile Charger
Used for
- RMS
- Peak
- Crest Factor
- THD
- FFT
- Moving RMS
Dataset 2 β HIF Power Quality Dataset
Real measurements obtained from controlled High-Impedance Fault experiments on medium-voltage covered conductors.
Contains
- 142 experimental recordings
- Harmonics
- Interharmonics
- RMS
- Power Factor
- Voltage
- Current
- Active / Reactive Power
Used for
- Harmonic feature extraction
- Feature importance
- Machine learning
- Blind-spot analysis
Machine Learning
Models
- Random Forest
- XGBoost
Performance comparison
| Model | Accuracy |
|---|---|
| RMS-only Model | 95.34 % |
| Harmonic Feature Model | 98.01 % |
The harmonic feature model improved the overall classification accuracy while providing considerably better macro F1 performance.
Research Question
Can two electrical waveforms having similar RMS values represent different electrical stress?
This repository demonstrates that harmonic information and waveform descriptors provide complementary information beyond RMS measurements.
References
- BidyutPi Dataset
- High Impedance Fault Power Quality Dataset
- IEC 61000-4-7
- IEC 61000-4-30
- IEEE papers on High-Impedance Fault detection
- IEEE papers on Power Quality
License
MIT License
- Downloads last month
- 48