Calibrator

Asks for the value of a certain variable of the named Calibrator. The value returned is the state of the asked variable/value within the last simulation step. Please note that for asking values from your Calibrator you have to define them within an additional-file and load them at the start of the simulation. The `period` and `file` attributes do not affect TraCI.

The following variable values can be retrieved, the type of the return value is also shown in the table.

Overview Calibrator Variables

Variable | ValueType | Description | Python Method
--- | --- | --- | ---
begin | double | Returns the begin time of the current calibration interval | getBegin
edge ID | string | Returns the edge of this calibrator | getEdgeID
end | double | Returns the end time of the current calibration interval | getEnd
insert | double | Returns the number of inserted vehicles in the current calibration interval | getInserted
lane ID | string | Returns the lane of this calibrator (if it applies to a single lane) | getLaneID
passed | double | Returns the number of passed vehicles in the current calibration interval | getPassed
removed | double | Returns the number of removed vehicles in the current calibration interval | getRemoved
route ID | string | Returns the route id for the current calibration interval | getRouteID
routeProbe ID | double | Returns the routeProbe id for this calibrator | getRouteProbeID
speed | double | Returns the target speed of the current calibration interval | getSpeed
type ID | string | Returns the type id for the current calibration interval | getTypeID
vTypes | string | Returns a list of all types to which the calibrator applies (in a type filter is active) | getVTypes
vehicle per hour | double | Returns the number of vehicles per hour in the current calibration interval | getVehsPerHour

#### Search

Enter your search terms:

#### Keyboard Shortcuts

Key | Action
--- | ---
`?` | Open this help dialog
`s` | Search the Documentation
`e` | Edit current page on GitHub