- Simplify the quadcopter model - can you make assumptions that simplify the quadcopter physics? For example, can you assume the quadcopter flight control system follows the desired trajectory? If you can eliminate fast spinning propellers and fast dynamics in the quadcopter itself, the simulation can take a larger step size, and it may also reduce compile time.
- Use scalable compilation - if you use the scalable recompilation settings in Simscape, multiple instances of the same quadcopter would only need to be compiled once.
- Use Fast Restart - this will eliminate the compilation stage completely.
How to effectively and optimally simulate multiple robotic platforms in Simscape Multibody
3 次查看(过去 30 天)
显示 更早的评论
Hi! I am attempting to simultaneously simulate 2 quadcopters in the Simscape Multibody environment as in attached Picture1. Basically, it is working but it obviously took a long time for Simulink to compile and run the model. My current architecture is similar to that is illustrated in attached Picture2 (I just copied and pasted the first quadcopter to make the second). I don't think that is the way that should be done to simulate multiple robotic platforms in Simscape Multibody.
So I wonder what are the common practices for simulating a simple robotic swarm in Simscape Multibody since I couldn't find existing examples. Moreover, where can I get the materials to somehow optimise and accelerate my model since much more complex examples of Simscape Multibody run much faster than my basic model with 1 quadcopter.
Thank you so much for your help!
0 个评论
采纳的回答
Steve Miller
2023-1-9
There are many ways to accelerate your model. These can be combined for further speedup.
--Steve
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Multibody 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!