필터 지우기
필터 지우기

im implementing single switched active cel balancing but the soc of both cells are not equal, what is the error in the logic of this code? function [s1,s2,s3,s4] = fcn(SOC1,SO

조회 수: 1 (최근 30일)
im implementing single switched active cel balancing but the soc of both cells are not equal, what is the error in the logic of this code? function [s1,s2,s3,s4] = fcn(SOC1,SOC2,P1,P2)
if SOC2<SOC1
s1=P1;
s2=P1;
s3=P2;
s4=P2;
elseif SOC1<SOC2
s1=P1;
s2=P1;
s3=P2;
s4=P2;
else
s1=0;
s2=0;
s3=0;
s4=0;
end
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by