The voltage and current of the panel at maximum power point ?

16 次查看(过去 30 天)
n
I want to plot the maximum power point, thereby obtaining the V and I values. Maybe an intersection between x and y axis which can show the MPP.
Io = 0.1*10^-9;
IL = 9.5;
V = linspace(0,0.8,100);
q = 1.6*10^(-19);
k = 1.380649*10^(-23);
T = 298.15;
G =1000;
Gr = 1000;
I = (IL*(G./Gr))-(Io.*(exp((q.*V)./(k.*T))-1));
n = 72;
Vp = V.*n;
Pp = (Vp.*I);
figure(2)
plot(Vp,Pp,'r','linewidth',2);
xlabel('Voltage (V)','fontsize',15);
Pp = V.*I;
ylabel('Power (W)','fontsize',15);
title('PV Panel Power and Voltage Curve','fontsize',18)
grid minor
axis([0,50,0,400])
figure(3)
plot(I,Vp,'k','linewidth',2);
xlabel('Current (A)','fontsize',15);
ylabel('Voltage (V)','fontsize',15);
title('PV Panel Current and Voltage Curve','fontsize',18)
grid minor
axis([0,10,0,50]);
THANKS

采纳的回答

Jon
Jon 2022-2-16
编辑:Jon 2022-2-16
You could use this approach.
Suppose you first calculate (as I think you show above) equal length vectors of current, I, and voltage V using these values:
% calculate power
P = I.*V;
% find maximum power point and where it occurs
[Pmax,idx] = max(P);
% find the corresponding current and voltage at the maximum power point
Imax = I(idx);
Vmax = V(idx);
% plot the I-V curve and the location of the max power point
plot(I,V)
xlabel('current [amps]')
ylabel('voltage [volts')
yline(Vmax) % horizontal line through voltage where power is maximized
xline(Imax) % vertical line through current where power is maximized
text(Imax,Vmax,['Pmax = ',num2str(Pmax),' [watts]'])
This assumes you can easily compute the I and V curves with lots of points to get sufficient resolution for finding your maximum. You could also take a less brute force approach if you have the optimization toolbox to find the location of the maximum power point.

更多回答(0 个)

类别

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

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by