error simulation pmsm drive
Show older comments
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.
Answers (1)
Sabin
on 9 Jan 2023
0 votes
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.

Categories
Find more on Simscape Electrical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!