question

Tina T avatar image
0 Likes"
Tina T asked Tina T edited

simulating problem

I'm doing a scheduling problem, I want the workstations do the sequence in the table"ProductPriorty". But it doesn't follow the sequences i gave and i can't find the reason.Wish someone can help.

jsp scheduling.fsm

FlexSim 23.1.2
simulations
jsp-scheduling.fsm (68.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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Tina T commented

There is no table called "ProductPriority" in the attached model. I assume you mean "DispatchRule"?

While a comment in the code in the Queues' On Entry trigger states that it supposedly closes the output to wait until the correct item has arrived, it doesn't actually do so. So the queues always release the next item to the processor immediately.

In general I would suggest to use a list for this. You won't need any custom code to have the processors pull the items in the correct order.

jsp-scheduling_1.fsm

In the attached model the system stops at some point because the distribution based on the "Route" table does not allow the items to be processed according to "DispatchRule" currently.


· 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.

Tina T avatar image Tina T commented ·

Thanks so much for your help! By your file, me and my friends figure out why the model can't work.It seems like the method defining the "absolute" sequence to all machine will always occur stuck since the item will waiting in the buffer and eventually cause the whole system stop working (T▽T).We think maybe the problem is the python code which we use with gurobi and OR tools to generate the sequence, we will keep making an effort to fix it and make the model work! Thanks for your help again!

gurobi.py

ortool (1).py

0 Likes 0 ·
gurobi.py (6.5 KiB)
ortool-1.py (6.7 KiB)