Swing Curve Optimization using Harmony Search Algorithm

Optimize swing curve parameters for power systems using a Harmony Search Algorithm.

You are now following this Submission

  • The provided MATLAB code implements a Harmony Search Algorithm to optimize parameters for swing curve simulations in power systems. The optimization aims to achieve a target rotor angle and time, crucial for maintaining system stability during faults.
  • The process begins with defining algorithm parameters such as population size, maximum iterations, and pitch adjustment rates. The objective function evaluates the fitness of parameter sets by comparing simulated rotor angles to the target angle.
  • During optimization iterations, the Harmony Search Algorithm adjusts parameter values, maintains a harmony memory, and explores the search space efficiently.
  • To evaluate the optimized parameters, a swing curve simulation is performed using the updated parameters. The simulation calculates rotor angles over time, considering the dynamic response of the system.
  • Finally, the optimized results are displayed, showcasing the parameters that yield the desired swing curve characteristics. This iterative optimization process enhances the understanding of power system dynamics and contributes to improved stability and reliability.

Cite As

recent works (2026). Swing Curve Optimization using Harmony Search Algorithm (https://se.mathworks.com/matlabcentral/fileexchange/167226-swing-curve-optimization-using-harmony-search-algorithm), 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