- 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
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Hoang Trung Le
 il 2 Gen 2023
  
    
    
    
    
    Risposto: Steve Miller
    
 il 9 Gen 2023
            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 Commenti
Risposta accettata
  Steve Miller
    
 il 9 Gen 2023
        There are many ways to accelerate your model.  These can be combined for further speedup.
--Steve
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Simscape Multibody in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

