question

busr G avatar image
0 Likes"
busr G asked Isaac Litster commented

Operator make processor wait

772-2-operator.fsmHello, i set priority to processor _9132; but operator does another jobs until the item arrives to the processor _9132. When the item arrives to the _9132; operators walks to this processors and made _9132 wait everytime.

Is there a way to tell operator that "be at processor _9132 at the same time when the item arrives (so operator should stop what he is doing 2 sec. ago-the walking time to _9132-) and never make _9132 wait"

Can you please help me with this? Where am i failing?

I am using Flexsim 7.3

1jpeg.png 2jpeg.png 3jpeg.png 4jpeg.png

FlexSim (other)
FlexSim (other - please specify)
prioritywaitingtime
1jpeg.png (16.2 KiB)
2jpeg.png (20.2 KiB)
3jpeg.png (45.6 KiB)
4jpeg.png (35.6 KiB)
772-2-operator.fsm (34.2 KiB)
· 2
5 |100000

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

Joshua S avatar image Joshua S commented ·

The way your process is built, that processor is waiting on an operator because he was asked to process other items and stay at the other processors till they are complete. There is a preempt option where it aborts the other activities to do Processor_9132, but it stalls out at 5000 seconds every time because you've aborted previous activities that need to be accomplish in order for everything to flow. What operation is it more of a concern, the operator loading the processor, or the operator transporting items from the processor?

1 Like 1 ·
busr G avatar image busr G Joshua S commented ·

772-2-operator-deneme.fsm Hello, thanks for your reply.

I choose the option "preempt only". When the operator stars other activities and _9132 is ready for set up, the operator stops what he is doing and go to _9132 (not finishes the operatoin he started) And it causes _9132 to wait for the operation-because he walks-

I didn't give operator the task to transport items. Operator only needs to do the set up and operations.

I've tried to "abort all activies" option. But when i do that i couldn't produces items as much as i want. And when operator sets up _9132; prep_1 activity that he started and left is continuing without the operator; but it shouldn't produce without the operator and should wait for the operator (you can see at 139 sec.)

What most imported for me to produce as much as item i can. For that operator should not make _9132 wait. Because waiting time for _9132 is 512 sec. Which is (512/90=5) enugh to produce 5 more items.

I am waiting for your help

0 Likes 0 ·

1 Answer

Joshua S avatar image
0 Likes"
Joshua S answered Isaac Litster commented

I was able to get the wait down much lower. There is still going to be some wait since the operator has to process items at Prep1 and move items from _9131, but it is down to 84 for the entire process duration. However this only increased your output by 4, so there is something else in your process that is the bottleneck. I added a task assignment on the setup finish trigger on Prep1 processor to move to the _9132.15175-772-2-operator-deneme.fsm


· 4
5 |100000

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

busr G avatar image busr G commented ·

Amazing! Thanks a lot again~ Now i have some other question if you let me :)

-Even though i gave 2nd priorty to prep2; operator always pretends like prep1 is the 2nd priority and when _9132 set up finished he goes to prep1 even though there is item at prep2. Do you know why?

-I tried to copy the code on "Code Snippet" to some other filexsim program but it is not working. Can you help me with that too? Should i add or change something? I am weak about coding.

-Also not imported but i wonder, why "travel loaded" is increasing, operator is not carring any item? Why is it not "travel emty"? Travel empty is zero..

*I've changed the walking time*

1-1png.png15183-15175-772-2-operator-deneme.fsm

0 Likes 0 ·
Joshua S avatar image Joshua S busr G commented ·

Watching the process for a bit, it looks like it is prioritizing Prep 2 because Prep 1 still has an item waiting to go to _9131 all the times I saw it working on Prep2 instead of prep1, I might be wrong. If you could send me the times where that doesn't happen I could take a better look at it. I'll look into the travel loaded. When he is moving from station to station his animation is setting him as carrying something, but he isn't carrying anything.

The Code references the connected objects, and how they are connected. In this case it is referencing cneterobject1, which is the operator, and centerobject2, which is _9132. You need to make sure the numbers in the code correspond to how you have your connections in your other flexsim files.

1 Like 1 ·
Logan Gold avatar image Logan Gold ♦♦ busr G commented ·

@busr G @Joshua S

I think the Operator is always showing that it is Travelling Loaded because it contains some weird subnodes. The subnodes are Travel to Loc tasks that are usually part of a task sequence and should not be subnodes for an Operator (task sequences should only be in an Operator's variables tree, under the activetasksequence node or the tasksequencequeue node).

To fix the issue, just remove those subnodes. I had some issues trying to delete them from the tree, so you can run this code in a Script window instead:

treenode op = node("Op_1", model());
while (content(op) > 0) {
	destroyobject(first(op));
}

You only need to run the script once right after opening the model (or after resetting the model).

1 Like 1 ·
Isaac Litster avatar image Isaac Litster Logan Gold ♦♦ commented ·

Hi @busr G

Were you able to get your problem resolved? If so, please click the Accept button under the Answer. Thank you!

0 Likes 0 ·