question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Cliff King commented

Can glass doors open for patients exiting as well as entering?

I have a model with the glass door opening when a patient enters but they do not open when a patient leaves. The patient just disappears. Just in case I've missed it, is it possible to have a glass door open when the patient leaves?

Thanks,

Tee

FlexSim 20.1.3
flexsim 20.1.3healthcaresliding glass door
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

zacharyh avatar image
1 Like"
zacharyh answered Cliff King commented

@tee.hiett

You can assign that animation to work for when customers are leaving. You can do that through Process Flow by assigning the Run Animation Task, Selecting the Glass door and choosing animation 3. (To know which animation to use click on the Glass Door, go to Properties -> Visual -> More Visual -> Click Edit next to "Visual/Animations". At the bottom of the new window you can see the Open Animation, by clicking on the drop down you will see "OpenClose" as the third animation.

Animation - OpenClose Glass Door.fsm


· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Cliff King avatar image Cliff King commented ·

In case you're wondering where the code is for starting the animation when patients arrive and leave the glass door...

0 Likes 0 ·
1599257338273.png (178.1 KiB)
Tee Hiett avatar image Tee Hiett Cliff King commented ·

Thanks, @zachary.h and @cliff.king.

Actually, my "Glass Doors" are elevator doors and there are four of them. I was able to get the door to open and close using Zachary's approach. Of course, this approach required that identify the door, which I did by adding a label to the patient. I was expecting that the cold approach that Cliff suggested would mean that anytime a patient near the door to exit the cold would kick in and the doors would open and close but I was unable to get that to work. I've attached the sample models that Zachary developed in hopes that Cliff can show me what I was doing wrong. The program works fine as is but I would like to understand the code,

Tee

OpenClose Glass Doors.fsm

0 Likes 0 ·
Cliff King avatar image Cliff King Tee Hiett commented ·

@tee.hiett I use the Enter Instructions for your exit glass door to do what you were doing with a Run Animation activity in your patient flow. If you don't want to have the patient disappear right when they enter the door location as is the case now with either approach you use, I would suggest using another hidden or low profile location behind the door as the real destination. Just an idea.

Please note that this question has been closed by Zachary, so if you still have questions, I would suggest opening another post.

openclose-glass-doors_2.fsm

0 Likes 0 ·