ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 06-08-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default Preempt Definition

Hi,

As far as i understand preempt definition, it is basically to acquire task before anyother operator takes it.

Preempt - 0 means hence no preempting
Preempt -1 means it will try to acquire new task but not abort current task
Preempt -2 means it will acquire task at the cost of aborting current task
Preempt -3 says Preempt and Abort all, this definition is not clear to me, what is meant by all.

Kindly advise.

Regards
Shashank Trivedi
  #2  
Old 06-09-2011
Anthony Johnson's Avatar
Anthony Johnson Anthony Johnson is offline
Manager of Product Development
 
Join Date: Jul 2007
Posts: 440
Downloads: 86
Uploads: 4
Thanks: 171
Thanked 899 Times in 288 Posts
Rep Power: 735
Anthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond reputeAnthony Johnson has a reputation beyond repute
Default

I don't know if 3 has ever really been used, but it means he will preempt his current task sequence, and abort all task sequences currently in his task sequence queue.
The Following User Says Thank You to Anthony Johnson For This Useful Post:
shashanktrivedi (06-09-2011)
  #3  
Old 06-09-2011
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

In addition to Anthony's answer

Quote:
Originally Posted by shashanktrivedi View Post
As far as i understand preempt definition, it is basically to acquire task before anyother operator takes it.
This is not exactly the right definition, it is the other way around, you force an taskexecuter to quit it's current task in favor of the new task.
The Following 4 Users Say Thank You to Steven Hamoen For This Useful Post:
shashanktrivedi (06-15-2011)
  #4  
Old 06-11-2011
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

I thought since this thread is titled Preempt Definition we should have a model to show the concept.

The model also demonstrates that you can get a TE to pass the job that was interrupted to another TE by connecting the "backup" TE to its output port. In other words, preemption will cause a TE to become a dispatcher of its current task sequence.

Note that when using a dispatcher you need to make sure that it will pass the preempting task sequence through to a resource that is already busy (not available).
Attached Files
File Type: fsm backup resource upon preemption.fsm (52.9 KB, 160 views)
The Following User Says Thank You to Kris Geisberger For This Useful Post:
shashanktrivedi (06-15-2011)

Tags
preempt


Thread Thread Starter Forum Replies Last Post
Tasksequences: BREAK, CALLSUBTASKS, or PREEMPT? Stefan Trabut Q&A 7 04-10-2011 12:57 PM
how to set preempt by label? Vic Li Q&A 4 10-19-2008 01:51 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.