{"id":22752436,"url":"https://github.com/perrette/ebikesimulator","last_synced_at":"2025-03-30T06:44:29.763Z","repository":{"id":144977837,"uuid":"208574681","full_name":"perrette/ebikesimulator","owner":"perrette","description":"How much energy is required for this track? ","archived":false,"fork":false,"pushed_at":"2019-09-15T10:50:14.000Z","size":1834,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T08:51:35.806Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/perrette.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-15T10:04:41.000Z","updated_at":"2021-07-08T11:48:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b75cba6-1192-4462-a30f-7dc1a85c6d45","html_url":"https://github.com/perrette/ebikesimulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Febikesimulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Febikesimulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Febikesimulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perrette%2Febikesimulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perrette","download_url":"https://codeload.github.com/perrette/ebikesimulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285668,"owners_count":20752953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-11T05:11:47.070Z","updated_at":"2025-03-30T06:44:29.757Z","avatar_url":"https://github.com/perrette.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ebikesimulator\nHow much energy is required for this track?\n\nLook at [range_calculator.ipynb](range_calculator.ipynb) to see what I mean.\n\nIt reads gpx track (must have elevation) and calculate energy requirements.\nFor instance from a trip planned with Komoot:\n\n![figs/capaccio-pietrapaola.png](figs/capaccio-pietrapaola.png)\n\nthis is one of the outputs, using:\n- 100kg weight\n- 100W human power\n- 250W motor power most of the time, with 80% efficiency\n- speed between 10 and 32 km/h \n- CdA = 0.5 for air drag, and Crr = 0.005 for rolling friction \n\nNote the \"balance\" speed is calculated for constant power human + motor x efficiency, but within imposed bounds, energy available for \"regen\" braking calculated for negative load (when regen efficiency is similar to motor efficiency 80% at best)\n\n![plot](figs/load-cumulative-regen-vs-efficiency.png)\n\nDisclaimer\n----------\n- It is not tested (yet) against real data, especially needed are data w.r.t real motor efficiency.\n- At this point the repository is used by myself to know which ebike system/battery packs to use, and put here for sharing with friends/interested people, it is not a user-friendly tool. It is a bunch of jupyter notebooks, but it could be improved and organized in an online tool like https://www.ebikes.ca/tools/simulator.html\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrette%2Febikesimulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperrette%2Febikesimulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperrette%2Febikesimulator/lists"}