Energy storage battery effective power calculation formula