Text this: Frequency regulation for microgrid using genetic algorithm and particle swarm optimization tuned STATCOM