question

Diego V12 avatar image
0 Likes"
Diego V12 asked Matthew Gillespie answered

Is there a way to acquire a transport in people module with a condition?

Precisely I wondered if there was a possible way of adquiring a transport resource from the people module and acquiring only a member of the group with a certain label value.

E.g. If there is a group in our model called "beds" and these might be clean or dirty (labelwise) is the a way to adquire a bed (Transport ressource) if and only if the bed is clean?

Thanks you very much for your attention

FlexSim 20.1.1
people moduletransport
· 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.

tannerp avatar image tannerp commented ·

Hi @Diego V12,

Are you using Process Flow? If so, you might try adding a query on the Acquire activity. The query can be something like "WHERE myLabel == 1" or "ORDER BY mylabel2 DESC". If you are able to, please post your model that you're working with and we can provide a more specific answer. Thanks!

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

Use the Filter By field on the Transport Resource to specify a condition like that.

The above example would work if you had a Status label on the transports that had either the value "Clean" or "Dirty".


1588619866024.png (10.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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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