Simulation Domain
The simulation domain reports session-wide runtime state. Static and dynamic airspace-element details remain in their corresponding element domains.
Retrieve Information
| Information | Return type | Python method |
|---|---|---|
| Current simulation time | float |
aci.simulation.getTime() |
| Active step duration | float |
aci.simulation.getDeltaT() |
| Active vehicles plus pending/future requests still expected within the run horizon | int |
aci.simulation.getMinExpectedNumber() |
Pause state of the legacy desktop viewer (gui="vispy"); always False headless and with the browser viewer |
bool |
aci.simulation.getPaused() |
| Consistent runtime snapshot | dict |
aci.simulation.getSnapshot() |
| Compact live counters | dict |
aci.simulation.getStatistics() |
| Fully resolved baseline configuration | dict |
aci.simulation.getResolvedConfiguration() |
In an ACI session the script owns pacing, so the browser viewer’s pause button
only pauses the display and getPaused() does not report it.
getSnapshot() is the supported way to obtain a consistent multi-domain view
for one simulation instant. It does not attempt higher-level analysis such as
automatically identifying bottlenecks.
getStatistics() is intended for controller feedback and health checks.
Detailed evaluation metrics remain in the configured output files. Its
aci_interventions counter counts controller commands only; automatic
expiries of finite closures or holds are not interventions.
getResolvedConfiguration() is the configuration the session actually runs
with. It is the configuration file merged over the defaults, plus the
keyword overrides given to aci.start() (step, time window, seed, input
files), which are also listed under session_overrides. Runtime ACI
overrides such as closures and speed restrictions are not part of it; read
those from the element domains.
At the configured end time, getMinExpectedNumber() returns zero even if an
out-of-horizon request was present in malformed legacy input. This makes the
usual SUMO-style while getMinExpectedNumber() > 0 loop terminate at the hard
run boundary.
Advancing the Session
Use the top-level aci.simulationStep() lifecycle function to advance the
simulation. State-changing operational decisions belong to the request,
vehicle, corridor, junction, vertiport, or environment domain; the simulation
domain intentionally has no generic applyAction() or setParameter() escape
hatch.