I am trying to find switching losses of a Modular Multilevel Converter (MMC) with PLECS Blockset. My SubModules (SM) are half-bridge (chopper cell) and there are 4 SMs in each arm of the MMC. As a first step, I am trying to find the switching losses of a single IGBT and a single diode (out of 48 IGBTs and 48 diodes of the whole MMC). So, I have made a parallel connection of an IGBT and a diode and give them a thermal description (5SNA 2000K450300_IGBT and 5SNA 2000K450300_Diode which can be downloaded from here). The rest of the switches are just ideal IGBTD components without any thermal description. When I run the system I get this error:
Negative turn-off loss (E = -3.89521). The relevant variables are:
v = -2706.21
i = -2706.21
T = 25.8755
For the given values in the error, the turn-off loss would be negative due to PLECS interpolation for negative current. However, the given value for current in the error is wrong. The current at turn-off instant of the diode is 1222.4 A (and not -2706.21 A) and this value should give me a positive turn-off loss. Can someone please help me with this issue?
P.S. I have also attached the 4 photos for better quality.