Setup Guide
Guide for installing, configuring, and running the Real-Sim Environment
Prerequisites
System & Hardware
OS: Windows 10+
Tools (Versions):
Python 3.8+
SUMO 1.13.0
MATLAB 9.7
CarMaker 10.0.1
VISSIM 11.0
Python Packages
easydict
numpy
pyyaml
ruamel.yaml
pandas
matplotlib
traci
sumolib
Installation
Clone the repository.
Check
requirements.txt.Run the
env.check.pyfile to install required frameworks and packages.This script checks for each required tool, prompts to auto-install, and installs any missing Python packages.
Run the program in your IDE.
Once installation is complete, you should see an output similar to:
# Successful output message
Succesful Environment Check:
Environment Setup Script (Windows + Conda)
Checking if Conda is available...
Conda is available.
Checking if Python is installed in Conda...
# packages in environment at C:\Users\YourComputer\miniconda3:
#
# Name Version Build Channel
brotli-python 1.0.9 py313h5da7b33_9
python 3.13.2 hadb2040_100_cp313
python_abi 3.13 0_cp313
Checking if SUMO is installed...
SUMO is installed at: C:\Users\YourComputer\sumo-1.21.0\bin\sumo.EXE
easydict is already installed.
numpy is already installed.
yaml is already installed.
ruamel.yaml is already installed.
pandas is already installed.
matplotlib is already installed.
traci is already installed.
sumolib is already installed.
Environment Setup check completed.
Running Test Cases
Test script:
run_experiments.pyConfig file:
ecodrivingConfig_SUMO.yaml
See the Config Setup page for test case setup details.
Troubleshooting
Missing packages
Check
requirements.txtand run theenv.check.pyscript.You should get a confirmation message if all dependencies are installed.
If not, manually install missing requirements and rerun the script.
Ensure your system meets all prerequisites.
Miniconda prompt
When running
env.check.py, you may be prompted to download Miniconda.Type Y and confirm.
This will install Miniconda and allow Python and SUMO to be set up automatically.
Cannot run the script
If the script fails, manually install the correct Python version first.
Verify all frameworks listed in
requirements.txtare installed.Rerun
env.check.pyto finalize environment setup.