question

dg avatar image
0 Likes"
dg asked Joerg Vogel edited

"sub flow" question

My model uses the "on message" function to distribute the work to the machine, and as shown in the picture, three workers are operating all three machines below and all three machines above.

The problem here is that I want workers to rest in rest space when they are not working. Can I use "subflow" only to move the worker to the "rest" position when he or she is not working even though he or she is not modeling with "Process Flow"?

I want to use the "subflow" function to go to "rest" when the operator's label-working is "2", and to work when the operator's label-working is "1". 2021.04.29.start.fsm

FlexSim 19.0.0
flexsim 19.0.0travel home
20210429start.fsm (491.6 KiB)
· 5
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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered dg commented

I think your process is the other way around. The basic job your operators do is waiting in the rest area for a very long time with a low priority. Whenever there is work to do, they get a preempting Tasksequence to assist the processors with a higher priority than waiting. If the assisting job has been done, they return to their low priority job of waiting.

Attached is your model with creating the wait task sequence in On reset Trigger of Dispatcher, changing the Break To Property of the dispatcher and setting Priority and Preempt Only fpr the operators.

rest_and_work.fsm


rest-and-work.fsm (77.0 KiB)
· 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.