Energy storage frequency modulation EMS architecture