Analysis on Power Generation through Thermoelectric Generators