Text this: Optimal power generation in microgrid system based on firefly algorithm