& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
[ FlexSim HC 5.1.0 ]
I am trying to model a staff meeting with all staff members of a clinic, but this can only happen whenever all the staff members ate available and all patients are gone from the clinic. This meeting happens at noon. I've tried setting up a global process, and i worked and everything with all the staff members meeting. However, a patient is being left to wait during the staff meeting. I tried changing the priority - however, i think the problem is that at the time the patient is trying to request the staff member, the staff member has already been requested by the global process and locked. Do you have any suggestions as to how to fix this issue?
Thanks!
Solved! Go to Solution.
So if there is a patient in the model then the meeting shouldn't happen at all? To make that happen you could just use the Activity Start Condition to check if there are any patients using this command:
return !getcensus(model());
I got it to be that whenever the census = 0, then the activity starts. Now I am not sure how to stop the meeting whenever a patient arrives. How would I interrupt a meeting and have only one type of staff leave the meeting?
If the patient's activity has a higher Priority tier than the meeting activity (there is a new tier every 100 so 100 - 199 is a tier above 0 - 99) then the patient will preempt any staff he needs from the lower tier activity.
By default all activities use 150 as the priority so you could just set the staff meeting activity to use a priority in the 0 - 99 range.
Say the staff is requested to the meeting at 12:00pm, and he goes into the meeting ( a 60 min process) - then at 12:30 pm, a patient arrives and requests the staff member with higher priority. Will the staff member leave the meeting?
Yes, here is an example model that shows that working. You'll notice that RN1 leaves the meeting to attend the patient for 5 minutes.
Something to note though, is that this makes everyone in the staff meeting wait for the RN. The staff meeting ends at time 15.3. If you turn off the patient arrival then the meeting is never interrupted and ends at time 10.1.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name