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 view (last 30 days)
Show older comments
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 Comments
Answers (1)
madhan ravi
on 2 Dec 2023
Edited: madhan ravi
on 2 Dec 2023
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 Comments
madhan ravi
on 2 Dec 2023
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
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Control and Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!