Elevators with Sim Events

조회 수: 4(최근 30일)
Baf85
Baf85 2021년 3월 24일
댓글: Baf85 2021년 6월 17일
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.

답변(2개)

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

Abdolkarim Mohammadi
Abdolkarim Mohammadi 2021년 3월 25일
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
Baf85
Baf85 2021년 6월 17일
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.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by