question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Patrick Zweekhorst commented

How to return wheelchair without keeping the patient waiting

Hi,

We have made a simple example model that shows a problem we faced when building a people model. Model ( ReleaseTest.fsm ) shows the start situation. At time 897 the patient is finished with the process. At this moment the staff member starts to return the wheelchair. Only when the wheelchair is at his place the patient starts to walk back to his chair. We want the patient to start walking at the same time as the staff member. To include this in the model we created a separate processFlow that starts at the moment that the wheelchair needs to return to its reset location. ( ReleaseTestBroken.fsm )

The wheelchair does move back on the correct time, the only thing is that it is not released. As you can see because the next patient is not able to acquire the wheelchair. How can we release the wheel chair (and the staff) after we created a new token in a separate processFlow? Is there something going wrong with labels, or should this be done in a different way?

Thank you for your time.

Patrick

FlexSim 20.0.6
resourcepeople moduleflexsim 20.0.6releasepeople
releasetest.fsm (63.7 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Patrick Zweekhorst commented

The easiest way to do this is to use another token that is a child token and is set to Label Access on Parent Only. This effectively makes the new token a copy of the first token and so can acquire and release resources for the parent token.

CreateTokensRelease.fsm

You can also do this with a Split activity.

SplitRelease.fsm

In 20.1, we added the Low Priority Return functionality from HC5.3. So if you just release the wheelchair it will get the staff who pushed it last to take it back to its reset position as soon as the staff has nothing to do.

LowPriorityReturn20.1.fsm


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

@Matthew Gillespie,

Thanks for the different options, definitely the new option in 20.1 is nice.
We thought that doing an independent create token with copying the labels would do the same as the create child token.

0 Likes 0 ·