Energy storage battery temperature risk assessment