STISIM Drive (SDL) - CT - Cross Traffic

Display a cross traffic vehicle. No intersection will be displayed when this event is called, you must display your own intersection using the I event. The speed, direction, and lateral distance of the cross traffic vehicle is set using the event parameters.

EVENT PARAMETERS:

PARAMETER 1:

The longitudinal distance, in feet, that the cross traffic vehicle is away from the driver when it initially appears.

PARAMETER 2:

Cross traffic display options. To specify the display option set parameter 2 to one of the following:

1 - Set crossing vehicle so that if the driver keeps constant speed the crossing vehicle will pass behind the driver without colliding with them

2 - Set crossing vehicle so that if the driver keeps constant speed the crossing vehicle will collide with the driver's vehicle

3 - Set crossing vehicle so that if the driver keeps constant speed the crossing vehicle will pass in front of the driver without colliding with them

4 - Specify the crossing vehicle’s characteristics using lateral position and a percentage of the driver’s vehicle speed (see parameters 3 and 4)

5 - Specify the crossing vehicle’s characteristics using lateral position and constant speed (see parameters 3 and 4)

PARAMETER 3:

The initial lateral position, in feet, that the crossing vehicle is away from the roadway’s dividing line (positive to the right). This is only used if PARAMETER 2 is set to 4 or 5, otherwise set it to 0.

PARAMETER 4:

This parameter is only used if PARAMETER 2 is set to 4 or 5, otherwise set it to 0. In either case, this parameter is used to specify a constant velocity, in feet/second, for the cross traffic vehicle.

If PARAMETER 2 is set to a value of 4, then the cross traffic vehicle’s velocity is computed as a percentage of the driver’s velocity. When the cross traffic first appears on the screen, the software will take the velocity that the driver’s vehicle is using and multiply it by some factor to compute the velocity of the cross traffic vehicle. The factor that is used in this calculation is specified by PARAMETER 4.

If PARAMETER 2 is set to a value of 5, then the cross traffic vehicle’s velocity is specified using PARAMETER 4. The velocity is in feet/second.

PARAMETER 5:

The direction the vehicle is coming from. If you omit this parameter, the program will make the vehicle approach from the right.

L - Approaching from the left
R - Approaching from the right

PARAMETER 6:

The vehicle model index for the cross traffic vehicle {Vehicles}.You may assign the vehicle a random index by using the following syntax notation:

*[low range]~[high range] (for example *1~8)

In this case, the program will randomly choose an index from all of the indices between the low range number and the high range number. In the example, a number between 1 and 8 (inclusive) would be used. This parameter used to be the vehicle color, but since STISIM Drive uses predefined vehicle models, you must now choose a model instead of a color.

PARAMETER 7:

Intelligent vehicle flag:

0 - Cross traffic vehicles will be "dumb" vehicles, this means that they will not adhere to traffic signal lights when they change.

1 - Cross traffic vehicles will act in a reasonably intelligent manner when they are approaching a signal light. If the signal light is yellow or red (in the direction that the cross traffic vehicle is heading), then the vehicle will try to stop (as long as it does not violate the laws of physics). When the light turns to green, the cross traffic vehicle will accelerate back up to their specified speed.

EXAMPLES:

1000,CT,500,2,0,0,L,1,0
1000,CT,500,4,100,.5,R,*3,1

Cross traffic events are generally used to force the driver to make a decision based on how they perceive the action of the cross traffic vehicle. If they believe there may be a collision, then they will need to respond accordingly to avoid the collision. In the first example shown, the cross traffic vehicle will appear 500 feet away after the driver has traveled 1000 feet down the road (1000,CT,500). Since cross traffic display option 2 was chosen, the software will set the cross traffic vehicle’s initial conditions so that if the driver continues at a constant velocity, the 2 vehicles will collide. If the driver speeds up or slows down, then the chances for a collision will decrease. Since option 2 is being used, parameters 3 and 4 are not used. The next 2 parameters tell the software that the cross traffic vehicle will be approaching from the left hand side of the road, and that it will be displayed using model index number 1. Additionally, since the final parameter is set to 0, the cross traffic vehicle will not adhere to any traffic signal lights.

The second example illustrates controlling the vehicle more precisely. Like the first example, the cross traffic vehicle will appear 500 feet in front of the driver after the driver has traveled 1000 feet down the road (1000,CT,500). In this example, cross traffic display option 4 is being used and therefore parameters 3 and 4 must be specified. For this case parameter 3 is the lateral distance that the cross traffic will be away from the roadway’s dividing line and is set to 100 feet. Parameter 4 is the percentage of the driver’s velocity that will be used as the cross traffic vehicle’s velocity. In this case a value of .5 is used so the cross traffic vehicle’s velocity will be half of the current driver’s velocity. The velocity will remain constant for the entire event, and is computed based on the driver’s velocity when the event begins. The next 2 parameters tell the simulation software that the vehicle will be approaching from the right hand side of the road, and that the vehicle model index should be assigned randomly from indices 0 through 3 (*3). The last parameter is set to 1, therefore, the cross traffic vehicle will try to adhere to any signal lights that it encounters.