STISIM Drive (SDL) - LS - Limit Speed

Change the speed limit of the simulation. This event should be used in conjunction with a speed limit sign that can be specified using the SIGN event. If you set both events up at the same distance, then the new speed limit will take effect as the driver passes the new speed limit sign. When the driver reaches the speed limit sign, the simulation speed limit will change to the speed limit specified. This new speed limit will remain in effect until another LS event is specified.

EVENT PARAMETERS:

PARAMETER 1:

The maximum speed, in miles/hour, that the driver may legally drive.

PARAMETER 2:

The longitudinal distance, in feet, that the event is away from the driver when the event initially occurs. This may seem a little strange because you could simply specify the total distance, but has been kept this way so that it is consistent with earlier scenarios that displayed a sign.

EXAMPLE:

1000,SIGN,100,1000,C:\STISIM\Data\Signs\SP55MPH.3DS
1050,LS,55,1000

The LS event is generally used in conjunction with the police begin (PB) event. If the PB event is active and the driver exceeds the maximum speed plus some tolerance, then a ticket will be issued to the driver. Therefore, you can use the LS event to change the maximum speed at various points in the simulation run and keep the drivers honest by placing an occasional PB event in the scenario. The example shown above will display a 55 MPH speed limit sign after the driver has traveled 1000 feet down the road (1000,SIGN, …..). 50 feet after passing the sign, the maximum speed will change from its current value to 55 miles/hour. When the sign initially appears it will be 1000 feet in front of the driver.

A final note about using the LS and PB commands together. Since the speed limit changes instantly when the LS event begins, you probably should always give the driver some distance to slow down before activating the police officer. This is why the speed limit did not change until the driver has driven  50 feet past the speed limit sign.