Initilization of simscape network

Hello Team,
I have a large thermal model with more than 250 thermal masses and around 1000 conductive heat transfer elements, and I have given the initial temperature for the thermal mass as a parameter value, when I try to run the model , the compilation time was approximately 3 min and then the "initilization for the simscape block started" was taking more than 15 minutes, even after activatingthe initial temperature value from the parameter. and the run time for 10s simulation stop time was taking approximately 2 min with 0.1 step size.
How to make the simulation fast, Please help us with this

Réponses (1)

Lorenzo
Lorenzo le 19 Juin 2024
Déplacé(e) : Sabin le 5 Août 2025

0 votes

Hello Harish,
Some possibilities here might include:
  • Using Fast Restart to avoid recompiling the model everytime you want to simulate
  • Consider also using a variable step solver for the simulation (unless you really need to go fixed step). Thermal processes tend to be quite slow so you might not need the 0.1 sec
  • Also consider the possibilities of "breaking" your network. If you can divide your network in two parts (each one with its own solver configuration block) it should get faster

Catégories

En savoir plus sur General Applications dans Centre d'aide et File Exchange

Question posée :

le 18 Juin 2024

Déplacé(e) :

le 5 Août 2025

Community Treasure Hunt

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

Start Hunting!

Translated by