thermoelectric2d