The main advantage of the proposed method is that, an optimal active power dispatch considering the nominal voltage bandwidth can be initiated for the microgrid in both grid connected or off grid mode of operat