I am getting wrong output voltage in ideal transformer , how can I fix this ?

조회 수: 5 (최근 30일)
I am trying to model ideal transformer in using Simscape Electrical, This is my Simscape model,
I am giving input signal of , Primary load is and secondary load is .
Turns ratio : P/S = 50/200
And solving with auto(ode23t)
When I try to plot in Scope I am getting this type of output :
I am sure that this is not the expected output, Am I missing something ?

채택된 답변

David John
David John 2020년 10월 7일
Please try changing the "Max step size" in the "Model Settings" to something smaller so that it resolves your sine wave better. If you are using "auto" for Max step size, it can easily choose a step that is far too big when you are simulating many cycles.
  댓글 수: 2
Devansh Tanna
Devansh Tanna 2020년 10월 7일
Thanks @David , It worked by changing max-time step to 0.001 from 0.2 , and there is one thing I tried when I joined sinwave block through controlled voltage source , It worked ther also why is that , does sinwave block has smaller step size than step size of "Model Setting" ?
David John
David John 2020년 10월 7일
편집: David John 2020년 10월 7일
Glad to hear that it worked. For your question, have a look at https://www.mathworks.com/help/simulink/gui/max-step-size.html which explains the auto choice for Max step size. Sine and Signal Generator do indeed employ a different heuristic for Max step size.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by