Initilization of simscape network
Show older comments
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
Answers (1)
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
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!