Energy storage equipment profit analysis code