Sie sind auf Seite 1von 1

define_macro(Teste_Delta,

save $1 as Barra_Estudo
save $2 as Barra_Destino
save 0 as Teste_Ramo_Delta

%GY: Grounded wye


%UY: Ungrounded wye
%GA: Grounded auto
%UA: Ungrounded auto
%DE: Delta
%IY: Inverted wye
%GZ: Grounded zigzag
%UZ: Ungrounded zigzag
%DZ: Delta Grounded
%FT: Fictitious node

dobranches(Barra_Estudo,

dopath(Barra_Estudo #m1 #c1 Barra_Destino,

save ' ' as Tipo_Enrolamento_A


save ' ' as Tipo_Enrolamento_B
save FROM_BUS_WDG #k0 #m0 #c0 as Tipo_Enrolamento_A
save TO_BUS_WDG #k0 #m0 #c0 as Tipo_Enrolamento_B
if(Tipo_Enrolamento_A='DE' or Tipo_Enrolamento_B='DE')then
save Teste_Ramo_Delta + 1 as Teste_Ramo_Delta
endif
dis #k, #m, #c
dis Teste_Ramo_Delta

)
return

Das könnte Ihnen auch gefallen