question

jessica S2 avatar image
0 Likes"
jessica S2 asked Matthew Gillespie answered

how change quantity of processing in process flow ?

I have a problem, well, in my simulation I have 3 queues and 3 processors, my maxconteum is 10 squares per queue, when the first queue is full, the source sends another queue. I want that when the first queue is full and the second queue is working, the amount of processing changes. That is, if you processed one at a time, now process 2 in two

21.png model2.fsm
FlexSim 19.1.1
quantity processing
21.png (164.6 KiB)
model2.fsm (37.1 KiB)
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

So if the first queue is full all three processors start processing two at a time? Or just processor1? Does it ever go back to processing just one at a time?

0 Likes 0 ·
jessica S2 avatar image jessica S2 commented ·

hello @Matthew Gillespie, when the second processor is working the first one must change from one to one process to 2, when the third one is working the previous two must process two by two and if the third one no longer have a box the second one must return from one in one, if the two are not working the first one must return one by one

I tried to do with a list but it does not respect

p7.png

512.fsm

0 Likes 0 ·
512.fsm (65.5 KiB)
p7.png (70.1 KiB)

1 Answer

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

Take a look at the attached model. I attached all the processors to an instanced process flow. The process flow makes a separate instance for each attached processor so that we can define the logic once and have all the processors follow that logic. The process flow listens to the content of the queue its processor is connected to and changes the processor's max content variable when that queue has content.

process2.fsm


process2.fsm (44.7 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.