CALCULATION OF TEMPERATURE CONDITIONS IN SEMICONDUCTORS FOR VARIABLE-SPEED INDUCTION-MOTOR DRIVE