All in one Ebike Calculator!

General Discussion about electric bicycles.
Post Reply
User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

All in one Ebike Calculator!

Post by 4sken » Jan 17 2016 12:16am

Image
The official Do-All ebike calculator!

What's it for?
Here's some of its features:
Calculate watts needed to reach a speed,
Calculate watts needed to reach a speed up a grade,
Calculate the torque and acceleration of your ebike,
Calculate the waste heat your motor will generate at loads,
Calculate your acceleration with different ratios


There's a thousand and one uses for it, but it's most useful for spec'ing out parts for a future build; just plug in the speeds you want to reach and it can help you find the volts and amps you need to give your motor. It can also be used to calculate how many amps an existing bike needs to climb a hill at a set speed, calculate the maximum speed you can reach with the gear ratio and volts that you have, give you an idea of how your speed and acceleration change with different ratios and much more. It's compatible with all wheel sizes, all geared hub motor ratios (and chain drive ratios) and all vehicle weights (It could even be used for electric cars)

Want to upgrade the performance of your bike? This calculator can tell you whether you'd be better off losing some weight or adding some amps, or telling you whether you should increase your volts or decrease your frontal area to increase speed. It can help you find out how best to increase your acceleration and tell you if your motor will be generating excessive amounts of heat when climbing hills (Use an efficiency chart)

Let me know what you guys think; I made this program so it's easy for me to add or change features.
You'll need java to run this program, but... who doesn't have java :?
Google Drive: https://drive.google.com/open?id=0B4QUn ... ndZQzloYk0
If G-drive won't work: download: http://www.filehosting.org/file/details ... BCalc2.jar
Simply open the jar file as an executable (Like you would minecraft)
If you don't have java, here's a quick link:
https://www.java.com/en/download/

Good luck :wink:
Last edited by 4sken on Jan 19 2016 9:14pm, edited 3 times in total.
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

User avatar
eee291   100 kW

100 kW
Posts: 1113
Joined: Nov 05 2015 4:35pm
Location: Austria, Burgenland

Re: All in one Ebike Calculator!

Post by eee291 » Jan 17 2016 2:57am

Isn't this post in the wrong place :?

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 17 2016 12:46pm

Where should it be?
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

User avatar
eee291   100 kW

100 kW
Posts: 1113
Joined: Nov 05 2015 4:35pm
Location: Austria, Burgenland

Re: All in one Ebike Calculator!

Post by eee291 » Jan 17 2016 2:20pm

4sken wrote:Where should it be?

Ummmm maybe in the E-bike thread because this is the Electric Vehicle Technology thread

User avatar
amberwolf   100 GW

100 GW
Posts: 31760
Joined: Aug 17 2009 6:43am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
Contact:

Re: All in one Ebike Calculator!

Post by amberwolf » Jan 17 2016 3:52pm

If you decide you want it moved, just say where and we'll get it over there. ;)


edit: dun :wink:

Altair   1 kW

1 kW
Posts: 329
Joined: May 03 2014 10:35am
Location: Quebec, Canada

Re: All in one Ebike Calculator!

Post by Altair » Jan 18 2016 12:49pm

Hi 4sken,

The download gives me only a .mf file and a bunch of .class files...

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 18 2016 3:25pm

Run it like you would minecraft; you'll need java. Don't extract the .jar, run it using java. You can get it here if you don't have it:
http://www.java.com/en/download/windows-64bit.jsp

Pretty big download-but I'm surprised you wouldn't have it.
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

Altair   1 kW

1 kW
Posts: 329
Joined: May 03 2014 10:35am
Location: Quebec, Canada

Re: All in one Ebike Calculator!

Post by Altair » Jan 18 2016 5:28pm

Ah, OK !

User avatar
Sean9002   1 kW

1 kW
Posts: 345
Joined: Jun 16 2013 7:57am
Location: Australia

Re: All in one Ebike Calculator!

Post by Sean9002 » Jan 19 2016 6:11pm

See if you can find a more ghetto file host :lol:
OSET 20+ - Custom frame and swingarm, Motorims - 66V
Ruff Cycles Porucho - MXUS 3000w - whitewalls - Gloss black/Pearl blue/copper leaf - custom tanks - bobber saddle
Giant Glory 00 - Clyte X5404 - Hubsinks - 18FET Sinewave
Fuji Nevada S - MXUS 35mm- Hubsinks - 12FET Sinewave
39inch longboard Dual 50mm, 12s lipo

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 19 2016 6:54pm

Sean9002 wrote:See if you can find a more ghetto file host
Hahahah, I'll put the google drive link up, but it's been randomly blocking people because it's a jar file xD 'security issues', If I could make a 20kb trojan i'd be working for DARPA
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

