Simulation of a Buck-Boost Single Phase Voltage Source Inverter for Distribution Generation Systems