Text this: Model-based hierarchal control framework for frequency and voltage stability in islanded microgrids with low inertia