Using computers to design electric furnaces