AC side energy storage