Operation of a single-phase grid connected inverter with large DC bus voltage ripple for distributed generation