Making calcularGeracaoEnergia