arquivoforumhelp.fsmHello everyone, I'm simulating a scenario where I have 3 products that at a certain point need to be separated into 16 processors, divided into 2 parts with 8 processors on each side. Product A can go to any processor without limitation, product B can only go to one side, for example the left side with only 8 processors, and product C can only go to the opposite side, which also has another 8 processors. The problem arises when I use 'port by case': for product A, the formula is 'CASE Default duniform(1, 16, getstream(current))', for product B it's 'CASE 2 duniform(1, 8, getstream(current))', and for product C it's 'CASE 3 duniform(9, 16, getstream(current))'. With this function, the code works fine as long as the value doesn't fall on the same processor. However, if product A goes to processor 2 and when a new product arrives and, due to the duniform, it also goes to processor 2, it gets stuck. I want it to recognize when one of my processors is occupied and only look at the empty processors.
A heartfelt thank you in advance