Why do I get different results with asynchronous machine in Matlab/Simscape?

1 view (last 30 days)
Ata Khiabani
Ata Khiabani on 21 Feb 2019
Answered: Joel Van Sickel on 18 Aug 2021
Hello all,
I am trying to do an open loop simulation of asynchronous motor. I am comparing the asynchronous machine in Matlab/simscape with the actual dynamic equations of asynchronous motor. When I choose predefined parameters for the simscape model (such as squirrel cage model 15), everything looks fine for simulink model, but for the same parameters the dynamic equations become unstable (no matter how small my sampling time is). Is there something different in simulink model that I should consider when I solve system equations in alpha-beta reference frame?
I am uploading my simulink file, matlab file and model equations.
Thank you for the help.

Answers (1)

Joel Van Sickel
Joel Van Sickel on 18 Aug 2021
Hello Ata,
unfortunately, your question is in regards to your personal implementation of some equations in Matlab and not a quesiton on how to use MathWorks products. It is not likely someone will debug your matlab file to find out why it isn't working unless you identify a specific bug/problem that you need help with.
Some generic advice about creating your own models. You could consider using a higher order solver, but if time step has no effect, it is likely that either your model is implemented wrong, or the equations you are using are not appropriate and different model equations should be used. You can use ctrl+u to look specifically at how the equations are implemented in Simulink and use this to better consider your matlab implementation.
Regards,
Joel

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by