Design and Improved Switching Transient Modeling for A GaN-based Three Phase Inverter