shanto268 / NaSch_CA_Traffic_Flow_Analysis_Software

This repository contains software for multi-agent simulation model of mixed traffic flow of connected (HVs) and automated vehicles (AVs) in Python using pygame, matplotlib, numpy, scipy and seaborn libraries. The software is capable of simulating many different cases of traffic flow and creates data files and figures for the purpose of analysis. Currently I am working on making the front end of the software more user friendly for potential commercialization.
16 stars 1 forks source link

can not find 'car.py' file #1

Open JerrylrjBran opened 4 years ago

JerrylrjBran commented 4 years ago

i am very interested in this project. But i cann't run correctly. I find the zip file i download have not the file "car.py", but have file "car_base.py" "car_h.py" "car_nh.py". When i modify the "car" with "car_base or _h " in this "from simulation.car import Car" sentence, there is another error:

    max_hv = int(sys.argv[6])  #SAS 2020
    IndexError: list index out of range

so, I hope that i could get some guidance.

shanto268 commented 4 years ago

Hi JerrylrjBran,

I am glad that you are interested in this project. Can you walk me through exactly what you did (the commands and executions after you unzipped). I have not been working on this project for a while and it is probably not in its best shape for running on an external machine but if you can explain your process and send me the error I can most certainly help you.

Best, Sadman Ahmed Shanto