in an electric vehicle, a high voltage battery is connected to a boost converter to power on the traction drive, which comprises one three phase inverter and one electric machine. in the acceleration mode, energy flows from the battery to the electric machine; during the braking mode, the same electric machine generates electricity and charges the battery.