Is there a way to switch off thermal simulation for specific subsystems?

Hello,
I have a multilevel VSI based on NPC cell on which I perform losses studies.
With the library NPC block, I made my own NPC cell with the heatsinks in it :


I wanted to see if the losses were the same for every NPC cell in the multilevel converter (about 16 levels) so I copied my masked subsystem with the heatsinks in the entire converter.
Now my simulation is really slow du to all the thermal computations.

So, is there a way to switch off thermal computations for specific subsystems ? I tried to use the command plecs(‘set’, ‘componentPath’, ‘CommentStatus’, ‘CommentedOut’) on the heatsink in the masked subsystem initialization panel but plecs tell me that I can’t modify the circuit while the simulation is running.
Or do I have to manually comment out all the heatsinks ?

Thanks for your responses,
Paul

Hi Paul. You cannot enable/disable a thermal model during run-time. I recommend using a configurable system - one configuration with thermal models and the other configuration without. You may need to create “dummy” signals to feed scopes and probes such that the overall number of traces in each scope remains the same between the different configurations.

Note you can use model references to a configurable subsystem, where each model reference has it’s own configuration.

Hello,

Thanks for your solution with the configurable subsystems. It works well. And also thanks for the tips with the model reference block I did’nt know about.

1 Like