Zero switching losses

I am simulating the losses in an inverter module. During the staring of the simulation there is some switching losses but around after the half simulation duration the switching loss goes to zero. How can I get the switching losses? Or is the issue due to the lack of thermal description data for low voltage values?

Gesamt_Modell_Control.m (6.5 KB)
upload.slx (433.3 KB)