Highest Motor Temperature on Roadster is 157°C. Then the Power will be reduced to cool down the Motor.

 

Rgards

 

Pierre Uhl

 

Von: ovmsdev-bounces@lists.teslaclub.hk [mailto:ovmsdev-bounces@lists.teslaclub.hk] Im Auftrag von Håkon Markussen
Gesendet: Montag, 13. Januar 2014 13:50
An: OVMS Developers
Betreff: [Ovmsdev] Motor temp does not support negative numbers (car_tmotor)

 

Hi (Mark).

In ovms.h the motor temperature is defined as unsigned char (non-negative):
extern unsigned char car_tmotor; // Tmotor

Currently the weather is cold in Norway (-15 C) and I noticed that motor temp was 244C.

 

Is it possible to update the car_tmotor to
extern signed char car_tmotor; // Tmotor

 in ovms.h?

 

Best regards

Håkon