Title: A finite element model of the coupled electrothermal effects in a slag resistance furnace