Uploaded by shiv srikakolum

PV Cell Modeling Equations & Code

advertisement
4th :1*2.0604 - 1*(-6.365)*(e^((1.6*10^-19)*(20.95)+3.8482)/(30*1.6*1.38*10^-23*10) -1)
3rd : 3.8484*(10/298)^3*e^((1.6*10^-19)*(1.1))/((1.6)*(1.38*10^-23))*((1/298)-(1/10))
2nd : (2.55+0.0017(10-298))*1000/1000
2.55/[e^((1.6*10^-19*20.95)/(30*1.3805*10^-23*1.6*10))-1]
5.20410*(10/298)^3*e^[(1.6*10^-19*1.1)/(1.6*1.3805*10^-23)*(1/298-1/10)]
%Equations for IV curve
q = 1.60217662 * (10^(-19)); %elementary charge
k = 1.38064852 * (10^(-23)); %Boltzmanns constant
n = 1.6;
%ideality factor
I_SC = 5.27;
% Short circuit current
V_OC = 20.95;
%Open circuit voltage
T = 283.15;
%Cell temperature
V = linspace(0,0.76);
%Using voltage as input variable
T_0 = 298.15;
% Reference temp = 25C
I_r0 = 1000
%reference Irradiance
TC = 0.0017;
% temp coefficint of Isc by manufacturer
V_g = 1.1 % Band gap in Joules
I_r = 200:200:1000
% Irradiance input
[V_m,I_rm] = meshgrid(V,I_r);
%creating meshgrid
I_s0 = 0.03414;
%Saturation current at ref temp given by equation in
research paper
I_ph = ((I_SC/I_r0).*I_rm).*(1+ TC*(T-T_0)); % Equation for photocurrent,
given in paper
I_s = I_s0.*(T./T_0).^(3/n).*exp((-(q*V_g)/n*k).*((1./T)-(1/T_0)));
%saturation current equation in paper
I = I_ph - I_s.*exp(((q*V_m)/(n*k*T))-1);
% Current equation
P = I.*V;
Iplot=I;
Iplot(Iplot)=nan;
Pplot = P;
Pplot(Pplot)=nan;
yyaxis left
plot(V,Iplot);
yyaxis right
plot(V,Pplot);
%Equations for IV curve
q = 1.60217662 * (10^(-19)); %elementary charge
k = 1.38064852 * (10^(-23)); %Boltzmanns constant
n = 1.4;
%ideality factor
I_SC = 6.15;
% Short circuit current
V_OC = 0.721;
%Open circuit voltage
T = 298.15;
%Cell temperature
V = linspace(0,0.76);
%Using voltage as input variable
T_0 = 298.15;
% Reference temp = 25C
I_r0 = 1000
%reference Irradiance
TC = 0.0029;
% temp coefficint of Isc by manufacturer
V_g = 1.79*(10^(-19)); % Band gap in Joules
I_r = 200:200:1000
% Irradiance input
[V_m,I_rm] = meshgrid(V,I_r);
%creating meshgrid
I_s0 = 1.2799*(10^-8);
%Saturation current at ref temp given by equation
in research paper
I_ph = ((I_SC/I_r0).*I_rm).*(1+ TC*(T-T_0)); % Equation for photocurrent,
given in paper
I_s = I_s0.*(T./T_0).^(3/n).*exp((-(q*V_g)/n*k).*((1./T)-(1/T_0)));
%saturation current equation in paper
I = I_ph - I_s.*exp(((q*V_m)/(n*k*T))-1);
% Current equation
P = I.*V;
Iplot=I;
Iplot(Iplot<0)=nan;
Pplot = P;
Pplot(Pplot<0)=nan;
yyaxis left
plot(V,Iplot);
yyaxis right
plot(V,Pplot);
Open Circuit Voltage = 20.955 V
Photon Current = 5.27 A
Reverse Stauration Current = 1.52789e-07 A
Saturation Current = 1.52789e-07 A
Operating Temperature = 25 C
Irradiation = 1000 W/m^2
Short Circuit Current = 5.27 A
PV Max. Volatge = 18 V
PV Max Current = 4.5646 A
PV Max Power = 82.1628 W
Open Circuit Voltage = 20.955 V
Photon Current = 5.2445 A
Reverse Stauration Current = 1.52789e-07 A
Saturation Current = 3.07347e-08 A
Operating Temperature = 10 C
Irradiation = 1000 W/m^2
Short Circuit Current = 5.27 A
PV Max. Volatge = 18 V
PV Max Current = 4.92446 A
PV Max Power = 88.6403 W
Open Circuit Voltage = 20.955 V
Photon Current = 5.2836 A
Reverse Stauration Current = 1.52789e-07 A
Saturation Current = 3.38023e-07 A
Operating Temperature = 33 C
Irradiation = 1000 W/m^2
Short Circuit Current = 5.27 A
PV Max. Volatge = 18 V
PV Max Current = 4.23874 A
PV Max Power = 76.2974 W
K=1.3805*10^(-19);
>> A=1.6;
>> T1=10;
>> T2=33;
>> T3=60;
>> Rs=0.5;
>> Vpv1=0:0.02:20;
>> for K= 1:1000
Ipv1(k)=Ipv;
Ipv=Iph-I0*(exp((q*Vpv+Rs))/(Ns*K*A*T1)-1);
Vpv=Vpv+0.02;
ipv=IPv;
Download