Skip to content

Creating simulation from network

Yair Feldman edited this page Jun 24, 2018 · 11 revisions

Running the script

We provide a simple script to generate such a simulation files, with a user-specified number of cars.

This script can be found at SummitBTW/simulator/preprocess/create_simulation_from_net.py

In order to run this script, run the following command (from the directory SummitBTW):

python -m simulator.preprocess.create_simulation_from_net <path-to-directory> <desired-number-of-cars-in-simulation>

The network file should be placed in the <directory>.

The script will then generate 5 files and save it in the <directory>:

More about Simulation Output

Clone this wiki locally