1.5

1.5 | 2 ratings Rate this file 173 downloads (last 30 days) File Size: 21.58 KB File ID: #20825

Genetic Algorithm Solution to Economic Dispatch

by Saloman Danaraj

 

23 Jul 2008 (Updated 24 Jul 2008)

Code covered by BSD License  

This program solves the economic dispatch problam using MATLAB genetic algorithm toolbox

Download Now | Watch this File

File Information
Description

This software contain two examples gatest.m and gatest.1.By running the programs as they are in the default folder. The allocation minimum fuel cost and transmission losses can be determined.

% The Example system is taken from the book Power System Analysis by Prof Haadi Sadaat Example 7.8
% the data matrix should have 5 columns of fuel cost coefficients and plant limits.
% 1.a ($/MW^2) 2. b $/MW 3. c ($) 4.lower lomit(MW) 5.Upper limit(MW)
%no of rows denote the no of plants(n)
% x=[0 0]
global data B B0 B00 Pd
 data=[0.008 7 200 10 85
0.009 6.3 180 10 80
0.007 6.8 140 10 70];
% Loss coefficients it should be squarematrix of size nXn where n is the no
% of plants
 B=.01*[.0218 .0093 .0028;.0093 .0228 .0017;.0028 .0017 .0179];
 B0=[.0003 .0031 .0015];
 B00=100*.00030523;
options = gaoptimset;
options = gaoptimset('PopulationSize', 50,'Generations', 500,'TimeLimit', 200,'StallTimeLimit', 100,'PlotFcns', {@gaplotbestf,@gaplotbestindiv})
  [x ff]=ga(@eldga1,2,options)
 [ F P1 Pl]=eldga1(x)
F =

  1.6000e+003

P1 =

   34.0089 64.0272 54.6342

Pl =

    2.3491

ALL THE BEST

Required Products Genetic Algorithm & Direct Search Tlbx
MATLAB release MATLAB 7.0.4 (R14SP2)
Zip File Content  
Other Files ELDGA/ELDGA/eldga.m,
ELDGA/ELDGA/eldga1.m,
ELDGA/ELDGA/gatest.m,
ELDGA/ELDGA/gatest1.m,
ELDGA/ELDGA/introduction.doc
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
26 Jul 2008 Dimitri Shvorob

A homework project of little benefit to anybody with access to GA Toolbox docs. 'Economic dispatch problem' is apparently a scheduling one; there are several submissions on FEX (including some by Yi Cao) addressing it.

09 Jun 2009 Erdal Bizkevelci  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
optimization Saloman Danaraj 22 Oct 2008 10:11:24
genetic algorithm Saloman Danaraj 22 Oct 2008 10:11:24
econmoic dispatch Saloman Danaraj 22 Oct 2008 10:11:24
transmission loss Saloman Danaraj 22 Oct 2008 10:11:24
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com