error simulation pmsm drive
Afficher commentaires plus anciens
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.
Réponses (1)
Sabin
le 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.

Catégories
En savoir plus sur Simscape Electrical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!