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 Exchange 中查找有关 Simscape Electrical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by