Elevators with Sim Events

4 views (last 30 days)
Baf85
Baf85 on 24 Mar 2021
Commented: Baf85 on 17 Jun 2021
Hi, I am investigating the user behaviour in a building to quantify the usage intensity in real estate through simulation for university. Therefore i am modelling a whole building and i also need to model the elevator.
Therefore i am working with SimEvents. I already understood how to model it for an elevator that is used by one person, like described on the SimEvents website (https://de.mathworks.com/videos/understanding-discrete-event-simulation-part-1-what-is-discrete-event-simulation--1494873178760.html
), but not for a various number of persons.
I tried to do it with the Batch creator or the Composite Creator. But therefore i would need a fixed number of persons who are going to the same floor, which is not the case.
I hope somebody can help me.
Thank you.

Answers (2)

Doug Sauer
Doug Sauer on 24 Mar 2021
Auto Batch Creator enables you to 'Hide Commands' or 'Set Colors', providing you with multiple options to choose from.

Abdolkarim Mohammadi
Abdolkarim Mohammadi on 25 Mar 2021
The model described in the tutorial you mentioned exhibits only one person, but it can be used for any capacity of the elevator and any number of persons waiting.
  1 Comment
Baf85
Baf85 on 17 Jun 2021
First thank you for answering. Unfortunately i had a lot of other stuff to do the last months.
But trying to build it like in the example, i don't really know how to build the FloorControlPort. My idea is that if, for example, some persons are entering the elevator in the second floor and want to go to different floors, but all upwards, the elevator checks on every level if there's someone wanting to enter the elevator and finally let's them enter. The elevator should stop when the last person leaves the elevator
My second problem is that i have no idea what to do once the elevator car is empty. The elevator should then move to the floor with the person calling first for an elevator.

Sign in to comment.

Categories

Find more on Discrete-Event Simulation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!