question

Lucas Braga avatar image
1 Like"
Lucas Braga asked Lucas Braga commented

"Using Global Lookup Table" not working

I have a processor, a queue and a sink. I want the sink to pull a certain quantity of items (that is already written on a Global Table cell) of the queue. I'm using the "Global Lookup Table" option, but even when the cell number is 0, all items go straight to the sink.

So is there some option/code that can do what I'm trying to do (receive/pull a exact quantity of items)? It doesn't necessarily has to be a sink...

FlexSim 7.5.4
global tableglobal lookup table
5 |100000

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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Lucas Braga commented

Please post a model showing the issue. We can't explain what is happening unless we can duplicate the issue.

· 5
5 |100000

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

jing.c avatar image
3 Likes"
jing.c answered Joerg Vogel commented

"the cell number is 0" means Sendtoport trigger of the queue will return 0, while return 0 in this trigger means "First Available", and it still send items to downstream.

If you do not want to send items, you will make the cell number be "-1".

· 2
5 |100000

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