question

K_yun avatar image
0 Likes"
K_yun asked Joerg Vogel answered

TS Problem with PF

As you can see in the photo below, I used a "Create TS" activity to generate tasksequence for AGVs, in which i set the Priority value 1 and Preemption mode"preempt,aborting all". (All other TS with the default setting:Priority 0 and Preemption 0). But as the model runs, i found that when a new TS was created , the current activetasksequence still exist.

I'm now wondering how can this happen?

FlexSim 19.1.0
pfts
01.jpg (290.9 KiB)
02.png (11.6 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

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

you found my example model for priority and preempting value for the question:

Can I delete current TE's tasksquence by event trigger?

· 3
5 |100000

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

K_yun avatar image K_yun commented ·

@Jörg Vogel , Thanks for your reply, i've seen the answer that you posted through the link up there. I've run my model a bit more times and found that the tasksequences may be created simultaneously. There was no active tasksequence the moment that two tasksequences were created, so the preemption mechanism could't work. Can i interpret it this way?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel K_yun commented ·

The preemption mechanism expects an active tasksequence, if it gets into a dispatcher (taskexecuter).

0 Likes 0 ·
K_yun avatar image K_yun Joerg Vogel commented ·

Get it

0 Likes 0 ·