Distance Relay Interactive Demo

An interactive demonstration of a distance relay using MATLAB, showcasing relay zones and fault impedance calculations.

You are now following this Submission

This basic MATLAB script provides an interactive demonstration of a distance relay, commonly used in power systems for fault detection and isolation. The demo features an R-X diagram displaying relay zones and allows users to simulate faults by adjusting parameters such as fault location, resistance, and direction. The script visually indicates whether the relay would trip for a given fault scenario, aiding in understanding relay operation and settings.
Key Features:
- Interactive sliders and controls for fault configuration
- Visual representation of relay zones on an R-X diagram
- Real-time calculation of apparent impedance and relay trip status
- Educational tool for students and professionals in electrical engineering
Instructions:
1. Run the `distance_relay_demo` script in MATLAB.
2. Use the sliders and dropdowns to configure fault parameters.
3. Observe the relay's response on the R-X diagram and status display.

Cite As

Adhithya S (2026). Distance Relay Interactive Demo (https://www.mathworks.com/matlabcentral/fileexchange/174175-distance-relay-interactive-demo), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0