Example Cases
Purpose
example/tutorials/cases/ contains simulator-focused configurations that exercise the
same core with different demand and operation-strategy inputs.
Cases
| Case | Main configuration | Operation-strategy input |
|---|---|---|
| Poisson demand without strategic operation | config_poisson.xml |
none |
| Strategic 4D reservation | config_4d_volume.xml |
operation_strategy_4d_volume.xml |
| Capacity-limited departure | config_capacity_limited_departure.xml |
operation_strategy_capacity_limited_departure.xml |
| CNS-degraded environment | config_cns_degraded.xml |
none |
| Vehicle-type override | config_vehicle_type_override.xml |
none |
| Batch smoke case | config_batch_smoke.xml |
none |
loft-sim run -c example/tutorials/cases/config_poisson.xml --nogui
loft-sim run -c example/tutorials/cases/config_4d_volume.xml --nogui
loft-sim run -c example/tutorials/cases/config_capacity_limited_departure.xml --nogui
loft-sim run -c example/tutorials/cases/config_cns_degraded.xml --nogui
loft-sim run -c example/tutorials/cases/config_vehicle_type_override.xml --nogui
loft-sim batch -c example/tutorials/cases/config_batch_smoke.xml --batch-runs 4 --batch-workers 2 --batch-output-dir outputs/examples/batch_smoke
The Poisson arrival process belongs to demand. Its case therefore needs no
strategic model. The 4D-reservation and capacity-limited cases add an
operation strategy to select an internal admission/scheduling model. The
4D-reservation case also loads the default scenario’s additional.xml, so
its corridors are smoothed; the Poisson and capacity-limited cases fly the
unsmoothed network. The CNS-degraded case keeps the Poisson demand and
degrades communication, navigation and surveillance. The vehicle-type
override case raises the built-in hybrid profile’s hover_power in its
demand file (it also sets mass, which is stored on the profile but does not
change motion or energy in this release) and loads two additional files
(corridor smoothing and measured corridor overrides). Each case is described in
example/tutorials/cases/README.md.
ACI Examples
The scripts in example/tutorials/aci/ attach ACI to a normal scenario; they
do not require a separate strategic mode:
python example/tutorials/aci/01_basic_live_state.py
python example/tutorials/aci/02_request_override_strategy.py
python example/tutorials/aci/03_runtime_control_strategy.py
They demonstrate the lifecycle, request-ledger decisions, and typed element or vehicle overrides. See the ACI Reference and the Build an ACI Controller tutorial.