question

Brayan Leonardo Gil Guevara avatar image
0 Likes"
Brayan Leonardo Gil Guevara asked Adrian Haws edited

How to update " Process Maximum Content" (depends on itemtype) ?

Hi to you all. I would like to have a processor to change its maximum content based on the itemtype. If it is itemtype 1, maximum content is 1 and if itemtype is 2, the maximum content is 2 (in this case, the two item flows in the processor should be the same.).

How can I do that? I know there's a OnEntry Trigger, but that would be a little bit late when the item arrives...

FlexSim 7.7.4
processoritemtypemax contentcontent
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

What do you want to achieve? Start the processing of flowitems of the same itemtype at the same time, or do just want to limit the items in the processor being processed?

1 Like 1 ·
Brayan Leonardo Gil Guevara avatar image Brayan Leonardo Gil Guevara Joerg Vogel commented ·

Hi Jörg Vogel, thank you for your reply. I'd like to limit the items in the processor being processed.

0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered Adrian Haws commented

The max content tells a processor to process how many flowitems can be in the processor at the same time. It doesn't tell the processor to start processing when the max content of flowitems are arrived. If the process time is 10, the max content is 2 and the first item arrives at a simulation time of 5 and the second item arrives at 8 then the first item is finished at 15 the second at 18. So changing the max content on entry works well.

Part 2 processing same itemtype: One way is to pull under the flow tab of the processor. Another is the combination of hold item in the previous object and releaseitem(exact reference of one item, output port no.) Please look into the commands manual or the old Flexsim forum.

· 11
5 |100000

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

Trex avatar image Trex commented ·

@jorg Vogel

I have a doubt, if I want to setup 4 items with same itemtype and each item has a separate setup time which is operated by an operator. So is that possible to do the same and after setting up all the items, can I process them together in a single processor, because when I try to do the same, it pop up processor error showing that maximum content should be 1 to be setup by an operator. Your value addition is very much required in this regards.

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

Then you should use a combiner.

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

But at the output port I need them as separate item. Is that possible to do using combiner ??

0 Likes 0 ·
Show more comments
Joerg Vogel avatar image Joerg Vogel Trex commented ·

otherwise you can control the output and input by the triggers. First you close the output to let out the items all together. When the last item of the same itemtype entered the processor you close the input. If the last item leaves the processor you open the input again.

0 Likes 0 ·
Brayan Leonardo Gil Guevara avatar image Brayan Leonardo Gil Guevara commented ·
@Jörg Vogel

Thank you for your reply, I did try the "Update Processor's Max Content" and it worked pretty good. Just what I was looking for. But there's one issue i have not been able to solve. Source -> Queue1 -> Processor(x16) -> Queue2 -> Sink.

I have to check the "use transport" tick from Queue1 to every one of the processors. However, when this option is "ON" the processors only work once, and then they seem to be blocked. I mean, there is no Flow from the Queue1 to them after they have been used once. When the "use transport" in Queue1 is OFF, the whole thing runs as it should. Is there any way for me to make it work with the "use transport" tick as I want?

Thank you in advanced for your reply.

0 Likes 0 ·
Adrian Haws avatar image Adrian Haws Brayan Leonardo Gil Guevara commented ·

@Brayan Leonardo Gil Guevara I've reposted this question here since it's not directly related to your first question.

0 Likes 0 ·
Show more comments

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.