Item in a processor limited for a certain type

Item in a processor limited for a certain type

fabio_o4
Not applicable
19 Views
5 Replies
Message 1 of 6

Item in a processor limited for a certain type

fabio_o4
Not applicable

[ FlexSim 22.2.0 ]

Hello, in the model attached i want to limitate the item.sez == 1 input at a max of 4 at the same time. another item of the same type can enter only if one of them exit. The processor can have a max of 9 items in process at the time. The other item.sez don't have a input max content rule. I'm trying to make work the processflow u see in the model but i'm missing something.

0 Likes
Accepted solutions (1)
20 Views
5 Replies
Replies (5)
Message 2 of 6

jason_lightfootVL7B4
Autodesk
Autodesk
Did you upload a model to the shared folder? If so, what was it called? If not then please use the link at the top of the page in the "Answer Upload Issue" section.
0 Likes
Message 3 of 6

moehlmann_fe
Observer
Observer
Accepted solution

I don't know how you tried to implement this logic, but I would suggest to use a zone in the process flow. It can have both a general limit to how tokens can enter it, as well as subsets with additional contraints attached to them.

So the zone can limit the token count to 9 while also limiting the count of tokens where the sez equals 1 to 4.

1660806360960.png

1660806375841.png

0 Likes
Message 4 of 6

fabio_o4
Not applicable

Sorry, i can't update the model for a issue in the forum at the moment. i can link on dropbox

https://www.dropbox.com/s/u1qls1nac8vtgbw/Sample_1.fsm?dl=0

0 Likes
Message 5 of 6

moehlmann_fe
Observer
Observer

It looks like you copied the queues and processor from a different model since there are a lot of invalid references and missing labels.

I think I see what you tried to do with the process flow. However, there will never be any tokens because the source only creates tokens at time 0 and the quantity is set as the subnodes of the processor, which won't have any items in it when the model starts.

I added the solution I suggested above to the model and removed a lot of the invalid trigger functions so the model can run without errors. I also changed the setup and process times of the processor to highlight how the process flow works a bit better, hopefully.

1660846950379.png

https://drive.google.com/file/d/1DUFzLaRQ0PLOZh0M5_D85TXFQMCp--ne/view?usp=sharing

0 Likes
Message 6 of 6

fabio_o4
Not applicable
Yes, was an extract of an already existing model, i had to implement the logic for the processor. Thanks again the problem is fixed.
0 Likes