资源简介

This paper presents a new method to solve the network reconfiguration problem in the presence of distributed generation (DG) with an objective of minimizing real power loss and improving voltage profile in distribution system. A meta heuristic Harmony Search Algorithm (HSA) is used t

资源截图

代码片段和文件信息

function [crosspop]=srirasthucross(lstpop)
global Cprob Psize Bitlen fitness;
%fitness
for i=1:Psize
    Lis(i1)=lst(i);
    Lis(i2)=fitness(lst(i)2);
end
Lis(:1);
Lis=sortrows(Lis2);
lst=Lis(:1);    
for i=1:Psize
    parentpop(i:)=pop(lst(i):);
end
halfpop=Psize/2;
for i=1:halfpop
    Rnd=rand(11);
    if Rnd < Cprob
        mask=randint(1Bitlen[01]);
        for j=1:Bitlen
            if mask(1j)==1
            child((2*i)-1j)=parentpop((2*i)j);
            child((2*i)j)=parentpop((2*i)-1j);
            else
            child((2*i)-1j)=parentpop((2*i)-1j);
            child((2*i)j)=parentpop((2*i)j);
            end
        end
    else
        child((2*i)-1:)=parentpop((2*i)-1:);
        child((2*i):)=parentpop((2*i):);
    end
e

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         819  2009-07-13 14:11  GA_reconfg\16bus\crossover.m
     文件        1883  2009-07-13 14:11  GA_reconfg\16bus\data16.asv
     文件        1878  2009-07-13 14:11  GA_reconfg\16bus\data16.m
     文件        1987  2009-07-13 14:11  GA_reconfg\16bus\genetic.asv
     文件        1653  2009-07-13 14:11  GA_reconfg\16bus\genetic.m
     文件        3488  2009-07-13 14:11  GA_reconfg\16bus\loadflow.m
     文件         340  2009-07-13 14:11  GA_reconfg\16bus\mutation.m
     文件         378  2009-07-13 14:11  GA_reconfg\16bus\Roulette.m
     文件         436  2009-07-13 14:11  GA_reconfg\16bus\swdecode.m
     文件         819  2014-05-25 13:18  GA_reconfg\33bus\crossover.m
     文件        3613  2009-07-13 14:11  GA_reconfg\33bus\data33.m
     文件        6851  2014-05-25 20:17  GA_reconfg\33bus\genetic.m
     文件        3514  2014-05-26 06:02  GA_reconfg\33bus\loadflow.m
     文件         340  2009-07-13 14:11  GA_reconfg\33bus\mutation.m
     文件         367  2009-07-13 14:11  GA_reconfg\33bus\Roulette.m
     文件         436  2009-07-13 14:11  GA_reconfg\33bus\swdecode.m
     文件         795  2009-07-13 14:11  GA_reconfg\69bus\crossover.m
     文件        4917  2014-06-18 10:55  GA_reconfg\69bus\data69.m
     文件        1697  2009-07-13 14:11  GA_reconfg\69bus\genetic.m
     文件        3545  2009-07-13 14:11  GA_reconfg\69bus\loadflow.m
     文件         329  2009-07-13 14:11  GA_reconfg\69bus\mutation.m
     文件         351  2009-07-13 14:11  GA_reconfg\69bus\Roulette.m
     文件         436  2009-07-13 14:11  GA_reconfg\69bus\swdecode.m
     文件        1639  2009-07-13 14:11  PGSA_reconfg\16bus\data16.m
     文件        3484  2009-07-13 14:11  PGSA_reconfg\16bus\loadflow.m
     文件        1215  2009-07-13 14:11  PGSA_reconfg\16bus\main.m
     文件         973  2009-07-13 14:11  PGSA_reconfg\16bus\searchdomain.m
     文件        3257  2009-07-13 14:11  PGSA_reconfg\33bus\data33.asv
     文件        3226  2009-07-13 14:11  PGSA_reconfg\33bus\data33.m
     文件        3460  2009-07-13 14:11  PGSA_reconfg\33bus\loadflow.asv
     文件        3503  2009-07-13 14:11  PGSA_reconfg\33bus\loadflow.m
............此处省略8个文件信息

评论

共有 条评论