Swing Curve Simulation for Power System Stability Analysis

It considers the rotor angle response and visualizes additional parameters such as rotor speed, electrical power, and generator terminal V
215 Downloads
Updated 1 Jul 2023

View License

The swing curve simulation is an essential tool for analyzing power system stability following a fault clearance. This MATLAB code provides a comprehensive simulation of the swing curve, allowing users to understand the behavior of synchronous generators in response to disturbances.
The code starts by defining the necessary parameters such as simulation time, fault clearance time, time constants, and time step. The swing curve is then computed based on the defined parameters using a mathematical model. The rotor angle response is calculated by considering different stages of fault clearance and sinusoidal variations.
In addition to the rotor angle, the code also calculates and visualizes other important parameters. These include the rotor speed, electrical power, and generator terminal voltage. The rotor speed represents the angular velocity of the generator's rotor, while the electrical power reflects the power generated by the machine. The generator terminal voltage is a crucial parameter that indicates the electrical potential difference at the output terminals of the generator.

Cite As

recent works (2024). Swing Curve Simulation for Power System Stability Analysis (https://www.mathworks.com/matlabcentral/fileexchange/131808-swing-curve-simulation-for-power-system-stability-analysis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0