Solar cell model validation

1 次查看(过去 30 天)
Singappuli Wijewardana
Can I get Help to get the correct curve clear all; clf; syms np io tau vpv ipv rs Top voc k a iscr ki irs ego b; np=1;ns=36;voc=21.24;iscr=2.55;Tr=298;a=1.6;b=1.6;k=1.3805*10^(-19); q=1.6*10^(-19);ki=0.0017;lamda=1000;ego=1.1;Top=300;
iph=(iscr+ki*(Top-298))*lamda/1000;
irs=iscr/(exp(q*voc/ns*k*a*Top)-1);
io=irs*((Top/Tr)^3)*exp((q*ego/b*k)*(1/Tr-1/Top));
vpv=0:1:22;
for ii=1:length(vpv)
ipv(ii)=np*iph-np*io*(exp((q/(ns*k*a*Top))*(vpv(ii)+ipv(ii-1)*rs))-1);
end
plot(vpv,ipv);
Can't figure out how to correct it. Million thanks Sing

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

尚未输入任何标签。

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by