So, I have designed the following boost PFC circuit in simulink:
This is the DC output voltage:
But this is the input current:
I am trying to tune the PI control but nothing works out. The PI control seems to be working in the sense that I am able to control the voltage, but the current doesn't get fixed no matter what. Any inputs are greatly appreciated.
This is the model: https://drive.google.com/file/d/1vCDcx8Vl7IgIyX500Ry1uzpcngZ_LvR-/view?usp=sharing