Covid19 vaccinations auditorium_9.fsm
@Matthew Gillespie, @jason.lightfoot
In this model, when patients receives the vaccine, they are given a buzzer set for 15 minutes to carry with them. They enter the Observation Area, take the last available seat on a row and,when the buzzer sounds, they leave, dropping the buzzer off near the Exit, and are observed by a nurse.
When a patient takes a seat a label, InUse, on the seat is set to 1 and that seat is added to the list SeatsInUse. Whe a patient leaves a seat that label keeps the value 1 until the last patient on the row leaves then the labels for all seats on that row is set to 0 and all the seats are removed from the List SeatsInUse. This is so incoming patients are not stepping over patient already in the Observation Area.
This model seems to run correctly when the Repeat Random Streams is turned on. But when the Repeat Random Streams is turned off, the program will produce an entire row where all the seats have a InUse label of 1 and a Owner label of 0X0 and will remain on the List SeatsInUse.
This occurrence seems to be random and not repeatable. I have tried everything I could think of to identify the cause of the problem in the logic but have been unable to identify the real cause.
As always, thanks for the help.