question

Robert F2 avatar image
0 Likes"
Robert F2 asked Jason Lightfoot commented

Process Flow effecting robot preempt

Hello,

I am simulating a process where a robot is used to move items from processor to processor. There are priority levels set to tell the robot which processor to priorities. I am also using a process flow window to specify the length of time each robot movement takes to make timing more accurate. These times are marked by Stop, delay, and Resume activities. I am assuming this process flow is causing the issue I'm seeing which is that the robot goes to complete other tasks even though I have all preemption statuses set to "no preempt". Is there a better way to accomplish this?

Thanks

FlexSim 19.2.4
FlexSim 20.1.3
flexsim 20.1.3preemptionprocess flow preemptionpreempt
question.fsm (86.4 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

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

You might be better defining the move time as an expression based on case:

As for the robot taking other tasks, can you be more specific and tell us the time and action that it follows vs the action you want it to take?


1615246538487.png (17.5 KiB)
· 3
5 |100000

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

Robert F2 avatar image Robert F2 commented ·

Hi @jason.lightfoot,

The robot's move times are based on what action it is performing (loading a processor or unloading a queue). Is there a way to use your suggestion but instead of using item.Type could I use the item's destination?

The robot is taking on other tasks while it is already performing its original task. For example, at time 1850 in the simulation, the robot is picking an item from the incoming queue (blue queue) but one of the brown tables has higher priority and the robot goes to pick an item from the table before it unloads its first item.

The issue is that the robot is holding 2 and sometimes 3 items at the same time. I would like to see the robot finish its current task before leaving to start another task. I think if I can get the robot's movement times into the 3D logic rather than the process flow this problem will solve itself.

Thanks

0 Likes 0 ·
Robert F2 avatar image Robert F2 commented ·

@jason.lightfoot

I was able to solve my issue. I set a label at each fixed resource called "Destination" and then used the Value by Case function based on that label.

Thanks for you help!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Robert F2 commented ·

@Robert F2 Thanks for the update - good work!

0 Likes 0 ·