FMU run time issue

Hello Team,
I have a thermal model with conductive elements and have created a cylindrical cell model in Matlab 2021b, when I try to connect the cylindrical cells parallelly with current input and run the model for 10 sec it is taking 50 min of compliation time, 10 min of initilization time and 2 min of run time.
As the compilation time is too large, I converted the cell model to FMU and use the FMU inplace of open simscape mode and run the model for 10 sec and I observed that the compilation time is negligable, initilization time is around 10 min and the runtime is roughly about 70 min for 10sec of simulation time.
How to make this FMU model run with Realtime factor?
Please guide us with this.
Thanks in advance

2 Comments

Yash
Yash on 27 Jun 2024
Hello @Harish,
Would it be possible for you to help us with the FMU. This would help us to debug the issue better.
Advait
Advait on 27 Jun 2024
Hi @Harish, have you considered trying Simscape Battery - MATLAB (mathworks.com) for your use case? Are your models in Simulink currently?

Sign in to comment.

Answers (0)

Categories

Asked:

on 25 Jun 2024

Commented:

on 27 Jun 2024

Community Treasure Hunt

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

Start Hunting!