question

Terra K. avatar image
0 Likes"
Terra K. asked Terra K. commented

Processors to have repeated processing

Hi ,

How do I make a processor to have repeated processing with a percentage?

E.g. an item has a 60% of passing rate to proceed on to a queue. If it failed, it goes back to the processor and has a 50% passing rate of the remaining percentage, and if it fails again, it will go back to that processor for re-processing, but with a 40%(of the remaining %) pass rate.

FlexSim 17.1.2
processor
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

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Terra K. commented

@Terra K.

Attached is a sample model that will do what you describe.

The red flowitems never failed. The green flowitems failed once. The blue flowitems failed twice and the yellow flowitems failed a third time and are sent to the RejectQueue.

Take a look at the model and see if it does what you are wanting. All of the code is in the Send To Port code area as Custom Code. If you have any problems or questions, please let us know.

Thanks.

repeat-processing-sample-jn1.fsm


· 6
5 |100000

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

Terra K. avatar image Terra K. commented ·
@Jeff Nordgren

I got it! Thank you very much!

0 Likes 0 ·
Terra K. avatar image Terra K. commented ·

@Jeff Nordgren Hi, I've made a few changes to the model, to make it more complicated. Here's the flow, Processor 1 and Processor 2 does the same stuffs, whenever an item is failed at one of the processors, it should be re-processed at the other processor after a few seconds(Processor4 and Processor41 to countdown). If let's say it fails again, it shall proceed to Station 2(first time, Station 1 for second and third time) then back to Processor 1 or 2 for another processing, and if fails, then proceed to the other processor for re-processing. I've got the other points, but couldn't seem to get this part. The part where whenever it fails at one processor, it shall go to the other. I've attached a the model, please do help me take a look. Thank you.

testrework-1.fsm

0 Likes 0 ·
testrework-1.fsm (18.2 KiB)
Jeff Nordgren avatar image Jeff Nordgren Terra K. commented ·
@Terra K.

There was one line of missing code in Processor2's Send To Port code but other than that, I think you have it right. I did move Processor4 & Processor41 (and their queues) to be in front of the processor they will enter (just for visual). But I ran the attached model and it appears to me to be working as you describe.

If it's not, describe to me what exactly isn't working. But I think you have it right, at least it seems right to me.

testrework-1-jn1.fsm

0 Likes 0 ·
Terra K. avatar image Terra K. Jeff Nordgren commented ·

@Jeff Nordgren Like the part where it got retested but still fails, it proceed to Station 2, then back to one of the processors. If it fails again, it should go to re-process at the other processor, instead it went directly to Station 1.

0 Likes 0 ·
Show more comments