Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Column name 'Source_CH;Date;Time;U1_rms1/2_MAX;U1_rms1/2_MIN;I1_rms1/2_MAX;I1_rms1/2_MIN;U1_rms_MAX;U1_rms_AVG;U1_rms_MIN;U1_pk+_MAX;U1_pk+_AVG;U1_pk+_MIN;U1_pk-_MAX;U1_pk-_AVG;U1_pk-_MIN;I1_rms_MAX;I1_rms_AVG;I1_rms_MIN;I1_pk+_MAX;I1_pk+_AVG;I1_pk+_MIN;I1_pk-_MAX;I1_pk-_AVG;I1_pk-_MIN;U1_H1_AVG;U1_%H0_AVG;U1_%H1_AVG;U1_%H2_AVG;U1_%H3_AVG;U1_%H4_AVG;U1_%H5_AVG;U1_%H6_AVG;U1_%H7_AVG;U1_%H8_AVG;U1_%H9_AVG;U1_%H10_AVG;U1_%H11_AVG;U1_%H12_AVG;U1_%H13_AVG;U1_%H14_AVG;U1_%H15_AVG;U1_%H16_AVG;U1_%H17_AVG;U1_%H18...' is too long. It should be less than 500 characters.
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

  1. BidyutPi Dataset
  2. High Impedance Fault Power Quality Dataset
  3. IEC 61000-4-7
  4. IEC 61000-4-30
  5. IEEE papers on High-Impedance Fault detection
  6. IEEE papers on Power Quality

License

MIT License

Downloads last month
48