question

NicolaiNielsen avatar image
0 Likes"
NicolaiNielsen asked Joerg Vogel commented

Different item type is in queue wait until empty

Hi,


I'm in need of some assistance on how to program my processor to only handle one item type at a time. Meaning that if the processor is currently processing 10 of item type 1, then it needs to finish those 10 before it can start processing 10 of item type 2. The processor is not a batch processor but instead sequential.

I have added setup time if item type changes.

The items is created at a certain time, 250 of item type 1, then 250 of item type 2, then 250 of item type 3

FlexSim 23.0.1
queueprocessoritemtype
· 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.

Andrew O avatar image Andrew O commented ·

Hi @NicolaiNielsen, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 ·
NicolaiNielsen avatar image NicolaiNielsen Andrew O commented ·
I am currently testing the solution, I'm new to Flexsim, so it is taking abit of time :)
0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Joerg Vogel commented

Pull the same item type and for each successful pull increment a counter. When the counter reaches the batch size, change the item type for the next pull.

· 8
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
On Exit trigger leaving item is still counted as a content.
0 Likes 0 ·
NicolaiNielsen avatar image NicolaiNielsen commented ·

Hi Jason,


first of all thank you for the response :) I have tried now since your response to implement your proposal. I can now conclude that I have not been able to implement it.


Is it possible that you could expand and guide me how to implement. I can attach the model, I'm not very experience in mapping the flow in the process flow mode, but using the modules instead.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel NicolaiNielsen commented ·
@NicolaiNielsen , Jason‘s answer is totally a suggestion of 3D modeling. Object property > Input pane > activate PULL > Pull Requirement by item type or label value > the value is himself a label value driven by a label value (a) in your processor

On Exit trigger increment a counter label at your processor by -1. If a batch is finished, then you change the Type of (a) to pull a different kind. And you reset counter label.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Joerg Vogel commented ·

proof of concept:batch_by_pull_observed.fsm

0 Likes 0 ·
Show more comments