question

Steven Chen avatar image
0 Likes"
Steven Chen asked Sam Stubbs answered

Preempt tokens in subflow, unable to release token

Hello,

I tried to simulate operator's lunch time with preemption. The model contains a lot subflow for operator. On preemption tokens in subflow will not able to find the activity where I want it released to.

By the way, is possible to use an activity that will stop token just like breakpoint for script, make it easier to debug the processflow.

test-preemption.fsm

FlexSim 17.2.1
processflowpreemption
test-preemption.fsm (22.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

Sam Stubbs avatar image
0 Likes"
Sam Stubbs answered

I've created another sample model of preemption a while back when the preemption activities were still new (it's a 16.1 model but should work fine in 17.2) (in the example it's a bottling station which needs to be restocked with labels) so a similar idea. Perhaps this can help you get your preemption set up and working the way you'd like. You're welcome to take any of the logic from this model that suits your needs.

bottlestationexample.fsm


5 |100000

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