top of page

Economic Load Dispatch Using Sparrow Search Optimization

Economic Load Dispatch Using Sparrow Search Optimization


We delve into the application of the Sparrow Search Algorithm for Economic Load Dispatch in power systems. The Sparrow Search Algorithm is a cutting-edge search optimization technique that aims to optimize power generation for a more efficient and cost-effective supply. This approach has been detailed in a paper published in System Science and Control Engineering.


The primary goal is to optimize the power generation of three generators over a 24-hour period to meet the demand while minimizing fuel costs. This is achieved through the implementation of the Sparrow Search Algorithm.

Code Implementation:

The following is a brief overview of the code used for Sparrow Search Optimization in Economic Load Dispatch:

  1. Input Parameters:

  • 24-hour demand data

  • Fuel cost coefficients for three generators

  • Lower and upper bounds for power generation

  • Number of checked agents

  • Maximum number of iterations

  1. Function Call:

  • The main function to be called is 'details' to obtain the objective function (fuel cost).

  1. Execution:

  • The Sparrow Search Algorithm starts optimizing power generation for the three generators to minimize fuel costs.

Results and Analysis:

Upon execution, the algorithm displays the objective function values with respect to iterations. The output includes the sum of power generation, power loss, and final fuel cost for each hour of the 24-hour period.

Graphical Representation:

The algorithm provides a graphical representation of the objective function's optimization for each hour.


The Sparrow Search Algorithm effectively optimizes power generation for the three generators, providing minimum fuel costs and ensuring economic load dispatch. The results are presented in a tabular format, showcasing the power generation, power loss, and fuel cost for each hour.

16 views0 comments


bottom of page