Aimsun Next API Information During Simulation (Meso)¶
Functions related to information during simulation¶
Get current simulation time¶
In C++ and Python:**¶
Explanation¶
Get the current simulation time
Format¶
double AMesoGetCurrentTime (void * simhandler);
Parameters¶
- simhandler: simulator handler
Output¶
- Simulation time from 0 to total duration, where total duration is warm up time plus traffic demand time
Get current simulation stationary time¶
In C++ and Python:**¶
Explanation¶
Get the current simulation time in second from the midnight
Format¶
double AMesoGetCurrentTimeSta (void * simhandler);
Parameters¶
- simhandler: simulator handler
Output¶
- Simulation in seconds from the midnight. For example at 8:00:00 the time is 28800 seconds.