Text this: Optimal tuning of virtual inertia control for frequency regulation of microgrid