Profile switching has been added to Pathfinder 2019.3. The original request came from a user who wanted to simulate a situation where some building occupants were emergency responders. In an emergency, these occupants would go to a room, change clothes, and then change behavior when they left the room. Pathfinder 2019.3 supports this scenario.
This video illustrates a simple case where patrons leave a bistro. Once the patrons are outside, there’s a surprise in store for them, prompting them to run away.
As a quick reminder, in Pathfinder each occupant has a current Profile and Behavior:
- Profiles define the parameters that control the occupant speed, size, and visual representation.
- Behaviors are a sequence of actions the occupant will perform throughout the simulation.
The figure below shows how profile switching was accomplished in this example (right-click to view full size image). First, three profiles are defined: Default, Run, and Run Fast. All occupants are initially given the Default profile. The Run and Run Fast profiles change the speeds of the occupants.
Changing the profiles is accomplished in the behaviors. We want the patrons to run when they “see” the T-Rex. This is simulated in the Patron behavior by directing the patrons to go to the room named “Start to Run”. Once they reach this room, their profile is changed to “Run” and they then run toward the exit at their new speed. The bartender is similar, but has a longer initial delay. The bartender (presumably looking at a cell phone) then walks to a waypoint, sees the T-Rex and freezes for 0.5 sec, then runs fast to the exit.
The movie was made using both Tours and the Follow Occupant option. To use the Follow Occupant option, right-click on an occupant in Results and activate the option.
A second example is shown below. Here the occupants enter changing stations and change into turnout gear. This simulation uses the capability to restrict doors, rooms, etc. by profile, which improves queuing and results in better flow paths as people leave the changing stations.
More complex scenarios can be constructed using the current capability. We welcome suggestions for improvement, send an email to email@example.com.