Incremental Conductance in simulink
    조회 수: 6 (최근 30일)
  
       이전 댓글 표시
    
Hey guys,
I've successfully modeled my solar aray in simulink and am getting correct output, but I'm having some trouble modeling an MPPT using the incremental conductance method.
if anyone has a model of it or can point me in the right direction I'd greatly appreciate it.
Thanks.
댓글 수: 0
답변 (1개)
  Tony Castillo
      
 2018년 1월 15일
        
      편집: Guillaume
      
      
 2019년 8월 4일
  
      function dc = IC( V, I, Adc, dcinit)
%#codegen
%Algoritmo IncrementalConductance mi referencia es la dI/dV
% Isc=input ('Corriente de corto circuito=');
% Voc=input('Voltaje de circuito abierto=');
% Adc=3e-4; %variacion de ciclo de trabajo
persistent dcold Vold Iold
dataType = 'double';
if isempty(Vold)
    Vold=0;
    Iold=0;
    dcold=dcinit;
end
%calculo de errores
dV=V-Vold;
dI=I-Iold;
%
if dV==0
    if dI==0
        dc =dcold;
        return
    else
        if dI>0
            dc = dcold - Adc; %reduce V
        else
            dc = dcold + Adc; %incrementa V
        end
    end
else
    if I+(dI/dV)==0
        dc=dcold;
        return
    else
        if I+(dI/dV)>0
            dc = dcold + Adc; %incrementa V
        else
            dc = dcold - Adc; %reduce V
        end
    end
end
dcmax=0.95; %esto es para limitar los máximos y minimos del dc
dcmin=0.05;
if dc>=dcmax || dc<=dcmin
    dc=dcold;
end
dcold=dc;
Vold=V;
Iold=I;
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Solar Power에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
