Tutorials Overview

Learning Path

These tutorials use the checked-in North Campus scenarios (sample_demo, and default for the configuration and ACI lessons), so each command can be run from the repository root. They follow on from Getting Started:

  1. Hello World Run: read the sample run’s outputs and console messages, use the browser viewer, then run a strategic 4D example and a small batch.
  2. Configuration Files: separate network, demand, optional operation strategy, runtime settings, and outputs.
  3. Toy Simulation with ACI: submit one request through ACI, advance the simulator, and read state.
  4. Build an ACI Controller: build a controller that observes requests, elements and vehicles and applies runtime overrides.
  5. Build Your First Scenario (LOFT-Edit): draw a network in LOFT-Edit, add demand and settings, validate, export a package and run it in LOFT-Sim, following the End-to-End Workflow of the LOFT-Edit manual.

The Glossary explains the terms these tutorials use, and Troubleshooting & FAQ answers common questions about runs and outputs.

Before You Start

Run these from the root of a LOFT-Sim clone, inside an activated Python 3.12 (or newer) virtual environment; Installation gives the Windows and macOS/Linux commands.

pip install -e .
loft-sim validate -c example/scenarios/default/config/simulation_config.xml

The tutorial controller uses the same normal simulation configuration. There is no separate external-policy mode or ACI-specific XML file.