Thermoelectric and magnetic units