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 > Flexsim Student Forum
Downloads

Flexsim Student Forum Forum for discussion for Flexsim Students using the Flexsim Textbook.

  #1  
Old 12-06-2012
mearjun mearjun is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 123
Downloads: 5
Uploads: 0
Thanks: 27
Thanked 19 Times in 11 Posts
Rep Power: 119
mearjun will become famous soon enough
Default How premption work if u are using custom task sequences ?

I am trying to build a model and the need is such that I need to write custom task-sequences.. However if I write a couple of preempting task-sequences it messes up everything. I am using prempt value of 1 which according to the manual should mean that the current task is only stopped and resumed from the milestone task. In actual the multiprocessor never stops but the operator still comes back to it and gets utilized and this messes up model timing..
So the rephrased question is how to ensure that the multiprocessor where the current process is happening stops along with the task sequence if a preempting TS is received by the operator ?
  #2  
Old 12-07-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Check your new task is a higher priority than the active one.
  #3  
Old 12-07-2012
mearjun mearjun is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 123
Downloads: 5
Uploads: 0
Thanks: 27
Thanked 19 Times in 11 Posts
Rep Power: 119
mearjun will become famous soon enough
Default

yes it may be or may not be.. I have 3 different kinds of tasks on each multiprocessor and they have a priority of 2,1,0. However on a couple of multiprocessors (2 out of 25) all of these task sequences also have a premting value.
Now if a task is being done that has a priority of 2 but a prempting task of priority 0 comes it still should be prempted according to what I need.
However what is happening is that once the pre-empted task is completed the operator comes back to the original task but the multiprocessor has moved ahead since it was never asked to stop. So the operator does the travel task does a stop request finish task (which returns kind of empty since there was no stop object command to resume then gets into utilized state. However the freeopertors command does not work as intended because its written on the processfinish trigger which has already taken place while the operator was away..
  #4  
Old 12-07-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Pretty sure they'll need to be higher priority to preempt.
  #5  
Old 12-07-2012
mearjun mearjun is offline
Flexsim User
 
Join Date: Feb 2012
Posts: 123
Downloads: 5
Uploads: 0
Thanks: 27
Thanked 19 Times in 11 Posts
Rep Power: 119
mearjun will become famous soon enough
Default

But the preemption itself is happening.. whats not happening is the resumption of the original task
  #6  
Old 12-08-2012
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Can you post the example?


Thread Thread Starter Forum Replies Last Post
Looking for online work mrjasongill Job Opportunities 2 04-19-2014 06:18 AM
coordinated task sequences Shahin Gelareh Q&A 2 02-20-2012 01:36 AM
Task Sequences Daniel Schneider Gripes and Goodies 20 09-28-2010 07:30 AM
About Coordinated Task Sequences Normand Côté Gripes and Goodies 1 06-21-2008 06:08 AM
Queuing coordinated task sequences? Nico Zahn Q&A 19 04-02-2008 08:30 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.