I have a question about "Error in port widths or dimensions. 'Output Port 1' of 'From32' is a one demensional vector with 3 elements"
조회 수: 2 (최근 30일)
이전 댓글 표시
I have a question about "Error in port widths or dimensions. 'Output Port 1' of 'From32' is a one demensional vector with 3 elements" and "Error in port widths or dimensions. 'Input Port 2' of 'Alpha-Beta-Zero to dq0' is a one dimensional vector with 1 elements.".
I wanna know why these errors occurred.
I don't know how to solve these errors.
Please help me solve these errors.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1558194/image.jpeg)
This picture is a circuit that I made.
Yellow From Block is 'From32' and Alpha-Beta-Zero to dq0 is the block connected to 'From32'
I'm using MATLAB R2021b version.
댓글 수: 0
답변 (1개)
madhan ravi
2023년 12월 2일
편집: madhan ravi
2023년 12월 2일
Park Transformation block only accepts a positive scalar for The angular position of the rotating frame is given by the input wt, in rad. You are feeding in a vector with 3 elements.
댓글 수: 3
madhan ravi
2023년 12월 2일
As suspected https://www.mathworks.com/help/sps/powersys/ref/pll3ph.html you need to use 3 Phase PLL to determine the angle. Watch this video on how to implement it https://youtu.be/HFi2bMzsgDA?si=3JgtJxlU3uZb239a
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Control and Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!