Energy storage pcs reactive power regulation