Can you let me know how to solve my errors? there are 4 errors in my simulink.

조회 수: 4 (최근 30일)
Hello all,
I am making PMSM modeling with simulink.
I faced in some error with this picture.
I attached my simulink data and error message.
I would appreciate if you could suggest solution for my issue.
  댓글 수: 4
승필 박
승필 박 2022년 1월 21일
Hello Ankit,
I tranformed my simulink data into 2018b version.
Please check and review it.
I would appreciate if you could give me solution.
Thanks

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

채택된 답변

Pat Gipper
Pat Gipper 2022년 1월 22일
You had two issues. One was the integrators in Current_Controller were implimented using the Memory in the feedback path causing an algebraic loop. I simply moved the Memory into the forward path to remove this error message.
The second problem was an error message from the compiler about DQ_ABC/Matlab Function1. I had to correct this by specifically defining the size of the input "u" using the Ports and Data Manager. It was strange that the compiler only complained about this specific function.
  댓글 수: 2
승필 박
승필 박 2022년 1월 23일
Hello Pat Gipper,
Thank you for giving me your solution. I resolved my issue based on your idea.
I really appreciated of your great support.
Thanks

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by