Skip to content
Snippets Groups Projects
niehues.mark@gmail.com's avatar
markn92 authored
869270ea
History

Routing for Electric Vehicles

Tests

Teste are done using PyTest. To run the tests, the dev dependencies must be installed:

pipenv install --dev

Then simply run pytest within the root folder:

pipenv run pytest

Extras

Create charging stations used of test region:

python data.py --cut 51.7806 6.8067 51.7570 6.8741 Ladesaeulenkarte_Datenbankauszug30_04_2020.csv tests/osm/static/charging_stations_raesfeld.json

Draw Graphs used for Testing

To draw all graphs, respectively create .tex snippets (that make use of the tikz-network), use:

python draw_graphs.py [path]

    path -  Path to the location where the .tex files
            should be exported to. Default is './plots'.