HI all. I am building a bidirectional wireless power transfer system in MATLAB Simulink. Even though i successfully built the model but i am not getting the desired current waveform in the grid side during charging and discharging mode. Can anyone help me with idea to fix it? I am supposed to get Voltage and Current in phase (During charging) and Voltage and Current out of phase (During discharging).