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 Healthcare (HC) > FlexSim HC: Q&A
Downloads

FlexSim HC: Q&A Questions about FlexSim Healthcare

  #1  
Old 07-11-2013
Pongjetanapong Pongjetanapong is offline
Flexsim User
 
Join Date: Jul 2013
Posts: 19
Downloads: 5
Uploads: 0
Thanks: 8
Thanked 2 Times in 2 Posts
Rep Power: 85
Pongjetanapong is on a distinguished road
Default Preparation task that can be discarded

Hi,

I'm trying to model the situation where a teaching or a meeting task is assigned to the staff but before the scheduled time arrive he/she will have to prepare for the assigned task. But when the time arrives whether he/she finishes preparation task or not the the task will have to be discarded in order for the meeting or the teaching task to be carried out on time. What's the best way to model this situation??

I was thinking to assign 2 arrivals of tasks one for preparation task that should have a very low priority and one for the meeting/teaching task that has a higher tier priority and can preempt other task.

The problem is how to discard the preparation task once the meeting/teaching task arrive??

Any idea?? Please suggest
  #2  
Old 07-12-2013
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hi,

maybe you can change the preempt parameter to PREEMPT_AND_ABORT_ACTIVE

I don't know, if this parameter exists in Healthcare.

Jörg
  #3  
Old 07-14-2013
Pongjetanapong Pongjetanapong is offline
Flexsim User
 
Join Date: Jul 2013
Posts: 19
Downloads: 5
Uploads: 0
Thanks: 8
Thanked 2 Times in 2 Posts
Rep Power: 85
Pongjetanapong is on a distinguished road
Default

Quote:
Originally Posted by Jörg Vogel View Post
Hi,

maybe you can change the preempt parameter to PREEMPT_AND_ABORT_ACTIVE

I don't know, if this parameter exists in Healthcare.

Jörg

Hi, Thank you for your suggestion

However, I want the task to be discarded whether or not it is active or in the queue. but I dont want to discard all in the queue..just this task
  #4  
Old 07-15-2013
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

With the Parameter PREEMPT_AND_ABORT_ACTIVE you only abort the active tasksequence, with PREEMPT_AND_ABORT_ALL you destroy all Tasksequences, the active one and all in the tasksequencequeue.

To fetch a not active Tasksequence in the Tasksquencequeue you will have to look for it. A For-Loop is a method to search over all the Tasksequences in your tasksequencequeue. You can identify your meeting / teaching tasksequence with the commands in the manual in the section "Querying Information on Task Sequences".

Jörg
  #5  
Old 07-15-2013
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

If you build a complex tasksequence and you want to change a not active task in this tasksequence, you can change the tasktype to a type, which has no effekt e.g a TASKTYPE_TAG.
If the tasktype is active you can preempt with "PREEMPT_ONLY" the hole active tasksequence, rebuild it so that the active and interrupted task has not an effect, see above. Be sure that the interrupted Tasksequence is the next to be executed again. For example, you can change its priority.
It would be better you take a look in the method of calling subtasks within a tasksequence.

Jörg

Tags
appointment, discard task, preempt, priority tier, triggers


Thread Thread Starter Forum Replies Last Post
How to interrupt active task and implement another task? Ilivid zheng Q&A 2 01-15-2011 02: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.