Energy storage inverter constant power control strategy