I am pretty new to PLECS. I am trying to simulate the bode plot for a converter and I have introduced a perturbation in the duty and am reading the output voltage perturbation. I have already gone through the example for the buck converter provided in the examples before doing this.
The simulation ends prematurely and plots the frequency response for a very short frequency range. It is unclear as to why this is happening. I asked it to plot the response from 100-100KHz and the following settings were applied:
Frequency Range: [100 100e+3]
Number of points: 150 <-- Is this too high?
Termination Tolerance: 1e-3 <-- I don't know what this is doing
Max Number of Iterations: 400 <-- Is this too high? I chose this arbitrarily
Rel. Perturbation for Jacobian: 1e-4 <-- No idea what this is..
I have attached the model for your reference. Any help would be greatly appreciated.
Thank you very much!