My current fire evacuation simulation model begins when I push a button which triggers the fire alarm. I would like to stop pedestrians from arriving during the evacuation process.
For example I want to stop pedestrians from source pedOffice from arriving the building area after I push the Fire Alarm Button. Below is my properties settings:
I have tried using the code
pedOffice.set_rate(0);
But the pedestrians continue to arrive after the button has been pressed.