question

Marc K avatar image
1 Like"
Marc K asked Marc K commented

How to change state of Operator during waiting for Processor to finish?

I have review a few answered questions as to how to have a operator wait till the processor finishes before continuing. But. If you track their state the time sitting while the processor works is called "idle" on the operator. In my case the operator is running the processor so the operator is "filling", not idle. I see the Task Executor Sequence. How can have the "Delay Time" field be "wait until the processor is finished"? That way I can assign a state of "filling" to the operator.

FlexSim 19.1.1
operator state change while waiting for processor to finish
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

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Marc K commented

Hi @Mark K,

This can be solved if you set the processor to use the Operator in the 3D model. For example, take a look at this simple model.

Connect the operator using a center-port (S) connection. Double click the processor and check the box that says "Use Operator(s) for Process".

When the operator is working at the processor, his state will be "utilize".

If you want the state to read "Filling" on the state charts, simply open the chart properties, and change the Display Name next to utilize - 22 to "Filling".

I hope this helps!

statecharts.png


simplemodel.png (21.1 KiB)
statecharts.png (38.7 KiB)
statecharts.png (38.7 KiB)
· 7
5 |100000

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

Marc K avatar image Marc K commented ·

How about if your staff pool is a group? I have a pool of 8 operators that are randomly used throughout the many processes.

0 Likes 0 ·
Marc K avatar image Marc K Marc K commented ·

Benjamin,

I am close with this model. I am stuck where the token gets stuck after the wait for event, after the custom task, moves the token to the next phase (Travel). The operator just sits there. If I can get him to travel and show that on the chart, I will have exactly what I am trying to do. custom-task.fsm

Always learning... Marc

0 Likes 0 ·
custom-task.fsm (62.3 KiB)
Benjamin W2 avatar image Benjamin W2 Marc K commented ·

Hi @Marc K,

It looks like the "Custom Task" activity is throwing off the "Travel" activity. Did you need to use that activity? In the attached model, I used a "Custom Code" activity to set Operator2's state while he is at the processor.

Let me know if this works.

state-change.fsm

0 Likes 0 ·
state-change.fsm (62.7 KiB)
Show more comments
Marc K avatar image Marc K commented ·

I found the issue with the custom code change state. I happen to see another answer that stated you need to put a delay in front of the custom code with a small delay to allow the previous block to complete its state. I now, with the custom code, see the operator at the processor in a Utilized state.

0 Likes 0 ·