swing curve for a power system after a fault is cleared

code is simulating the swing curve for a power system after a fault is cleared
137 Downloads
Updated 25 Mar 2023

View License

The code is simulating the swing curve for a power system after a fault is cleared. The swing curve shows the variation of the rotor angle of a synchronous generator with respect to time after a disturbance.
The simulation considers the effect of a fault and subsequent clearing of the fault after a specified time. The values of the fault clearing time tfl, the fault duration tf, the critical clearing time tc, and the time step ts are all specified in the code.
The pm variable represents the mechanical power input to the generator, while pm1, pm2, and pm3 are the perturbation amplitudes applied to pm during the simulation.
The swing curve is plotted using the plot function at the end of the code. The axis function sets the limits of the x and y-axis of the plot, while title adds a title to the plot.

Cite As

recent works (2024). swing curve for a power system after a fault is cleared (https://www.mathworks.com/matlabcentral/fileexchange/126804-swing-curve-for-a-power-system-after-a-fault-is-cleared), 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