switchmode-power-supply-simulation-with-pspice-and-spice-3