PWMSim

LTspicePowerSim

SEPIC — peak current mode with PI loop

LTspicePowerSim's 3 V to 5 V SEPIC under peak current-mode control with a voltage loop.

Open and simulate
Press Run: the example simulates in your browser. Open and simulate takes it to the full app, where you can change it.

Try this

Lower the slope compensation to 100 kA/s and watch the current peaks alternate. Then press Run again.