• 大小: 815KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-05-12
  • 语言: Matlab
  • 标签: 最大功率  

资源简介

这个 觉得值得拥有 压缩包里面有风力发电中的惊喜

资源截图

代码片段和文件信息



function [sysx0strts]=mppt1(txuflag)
switch flag
case 0
[sysx0strts]=mdlInitializeSizes;
case 2
sys=mdlUpdate(txu);
case 3
sys=mdlOutputs(txu);
case{149}
sys=[];
otherwise
error([‘Unhandled flag =‘num2str(flag)]);
end

function [sysx0strts]=mdlInitializeSizes
sizes=simsizes;
sizes.NumContStates=0;
sizes.NumDiscStates=3;
sizes.NumOutputs=1;
sizes.NumInputs=2;
sizes.DirFeedthrough=1;
sizes.NumSampleTimes=1;
sys=simsizes(sizes);
x0=[0 0 0.5];
str=[];
ts=[1e-4 0];

function sys=mdlUpdate(txu)
sys(1)=u(1);
sys(2)=u(2);
if(x(1)*x(2)-u(1)*u(2)>0)
    if(x(1)>u(1))
        sys(3)=x(3)-0.001;
    else
        sys(3)=x(3)+0.001;
    end
elseif(x(1)*x(2)-u(1)*u(2)<0)
    if(x(1)>u(1))
        sys(3)=x(3)+0.001;
    else
        sys(3)=x(3)-0.001;
    end
else
    sys(3)=x(3);
end
if(x(3)>0.9)
    sys(3)=0.9;
end
if(x(3)<0.1)
    sys(3)=0.1;
end

function sys=mdlOutputs(txu)
sys=x(3);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     250178  2015-05-22 10:22  直驱一大片matlab文件\directdriven.mdl

     文件      23908  2015-04-23 13:51  直驱一大片matlab文件\mppt\PMGM_boost_final.slx.r2012b

     文件      29512  2015-05-22 19:01  直驱一大片matlab文件\mppt\PMGM_boost_final1.slx

     文件     164948  2015-05-13 12:45  直驱一大片matlab文件\mppt\PMGM_boost_final_sfun.mexw64

     文件    4585472  2015-05-22 15:27  直驱一大片matlab文件\mppt\slprj\modeladvisor\com_2emathworks_2eSimulink_2eUpgradeAdvisor_2eUpgradeAdvisor_\zhuhuilucs\ModelAdvisorData

     文件     125250  2015-05-22 15:26  直驱一大片matlab文件\mppt\slprj\modeladvisor\com_2emathworks_2eSimulink_2eUpgradeAdvisor_2eUpgradeAdvisor_\zhuhuilucs\model_diagnose_custom.html

     文件      19020  2015-05-22 15:26  直驱一大片matlab文件\mppt\slprj\modeladvisor\com_2emathworks_2eSimulink_2eUpgradeAdvisor_2eUpgradeAdvisor_\zhuhuilucs\report.html

     文件         85  2015-05-22 15:26  直驱一大片matlab文件\mppt\slprj\sl_proj.tmw

     文件        127  2015-05-13 12:07  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\html\chart2_fbFdvAf4KfJKsYsssZ04uH\index.css

     文件      13629  2015-05-13 12:07  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\html\chart2_fbFdvAf4KfJKsYsssZ04uH\index.html

     文件       6066  2015-05-13 12:07  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\html\chart2_fbFdvAf4KfJKsYsssZ04uH\inference.mat

     文件       8340  2015-05-13 12:07  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\html\chart2_fbFdvAf4KfJKsYsssZ04uH\MPPT_PO1_mcode.html

     文件       2595  2015-05-13 12:07  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\html\chart2_fbFdvAf4KfJKsYsssZ04uH\MPPT_PO1_watch.html

     文件       1240  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\binfo.mat

     文件       6377  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_6bZdv04248VhvglJXXudtB.mat

     文件       6383  2015-05-04 11:43  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_786ZAd7nNUZY2PX1PJtuhB.mat

     文件       1712  2015-05-13 12:08  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_fbFdvAf4KfJKsYsssZ04uH.mat

     文件       6381  2015-05-04 11:33  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_rTOKksNDsXmGGIpOr37b3.mat

     文件       6377  2015-05-03 11:48  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_VdEWQF2fXNmM3wpwaIkEuC.mat

     文件       6384  2015-05-03 13:25  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_VPA34qzSGsAfRwFm7uuKVF.mat

     文件       3168  2015-05-04 11:03  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\info\chart2_XPBCUlnNx4JyVq2FXEtagE.mat

     文件      60024  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\c2_PMGM_boost_final.c

     文件       1322  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\c2_PMGM_boost_final.h

     文件      61352  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\c2_pmgm_boost_final.obj

     文件        706  2015-05-01 22:58  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\lccstub.obj

     文件       4125  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\multiword_types.h

     文件         78  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\PMGM_boost_final_sfun.bat

     文件       9417  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\PMGM_boost_final_sfun.c

     文件         56  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\PMGM_boost_final_sfun.def

     文件         56  2015-05-13 12:45  直驱一大片matlab文件\mppt\slprj\_sfprj\PMGM_boost_final\_self\sfun\src\PMGM_boost_final_sfun.exp

............此处省略115个文件信息

评论

共有 条评论