Energy storage temperature control profit analysis