question

Truc C avatar image
0 Likes"
Truc C asked Truc C commented

Auto update operator capacity

Hi all,

My model have 4 processor, I want to pull in batch size = 20 of Queue 1 to In 1-4 in one time, so I set Operator capacity = 20.

But then I want this operator do alternate processor 1-4.... means operator need to pick 1 object in , do in processor 1, then pick 1 in In2, do processor 2,...

so how can I change the capacity of operator to 1? cause if i set capacity = 20, the operator will pick 4 object, release at 4 processor and then do for each processor.

Hope anyone can help.

1683787066929.png

Change op capacity.fsm

FlexSim 22.1.4
operatorcapacitychange
1683787066929.png (183.0 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Truc C commented

You don't have to change the capacity for this. In fact if I assume correctly that the operator is supposed to first do the setup before moving on to the next item and processor, that wouldn't get you all the way there.

You can control (to some degree) how the operator can use the available capacity with the Break To option. If you set it to Same Load Station, the operator will not travel to another queue to pick up more items, even if he has free capacity.

Furthermore, to control in which order pending tasks are done, give the tasks different priorities and preempt values. The setup tasks for example have to be able to preempt other tasks, because the operator will have already started the next transport task sequence when the setup tasks is queued up.

change-op-capacity-fm.fsm

For completeness: A good place to change the capacity would be the On Load trigger. There you can change the capacity depending on the station that the item was loaded from.

if(station == Model.find("Queue1"))
{
    current.setProperty("Capacity", 20);
}
else
{
    current.setProperty("Capacity", 1);
}

· 3
5 |100000

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

Truc C avatar image Truc C commented ·
Hi Felix,

Thanks for your answer. I have one question is if I set the operator cap = 72, it will take time to release each pcs, is there any way to release all 72 pcs in 1 time?


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Truc C commented ·

I'd push the task sequences that the queue generates to a list first. This allows you to pull them off the list ordered by the unload station and dispatch them to the operator in that order.

(You could also code this behaviour in the operator's Queue Strategy but that would be quite a bit more work)

If the operator should not walk to the individual dropoff locations but only to the queue and then drop all items at the same time, set him to not do offset travel.

capture1.png

change-op-capacity-fm_1.fsm

0 Likes 0 ·
Truc C avatar image Truc C Felix Möhlmann commented ·
yeah, I did it

Thank you so much! Have a nice day!

0 Likes 0 ·

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.