Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Set_param Linear Transformers winding

조회 수: 1 (최근 30일)
Chiara
Chiara 2013년 5월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
I am trying to write code to set parameters in Linear Transformer mask, using SI units, but even though I set UNITS like SI, values that I choose are read in pu and then translated to SI.
so if I use set_param for :
'UNITS' 'SI'
'winding1'=[20 20 20]
when I check block mask, in winding1 field I don't read those values, but their translation from 20pu, whils UNITS is ok.
Can someone help me?
  댓글 수: 4
Ryan G
Ryan G 2013년 5월 14일
Did you try changing the order? For example:
addblock('path','sys/name','winding1','w1','UNITS','SI');
In the block you might notice it will change the values when you change the units. It looks like it's setting the values first then the units in this case. If that doesn't work, try this:
blk = addblock('path','sys/name','UNITS','SI');
set(blk,'winding1','w1');
Chiara
Chiara 2013년 5월 15일
I had the same thought and I did the attempt you suggest, but it's the same :/

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by