This example shows how the thermal behavior of a brushless servomotor can be simulated using a lumped parameter model. Heat generated due to power losses in the stator iron stack, stator winding and rotor is represented by three heat flow sources: stator iron losses (Q_Iron), winding power losses (Q_Wind), and magnetizing and eddy current rotor losses (Q_Rotor). The losses were recorded during a motor typical cycle simulation and stored in the motor_losses.mat file. The motor thermal circuit is built of thermal conductances, thermal masses, and convective heat transfer blocks, which reproduce heat paths in the motor parts: winding, stator iron, motor case, rotor, front and rear bearing plates, and motor mounting flange. The motor exchanges heat with the atmosphere through the case-atmosphere, flange-atmosphere, and rear plate-atmosphere contacts. The ambient conditions are simulated with the ideal temperature source set to 300 K.