Hillhater   100 GW

100 GW
Posts: 11430
Joined: Aug 03 2010 10:33pm
Location: Sydney ..(Hilly part !) .. Australia/ Down under !

Re: All in one Ebike Calculator!

Post by Hillhater » Jan 20 2016 12:48am

What does this offer that any of the other EV calculators don't already have ?
...other than much more difficult to access !
This forum owes its existence to Justin of ebikes.ca

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 20 2016 6:45pm

Hillhater wrote:What does this offer that any of the other EV calculators don't already have ?
I've yet to find any EV Calculators. I found some other calculators but those are geared towards finding gear ratios. None of them help you find acceleration, watt draw @ speed or take hills into account AFAIK. Plus even if a couple seperate calculators can, in aggregate, do all that, they don't seem to have them in one place and sharing variables.

Besides, the G-drive link is a two click download. If that's difficult to access god knows ES forums themselves are impossible to navigate :lol:
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

User avatar
teklektik   10 GW

10 GW
Posts: 4020
Joined: Mar 26 2011 1:15pm
Location: CT, USA

Re: All in one Ebike Calculator!

Post by teklektik » Jan 20 2016 7:02pm

4sken wrote:I've yet to find any EV Calculators.
Seriously?

Grin Tech Motor Simulator
Turn off all the plots but the Load Line - it is the multi-value graphic version of your one value result.

Grin Tech Trip Simulator
More detailed analytical results with consideration of headwind and human power contribution. Utilizes new heat models from wind tunnel tests for accurate determination of motor core and shell temperatures conditions of configurable inclines (the 'trip').
Visit Grin Technologies at www.ebikes.ca
Build Thread: 2WD Yuba Mundo V4

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 20 2016 8:20pm

teklektik wrote:Grin Tech Trip Simulator
Huh, neat. Actually never seen that one. I'll email them to see if it's ok to steal their data and stick it on mine.
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

Hillhater   100 GW

100 GW
Posts: 11430
Joined: Aug 03 2010 10:33pm
Location: Sydney ..(Hilly part !) .. Australia/ Down under !

Re: All in one Ebike Calculator!

Post by Hillhater » Jan 21 2016 2:09am

A quick google throws up pages of them..
This is popular..
http://www.kreuzotter.de/english/espeed.htm
This forum owes its existence to Justin of ebikes.ca

User avatar
amberwolf   100 GW

100 GW
Posts: 31760
Joined: Aug 17 2009 6:43am
Location: Phoenix, AZ, USA, Earth, Sol, Local Bubble, Orion Arm, Milky Way, Local Group
Contact:

Re: All in one Ebike Calculator!

Post by amberwolf » Jan 21 2016 3:31am

4sken wrote:I've yet to find any EV Calculators.
Did you look around at the ones in the ES wiki and the various forum threads about simulators and calculators?

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Jan 30 2016 10:08pm

amberwolf wrote:Did you look around at the ones in the ES wiki and the various forum threads about simulators and calculators?
Frankly, no :lol:
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

User avatar
DasDouble   100 kW

100 kW
Posts: 1177
Joined: Jul 12 2015 1:35pm
Location: GERMANIA :D

Re: All in one Ebike Calculator!

Post by DasDouble » Feb 01 2016 9:54am

Interesting thing. But why not include maximum range and highest possible speed (I have made a Topic about it)?
Mechatronics-Engineering Student
-Built own ebike: ✔
-Built own 3.2kWh LiIon battery (300Amps): ✔
-Overtake Porsche with own Ebike: ✔
-Take off with ebike: ✖

~14kW, 3.2kWh LiIon, QS 205 8ml ff, hubsink

User avatar
4sken   100 mW

100 mW
Posts: 49
Joined: Nov 14 2015 1:13pm
Location: Winnipeg, Manitoba

Re: All in one Ebike Calculator!

Post by 4sken » Feb 07 2016 12:52am

DasDouble wrote:Interesting thing. But why not include maximum range and highest possible speed (I have made a Topic about it)?
It's in there- Top theoretical speed is your max speed dependant on voltage and Kv; Type that speed into the input side and you'll see how many watts you'll need. I thought of adding it in, but it's a lot of extra code and turning a lot of math backwards on itself only to do something the user can do in 10 seconds flat :shrug:
NEVER BELOW 2.7 NEVER ABOVE 4.2 EVER!

User avatar
Hugh-Jassman   1 kW

1 kW
Posts: 405
Joined: Jun 20 2015 12:57pm

was this dumped???

Post by Hugh-Jassman » Oct 23 2016 4:28pm

each of the first two links go to a place that says "files not found"......

Post Reply