Text this: Computer Simulation Model of the Safe-Commutation Algorithm for the Four Quadrant Operations of AC-DC Converter using SPMC