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

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

brayan_leonardo_gil_guevara
Not applicable
1,883 Views
14 Replies
Message 1 of 15

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

brayan_leonardo_gil_guevara
Not applicable

[ FlexSim 7.7.4 ]

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

0 Likes
Accepted solutions (1)
1,884 Views
14 Replies
Replies (14)
Message 2 of 15

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

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.

Message 3 of 15

joerg_vogel_HsH
Mentor
Mentor

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?

Message 4 of 15

brayan_leonardo_gil_guevara
Not applicable

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

0 Likes
Message 5 of 15

tanmay_varshney
Not applicable

@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
Message 6 of 15

joerg_vogel_HsH
Mentor
Mentor

Then you should use a combiner.

0 Likes
Message 7 of 15

tanmay_varshney
Not applicable

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

0 Likes
Message 8 of 15

joerg_vogel_HsH
Mentor
Mentor

The combiner expects at least two input ports, but there exists no limit how many connections you creates between the objects. For example you collect items in a queue and the next object is a combiner, then you connect the queue twice to the combiner with the standard object connection ( "a" key connection). The combiner can pack or join the items together. If you need the processed items again splitted, then you use a separator with a process time of zero.

0 Likes
Message 9 of 15

joerg_vogel_HsH
Mentor
Mentor

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
Message 10 of 15

brayan_leonardo_gil_guevara
Not applicable
@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
Message 10 of 15

brayan_leonardo_gil_guevara
Not applicable
@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
Message 12 of 15

adrian_haws
Not applicable

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

0 Likes
Message 13 of 15

adrian_haws
Not applicable

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

0 Likes
Message 14 of 15

adrian_haws
Not applicable

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

0 Likes
Message 15 of 15

adrian_haws
Not applicable

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

0 Likes