I have a question about "Error in port widths or dimensions. 'Output Port 1' of 'From32' is a one demensional vector with 3 elements"
1 次查看(过去 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.
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
社区
另请参阅
类别
在 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!