question

José Antonio MD avatar image
0 Likes"
José Antonio MD asked José Antonio MD commented

Queue blocked

Hello,

I have a doubt with a model.

I have created a simple example, I have some items waiting in a queue and next they go through two queues and one processor, which close or open the second queue of the system (I have this queue’s system because in another model I have to change the batchsize and I have some problems if I don’t use this trick).

The problem is that the system blocked when I do not use the transporter for the first queue, and I do not know really the reason.

I took this opportunity to ask you if is it possible implement an update function in a queue, so if I receive a message or pass a requirement time I can check for example the output.

I thank you in advance for your help.

problem-1.fsm

FlexSim 17.2.3
processorqueuescloseinputopeninput
problem-1.fsm (20.6 KiB)
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

Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini answered José Antonio MD commented

Hi Jose Antonio,

my guess is that the problem is that you have a Max Content of 2 in the processor and therefore the triggers are being executed twice/simultaneously. It is true that it is a bit strange that the blockage occurs in the processor, but I can't really tell you why.

I have solved it by moving one of the triggers to the entry of the last queue.

About your second question, I have added a small PF that checks for the output on Messageforum-problem1.fsm


forum-problem1.fsm (26.2 KiB)
· 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.

José Antonio MD avatar image José Antonio MD commented ·

Thanks for your quick answer.

The problem is that the real model is more complex as you can imagine, there are more than one input and their parallel processors, to converge in a single queue, so probably, some orders could interrupt anothers.

For this reason, I would like to send the order in the output of the Processor1B (each work station would manage itself), but I will try to implement your idea.

Thanks again, @marcello.rosadini.

0 Likes 0 ·