Support for EVs (Tesla)
Support for EVs (Tesla)
I'm participating in REFUEL at Laguna Seca on July 20 -- an EV-only track day group.
Would be great if LapTimer's car settings could account for an EV. Would need to make the following modifications:
1) Add "Electric" to Engine Type
2) Remove intake, "engine displacement, and volumetric efficiency when Electric selected.
3) Allow Max Torque to be at 0 RPM (electric motors have full torque avail from 0...). Current min is 1000rpm...
4) Max Torque and Max Power need to have ranges avail. The Tesla Model S has Max Torque for 0-5000RPM; and Max Power from 5000-8000 RPM
4) Allow higher gear ratios. The Tesla Model S has single speed fixed gear with a 9.73:1 reduction ratio. I had to approximate the drive ratio and Gear 1 ratio to get close to that (set each to 3.11...). Would be nice to be able to set the drive ratio to 1.0 and 1st gear at 9.73 (or the other way around)...
Thanks for the consideration!
Would be great if LapTimer's car settings could account for an EV. Would need to make the following modifications:
1) Add "Electric" to Engine Type
2) Remove intake, "engine displacement, and volumetric efficiency when Electric selected.
3) Allow Max Torque to be at 0 RPM (electric motors have full torque avail from 0...). Current min is 1000rpm...
4) Max Torque and Max Power need to have ranges avail. The Tesla Model S has Max Torque for 0-5000RPM; and Max Power from 5000-8000 RPM
4) Allow higher gear ratios. The Tesla Model S has single speed fixed gear with a 9.73:1 reduction ratio. I had to approximate the drive ratio and Gear 1 ratio to get close to that (set each to 3.11...). Would be nice to be able to set the drive ratio to 1.0 and 1st gear at 9.73 (or the other way around)...
Thanks for the consideration!
Re: Support for EVs (Tesla)
Hi,
Do you have a torque and power chart available. I understand the max torque for a range, but power is calculated from torque times rpm and should be growing with rpms...
Otherwise this looks like an investment in the future
- Harry
Do you have a torque and power chart available. I understand the max torque for a range, but power is calculated from torque times rpm and should be growing with rpms...
Otherwise this looks like an investment in the future

- Harry
-
- 20 or more Posts ★★★
- Posts: 836
- Joined: Thu May 03, 2012 5:26 am
- Location: Kingsport, TN USA
Re: Support for EVs (Tesla)
I'm betting that the control circuitry of all electric cars limits the current to the motor at low rpm. Otherwise, you might fry the motor if you gave it full throttle at a dead stop or do a really spectacular burnout if you spun the tires instead. I'm also betting that the PIDs for the relevant data, current and voltage to the motor, are proprietary.
Re: Support for EVs (Tesla)
O.k., will be included in v18.1.1.
1)+2) o.k.
3) will start at 1
4) LapTimer does not model the complete torque or power development across rpms. The main focus is to have good thresholds to display the green and red areas in the rpm dash (Speedo view). The max torque rpm is used to determine the start of the green area - which is the place you want to be on track. As an EV does not limit this area, entering 1 is o.k. and will make the green area start from he beginning. The max power rpm is used to define the value for the green to red shift. The max rpm is used to define the end of the red scale and triggers the shift flash in addition. So my suggestion is to set the max power rpm in the position you will achieve max speed.
5) o.k.
Please note all of this is not very useful as long as you do not have OBD data available. The Tesla S seems to have an OBD port (legal requirement) but does not deliver data. OBD is defined for emission testing, not for us racers.
- Harry
1)+2) o.k.
3) will start at 1
4) LapTimer does not model the complete torque or power development across rpms. The main focus is to have good thresholds to display the green and red areas in the rpm dash (Speedo view). The max torque rpm is used to determine the start of the green area - which is the place you want to be on track. As an EV does not limit this area, entering 1 is o.k. and will make the green area start from he beginning. The max power rpm is used to define the value for the green to red shift. The max rpm is used to define the end of the red scale and triggers the shift flash in addition. So my suggestion is to set the max power rpm in the position you will achieve max speed.
5) o.k.
Please note all of this is not very useful as long as you do not have OBD data available. The Tesla S seems to have an OBD port (legal requirement) but does not deliver data. OBD is defined for emission testing, not for us racers.
- Harry
Re: Support for EVs (Tesla)
Thanks for the consideration and planned updates! As for the flash lights, since there is no shifting, not a problem!
Sorry -- I don't have a chart for my car (a 60kW base Model S). Here's a link to a dyno run, but no torque info, just the power curve:
http://insideevs.com/video-tesla-model- ... orsepower/
OBD ports for EV's sometimes output standard signals, plus non-standard. Here's an Indiegogo project for an EV-specific OBD logger -- perhaps there may be a way to tie this into LapTimer once its released?
https://www.indiegogo.com/projects/myev ... logger-app
Sorry -- I don't have a chart for my car (a 60kW base Model S). Here's a link to a dyno run, but no torque info, just the power curve:
http://insideevs.com/video-tesla-model- ... orsepower/
OBD ports for EV's sometimes output standard signals, plus non-standard. Here's an Indiegogo project for an EV-specific OBD logger -- perhaps there may be a way to tie this into LapTimer once its released?
https://www.indiegogo.com/projects/myev ... logger-app
Last edited by ZBB ZBB on Thu Jul 03, 2014 12:59 am, edited 1 time in total.
-
- 20 or more Posts ★★★
- Posts: 836
- Joined: Thu May 03, 2012 5:26 am
- Location: Kingsport, TN USA
Re: Support for EVs (Tesla)
If you have power, you have torque. Power is force times velocity. Torque is then horsepower divided by rotation rate, with appropriate adjustment to get the units right. Specifically, convert rpm to radians/sec by multiplying by by 2*pi/60. One horsepower is 550 ft lbs/sec. So 300hp at 4,000 rpm is (300 * 60 * 550)/(4000 * 2 * pi) = 394 ft lbs
Re: Support for EVs (Tesla)
Yes, that's how LapTimer derives power from torque. Torque is derived from various OBD PIDs not available for an EV, so this calculation would require some new input not part of OBD II.gplracerx wrote:If you have power, you have torque. Power is force times velocity. Torque is then horsepower divided by rotation rate, with appropriate adjustment to get the units right. Specifically, convert rpm to radians/sec by multiplying by by 2*pi/60. One horsepower is 550 ft lbs/sec. So 300hp at 4,000 rpm is (300 * 60 * 550)/(4000 * 2 * pi) = 394 ft lbs
- Harry
Re: Support for EVs (Tesla)
Just bumping this. Are there any plans to support EVs like IONIQ 5 N, Taycan, Tesla etc?
Re: Support for EVs (Tesla)
I ask everyone with a BEV (no PHEVs please) to share data over OBD available. I'm not sure this will follow a standard, but we will see. To share data, connect an OBD adapter to your EV and drive a bit. Change to Administration ‣ Sensor List and select the OBD sensor. Create a screen shot of the Info shown for this sensor. In case the display is longer than a screen, create enough to cover everything. Add information on your vehicle model and year too please. Using the list of PIDs supported, I can probably see if I can deal with data provided.
- Harry
- Harry
Re: Support for EVs (Tesla)
Hey Harry,
I'm attaching the sensor info together with my expert settings. If it's helpful, a couple of people gathered PIDs for RaceChrono for Hyundai IONIQ 5 N, I'm linking their repos as well.
My car is '24 Hyundai IONIQ 5 N.
Thanks!
https://github.com/SoultronicPear/trackI5N
https://github.com/timurrrr/hyundai-n/b ... logging.md
I'm attaching the sensor info together with my expert settings. If it's helpful, a couple of people gathered PIDs for RaceChrono for Hyundai IONIQ 5 N, I'm linking their repos as well.
My car is '24 Hyundai IONIQ 5 N.
Thanks!
https://github.com/SoultronicPear/trackI5N
https://github.com/timurrrr/hyundai-n/b ... logging.md
- Attachments
-
- Screenshot_20250117_194729_LapTimer.jpg (688.96 KiB) Viewed 4207 times
-
- Screenshot_20250117_194744_LapTimer.jpg (744.47 KiB) Viewed 4207 times