Digital Controller Design with PSIM

I saw the Tutorial Movie, named Digital Controller Design with PSIM.

And, I was following this sequentially.

but, the results are different.

Can I ask what’s wrong?

Please refer to attached file.

thank you.

please check the amplitude of the reference signal vs the carrier waveform. I typically use a peak to peak value of 1 for the carrier waveform. In your case you have a reference of 2.5 which would not work. Please disable the sweep and run it in the time domain to ensure that the steady state value makes sense before doing the sweep.