I am trying to simulate FOC of Induction motor with SVPWM using MATLAB simulink. It is working accurately in the motoring mode but in generating mode, there are notches of small magnitude at the regular interval. What are the possible reasons and correcting action to rectify this problem?