question

David Dorantes avatar image
0 Likes"
David Dorantes asked Jeff Nordgren commented

Operators don't finish a batch

Hello. I have an issue with the operators, because of they don't process a whole batch and start to change to another operation.

The model seems to work fine when operators are not used.

However, when I add operators and a dispatcher, the operators keep changing processes after before completing a batch. Do you know how I can make the operators stay at a process until the batches waiting that process are completed?

I have attached my model to this mailmotorbike-line.fsm. I have changed the combiners to look like queues just to make my model look more realistic as shown in the image, just in case you thought I was using two queues in a row.

FlexSim 17.0.0
dispatcher
model.png (715.7 KiB)
motorbike-line.fsm (1.5 MiB)
· 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

I noticed that there are a lot of syntax errors in the dispatcher's code, if you clean up the code there, does that resolve any issues for you?

0 Likes 0 ·

1 Answer

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered Jeff Nordgren commented
@David Dorantes

Sorry for the delay but I think I have a way to do what you are asking, if I'm understanding correctly what it is you are asking. I believe you are asking that an operator should stay to process one batch, as defined by the batching of the incoming queue. I hope that is correct. That is the premise for you attached model with the changes that I've made. I did make a lot of changes so you might have to dig around a little on those 6 processors and one combiner. But they all essentially work the same.

I keep some labels on the 7 objects that keep track of which operator is at the machine, how many are in a batch and the current count of the number in the batch that have been processed. When a flowitem comes in, OnEntry trigger, I create a manual task sequence to call an operator over. When they get there, I just have them be "Utilized" until a whole batch has been processed. Then they are freed to accept the next task sequence from the Dispatcher.

If you have any problems or questions, please let me know. Also, the model is in version 7.1.2. I didn't notice that you were on an earlier version until I had spent too much time to change versions. If you can't upgrade to version 7.1.2 maybe you could download the free Express version so that you could at least look at how it is done.

Thanks.

motorbike-line-v1712-jn1.fsm


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

Jeff Nordgren avatar image Jeff Nordgren commented ·
@David Dorantes

Was this helpful or do you have more questions?

Thanks.

0 Likes 0 ·