Vehicle energy consumption and production simulator
Go to file
Youen Toupin 610ce62935 added battery charge graph
adjusted simulation to have the exact same behavior as the python code
2021-10-09 20:26:18 +02:00
assets improved zone names in SVG map 2021-10-04 23:17:26 +02:00
simulator added battery charge graph 2021-10-09 20:26:18 +02:00
.gitignore whole application embedded in a single js file, loaded in iframe 2021-10-05 23:30:43 +02:00
AGPLv3.txt fixed license text 2021-10-04 22:26:40 +02:00
LICENSE changed license to be more restrictive 2021-10-02 15:11:18 +02:00
README.md refactored build system to eliminate platform-specific scripts 2021-10-05 18:47:40 +02:00

vhelio-simulator

Vehicle energy consumption and production simulator. This tool has been created by Vélo solaire pour tous for simulating the vhélio behavior, but is designed to be easy to adapt to other vehicles.

Using the simulator

The easiest way is to use the online simulator.

You can also download the latest pre-built stand-alone version and open vhelio-simulator.html in your web browser. The program will run in your browser, but won't communicate with any server, this is a purely local application.

Building from source

Dependencies

The simulator is written in typescript, whose compiler depends on node.js.

The first step is to install node.js

Then go in the simulator folder and run this command: npm install. This will install all the npm modules listed in package.json, including the typescript compiler.

Build

Execute npm run build from the simulator directory.

That's it, you can now open simulator/www/vhelio-simulator.html in your browser.