遗传算法优化的定容DG选址方法
基于遗传算法的DG选址定容--33节点clc; clear; close all; nbus=33; 初始电压voltval1=V; %%设置种群迭代参数iter_max=80; 迭代次数no_of_pop=80; 种群数量prop_crsval=0.7; 交叉概率no_of_crs=2round(prop_crsvalno_of_pop/2); 突变概率no_of_mut=round(prop_mutval*no_of_pop); mu=0.02; sigma=2; % runpf(case33) %mpc=case33bw; %mpc.branch ; 初始化种群int_tmp_pop.Position=[]; int_tmp_pop.Cost=[]; int_tmp_pop.Rank=[]; int_tmp_pop.DominationSet=[];