question

Pinakin K avatar image
0 Likes"
Pinakin K asked Jason Lightfoot commented

How to release the resource when preemption is used?

Hello,

in the attached model, i have a process where an operator is used. A random breakdown occurs where all the tokens in the processflow are sent to a save point. But for taking care of the breakdown, the same operator is acquired. But, as the operator was acquired before, the Maintenance is not carried out.

How should I release the operator, when the preemption occurs, and also how would the operator would be reacquired for the work he left incomplete .

preeemption-and-shared-assets.fsm.

Thank You!

FlexSim 18.1.2
processflowresourcepreemptionshared assets
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

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

13798-preeemption-and-shared-assets.fsm

I modified the process flow to release the resource when you send the preempted tokens to the custom code. Then when the maintenance is done acquire the resource again before restoring the context. @Pinakin K


· 6
5 |100000

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