Replies: 1 comment 2 replies
-
Hi @masve64. Looks like we have a discrepancy and the formula for converting mililiters to gallons in the trips model is currently incorrect. Should be fixed in next version: #327 Thx for reporting it 😊 But the way you describe it, you don't want the total fuel consumed ( |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for a great work :-)
I've been fetching data from Toyota, and doing so looking at the trip.fuel_consumed data, metric=True, on a trip, I'm presented with following information:
Km/Liter
Trip start time: 2024-02-04 10:04:40+00:00 - (55.849, 12.4852)
Trip end time: 2024-02-04 10:25:14+00:00 - (55.8413, 12.2868)
Fuel consumed. 0.248000
Ev dist: 4.899000
Ev duration: 0:08:29
Dist: 16.602000
However if I choose metric=False, I get the following information:
Miles/Gallon
Trip start time: 2024-02-04 10:04:40+00:00 - (55.849, 12.4852)
Trip end time: 2024-02-04 10:25:14+00:00 - (55.8413, 12.2868)
Fuel consumed. 0.248000
Ev dist: 3.044000
Ev duration: 0:08:29
Dist: 10.316000
According to my car my fuel consumption is 14,7km/liter, and according to my Toyota APP it's shows 7L/100km (just about the same)
So how do I get from fuel_consumed = 0.248000 liter to something that match what my Car or the APP data ?
Looking in the class trip code, fuel_consumed:
However looking in class summary, fuel_consumed is calculated diffrently:
Beta Was this translation helpful? Give feedback.
All reactions