Switching Modeling of Power Devices Turn-Off in a SiC Mosfets-based Inverter Leg