91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2021-03-15
  • 語言: Matlab
  • 標簽: radial??

資源簡介

This paper propose a Firefly algorithm (FA) for optimal placement and sizing of distributed generation (DG) in radial distribution system to minimize the total real power losses and to improve the voltage profile. FA is a metaheuristic algorithm which is inspired by the flashing behavior of fireflies. The primary purpose of firefly’s flash is to act as a signal system to attract other fireflies. Metaheuristic algorithms are widely recognized as one of the most practical approaches for hard optimization problems. The most attractive feature of a metaheuristic is that its application requires no special knowledge on the optimization problem. In this paper, IEEE 33- bus distribution test system is used to show the effectiveness of the FA. Comparison with Shuffled Frog Leaping Algorithm (SFLA) is also given.

資源截圖

代碼片段和文件信息

%%?Initalization?of?Paraneters

clc
clear
%%?ANN?Structure
Thresh?=?.92;

NumofParticles?=?30;
NPar?=?240;?%?Number?of?Optimization?Parameters
VarLow?=?0;?%?Lower?Limmit?of?problem
VarHigh?=?1;?%?Upper?Limmit?of?problem
ff?=?‘costFinal‘;
GlobalBestP?=?rand(1NPar);?%?Global?Best?Position
GlobalBestP(GlobalBestP>Thresh)?=?1;
GlobalBestP(GlobalBestP
GlobalBestC?=?feval(ffGlobalBestP0);?%?Global?Best?Cost
MaxIterations?=?70;
DampCoef?=?0.9999999;
C1?=?1.5;
C2?=?4?-?C1;
%%?Particles?initialization
for?i?=?1:NumofParticles
????Particles{i}.Velocity?=?(rand(1NPar)+2)*2;
????R?=?rand(1NPar);
????Particles{i}.Position?=?R?>?1./(1?+?exp(-Particles{i}.Velocity));
%?????sum(Particles{i}.Position==1)
????Particles{i}.Cost?=?feval(ffParticles{i}.Position0)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????3390??2011-02-13?21:08??PSO.m

-----------?---------??----------?-----??----

?????????????????3390????????????????????1


評論

共有 條評論

相關資源