Existence and Regularity of Weak Solutions for a Thermoelectric Model