How does PLECS calculate thermal losses?

Problem description: 

Since the ideal switch components in PLECS do not simulate the exact turn-on and turn-off waveforms, I don't know how to account for switching losses in an estimate of the circuit's efficiency. 


PLECS has a domain for modeling thermal structures and accurately calculating switching and conduction losses in switches by means of multi-dimensional lookup tables based on manufacturer information or experimental measurements. The thermal components are found in their own section of the component library, while all semiconductor components have an associated thermal description that can be accessed by double-clicking on them.