Incident create command, can either use default visibility or be provided
visibility distances per vehicle type
"incident_create"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Incident to be generated
Identifier of the section of the incident
Lane number (1-indexed) where the incident occurs
Value must be strictly greater than 0
Position (distance from section start) of the incident
Length of the incident
Time of the simulation, in seconds from midnight, when the incident will start
Duration of the incident (seconds).
Visibility distance in meters of the incident to be used in Aimsun 7.0 models.In case visibilities are defined, vehicles not included in the list will default to the provided value
List of per vehicle visibilities
Identifier of the vehicle type
Visibility distance for given vehicle type
True when the incident is a new group of incidents and False if the incidents is to be treated as a part of the last created incident (when creating incidents in adjacent lanes that need to be treated as a whole).
True to apply a speed reduction around the incident to slow vehicles as they pass it and False otherwise
If the reduction is to be applied, the distance upstream of the incident
If the reduction is to be applied, the distance downstream of the incident
If the reduction is to be applied, the target reduced speed
Remove an incident
"incident_remove"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Identifier of the section where the incident to remove is located
Lane where the incident will be generated
Position of the incident in the section (from the beginning of the section).
Remove all incidents active in a given section
"incidents_clear_section"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Identifier of the section to clear of incidents
Removes all incidents created using the Aimsun Next API Module, initializes incidents
with the initial incidents (the incidents loaded when Aimsun loads the traffic)
"incidents_reset"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Create of a specific traffic measure
"measure_create"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Changes the speed limit in one or many sections.
Calls the AKIActionAddSpeedSectionById API function.
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"speed_section"
List of section IDs to apply measure to
Must contain a minimum of 1 items
Target speed (km/h
Value must be strictly greater than 0
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
False -> override speed acceptance factor
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"speed_detailed"
List of section IDs to apply measure to
Must contain a minimum of 1 items
The lane identifier (-1 for all lanes, 1 for the rightmost laneand N, where N is the number of lanes in the section, for the leftmost lane
-1 for all the segments, 1 for the first segment the vehicles face when crossing the section, and N, where N is the number of segments, for the last segment the vehicles face when crossing the section
-1 for all the segments, 1 for the first segment the vehicles face when crossing the section, and N, where N is the number of segments, for the last segment the vehicles face when crossing the section
Target speed (km/h
Value must be strictly greater than 0
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
False -> override speed acceptance factor
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"lane_closure"
Identifier of the section to apply action to
Identifier of the lane to apply action to
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"lane_closure_detailed"
Identifier of the section to apply action to
Identifier of the lane to apply action to
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
True if the 2-lanes car following model is to be considered
The distance at which the lane closure will start to be visible for vehicles
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"lane_deactivate_reserved"
Identifier of the section to apply action to
Identifier of the lane to apply action to
0..N-1 where N is number of segments present within section or -1 to apply to all segments.
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"turn_close"
Turn origin section identifier.
Turn destination section identifier.
Centroid origin identifier, -1 means do not consider origin with set compliance
Centroid destination identifier, -1 means do not consider destination with set compliance
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
The distance at which the lane closure will start to be visible for vehicles
If vehicles do not have apriori knowledge of closure - true, else global knowledge
Identifier to the section meant to affect the path calculation cost when the path comes from it
Force turn action evaluated against OD paths.
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
Section where the forced turn begins
One or more candidate sections vehicles should take instead.
Must contain a minimum of 1 items
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
"turn_force_od"
Centroid origin identifier, -1 means do not consider origin with set compliance
Centroid destination identifier, -1 means do not consider destination with set compliance
Restrict action to vehicles whose planned path already contains this section. -1 = ignore
Visibility distance in meters of the incident to be used in Aimsun 7.0 models.
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
Section where the forced turn begins
One or more candidate sections vehicles should take instead.
Must contain a minimum of 1 items
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
"turn_force_result"
Which outgoing section of the node to affect
Redirect vehicles on section_id to one or many destination centroids.
If you pass new_destinations, the proportions must sum to 100.0 (±1e-6).
If you pass the legacy new_destination field, it will be
auto-converted to new_destinations=[{dest_id=new_destination, percentage=100.0}].
Preallocate the ID only if you know what you're doing, otherwise omit this field
If set, automatically generate cancellation command for the action
"destination_change"
Section of action being applied
List of centroid id/proportion objects
Must contain a minimum of 1 items
Helper class for MeasureType.DESTINATION_CHANGE
Candidate destination centroid identifier
Percentage of complying vehicles sent to this centroid
Value must be greater or equal to 0.0 and lesser or equal to 100.0
LEGACY: Single destination centroid
Origin centroid filter (-1 ignores)
Destination centroid filter (-1 ingores)
0 = all vehicles, 1..N specific vehicle types
Value must be greater or equal to 0
Share of drivers obeying the measure <0-1>
Value must be greater or equal to 0.0 and lesser or equal to 1.0
Remove a specific traffic measure action
"measure_remove"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
ID of the measure to remove
Value must be strictly greater than 0
Clear all active traffic management actions
"measures_reset"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
Activate a specific policy
"policy_activate"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible
ID of the policy to affect
Value must be strictly greater than 0
Deactivate a specific policy
"policy_deactivate"
Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible