Why do I get Assertions in my Simscape model using Motor & Drive (System level

2 views (last 30 days)
I have used a system level Motor & Drive Setup to mimic a 3kW induction motor powered by a voltage source. I have also added a control with speed reference. My task is to get the output speed of this motor to be 1440rpm. This would be my first task afterwhich I would be adding gearbox, mass, inertal loads etc., . Can somebody reply as to what is the possible cause of the assertion.

Answers (1)

Poorna
Poorna on 30 Apr 2024
Hi Gokul,
I have run the model attached and could reproduce the assertion error. From the model and the assertion error I could infer that you have connected the 'Motor & Drive' block with an AC voltage source. But, if you refer to the documentation of the 'Motor & Drive' block, you can find that the block MUST be driven by a DC voltage source. Since, you are using an AC voltage source which can fluctuate as time passes and can also become 0, you are getting the divide by zero error.
So, you need to replace the AC voltage source with a DC voltage source.
Refer to following documentation on 'Motor & Drive' block: https://www.mathworks.com/help/sps/ref/motordrivesystemlevel.html
To learn more about DC voltage source block refer to the below documentation:
Hope this Helps!

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!