question

Ana S20 avatar image
0 Likes"
Ana S20 asked Braydn T answered

Loading the wrong item

I'm making a model in which four operators load items from a multiprocessor onto four different processors. The main issue is that some of the operators will pick items that have already been loaded onto the processor instead of picking from the multiprocessor. Even with a "wait for the event" activity in which they have to wait for the multiprocessor to finish the task. My idea would be to change the token of the items once they are picked, so that operators won't take them. But I'm having some problems getting it right so I would appreciate if someone could help me.

I'm uploading my model.

modsimp.fsm

If there's a simpler/more efficient way to fix this issue, feel free to share it.

Thanks in advance.

FlexSim 19.1.0
operatorsload
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

·
Braydn T avatar image
0 Likes"
Braydn T answered

@Ana S20

The simplest solution to me seems to use onProcessFinish for your trigger for the event triggered source, and the MultiProcessor as the object you are listening to. You should assign that item as a label in that task, and get rid of the wait for events, and have them loaded into a processor and then have the token go into a sink. Then you can break the loading of the items after they have been processed into a new process flow chunk with a new source.

5 |100000

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

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.