Clear Filters
Clear Filters

I'm plotting solar pv Power/Voltage and I/V and the plot does not connect both axis. I can't find the problem

1 view (last 30 days)
I want find the voltage and current at Maximum Power Point
Io = 0.1*10^-9;
IL = 9.5;
V = linspace(0,0.62,100);
q = 1.6*10^(-19);
k = 1.380649*10^(-23);
% Temperature at 35°C and Irradiance of 650 W/m^2
T = 273.15+35;
G =900;
Gr = 650;
I = (IL*(G./Gr))-(Io.*(exp((q.*V)./(k.*T))-1));
n = 72;
Pp = n.*(V.*I);
Vp = V.*n;
figure(8)
plot(Vp,Pp,'r','linewidth',3);
xlabel('Voltage (V)');
ylabel('Power (W)');
title('PV Panel Power and Voltage Curve at 35°C')
grid on
axis([0,50,0,600])
ANY HELP WOULD BE GREATLY APPRECIATED
  3 Comments
Arif Hoq
Arif Hoq on 16 Feb 2022
If you use 0.69 in the linspace you can get the figure.
Io = 0.1*10^-9;
IL = 9.5;
V = linspace(0,0.69,100);
q = 1.6*10^(-19);
k = 1.380649*10^(-23);
% Temperature at 35°C and Irradiance of 650 W/m^2
T = 273.15+35;
G =900;
Gr = 650;
I = (IL*(G./Gr))-(Io.*(exp((q.*V)./(k.*T))-1));
n = 72;
Pp = n.*(V.*I);
Vp = V.*n;
figure(8)
plot(Vp,Pp,'r','linewidth',3);
xlabel('Voltage (V)');
ylabel('Power (W)');
title('PV Panel Power and Voltage Curve at 35°C')
grid on
axis([0,100,0,600])
Is that it ?

Sign in to comment.

Answers (1)

Arif Hoq
Arif Hoq on 18 Feb 2022
If you use 0.69 in the linspace you can get the figure.
Io = 0.1*10^-9;
IL = 9.5;
V = linspace(0,0.69,100);
q = 1.6*10^(-19);
k = 1.380649*10^(-23);
% Temperature at 35°C and Irradiance of 650 W/m^2
T = 273.15+35;
G =900;
Gr = 650;
I = (IL*(G./Gr))-(Io.*(exp((q.*V)./(k.*T))-1));
n = 72;
Pp = n.*(V.*I);
Vp = V.*n;
figure(8)
plot(Vp,Pp,'r','linewidth',3);
xlabel('Voltage (V)');
ylabel('Power (W)');
title('PV Panel Power and Voltage Curve at 35°C')
grid on
axis([0,100,0,600])

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!