Jump to content

ShawnNevers

Members
  • Posts

    27
  • Joined

  • Last visited

  • Days Won

    1

ShawnNevers last won the day on February 4

ShawnNevers had the most liked content!

2 Followers

About ShawnNevers

Recent Profile Visitors

866 profile views

ShawnNevers's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

1

Reputation

  1. The probability of an entity going down a link using the link weight is (The link weight)/(The sum of all links going out of a node). so for a 95% chance to go to the combiner the combiner weight should be 95 and the sink weight should be 5. The model attached shows how to give different entities different weights using a table. The each entity in this model has a correct destination and if they go to the other destination they are given the label "error". I was a bit unsure about the precise logic you were after. Link weight model..spfx
  2. I am wondering if there is a way to end all tasks in a task sequence when a ModelEntity transfers out of the station. I tried setting the Token Action On Associated Object Transferred to EndProcess but I guess that only works upon exiting the current step.
  3. Simulation Setting: Hospital Situation: In a hospital setting tasks are done in a preferred order on a patient, currently using processing tasks functionality to accomplish this. However if a certain task can not be done due to a resource constraint they should continue with the task profile but queue the task to be done when available. For example: if a patient needs to be intubated but no qualified person is available, the patient should continue with the task profile but should continue with trying to seize a qualified person, and when they can the task could continue as normal. Is there currently a way to do this? Thank you.
  4. If the station that you are searching is filled with Users with a entity reference property that holds the order you should use: Candidate.User.Entity_Reference_State_Variable == The_Order_Entity That would also explain the Error, Simio is saying that you specified the candidates as Orders but the entity found in the station is of type User, and therefore an error has occurred. Now if the order has an entity state variable that holds the user you could use a Create step to create a new token with the Order.User_state_variable as the new associated object and create the desired process that way too.
  5. You are correct that it will keep the resource seized until after the delay. A work around would be to subclass the server and change the PerformProcessingTask. All you would need to do is move the execute task to after the release, then it should release the resource and then do the execute (Your Add-on process).
  6. Assuming you are are using the prebuilt task sequencing logic in the server you could just add an add-on-process either after the predecessor task or before the successor task that delays for the given amount of time. If you are using a table to read these tasks add a column for the delay, make a model level process with a delay value of TaskTable.Delay. Then reference this process in the Before starting task or after completing task of the task sequence.
  7. I need a way to access the worker seized for a given task in a task finished triggered add-on process. part of the functionality I am trying to achieve is when a specific task is done (not the last task) I want to assign that worker as to a ModelEntity.TransferWorker, reserve them, and use the worker to transport them (referencing ModelEntity.TransferWorker in the output node) Information about setup: Multiple tasks being assigned at once, this prevents ModelEntity.SeizedResources.LastItem from being useful Task resource is chosen from list, which differs for every task, so I do not know the specific name that the worker would be. tasks are being read from a table that includes sequence number, delay time, and finish process Thank you for any help.
  8. My model currently reads tasks from a table and I am trying to model material consumption. For each task there are groups of materials: A, B, C, and priority values: 1, 2, 3. To complete a task, only one material type from each group A, B, and C must be consumed, and the order they are consumed in should be based of the priority. For example, if task one had entries like the table below, if all materials were available, materials 1,4,6 would be consumed. If material 1 was no longer available materials 2,4,6 would be used, and if material 6 was not available the task could not be done. The material requirement section in the processing task editor does not seem to support groupings and priority and was wondering if anyone had an idea on how to accomplish this. Task MaterialName Group Priority Quantity Task1 Material1 A 1 1 Task1 Material2 A 2 2 Task1 Material3 A 3 1 Task1 Material4 B 1 1 Task1 Material5 B 2 3 Task1 Material6 C 1 1
  9. Is there a way to keep them in the loop until the transport arrives, there will never be a point where they are done with the loop until the transport gets there. Right now if they are in the loop I can assign them a modelentity state variable (boolean), then when a vehicle arrives it initiates a process that has a search step with the search condition modelentity.BooleanStateVariable==1 with a return limit of the capacity of the vehicle. the found entities must either interrupt the task or process they are currently doing depending on where they are in the loop and be moved by a worker to the evac node. If that seams like a plausible solution, I just need a process step that can completely cancel a task sequence because the interrupt and suspend steps do not seem to apply to tasks. Once the task sequence is suspended the modelentities should flow to the destination node no problem after leaving the server.
  10. We are building a model of a medical facility where some patients need to be evacuated out of the model using a vehicle. In its current state, when a patient is in the ward or ICU, it will be determined if they need to evacuate. While they are waiting for an evacuation transport, they will be in a task sequence loop. We would like some way for the patient to seize a spot on the transport, perform the tasks loops, and once the transport arrives at the facility transfer node, the patients break out of their loop, and seize a worker to be carried to the vehicle. We have patients looping correctly and workers carrying the patients to the transport node, but they are not waiting for the vehicle to arrive. Having a condition that breaks the loop when the vehicle is in the loading node is not working because as it leaves its current node does not update quickly enough so entities go to the node that then are not picked up. A potential solution we found was to use the MinimumDwellTimeExpired State variable for the Evac transport in the loop conditional (If transport is dwelling then do not continue the loop and get routed to the transport, if it is not dwelling stay in the loop), however this variable is not public with no apparent way to make it so. We have also tried to make a function in the vehicle to try and mirror the state variable value, but this also did not seem to work as it does not update during the run.
×
×
  • Create New...