Hello Raphael,
Thank you for sharing this. There are several ways in which you could speed up your simulation. They include:
- Replacing the individual battery cell blocks with their single-cell scaled equivalent.
- Changing electronic switching to average mode.
- Using Accelerator Mode instead of Normal Mode
- Using a local solver for the Simscape network, with a step size compatible with your switching frequency.
Each of these probably deserve a conversation with Technical Support or an Application Engineer in your area. Please feel free to send me your contact information so I can put you in touch with a MathWorks representative to help you.
Best regards,
Javier
jgazzarr@mathworks.com