This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.

Go Back   FlexSim Community Forum > FlexSim Healthcare (HC) > FlexSim HC: Q&A

FlexSim HC: Q&A Questions about FlexSim Healthcare

Old 03-29-2015
PeiranQuan PeiranQuan is offline
Flexsim User
Join Date: Aug 2014
Location: NewZealand
Posts: 3
Downloads: 0
Uploads: 0
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
PeiranQuan is on a distinguished road
Default Modeling a path for staff group

Hi everyone,

Can I build up a path that is conditionally available for staff to use?

For example, in "Escorting Patient> Process" activity, I want a path to be closed when a transit staff carrying a patient. However, other transit staff without patients can still use this path.

In other words, the status of this path could be both "open"(for transit staff without patient) and "close"(for transit staff with patient) at the same time.

The attached file may be useful to illustrate this problem:

I want to close the path between NN5 and NN6 when the orderly carrying a patient.

I tried to close the path dynamically when patients arrive at NN10 & NN11 but seems not work well. The path can only be either "closed to all staff" or "opened to all staff".

Any comment is appreciated. Thanks.
Attached Files
File Type: fsm Test_path3.fsm!.fsm (81.6 KB, 572 views)
Old 04-23-2015
Cliff King's Avatar
Cliff King Cliff King is offline
Vice President Technical Services
Join Date: Jul 2007
Location: Utah
Posts: 272
Downloads: 158
Uploads: 14
Thanks: 102
Thanked 304 Times in 110 Posts
Rep Power: 412
Cliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud of
Default Dynamic Path Selection


You were on the right track, but instead of trying to open and close paths, you can simply direct a traveler to take a specific path out of a node by using the OnArrival trigger of the node. If a valid edge (i.e. path) number is returned by the trigger, the traveler will be directed to travel out through that edge. I demonstrate this approach in the attached model using an OnArrival trigger at nodes NN1 and NN5.

The condition for the trigger will differ based on the particular modeling situation, so I give you several options to choose from for the condition. I plan on adding this pick list option I made to the list of OnArrival trigger options for the next release.

Keep in mind there may be situations depending on the path layout where you will need to use more than a single OnArrival trigger to get the traveler to take a particular route. The trigger will only get them to go as far as the next node and then shortest-distance takes over, so in some cases the traveler may turn right around and go back to the node they came from if it's still the shortest way to get to their destination.
Attached Files
File Type: fsm Dynamic Path Selection.fsm (78.7 KB, 571 views)
The Following 3 Users Say Thank You to Cliff King For This Useful Post:
PeiranQuan (06-10-2015)

conditionally close path

Thread Thread Starter Forum Replies Last Post
Staff w/Resource Schedule, Info Display, more Robert Rodgers FlexSim HC: Q&A 6 08-19-2013 03:59 PM
Createcopy of a group David Chan Q&A 1 11-01-2012 07:02 AM
Group Capacity Jason Lightfoot User Development 7 03-24-2011 07:21 PM
Another project sharing - Canteen of a factory with 20000+ staff KelvinHo Tips and Tricks 2 05-17-2010 12:23 AM
New LinkedIn Group Bill Nordgren Product Announcements 0 01-21-2010 11:50 AM

All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.