question

ana.pc2 avatar image
0 Likes"
ana.pc2 asked ana.pc2 commented

How to keep reevaluating pull requierement after no more on ready items

Hi everybody!

How are you? I have a question regarding the pull requirement. I have a custom code to evaluate the next item on a queue, and if the item doesn't pass the requireemnt, then it will wait for the PULL_REEVALUATE_ON READY.

But I have noticed (or that is what I think because my model gets on a infinite loop and the queue doesn't call anything more) that once there are no more ready items, the queue doesn't recall the oldest items waiting to be ckeched again for the pull requirement, how can I do to keep evalauting with the old ones that are waiting to be pulled too?

I hope it makes sense what I am trying to say... or if I am understading something wrong, please let me know.

Any help is appreciated! Thanks :)

Ana.

FlexSim 20.2.3
flexsim 20.2.3pull requirementreevaluate
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Can you post your model? It's often easier for us to take a look at what's happening.

0 Likes 0 ·

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered ana.pc2 commented

There are mechanisms to initiate the pull function over all available items.

  • close then open input in receiving object
  • close then open output from releasing object

over distinct item

· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

I don't think you need to close the input first - you can just open it again.

2 Likes 2 ·
ana.pc2 avatar image ana.pc2 Jason Lightfoot ♦♦ commented ·

Oh, good to know! just opening the input again even it is already open, I can initiciate the pull function to evaluate all over! Thanks guys :D

0 Likes 0 ·