realtwin.RealTwin

class realtwin.RealTwin(input_config_file: str = '', **kwargs)[source]

The real-twin developed by ORNL Applied Research and Mobility System (ARMS) group that enables the simulation of twin-structured cities.

__init__(input_config_file: str = '', **kwargs)[source]

Initialize the REALTWIN object.

Parameters:
  • input_config_file (str) – The directory containing the input files.

  • kwargs – Additional keyword arguments. Will be used in the future.

Methods

__init__([input_config_file])

Initialize the REALTWIN object.

calibrate(*[, sel_algo, ...])

Calibrate the turn and inflow, and behavioral parameters using the selected algorithms.

env_setup(*[, sel_sim, sel_dir, ...])

Check and set up the environment for the simulation

generate_abstract_scenario()

Generate the abstract scenario: create OpenDrive files

generate_concrete_scenario()

Generate the concrete scenario: generate unified scenario from abstract scenario

generate_inputs(*[, incl_sumo_net])

Generate user inputs, such as MatchUp table, Control and Traffic data

post_process()

Post-process the simulation results.

prepare_simulation([start_time, end_time, ...])

Simulate the concrete scenario: generate simulation files for the selected simulator

visualize()

Visualize the simulation results.