ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. 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. |
flexsim.com |
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
Dynamic Path Selection
Peiran,
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. |
The Following 3 Users Say Thank You to Cliff King For This Useful Post: | ||
PeiranQuan (06-10-2015) |
Tags |
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 |