Types of inverters and topologies for microgrid applications