question

Rahul R avatar image
0 Likes"
Rahul R asked Andrew O commented

Pull from list only if it contains a specific number of entities?

I would like to pull a specific token from the list only if the total tokens in the list is above X.

What I am trying to model? (if there could be alternate approaches)

I have a resource pool. And when I reserve a specific resource. I need there to be at least 20 resources in the pool.


FileName: Pull_from_List_Question_09192022

FlexSim 22.0.0
list
· 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.

Andrew O avatar image Andrew O commented ·

Hi @Rahul R, was Jeanette F's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered

Hello @Rahul R,

You can add a wait for event before the pull from list. The wait for event object can be the list and the event can look for when the content of the list is 20 or more.

1663610570256.png

I also added that the advanced features of the List that it reevaluates after a push.

1663610656024.png

Model Link


1663610570256.png (21.3 KiB)
1663610656024.png (32.3 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.