error simulation pmsm drive

Hello.
I have a problem with simulating pmsm drive.
I get this error message:
Error in port widths or dimensions. Output port 1 of 'new_model_drive/PI Controller1' is a one dimensional vector with 1 elements.
I added the simulation file.
If can help me how fix it.
thanks.

回答 (1 件)

Sabin
Sabin 2023 年 1 月 9 日

0 投票

The dq0 to abc transformation is expecting a vector with three elements. The solution would be to mux ud, uq and a constant 0 (zero component). Another issue is that the mux is used uq as first input but should be ud first.

カテゴリ

ヘルプ センター および File ExchangeSimscape Electrical についてさらに検索

タグ

質問済み:

2019 年 7 月 15 日

回答済み:

2023 年 1 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by