Lithium battery hybrid energy storage frequency modulation and grid connection