I can probably do some work towards scaling it to fit your screen, but I'm aiming for use on phones and some are pretty small, so I went small. I use an iPhone 11, so I just zoom in a bit and can work it a lot better. But I'll look into auto scaling to your view.Bigger, longer sliders and fonts?
I did the same concept with a spreadsheet so I can to the same thing. Like the sliders!!I built this tonight. Super basic at the moment. I'll make it better over time. I started with a DTE calculator. Let me know what other calculators I should add.
https://lightningcalcs.pages.dev/
I started off with a google sheet, but I wasn't happy with the clunky edit process when on mobile. Thus putting my old-school JS skill to use. I figure we all have our cell phone on us, and because it's all client side once the page loads, it's easy to use when road tripping even at those stops in the middle of nowhere.I did the same concept with a spreadsheet so I can to the same thing. Like the sliders!!
Bigger, longer sliders and fonts?
Made it more scalable for bigger screens so it has a small minimal size, but will expand to fit up to 3x the size which should cover most phones. It fits perfectly on my iPhone 11, so as long as your phone has a similar aspect ratio, it should look great for you too.Here is what it looks like in a Pixel 6a using the Brave browser.
Made it more scalable for bigger screens so it has a small minimal size, but will expand to fit up to 3x the size which should cover most phones. It fits perfectly on my iPhone 11, so as long as your phone has a similar aspect ratio, it should look great for you too.
OK, so still on the books: make it prettier, and I want to also add a "degrade rating" so you can add an estimate of what age and cold are doing to your battery. Maybe it'll be time to use a cookie to store the degrade and battery percent, but people freak out about cookies, so I'm not sure.
Also, shout out to the dude in Norway that checked it out:
The unit label doesn't really matter, so for now, just input the km/kWh then the DTE would be in km. But I think the hard stop at 5 might be a problem if you're getting good efficiency. So I think I'll bump that up to 10 and add a metric display option that will change the lables.Also would like to suggest a drop down option to input the efficiency number from the truck in metric.
KWh/100km and also KWh/km as both can be displayed in the truck.
DTE could then be showed in kilometers but the truck displays both km/h and mph at the same time on the dash speedometer (don't know how to make it show km only) so maybe you could set the app to output both km/h and mph at the same time.
Love the app by the way.
Thanks.
I do intend to add a "degradation" slider so that people can set their own level of degradation be it overall battery SOH, expected temps, or module failures. One thing I never liked about ABRP was that it want's to do all this for you, based on current conditions, when I want to plan a summer trip in winter, it's kind of a pain. Before I do this, though, I want to add some basic cookie storage so capacity and degradation can be stored without relying on bookmarking them.Wonder if the inclusion of a Temperature field would be helpful for adding a neg factor of 10-20%. ?
Below a given value reduce the range calculation. Within a given range no effect. Above a given value reduce the range calculation.
I don’t know exactly what those numbers should be, but I think they affect the actual range enough so that they should considered.
.02$ worth.