question

Adam FM avatar image
0 Likes"
Adam FM asked Adam FM commented

How to unload item, 2 operators collecting items from 1 stock to 2 processors.

Hello!

I´m building a model of a production. My current issue is the following.

What i want: One of the operators, the first available one would go to supermarket 1, pick up 5 items of Type 1, place them in the queue. Thereafter both of the operators should dig in and start process the collected items and place them in the next queue. And finally, the first available operator should transport them to supermarket 2.

What i got right now: Two operators, are picking items from a stock (supermarket 1) and places them in a queue. Right about here it crashes. I know i got something wrong with the unloading sequence to the processors, more exactly the unloading station. Currently the queue gives every item a label named "processor", with help from the connectors. But i cant seem to get the operators to get what i mean.

I tried to do like the following link: https://answers.flexsim.com/questions/51427/task-sequence-load-unload.html

And if you take a look at the model you will also see that both operators are picking up items.

If any of you got time to take a look at my model, i would deeply appreciate it. Thanks!

NyFramtidaFlow.fsm


FlexSim 20.1.0
flexsim 20.1.0
flexsim-operation.png (313.6 KiB)
nyframtidaflow.fsm (115.8 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.

pc neo avatar image
0 Likes"
pc neo answered Braydn T commented

nyframtidaflow_ed.fsm

I've attempted to modified your model (in Group 1) according to what you need as attached. Hope this helps.


nyframtidaflow-ed.fsm (116.3 KiB)
· 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.

Adam FM avatar image Adam FM commented ·

That was exactly how i wanted it to work. Big thanks!

So i´ve tried to make one of the operators carry the finished goods to supermarket 2 when the queue reaches the batch size of 5 pcs. But i can´t seem to get it to work.

Is the easiest way to push every item that enters the queue to a list, and then do a decide if the queue is big enough? Or can actiwate that sequance in another way?

I atteched the model again with my new edits.

Thanks again for your help!

NyFramtidaFlow_Edit2.fsm

0 Likes 0 ·
Braydn T avatar image Braydn T Adam FM commented ·

@Adam FM

You can push them to a list, and I would do that to maintain reference to the 5 items, but I would activate it with an event triggered source that fires OnContentChange. You can set the change to be increase to or through 5.

0 Likes 0 ·
Adam FM avatar image
0 Likes"
Adam FM answered Adam FM commented

Thank you @pc neo & @Braydn T . It helped alot.

I almost got a hang of it, except for one thing. I tried to make the operators for Group 3 do the same thing. The big difference here is that they are collecting one type 3 and one type 4 item and combine them into a type 7 item. It works fine until item number 2 are in process, then the operators switch places and for the last item i get an error message that the processor label doesent exist. But it did exist until the last piece. Do you have an idea what i did wrong here?

Thanks again for your help!

I attached my model and a screenshot!NyFramtidaFlow_Edit2.fsm


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

pc neo avatar image pc neo commented ·

You may want to opened another question as this is different from original question.

By opening as a new query you will also invite other people's help. :)


Nevertheless, your issue seems to be cause by the logic that you have crafted. A token is created for every flowitem that enters into Queue1 and it pulls 2 flowitems out of a List where this List contains all flowitems that are in Queue1. This leads to the error you are seeing as in the downstream Combiner (being a join mode) will destroy one flowitem for every 2 that enters.

You may want to have tokens that constantly pull from the List instead.

Hope this helps,

0 Likes 0 ·
Adam FM avatar image Adam FM pc neo commented ·

Thank you, yeah i wasn´t sure if this was a relatable question so i took a shoot.

I couldn´t make the token work so i asked another question.

But big thanks for the help! :)

0 Likes 0 ·