Simulation Overview
Overview
The simulation platform loads a static airspace network built in LOFT-Edit, binds an independent operation-strategy profile, generates or schedules flights from the configured demand model, and advances the scenario in time. Its coupled network-operation and vehicle-execution layers exchange element assignments, local rules, and reported vehicle states. Strategic, tactical, and contingency modules operate on monitored network state, while the performance model filters raw references before low-level tracking and supplies envelope and energy parameters used during true-state propagation. The environment/CNS interfaces provide wind, atmosphere, temperature, navigation quality, communication quality, and traffic-awareness conditions used by guidance, estimation, dynamics, tactical rules, contingency logic, and outputs. For statistical studies, the same entry point can run independent random-seed replications across multiple worker processes and aggregate per-seed metrics. The runtime also exposes ACI, a programmable Python override layer. Controllers can query requests, vehicles, and airspace elements; submit demand; apply typed state changes; and advance the scenario without changing simulator internals or selecting a special configuration mode.
What This Section Covers
Running simulations
- Command Line (loft-sim): the
loft-simcommands for runs, batches, validation, effective configs and the viewer files, with everyloft-sim runoption. - Runtime and Viewer: execution modes, headless progress, the browser viewer’s panels and controls, and where the viewer’s files come from (pinned download,
LOFT_UI_DIR, buildingui/from source). - Example Cases: canonical simulator-only cases for core operating modes.
- Batch Replication: how to run independent random seeds in parallel, the batch output folder, and the paper benchmark.
- Output Files: optional vehicle, trip, corridor, monitored-element, summary, and risk/queueing XML outputs, and the batch metrics.
Concepts
- Architecture: scenario input contracts, coupled network-operation and vehicle-execution layers, policy cycle, closed-loop vehicle model, and environment/CNS interfaces.
- Traffic Model: the reduced-order network, queueing, and access-control assumptions behind the simulation.
- Default Model Library: built-in strategic, tactical, and contingency models and how they relate to ACI overrides.
The input files a run reads, including the Airspace Network OSM contract, are described under Configuration. Runtime control by an external Python controller is described in the ACI Reference.
Runtime Inputs
A run combines a saved airspace network, a demand configuration, an optional
operation strategy and a simulation configuration that wires them together,
plus an optional CNS infrastructure layer, background map and additional file.
Scenario Files lists each file of the
sample_demo scenario and what it carries.
Typical Entry Points
A bare loft-sim run executes the flagship sample_demo scenario and opens
the browser web viewer, the default GUI. --nogui runs the same scenario
headless:
loft-sim run
loft-sim run --nogui
- Every option of a run, such as the viewer backend, its port and the progress
interval:
loft-sim runoptions. - The strategic 4D pre-flight example and the browser viewer: Runtime and Viewer.
- Many random seeds in parallel: Batch Replication.
An external Python controller starts and steps its own session; the configuration needs no setting for it. Run from the repository root:
from loft import aci
aci.start(config_file="example/scenarios/default/config/simulation_config.xml", gui=False)
try:
aci.simulationStep()
print(aci.simulation.getTime())
finally:
aci.close()
The ACI Reference describes the control loop and every domain.
Scope
LOFT-Sim is currently best suited to:
- airspace design and corridor-network studies
- strategic admission, routing, and reservation-policy testing
- tactical airspace-unit rule testing for corridors, protected nodes, and derived Vertiport terminal zones
- wind, CNS-quality, vehicle-profile, and energy sensitivity studies
- optimizer, traffic-manager, or learning-agent coupling through Python ACI
- parameter studies on demand, spacing, containment buffers, and contingency thresholds
- statistical replications and policy sweeps over independent random seeds