I built a calculator that tells you how long your commute would take on an e-bike, based on the actual hills

Wait 5 sec.

I live in Switzerland, where almost every commute has a climb in it, and I kept wondering whether a speed pedelec (45 km/h) was worth it over a regular 25 km/h e-bike for my own trips. Route planners use one flat cycling speed, so they couldn't tell me. So I built Tempowatt: https://tempowatt.ch/en/ You enter a start and a destination, pick your bike and motor, and it works out the speed metre by metre: slope, rider and bike weight, air drag, rolling resistance from the road surface, the motor's power and torque limits, and the forecast wind. You get the travel time, the battery used, the elevation profile, and the same trip in every assistance mode and in the other bike category. Example: Uster to Zürich main station, 20 km. 54 min on a regular e-bike, 37 min on a speed pedelec, 28 min by train and 24 by car without traffic: https://tempowatt.ch/en/#a=47.35101,8.71719&b=47.37810,8.53936&c=25 How it's made: plain JavaScript and Leaflet, routes from a self-hosted BRouter server, maps from OpenStreetMap, wind from Open-Meteo. In Switzerland, elevations come from swisstopo's 2 m terrain model. It works elsewhere too, with coarser elevations, but the train comparison is Swiss only. No account, no ads, no tracking. Your settings stay in your browser. What I'd love feedback on: - if you commute by e-bike, does the time match what you actually ride? - is anything confusing the first time you use it?   submitted by   /u/happydaemon [link]   [comments]