question

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

How to select the correct location after the waiting line

Hi,

When patients arrive at the entrance of my model it is possible that both registration desks are occupied. In that case they go to one of the two waiting lines. When they are in the waiting line only one location is allowed to serve them. The waiting line corresponds to a location, such that when you choose a waiting line you also pick the location.

How can we do this in the people module?
In the acquire location we are not able to use a query to select a specific location.
What options are there to select the correct location?

It is of course possible to add a separate resource for each location, but in the actual model there are quite some locations so we don't want to do that.

This is the situation I am describing.

Thanks for your help,

Patrick

FlexSim 19.1 Beta

FlexSim (other - please specify)
FlexSim (other)
people modulewaiting line
waitingline.png (136.4 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
0 Likes"
Matthew Gillespie answered Patrick Zweekhorst commented

You can acquire a specific object by setting the query to be that object. You could do that with the Conditional Object pickoption, or in this model I set a label on the Waiting Line that points at the correct desk. Then I reference that label value as the query.

correctlocation.fsm


correctlocation.fsm (34.7 KiB)
· 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 ·

Hi @Matthew Gillespie,

Thanks for this solution, we did not think about using the "query" in this way.
Changing the location value of the resource indeed does what we want here.

0 Likes 0 ·