Fully Electrical Modeling of Thermoelectric Generators with Contact Thermal Resistance Under Different Operating Conditions