CALCULATION OF THE HEAT GENERATION OF LITHIUM BATTERIES