How do I address issue with width and dimension of PI i simulink
조회 수: 2 (최근 30일)
이전 댓글 표시
I am working on validating a model for my project, the simulink built and return two (2) errors similar to each other as written below
=== Simulation (Elapsed: 6 sec) ===
Error:Error in port widths or dimensions. 'Output Port 1' of 'Emma/PLL/Model/Continuous PID/Kp6' has 3 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Error:Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of 'Emma/PLL/Model/Continuous PID/Transfer Fcn'.
댓글 수: 2
채택된 답변
Nikhil
2023년 7월 5일
The error occurs because PLL block accepts only one sinusoidal signal as input. To use it for the case of three phase Voltages/Currents, you can use a PLL (3ph) block.
Refer to this documentation, for more information on the PLL block. Also, look into the example attached in the article, which showcases the use of PLL and PLL(3ph) blocks.
댓글 수: 2
Boris
2025년 5월 27일
Have you been able to tackle thet issue?
I've been having the same error, but I do not use the PLL block, I feedt the loaded data into an adder, which should handle any incoming vector.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!