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.
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.

回答 (1 件)

madhan ravi
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
madhan ravi 2023 年 12 月 2 日
Ha! Thank you! Sometimes it’s difficult to just answer using phone ;).
madhan ravi
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 ExchangeControl and Measurements についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by