PWMSim

LTspicePowerSim

Boost — peak current mode with PI loop

LTspicePowerSim's 3 V to 5 V current-mode boost, its control loop as one switch.

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

Halve the load resistance and compare the inductor current. Then press Run again.