A Heterogeneous Multirate Simulation Approach for Wide-bandgap-based Electric Drive Systems