swing curve for a power system after a fault is cleared
Version 1.0.0 (1,48 KB) von
recent works
code is simulating the swing curve for a power system after a fault is cleared
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.
Zitieren als
recent works (2025). 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. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2023a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |