View Single Post
Old 09-07-2024, 11:07 PM   #1 (permalink)
1337
In hypermiler central
 
Join Date: Jul 2008
Location: UC Berkeley
Posts: 230

[SOLD] Highway Warrior - '00 Mazda Protege LX 1.6L Manual
90 day: 35.93 mpg (US)

Basic Miata - '06 Mazda Miata Touring
90 day: 30.93 mpg (US)
Thanks: 55
Thanked 6 Times in 3 Posts
Send a message via AIM to 1337
Question Custom EV efficiency gauge for my racecar?

I run a hobbyist racing team called Electric Turtle. We drive this Chevy Bolt EV in the 24 Hours of Lemons racing series. In our driving, we need to compromise between speed and efficiency. Currently we use Torque to display the precise battery state-of-charge (a range from ~0% to ~96%), and we use this csv file to expose the state-of-charge gauge.

If the racetrack is 5 miles long, then the gauge we really want is: “the percent of battery used in the last 5 miles.” We know the distance traveled in Torque from the speed over time. Is there a way to make a custom gauge that combines multiple inputs (battery state of charge and speed) over a duration of time or distance?

I am a software engineer by profession, so if there is a place where I can write a little computer program for this, I would gladly do it. Any advice?

P.S. I looked a little bit at the list of built-in Torque equations, and it looks like there are some relevant things, but I haven’t found quite the thing I want. I want to record “a value from 5 miles ago” and compare it to “the value now.” In Torque, I don’t know how to store old values like that.

__________________
  Reply With Quote