question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Omar Aguilera Rico commented

FlexSim HC Problem with elevator use

elevador-2.fsm Hi good day. I am trying to perform the next simulation where the patient arrives, takes the elevator, goes up to the second floor to register, takes the elevator to go down to the first floor, where he then takes the second elevator to go up to the third floor to bed, then he takes again the second elevator and go down to the first floor to leave. The problem is that when the patient is on the second floor, he does not use the elevator but goes down the network of nodes, why should he do this and how can I solve it? Regards!

FlexSim HC 5.3.4
elevatorflexsim hc
elevador-2.fsm (104.8 KiB)
5 |100000

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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered

The code that calls the elevators is fairly simplistic. It basically checks to see if the elevator can take you to a closer node (in the z direction) than the one you are currently on. In your model the patient is already on the closest node to the bed upstairs that the elevator can take a patient to. There are two possible solutions:

Split the travel into 2 parts

If you tell the patient to walk downstairs first, and then go to the bed, he'll use the elevator both times.

Edit the code that calls the elevator

Each node connected to the elevator has some code on its OnArrival trigger that determines if the elevator should be used and then calls the elevator for the patient. You can open this code and modify it.

For example, in this model I edited the code on the node on the 2nd floor to assume that a patient will always want to use the elevator when they arrive at the node and want to get to another floor.


5 |100000

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

Lou Keller avatar image
0 Likes"
Lou Keller answered Omar Aguilera Rico commented

Hi Omar,

I've attached a zipped-up PowerPoint show that address just about all you need to know concerning construction of elevator models. Please take a look and tell me what you think!

My best, Lou


· 1
5 |100000

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

Omar Aguilera Rico avatar image Omar Aguilera Rico commented ·

Hello Lou. Thanks for sharing the presentation. It helps me a lot to better understand the construction of a model with the use of elevators. Regards!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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