Why do I get Assertions in my Simscape model using Motor & Drive (System level
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Poorna
2024-4-30
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!