MPPT Loop for problem

I'm using a function block to calculate the max power for a population of voltages and currents, so i'm using a for loop to calculate power for my current population and find the max power and the best voltage for it . My problem is find max power and best voltage and storing I and V as output vector.
for i= 1:n
Ipv=I;
Vpv=V;
po=Vpv.*Ipv;
p=max(po);
if p>power
power=p;
Vopt=V;
end
end

Antworten (0)

Communitys

Weitere Antworten in  Power Electronics Control

Kategorien

Mehr zu Solar Power finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 29 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by