RelayLab
Capstone design · CDP I

Power system
fault diagnostics

Read a simulated transmission-line fault, then run the trained Random Forest on the same voltage and current samples.

Explore the model

Fault explorer

Recorded TREnSET simulation cases

Phase voltage

Random Forest result

Predicted fault

TREnSET label
Fault location

What changed in the waveform

Voltage in kV RMS
PhaseBeforeModel windowChange
Current in kA RMS
PhaseBeforeModel windowChange
Inspect the ten features sent to the model

Phase RMS ratios

PhaseVoltageCurrent

Normalized sequence magnitudes

SequenceVoltageCurrent

The 400–420 ms measurement window is normalized using the 100–200 ms pre-fault reference.

From waveform to prediction

Sample the signals

At 4 kHz, each of the six channels has 80 samples in a 20 ms cycle of the 50 Hz waveform.

Extract ten features

Six RMS ratios capture phase magnitudes. Four sequence magnitudes capture how the phases differ during the fault.

Run the forest

The trained model averages the class scores from 100 trees and selects the highest score. This demonstration uses a saved post-fault window.

Training cases
720
Validation cases
240
Test cases per scenario
240
Maximum tree depth
8
Minimum leaf size
2