Virtual Inertia Emulation in islanded microgrids with energy storage system