question

Gabriel Morgante avatar image
2 Likes"
Gabriel Morgante asked Gabriel Morgante commented

How to reevaluate a pull condition when pulling from a global list

FlexSim 19.0.0
pull strategyglobal listpull itempull from list based on conditionpush to list pull from list
1.png (8.0 KiB)
l3-1.fsm (26.1 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

Matt Long avatar image
2 Likes"
Matt Long answered Gabriel Morgante commented

receiveitem.png (6.0 KiB)
· 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.

Gabriel Morgante avatar image Gabriel Morgante commented ·
0 Likes 0 ·
Matt Long avatar image Matt Long Gabriel Morgante commented ·

Just add an additional receiveitem(current); call to the OnEntry trigger of the processor. If the processor is at capacity it'll return false in the pull strategy.

1 Like 1 ·
Gabriel Morgante avatar image Gabriel Morgante Matt Long commented ·

It worked! Thanks Matt! =D

0 Likes 0 ·
Braydn T avatar image Braydn T Gabriel Morgante commented ·

Could you put that command in a for loop or while loop? while (carga < capacidad){

receiveitem(current);

}

0 Likes 0 ·
Gabriel Morgante avatar image Gabriel Morgante Braydn T commented ·

Thanks @Braydn T but Matt's answer worked perfectly now! =)

0 Likes 0 ·