Lm2596 Library For Proteus Extra Quality -

The simulation waveforms show the input voltage, output voltage, and inductor current:

Happy simulating!