A Tool for Evaluating the Performance of SiC-Based Bidirectional Battery Chargers for Automotive Applications