Multiphysic Design and Modeling of Rotating Electrical Machines