Azzera filtri
Azzera filtri

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

9 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Jon
Jon il 16 Feb 2022
Modificato: Jon il 16 Feb 2022
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.

Più risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by