STISIM Drive (SDL) - CSET - Set Crash Parameters

Change the simulation’s crash parameters. When a driver crashes during a simulation run, their vehicle is automatically set back to the position in the roadway specified by "Initial Position" on the Initialize tab of the Configuration form. Additionally, under the Crash Options section of the Sound tab of the Configuration form you can specify if and how the crash sound effect will be used during a crash. Because these parameters are specified in the Configuration File, they will remain constant for the entire simulation run, unless there is an event that can change them. This event will do this for you. In general you will probably just set the values in the Configuration File and them leave them alone, however, there are some cases when you may wish you had a little more control.

EVENT PARAMETERS:

PARAMETER 1:

This parameter is a flag that tells STISIM Drive how the crash sound effect will be used. To specify how accidents will be handled, set parameter 1 to one of the following:

0 - Play recording, reset lane position and speed
1 - Never play recording, do not reset the speed
2 - Play recording, only reset lane position

PARAMETER 2:

Initial position of the vehicle with respect to the roadway’s dividing line, positive to the right (feet).

PARAMETER 3:

Distance off the edge of the road where a crash occurs, positive to the right (feet). Leaving this parameter blank will retain the same value as before.

PARAMETER 4:

Buffer distance after an accident has occurred before another accident can occur (feet). Leaving this parameter blank will retain the same value as before.

EXAMPLES:

1000,CSET,0,10
1000,CSET,2,-5,,250

This event is generally only used when you are forcing the drivers to follow certain paths and there is a chance that if they crash, they will be in the wrong position when the simulation begins again. For instance if you have a scenario where traffic is approaching from the rear in a certain lane. If the driver crashes, you probably do not want them to be placed into the lane with the oncoming traffic.

In the first example shown, the crash parameters will be reset to 0 and 10 respectively after the driver has traveled 1000 feet down the road. From this point on, all crashes will result in STISIM Drive stopping and playing the crash sound effect. At the conclusion of the sound effect playback, the driver’s vehicle will be placed 10 feet to the right of the roadway dividing line. Notice that parameters 3 and 4 were left blank therefore the values for these parameters will not change. The second example sets the crash parameters so that the simulation will continue to run (at the driver’s current speed) while the crash sound effect is being played, and the driver’s vehicle will be moved, from the point of collision, 5 feet to the left of the roadway dividing line. Finally, the value of 250 for parameter 4 tells the program to change the crash zone buffer to 250 feet. This means that the driver will have a 250 foot safe buffer after an accident where no other accidents can occur.