Modeling of Thermo-Electro-Mechanical Manufacturing Processes