Solar cell model validation
Show older comments
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
Answers (0)
Categories
Find more on Solar Power in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!