Analysis of electro-thermal effects in semiconductor devices