A Voltage-Source Inverter for Microgrid Applications with an Inner Current Control Loop and an Outer Voltage Control Loop