Advanced Control Methods in Microgrid