IncidentCreateCmd

Type: object

Incident create command, can either use default visibility or be provided
visibility distances per vehicle type

Command

Type: const Default: "incident_create"
Specific value: "incident_create"

Time

Type: number Default: -1

Sim-time in seconds from midnight,omit or set to -1 to run as soon as possible

IncidentCreateDto

Type: object

Incident to be generated

Section Id

Type: integer

Identifier of the section of the incident

Lane

Type: integer

Lane number (1-indexed) where the incident occurs

Value must be strictly greater than 0

Position

Type: number

Position (distance from section start) of the incident

Length

Type: number

Length of the incident

Ini Time

Type: number

Time of the simulation, in seconds from midnight, when the incident will start

Duration

Type: number

Duration of the incident (seconds).

Visibility Distance

Type: number Default: 200

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

Per Veh Visibility

Default: null

List of per vehicle visibilities

Type: array
No Additional Items

Each item of this array must be:

VehicleVisibility

Type: object

Veh Type

Type: integer

Identifier of the vehicle type

Distance

Type: integer

Visibility distance for given vehicle type

Update Id Group

Type: boolean Default: false

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).

Apply Speed Reduction

Type: boolean Default: true

True to apply a speed reduction around the incident to slow vehicles as they pass it and False otherwise

Upstream Distance Sr

Type: number Default: 200

If the reduction is to be applied, the distance upstream of the incident

Downstream Distance Sr

Type: number Default: 200

If the reduction is to be applied, the distance downstream of the incident

Max Speed Sr

Type: number Default: 50

If the reduction is to be applied, the target reduced speed