API Reference
RealTwin API
|
The real-twin developed by ORNL Applied Research and Mobility System (ARMS) group that enables the simulation of twin-structured cities. |
Utility Functions
|
Create a virtual environment in the specified folder with the specified name. |
|
Delete the virtual environment in the specified folder with the specified name. |
Download elevation data (TIFF) from USGS National Map based on a bounding box. |
|
|
Downloads a large file from a URL in chunks and saves it to the specified destination. |
Find the executable from the system PATH. |
|
|
Create a default/demo configuration file for the RealTwin package. |
Installation and Environment
|
Install the SUMO simulator. |
Install SUMO onto the windows system. |
|
|
Install SUMO onto the linux system. |
|
Install SUMO onto the mac system. |
|
Check if SUMO is installed on the system. |
|
Check if AIMSUN is installed on the system. |
|
Check if VISSIM is installed on the system. |
Load Inputs
|
load input configuration from yaml file |
|
get the bounding box from the vertices string |
Abstract Scenario Generation
|
Initialize an Abstract Scenario |
|
load traffic volume data from file |
|
load control signal data from file |
|
load traffic turning ratio data from file |
|
The OpenDriveNetwork class to generate OpenDrive network |
|
The OSMRoad class to generate network from OpenStreetMap |
Concrete Scenario Generation
Initialize and Generate Concrete Scenario from Abstract Scenario |
Prepare Simulation Documents
|
Prepare simulation from concrete scenario |
|
The class to handle the SUMO simulation for the real-twin developed by ORNL ARMS group. |
constructor |
|
|
Class to prepare VISSIM simulation environment. |
Calibration
|
Run SUMO calibration based on the selected algorithm and input configuration. |
|
Run SUMO calibration based on the selected algorithm and input configuration. |
|
Run VISSIM calibration using the specified algorithm and input configuration. |
|
Behavior Optimization class for SUMO calibration |
|
Turn and Inflow Optimization class for SUMO calibration. |