{Synchronisation before shifting by an electric machine, e.g. by accelerating or braking the input shaft}