question

Moosa avatar image
0 Likes"
Moosa asked Jeanette F commented

Model gets blocked with Conveyor but not with que?

FlexSim 22.2.2
conveyorque
· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·
Can you post your model for us to take a look?
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·
Can you post the model with which you have the issue?
0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·
0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Moosa, was one of Jason Lightfoot's or Moosa's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Moosa commented

The reason is that the conveyor only presents the item at the end of the conveyor to the pulling queues, whereas a queue allows any of its contained items to enter any queue at the same time.

So when an item of type 37444 arrives at the end of the conveyor it does not match any of the queue Types. Later the batch timeout occurs at 13120 secs and queue293 releases its type 37537 items. At that point you need to adjust your pull logic to allow it to take a new type and have it fire by opening the input of the queue (even though it is open already - telling it to open will reevaluate the pull).


· 15
5 |100000

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

Moosa avatar image Moosa commented ·
well i do understand what you mean,but why is that i will have to adjust the pull logic? as you could see the pull logic says whenever the sorting lane is empty,anything could enter the lane,only when it gets filled up by 1 pc then the piece belonging to that item type should enter and moreover you could see that the exit transfer of the converyor has the logic of sending output to anyone.what is that I will have to adjust in the model to solve the problem.Please note I am considering the subnodes.length property.


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·

When I chose to trigger the pull re-evaluation your logic did not allow the item to enter since it was triggered by the last item leaving which is a usual technique. Your code tests for the content being <1 which will never be the case as the pull is evaluated while the exiting item is still in the queue.

0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·
ok so what should I do to solve the problem, here the input from the que could enter into any of the available lanes(18 lanes),once an item enters, the lane takes its value and is reserved for that particular item until it reaches the quantity as 5,once it reaches the quantity as 5 and is send to the machine if machine is not occupied ,the lane takes the value of 6th item entering and is reserved for that type until it reaches the max limit of the lane which is 10.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·

Instead of altering the pull it will be simpler to schedule an event to open the queue input if it is empty (on exit trigger):

if (current.subnodes.length==1)
     createevent(current,0,EVENT_USEROPENINPUT);

Model attached.

model-built-mockup-testing-final-macro-3_jl.fsm

0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·
well if I change the content to 1 my whole logic of wanting to obtain the item label value on the object fails.what I dont understand is I am using the subnode.value property which is solely dependent on the object,why is it interfering with the with input logic.Could you help me out in solving this out, it would be helpful.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·
Yes, sorry I realised the problem and edited the reply - see above.
0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·

I have tried adding that trigger to the lanes, but it doesnt take any items from the conveyor,Please note if the subnode.value ==1 then that particular lane is reserved for a particular type of item.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·
I used your original pull and added the trigger to the exit in the model attached above and it works fine.
0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·
could you please share the model on which you have made changes, it would be helpful.Thanking You in advance.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Moosa commented ·

It should be 5 posts up but here it is:

model-built-mockup-testing-final-macro-3_jl.fsm

0 Likes 0 ·
Moosa avatar image Moosa Jason Lightfoot ♦ commented ·

thanks a lot for this solution, really appreciable, but I still have issues regarding the duplication of lanes, how do I solve it ? I did some modifications in pull and push logics as shared in the model,Could you help me out in solving the issue of duplication.


duplication_lanes.fsm

0 Likes 0 ·
Show more comments

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.