Error in PWM Generator Vienna Rectifier
이전 댓글 표시
Expected a value representable in the C type 'int'. Found 5.000060 instead. Error in 'test/PWM Generator (Vienna Rectifier)/Gate Signal Generator/Signal Correction' (line 4) switch SmallHexNum
I am getting this error and hence cannot linearize my model to find transfer function and hence desgin PI controllers for it.
답변 (2개)
Mohamad Nazir
2021년 6월 11일
0 개 추천
Have you tried to simply insert a "round" block or a "data type conversion" block (or maybe both) for "SmallJexNum" in the "PWM Generator (Vienna Rectifier)" block between the "Switching Time Calculation" block and "Gate Signal Generator" subsystem in order to see if that resolves this error?
In case it does you might get the error that is causing this problem in the first case or no errors so you could run the simulation in order to investigate more (I'd start by observing Iabc and checking the switching period notably)
댓글 수: 1
Arkadeep Deb
2021년 6월 11일
편집: Arkadeep Deb
2021년 6월 11일
Dr. Pemendra Kumar Pardhi
2021년 6월 11일
0 개 추천
Dear Arkadeep Deb
Please used datatype conversion with boolean in place of intiger 8 (int 8)
I think it may creat a problems.
커뮤니티
더 많은 답변 보기: Power Electronics Community
카테고리
도움말 센터 및 File Exchange에서 Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!