意外停电如何得到优化数据

#1

?getsweepresult(“thickness_optimization”);
fom trend
best fom
parameter trend
best parameters
fom history
parameter history
genVec
memberVec
paramsTrend
fomTrend
paramHistory
fomHistory
bestParams
bestFom

m=“thickness_optimization”;

?getsweepdata(m);

genVec = getsweepdata(m,“genVec”); # Generation vector (1D vector, Ng)

memberVec = getsweepdata(m,“memberVec”); # Generation member vector (1D vector, Nm)

fomTrend = getsweepdata(m,“fomTrend”); # Best of each generation, same as shown in Opt. GUI window (1D vector, Ng)

paramsTrend = getsweepdata(m,“paramsTrend”); # Parameters corresponding to FOM trend (3D matrix, 1 x Np x Ng)

bestFom = getsweepdata(m,“bestFom”); # Global best FOM

bestParams = getsweepdata(m,“bestParams”); # Parameters corresponding to global best FOM (1D vector, Np)

fomHistory = getsweepdata(m,“fomHistory”); # Every FOM calculated in optimization (2D maxtrix, Nm x Ng)

paramHistory = getsweepdata(m,“paramHistory”); # Every parameter set used in optimization (3D maxtrix, Np x Nm x Ng)

plot(genVec,fomTrend,“generation number”,“fom Trend”,“best FOM of each generation”);

?"Best FOM: "+num2str(bestFom);

?"Best Params: "+num2str(bestParams);

?"Total number of simulations run: "+num2str(length(genVec)*length(memberVec));

image(memberVec,genVec,fomHistory,“member”,“generation”,“All FOM’s obtained”);