I was simulating a vehicle to grid and grid to vehicle system using grid connected bidirectional power converter for charging and discharging of electric vehicle battery using MATLAB/Simulink ? While switching from "vehicle to grid mode" to "grid to vehicle mode" and vice versa, I found that there are spikes in grid frequency variation at that instant of switching.
Why there are spikes in grid frequency variation during switching of bidirectional grid connected power converter of "vehicle to grid" and "grid to vehicle" systems ? How to remove these spikes ?
I just want clue or suggestion or idea. I am not asking for an exact and complete answer to the question.