필터 지우기
필터 지우기

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

조회 수: 11 (최근 30일)
MUHAMED SIDIBEH
MUHAMED SIDIBEH 2022년 2월 16일
댓글: MUHAMED SIDIBEH 2022년 2월 16일
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