There has been a keen interest on Distributed Generation (DG) due to their restricted goals of meeting local loads and improving reliability of the overall system. Microgrids (MGs) are connected to the main grid through a Point of Common Coupling which separates the former from the latter. At the time of an intentional islanding or fault at the grid level, a microgrid is able to disconnect itself from the rest of the grid and operate by itself. A microgrid may contain both directly connected and inverter interfaced sources with different control configurations. When disconnected or islanded from the main grid there are various approaches to share the load, one of them being master-slave control where a storage device may become the reference DG to set the nominal voltage and frequency. When the main grid is brought back to normal operation, the microgrid is able to resynchronize itself to the main grid only when it meets certain conditions so as to avoid transients. All the microsources, power electronics and their control with power management were developed in Matlab/Simulink.