Hi, I'm modeling a resonant converter in PLECS. So I'm modeling each switch using MOSFET, body diode, output capacitance as shown in the figure. When I run the simulations applying thermal models of the manufacturers (infenion, cree) for the MOSFET and body diode I get current spikes at the MOSFET as shown in the figure.
The PLECS model given by ROhm is for a MOSFET+diode block and it also runs fine without any spikes. The spikes only occur when applying thermal models for MOSFET and body diode separately.
Any help to solve this issue will be much appreciated.
The currents shown in the figure are for the switch IMZ120R030M1H of infenion (https://www.infineon.com/dgdl/Infineon-IMZ120R030M1H-DataSheet-v02_01-EN.pdf?fileId=5546d46269e1c019016a92fdcc776696). I've used 0.1mOhm resistor in series with the output capacitor for the purpose of the simulation. The other parameters of the switch were set as given in the data sheet. I tried changing the gate resistance value and it didn't solve the issue.