Numerical Analysis of Coupled Thermal-Electromagnetic Problems in Superconducting Cables