T–A-Formulation to Model Electrical Machines With HTS Coated Conductor Coils