BESS thermal management