資源簡介
此資源用來進行參數辨識,該算法為遺傳算法,用此來進行辨識準確。
代碼片段和文件信息
%Generic?Algorithm?for??Parameters?Identification?and?Mode?Identification
%for?Hybrid?System
clear?all
close?all
tic
%Parameters
theta_f=-40;theta_a=20;KE=7e-4;Em0=13;R00=0.166;Tau=6100;C_theta=54000;
R_theta=0.2;C0=540000;dta=1.575;Ixing=15;kic=1.24;
theta=0;Qe=0;Ps=0;
I1=0;Cap1=0;Cap2=0;
DOC=1;SOC=1;R0=R00;R1=0;
Size=50;%length?of?population
G=300;%number?of?generation
CodeL=10;%length?of?code?for?each?parameter?a?R?C(nominial?value?421)
B=0;D=0;Faver_1=0;
MinX(1)=-1*ones(1);
MaxX(1)=3*ones(1);%A0
MinX(2)=0*ones(1);
MaxX(2)=0.06*ones(1);%R10
MinX(3)=1.01*ones(1);
MaxX(3)=2*ones(1);%Kc
g1=0;
g2=0;
E=round(rand(Size6*CodeL));%Initial?Code
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%Load?desired?data
load?cur5.mat
load?VOL5.mat
volI?=?volI(1001:20011);
- 上一篇:濾波程序用于去除毛刺
- 下一篇:遷移學習matlab代碼及使用.rar
評論
共有 條評論