Simscape branch current equations
조회 수: 4 (최근 30일)
이전 댓글 표시
What should be the current equations in branch section while desiging a ssc component which allows the power to flow on either directions. i1, i2 are current of side1 and i3,i4 are the currents at side 2
nodes
p1=foundation.electrical.electrical; % + 1:top
n1=foundation.electrical.electrical; % - 1:top
p2=foundation.electrical.electrical; % + 2:bottom
n2=foundation.electrical.electrical; % -2:bottom
end
variables
i1 = { 0, 'A' }; % input Current
v1 = { 0, 'V' }; % input Voltage
i2 = { 0, 'A' }; % input Current
v2 = { 0, 'V' }; % input Voltage1
v3={0,'V'}; % output Voltage2
i3= { 0, 'A' }; % output Current
i4 = {0,'A'};%output current
v4 = {0,'V'}%output voltage
% idc = { 0, 'A' }; % output Current
Pin= { 0, 'W' }; % Input power
Pout = { 0, 'W' }; % output power
Losses={ 0, 'W' }; % power loss
end
branches
i1 :p1.i->* ;
i2 : n1.i->*;
i3: p2.i->*;
i4: n2.i->*;
end
equations
v1 == p1.v ;
v2 == n1.v;
v3 == p2.v;
v4 == n2.v;
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!